1!function(n){function i(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}var o={};i.m=n,i.c=o,i.i=function(t){return t},i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=26)}([function(t,e){t.exports=jQuery},function(t,e){t.exports=prestashop},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),t},o=n(0),r=o&&o.__esModule?o:{default:o},s=(i(a,[{key:"init",value:function(){this.el.on("show.bs.dropdown",function(t,e){e?(0,r.default)("#"+e).find(".dropdown-menu").first().stop(!0,!0).slideDown():(0,r.default)(t.target).find(".dropdown-menu").first().stop(!0,!0).slideDown()}),this.el.on("hide.bs.dropdown",function(t,e){e?(0,r.default)("#"+e).find(".dropdown-menu").first().stop(!0,!0).slideUp():(0,r.default)(t.target).find(".dropdown-menu").first().stop(!0,!0).slideUp()}),this.el.find("select.link").each(function(t,e){(0,r.default)(e).on("change",function(t){window.location=(0,r.default)(this).val()})})}}]),a);function a(t){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,a),this.el=t}function l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}e.default=s,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),t},o=n(0),r=o&&o.__esModule?o:{default:o},s=(i(a,[{key:"init",value:function(){(0,r.default)(".js-product-miniature").each(function(t,e){var n;5<(0,r.default)(e).find(".color").length&&((n=0,r.default)(e).find(".color").each(function(t,e){4<t&&((0,r.default)(e).hide(),n++)}),(0,r.default)(e).find(".js-count").append("+"+n))})}}]),a);function a(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a)}function l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}e.default=s,t.exports=e.default},function(t,e,n){"use strict";var i,o,r;!function(e){function s(t){var e=t.length,n=c.type(t);return"function"!==n&&!c.isWindow(t)&&(!(1!==t.nodeType||!e)||"array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t)}if(!e.jQuery){var c=function t(e,n){return new t.fn.init(e,n)};c.isWindow=function(t){return t&&t===t.window},c.type=function(t){return t?"object"==typeof t||"function"==typeof t?n[o.call(t)]||"object":typeof t:t+""},c.isArray=Array.isArray||function(t){return"array"===c.type(t)},c.isPlainObject=function(t){var e;if(!t||"object"!==c.type(t)||t.nodeType||c.isWindow(t))return!1;try{if(t.constructor&&!i.call(t,"constructor")&&!i.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(e in t);return void 0===e||i.call(t,e)},c.each=function(t,e,n){var i=0,o=t.length,r=s(t);if(n){if(r)for(;i<o&&!1!==e.apply(t[i],n);i++);else for(i in t)if(t.hasOwnProperty(i)&&!1===e.apply(t[i],n))break}else if(r)for(;i<o&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(t.hasOwnProperty(i)&&!1===e.call(t[i],i,t[i]))break;return t},c.data=function(t,e,n){if(void 0===n){var i=t[c.expando],o=i&&a[i];if(void 0===e)return o;if(o&&e in o)return o[e]}else if(void 0!==e){var r=t[c.expando]||(t[c.expando]=++c.uuid);return a[r]=a[r]||{},a[r][e]=n}},c.removeData=function(t,e){var n=t[c.expando],i=n&&a[n];i&&(e?c.each(e,function(t,e){delete i[e]}):delete a[n])},c.extend=function(){var t,e,n,i,o,r,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"!=typeof s&&"function"!==c.type(s)&&(s={}),a===l&&(s=this,a--);a<l;a++)if(o=arguments[a])for(i in o)o.hasOwnProperty(i)&&(t=s[i],s!==(n=o[i])&&(u&&n&&(c.isPlainObject(n)||(e=c.isArray(n)))?(r=e?(e=!1,t&&c.isArray(t)?t:[]):t&&c.isPlainObject(t)?t:{},s[i]=c.extend(u,r,n)):void 0!==n&&(s[i]=n)));return s},c.queue=function(t,e,n){if(t){var i=c.data(t,e=(e||"fx")+"queue");return n?(!i||c.isArray(n)?i=c.data(t,e,(r=[],(o=n)&&(s(Object(o))?function(t,e){for(var n=+e.length,i=0,o=t.length;i<n;)t[o++]=e[i++];if(n!=n)for(;void 0!==e[i];)t[o++]=e[i++];t.length=o}(r,"string"==typeof o?[o]:o):[].push.call(r,o)),r)):i.push(n),i):i||[]}var o,r},c.dequeue=function(t,o){c.each(t.nodeType?[t]:t,function(t,e){var n=c.queue(e,o=o||"fx"),i=n.shift();"inprogress"===i&&(i=n.shift()),i&&("fx"===o&&n.unshift("inprogress"),i.call(e,function(){c.dequeue(e,o)}))})}
1,c.fn=c.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(e.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(e.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var e=this[0],t=function(){for(var t=e.offsetParent;t&&"html"!==t.nodeName.toLowerCase()&&t.style&&"static"===t.style.position;)t=t.offsetParent;return t||document}(),n=this.offset(),i=/^(?:body|html)$/i.test(t.nodeName)?{top:0,left:0}:c(t).offset();return n.top-=parseFloat(e.style.marginTop)||0,n.left-=parseFloat(e.style.marginLeft)||0,t.style&&(i.top+=parseFloat(t.style.borderTopWidth)||0,i.left+=parseFloat(t.style.borderLeftWidth)||0),{top:n.top-i.top,left:n.left-i.left}}};var a={};c.expando="velocity"+(new Date).getTime(),c.uuid=0;for(var n={},i=n.hasOwnProperty,o=n.toString,t="Boolean Number String Function Array Date RegExp Object Error".split(" "),r=0;r<t.length;r++)n["[object "+t[r]+"]"]=t[r].toLowerCase();c.fn.init.prototype=c.fn,e.Velocity={Utilities:c}}}(window),r=function(){return function(t,H,W,R){function v(t){return Y.isWrapped(t)?t=s.call(t):Y.isNode(t)&&(t=[t]),t}function q(t){var e=Q.data(t,"velocity");return null===e?R:e}function b(t,e){var n=q(t);n&&n.delayTimer&&!n.delayPaused&&(n.delayRemaining=n.delay-e+n.delayBegin,n.delayPaused=!0,clearTimeout(n.delayTimer.setTimeout))}function _(t){var e=q(t);e&&e.delayTimer&&e.delayPaused&&(e.delayPaused=!1,e.delayTimer.setTimeout=setTimeout(e.delayTimer.next,e.delayRemaining))}function i(s,e,a,n){function i(t,e){return 1-3*e+3*t}function o(t,e){return 3*e-6*t}function l(t,e,n){return((i(e,n)*t+o(e,n))*t+3*e)*t}function u(t,e,n){return 3*i(e,n)*t*t+2*o(e,n)*t+3*e}function r(t){for(var e=0,n=1,i=h-1;n!==i&&v[n]<=t;++n)e+=m;var o=e+(t-v[--n])/(v[n+1]-v[n])*m,r=u(o,s,a);return.001<=r?function(t,e){for(var n=0;n<f;++n){var i=u(e,s,a);if(0===i)return e;e-=(l(e,s,a)-t)/i}return e}(t,o):0===r?o:function(t,e,n){for(var i,o,r=0;0<(i=l(o=e+(n-e)/2,s,a)-t)?n=o:e=o,Math.abs(i)>d&&++r<p;);return o}(t,e,e+m)}function c(){b=!0,s===e&&a===n||function(){for(var t=0;t<h;++t)v[t]=l(t*m,s,a)}()}var f=4,d=1e-7,p=10,h=11,m=1/(h-1),t="Float32Array"in H;if(4!==arguments.length)return!1;for(var g=0;g<4;++g)if("number"!=typeof arguments[g]||isNaN(arguments[g])||!isFinite(arguments[g]))return!1;s=Math.min(s,1),a=Math.min(a,1),s=Math.max(s,0),a=Math.max(a,0);function y(t){return b||c(),s===e&&a===n?t:0===t?0:1===t?1:l(r(t),e,n)}var v=new(t?Float32Array:Array)(h),b=!1;y.getControlPoints=function(){return[{x:s,y:e},{x:a,y:n}]};var _="generateBezier("+[s,e,a,n]+")";return y.toString=function(){return _},y}function z(t,e){var n=t;return Y.isString(t)?K.Easings[t]||(n=!1):n=Y.isArray(t)&&1===t.length?function(e){return function(t){return Math.round(t*e)*(1/e)}}.apply(null,t):Y.isArray(t)&&2===t.length?u.apply(null,t.concat([e])):!(!Y.isArray(t)||4!==t.length)&&i.apply(null,t),!1===n&&(n=K.Easings[K.defaults.easing]?K.defaults.easing:l),n}function $(t){if(t){var e=K.timestamp&&!0!==t?t:k.now(),n=K.State.calls.length;1e4<n&&(K.State.calls=function(t){for(var e=-1,n=t?t.length:0,i=[];++e<n;){var o=t[e];o&&i.push(o)}return i}(K.State.calls),n=K.State.calls.length);for(var i=0;i<n;i++)if(K.State.calls[i]){var o=K.State.calls[i],r=o[0],s=o[2],a=!!(f=o[3]),l=null,u=o[5],c=o[6],f=f||(K.State.calls[i][3]=e-16);if(u){if(!0!==u.resume)continue;f=o[3]=Math.round(e-c-16),o[5]=null}c=o[6]=e-f;for(var d=Math.min(c/s.duration,1),p=0,h=r.length;p<h;p++){var m=r[p],g=m.element;if(q(g)){var y=!1;for(var v in s.display!==R&&null!==s.display&&"none"!==s.display&&("flex"===s.display&&Q.each(["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"],function(t,e){X.setPropertyValue(g,"display",e)}),X.setPropertyValue(g,"display",s.display)),s.visibility!==R&&"hidden"!==s.visibility&&X.setPropertyValue(g,"visibility",s.visibility),m)if(m.hasOwnProperty(v)&&"element"!==v){var b,_,x,w,S,C,E=m[v],T=Y.isString(E.easing)?K.Easings[E.easing]:E.easing;if(_=Y.isString(E.pattern)?(b=1===d?function(t,e,n){var i=E.endValue[e];return n?Math.round(i):i}:function(t,e,n){var i=E.startValue[e],o=E.endValue[e]-i,r=i+o*T(d,s,o);return n?Math.round(r):r},E.pattern.replace(/{(\d+)(!)?}/g,b)):1===d?E.endValue:(x=E.endValue-E.startValue,E.startValue+x*T(d,s,x)),!a&&_===E.currentValue)continue;E.currentValue=_,"tween"===v?l=_:(X.Hooks.registered[v]&&(w=X.Hooks.getRoot(v),(S=q(g).rootPropertyValueCache[w])&&(E.rootPropertyValue=S)),C=X.setPropertyValue(g,v,E.currentValue+(A<9&&0===parseFloat(_)?"":E.unitType),E.rootPropertyValue,E.scrollData),X.Hooks.registered[v]&&(X.Normalizations.registered[w]?q(g).rootPropertyValueCache[w]=X.Normalizations.registered[w]("extract",null,C[1]):q(g).rootPropertyValueCache[w]=C[1]),"transform"===C[0]&&(y=!0))}s.mobileHA&&q(g).transformCache.translate3d===R&&(q(g).transformCache.translate3d="(0px, 0px, 0px)",y=!0),y&&X.flushTransformCache(g)}}s.display!==R&&"none"!==s.display&&(K.State.calls[i][2].display=!1),s.visibility!==R&&"hidden"
1!==s.visibility&&(K.State.calls[i][2].visibility=!1),s.progress&&s.progress.call(o[1],o[1],d,Math.max(0,f+s.duration-e),f,l),1===d&&P(i)}}K.State.isTicking&&O($)}function P(t,e){if(K.State.calls[t]){for(var n=K.State.calls[t][0],i=K.State.calls[t][1],o=K.State.calls[t][2],r=K.State.calls[t][4],s=!1,a=0,l=n.length;a<l;a++){var u=n[a].element;e||o.loop||("none"===o.display&&X.setPropertyValue(u,"display",o.display),"hidden"===o.visibility&&X.setPropertyValue(u,"visibility",o.visibility));var c,f=q(u);if(!0===o.loop||Q.queue(u)[1]!==R&&/\.velocityQueueEntryFlag/i.test(Q.queue(u)[1])||!f||(f.isAnimating=!1,c=!(f.rootPropertyValueCache={}),Q.each(X.Lists.transforms3D,function(t,e){var n=/^scale/.test(e)?1:0,i=f.transformCache[e];f.transformCache[e]!==R&&new RegExp("^\\("+n+"[^.]").test(i)&&(c=!0,delete f.transformCache[e])}),o.mobileHA&&(c=!0,delete f.transformCache.translate3d),c&&X.flushTransformCache(u),X.Values.removeClass(u,"velocity-animating")),!e&&o.complete&&!o.loop&&a===l-1)try{o.complete.call(i,i)}catch(t){setTimeout(function(){throw t},1)}r&&!0!==o.loop&&r(i),f&&!0===o.loop&&!e&&(Q.each(f.tweensContainer,function(t,e){var n;/^rotate/.test(t)&&(parseFloat(e.startValue)-parseFloat(e.endValue))%360==0&&(n=e.startValue,e.startValue=e.endValue,e.endValue=n),/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),K(u,"reverse",{loop:!0,delay:o.delay})),!1!==o.queue&&Q.dequeue(u,o.queue)}K.State.calls[t]=!1;for(var d=0,p=K.State.calls.length;d<p;d++)if(!1!==K.State.calls[d]){s=!0;break}!1===s&&(K.State.isTicking=!1,delete K.State.calls,K.State.calls=[])}}function U(){return Array.prototype.includes?function(t,e){return t.includes(e)}:Array.prototype.indexOf?function(t,e){return 0<=t.indexOf(e)}:function(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return!0;return!1}}var Q,e,n,o,A=function(){if(W.documentMode)return W.documentMode;for(var t=7;4<t;t--){var e=W.createElement("div");if(e.innerHTML="\x3c!--[if IE "+t+"]><span></span><![endif]--\x3e",e.getElementsByTagName("span").length)return e=null,t}return R}(),r=(o=0,H.webkitRequestAnimationFrame||H.mozRequestAnimationFrame||function(t){var e=(new Date).getTime(),n=Math.max(0,16-(e-o));return o=e+n,setTimeout(function(){t(e+n)},n)}),k=("function"!=typeof(n=H.performance||{}).now&&(e=n.timing&&n.timing.navigationStart?n.timing.navigationStart:(new Date).getTime(),n.now=function(){return(new Date).getTime()-e}),n),s=function(){var a=Array.prototype.slice;try{return a.call(W.documentElement),a}catch(t){return function(t,e){var n=this.length;if("number"!=typeof t&&(t=0),"number"!=typeof e&&(e=n),this.slice)return a.call(this,t,e);var i,o=[],r=0<=t?t:Math.max(0,n+t),s=(e<0?n+e:Math.min(e,n))-r;if(0<s)if(o=new Array(s),this.charAt)for(i=0;i<s;i++)o[i]=this.charAt(r+i);else for(i=0;i<s;i++)o[i]=this[r+i];return o}}}(),Y={isNumber:function(t){return"number"==typeof t},isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isWrapped:function(t){return t&&t!==H&&Y.isNumber(t.length)&&!Y.isString(t)&&!Y.isFunction(t)&&!Y.isNode(t)&&(0===t.length||Y.isNode(t[0]))},isSVG:function(t){return H.SVGElement&&t instanceof H.SVGElement},isEmptyObject:function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}},a=!1;if(t.fn&&t.fn.jquery?(Q=t,a=!0):Q=H.Velocity.Utilities,A<=8&&!a)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(!(A<=7)){var l="swing",K={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:H.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:W.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:Q,Redirects:{},Easings:{},Promise:H.Promise,defaults:{queue:"",duration:400,easing:l,begin:R,complete:R,progress:R,display:R,visibility:R,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRe
1jectEmpty:!0},init:function(t){Q.data(t,"velocity",{isSVG:Y.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:0},debug:!1,timestamp:!0,pauseAll:function(n){var i=(new Date).getTime();Q.each(K.State.calls,function(t,e){if(e){if(n!==R&&(e[2].queue!==n||!1===e[2].queue))return!0;e[5]={resume:!1}}}),Q.each(K.State.delayedElements,function(t,e){e&&b(e,i)})},resumeAll:function(n){(new Date).getTime();Q.each(K.State.calls,function(t,e){if(e){if(n!==R&&(e[2].queue!==n||!1===e[2].queue))return!0;e[5]&&(e[5].resume=!0)}}),Q.each(K.State.delayedElements,function(t,e){e&&_(e)})}};H.pageYOffset!==R?(K.State.scrollAnchor=H,K.State.scrollPropertyLeft="pageXOffset",K.State.scrollPropertyTop="pageYOffset"):(K.State.scrollAnchor=W.documentElement||W.body.parentNode||W.body,K.State.scrollPropertyLeft="scrollLeft",K.State.scrollPropertyTop="scrollTop");var u=function t(e,n,i){var o,r,s,a,l,u,c,f,d,p,h,m={x:-1,v:0,tension:null,friction:null},g=[0],y=0;for(e=parseFloat(e)||500,n=parseFloat(n)||20,i=i||null,m.tension=e,m.friction=n,r=(o=null!==i)?(y=t(e,n))/i*.016:.016;l=r,u={dx:(a=s||m).v,dv:x(a)},c=w(a,.5*l,u),f=w(a,.5*l,c),d=w(a,l,f),p=1/6*(u.dx+2*(c.dx+f.dx)+d.dx),h=1/6*(u.dv+2*(c.dv+f.dv)+d.dv),a.x=a.x+p*l,a.v=a.v+h*l,s=a,g.push(1+s.x),y+=16,1e-4<Math.abs(s.x)&&1e-4<Math.abs(s.v););return o?function(t){return g[t*(g.length-1)|0]}:y};K.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},Q.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(t,e){K.Easings[e[0]]=i.apply(null,e[1])});var X=K.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t,e,n,i,o,r=0;r<X.Lists.colors.length;r++){var s="color"===X.Lists.colors[r]?"0 0 0 1":"255 255 255 1";
1X.Hooks.templates[X.Lists.colors[r]]=["Red Green Blue Alpha",s]}if(A)for(t in X.Hooks.templates){X.Hooks.templates.hasOwnProperty(t)&&(n=(e=X.Hooks.templates[t])[0].split(" "),i=e[1].match(X.RegEx.valueSplit),"Color"===n[0]&&(n.push(n.shift()),i.push(i.shift()),X.Hooks.templates[t]=[n.join(" "),i.join(" ")]))}for(t in X.Hooks.templates)if(X.Hooks.templates.hasOwnProperty(t))for(var a in n=(e=X.Hooks.templates[t])[0].split(" ")){n.hasOwnProperty(a)&&(o=t+n[a],X.Hooks.registered[o]=[t,a])}},getRoot:function(t){var e=X.Hooks.registered[t];return e?e[0]:t},getUnit:function(t,e){var n=(t.substr(e||0,5).match(/^[a-z%]+/)||[])[0]||"";return n&&U(X.Lists.units)?n:""},fixColors:function(t){return t.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,function(t,e,n){return X.Lists.colorNames.hasOwnProperty(n)?(e||"rgba(")+X.Lists.colorNames[n]+(e?"":",1)"):e+n})},cleanRootPropertyValue:function(t,e){return X.RegEx.valueUnwrap.test(e)&&(e=e.match(X.RegEx.valueUnwrap)[1]),X.Values.isCSSNullValue(e)&&(e=X.Hooks.templates[t][1]),e},extractValue:function(t,e){var n=X.Hooks.registered[t];if(n){var i=n[0],o=n[1];return(e=X.Hooks.cleanRootPropertyValue(i,e)).toString().match(X.RegEx.valueSplit)[o]}return e},injectValue:function(t,e,n){var i=X.Hooks.registered[t];if(i){var o,r=i[0],s=i[1];return(o=(n=X.Hooks.cleanRootPropertyValue(r,n)).toString().match(X.RegEx.valueSplit))[s]=e,o.join(" ")}return n}},Normalizations:{registered:{clip:function(t,e,n){switch(t){case"name":return"clip";case"extract":var i=X.RegEx.wrappedValueAlreadyExtracted.test(n)?n:(i=n.toString().match(X.RegEx.valueUnwrap))?i[1].replace(/,(\s+)?/g," "):n;return i;case"inject":return"rect("+n+")"}},blur:function(t,e,n){switch(t){case"name":return K.State.isFirefox?"filter":"-webkit-filter";case"extract":var i,o=parseFloat(n);return o||0===o||(o=(i=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i))?i[1]:0),o;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(t,e,n){if(A<=8)switch(t){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return i?i[1]/100:1;case"inject":return(e.style.zoom=1)<=parseFloat(n)?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){function r(t,e,n){if("border-box"===X.getPropertyValue(e,"boxSizing").toString().toLowerCase()!==(n||!1))return 0;for(var i,o=0,r="width"===t?["Left","Right"]:["Top","Bottom"],s=["padding"+r[0],"padding"+r[1],"border"+r[0]+"Width","border"+r[1]+"Width"],a=0;a<s.length;a++)i=parseFloat(X.getPropertyValue(e,s[a])),isNaN(i)||(o+=i);return n?-o:o}function t(i,o){return function(t,e,n){switch(t){case"name":return i;case"extract":return parseFloat(n)+r(i,e,o);case"inject":return parseFloat(n)-r(i,e,o)+"px"}}}A&&!(9<A)||K.State.isGingerbread||(X.Lists.transformsBase=X.Lists.transformsBase.concat(X.Lists.transforms3D));for(var e=0;e<X.Lists.transformsBase.length;e++)!function(){var o=X.Lists.transformsBase[e];X.Normalizations.registered[o]=function(t,e,n){switch(t){case"name":return"transform";case"extract":return q(e)===R||q(e).transformCache[o]===R?/^scale/i.test(o)?1:0:q(e).transformCache[o].replace(/[()]/g,"");case"inject":var i=!1;switch(o.substr(0,o.length-1)){case"translate":i=!/(%|px|em|rem|vw|vh|\d)$/i.test(n);break;case"scal":case"scale":K.State.isAndroid&&q(e).transformCache[o]===R&&n<1&&(n=1),i=!/(\d)$/i.test(n);break;case"skew":case"rotate":i=!/(deg|\d)$/i.test(n)}return i||(q(e).transformCache[o]="("+n+")"),q(e).transformCache[o]}}}();for(var n=0;n<X.Lists.colors.length;n++)!function(){var s=X.Lists.colors[n];X.Normalizations.registered[s]=function(t,e,n){switch(t){case"name":return s;case"extract":var i,o,r=X.RegEx.wrappedValueAlreadyExtracted.test(n)?n:(o={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"},/^[A-z]+$/i.test(n)?i=o[n]!==R?o[n]:o.black:X.RegEx.isHex.test(n)?i="rgb("+X.Values.hexToRgb(n).join(" ")+")":/^rgba?\(/i.test(n)||(i=o.black),(i||n).toString().match(X.RegEx.valueUnwrap
1)[1].replace(/,(\s+)?/g," "));return(!A||8<A)&&3===r.split(" ").length&&(r+=" 1"),r;case"inject":return/^rgb/.test(n)?n:(A<=8?4===n.split(" ").length&&(n=n.split(/\s+/).slice(0,3).join(" ")):3===n.split(" ").length&&(n+=" 1"),(A<=8?"rgb":"rgba")+"("+n.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();X.Normalizations.registered.innerWidth=t("width",!0),X.Normalizations.registered.innerHeight=t("height",!0),X.Normalizations.registered.outerWidth=t("width"),X.Normalizations.registered.outerHeight=t("height")}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(A||K.State.isAndroid&&!K.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(K.State.prefixMatches[t])return[K.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],n=0,i=e.length;n<i;n++){var o=0===n?t:e[n]+t.replace(/^\w/,function(t){return t.toUpperCase()});if(Y.isString(K.State.prefixElement.style[o]))return[K.State.prefixMatches[t]=o,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e;return t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(t,e,n,i){return e+e+n+n+i+i}),(e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t))?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return!t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){var n;t&&(t.classList?t.classList.add(e):Y.isString(t.className)?t.className+=(t.className.length?" ":"")+e:(n=t.getAttribute(A<=7?"className":"class")||"",t.setAttribute("class",n+(n?" ":"")+e)))},removeClass:function(t,e){var n;t&&(t.classList?t.classList.remove(e):Y.isString(t.className)?t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," "):(n=t.getAttribute(A<=7?"className":"class")||"",t.setAttribute("class",n.replace(new RegExp("(^|s)"+e.split(" ").join("|")+"(s|$)","gi")," "))))}},getPropertyValue:function(t,e,n,u){function c(t,e){var n,i=0;if(A<=8)i=Q.css(t,e);else{var o=!1;/^(width|height)$/.test(e)&&0===X.getPropertyValue(t,"display")&&(o=!0,X.setPropertyValue(t,"display",X.Values.getDisplayType(t)));var r,s=function(){o&&X.setPropertyValue(t,"display","none")};if(!u){if("height"===e&&"border-box"!==X.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var a=t.offsetHeight-(parseFloat(X.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(X.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(X.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(X.getPropertyValue(t,"paddingBottom"))||0);return s(),a}if("width"===e&&"border-box"!==X.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var l=t.offsetWidth-(parseFloat(X.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(X.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(X.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(X.getPropertyValue(t,"paddingRight"))||0);return s(),l}}r=q(t)===R?H.getComputedStyle(t,null):q(t).computedStyle?q(t).computedStyle:q(t).computedStyle=H.getComputedStyle(t,null),"borderColor"===e&&(e="borderTopColor"),""!==(i=9===A&&"filter"===e?r.getPropertyValue(e):r[e])&&null!==i||(i=t.style[e]),s()}return"auto"!==i||!/^(top|right|bottom|left)$/i.test(e)||("fixed"===(n=c(t,"position"))||"absolute"===n&&/top|left/i.test(e))&&(i=Q(t).position()[e]+"px"),i}var i,o,r,s,a;if(X.Hooks.registered[e]?(o=e,r=X.Hooks.getRoot(o),n===R&&(n=X.getPropertyValue(t,X.Names.prefixCheck(r)[0])),X.Normalizations.registered[r]&&(n=X.Normalizations.registered[r]("extract",t,n)),i=X.Hooks.extractValue(o,n)):X.Normalizations.registered[e]&&("transform"!==(a=X.Normalizations.registered[e]("name",t))&&(s=c(t,X.Names.prefixCheck(a)[0]),X.Values.isCSSNullValue(s)&&X.Hooks.templates[e]&&(s=X.Hooks.templates[e][1])),i=X.Normalizations.registered[e]("extract",t,s)),!/^[\d-]/.test(i)){var l=q(t);if(l&&l.isSVG&&X.Names.SVGAttribute(e))if(/^(height|width)$/i.test(e))try{i=t.getBBox()[e]}catch(t){i=0}else i=t.getAttribute(e);else i=c(t,X.Names.prefixCheck(e)[0])}return X.Values.isCSSNullValue(i)&&(i=0),K.debug,i},setPropertyValue:function(t,e,n,i,o){var r,s,a=e;if("scroll"===e)o.container?o.container["scroll"+o.direction]=n:"Left"===o.direction?H.scrollTo(n,o.alternateValue):H.scrollTo(o.alternateValue,n);else if(X.Normalizations.registered[e]&&"transform"===X.Normalizations.registered[e]("name",t))X.Normalizations.registered[e]("inject",t,n),a="transform",n=q(t).transformCache[e];else{if(X.Hooks.registered[e]&&(r=e,s=X.Hooks.getRoot(e),i=i||X.getPropertyValue(t,s),n=X.Hooks.injectValue(r,n,i),e=s),X.Normalizations.registered[e]&&(n=X.Normalizations.registered[e]("inject",t,n),e=X.Normalizations.registered[e]("name",t)),a=X.Names.prefixCheck(e)[0],A<=8)try{t.style[a]=n}catch(t){K.debug}else{var l=q(t);l&&l.isSVG&&X.Names.SVGAttribute(e)?t.setAttribute(e,n):t.style[a]=n}K.debug}return[a,n]},flushTransformCache:function(e){var t,n,i,o,r="",s=q(e);(A||K.State.isAndroid&&!K.State.isChrome)&&s&&s.isSVG?(n={translate:[(t=function(t){return parseFloat(X.getPropertyValue(e,t))})("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]},Q.each(q(e).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),n[t]&&(r+=t+"("+n[t].join(" ")+") ",delete n[t])})):(Q.each(q(e).transformCache,function(t){return i=q(e).transformCache[t],"transformPerspective"===t?(o=i,!0):(9===A&&"rotateZ"===t&&(t="rotate"),void(r+=t+i+" "))}),o&&(r="perspective"+o+" "+r)),X.setPropertyValue(e,"transform",r)}};X.Hooks.register(),X.Normalizations.register(),K.hook=function(t,i,o){var r;return t=v(t),Q.each(t,function(t,e){var n;q(e)===R&&K.init(e),o===R?r===R&&(r=X.getPropertyValue(e,i)):("transform"===(n=X.setPropertyValue(e,i,o))[0]&&K.CSS.flushTransformCache(e),r=n)}),r};var c=function t(e){function n(){return r?A.promise||null:s}function i(N,C){function n(t){var P,D,e,n,i,o,r;if(B.begin&&0===I)try{B.begin.call(E,E)}catch(t){setTimeout(function(){throw t}
1,1)}if("scroll"===k){var s,a,l,u=/^x$/i.test(B.axis)?"Left":"Top",c=parseFloat(B.offset)||0;B.container?Y.isWrapped(B.container)||Y.isNode(B.container)?(B.container=B.container[0]||B.container,l=(s=B.container["scroll"+u])+Q(N).position()[u.toLowerCase()]+c):B.container=null:(s=K.State.scrollAnchor[K.State["scrollProperty"+u]],a=K.State.scrollAnchor[K.State["scrollProperty"+("Left"===u?"Top":"Left")]],l=Q(N).offset()[u.toLowerCase()]+c),F={scroll:{rootPropertyValue:!1,startValue:s,currentValue:s,endValue:l,unitType:"",easing:B.easing,scrollData:{container:B.container,direction:u,alternateValue:a}},element:N},K.debug}else if("reverse"===k){if(!(P=q(N)))return;if(!P.tweensContainer)return void Q.dequeue(N,B.queue);for(var f in"none"===P.opts.display&&(P.opts.display="auto"),"hidden"===P.opts.visibility&&(P.opts.visibility="visible"),P.opts.loop=!1,P.opts.begin=null,P.opts.complete=null,L.easing||delete B.easing,L.duration||delete B.duration,B=Q.extend({},P.opts,B),D=Q.extend(!0,{},P?P.tweensContainer:null)){D.hasOwnProperty(f)&&"element"!==f&&(e=D[f].startValue,D[f].startValue=D[f].currentValue=D[f].endValue,D[f].endValue=e,Y.isEmptyObject(L)||(D[f].easing=B.easing),K.debug)}F=D}else if("start"===k){(P=q(N))&&P.tweensContainer&&!0===P.isAnimating&&(D=P.tweensContainer);var d=function(t,e){var n,i=X.Hooks.getRoot(t),o=!1,r=e[0],s=e[1],a=e[2];if(P&&P.isSVG||"tween"===i||!1!==X.Names.prefixCheck(i)[1]||X.Normalizations.registered[i]!==R){(B.display!==R&&null!==B.display&&"none"!==B.display||B.visibility!==R&&"hidden"!==B.visibility)&&/opacity|filter/.test(t)&&!a&&0!==r&&(a=0),B._cacheValues&&D&&D[t]?(a===R&&(a=D[t].endValue+D[t].unitType),o=P.rootPropertyValueCache[i]):X.Hooks.registered[t]?a===R?(o=X.getPropertyValue(N,i),a=X.getPropertyValue(N,t,o)):o=X.Hooks.templates[i][1]:a===R&&(a=X.getPropertyValue(N,t));var l,u,c,f=!1,d=function(t,e){var n=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(t){return i=t,""}),i=i||X.Values.getUnitType(t);return[n,i]};if(a!==r&&Y.isString(a)&&Y.isString(r)){n="";for(var p=0,h=0,m=[],g=[],y=0,v=0,b=0,a=X.Hooks.fixColors(a),r=X.Hooks.fixColors(r);p<a.length&&h<r.length;){var _=a[p],x=r[h];if(/[\d\.-]/.test(_)&&/[\d\.-]/.test(x)){for(var w=_,S=x,C=".",E=".";++p<a.length;){if((_=a[p])===C)C="..";else if(!/\d/.test(_))break;w+=_}for(;++h<r.length;){if((x=r[h])===E)E="..";else if(!/\d/.test(x))break;S+=x}var T,A,k=X.Hooks.getUnit(a,p),O=X.Hooks.getUnit(r,h);p+=k.length,h+=O.length,k===O?w===S?n+=w+k:(n+="{"+m.length+(v?"!":"")+"}"+k,m.push(parseFloat(w)),g.push(parseFloat(S))):(T=parseFloat(w),A=parseFloat(S),n+=(y<5?"calc":"")+"("+(T?"{"+m.length+(v?"!":"")+"}":"0")+k+" + "+(A?"{"+(m.length+(T?1:0))+(v?"!":"")+"}":"0")+O+")",T&&(m.push(T),g.push(0)),A&&(m.push(0),g.push(A)))}else{if(_!==x){y=0;break}n+=_,p++,h++,0===y&&"c"===_||1===y&&"a"===_||2===y&&"l"===_||3===y&&"c"===_||4<=y&&"("===_?y++:(y&&y<5||4<=y&&")"===_&&--y<5)&&(y=0),0===v&&"r"===_||1===v&&"g"===_||2===v&&"b"===_||3===v&&"a"===_||3<=v&&"("===_?(3===v&&"a"===_&&(b=1),v++):b&&","===_?3<++b&&(v=b=0):(b&&v<(b?5:4)||(b?4:3)<=v&&")"===_&&--v<(b?5:4))&&(v=b=0)}}p===a.length&&h===r.length||(K.debug,n=R),n&&(m.length?(K.debug,a=m,r=g,u=c=""):n=R)}if(n||(a=(l=d(t,a))[0],c=l[1],r=(l=d(t,r))[0].replace(/^([+-\/*])=/,function(t,e){return f=e,""}),u=l[1],a=parseFloat(a)||0,r=parseFloat(r)||0,"%"===u&&(/^(fontSize|lineHeight)$/.test(t)?(r/=100,u="em"):/^scale/.test(t)?(r/=100,u=""):/(Red|Green|Blue)$/i.test(t)&&(r=r/100*255,u=""))),/[\/*]/.test(f))u=c;else if(c!==u&&0!==a)if(0===r)u=c;else{j=j||function(){var t={myParent:N.parentNode||W.body,position:X.getPropertyValue(N,"position"),fontSize:X.getPropertyValue(N,"fontSize")},e=t.position===V.lastPosition&&t.myParent===V.lastParent,n=t.fontSize===V.lastFontSize;V.lastParent=t.myParent,V.lastPosition=t.position,V.lastFontSize=t.fontSize;var i,o={};return n&&e?(o.emToPx=V.lastEmToPx,o.percentToPxWidth=V.lastPercentToPxWidth,o.percentToPxHeight=V.lastPercentToPxHeight):(i=P&&P.isSVG?W.createElementNS("http://www.w3.org/2000/svg","rect"):W.createElement("div"),K.init(i),t.myParent.appendChild(i),Q.each(["overflow","overflowX","overflowY"],function(t,e){K.CSS.setPropertyValue(i,e,"hidden")}),K.CSS.setPropertyValue(i,"position",t.position),K.CSS.setPropertyValue(i,"fontSize",t.fontSize),K.CSS.setPropertyValue(i,"boxSizing","content-box"),Q.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){K.CSS.setPropertyValue(i,e,"100%")}),K.CSS.setPropertyValue(i,"paddingLeft","100em"),o.percentToPxWidth=V.lastPercentToPxWidth=(parseFloat(X.getPropertyValue(i,"width",null,!0))||1)/100,o.percentToPxHeight=V.lastPercentToPxHeight=(parseFloat(X.getPropertyValue(i,"height",null,!0))||1)/100,o.emToPx=V.lastEmToPx=(parseFloat(X.getPropertyValue(i,"paddingLeft"))||1)/100,t.myParent.removeChild(i)),null===V.remToPx&&(V.remToPx=parseFloat(X.getPropertyValue(W.body,"fontSize"))||16),null===V.vwToPx&&(V.vwToPx=parseFloat(H.innerWidth)/100,V.vhToPx=parseFloat(H.innerHeight)/100),o.remToPx=V.remToPx,o.vwToPx=V.vwToPx,o.vhToPx=V.vhToPx,K.debug,o}();var I=/margin|padding|left|right|width|text|word|letter/i.test(t)||/X$/.test(t)||"x"===t?"x":"y";switch(c){case"%":a*="x"==I?j.percentToPxWidth:j.percentToPxHeight;break;case"px":break;default:a*=j[c+"ToPx"]}switch(u){case"%":a*=1/("x"==I?j.percentToPxWidth:j.percentToPxHeight);break;case"px":break;default:a*=1/j[u+"ToPx"]}}switch(f){case"+":r=a+r;break;case"-":r=a-r;break;case"*":r*=a;break;case"/":r=a/r}F[t]={rootPropertyValue:o,startValue:a,currentValue:a,endValue:r,unitType:u,easing:s},n&&(F[t].pattern=n),K.debug}else K.debug};
1for(var p in T)if(T.hasOwnProperty(p)){var h=X.Names.camelCase(p),m=(n=T[p],r=o=i=void 0,Y.isFunction(n)&&(n=n.call(N,C,O)),Y.isArray(n)?(i=n[0],r=!Y.isArray(n[1])&&/^[\d-]/.test(n[1])||Y.isFunction(n[1])||X.RegEx.isHex.test(n[1])?n[1]:Y.isString(n[1])&&!X.RegEx.isHex.test(n[1])&&K.Easings[n[1]]||Y.isArray(n[1])?(o=z(n[1],B.duration),n[2]):n[1]||n[2]):i=n,o=o||B.easing,Y.isFunction(i)&&(i=i.call(N,C,O)),Y.isFunction(r)&&(r=r.call(N,C,O)),[i||0,o,r]);if(U(X.Lists.colors)){var g=m[0],y=m[1],v=m[2];if(X.RegEx.isHex.test(g)){for(var b=["Red","Green","Blue"],_=X.Values.hexToRgb(g),x=v?X.Values.hexToRgb(v):R,w=0;w<b.length;w++){var S=[_[w]];y&&S.push(y),x!==R&&S.push(x[w]),d(h+b[w],S)}continue}}d(h,m)}F.element=N}F.element&&(X.Values.addClass(N,"velocity-animating"),M.push(F),(P=q(N))&&(""===B.queue&&(P.tweensContainer=F,P.opts=B),P.isAnimating=!0),I===O-1?(K.State.calls.push([M,E,B,null,A.resolver,null,0]),!1===K.State.isTicking&&(K.State.isTicking=!0,$())):I++)}var j,t,e,i,B=Q.extend({},K.defaults,L),F={};switch(q(N)===R&&K.init(N),parseFloat(B.delay)&&!1!==B.queue&&Q.queue(N,B.queue,function(t){K.velocityQueueEntryFlag=!0;var e=K.State.delayedElements.count++;K.State.delayedElements[e]=N;var n,i=(n=e,function(){K.State.delayedElements[n]=!1,t()});q(N).delayBegin=(new Date).getTime(),q(N).delay=parseFloat(B.delay),q(N).delayTimer={setTimeout:setTimeout(t,parseFloat(B.delay)),next:i}}),B.duration.toString().toLowerCase()){case"fast":B.duration=200;break;case"normal":B.duration=400;break;case"slow":B.duration=600;break;default:B.duration=parseFloat(B.duration)||1}!1!==K.mock&&(!0===K.mock?B.duration=B.delay=1:(B.duration*=parseFloat(K.mock)||1,B.delay*=parseFloat(K.mock)||1)),B.easing=z(B.easing,B.duration),B.begin&&!Y.isFunction(B.begin)&&(B.begin=null),B.progress&&!Y.isFunction(B.progress)&&(B.progress=null),B.complete&&!Y.isFunction(B.complete)&&(B.complete=null),B.display!==R&&null!==B.display&&(B.display=B.display.toString().toLowerCase(),"auto"===B.display&&(B.display=K.CSS.Values.getDisplayType(N))),B.visibility!==R&&null!==B.visibility&&(B.visibility=B.visibility.toString().toLowerCase()),B.mobileHA=B.mobileHA&&K.State.isMobile&&!K.State.isGingerbread,!1===B.queue?B.delay?(t=K.State.delayedElements.count++,K.State.delayedElements[t]=N,i=t,e=function(){K.State.delayedElements[i]=!1,n()},q(N).delayBegin=(new Date).getTime(),q(N).delay=parseFloat(B.delay),q(N).delayTimer={setTimeout:setTimeout(n,parseFloat(B.delay)),next:e}):n():Q.queue(N,B.queue,function(t,e){return!0===e?(A.promise&&A.resolver(E),!0):(K.velocityQueueEntryFlag=!0,void n())}),""!==B.queue&&"fx"!==B.queue||"inprogress"===Q.queue(N)[0]||Q.dequeue(N)}var o,r,s,a,E,T,l=e&&(e.p||Q.isPlainObject(e.properties)&&!e.properties.names||Y.isString(e.properties));Y.isWrapped(this)?(r=!1,a=0,s=E=this):(r=!0,a=1,E=l?e.elements||e.e:e);var A={promise:null,resolver:null,rejecter:null};if(r&&K.Promise&&(A.promise=new K.Promise(function(t,e){A.resolver=t,A.rejecter=e})),L=l?(T=e.properties||e.p,e.options||e.o):(T=arguments[a],arguments[a+1]),E=v(E)){var k,O=E.length,I=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(T)&&!Q.isPlainObject(L))for(var L={},u=a+1;u<arguments.length;u++)Y.isArray(arguments[u])||!/^(fast|normal|slow)$/i.test(arguments[u])&&!/^\d/.test(arguments[u])?Y.isString(arguments[u])||Y.isArray(arguments[u])?L.easing=arguments[u]:Y.isFunction(arguments[u])&&(L.complete=arguments[u]):L.duration=arguments[u];switch(T){case"scroll":k="scroll";break;case"reverse":k="reverse";break;case"pause":var c=(new Date).getTime();return Q.each(E,function(t,e){b(e,c)}),Q.each(K.State.calls,function(t,i){var o=!1;i&&Q.each(i[1],function(t,n){var e=L===R?"":L;return!0!==e&&i[2].queue!==e&&(L!==R||!1!==i[2].queue)||(Q.each(E,function(t,e){if(e===n)return i[5]={resume:!1},!(o=!0)}),!o&&void 0)})}),n();case"resume":return Q.each(E,function(t,e){_(e)}),Q.each(K.State.calls,function(t,i){var o=!1;i&&Q.each(i[1],function(t,n){var e=L===R?"":L;return!0!==e&&i[2].queue!==e&&(L!==R||!1!==i[2].queue)||!i[5]||(Q.each(E,function(t,e){if(e===n)return i[5].resume=!0,!(o=!0)}),!o&&void 0)})}),n();case"finish":case"finishAll":case"stop":Q.each(E,function(t,e){q(e)&&q(e).delayTimer&&(clearTimeout(q(e).delayTimer.setTimeout),q(e).delayTimer.next&&q(e).delayTimer.next(),delete q(e).delayTimer),"finishAll"!==T||!0!==L&&!Y.isString(L)||(Q.each(Q.queue(e,Y.isString(L)?L:""),function(t,e){Y.isFunction(e)&&e()}),Q.queue(e,Y.isString(L)?L:"",[]))});var f=[];return Q.each(K.State.calls,function(r,s){s&&Q.each(s[1],function(t,i){var o=L===R?"":L;if(!0!==o&&s[2].queue!==o&&(L!==R||!1!==s[2].queue))return!0;Q.each(E,function(t,e){var n;e===i&&(!0!==L&&!Y.isString(L)||(Q.each(Q.queue(e,Y.isString(L)?L:""),function(t,e){Y.isFunction(e)&&e(null,!0)}),Q.queue(e,Y.isString(L)?L:"",[])),"stop"===T?((n=q(e))&&n.tweensContainer&&!1!==o&&Q.each(n.tweensContainer,function(t,e){e.endValue=e.currentValue}),f.push(r)):"finish"!==T&&"finishAll"!==T||(s[2].duration=1))})})}),"stop"===T&&(Q.each(f,function(t,e){P(e,!0)}),A.promise&&A.resolver(E)),n();default:if(!Q.isPlainObject(T)||Y.isEmptyObject(T)){if(Y.isString(T)&&K.Redirects[T]){var d=(o=Q.extend({},L)).duration,p=o.delay||0;return!0===o.backwards&&(E=Q.extend(!0,[],E).reverse()),Q.each(E,function(t,e){parseFloat(o.stagger)?o.delay=p+parseFloat(o.stagger)*t:Y.isFunction(o.stagger)&&(o.delay=p+o.stagger.call(e,t,O)),o.drag&&(o.duration=parseFloat(d)||(
1/^(callout|transition)/.test(T)?1e3:400),o.duration=Math.max(o.duration*(o.backwards?1-t/O:(t+1)/O),.75*o.duration,200)),K.Redirects[T].call(e,e,o||{},t,O,E,A.promise?A:R)}),n()}var h="Velocity: First argument ("+T+") was not a property map, a known action, or a registered redirect. Aborting.";return A.promise?A.rejecter(new Error(h)):H.console,n()}k="start"}var V={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},M=[];Q.each(E,function(t,e){Y.isNode(e)&&i(e,t)}),(o=Q.extend({},K.defaults,L)).loop=parseInt(o.loop,10);var m=2*o.loop-1;if(o.loop)for(var g=0;g<m;g++){var y={delay:o.delay,progress:o.progress};g===m-1&&(y.display=o.display,y.visibility=o.visibility,y.complete=o.complete),t(E,"reverse",y)}return n()}A.promise&&(T&&L&&!1===L.promiseRejectEmpty?A.resolver():A.rejecter())};(K=Q.extend(c,K)).animate=c;var f,O=H.requestAnimationFrame||r;return K.State.isMobile||W.hidden===R||((f=function(){W.hidden?(O=function(t){return setTimeout(function(){t(!0)},16)},$()):O=H.requestAnimationFrame||r})(),W.addEventListener("visibilitychange",f)),t.Velocity=K,t!==H&&(t.fn.velocity=c,t.fn.velocity.defaults=K.defaults),Q.each(["Down","Up"],function(t,f){K.Redirects["slide"+f]=function(n,t,i,e,o,r){var s=Q.extend({},t),a=s.begin,l=s.complete,u={},c={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};s.display===R&&(s.display="Down"===f?"inline"===K.CSS.Values.getDisplayType(n)?"inline-block":"block":"none"),s.begin=function(){for(var t in 0===i&&a&&a.call(o,o),c){var e;c.hasOwnProperty(t)&&(u[t]=n.style[t],e=X.getPropertyValue(n,t),c[t]="Down"===f?[e,0]:[0,e])}u.overflow=n.style.overflow,n.style.overflow="hidden"},s.complete=function(){for(var t in u)u.hasOwnProperty(t)&&(n.style[t]=u[t]);i===e-1&&(l&&l.call(o,o),r&&r.resolver(o))},K(n,c,s)}}),Q.each(["In","Out"],function(t,u){K.Redirects["fade"+u]=function(t,e,n,i,o,r){var s=Q.extend({},e),a=s.complete,l={opacity:"In"===u?1:0};0!==n&&(s.begin=null),s.complete=n!==i-1?null:function(){a&&a.call(o,o),r&&r.resolver(o)},s.display===R&&(s.display="In"===u?"auto":"none"),K(this,l,s)}}),K}function x(t){return-t.tension*t.x-t.friction*t.v}function w(t,e,n){var i={x:t.x+n.dx*e,v:t.v+n.dv*e,tension:t.tension,friction:t.friction};return{dx:i.v,dv:x(i)}}jQuery.fn.velocity=jQuery.fn.animate}(window.jQuery||window.Zepto||window,window,window?window.document:void 0)},"object"==typeof t&&"object"==typeof t.exports?t.exports=r():void 0!==(o="function"==typeof(i=r)?i.call(e,n,e,t):i)&&(t.exports=o)},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}n(25),n(20),n(22),n(19),n(18),n(8),n(13),n(16),n(17),n(7);var a=i(n(2)),l=i(n(10)),u=i(n(3)),c=i(n(11)),f=i(n(12)),o=i(n(1)),r=i(n(21));for(var s in n(14),n(15),n(9),r.default.prototype)o.default[s]=r.default.prototype[s];$(document).ready(function(){var t=$(".js-dropdown"),e=new l.default,n=$('.js-top-menu ul[data-depth="0"]'),i=new a.default(t),o=new f.default(n),r=new u.default,s=new c.default;
1i.init(),e.init(),o.init(),r.init(),s.init()})},function(t,e){},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function s(){d.default.each((0,d.default)(a),function(t,e){(0,d.default)(e).TouchSpin({verticalbuttons:!0,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin js-increase-product-quantity",buttonup_class:"btn btn-touchspin js-touchspin js-decrease-product-quantity",min:parseInt((0,d.default)(e).attr("min"),10),max:1e6})}),h.switchErrorStat()}var d=i(n(0)),p=i(n(1));p.default.cart=p.default.cart||{},p.default.cart.active_inputs=null;var a='input[name="product-quantity-spin"]',o=!1,r=!1,l="";(0,d.default)(document).ready(function(){function o(t,e){if("on.startupspin"!==(n=e)&&"on.startdownspin"!==n)return{url:t.attr("href"),type:function(t){for(var e=t.split("-"),n=void 0,i=void 0,o="",n=0;n<e.length;n++)i=e[n],0!==n&&(i=i.substring(0,1).toUpperCase()+i.substring(1)),o+=i;return o}(t.data("link-action"))};var n,i,o=(i=t.parents(".bootstrap-touchspin").find(r)).is(":focus")?null:i;return o?"on.startupspin"===e?{url:o.data("up-url"),type:"increaseProductQuantity"}:{url:o.data("down-url"),type:"decreaseProductQuantity"}:void 0}function e(t){var e=(0,d.default)(t.currentTarget),n=e.data("update-url"),i=e.attr("value"),o=e.val();if(o!=parseInt(o)||o<0||isNaN(o))return e.val(i),0;var r,s,a,l,u=o-i;0!=u&&(e.attr("value",o),r=n,l=u,s={ajax:"1",qty:Math.abs(l),action:"update",op:0<l?"up":"down"},a=e,f(),d.default.ajax({url:r,method:"POST",data:s,dataType:"json",beforeSend:function(t){c.push(t)}}).then(function(t){var e;h.checkUpdateOpertation(t),a.val(t.quantity),e=a&&a.dataset?a.dataset:t,p.default.emit("updateCart",{reason:e})}).fail(function(t){p.default.emit("handleError",{eventType:"updateProductQuantityInCart",resp:t})}))}var r=".js-cart-line-product-quantity",c=[];p.default.on("updateCart",function(){(0,d.default)(".quickview").modal("hide")}),p.default.on("updatedCart",function(){s()}),s();function t(t){t.preventDefault();var n=(0,d.default)(t.currentTarget),i=t.currentTarget.dataset,e=o(n,t.namespace);void 0!==e&&(f(),d.default.ajax({url:e.url,method:"POST",data:{ajax:"1",action:"update"},dataType:"json",beforeSend:function(t){c.push(t)}}).then(function(t){var e;h.checkUpdateOpertation(t),e=n,(0,d.default)(e.parents(".bootstrap-touchspin").find("input")).val(t.quantity),p.default.emit("updateCart",{reason:i})}).fail(function(t){p.default.emit("handleError",{eventType:"updateProductInCart",resp:t,cartAction:e.type})}))}var n=(0,d.default)("body"),f=function(){for(;0<c.length;)c.pop().abort()};n.on("click",'[data-link-action="delete-from-cart"], [data-link-action="remove-voucher"]',t),n.on("touchspin.on.startdownspin",a,t),n.on("touchspin.on.startupspin",a,t),n.on("focusout keyup",r,function(t){return"keyup"===t.type?(13===t.keyCode&&e(t),!1):void e(t)}),n.on("hidden.bs.collapse","#promo-code",function(){(0,d.default)(".display-promo").show(400)}),n.on("click",".promo-code-button",function(t){t.preventDefault(),(0,d.default)("#promo-code").collapse("toggle")}),n.on("click",".display-promo",function(t){(0,d.default)(t.currentTarget).hide(400)}),n.on("click",".js-discount .code",function(t){t.stopPropagation();var e=(0,d.default)(t.currentTarget);return(0,d.default)("[name=discount_name]").val(e.text()),(0,d.default)("#promo-code").collapse("show"),(0,d.default)(".display-promo").hide(400),!1})});var h={switchErrorStat:function(){var t,e=(0,d.default)(".checkout a");((0,d.default)("#notifications article.alert-danger").length||""!==l&&!o)&&e.addClass("disabled"),""!==l?(t=' <article class="alert alert-danger" role="alert" data-alert="danger"><ul><li>'+l+"</li></ul></article>",(0,d.default)("#notifications .container").html(t),l="",r=!1,o&&e.removeClass("disabled")):!o&&r&&((r=o=!1,d.default)("#notifications .container").html(""),e.removeClass("disabled"))},checkUpdateOpertation:function(t){o=t.hasOwnProperty("hasError");var e=t.errors||"";l=e instanceof Array?e.join(" "):e,r=!0}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}var o=i(n(0)),r=i(n(1));(0,o.default)(document).ready(function(){1===(0,o.default)("body#checkout").length&&((0,o.default)(".js-terms a").on("click",function(t){t.preventDefault();var e=(0,o.default)(t.target).attr("href");e&&(e+="?content_only=1",o.default.get(e,function(t){(0,o.default)("#modal").find(".js-modal-content").html((0,o.default)(t).find(".page-cms").contents())}).fail(function(t){r.default.emit("handleError",{eventType:"clickTerms",resp:t})})),(0,o.default)("#modal").modal("show")}),(0,o.default)(".js-gift-checkbox").on("click",function(t){(0,o.default)("#gift").collapse("toggle")}),(0,o.default)(".card-block .cart-summary-products p a").on("click",function(t){"expand_more"==(t=(0,o.default)(this).find("i.material-icons")).text()?t.text("exp
1and_less"):t.text("expand_more")})),r.default.on("updatedDeliveryForm",function(t){void 0!==t.deliveryOption&&0!==t.deliveryOption.length&&((0,o.default)(".carrier-extra-content").hide(),t.deliveryOption.next(".carrier-extra-content").slideDown())})})},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}var o=i(n(1)),r=i(n(0));o.default.blockcart=o.default.blockcart||{},o.default.blockcart.showModal=function(t){function e(){return(0,r.default)("#blockcart-modal")}var n=e();n.length&&n.remove(),(0,r.default)("body").append(t),(n=e()).modal("show").on("hidden.bs.modal",function(t){o.default.emit("updateProduct",{reason:t.currentTarget.dataset,event:t})})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),t},o=n(0),r=o&&o.__esModule?o:{default:o},s=(i(a,[{key:"init",value:function(){this.parentFocus(),this.togglePasswordVisibility()}},{key:"parentFocus",value:function(){(0,r.default)(".js-child-focus").focus(function(){(0,r.default)(this).closest(".js-parent-focus").addClass("focus")}),(0,r.default)(".js-child-focus").focusout(function(){(0,r.default)(this).closest(".js-parent-focus").removeClass("focus")})}},{key:"togglePasswordVisibility",value:function(){(0,r.default)('button[data-action="show-password"]').on("click",function(){var t=(0,r.default)(this).closest(".input-group").children("input.js-visible-password");"password"===t.attr("type")?(t.attr("type","text"),(0,r.default)(this).text((0,r.default)(this).data("textHide"))):(t.attr("type","password"),(0,r.default)(this).text((0,r.default)(this).data("textShow")))})}}]),a);function a(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a)}function l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}e.default=s,t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t},o=n(0),r=o&&o.__esModule?o:{default:o};function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}n(4);var a=(i(l,[{key:"init",value:function(){var e=this,t=(0,r.default)(".js-modal-arrows"),n=(0,r.default)(".js-modal-product-images");(0,r.default)("body").on("click",".js-modal-thumb",function(t){(0,r.default)(".js-modal-thumb").hasClass("selected")&&(0,r.default)(".js-modal-thumb").removeClass("selected"),(0,r.default)(t.currentTarget).addClass("selected"),(0,r.default)(".js-modal-product-cover").attr("src",(0,r.default)(t.target).data("image-large-src")),(0,r.default)(".js-modal-product-cover").attr("title",(0,r.default)(t.target).attr("title")),(0,r.default)(".js-modal-product-cover").attr("alt",(0,r.default)(t.target).attr("alt"))}).on("click","aside#thumbnails",function(t){"thumbnails"==t.target.id&&(0,r.default)("#product-modal").modal("hide")}),(0,r.default)(".js-modal-product-images li").length<=5?t.css("opacity",".2"):t.on("click",function(t){(0,r.default)(t.target).hasClass("arrow-up")&&n.position().top<0?(e.move("up"),(0,r.default)(".js-modal-arrow-down").css("opacity","1")):(0,r.default)(t.target).hasClass("arrow-down")&&n.position().top+n.height()>(0,r.default)(".js-modal-mask").height()&&(e.move("down"),(0,r.default)(".js-modal-arrow-up").css("opacity","1"))})}},{key:"move",value:function(t){var e=(0,r.default)(".js-modal-product-images"),n=(0,r.default)(".js-modal-product-images li img").height()+10,i=e.position().top;e.velocity({translateY:"up"===t?i+n:i-n},function(){0<=e.position().top?(0,r.default)(".js-modal-arrow-up").css("opacity",".2"):e.position().top+e.height()<=(0,r.default)(".js-modal-mask").height()&&(0,r.default)(".js-modal-arrow-down").css("opacity",".2")})}}]),l);function l(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l)}e.default=a,t.exports=e.default},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}
1Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),t},r=function(t,e,n){for(var i=!0;i;){var o=t,r=e,s=n,i=!1;null===o&&(o=Function.prototype);var a=Object.getOwnPropertyDescriptor(o,r);if(void 0!==a){if("value"in a)return a.value;var l=a.get;if(void 0===l)return;return l.call(s)}var u=Object.getPrototypeOf(o);if(null===u)return;t=u,e=r,n=s,i=!0,a=u=void 0}},s=i(n(0)),a=(function(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)}(l,i(n(2)).default),o(l,[{key:"init",value:function(){var e=this,n=void 0,i=this;this.el.find("li").hover(function(t){e.el.parent().hasClass("mobile")||(n!==(0,s.default)(t.currentTarget).attr("id")&&(0===(0,s.default)(t.target).data("depth")&&(0,s.default)("#"+n+" .js-sub-menu").hide(),n=(0,s.default)(t.currentTarget).attr("id")),n&&0===(0,s.default)(t.target).data("depth")&&(0,s.default)("#"+n+" .js-sub-menu").css({top:(0,s.default)("#"+n).height()+(0,s.default)("#"+n).position().top}))}),(0,s.default)("#menu-icon").on("click",function(){(0,s.default)("#mobile_top_menu_wrapper").toggle(),i.toggleMobileMenu()}),(0,s.default)(".js-top-menu .category").mouseleave(function(){e.el.parent().hasClass("mobile")}),this.el.on("click",function(t){e.el.parent().hasClass("mobile")||t.stopPropagation()}),prestashop.on("responsive update",function(t){(0,s.default)(".js-sub-menu").removeAttr("style"),i.toggleMobileMenu()}),r(Object.getPrototypeOf(l.prototype),"init",this).call(this)}},{key:"toggleMobileMenu",value:function(){(0,s.default)("#header").toggleClass("is-open"),(0,s.default)("#mobile_top_menu_wrapper").is(":visible")?(0,s.default)("#notifications, #wrapper, #footer").hide():(0,s.default)("#notifications, #wrapper, #footer").show()}}]),l);function l(){(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")})(this,l),r(Object.getPrototypeOf(l.prototype),"constructor",this).apply(this,arguments)}function u(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}e.default=a,t.exports=e.default},function(t,e,n){"use strict";var i=n(0),o=i&&i.__esModule?i:{default:i};(0,o.default)(document).ready(function(){(0,o.default)("body#order-detail")&&(0,o.default)("#order-return-form table thead input[type=checkbox]").on("click",function(){var n=(0,o.default)(this).prop("checked");(0,o.default)("#order-return-form table tbody input[type=checkbox]").each(function(t,e){(0,o.default)(e).prop("checked",n)})})})},function(t,e,n){"use strict";!function(s){function a(t,e){this.options=e,this.$elementFilestyle=[],this.$element=s(t)}var o=0;a.prototype={clear:function(){this.$element.val(""),this.$elementFilestyle.find(":text").val(""),this.$elementFilestyle.find(".badge").remove()},destroy:function(){this.$element.removeAttr("style").removeData("filestyle"),this.$elementFilestyle.remove()},disabled:function(t){if(!0===t)this.options.disabled||(this.$element.attr("disabled","true"),this.$elementFilestyle.find("label").attr("disabled","true"),this.options.disabled=!0);else{if(!1!==t)return this.options.disabled;this.options.disabled&&(this.$element.removeAttr("disabled"),this.$elementFilestyle.find("label").removeAttr("disabled"),this.options.disabled=!1)}},buttonBefore:function(t){if(!0===t)this.options.buttonBefore||(this.options.buttonBefore=!0,this.options.input&&(this.$elementFilestyle.remove(),this.constructor(),this.pushNameFiles()));else{if(!1!==t)return this.options.buttonBefore;this.options.buttonBefore&&(this.options.buttonBefore=!1,this.options.input&&(this.$elementFilestyle.remove(),this.constructor(),this.pushNameFiles()))}},icon:function(t){if(!0===t)this.options.icon||(this.options.icon=!0,this.$elementFilestyle.find("label").prepend(this.htmlIcon()));else{if(!1!==t)return this.options.icon;this.options.icon&&(this.options.icon=!1,this.$elementFilestyle.find(".
1icon-span-filestyle").remove())}},input:function(t){if(!0===t)this.options.input||(this.options.input=!0,this.options.buttonBefore?this.$elementFilestyle.append(this.htmlInput()):this.$elementFilestyle.prepend(this.htmlInput()),this.$elementFilestyle.find(".badge").remove(),this.pushNameFiles(),this.$elementFilestyle.find(".group-span-filestyle").addClass("input-group-btn"));else{if(!1!==t)return this.options.input;var e;this.options.input&&(this.options.input=!1,this.$elementFilestyle.find(":text").remove(),0<(e=this.pushNameFiles()).length&&this.options.badge&&this.$elementFilestyle.find("label").append(' <span class="badge">'+e.length+"</span>"),this.$elementFilestyle.find(".group-span-filestyle").removeClass("input-group-btn"))}},size:function(t){if(void 0===t)return this.options.size;var e=this.$elementFilestyle.find("label"),n=this.$elementFilestyle.find("input");e.removeClass("btn-lg btn-sm"),n.removeClass("input-lg input-sm"),"nr"!=t&&(e.addClass("btn-"+t),n.addClass("input-"+t))},placeholder:function(t){if(void 0===t)return this.options.placeholder;this.options.placeholder=t,this.$elementFilestyle.find("input").attr("placeholder",t)},buttonText:function(t){if(void 0===t)return this.options.buttonText;this.options.buttonText=t,this.$elementFilestyle.find("label .buttonText").html(this.options.buttonText)},buttonName:function(t){if(void 0===t)return this.options.buttonName;this.options.buttonName=t,this.$elementFilestyle.find("label").attr({class:"btn "+this.options.buttonName})},iconName:function(t){if(void 0===t)return this.options.iconName;this.$elementFilestyle.find(".icon-span-filestyle").attr({class:"icon-span-filestyle "+this.options.iconName})},htmlIcon:function(){return this.options.icon?'<span class="icon-span-filestyle '+this.options.iconName+'"></span> ':""},htmlInput:function(){return this.options.input?'<input type="text" class="form-control '+("nr"==this.options.size?"":"input-"+this.options.size)+'" placeholder="'+this.options.placeholder+'" disabled> ':""},pushNameFiles:function(){var t="",e=[];void 0===this.$element[0].files?e[0]={name:this.$element[0]&&this.$element[0].value}:e=this.$element[0].files;for(var n=0;n<e.length;n++)t+=e[n].name.split("\\").pop()+", ";return""!==t?this.$elementFilestyle.find(":text").val(t.replace(/\, $/g,"")):this.$elementFilestyle.find(":text").val(""),e},constructor:function(){var t,e,n=this,i=n.$element.attr("id");""!==i&&i||(i="filestyle-"+o,n.$element.attr({id:i}),o++),e='<span class="group-span-filestyle '+(n.options.input?"input-group-btn":"")+'"><label for="'+i+'" class="btn '+n.options.buttonName+" "+("nr"==n.options.size?"":"btn-"+n.options.size)+'" '+(n.options.disabled?'disabled="true"':"")+">"+n.htmlIcon()+'<span class="buttonText">'+n.options.buttonText+"</span></label></span>",t=n.options.buttonBefore?e+n.htmlInput():n.htmlInput()+e,n.$elementFilestyle=s('<div class="bootstrap-filestyle input-group">'+t+"</div>"),n.$elementFilestyle.find(".group-span-filestyle").attr("tabindex","0").keypress(function(t){if(13===t.keyCode||32===t.charCode)return n.$elementFilestyle.find("label").click(),!1}),n.$element.css({position:"absolute",clip:"rect(0px 0px 0px 0px)"}).attr("tabindex","-1").after(n.$elementFilestyle),n.options.disabled&&n.$element.attr("disabled","true"),n.$element.change(function(){var t=n.pushNameFiles();0==n.options.input&&n.options.badge?0==n.$elementFilestyle.find(".badge").length?n.$elementFilestyle.find("label").append(' <span class="badge">'+t.length+"</span>"):0==t.length?n.$elementFilestyle.find(".badge").remove():n.$elementFilestyle.find(".badge").html(t.length):n.$elementFilestyle.find(".badge").remove()}
1),-1<window.navigator.userAgent.search(/firefox/i)&&n.$elementFilestyle.find("label").click(function(){return n.$element.click(),!1})}};var t=s.fn.filestyle;s.fn.filestyle=function(i,o){var r="";this.each(function(){var t,e,n;"file"===s(this).attr("type")&&(e=(t=s(this)).data("filestyle"),n=s.extend({},s.fn.filestyle.defaults,i,"object"==typeof i&&i),e||(t.data("filestyle",e=new a(this,n)),e.constructor()),"string"==typeof i&&(r=e[i](o)))});return r},s.fn.filestyle.defaults={buttonText:"Choose a file",iconName:"glyphicon glyphicon-folder-open",buttonName:"btn-default",size:"nr",input:!0,badge:!0,icon:!0,buttonBefore:!1,disabled:!1,placeholder:""},s.fn.filestyle.noConflict=function(){return s.fn.filestyle=t,this},s(function(){s(".filestyle").each(function(){var t=s(this),e={input:"false"!==t.attr("data-input"),icon:"false"!==t.attr("data-icon"),buttonBefore:"true"===t.attr("data-buttonBefore"),disabled:"true"===t.attr("data-disabled"),size:t.attr("data-size"),buttonText:t.attr("data-buttonText"),buttonName:t.attr("data-buttonName"),iconName:t.attr("data-iconName"),badge:"false"!==t.attr("data-badge"),placeholder:t.attr("data-placeholder")};t.filestyle(e)})})}(window.jQuery)},function(t,e,n){"use strict";var g;(g=jQuery).fn.scrollbox=function(m){return(m=g.extend({linear:!1,startDelay:2,delay:3,step:5,speed:32,switchItems:1,direction:"vertical",distance:"auto",autoPlay:!0,onMouseOverPause:!0,paused:!1,queue:null,listElement:"ul",listItemElement:"li",infiniteLoop:!0,switchAmount:0,afterForward:null,afterBackward:null,triggerStackable:!1},m)).scrollOffset="vertical"===m.direction?"scrollTop":"scrollLeft",m.queue&&(m.queue=g("#"+m.queue)),this.each(function(){var r,s,t,a,e,n,i,o,l,u=g(this),c=null,f=null,d=!1,p=0,h=0;m.onMouseOverPause&&(u.bind("mouseover",function(){d=!0}),u.bind("mouseout",function(){d=!1})),r=u.children(m.listElement+":first-child"),!1===m.infiniteLoop&&0===m.switchAmount&&(m.switchAmount=r.children().length),n=function(){if(!d){var t,e,n=r.children(m.listItemElement+":first-child"),i="auto"!==m.distance?m.distance:"vertical"===m.direction?n.outerHeight(!0):n.outerWidth(!0),o=m.linear?Math.min(u[0][m.scrollOffset]+m.step,i):(e=Math.max(3,parseInt(.3*(i-u[0][m.scrollOffset]),10)),Math.min(u[0][m.scrollOffset]+e,i));if(i<=(u[0][m.scrollOffset]=o)){for(t=0;t<m.switchItems;t++)m.queue&&0<m.queue.find(m.listItemElement).length?(r.append(m.queue.find(m.listItemElement)[0]),r.children(m.listItemElement+":first-child").remove()):r.append(r.children(m.listItemElement+":first-child")),++p;if(u[0][m.scrollOffset]=0,clearInterval(c),c=null,g.isFunction(m.afterForward)&&m.afterForward.call(u,{switchCount:p,currentFirstChild:r.children(m.listItemElement+":first-child")}),m.triggerStackable&&0!==h)return void s();if(!1===m.infiniteLoop&&p>=m.switchAmount)return;m.autoPlay&&(f=setTimeout(a,1e3*m.delay))}}},i=function(){if(!d){var t,e,n,i,o;if(0===u[0][m.scrollOffset]){for(e=0;e<m.switchItems;e++)r.children(m.listItemElement+":last-child").insertBefore(r.children(m.listItemElement+":first-child"));t=r.children(m.listItemElement+":first-child"),i="auto"!==m.distance?m.distance:"vertical"===m.direction?t.height():t.width(),u[0][m.scrollOffset]=i}if(n=m.linear?Math.max(u[0][m.scrollOffset]-m.step,0):(o=Math.max(3,parseInt(.3*u[0][m.scrollOffset],10)),Math.max(u[0][m.scrollOffset]-o,0)),0===(u[0][m.scrollOffset]=n)){if(--p,clearInterval(c),c=null,g.isFunction(m.afterBackward)&&m.afterBackward.call(u,{switchCount:p,currentFirstChild:r.children(m.listItemElement+":first-child")}),m.triggerStackable&&0!==h)return void s();m.autoPlay&&(f=setTimeout(a,1e3*m.delay))}}},s=function(){0!==h&&(f=0<h?(h--,setTimeout(a,0)):(h++,setTimeout(t,0)))},a=function(){clearInterval(c),c=setInterval(n,m.speed)},t=function(){clearInterval(c),c=setInterval(i,m.speed)},o=function(){m.autoPlay=!0,d=!1,clearInterval(c),c=setInterval(n,m.speed)},l=function(){d=!0},e=function(t){m.delay=t||m.delay,clearTimeout(f),m.autoPlay&&(f=setTimeout(a,1e3*m.delay))},m.autoPlay&&(f=setTimeout(a,1e3*m.startDelay)),u.bind("resetClock",function(t){e(t)}),u.bind("forward",function(){m.triggerStackable?null!==c?h++:a():(clearTimeout(f),a())}),u.bind("backward",function(){m.triggerStackable?null!==c?h--:t():(clearTimeout(f),t())}),u.bind("pauseHover",function(){l()}),u.bind("forwardHover",function(){o()}),u.bind("speedUp",function(t,e){"undefined"===e&&(e=Math.max(1,parseInt(m.speed/2,10))),m.speed=e}),u.bind("speedDown",function(t,e){"undefined"===e&&(e=2*m.speed),m.speed=e}),u.bind("updateConfig",function(t,e){m=g.extend(m,e)})})}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}var o=i(n(0)),r=i(n(1));n(4);var s=i(n(3));(0,o.default)(document).ready(function(){r.default.on("clickQuickView",function(t){var e={action:"quickview",id_product:t.dataset.idProduct,id_product_attribute:t.dataset.idProductAttribute};o.default.post(r.default.urls.pages.product,e,null,"json").then(function(t){(0,o.default)("body").append(t.quickview_html);var e=(0,o.default)("#quickview-modal-"+t.product.id+"-"+t.product.id_product_attribute);e.modal("show"),n(e),e.on("hidden.bs.modal",function(){e.remove()})}).fail(function(t){r.default.emit("handleError",{eventType:"clickQuickView",resp:t})})});var n=function(t){var e=(0,o.default)(".js-arrows"),n=t.find(".js-qv-product-images");(0,o.default)(".js-thumb").on("click",function(t){(0,o.default)(".js-thumb").hasClass("selected")&&(0,o.default)(".js-thumb").removeClass("selected"),(0,o.default)(t.currentTarget).addClass("selected"),(0,o.default)(".js-qv-product-cover").attr("src",(0,o.default)(t.target).data("image-large-src"))}),n.find("li").length<=4?e.hide():e.on("click",function(t){(0,o.default)(t.target).hasClass("arrow-up")&&(0,o.default)(".js-qv-product-images").position().top<0?(i("up"),(0,o.default)(".arrow-down").css("opacity","1")):(0,o.default)(t.target).hasClass("arrow-down")&&n.position().top+n.height()>(0,o.default)(".js-qv-mask").height()&&(i("down"),(0,o.default)(".arrow-up").css("opacity","1"))}),t.find("#quantity_wanted").TouchSpin({verticalbuttons:!0,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:1,max:1e6})},i=function(t){var e=(0,o.default)(".js-qv-product-images"),n=(0,o.default)(".js-qv-product-images li img").height()+20,i=e.position().top;e.velocity({translateY:"up"===t?i+n:i-n},function(){0<=e.position().top?(0,o.default)(".arrow-up").css("opacity",".2"):e.position().top+e.height()<=(0,o.default)(".js-qv-mask").height()&&(0,o.default)(".arrow-down").css("opacity",".2")})};(0,o.default)("body").on("click","#search_filter_toggler",function(){(0,o.default)("#search_filters_wrapper").removeClass("hidden-sm-down"),(0,o.default)("#content-wrapper").addClass("hidden-sm-down"),(0,o.default)("#footer").addClass("hidden-sm-down")}),(0,o.default)("#search_filter_controls .clear").on("click",function(){(0,o.default)("#search_filters_wrapper").addClass("hidden-sm-down"),(0,o.default)("#content-wrapper").removeClass("hidden-sm-down"),(0,o.default)("#footer").removeClass("hidden-sm-down")}),(0,o.default)("#search_filter_controls .ok").on("click",function(){(0,o.default)("#search_filters_wrapper").addClass("hidden-sm-down"),(0,o.default)("#content-wrapper").removeClass("hidden-sm-down"),(0,o.default)("#footer").removeClass("hidden-sm-down")});function e(t){if(void 0!==t.target.dataset.searchUrl)return t.target.dataset.searchUrl;if(void 0===(0,o.default)(t.target).parent()[0].dataset.searchUrl)throw new Error("Can not parse search U
1RL");return(0,o.default)(t.target).parent()[0].dataset.searchUrl}(0,o.default)("body").on("change","#search_filters input[data-search-url]",function(t){r.default.emit("updateFacets",e(t))}),(0,o.default)("body").on("click",".js-search-filters-clear-all",function(t){r.default.emit("updateFacets",e(t))}),(0,o.default)("body").on("click",".js-search-link",function(t){t.preventDefault(),r.default.emit("updateFacets",(0,o.default)(t.target).closest("a").get(0).href)}),(0,o.default)("body").on("change","#search_filters select",function(t){var e=(0,o.default)(t.target).closest("form");r.default.emit("updateFacets","?"+e.serialize())}),r.default.on("updateProductList",function(t){var e;e=t,(0,o.default)("#search_filters").replaceWith(e.rendered_facets),(0,o.default)("#js-active-search-filters").replaceWith(e.rendered_active_filters),(0,o.default)("#js-product-list-top").replaceWith(e.rendered_products_top),(0,o.default)("#js-product-list").replaceWith(e.rendered_products),(0,o.default)("#js-product-list-bottom").replaceWith(e.rendered_products_bottom),e.rendered_products_header&&(0,o.default)("#js-product-list-header").replaceWith(e.rendered_products_header),(new s.default).init(),window.scrollTo(0,0)})})},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}var r=i(n(0)),s=i(n(1));(0,r.default)(document).ready(function(){function n(){(0,r.default)(".js-thumb").on("click",function(t){(0,r.default)(".js-modal-product-cover").attr("src",(0,r.default)(t.target).data("image-large-src")),(0,r.default)(".selected").removeClass("selected"),(0,r.default)(t.target).addClass("selected"),(0,r.default)(".js-qv-product-cover").prop("src",(0,r.default)(t.currentTarget).data("image-large-src"))})}function i(){2<(0,r.default)("#main .js-qv-product-images li").length?((0,r.default)("#main .js-qv-mask").addClass("scroll"),(0,r.default)(".scroll-box-arrows").addClass("scroll"),(0,r.default)("#main .js-qv-mask").scrollbox({direction:"h",distance:113,autoPlay:!1}),(0,r.default)(".scroll-box-arrows .left").click(function(){(0,r.default)("#main .js-qv-mask").trigger("backward")}),(0,r.default)(".scroll-box-arrows .right").click(function(){(0,r.default)("#main .js-qv-mask").trigger("forward")})):((0,r.default)("#main .js-qv-mask").removeClass("scroll"),(0,r.default)(".scroll-box-arrows").removeClass("scroll"))}function o(){(0,r.default)(".js-file-input").on("change",function(t){var e,n=void 0;(e=(0,r.default)(t.currentTarget)[0])&&(n=e.files[0])&&(0,r.default)(e).prev().text(n.name)})}var t;(t=(0,r.default)("#quantity_wanted")).TouchSpin({verticalbuttons:!0,verticalupclass:"material-icons touchspin-up",verticaldownclass:"material-icons touchspin-down",buttondown_class:"btn btn-touchspin js-touchspin",buttonup_class:"btn btn-touchspin js-touchspin",min:parseInt(t.attr("min"),10),max:1e6}),(0,r.default)("body").on("change keyup","#quantity_wanted",function(t){(0,r.default)(t.currentTarget).trigger("touchspin.stopspin"),s.default.emit("updateProduct",{eventType:"updatedProductQuantity",event:t})}),o(),n(),i(),s.default.on("updatedProduct",function(t){var e;o(),n(),t&&t.product_minimal_quantity&&(e=parseInt(t.product_minimal_quantity,10),(0,r.default)("#quantity_wanted").trigger("touchspin.updatesettings",{min:e})),i(),(0,r.default)((0,r.default)(".tabs .nav-link.active").attr("href")).addClass("active").removeClass("fade"),(0,r.default)(".js-product-images-modal").replaceWith(t.product_images_modal)})})},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function o(t,e){var n=e.children().detach();e.empty().append(t.children().detach()),t.append(n)}function r(){a.default.responsive.mobile?(0,s.default)("*[id^='_desktop_']").each(function(t,e){var n=(0,s.default)("#"+e.id.replace("_desktop_","_mobile_"));n.length&&o((0,s.default)(e),n)}):(0,s.default)("*[id^='_mobile_']").each(function(t,e){var n=(0,s.default)("#"+e.id.replace("_mobile_","_desktop_"));n.length&&o((0,s.default)(e),n)}),a.default.emit("responsive update",{mobile:a.default.responsive.mobile})}var s=i(n(0)),a=i(n(1));a.default.responsive=a.default.responsive||{},a.default.responsive.current_width=window.innerWidth,a.default.responsive.min_width=768,a.default.responsive.mobile=a.default.responsive.current_width<a.default.responsive.min_width,(0,s.default)(window).on("resize",function(){var t=a.default.responsive.current_width,e=a.default.responsive.min_width,n=window.innerWidth,i=e<=t&&n<e||t<e&&e<=n;a.default.responsive.current_width=n,a.default.responsive.mobile=a.default.responsive.current_width<a.default.responsive.min_width,i&&r()}),(0,s.default)(document).ready(function(){a.default.responsive.mobile&&r()})},function(t,e,n){"use strict";function E(t,e){return T.map(t,function(t){return t+".touchspin_"+e})}var T,A;T=jQuery,A=0,T.fn.TouchSpin=function(w){if("destroy"!==w){var S={min:0,max:100,initval:"",replacementval:"",step:1,decimals:0,stepinterval:100,forcestepdivisibility:"round",stepintervaldelay:500,verticalbuttons:!1,verticalupclass:"glyphicon glyphicon-chevron-up",verticaldownclass:"glyphicon glyphicon-chevron-down",prefix:"",postfix:"",prefix_extraclass:"",postfix_extraclass:"",booster:!0,boostat:10,maxboostedstep:!1,mousewheel:!0,buttondown_class:"btn btn-default",buttonup_class:"btn btn-default",buttondown_txt:"-",buttonup_txt:"+"},C={min:"min",max:"max",initval:"init-val",replacementval:"replacement-val",step:"step",decimals:"decimals",stepinterval:"step-interval",verticalbuttons:"vertical-buttons",verticalupclass:"vertical-up-class",verticaldownclass:"vertical-down-class",forcestepdivisibility:"force-step-divisibility",stepintervaldelay:"step-interval-delay",prefix:"prefix",postfix:"postfix",prefix_extraclass:"prefix-extra-class",postfix_extraclass:"postfix-extra-class",booster:"booster",boostat:"boostat",maxboostedstep:"max-boosted-step",mousewheel:"mouse-wheel",buttondown_class:"button-down-class",buttonup_class:"button-up-class",buttondown_txt:"button-down-txt",buttonup_txt:"button-up-txt"};return this.each(function(){function n(t){var e;e=t,c=T.extend({},c,e),i();var n=d.input.val();""!==n&&(n=Number(d.input.val()),d.input.val(n.toFixed(c.decimals)))}function t(){var i;c=T.extend({},S,b,(i={},T.each(C,function(t,e){var n="bts-"+e;v.is("[data-"+n+"]")&&(i[t]=v.data(n))}),i),w)}function e(){var t,e=v.val(),n=v.parent();""!==e&&(e=Number(e).toFixed(c.decimals)),v.data("initvalue",e).val(e),v.addClass("form-control"),n.hasClass("input-group")?function(t){t.addClass("bootstrap-touchspin");var e,n,i=v.prev(),o=v.next(),r='<span class="input-group-addon bootstrap-touchspin-prefix">'+c.prefix+"</span>
1",s='<span class="input-group-addon bootstrap-touchspin-postfix">'+c.postfix+"</span>";i.hasClass("input-group-btn")?(e='<button class="'+c.buttondown_class+' bootstrap-touchspin-down" type="button">'+c.buttondown_txt+"</button>",i.append(e)):(e='<span class="input-group-btn"><button class="'+c.buttondown_class+' bootstrap-touchspin-down" type="button">'+c.buttondown_txt+"</button></span>",T(e).insertBefore(v)),o.hasClass("input-group-btn")?(n='<button class="'+c.buttonup_class+' bootstrap-touchspin-up" type="button">'+c.buttonup_txt+"</button>",o.prepend(n)):(n='<span class="input-group-btn"><button class="'+c.buttonup_class+' bootstrap-touchspin-up" type="button">'+c.buttonup_txt+"</button></span>",T(n).insertAfter(v)),T(r).insertBefore(v),T(s).insertAfter(v),f=t}(n):(t=c.verticalbuttons?'<div class="input-group bootstrap-touchspin"><span class="input-group-addon bootstrap-touchspin-prefix">'+c.prefix+'</span><span class="input-group-addon bootstrap-touchspin-postfix">'+c.postfix+'</span><span class="input-group-btn-vertical"><button class="'+c.buttondown_class+' bootstrap-touchspin-up" type="button"><i class="'+c.verticalupclass+'"></i></button><button class="'+c.buttonup_class+' bootstrap-touchspin-down" type="button"><i class="'+c.verticaldownclass+'"></i></button></span></div>':'<div class="input-group bootstrap-touchspin"><span class="input-group-btn"><button class="'+c.buttondown_class+' bootstrap-touchspin-down" type="button">'+c.buttondown_txt+'</button></span><span class="input-group-addon bootstrap-touchspin-prefix">'+c.prefix+'</span><span class="input-group-addon bootstrap-touchspin-postfix">'+c.postfix+'</span><span class="input-group-btn"><button class="'+c.buttonup_class+' bootstrap-touchspin-up" type="button">'+c.buttonup_txt+"</button></span></div>",f=T(t).insertBefore(v),T(".bootstrap-touchspin-prefix",f).after(v),v.hasClass("input-sm")?f.addClass("input-group-sm"):v.hasClass("input-lg")&&f.addClass("input-group-lg"))}function i(){var t,e,n;if(""===(t=v.val()))return""!==c.replacementval&&(v.val(c.replacementval),v.trigger("change")),0;0<c.decimals&&"."===t||(e=parseFloat(t),isNaN(e)&&(e=""!==c.replacementval?c.replacementval:0),(n=e).toString()!==t&&(n=e),e<c.min&&(n=c.min),e>c.max&&(n=c.max),n=function(t){switch(c.forcestepdivisibility){case"round":return(Math.round(t/c.step)*c.step).toFixed(c.decimals);case"floor":return(Math.floor(t/c.step)*c.step).toFixed(c.decimals);case"ceil":return(Math.ceil(t/c.step)*c.step).toFixed(c.decimals);default:return t}}(n),Number(t).toString()!==n.toString()&&(v.val(n),v.trigger("change")))}function o(){if(c.booster){var t=Math.pow(2,Math.floor(_/c.boostat))*c.step;return c.maxboostedstep&&t>c.maxboostedstep&&(t=c.maxboostedstep,p=Math.round(p/t)*t),Math.max(c.step,t)}return c.step}function r(){i(),p=parseFloat(d.input.val()),isNaN(p)&&(p=0);var t=p,e=o();(p+=e)>c.max&&(p=c.max,v.trigger("touchspin.on.max"),u()),d.input.val(Number(p).toFixed(c.decimals)),t!==p&&v.trigger("change")}function s(){i(),p=parseFloat(d.input.val()),isNaN(p)&&(p=0);var t=p,e=o();(p-=e)<c.min&&(p=c.min,v.trigger("touchspin.on.min"),u()),d.input.val(p.toFixed(c.decimals)),t!==p&&v.trigger("change")}function a(){u(),_=0,x="down",v.trigger("touchspin.on.startspin"),v.trigger("touchspin.on.startdownspin"),g=setTimeout(function(){h=setInterval(function(){_++,s()},c.stepinterval)},c.stepintervaldelay)}function l(){u(),_=0,x="up",v.trigger("touchspin.on.startspin"),v.trigger("touchspin.on.startupspin"),y=setTimeout(function(){m=setInterval(function(){_++,r()},c.stepinterval)},c.stepintervaldelay)}function u(){switch(clearTimeout(g),clearTimeout(y),clearInterval(h),clearInterval(m),x){case"up":v.trigger("touchspin.on.stopupspin"),v.trigger("touchspin.on.stopspin");break;case"down":v.trigger("touchspin.on.stopdownspin"),v.trigger("touchspin.on.stopspin")}_=0,x=!1}var c,f,d,p,h,m,g,y,v=T(this),b=v.data(),_=0,x=!1;v.data("alreadyinitialized")||(v.data("alreadyinitialized",!0),A+=1,v.data("spinnerid",A),v.is("input")&&(t(),""!==c.initval&&""===v.val()&&v.val(c.initval),i(),e(),d={down:T(".bootstrap-touchspin-down",f),up:T(".bootstrap-touchspin-up",f),input:T("input",f),prefix:T(".bootstrap-touchspin-prefix",f).addClass(c.prefix_extraclass),postfix:T(".bootstrap-touchspin-postfix",f).addClass(c.postfix_extraclass)},""===c.prefix&&d.prefix.hide(),""===c.postfix&&d.postfix.hide(),v.on("key
1down",function(t){var e=t.keyCode||t.which;38===e?("up"!==x&&(r(),l()),t.preventDefault()):40===e&&("down"!==x&&(s(),a()),t.preventDefault())}),v.on("keyup",function(t){var e=t.keyCode||t.which;38!==e&&40!==e||u()}),v.on("blur",function(){i()}),d.down.on("keydown",function(t){var e=t.keyCode||t.which;32!==e&&13!==e||("down"!==x&&(s(),a()),t.preventDefault())}),d.down.on("keyup",function(t){var e=t.keyCode||t.which;32!==e&&13!==e||u()}),d.up.on("keydown",function(t){var e=t.keyCode||t.which;32!==e&&13!==e||("up"!==x&&(r(),l()),t.preventDefault())}),d.up.on("keyup",function(t){var e=t.keyCode||t.which;32!==e&&13!==e||u()}),d.down.on("mousedown.touchspin",function(t){d.down.off("touchstart.touchspin"),v.is(":disabled")||(s(),a(),t.preventDefault(),t.stopPropagation())}),d.down.on("touchstart.touchspin",function(t){d.down.off("mousedown.touchspin"),v.is(":disabled")||(s(),a(),t.preventDefault(),t.stopPropagation())}),d.up.on("mousedown.touchspin",function(t){d.up.off("touchstart.touchspin"),v.is(":disabled")||(r(),l(),t.preventDefault(),t.stopPropagation())}),d.up.on("touchstart.touchspin",function(t){d.up.off("mousedown.touchspin"),v.is(":disabled")||(r(),l(),t.preventDefault(),t.stopPropagation())}),d.up.on("mouseout touchleave touchend touchcancel",function(t){x&&(t.stopPropagation(),u())}),d.down.on("mouseout touchleave touchend touchcancel",function(t){x&&(t.stopPropagation(),u())}),d.down.on("mousemove touchmove",function(t){x&&(t.stopPropagation(),t.preventDefault())}),d.up.on("mousemove touchmove",function(t){x&&(t.stopPropagation(),t.preventDefault())}),T(document).on(E(["mouseup","touchend","touchcancel"],A).join(" "),function(t){x&&(t.preventDefault(),u())}),T(document).on(E(["mousemove","touchmove","scroll","scrollstart"],A).join(" "),function(t){x&&(t.preventDefault(),u())}),v.on("mousewheel DOMMouseScroll",function(t){var e;c.mousewheel&&v.is(":focus")&&(e=t.originalEvent.wheelDelta||-t.originalEvent.deltaY||-t.originalEvent.detail,t.stopPropagation(),t.preventDefault(),(e<0?s:r)())}),v.on("touchspin.uponce",function(){u(),r()}),v.on("touchspin.downonce",function(){u(),s()}),v.on("touchspin.startupspin",function(){l()}),v.on("touchspin.startdownspin",function(){a()}),v.on("touchspin.stopspin",function(){u()}),v.on("touchspin.updatesettings",function(t,e){n(e)}),d.input.css("display","block")))})}this.each(function(){var t=T(this).data();T(document).off(E(["mouseup","touchend","touchcancel","mousemove","touchmove","scroll","scrollstart"],t.spinnerid).join(" "))})}},function(t,e,n){"use strict";if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t){_(this,i),this._element=t}function o(t,e){_(this,o),this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+q.NAV_LINKS+","+this._config.target+" "+q.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,N(this._scrollElement).on(H.SCROLL,N.proxy(this._process,this)),this.refresh(),this._process()}function r(t,e){_(this,r),this._config=this._getConfig(e),this._element=t,this._dialog=Q(t).find(st.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}function a(t){_(this,a),this._element=t,this._addEventListeners()}function l(t,e){_(this,l),this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=Tt.makeArray(Tt('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]')),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}function s(t,e){_(this,s),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this._config=this._getConfig(e),this._element=qt(t)[0],this._indicatorsElement=qt(this._element).find(re.INDICATORS)[0],this._addEventListeners()}function u(t){_(this,u),this._element=t}function c(t){_(this,c),this._element=t}function f(t){var e=this,n=!1;return Ne(this).one(Fe.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||Fe.triggerTransitionEnd(e)},t),this}function d(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function p(){return _(this,p),function(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}(this,Ve.apply(this,arguments))}var h,m,g,y,v,b,x,w,S,C,E,T,A,k,O,I,P,D,N,j,B,F,L,V,M,H,W,R,q,z,$,U,Q,Y,K,X,G,Z,J,tt,et,nt,it,ot,rt,st,at,lt,ut,ct,ft,dt,pt,ht,mt,gt,yt,vt,bt,_t,xt,wt,St,Ct,Et,Tt,At,kt,Ot,It,Pt,Dt,Nt,jt,Bt,Ft,Lt,Vt,Mt,Ht,Wt,Rt,qt,zt,$t,Ut,Qt,Yt,Kt,Xt,Gt,Zt,Jt,te,ee,ne,ie,oe,re,se,ae,le,ue,ce,fe,de,pe,he,me,ge,ye,ve,be,_e,xe,we,Se,Ce,Ee,Te,Ae,ke,Oe,Ie,Pe,De,Ne,je,Be,Fe,Le,Ve,Me,He,We,Re,qe,ze,$e,Ue,Qe,Ye,Ke,Xe,Ge,Ze,Je,tn;!function(){var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),Ge="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},Ne=jQuery,je=!(Ze=function(t,e,n){return e&&d(t.prototype,e),n&&d(t,n),t}),Be={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},Fe={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");return e||(e=t.getAttribute("href")||"",e=/^#[a-z]/i.test(e)?e:null),e},reflow:function(t){new Function("bs","return bs")(t.offsetHeight)},triggerTransitionEnd:function(t){Ne(t).trigger(je.end)},supportsTransitionEnd:function(){return Boolean(je)},typeCheckConfig:function(t,e,n){for(var i in n)if(n.hasOwnProperty(i)){var o=n[i],r=e[i],s=r&&((l=r)[0]||l).nodeType?"element":(a=r,{}.toString.call(a).match(/\s([a-zA-Z]+)/)[1].toLowerCase());if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var a,l}},je=function(){if(window.QUnit)return!1;var t=document.createElement("bootstrap");for(var e in Be)if(void 0!==t.style[e])return{end:Be[e]};return!1}(),Ne.fn.emulateTransitionEnd=f,Fe.supportsTransitionEnd()&&(Ne.event.special[Fe.TRANSITION_END]={bindType:je.end,delegateType:je.end,handle:function(t){if(Ne(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),Je=Fe,Te="."+(Ee="bs.alert"),Ae=(Se=jQuery).fn[Ce="alert"],ke={CLOSE:"close"+Te,CLOSED:"closed"+Te,CLICK_DATA_API:"click"+Te+".data-api"},Oe="alert",Ie="fade",Pe="in",c.prototype.close=function(t){t=t||this._element;var e=this._getRootElement(t);this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},c.prototype.dispose=function(){Se.removeData(this._element,Ee),this._element=null},c.prototype._getRootElement=function(t){var e=Je.getSelectorFromElement(t),n=!1;return e&&(n=Se(e)[0]),n=n||Se(t).closest("."+Oe)[0]},c.prototype._triggerCloseEvent=function(t){var e=Se.Event(ke.CLOSE);return Se(t).trigger(e),e},c.prototype._removeElement=function(t){return Se(t).removeClass(Pe),Je.supportsTransitionEnd()&&Se(t).hasClass(Ie)?void Se(t).one(Je.TRANSITION_END,Se.proxy(this._destroyElement,this,t)).emulateTransitionEnd(150):void this._destroyElement(t)},c.prototype._destroyElement=function(t){Se(t).detach().trigger(ke.CLOSED).remove()},c._jQueryInterface=function(n){return this.each(function(){var t=Se(this),e=t.data(Ee);e||(e=new c(this),t.data(Ee,e)),"close"===n&&e[n](this)})},c._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},Ze(c,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),De=c,Se(document).on(ke.CLICK_DATA_API,'[data-dismiss="alert"]',De._handleDismiss(new De)),Se.fn[Ce]=De._jQueryInterface,Se.fn[Ce].Constructor=De,Se.fn[Ce].noConflict=function(){return Se.fn[Ce]=Ae,De._jQueryInterface},ce="."+(ue="bs.button"),fe=".data-api",de=(ae=jQuery).fn[le="button"],pe="active",he="btn",ge='[data-toggle^="button"]',ye='[data-toggle="buttons"]',ve="input",be=".active",_e=".btn",xe={CLICK_DATA_API:"click"+ce+fe,FOCUS_BLUR_DATA_API:(me="focus")+ce+fe+" blur"+ce+fe},u.prototype.toggle=function(){var t,e,n=!0,i=ae(this._element).closest(ye)[0];i?(t=ae(this._element).find(ve)[0])&&("radio"===t.type&&(t.checked&&ae(this._element).hasClass(pe)?n=!1:(e=ae(i).find(be)[0])&&ae(e).removeClass(pe)),n&&(t.checked=!ae(this._element).hasClass(pe),ae(this._element).trigger("change")),t.focus()):this._element.setAttribute("aria-pressed",!ae(this._element).hasClass(pe)),n&&ae(this._element).toggleClass(pe)},u.prototype.dispose=function(){ae.removeData(this._element,ue),this._element=null},u._jQueryInterface=function(e){return this.each(function(){var t=ae(this).data(ue);t||(t=new u(this),ae(this).data(ue,t)),"toggle"===e&&t[e]()})},Ze(u,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),we=u,ae(document).on(xe.CLICK_DATA_API,ge,function(t){t.preventDefault();var e=t.target;ae(e).hasClass(he)||(e=ae(e).closest(_e)),we._jQueryInterface.call(ae(e),"toggle")}).on(xe.FOCUS_BLUR_DATA_API,ge,function(t){var e=ae(t.target).closest(_e)[0];ae(e).toggleClass(me,/^focus(in)?$/.test(t.type))}),ae.fn[le]=we._jQueryInterface,ae.fn[le].Constructor=we,ae.fn[le].noConflict=function(){return ae.fn[le]=de,we._jQueryInterface},Ut="."+($t="bs.carousel"),Qt=".data-api",Yt=(qt=jQuery).fn[zt="carousel"],Kt={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},Xt={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},Gt="next",Zt="prev",Jt={SLIDE:"slide"+Ut,SLID:"slid"+Ut,KEYDOWN:"keydown"+Ut,MOUSEENTER:"mouseenter"+Ut,MOUSELEAVE:"mouseleave"+Ut,LOAD_DATA_API:"load"+Ut+Qt,CLICK_DATA_API:"click"+Ut+Qt},te="carousel",ee="active",ne="slide",ie="right",oe="left",re={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".next, .prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-sli
1de], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},s.prototype.next=function(){this._isSliding||this._slide(Gt)},s.prototype.nextWhenVisible=function(){document.hidden||this.next()},s.prototype.prev=function(){this._isSliding||this._slide(Zt)},s.prototype.pause=function(t){t||(this._isPaused=!0),qt(this._element).find(re.NEXT_PREV)[0]&&Je.supportsTransitionEnd()&&(Je.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},s.prototype.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval(qt.proxy(document.visibilityState?this.nextWhenVisible:this.next,this),this._config.interval))},s.prototype.to=function(t){var e=this;this._activeElement=qt(this._element).find(re.ACTIVE_ITEM)[0];var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0)){if(this._isSliding)return void qt(this._element).one(Jt.SLID,function(){return e.to(t)});if(n===t)return this.pause(),void this.cycle();var i=n<t?Gt:Zt;this._slide(i,this._items[t])}},s.prototype.dispose=function(){qt(this._element).off(Ut),qt.removeData(this._element,$t),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},s.prototype._getConfig=function(t){return t=qt.extend({},Kt,t),Je.typeCheckConfig(zt,t,Xt),t},s.prototype._addEventListeners=function(){this._config.keyboard&&qt(this._element).on(Jt.KEYDOWN,qt.proxy(this._keydown,this)),"hover"!==this._config.pause||"ontouchstart"in document.documentElement||qt(this._element).on(Jt.MOUSEENTER,qt.proxy(this.pause,this)).on(Jt.MOUSELEAVE,qt.proxy(this.cycle,this))},s.prototype._keydown=function(t){if(t.preventDefault(),!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}},s.prototype._getItemIndex=function(t){return this._items=qt.makeArray(qt(t).parent().find(re.ITEM)),this._items.indexOf(t)},s.prototype._getItemByDirection=function(t,e){var n=t===Gt,i=t===Zt,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+(t===Zt?-1:1))%this._items.length;return-1==s?this._items[this._items.length-1]:this._items[s]},s.prototype._triggerSlideEvent=function(t,e){var n=qt.Event(Jt.SLIDE,{relatedTarget:t,direction:e});return qt(this._element).trigger(n),n},s.prototype._setActiveIndicatorElement=function(t){var e;this._indicatorsElement&&(qt(this._indicatorsElement).find(re.ACTIVE).removeClass(ee),(e=this._indicatorsElement.children[this._getItemIndex(t)])&&qt(e).addClass(ee))},s.prototype._slide=function(t,e){var n,i=this,o=qt(this._element).find(re.ACTIVE_ITEM)[0],r=e||o&&this._getItemByDirection(t,o),s=Boolean(this._interval),a=t===Gt?oe:ie;r&&qt(r).hasClass(ee)?this._isSliding=!1:!this._triggerSlideEvent(r,a).isDefaultPrevented()&&o&&r&&(this._isSliding=!0,s&&this.pause(),this._setActiveIndicatorElement(r),n=qt.Event(Jt.SLID,{relatedTarget:r,direction:a}),Je.supportsTransitionEnd()&&qt(this._element).hasClass(ne)?(qt(r).addClass(t),Je.reflow(r),qt(o).addClass(a),qt(r).addClass(a),qt(o).one(Je.TRANSITION_END,function(){qt(r).removeClass(a).removeClass(t),qt(r).addClass(ee),qt(o).removeClass(ee).removeClass(t).removeClass(a),i._isSliding=!1,setTimeout(function(){return qt(i._element).trigger(n)},0)}).emulateTransitionEnd(600)):(qt(o).removeClass(ee),qt(r).addClass(ee),this._isSliding=!1,qt(this._element).trigger(n)),s&&this.cycle())},s._jQueryInterface=function(i){return this.each(function(){var t=qt(this).data($t),e=qt.extend({},Kt,qt(this).data());"object"===(void 0===i?"undefined":Ge(i))&&qt.extend(e,i);var n="string"==typeof i?i:e.slide;if(t||(t=new s(this,e),qt(this).data($t,t)),"number"==typeof i)t.to(i);else if("string"==typeof n){if(void 0===t[n])throw new Error('No method named "'+n+'"');t[n]()}else e.interval&&(t.pause(),t.cycle())})},s._dataApiClickHandler=function(t){var e,n,i,o=Je.getSelectorFromElement(this);!o||(e=qt(o)[0])&&qt(e).hasClass(te)&&(n=qt.extend({}
1,qt(e).data(),qt(this).data()),(i=this.getAttribute("data-slide-to"))&&(n.interval=!1),s._jQueryInterface.call(qt(e),n),i&&qt(e).data($t).to(i),t.preventDefault())},Ze(s,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return Kt}}]),se=s,qt(document).on(Jt.CLICK_DATA_API,re.DATA_SLIDE,se._dataApiClickHandler),qt(window).on(Jt.LOAD_DATA_API,function(){qt(re.DATA_RIDE).each(function(){var t=qt(this);se._jQueryInterface.call(t,t.data())})}),qt.fn[zt]=se._jQueryInterface,qt.fn[zt].Constructor=se,qt.fn[zt].noConflict=function(){return qt.fn[zt]=Yt,se._jQueryInterface},Ot="."+(kt="bs.collapse"),It=(Tt=jQuery).fn[At="collapse"],Pt={toggle:!0,parent:""},Dt={toggle:"boolean",parent:"string"},Nt={SHOW:"show"+Ot,SHOWN:"shown"+Ot,HIDE:"hide"+Ot,HIDDEN:"hidden"+Ot,CLICK_DATA_API:"click"+Ot+".data-api"},jt="in",Bt="collapse",Ft="collapsing",Lt="collapsed",Vt="width",Mt="height",Ht=".card > .in, .card > .collapsing",Wt='[data-toggle="collapse"]',l.prototype.toggle=function(){Tt(this._element).hasClass(jt)?this.hide():this.show()},l.prototype.show=function(){var t=this;if(!this._isTransitioning&&!Tt(this._element).hasClass(jt)){var e=void 0,n=void 0;if(this._parent&&((e=Tt.makeArray(Tt(Ht))).length||(e=null)),!(e&&(n=Tt(e).data(kt))&&n._isTransitioning)){var i=Tt.Event(Nt.SHOW);if(Tt(this._element).trigger(i),!i.isDefaultPrevented()){e&&(l._jQueryInterface.call(Tt(e),"hide"),n||Tt(e).data(kt,null));var o=this._getDimension();Tt(this._element).removeClass(Bt).addClass(Ft),this._element.style[o]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&Tt(this._triggerArray).removeClass(Lt).attr("aria-expanded",!0),this.setTransitioning(!0);var r=function(){Tt(t._element).removeClass(Ft).addClass(Bt).addClass(jt),t._element.style[o]="",t.setTransitioning(!1),Tt(t._element).trigger(Nt.SHOWN)};if(!Je.supportsTransitionEnd())return void r();var s="scroll"+(o[0].toUpperCase()+o.slice(1));Tt(this._element).one(Je.TRANSITION_END,r).emulateTransitionEnd(600),this._element.style[o]=this._element[s]+"px"}}}},l.prototype.hide=function(){var t=this;if(!this._isTransitioning&&Tt(this._element).hasClass(jt)){var e=Tt.Event(Nt.HIDE);if(Tt(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension(),i=n===Vt?"offsetWidth":"offsetHeight";this._element.style[n]=this._element[i]+"px",Je.reflow(this._element),Tt(this._element).addClass(Ft).removeClass(Bt).removeClass(jt),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&Tt(this._triggerArray).addClass(Lt).attr("aria-expanded",!1),this.setTransitioning(!0);var o=function(){t.setTransitioning(!1),Tt(t._element).removeClass(Ft).addClass(Bt).trigger(Nt.HIDDEN)};return this._element.style[n]="",Je.supportsTransitionEnd()?void Tt(this._element).one(Je.TRANSITION_END,o).emulateTransitionEnd(600):void o()}}},l.prototype.setTransitioning=function(t){this._isTransitioning=t},l.prototype.dispose=function(){Tt.removeData(this._element,kt),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},l.prototype._getConfig=function(t){return(t=Tt.extend({},Pt,t)).toggle=Boolean(t.toggle),Je.typeCheckConfig(At,t,Dt),t},l.prototype._getDimension=function(){return Tt(this._element).hasClass(Vt)?Vt:Mt},l.prototype._getParent=function(){var n=this,t=Tt(this._config.parent)[0],e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return Tt(t).find(e).each(function(t,e){n._addAriaAndCollapsedClass(l._getTargetFromElement(e),[e])}),t},l.prototype._addAriaAndCollapsedClass=function(t,e){var n;t&&(n=Tt(t).hasClass(jt),t.setAttribute("aria-expanded",n),e.length&&Tt(e).toggleClass(Lt,!n).attr("aria-expanded",n))},l._getTargetFromElement=function(t){var e=Je.getSelectorFromElement(t);return e?Tt(e)[0]:null},l._jQueryInterface=function(i){return this.each(function(){var t=Tt(this),e=t.data(kt),n=Tt.extend({},Pt,t.data(),"object"===(void 0===i?"undefined":Ge(i))&&i);if(!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||(e=new l(this,n),t.data(kt,e)),"string"==typeof i){if(void 0===e[i])throw new Error('No method n
1amed "'+i+'"');e[i]()}})},Ze(l,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return Pt}}]),Rt=l,Tt(document).on(Nt.CLICK_DATA_API,Wt,function(t){t.preventDefault();var e=Rt._getTargetFromElement(this),n=Tt(e).data(kt)?"toggle":Tt(this).data();Rt._jQueryInterface.call(Tt(e),n)}),Tt.fn[At]=Rt._jQueryInterface,Tt.fn[At].Constructor=Rt,Tt.fn[At].noConflict=function(){return Tt.fn[At]=It,Rt._jQueryInterface},ft="."+(ct="bs.dropdown"),dt=".data-api",pt=(lt=jQuery).fn[ut="dropdown"],ht={HIDE:"hide"+ft,HIDDEN:"hidden"+ft,SHOW:"show"+ft,SHOWN:"shown"+ft,CLICK:"click"+ft,CLICK_DATA_API:"click"+ft+dt,KEYDOWN_DATA_API:"keydown"+ft+dt},mt="dropdown-backdrop",gt="disabled",yt="open",vt=".dropdown-backdrop",bt='[data-toggle="dropdown"]',_t=".dropdown form",xt='[role="menu"]',wt='[role="listbox"]',St=".navbar-nav",Ct='[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a',a.prototype.toggle=function(){if(this.disabled||lt(this).hasClass(gt))return!1;var t,e=a._getParentFromElement(this),n=lt(e).hasClass(yt);if(a._clearMenus(),n)return!1;"ontouchstart"in document.documentElement&&!lt(e).closest(St).length&&((t=document.createElement("div")).className=mt,lt(t).insertBefore(this),lt(t).on("click",a._clearMenus));var i={relatedTarget:this},o=lt.Event(ht.SHOW,i);return lt(e).trigger(o),!o.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded","true"),lt(e).toggleClass(yt),lt(e).trigger(lt.Event(ht.SHOWN,i)),!1)},a.prototype.dispose=function(){lt.removeData(this._element,ct),lt(this._element).off(ft),this._element=null},a.prototype._addEventListeners=function(){lt(this._element).on(ht.CLICK,this.toggle)},a._jQueryInterface=function(e){return this.each(function(){var t=lt(this).data(ct);if(t||lt(this).data(ct,t=new a(this)),"string"==typeof e){if(void 0===t[e])throw new Error('No method named "'+e+'"');t[e].call(this)}})},a._clearMenus=function(t){if(!t||3!==t.which){var e=lt(vt)[0];e&&e.parentNode.removeChild(e);for(var n=lt.makeArray(lt(bt)),i=0;i<n.length;i++){var o,r=a._getParentFromElement(n[i]),s={relatedTarget:n[i]};!lt(r).hasClass(yt)||t&&"click"===t.type&&/input|textarea/i.test(t.target.tagName)&<.contains(r,t.target)||(o=lt.Event(ht.HIDE,s),lt(r).trigger(o),o.isDefaultPrevented()||(n[i].setAttribute("aria-expanded","false"),lt(r).removeClass(yt).trigger(lt.Event(ht.HIDDEN,s))))}}},a._getParentFromElement=function(t){var e=void 0,n=Je.getSelectorFromElement(t);return n&&(e=lt(n)[0]),e||t.parentNode},a._dataApiKeydownHandler=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!lt(this).hasClass(gt))){var e,n=a._getParentFromElement(this),i=lt(n).hasClass(yt);if(!i&&27!==t.which||i&&27===t.which)return 27===t.which&&(e=lt(n).find(bt)[0],lt(e).trigger("focus")),void lt(this).trigger("click");var o,r=lt.makeArray(lt(Ct));(r=r.filter(function(t){return t.offsetWidth||t.offsetHeight})).length&&(o=r.indexOf(t.target),38===t.which&&0<o&&o--,40===t.which&&o<r.length-1&&o++,o<0&&(o=0),r[o].focus())}},Ze(a,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),Et=a,lt(document).on(ht.KEYDOWN_DATA_API,bt,Et._dataApiKeydownHandler).on(ht.KEYDOWN_DATA_API,xt,Et._dataApiKeydownHandler).on(ht.KEYDOWN_DATA_API,wt,Et._dataApiKeydownHandler).on(ht.CLICK_DATA_API,Et._clearMenus).on(ht.CLICK_DATA_API,bt,Et.prototype.toggle).on(ht.CLICK_DATA_API,_t,function(t){t.stopPropagation()}),lt.fn[ut]=Et._jQueryInterface,lt.fn[ut].Constructor=Et,lt.fn[ut].noConflict=function(){return lt.fn[ut]=pt,Et._jQueryInterface},X="."+(K="bs.modal"),G=(Q=jQuery).fn[Y="modal"],Z={backdrop:!0,keyboard:!0,focus:!0,show:!0},J={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},tt={HIDE:"hide"+X,HIDDEN:"hidden"+X,SHOW:"show"+X,SHOWN:"shown"+X,FOCUSIN:"focusin"+X,RESIZE:"resize"+X,CLICK_DISMISS:"click.dismiss"+X,KEYDOWN_DISMISS:"keydown.dismiss"+X,MOUSEUP_DISMISS:"mouseup.dismiss"+X,MOUSEDOWN_DISMISS:"mousedown.dismiss"+X,CLICK_DATA_API:"click"+X+".data-api"},et="modal-scrollbar-measure",nt="modal-backdrop",it="modal-open",ot="fade",rt
1="in",st={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".navbar-fixed-top, .navbar-fixed-bottom, .is-fixed"},r.prototype.toggle=function(t){return this._isShown?this.hide():this.show(t)},r.prototype.show=function(t){var e=this,n=Q.Event(tt.SHOW,{relatedTarget:t});Q(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),Q(document.body).addClass(it),this._setEscapeEvent(),this._setResizeEvent(),Q(this._element).on(tt.CLICK_DISMISS,st.DATA_DISMISS,Q.proxy(this.hide,this)),Q(this._dialog).on(tt.MOUSEDOWN_DISMISS,function(){Q(e._element).one(tt.MOUSEUP_DISMISS,function(t){Q(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(Q.proxy(this._showElement,this,t)))},r.prototype.hide=function(t){t&&t.preventDefault();var e=Q.Event(tt.HIDE);Q(this._element).trigger(e),this._isShown&&!e.isDefaultPrevented()&&(this._isShown=!1,this._setEscapeEvent(),this._setResizeEvent(),Q(document).off(tt.FOCUSIN),Q(this._element).removeClass(rt),Q(this._element).off(tt.CLICK_DISMISS),Q(this._dialog).off(tt.MOUSEDOWN_DISMISS),Je.supportsTransitionEnd()&&Q(this._element).hasClass(ot)?Q(this._element).one(Je.TRANSITION_END,Q.proxy(this._hideModal,this)).emulateTransitionEnd(300):this._hideModal())},r.prototype.dispose=function(){Q.removeData(this._element,K),Q(window).off(X),Q(document).off(X),Q(this._element).off(X),Q(this._backdrop).off(X),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._originalBodyPadding=null,this._scrollbarWidth=null},r.prototype._getConfig=function(t){return t=Q.extend({},Z,t),Je.typeCheckConfig(Y,t,J),t},r.prototype._showElement=function(t){var e=this,n=Je.supportsTransitionEnd()&&Q(this._element).hasClass(ot);function i(){e._config.focus&&e._element.focus(),Q(e._element).trigger(o)}this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,n&&Je.reflow(this._element),Q(this._element).addClass(rt),this._config.focus&&this._enforceFocus();var o=Q.Event(tt.SHOWN,{relatedTarget:t});n?Q(this._dialog).one(Je.TRANSITION_END,i).emulateTransitionEnd(300):i()},r.prototype._enforceFocus=function(){var e=this;Q(document).off(tt.FOCUSIN).on(tt.FOCUSIN,function(t){document===t.target||e._element===t.target||Q(e._element).has(t.target).length||e._element.focus()})},r.prototype._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?Q(this._element).on(tt.KEYDOWN_DISMISS,function(t){27===t.which&&e.hide()}):this._isShown||Q(this._element).off(tt.KEYDOWN_DISMISS)},r.prototype._setResizeEvent=function(){this._isShown?Q(window).on(tt.RESIZE,Q.proxy(this._handleUpdate,this)):Q(window).off(tt.RESIZE)},r.prototype._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden","true"),this._showBackdrop(function(){Q(document.body).removeClass(it),t._resetAdjustments(),t._resetScrollbar(),Q(t._element).trigger(tt.HIDDEN)})},r.prototype._removeBackdrop=function(){this._backdrop&&(Q(this._backdrop).remove(),this._backdrop=null)},r.prototype._showBackdrop=function(t){var e,n=this,i=Q(this._element).hasClass(ot)?ot:"";if(this._isShown&&this._config.backdrop){var o=Je.supportsTransitionEnd()&&i;if(this._backdrop=document.createElement("div"),this._backdrop.className=nt,i&&Q(this._backdrop).addClass(i),Q(this._backdrop).appendTo(document.body),Q(this._element).on(tt.CLICK_DISMISS,function(t){return n._ignoreBackdropClick?void(n._ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide()))}),o&&Je.reflow(this._backdrop),Q(this._backdrop).addClass(rt),!t)return;if(!o)return void t();Q(this._backdrop).one(Je.TRANSITION_END,t).emulateTransitionEnd(150)}else!this._isShown&&this._backdrop?(Q(this._backdrop).removeClass(rt),e=function(){n._removeBackdrop(),t&&t()},Je.supportsTransitionEnd()&&Q(this._element).hasClass(ot)?Q(this._backdrop).one(Je.TRANSITION_END,e).emulateTransitionEnd(150):e()):t&&t()},r.prototype._handleUpdate=function(){this._adjustDialog()},r.prototype._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},r.prototype._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},r.prototype._checkScrollbar=function(){this._isBodyOverflowing=document.body.clientWidth<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},r.prototype._setScrollbar=function(){var t=parseInt(Q(st.FIXED_CONTENT).css("padding-right")||0,10);this._originalBodyPadding=document.body.style.paddingRight||"",this._isBodyOverflowing&&(document.body.style.paddingRight=t+this._scrollbarWidth+"px")},r.prototype._resetScrollbar=function(){document.body.style.paddingRight=this._originalBodyPadding},r.prototype._getScrollbarWidth=function(){var t=document.createElement("div");t.className=et,document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e},r._jQueryInterface=function(n,i){return this.each(function(){var t=Q(this).data(K),e=Q.extend({},r.Default,Q(this).data(),"object"===(void 0===n?"undefined":Ge(n))&&n);if(t||(t=new r(this,e),Q(this).data(K,t)),"string"==typeof n){if(void 0===t[n])throw new Error('No method n
1amed "'+n+'"');t[n](i)}else e.show&&t.show(i)})},Ze(r,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return Z}}]),at=r,Q(document).on(tt.CLICK_DATA_API,st.DATA_TOGGLE,function(t){var e=this,n=void 0,i=Je.getSelectorFromElement(this);i&&(n=Q(i)[0]);var o=Q(n).data(K)?"toggle":Q.extend({},Q(n).data(),Q(this).data());"A"===this.tagName&&t.preventDefault();var r=Q(n).one(tt.SHOW,function(t){t.isDefaultPrevented()||r.one(tt.HIDDEN,function(){Q(e).is(":visible")&&e.focus()})});at._jQueryInterface.call(Q(n),o,this)}),Q.fn[Y]=at._jQueryInterface,Q.fn[Y].Constructor=at,Q.fn[Y].noConflict=function(){return Q.fn[Y]=G,at._jQueryInterface},F="."+(B="bs.scrollspy"),L=(N=jQuery).fn[j="scrollspy"],V={offset:10,method:"auto",target:""},M={offset:"number",method:"string",target:"(string|element)"},H={ACTIVATE:"activate"+F,SCROLL:"scroll"+F,LOAD_DATA_API:"load"+F+".data-api"},W="dropdown-item",R="active",q={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",LIST_ITEM:".list-item",LI:"li",LI_DROPDOWN:"li.dropdown",NAV_LINKS:".nav-link",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},z="offset",$="position",o.prototype.refresh=function(){var e=this,t=this._scrollElement!==this._scrollElement.window?$:z,i="auto"===this._config.method?t:this._config.method,o=i===$?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),N.makeArray(N(this._selector)).map(function(t){var e=void 0,n=Je.getSelectorFromElement(t);return n&&(e=N(n)[0]),e&&(e.offsetWidth||e.offsetHeight)?[N(e)[i]().top+o,n]:null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},o.prototype.dispose=function(){N.removeData(this._element,B),N(this._scrollElement).off(F),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},o.prototype._getConfig=function(t){var e;return"string"!=typeof(t=N.extend({},V,t)).target&&((e=N(t.target).attr("id"))||(e=Je.getUID(j),N(t.target).attr("id",e)),t.target="#"+e),Je.typeCheckConfig(j,t,M),t},o.prototype._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.scrollY:this._scrollElement.scrollTop},o.prototype._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},o.prototype._process=function(){var t,e=this._getScrollTop()+this._config.offset,n=this._getScrollHeight(),i=this._config.offset+n-this._scrollElement.offsetHeight;if(this._scrollHeight!==n&&this.refresh(),i<=e&&(t=this._targets[this._targets.length-1],this._activeTarget!==t&&this._activate(t)),this._activeTarget&&e<this._offsets[0])return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&e>=this._offsets[o]&&(void 0===this._offsets[o+1]||e<this._offsets[o+1])&&this._activate(this._targets[o])},o.prototype._activate=function(e){this._activeTarget=e,this._clear();var t=(t=this._selector.split(",")).map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),n=N(t.join(","));n.hasClass(W)?(n.closest(q.DROPDOWN).find(q.DROPDOWN_TOGGLE).addClass(R),n.addClass(R)):n.parents(q.LI).find(q.NAV_LINKS).addClass(R),N(this._scrollElement).trigger(H.ACTIVATE,{relatedTarget:e})},o.prototype._clear=function(){N(this._selector).filter(q.ACTIVE).removeClass(R)},o._jQueryInterface=function(n){return this.each(function(){var t=N(this).data(B),e="object"===(void 0===n?"undefined":Ge(n))&&n||null;if(t||(t=new o(this,e),N(this).data(B,t)),"string"==typeof n){if(void 0===t[n])throw new Error('No method named "'+n+'"');t[n]()}})},Ze(o,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return V}}]),U=o,N(window).on(H.LOAD_DATA_API,function(){for(var t=N.makeArray(N(q.DATA_SPY)),e=t.length;e--;){var n=N(t[e]);U._jQueryInterface.call(n,n.data())}}),N.fn[j]=U._jQueryInterface,N.fn[j].Constructor=U,N.fn[j].noConflict=function(){return N.fn[j]=L,U._jQueryInterface},g="."+(m="bs.tab"),y=(h=jQuery).fn.tab,v={HIDE:"hide"+g,HIDDEN:"hidden"+g,SHOW:"show"+g,SHOWN:"shown"+g,CLICK_DATA_API:"click"+g+".data-api"},b="dropdown-menu",x="active",w="fade",S="in",C=".dropdown",E="ul:not(.dropdown-menu)",T="> .nav-item .fade, > .fade",A=".active",k="> .nav-item > .active, > .active",O='[data-toggle="tab"], [data-toggle="pill"]',I=".dropdown-toggle",P="> .dropdown-menu .active",i.prototype.show=function(){var t,n,e,i,o,r,s,a=this;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&h(this._element).hasClass(x)||(n=t=void 0,e=h(this._element).closest(E)[0],i=Je.getSelectorFromElement(this._element),e&&(n=(n=h.makeArray(h(e).find(A)))[n.length-1]),o=h.Event(v.HIDE,{relatedTarget:this._element}),r=h.Event(v.SHOW,{relatedTarget:n}),n&&h(n).trigger(o),h(this._element).trigger(r),r.isDefaultPrevented()||o.isDefaultPrevented()||(i&&(t=h(i)[0]),this._activate(this._element,e),s=function(){var t=h.Event(v.HIDDEN,{relatedTarget:a._element}),e=h.Event(v.SHOWN,{relatedTarget:n});h(n).trigger(t),h(a._element).trigger(e)},t?this._activate(t,t.parentNode,s):s()))},i.prototype.dispose=function(){h.removeClass(this._element,m),this._element=null},i.prototype._activate=function(t,e,n){var i=h(e).find(k)[0],o=n&&Je.supportsTransitionEnd()&&(i&&h(i).hasClass(w)||Boolean(h(e).find(T)[0])),r=h.proxy(this._transitionComplete,this,t,i,o,n);i&&o?h(i).one(Je.TRANSITION_END,r).emulateTransitionEnd(150):r(),i&&h(i).removeClass(S)},i.prototype._transitionComplete=function(t,e,n,i){var o,r;e&&(h(e).removeClass(x),(o=h(e).find(P)[0])&&h(o).removeClass(x),e.setAttribute("aria-expanded",!1)),h(t).addClass(x),t.setAttribute("aria-expanded",!0),n?(Je.reflow(t),h(t).addClass(S)):h(t).removeClass(w),t.parentNode&&h(t.parentNode).hasClass(b)&&((r=h(t).closest(C)[0])&&h(r).find(I).addClass(x),t.setAttribute("aria-expanded",!0)),i&&i()},i._jQueryInterface=function(n){return this.each(function(){var t=h(this),e=t.data(m);if(e||(e=new i(this),t.data(m,e)),"string"==typeof n){if(void 0===e[n])throw new Error('No method n
1amed "'+n+'"');e[n]()}})},Ze(i,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),D=i,h(document).on(v.CLICK_DATA_API,O,function(t){t.preventDefault(),D._jQueryInterface.call(h(this),"show")}),h.fn.tab=D._jQueryInterface,h.fn.tab.Constructor=D,h.fn.tab.noConflict=function(){return h.fn.tab=y,D._jQueryInterface},tn=function(l){if(void 0===window.Tether)throw new Error("Bootstrap tooltips require Tether (http://tether.io/)");var e="tooltip",i="bs.tooltip",t="."+i,n=l.fn[e],o={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[]},r={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"},s={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},a="in",u="out",c={HIDE:"hide"+t,HIDDEN:"hidden"+t,SHOW:"show"+t,SHOWN:"shown"+t,INSERTED:"inserted"+t,CLICK:"click"+t,FOCUSIN:"focusin"+t,FOCUSOUT:"focusout"+t,MOUSEENTER:"mouseenter"+t,MOUSELEAVE:"mouseleave"+t},f="fade",d="in",p=".tooltip-inner",h={element:!1,enabled:!1},m="hover",g="focus",y="manual",v=(b.prototype.enable=function(){this._isEnabled=!0},b.prototype.disable=function(){this._isEnabled=!1},b.prototype.toggleEnabled=function(){this._isEnabled=!this._isEnabled},b.prototype.toggle=function(t){if(t){var e=this.constructor.DATA_KEY,n=l(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),l(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(l(this.getTipElement()).hasClass(d))return void this._leave(null,this);this._enter(null,this)}},b.prototype.dispose=function(){clearTimeout(this._timeout),this.cleanupTether(),l.removeData(this.element,this.constructor.DATA_KEY),l(this.element).off(this.constructor.EVENT_KEY),this.tip&&l(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},b.prototype.show=function(){var e=this,t=l.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){l(this.element).trigger(t);var n=l.contains(this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!n)return;var i=this.getTipElement(),o=Je.getUID(this.constructor.NAME);i.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&l(i).addClass(f);var r="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,s=this._getAttachment(r);l(i).data(this.constructor.DATA_KEY,this).appendTo(document.body),l(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:s,element:i,target:this.element,classes:h,classPrefix:"bs-tether",offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),Je.reflow(i),this._tether.position(),l(i).addClass(d);var a=function(){var t=e._hoverState;e._hoverState=null,l(e.element).trigger(e.constructor.Event.SHOWN),t===u&&e._leave(null,e)};if(Je.supportsTransitionEnd()&&l(this.tip).hasClass(f))return void l(this.tip).one(Je.TRANSITION_END,a).emulateTransitionEnd(b._TRANSITION_DURATION);a()}},b.prototype.hide=function(t){function e(){n._hoverState!==a&&i.parentNode&&i.parentNode.removeChild(i),n.element.removeAttribute("aria-describedby"),l(n.element).trigger(n.constructor.Event.HIDDEN),n.cleanupTether(),t&&t()}var n=this,i=this.getTipElement(),o=l.Event(this.constructor.Event.HIDE);l(this.element).trigger(o),o.isDefaultPrevented()||(l(i).removeClass(d),Je.supportsTransitionEnd()&&l(this.tip).hasClass(f)?l(i).one(Je.TRANSITION_END,e).emulateTransitionEnd(150):e(),this._hoverState="")},b.prototype.isWithContent=function(){return Boolean(this.getTitle())},b.prototype.getTipElement=function(){return this.tip=this.tip||l(this.config.template)[0]},b.prototype.setContent=function(){var t=l(this.getTipElement());this.setElementContent(t.find(p),this.getTitle()),t.removeClass(f).removeClass(d),this.cleanupTether()},b.prototype.setElementContent=function(t,e){var n=this.config.html;"object"===(void 0===e?"undefined":Ge(e))&&(e.nodeType||e.jquery)?n?l(e).parent().is(t)||t.empty().append(e):t.text(l(e).text()):t[n?"html":"text"](e)},b.prototype.getTitle=function(){return this.element.getAttribute("data-original-title")||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)},b.prototype.cleanupTether=function(){this._tether&&this._tether.destroy()},b.prototype._getAttachment=function(t){return s[t.toUpperCase()]},b.prototype._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){var e,n;
1"click"===t?l(i.element).on(i.constructor.Event.CLICK,i.config.selector,l.proxy(i.toggle,i)):t!==y&&(e=t===m?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=t===m?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT,l(i.element).on(e,i.config.selector,l.proxy(i._enter,i)).on(n,i.config.selector,l.proxy(i._leave,i)))}),this.config.selector?this.config=l.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},b.prototype._fixTitle=function(){var t=Ge(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",""))},b.prototype._enter=function(t,e){var n=this.constructor.DATA_KEY;return(e=e||l(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),l(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?g:m]=!0),l(e.getTipElement()).hasClass(d)||e._hoverState===a?void(e._hoverState=a):(clearTimeout(e._timeout),e._hoverState=a,e.config.delay&&e.config.delay.show?void(e._timeout=setTimeout(function(){e._hoverState===a&&e.show()},e.config.delay.show)):void e.show())},b.prototype._leave=function(t,e){var n=this.constructor.DATA_KEY;if((e=e||l(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),l(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?g:m]=!1),!e._isWithActiveTrigger())return clearTimeout(e._timeout),e._hoverState=u,e.config.delay&&e.config.delay.hide?void(e._timeout=setTimeout(function(){e._hoverState===u&&e.hide()},e.config.delay.hide)):void e.hide()},b.prototype._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},b.prototype._getConfig=function(t){return(t=l.extend({},this.constructor.Default,l(this.element).data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),Je.typeCheckConfig(e,t,this.constructor.DefaultType),t},b.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},b._jQueryInterface=function(n){return this.each(function(){var t=l(this).data(i),e="object"===(void 0===n?"undefined":Ge(n))?n:null;if((t||!/dispose|hide/.test(n))&&(t||(t=new b(this,e),l(this).data(i,t)),"string"==typeof n)){if(void 0===t[n])throw new Error('No method named "'+n+'"');t[n]()}})},Ze(b,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return o}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return i}},{key:"Event",get:function(){return c}},{key:"EVENT_KEY",get:function(){return t}},{key:"DefaultType",get:function(){return r}}]),b);function b(t,e){_(this,b),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 l.fn[e]=v._jQueryInterface,l.fn[e].Constructor=v,l.fn[e].noConflict=function(){return l.fn[e]=n,v._jQueryInterface},v}(jQuery),We="."+(He="bs.popover"),Re=(Le=jQuery).fn[Me="popover"],qe=Le.extend({},tn.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),ze=Le.extend({},tn.DefaultType,{content:"(string|element|function)"}),$e="fade",Ue="in",Qe=".popover-title",Ye=".popover-content",Ke={HIDE:"hide"+We,HIDDEN:"hidden"+We,SHOW:"show"+We,SHOWN:"shown"+We,INSERTED:"inserted"+We,CLICK:"click"+We,FOCUSIN:"focusin"+We,FOCUSOUT:"focusout"+We,MOUSEENTER:"mouseenter"+We,MOUSELEAVE:"mouseleave"+We},function(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)}(p,Ve=tn),p.prototype.isWithContent=function(){return this.getTitle()||this._getContent()},p.prototype.getTipElement=function(){return this.tip=this.tip||Le(this.config.template)[0]},p.prototype.setContent=function(){var t=Le(this.getTipElement());this.setElementContent(t.find(Qe),this.getTitle()),this.setElementContent(t.find(Ye),this._getContent()),t.removeClass($e).removeClass(Ue),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(n){return this.each(function(){var t=Le(this).data(He),e="object"===(void 0===n?"undefined":Ge(n))?n:null;if((t||!/destroy|hide/.test(n))&&(t||(t=new p(this,e),Le(this).data(He,t)),"string"==typeof n)){if(void 0===t[n])throw new Error('No method n
1amed "'+n+'"');t[n]()}})},Ze(p,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}},{key:"Default",get:function(){return qe}},{key:"NAME",get:function(){return Me}},{key:"DATA_KEY",get:function(){return He}},{key:"Event",get:function(){return Ke}},{key:"EVENT_KEY",get:function(){return We}},{key:"DefaultType",get:function(){return ze}}]),Xe=p,Le.fn[Me]=Xe._jQueryInterface,Le.fn[Me].Constructor=Xe,Le.fn[Me].noConflict=function(){return Le.fn[Me]=Re,Xe._jQueryInterface}},function(t,e,n){"use strict";function i(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function l(t){return"function"==typeof t}function u(t){return"object"==typeof t&&null!==t}function c(t){return void 0===t}((t.exports=i).EventEmitter=i).prototype._events=void 0,i.prototype._maxListeners=void 0,i.defaultMaxListeners=10,i.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},i.prototype.emit=function(t){var e,n,i,o,r,s;if(this._events||(this._events={}),"error"===t&&(!this._events.error||u(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var a=new Error('Uncaught, unspecified "error" event. ('+e+")");throw a.context=e,a}if(c(n=this._events[t]))return!1;if(l(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),n.apply(this,o)}else if(u(n))for(o=Array.prototype.slice.call(arguments,1),i=(s=n.slice()).length,r=0;r<i;r++)s[r].apply(this,o);return!0},i.prototype.on=i.prototype.addListener=function(t,e){var n;if(!l(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,l(e.listener)?e.listener:e),this._events[t]?u(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,u(this._events[t])&&!this._events[t].warned&&(n=c(this._maxListeners)?i.defaultMaxListeners:this._maxListeners)&&0<n&&this._events[t].length>n&&(this._events[t].warned=!0,console.trace),this},i.prototype.once=function(t,e){function n(){this.removeListener(t,n),i||(i=!0,e.apply(this,arguments))}if(!l(e))throw TypeError("listener must be a function");var i=!1;return n.listener=e,this.on(t,n),this},i.prototype.removeListener=function(t,e){var n,i,o,r;if(!l(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(o=(n=this._events[t]).length,i=-1,n===e||l(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(u(n)){for(r=o;0<r--;)if(n[r]===e||n[r].listener&&n[r].listener===e){i=r;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},i.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(l(n=this._events[t]))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},i.prototype.listeners=function(t){return this._events&&this._events[t]?l(this._events[t])?[this._events[t]]:this._events[t].slice():[]},i.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(l(e))return 1;if(e)return e.length}return 0},i.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,n){"use strict";t.exports=function o(r,s,a){function l(n,t){if(!s[n]){if(!r[n]){if(0,u)return u(n,!0);var e=new Error("Cannot find module '"+n+"'");throw e.code="MODULE_NOT_FOUND",e}var i=s[n]={exports:{}};r[n][0].call(i.exports,function(t){var e=r[n][1][t];return l(e||t)},i,i.exports,o,r,s,a)}return s[n].exports}for(var u=!1,t=0;t<a.length;t++)l(a[t]);return l}({1:[function(t,e,n){e.exports=function(t){var e,n,i,o=-1;if(1<t.lines.length&&"flex-start"===t.style.alignContent)for(e=0;i=t.lines[++o];)i.crossStart=e,e+=i.cross;else if(1<t.lines.length&&"flex-end"===t.style.alignContent)for(e=t.flexStyle.crossSpace;i=t.lines[++o];)i.crossStart=e,e+=i.cross;else if(1<t.lines.length&&"center"===t.style.alignContent)for(e=t.flexStyle.crossSpace/2;i=t.lines[++o];)i.crossStart=e,e+=i.cross;else if(1<t.lines.length&&"space-between"===t.style.alignContent)for(n=t.flexStyle.crossSpace/(t.lines.length-1),e=0;i=t.lines[++o];)i.crossStart=e,e+=i.cross+n;else if(1<t.lines.length&&"space-around"===t.style.alignContent)for(n=2*t.flexStyle.crossSpace/(2*t.lines.length),e=n/2;i=t.lines[++o];)i.crossStart=e,e+=i.cross+n;else for(n=t.flexStyle.crossSpace/t.lines.length,e=t.flexStyle.crossInnerBefore;i=t.lines[++o];)i.crossStart=e,i.cross+=n,e+=i.cross}},{}],2:[function(t,e,n){e.exports=function(t){for(var e,n=-1;line=t.lines[++n];)for(e=-1;child=line.children[++e];){var i=child.style.alignSelf;"auto"===i&&(i=t.style.alignItems),"flex-start"===i?child.flexStyle.crossStart=line.crossStart:"flex-end"===i?child.flexStyle.crossStart=line.crossStart+line.cross-child.flexStyle.crossOuter:"center"===i?child.flexStyle.crossStart=line.crossStart+(line.cross-child.flexStyle.crossOuter)/2:(child.flexStyle.crossStart=line.crossStart,child.flexStyle.crossOuter=line.cross,child.flexStyle.cross=child.flexStyle.crossOuter-child.flexStyle.crossBefore-child.flexStyle.crossAfter)}}},{}],3:[function(t,e,n){e.exports=function(t,e){var n="row"===e||"row-reverse"===e,i=t.mainAxis;i?n&&"inline"===i||!n&&"block"===i||(t.flexStyle={main:t.flexStyle.cross,cross:t.flexStyle.main,mainOffset:t.flexStyle.crossOffset,crossOffset:t.flexStyle.mainOffset,mainBefore:t.flexStyle.crossBefore,mainAfter:t.flexStyle.crossAfter,crossBefore:t.flexStyle.mainBefore,crossAfter:t.flexStyle.mainAfter,mainInnerBefore:t.flexStyle.crossInnerBefore,mainInnerAfter:t.flexStyle.crossInnerAfter,crossInnerBefore:t.flexStyle.mainInnerBefore,crossInnerAfter:t.flexStyle.mainInnerAfter,mainBorderBefore:t.flexStyle.crossBorderBefore,mainBorderAfter:t.flexStyle.crossBorderAfter,crossBorderBefore:t.flexStyle.mainBorderBefore,crossBorderAfter:t.flexStyle.mainBorderAfter}):(t.flexStyle=n?{main:t.style.width,cross:t.style.height,mainOffset:t.style.offsetWidth,crossOffset:t.style.offsetHeight,mainBefore:t.style.marginLeft,mainAfter:t.style.marginRight,crossBefore:t.style.marginTop,crossAfter:t.style.marginBottom,mainInnerBefore:t.style.paddingLeft,mainInnerAfter:t.style.paddingRight,crossInnerBefore:t.style.paddingTop,crossInnerAfter:t.style.paddingBottom,mainBorderBefore:t.style.borderLeftWidth,mainBorderAfter:t.style.borderRightWidth,crossBorderBefore:t.style.borderTopWidth,crossBorderAfter:t.style.borderBottomWidth}:{main:t.style.height,cross:t.style.width,mainOffset:t.style.offsetHeight,crossOffset:t.style.offsetWidth,mainBefore:t.style.marginTop,mainAfter:t.style.marginBottom,crossBefore:t.style.marginLeft,crossAfter:t.style.marginRight,mainInnerBefore:t.style.paddingTop,mainInnerAfter:t.style.paddingBottom,crossInnerBefore:t.style.paddingLeft,crossInnerAfter:t.style.paddingRight,mainBorderBefore:t.style.borderTopWidth,mainBorderAfter:t.style.borderBottomWidth,crossBorderBefore:t.style.borderLeftWidth,crossBorderAfter:t.style.borderRightWidth},"content-box"===t.style.boxSizing&&("number"==typeof t.flexStyle.main&&(t.flexStyle.main+=t.flexStyle.mainInnerBefore+t.flexStyle.mainInnerAfter+t.flexStyle.mainBorderBefore+t.flexStyle.mainBorderAfter),"number"==typeof t.flexStyle.cross&&(t.flexStyle.cross+=t.flexStyle.crossInnerBefore+t.flexStyle.crossInnerAfter+t.flexStyle.crossBorderBefore+t.flexStyle.crossBorderAfter))),t.mainAxis=n?"inline":"block",t.crossAxis=n?"block":"inl
1ine","number"==typeof t.style.flexBasis&&(t.flexStyle.main=t.style.flexBasis+t.flexStyle.mainInnerBefore+t.flexStyle.mainInnerAfter+t.flexStyle.mainBorderBefore+t.flexStyle.mainBorderAfter),t.flexStyle.mainOuter=t.flexStyle.main,t.flexStyle.crossOuter=t.flexStyle.cross,"auto"===t.flexStyle.mainOuter&&(t.flexStyle.mainOuter=t.flexStyle.mainOffset),"auto"===t.flexStyle.crossOuter&&(t.flexStyle.crossOuter=t.flexStyle.crossOffset),"number"==typeof t.flexStyle.mainBefore&&(t.flexStyle.mainOuter+=t.flexStyle.mainBefore),"number"==typeof t.flexStyle.mainAfter&&(t.flexStyle.mainOuter+=t.flexStyle.mainAfter),"number"==typeof t.flexStyle.crossBefore&&(t.flexStyle.crossOuter+=t.flexStyle.crossBefore),"number"==typeof t.flexStyle.crossAfter&&(t.flexStyle.crossOuter+=t.flexStyle.crossAfter)}},{}],4:[function(t,e,n){var o=t("../reduce");e.exports=function(n){var i;0<n.mainSpace&&(0<(i=o(n.children,function(t,e){return t+parseFloat(e.style.flexGrow)},0))&&(n.main=o(n.children,function(t,e){return"auto"===e.flexStyle.main?e.flexStyle.main=e.flexStyle.mainOffset+parseFloat(e.style.flexGrow)/i*n.mainSpace:e.flexStyle.main+=parseFloat(e.style.flexGrow)/i*n.mainSpace,e.flexStyle.mainOuter=e.flexStyle.main+e.flexStyle.mainBefore+e.flexStyle.mainAfter,t+e.flexStyle.mainOuter},0),n.mainSpace=0))}},{"../reduce":12}],5:[function(t,e,n){var o=t("../reduce");e.exports=function(n){var i;n.mainSpace<0&&(0<(i=o(n.children,function(t,e){return t+parseFloat(e.style.flexShrink)},0))&&(n.main=o(n.children,function(t,e){return e.flexStyle.main+=parseFloat(e.style.flexShrink)/i*n.mainSpace,e.flexStyle.mainOuter=e.flexStyle.main+e.flexStyle.mainBefore+e.flexStyle.mainAfter,t+e.flexStyle.mainOuter},0),n.mainSpace=0))}},{"../reduce":12}],6:[function(t,e,n){var o=t("../reduce");e.exports=function(t){var e;t.lines=[e={main:0,cross:0,children:[]}];for(var n,i=-1;n=t.children[++i];)"nowrap"===t.style.flexWrap||0===e.children.length||"auto"===t.flexStyle.main||t.flexStyle.main-t.flexStyle.mainInnerBefore-t.flexStyle.mainInnerAfter-t.flexStyle.mainBorderBefore-t.flexStyle.mainBorderAfter>=e.main+n.flexStyle.mainOuter?(e.main+=n.flexStyle.mainOuter,e.cross=Math.max(e.cross,n.flexStyle.crossOuter)):t.lines.push(e={main:n.flexStyle.mainOuter,cross:n.flexStyle.crossOuter,children:[]}),e.children.push(n);t.flexStyle.mainLines=o(t.lines,function(t,e){return Math.max(t,e.main)},0),t.flexStyle.crossLines=o(t.lines,function(t,e){return t+e.cross},0),"auto"===t.flexStyle.main&&(t.flexStyle.main=Math.max(t.flexStyle.mainOffset,t.flexStyle.mainLines+t.flexStyle.mainInnerBefore+t.flexStyle.mainInnerAfter+t.flexStyle.mainBorderBefore+t.flexStyle.mainBorderAfter)),"auto"===t.flexStyle.cross&&(t.flexStyle.cross=Math.max(t.flexStyle.crossOffset,t.flexStyle.crossLines+t.flexStyle.crossInnerBefore+t.flexStyle.crossInnerAfter+t.flexStyle.crossBorderBefore+t.flexStyle.crossBorderAfter)),t.flexStyle.crossSpace=t.flexStyle.cross-t.flexStyle.crossInnerBefore-t.flexStyle.crossInnerAfter-t.flexStyle.crossBorderBefore-t.flexStyle.crossBorderAfter-t.flexStyle.crossLines,t.flexStyle.mainOuter=t.flexStyle.main+t.flexStyle.mainBefore+t.flexStyle.mainAfter,t.flexStyle.crossOuter=t.flexStyle.cross+t.flexStyle.crossBefore+t.flexStyle.crossAfter}},{"../reduce":12}],7:[function(o,t,e){t.exports=function(t){for(var e,n,i=-1;e=t.children[++i];)o("./flex-direction")(e,t.style.flexDirection);for(o("./flex-direction")(t,t.style.flexDirection),o("./order")(t),o("./flexbox-lines")(t),o("./align-content")(t),i=-1;n=t.lines[++i];)n.mainSpace=t.flexStyle.main-t.flexStyle.mainInnerBefore-t.flexStyle.mainInnerAfter-t.flexStyle.mainBorderBefore-t.flexStyle.mainBorderAfter-n.main,o("./flex-grow")(n),o("./flex-shrink")(n),o("./margin-main")(n),o("./margin-cross")(n),o("./justify-content")(n,t.style.justifyContent,t);o("./align-items")(t)}},{"./align-content":1,"./align-items":2,"./flex-direction":3,"./flex-grow":4,"./flex-shrink":5,"./flexbox-lines":6,"./justify-content":8,"./margin-cross":9,"./margin-main":10,"./order":11}],8:[function(t,e,n){e.exports=function(t,e,n){var i,o,r,s=n.flexStyle.mainInnerBefore,a=-1;if("flex-end"===e)for(i=t.mainSpace,i+=s;r=t.children[++a];)r.flexStyle.mainStart=i,i+=r.flexStyle.mainOuter;else if("center"===e)for(i=t.mainSpace/2,i+=s;r=t.children[++a];)r.flexStyle.mainStart=i,i+=r.flexStyle.mainOuter;else if("space-between"===e)for(o=t.mainSpace/(t.children.length-1),i=0,i+=s;r=t.children[++a];)r.flexStyle.mainStart=i,i+=r.flexStyle.mainOuter+o;else if("space-around"===e)for(o=2*t.mainSpace/(2*t.children.length),i=o/2,i+=s;r=t.children[++a];)r.flexStyle.mainStart=i,i+=r.flexStyle.mainOuter+o;else for(i=0,i+=s;r=t.children[++a];)r.flexStyle.mainStart=i,i+=r.flexStyle.mainOuter}},{}],9:[function(t,e,n){e.exports=function(t){for(var e,n=-1;e=t.children[++n];){var i=0;"auto"===e.flexStyle.crossBefore&&++i,"auto"===e.flexStyle.crossAfter&&
1++i;var o=t.cross-e.flexStyle.crossOuter;"auto"===e.flexStyle.crossBefore&&(e.flexStyle.crossBefore=o/i),"auto"===e.flexStyle.crossAfter&&(e.flexStyle.crossAfter=o/i),"auto"===e.flexStyle.cross?e.flexStyle.crossOuter=e.flexStyle.crossOffset+e.flexStyle.crossBefore+e.flexStyle.crossAfter:e.flexStyle.crossOuter=e.flexStyle.cross+e.flexStyle.crossBefore+e.flexStyle.crossAfter}}},{}],10:[function(t,e,n){e.exports=function(t){for(var e,n=0,i=-1;e=t.children[++i];)"auto"===e.flexStyle.mainBefore&&++n,"auto"===e.flexStyle.mainAfter&&++n;if(0<n){for(i=-1;e=t.children[++i];)"auto"===e.flexStyle.mainBefore&&(e.flexStyle.mainBefore=t.mainSpace/n),"auto"===e.flexStyle.mainAfter&&(e.flexStyle.mainAfter=t.mainSpace/n),"auto"===e.flexStyle.main?e.flexStyle.mainOuter=e.flexStyle.mainOffset+e.flexStyle.mainBefore+e.flexStyle.mainAfter:e.flexStyle.mainOuter=e.flexStyle.main+e.flexStyle.mainBefore+e.flexStyle.mainAfter;t.mainSpace=0}}},{}],11:[function(t,e,n){var i=/^(column|row)-reverse$/;e.exports=function(t){t.children.sort(function(t,e){return t.style.order-e.style.order||t.index-e.index}),i.test(t.style.flexDirection)&&t.children.reverse()}},{}],12:[function(t,e,n){e.exports=function(t,e,n){for(var i=t.length,o=-1;++o<i;)o in t&&(n=e(n,t[o],o));return n}},{}],13:[function(t,e,n){var i=t("./read"),o=t("./write"),r=t("./readAll"),s=t("./writeAll");e.exports=function(t){s(r(t))},e.exports.read=i,e.exports.write=o,e.exports.readAll=r,e.exports.writeAll=s},{"./read":15,"./readAll":16,"./write":17,"./writeAll":18}],14:[function(t,e,n){function r(t,e){i.style.cssText="border:none!important;clip:rect(0 0 0 0)!important;display:block!important;font-size:1em!important;height:0!important;margin:0!important;padding:0!important;position:relative!important;width:"+t+"!important",e.parentNode.insertBefore(i,e.nextSibling);var n=i.offsetWidth;return e.parentNode.removeChild(i),n}e.exports=function(t,e){var n=String(t).match(s);if(!n)return t;var i=n[1],o=n[2];return"px"===o?+i:"cm"===o?.3937*i*96:"in"===o?96*i:"mm"===o?.3937*i*96/10:"pc"===o?12*i*96/72:"pt"===o?96*i/72:"rem"===o?16*i:r(t,e)};var s=/^([-+]?\d*\.?\d+)(%|[a-z]+)$/,i=document.createElement("div")},{}],15:[function(t,e,n){function s(t,e){for(var n in t){var i;n in e?t[n]=e[n]:(i=n.replace(/[A-Z]/g,"-$&").toLowerCase())in e&&(t[n]=e[i])}"-js-display"in e&&(t.display=e["-js-display"])}function a(t,e){for(var n;n=i.exec(e);)t[n[1].toLowerCase().replace(/-[a-z]/g,function(t){return t.slice(1).toUpperCase()})]=n[2]}function l(t,e){for(var n in t)n in e&&!/^(alignSelf|height|width)$/.test(n)&&(t[n]=e[n])}e.exports=function(t){var e={alignContent:"stretch",alignItems:"stretch",alignSelf:"auto",borderBottomWidth:0,borderLeftWidth:0,borderRightWidth:0,borderTopWidth:0,boxSizing:"content-box",display:"inline",flexBasis:"auto",flexDirection:"row",flexGrow:0,flexShrink:1,flexWrap:"nowrap",justifyContent:"flex-start",height:"auto",marginTop:0,marginRight:0,marginLeft:0,marginBottom:0,paddingTop:0,paddingRight:0,paddingLeft:0,paddingBottom:0,maxHeight:"none",maxWidth:"none",minHeight:0,minWidth:0,order:0,position:"static",width:"auto"};if(t instanceof Element){var n=t.hasAttribute("data-style"),i=n?t.getAttribute("data-style"):t.getAttribute("style")||"";for(var o in n||t.setAttribute("data-style",i),l(e,window.getComputedStyle&&getComputedStyle(t)||{}),s(e,t.currentStyle||{}),a(e,i),e)e[o]=u(e[o],t);var r=t.getBoundingClientRect();e.offsetHeight=r.height||t.offsetHeight,e.offsetWidth=r.width||t.offsetWidth}return{element:t,style:e}};var i=/([^\s:;]+)\s*:\s*([^;]+?)\s*(;|$)/g,u=t("./getComputedLength")},{"./getComputedLength":14}],16:[function(t,e,n){function m(t,e){for(var n,i,o,r,s,a=(o=(i=t)instanceof Element,r=o&&i.getAttribute("data-style"),s=o&&i.currentStyle&&i.currentStyle["-js-display"],y.test(r)||v.test(s)),l=[],u=-1;n=t.childNodes[++u];){var c,f,d,p=3===n.nodeType&&!/^\s*$/.test(n.nodeValue);a&&p&&(c=n,(n=t.insertBefore(document.createElement("flex-item"),c)).appendChild(c)),n instanceof Element&&(f=m(n,e),a&&((d=n.style).display="inline-block",d.position="absolute",f.style=g(n).style,l.push(f)))}var h={element:t,children:l};return a&&(h.style=g(t).style,e.push(h)),h}e.exports=function(t){var e=[];return m(t,e),e};var g=t("../read"),y=/(^|;)\s*display\s*:\s*(inline-)?flex\s*(;|$)/i,v=/^(inline-)?flex$/i},{"../read":15}],17:[function(t,e,n){function a(t){return"string"==typeof t?t:Math.max(t,0)+"px"}e.exports=function(t){l(t);var e=t.element.style,n="inline"===t.mainAxis?["main","cross"]:["cross","main"];e.boxSizing="content-box",e.display="block",e.position="relative",e.width=a(t.flexStyle[n[0]]-t.flexStyle[n[0]+"InnerBefore"]-t.flexStyle[n[0]+"InnerAfter"]-t.flexStyle[n[0]+"BorderBefore"]-t.flexStyle[n[0]+"BorderAfter"]),e.height=a(t.flexStyle[n[1]]-t.flexStyle[n[1]+"InnerBefore"]-t.flexStyle[n[1]+"InnerAfter"]-t.flexStyle[n[1]+"BorderBefore"]-t.flexStyle[n[1]+"BorderAfter"]);for(var i,o=-1;i=t.children[++o];){var r=i.element.style,s="inline"===i.mainAxis?["main","cross"]:["cross","main"];r.boxSizing="content-box",r.display="block",r.position="absolute","auto"!==i.flexStyle[s[0]]&&(r.width=a(i.flexStyle[s[0]]-i.flexStyle[s[0]+"InnerBefore"]-i.flexStyle[s[0]+"InnerAfter"]-i.flexStyle[s[0]+"BorderBefore"]-i.flexStyle[s[0]+"BorderAfter"])),"auto"!==i.flexStyle[s[1]]&&(r.height=a(i.flexStyle[s[1]]-i.flexStyle[s[1]+"InnerBefore"]-i.flexStyle[s[1]+"InnerAfter"]-i.flexStyle[s[1]+"BorderBefore"]-i.flexStyle[s[1]+"BorderAfter"])),r.top=a(i.flexStyle[s[1]+"Start"]),r.left=a(i.flexStyle[s[0]+"Start"]),r.marginTop=a(i.flexStyle[s[1]+"Before"]),r.marginRight=a(i.flexStyle[s[0]+"After"]),r.marginBottom=a(i.flexStyle[s[1]+"After"]),r.marginLeft=a(i.flexStyle[s[0]+"Before"])}};
1var l=t("../flexbox")},{"../flexbox":7}],18:[function(t,e,n){e.exports=function(t){for(var e,n=-1;e=t[++n];)i(e)};var i=t("../write")},{"../write":17}]},{},[13])(13)},function(t,e,n){"use strict";var i,o;void 0!==(o="function"==typeof(i=function(t,e,n){function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t){var e=t.getBoundingClientRect(),n={};for(var i in e)n[i]=e[i];if(t.ownerDocument!==document){var o=t.ownerDocument.defaultView.frameElement;if(o){var r=s(o);n.top+=r.top,n.bottom+=r.top,n.left+=r.left,n.right+=r.left}}return n}function l(t){var e=getComputedStyle(t)||{},n=e.position,i=[];if("fixed"===n)return[t];for(var o=t;(o=o.parentNode)&&o&&1===o.nodeType;){var r=void 0;try{r=getComputedStyle(o)}catch(t){}if(void 0===r||null===r)return i.push(o),i;var s=r,a=s.overflow,l=s.overflowX;/(auto|scroll)/.test(a+s.overflowY+l)&&("absolute"!==n||["relative","absolute","fixed"].indexOf(r.position)>=0)&&i.push(o)}return i.push(t.ownerDocument.body),t.ownerDocument!==document&&i.push(t.ownerDocument.defaultView),i}function o(){m&&document.body.removeChild(m),m=null}function w(t){var e=void 0;t===document?(e=document,t=document.documentElement):e=t.ownerDocument;var n=e.documentElement,i=s(t),o=b();return i.top-=o.top,i.left-=o.left,void 0===i.width&&(i.width=document.body.scrollWidth-i.left-i.right),void 0===i.height&&(i.height=document.body.scrollHeight-i.top-i.bottom),i.top=i.top-n.clientTop,i.left=i.left-n.clientLeft,i.right=e.body.clientWidth-i.width-i.left,i.bottom=e.body.clientHeight-i.height-i.top,i}function S(t){return t.offsetParent||document.documentElement}function C(){if(_)return _;var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");E(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var n=t.offsetWidth;e.style.overflow="scroll";var i=t.offsetWidth;n===i&&(i=e.clientWidth),document.body.removeChild(e);var o=n-i;return _={width:o,height:o}}function E(){var n=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach(function(t){if(t)for(var e in t)({}).hasOwnProperty.call(t,e)&&(n[e]=t[e])}),n}function r(e,t){if(void 0!==e.classList)t.split(" ").forEach(function(t){t.trim()&&e.classList.remove(t)});else{var n=new RegExp("(^| )"+t.split(" ").join("|")+"( |$)","gi"),i=c(e).replace(n," ");f(e,i)}}function u(e,t){if(void 0!==e.classList)t.split(" ").forEach(function(t){t.trim()&&e.classList.add(t)});else{r(e,t);var n=c(e)+" "+t;f(e,n)}}function a(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=c(t);return new RegExp("(^| )"+e+"( |$)","gi").test(n)}function c(t){return t.className instanceof t.ownerDocument.defaultView.SVGAnimatedString?t.className.baseVal:t.className}function f(t,e){t.setAttribute("class",e)}function T(e,n,t){t.forEach(function(t){-1===n.indexOf(t)&&a(e,t)&&r(e,t)}),n.forEach(function(t){a(e,t)||u(e,t)})}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(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 g(t,e){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+n>=e&&e>=t-n}function p(){return"undefined"!=typeof performance&&void 0!==performance.now?performance.now():+new Date}function A(){for(var i={top:0,left:0},t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.forEach(function(t){var e=t.top,n=t.left;"string"==typeof e&&(e=parseFloat(e,10)),"string"==typeof n&&(n=parseFloat(n,10)),i.top+=e,i.left+=n}),i}function k(t,e){return"string"==typeof t.left&&-1!==t.left.indexOf("%")&&(t.left=parseFloat(t.left,10)/100*e.width),"string"==typeof t.top&&-1!==t.top.indexOf("%")&&(t.top=parseFloat(t.top,10)/100*e.height),t}function O(t,r){return"scrollParent"===r?r=t.scrollParents[0]:"window"===r&&(r=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHe
1ight+pageYOffset]),r===document&&(r=r.documentElement),void 0!==r.nodeType&&function(){var t=r,e=w(r),n=e,i=getComputedStyle(r);if(r=[n.left,n.top,e.width+n.left,e.height+n.top],t.ownerDocument!==document){var o=t.ownerDocument.defaultView;r[0]+=o.pageXOffset,r[1]+=o.pageYOffset,r[2]+=o.pageXOffset,r[3]+=o.pageYOffset}K.forEach(function(t,e){t=t[0].toUpperCase()+t.substr(1),"Top"===t||"Left"===t?r[e]+=parseFloat(i["border"+t+"Width"]):r[e]-=parseFloat(i["border"+t+"Width"])})}(),r}var h=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}(),I=void 0;void 0===I&&(I={modules:[]});var m=null,y=function(){var t=0;return function(){return++t}}(),v={},b=function(){var t=m;t&&document.body.contains(t)||(t=document.createElement("div"),t.setAttribute("data-tether-id",y()),E(t.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(t),m=t);var e=t.getAttribute("data-tether-id");return void 0===v[e]&&(v[e]=s(t),P(function(){delete v[e]})),v[e]},_=null,x=[],P=function(t){x.push(t)},D=function(){for(var t=void 0;t=x.pop();)t()},N=function(){function t(){i(this,t)}return h(t,[{key:"on",value:function(t,e,n){var i=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[t]&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:i})}},{key:"once",value:function(t,e,n){this.on(t,e,n,!0)}},{key:"off",value:function(t,e){if(void 0!==this.bindings&&void 0!==this.bindings[t])if(void 0===e)delete this.bindings[t];else for(var n=0;n<this.bindings[t].length;)this.bindings[t][n].handler===e?this.bindings[t].splice(n,1):++n}},{key:"trigger",value:function(t){if(void 0!==this.bindings&&this.bindings[t]){for(var e=0,n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];for(;e<this.bindings[t].length;){var r=this.bindings[t][e],s=r.handler,a=r.ctx,l=r.once,u=a;void 0===u&&(u=this),s.apply(u,i),l?this.bindings[t].splice(e,1):++e}}}}]),t}();I.Utils={getActualBoundingClientRect:s,getScrollParents:l,getBounds:w,getOffsetParent:S,extend:E,addClass:u,removeClass:r,hasClass:a,updateClasses:T,defer:P,flush:D,uniqueId:y,Evented:N,getScrollBarSize:C,removeUtilElements:o};var j=function(){function n(t,e){var n=[],i=!0,o=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(t){o=!0,r=t}finally{try{!i&&a.return&&a.return()}finally{if(o)throw r}}return n}return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return n(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),h=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}(),B=function(t,e,n){for(var i=!0;i;){var o=t,r=e,s=n;i=!1,null===o&&(o=Function.prototype);var a=Object.getOwnPropertyDescriptor(o,r);if(void 0!==a){if("value"in a)return a.value;var l=a.get;if(void 0===l)return;return l.call(s)}var u=Object.getPrototypeOf(o);if(null===u)return;t=u,e=r,n=s,i=!0,a=u=void 0}};if(void 0===I)throw new Error("You must include the utils.js file before tether.js");var F=I.Utils,l=F.getScrollParents,w=F.getBounds,S=F.getOffsetParent,E=F.extend,u=F.addClass,r=F.removeClass,T=F.updateClasses,P=F.defer,D=F.flush,C=F.getScrollBarSize,o=F.removeUtilElements,L=function(){if("undefined"==typeof document)return"";for(var t=document.createElement("div"),e=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],n=0;n<e.length;++n){var i=e[n];if(void 0!==t.style[i])return i}}(),V=[],M=function(){V.forEach(function(t){t.position(!1)}),D()};!function(){var e=null,n=null,i=null,o=function t(){if(void 0!==n&&n>16)return n=Math.min(n-16,250),void(i=setTimeout(t,250));void 0!==e&&p()-e<10||(null!=i&&(clearTimeout(i),i=null),e=p(),M(),n=p()-e)};"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach(function(t){window.addEventListener(t,o)})}();
1var H={center:"center",left:"right",right:"left"},W={middle:"middle",top:"bottom",bottom:"top"},R={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},q=function(t,e){var n=t.left,i=t.top;return"auto"===n&&(n=H[e.left]),"auto"===i&&(i=W[e.top]),{left:n,top:i}},z=function(t){var e=t.left,n=t.top;return void 0!==R[t.left]&&(e=R[t.left]),void 0!==R[t.top]&&(n=R[t.top]),{left:e,top:n}},$=function(t){var e=t.split(" "),n=j(e,2);return{top:n[0],left:n[1]}},U=$,Q=function(t){function n(t){var e=this;i(this,n),B(Object.getPrototypeOf(n.prototype),"constructor",this).call(this),this.position=this.position.bind(this),V.push(this),this.history=[],this.setOptions(t,!1),I.modules.forEach(function(t){void 0!==t.initialize&&t.initialize.call(e)}),this.position()}return d(n,t),h(n,[{key:"getClass",value:function(){var t=arguments.length<=0||void 0===arguments[0]?"":arguments[0],e=this.options.classes;return void 0!==e&&e[t]?this.options.classes[t]:this.options.classPrefix?this.options.classPrefix+"-"+t:t}},{key:"setOptions",value:function(t){var e=this,n=arguments.length<=1||void 0===arguments[1]||arguments[1],i={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=E(i,t);var o=this.options,r=o.element,s=o.target,a=o.targetModifier;if(this.element=r,this.target=s,this.targetModifier=a,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach(function(t){if(void 0===e[t])throw new Error("Tether Error: Both element and target must be defined");void 0!==e[t].jquery?e[t]=e[t][0]:"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),u(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&u(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=U(this.options.targetAttachment),this.attachment=U(this.options.attachment),this.offset=$(this.options.offset),this.targetOffset=$(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=l(this.target),!1!==this.options.enabled&&this.enable(n)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return w(this.target);if("visible"===this.targetModifier){if(this.target===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth};var t=w(this.target),e={height:t.height,width:t.width,top:t.top,left:t.left};return e.height=Math.min(e.height,t.height-(pageYOffset-t.top)),e.height=Math.min(e.height,t.height-(t.top+t.height-(pageYOffset+innerHeight))),e.height=Math.min(innerHeight,e.height),e.height-=2,e.width=Math.min(e.width,t.width-(pageXOffset-t.left)),e.width=Math.min(e.width,t.width-(t.left+t.width-(pageXOffset+innerWidth))),e.width=Math.min(innerWidth,e.width),e.width-=2,e.top<pageYOffset&&(e.top=pageYOffset),e.left<pageXOffset&&(e.left=pageXOffset),e}if("scroll-handle"===this.targetModifier){var t=void 0,n=this.target;n===document.body?(n=document.documentElement,t={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):t=w(n);var i=getComputedStyle(n),o=n.scrollWidth>n.clientWidth||[i.overflow,i.overflowX].indexOf("scroll")>=0||this.target!==document.body,r=0;o&&(r=15);var s=t.height-parseFloat(i.borderTopWidth)-parseFloat(i.borderBottomWidth)-r,e={width:15,height:.975*s*(s/n.scrollHeight),left:t.left+t.width-parseFloat(i.borderLeftWidth)-15},a=0;s<408&&this.target===document.body&&(a=-11e-5*Math.pow(s,2)-.00727*s+22.58),this.target!==document.body&&(e.height=Math.max(e.height,24));var l=this.target.scrollTop/(n.scrollHeight-s);return e.top=l*(s-e.height-a)+t.top+parseFloat(i.borderTopWidth),this.target===document.body&&(e.height=Math.max(e.height,24)),e}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(t,e){return void 0===this._cache&&(this._cache={}),void 0===this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]}},{key:"enable",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&u(this.target,this.getClass("enabled")),u(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEac
1h(function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)}),t&&this.position()}},{key:"disable",value:function(){var e=this;r(this.target,this.getClass("enabled")),r(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.position)})}},{key:"destroy",value:function(){var n=this;this.disable(),V.forEach(function(t,e){t===n&&V.splice(e,1)}),0===V.length&&o()}},{key:"updateAttachClasses",value:function(t,e){var n=this;t=t||this.attachment,e=e||this.targetAttachment;var i=["left","top","bottom","right","middle","center"];void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var o=this._addAttachClasses;t.top&&o.push(this.getClass("element-attached")+"-"+t.top),t.left&&o.push(this.getClass("element-attached")+"-"+t.left),e.top&&o.push(this.getClass("target-attached")+"-"+e.top),e.left&&o.push(this.getClass("target-attached")+"-"+e.left);var r=[];i.forEach(function(t){r.push(n.getClass("element-attached")+"-"+t),r.push(n.getClass("target-attached")+"-"+t)}),P(function(){void 0!==n._addAttachClasses&&(T(n.element,n._addAttachClasses,r),!1!==n.options.addTargetClasses&&T(n.target,n._addAttachClasses,r),delete n._addAttachClasses)})}},{key:"position",value:function(){var a=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var e=q(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,e);var n=this.cache("element-bounds",function(){return w(a.element)}),i=n.width,o=n.height;if(0===i&&0===o&&void 0!==this.lastSize){var r=this.lastSize;i=r.width,o=r.height}else this.lastSize={width:i,height:o};var s=this.cache("target-bounds",function(){return a.getTargetBounds()}),l=s,u=k(z(this.attachment),{width:i,height:o}),c=k(z(e),l),f=k(this.offset,{width:i,height:o}),d=k(this.targetOffset,l);u=A(u,f),c=A(c,d);for(var p=s.left+c.left-u.left,h=s.top+c.top-u.top,m=0;m<I.modules.length;++m){var g=I.modules[m],y=g.position.call(this,{left:p,top:h,targetAttachment:e,targetPos:s,elementPos:n,offset:u,targetOffset:c,manualOffset:f,manualTargetOffset:d,scrollbarSize:x,attachment:this.attachment});if(!1===y)return!1;void 0!==y&&"object"==typeof y&&(h=y.top,p=y.left)}var v={page:{top:h,left:p},viewport:{top:h-pageYOffset,bottom:pageYOffset-h-o+innerHeight,left:p-pageXOffset,right:pageXOffset-p-i+innerWidth}},b=this.target.ownerDocument,_=b.defaultView,x=void 0;return _.innerHeight>b.documentElement.clientHeight&&(x=this.cache("scrollbar-size",C),v.viewport.bottom-=x.height),_.innerWidth>b.documentElement.clientWidth&&(x=this.cache("scrollbar-size",C),v.viewport.right-=x.width),-1!==["","static"].indexOf(b.body.style.position)&&-1!==["","static"].indexOf(b.body.parentElement.style.position)||(v.page.bottom=b.body.scrollHeight-h-o,v.page.right=b.body.scrollWidth-p-i),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var t=a.cache("target-offsetparent",function(){return S(a.target)}),e=a.cache("target-offsetparent-bounds",function(){return w(t)}),n=getComputedStyle(t),i=e,o={};if(["Top","Left","Bottom","Right"].forEach(function(t){o[t.toLowerCase()]=parseFloat(n["border"+t+"Width"])}),e.right=b.body.scrollWidth-e.left-i.width+o.right,e.bottom=b.body.scrollHeight-e.top-i.height+o.bottom,v.page.top>=e.top+o.top&&v.page.bottom>=e.bottom&&v.page.left>=e.left+o.left&&v.page.right>=e.right){var r=t.scrollTop,s=t.scrollLeft;v.offset={top:v.page.top-e.top+r-o.top,left:v.page.left-e.left+s-o.left}}}(),this.move(v),this.history.unshift(v),this.history.length>3&&this.history.pop(),t&&D(),!0}}},{key:"move",value:function(e){var o=this;if(void 0!==this.element.parentNode){var n={};for(var t in e){n[t]={};for(var i in e[t]){for(var r=!1,s=0;s<this.history.length;++s){var a=this.history[s];if(void 0!==a[t]&&!g(a[t][i],e[t][i])){r=!0;break}}r||(n[t][i]=!0)}}var l={top:"",left:"",right:"",bottom:""},u=function(t,e){if(!1!==(void 0!==o.options.optimizations?o.options.optimizations.gpu:null)){var n=void 0,i=void 0;t.top?(l.top=0,n=e.top):(l.bottom=0,n=-e.bottom),t.left?(l.left=0,i=e.left):(l.right=0,i=-e.right),window.matchMedia&&(window.matchMedia("only screen and (min-resolution: 1.3dppx)").matches||window.matchMedia("only screen and (-webkit-min-device-pixel-ratio: 1.3)").matches||(i=Math.round(i),n=Math.round(n))),l[L]="translateX("+i+"px) translateY("+n+"px)","msTransform"!==L&&(l[L]+=" translateZ(0)")}else t.top?l.top=e.top+"px":l.bottom=e.bottom+"px",t.left?l.left=e.left+"px":l.right=e.right+"px"},c=!1;if((n.page.top||n.page.bottom)&&(n.page.left||n.page.right)?(l.position="absolute",u(n.page,e.page)):(n.viewport.top||n.viewport.bottom)&&(n.viewport.left||n.viewport.right)?(l.position="fixed",u(n.viewport,e.viewport)):void 0!==n.offset&&n.offset.top&&n.offset.left?function(){l.position="absolute";var t=o.cache("target-offsetparent",function(){return S(o.target)});S(o.element)!==t&&P(function(){o.element.parentNode.removeChild(o.element),t.appendChild(o.element)}),u(n.offset,e.offset),c=!0}():(l.position="absolute",u({top:!0,left:!0},e.page)),!c)if(this.options.bodyElement)this.options.bodyElement.appendChild(this.element);else{for(var f=!0,d=this.element.parentNode;d&&1===d.nodeType&&"BODY"!==d.tagName;){if("static"!==getComputedStyle(d).position){f=!1;break}d=d.parentNode}f||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var p={},h=!1;for(var i in l){var m=l[i];this.element.style[i]!==m&&(h=!0,p[i]=m)}h&&P(function(){E(o.element.style,p),o.trigger("repositioned")})}}}]),n}(N);Q.modules=[],I.position=M;var Y=E(Q,I),j=function(){function n(t,e){var n=[],i=!0,o=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(t){o=!0,r=t}finally{try{!i&&a.return&&a.return()}finally{if(o)throw r}}return n}return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return n(t,e);
1throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),F,w=(F=I.Utils).getBounds,E=F.extend,T=F.updateClasses,P=F.defer,K=["left","top","right","bottom"];I.modules.push({position:function(t){var f=this,d=t.top,p=t.left,h=t.targetAttachment;if(!this.options.constraints)return!0;var e=this.cache("element-bounds",function(){return w(f.element)}),m=e.height,g=e.width;if(0===g&&0===m&&void 0!==this.lastSize){var n=this.lastSize;g=n.width,m=n.height}var i=this.cache("target-bounds",function(){return f.getTargetBounds()}),y=i.height,v=i.width,o=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach(function(t){var e=t.outOfBoundsClass,n=t.pinnedClass;e&&o.push(e),n&&o.push(n)}),o.forEach(function(e){["left","top","right","bottom"].forEach(function(t){o.push(e+"-"+t)})});var b=[],_=E({},h),x=E({},this.attachment);return this.options.constraints.forEach(function(t){var e=t.to,n=t.attachment,i=t.pin;void 0===n&&(n="");var o=void 0,r=void 0;if(n.indexOf(" ")>=0){var s=n.split(" "),a=j(s,2);r=a[0],o=a[1]}else o=r=n;var l=O(f,e);"target"!==r&&"both"!==r||(d<l[1]&&"top"===_.top&&(d+=y,_.top="bottom"),d+m>l[3]&&"bottom"===_.top&&(d-=y,_.top="top")),"together"===r&&("top"===_.top&&("bottom"===x.top&&d<l[1]?(d+=y,_.top="bottom",d+=m,x.top="top"):"top"===x.top&&d+m>l[3]&&d-(m-y)>=l[1]&&(d-=m-y,_.top="bottom",x.top="bottom")),"bottom"===_.top&&("top"===x.top&&d+m>l[3]?(d-=y,_.top="top",d-=m,x.top="bottom"):"bottom"===x.top&&d<l[1]&&d+(2*m-y)<=l[3]&&(d+=m-y,_.top="top",x.top="top")),"middle"===_.top&&(d+m>l[3]&&"top"===x.top?(d-=m,x.top="bottom"):d<l[1]&&"bottom"===x.top&&(d+=m,x.top="top"))),"target"!==o&&"both"!==o||(p<l[0]&&"left"===_.left&&(p+=v,_.left="right"),p+g>l[2]&&"right"===_.left&&(p-=v,_.left="left")),"together"===o&&(p<l[0]&&"left"===_.left?"right"===x.left?(p+=v,_.left="right",p+=g,x.left="left"):"left"===x.left&&(p+=v,_.left="right",p-=g,x.left="right"):p+g>l[2]&&"right"===_.left?"left"===x.left?(p-=v,_.left="left",p-=g,x.left="right"):"right"===x.left&&(p-=v,_.left="left",p+=g,x.left="left"):"center"===_.left&&(p+g>l[2]&&"left"===x.left?(p-=g,x.left="right"):p<l[0]&&"right"===x.left&&(p+=g,x.left="left"))),"element"!==r&&"both"!==r||(d<l[1]&&"bottom"===x.top&&(d+=m,x.top="top"),d+m>l[3]&&"top"===x.top&&(d-=m,x.top="bottom")),"element"!==o&&"both"!==o||(p<l[0]&&("right"===x.left?(p+=g,x.left="left"):"center"===x.left&&(p+=g/2,x.left="left")),p+g>l[2]&&("left"===x.left?(p-=g,x.left="right"):"center"===x.left&&(p-=g/2,x.left="right"))),"string"==typeof i?i=i.split(",").map(function(t){return t.trim()}):!0===i&&(i=["top","left","right","bottom"]),i=i||[];var u=[],c=[];d<l[1]&&(i.indexOf("top")>=0?(d=l[1],u.push("top")):c.push("top")),d+m>l[3]&&(i.indexOf("bottom")>=0?(d=l[3]-m,u.push("bottom")):c.push("bottom")),p<l[0]&&(i.indexOf("left")>=0?(p=l[0],u.push("left")):c.push("left")),p+g>l[2]&&(i.indexOf("right")>=0?(p=l[2]-g,u.push("right")):c.push("right")),u.length&&function(){var e=void 0;e=void 0!==f.options.pinnedClass?f.options.pinnedClass:f.getClass("pinned"),b.push(e),u.forEach(function(t){b.push(e+"-"+t)})}(),c.length&&function(){var e=void 0;e=void 0!==f.options.outOfBoundsClass?f.options.outOfBoundsClass:f.getClass("out-of-bounds"),b.push(e),c.forEach(function(t){b.push(e+"-"+t)})}(),(u.indexOf("left")>=0||u.indexOf("right")>=0)&&(x.left=_.left=!1),(u.indexOf("top")>=0||u.indexOf("bottom")>=0)&&(x.top=_.top=!1),_.top===h.top&&_.left===h.left&&x.top===f.attachment.top&&x.left===f.attachment.left||(f.updateAttachClasses(x,_),f.trigger("update",{attachment:x,targetAttachment:_}))}),P(function(){!1!==f.options.addTargetClasses&&T(f.target,b,o),T(f.element,b,o)}),{top:d,left:p}}});var F,w=(F=I.Utils).getBounds,T=F.updateClasses,P=F.defer;I.modules.push({position:function(t){var e=this,n=t.top,i=t.left,o=this.cache("element-bounds",function(){return w(e.element)}),r=o.height,s=o.width,a=this.getTargetBounds(),l=n+r,u=i+s,c=[];n<=a.bottom&&l>=a.top&&["left","right"].forEach(function(t){var e=a[t];e!==i&&e!==u||c.push(t)}),i<=a.right&&u>=a.left&&["top","bottom"].forEach(function(t){var e=a[t];e!==n&&e!==l||c.push(t)});var f=[],d=[],p=["left","top","right","bottom"];return f.push(this.getClass("abutted")),p.forEach(function(t){f.push(e.getClass("abutted")+"-"+t)}
1),c.length&&d.push(this.getClass("abutted")),c.forEach(function(t){d.push(e.getClass("abutted")+"-"+t)}),P(function(){!1!==e.options.addTargetClasses&&T(e.target,d,f),T(e.element,d,f)}),!0}});var j=function(){function n(t,e){var n=[],i=!0,o=!1,r=void 0;try{for(var s,a=t[Symbol.iterator]();!(i=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);i=!0);}catch(t){o=!0,r=t}finally{try{!i&&a.return&&a.return()}finally{if(o)throw r}}return n}return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return n(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();return I.modules.push({position:function(t){var e=t.top,n=t.left;if(this.options.shift){var i=this.options.shift;"function"==typeof this.options.shift&&(i=this.options.shift.call(this,{top:e,left:n}));var o=void 0,r=void 0;if("string"==typeof i){i=i.split(" "),i[1]=i[1]||i[0];var s=i,a=j(s,2);o=a[0],r=a[1],o=parseFloat(o,10),r=parseFloat(r,10)}else o=i.top,r=i.left;return e+=o,n+=r,{top:e,left:n}}}}),Y})?i.call(e,n,e,t):i)&&(t.exports=o)},function(t,e,n){"use strict";var i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(e,t,n){(function(t){e.exports=t.Tether=n(23)}).call(t,n(24))},function(t,e,n){n(5),t.exports=n(6)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.