1/*! For license information please see core.bundle.js.LICENSE.txt */ 2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("jQuery")):"function"==typeof define&&define.amd?define(["jQuery"],t):"object"==typeof exports?exports.Stratis=t(require("jQuery")):e.Stratis=t(e.jQuery)}(window,(function(e){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/js/",n(n.s=187)}([function(e,t,n){var i=n(2),r=n(9),o=n(17),a=n(14),s=n(21),l=function(e,t,n){var u,c,d,h,f=e&l.F,p=e&l.G,m=e&l.S,v=e&l.P,g=e&l.B,b=p?i:m?i[t]||(i[t]={}):(i[t]||{}).prototype,y=p?r:r[t]||(r[t]={}),w=y.prototype||(y.prototype={});for(u in p&&(n=t),n)d=((c=!f&&b&&void 0!==b[u])?b:n)[u],h=g&&c?s(d,i):v&&"function"==typeof d?s(Function.call,d):d,b&&a(b,u,d,e&l.U),y[u]!=d&&o(y,u,h),v&&w[u]!=d&&(w[u]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(t,n){t.exports=e},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var i=n(5);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.context,n=e.label,i=void 0===n?"context-to-element":n,r=e.resolveDocument,a=e.defaultToDocument,s=(0,o.default)(t)[0];if(r&&s&&s.nodeType===Node.DOCUMENT_NODE&&(s=s.documentElement),!s&&a)return document.documentElement;if(!s)throw new TypeError(i+" requires valid options.context");if(s.nodeType!==Node.ELEMENT_NODE&&s.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)throw new TypeError(i+" requires options.context to be an Element");return s};var i,r=n(27),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){var i=n(67)("wks"),r=n(41),o=n(2).Symbol,a="function"==typeof o;(e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))}).store=i},function(e,t,n){var i=n(23),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(3)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var i=n(4),r=n(124),o=n(36),a=Object.defineProperty;t.f=n(10)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(33);e.exports=function(e){return Object(i(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(379),o=(i=r)&&i.__esModule?i:{default:i};var a=JSON.parse(JSON.stringify(o.default)),s=a.os.family||"",l="Android"===s,u="Windows"===s.slice(0,7),c="OS X"===s,d="iOS"===s,h="Blink"===a.layout,f="Gecko"===a.layout,p="Trident"===a.layout,m="EdgeHTML"===a.layout,v="WebKit"===a.layout,g=parseFloat(a.version),b=Math.floor(g);a.majorVersion=b,a.is={ANDROID:l,WINDOWS:u,OSX:c,IOS:d,BLINK:h,GECKO:f,TRIDENT:p,EDGE:m,WEBKIT:v,IE9:p&&9===b,IE10:p&&10===b,IE11:p&&11===b},t.default=a,e.exports=t.default},function(e,t,n){var i=n(2),r=n(17),o=n(16),a=n(41)("src"),s=n(192),l=(""+s).split("toString");n(9).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(o(n,"name")||r(n,"name",t)),e[t]!==n&&(u&&(o(n,a)||r(n,a,e[t]?""+e[t]:l.join(String(t)))),e===i?e[t]=n:s?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t,n){var i=n(0),r=n(3),o=n(33),a=/"/g,s=function(e,t,n,i){var r=String(o(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(i).replace(a,""")+'"'),s+">"+r+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),i(i.P+i.F*r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var i=n(11),r=n(40);e.exports=n(10)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(59),r=n(33);e.exports=function(e){return i(r(e))}},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return V||((V=r.default.get()).time||(r.default.set((e=(0,i.default)(q),Object.keys(W).forEach((function(t){e[t]=W[t]()})),e)),V=r.default.get()),V);var e};var i=$(n(378)),r=$(n(380)),o=$(n(160)),a=$(n(381)),s=$(n(382)),l=$(n(383)),u=$(n(384)),c=$(n(386)),d=$(n(388)),h=$(n(389)),f=$(n(390)),p=$(n(391)),m=$(n(392)),v=$(n(393)),g=$(n(394)),b=$(n(395)),y=$(n(396)),w=$(n(397)),x=$(n(398)),S=$(n(399)),_=$(n(400)),k=$(n(401)),E=$(n(402)),C=$(n(403)),T=$(n(404)),M=$(n(405)),A=$(n(406)),P=$(n(407)),O=$(n(408)),L=$(n(409)),I=$(n(410)),D=$(n(411)),N=$(n(412)),j=$(n(413)),F=$(n(414)),R=$(n(415)),B=$(n(416)),z=$(n(417)),H=$(n(419));function $(e){return e&&e.__esModule?e:{default:e}}var W={cssShadowPiercingDeepCombinator:o.default,focusInZeroDimensionObject:y.default,focusObjectSwf:k.default,focusSvgInIframe:j.default,tabsequenceAreaAtImgPosition:H.default},q={focusAreaImgTabindex:a.default,focusAreaTabindex:s.default,focusAreaWithoutHref:l.default,focusAudioWithoutControls:u.default,focusBrokenImageMap:c.default,focusChildrenOfFocusableFlexbox:d.default,focusFieldsetDisabled:h.default,focusFieldset:f.default,focusFlexboxContainer:p.default,focusFormDisabled:m.default,focusImgIsmap:v.default,focusImgUsemapTabindex:g.default,focusInHiddenIframe:b.default,focusInvalidTabindex:w.default,focusLabelTabindex:x.default,focusObjectSvg:_.default,focusObjectSvgHidden:S.default,focusRedirectImgUsemap:E.default,focusRedirectLegend:C.default,focusScrollBody:T.default,focusScrollContainerWithoutOverflow:M.default,focusScrollContainer:A.default,focusSummary:P.default,focusSvgFocusableAttribute:O.default,focusSvgTabindexAttribute:L.default,focusSvgNegativeTabindexAttribute:I.default,focusSvgUseTabindex:D.default,focusSvgForeignobjectTabindex:N.default,focusSvg:F.default,focusTabindexTrailingCharacters:R.default,focusTable:B.default,focusVideoWithoutControls:z.default};var V=null;e.exports=t.default},function(e,t,n){"use strict";var i=n(3);e.exports=function(e,t){return!!e&&i((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){var i=n(22);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},function(e,t,n){var i=n(60),r=n(40),o=n(18),a=n(36),s=n(16),l=n(124),u=Object.getOwnPropertyDescriptor;t.f=n(10)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return r(!i.f.call(e,t),e[t])}},function(e,t,n){var i=n(0),r=n(9),o=n(3);e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],a={};a[e]=t(n),i(i.S+i.F*o((function(){n(1)})),"Object",a)}},function(e,t,n){var i=n(21),r=n(59),o=n(12),a=n(8),s=n(140);e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,c=4==e,d=6==e,h=5==e||d,f=t||s;return function(t,s,p){for(var m,v,g=o(t),b=r(g),y=i(s,p,3),w=a(b.length),x=0,S=n?f(t,w):l?f(t,0):void 0;w>x;x++)if((h||x in b)&&(v=y(m=b[x],x,g),e))if(n)S[x]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:S.push(m)}else if(c)return!1;return d?-1:u||c?c:S}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e)return[];if(Array.isArray(e))return e;if(void 0!==e.nodeType)return[e];if("string"==typeof e&&(e=document.querySelectorAll(e)),void 0!==e.length)return[].slice.call(e,0);throw new TypeError("unexpected input "+String(e))},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e?e.nodeType===Node.DOCUMENT_NODE?e:e.ownerDocument||document:document},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=[],i=(0,o.default)({label:"get/parents",context:t});i;)n.push(i),(i=i.parentNode)&&i.nodeType!==Node.ELEMENT_NODE&&(i=null);return n};var i,r=n(6),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){e.exports=function(){"use strict";var e="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,t="undefined"==typeof window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,n=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};function i(i,r){var o=[],a=0;if(i&&!r&&i instanceof n)return i;if(i)if("string"==typeof i){var s,l,u=i.trim();if(u.indexOf("<")>=0&&u.indexOf(">")>=0){var c="div";for(0===u.indexOf("<li")&&(c="ul"),0===u.indexOf("<tr")&&(c="tbody"),0!==u.indexOf("<td")&&0!==u.indexOf("<th")||(c="tr"),0===u.indexOf("<tbody")&&(c="table"),0===u.indexOf("<option")&&(c="select"),(l=e.createElement(c)).innerHTML=u,a=0;a<l.childNodes.length;a+=1)o.push(l.childNodes[a])}else for(s=r||"#"!==i[0]||i.match(/[ .<>:~]/)?(r||e).querySelectorAll(i.trim()):[e.getElementById(i.trim().split("#")[1])],a=0;a<s.length;a+=1)s[a]&&o.push(s[a])}else if(i.nodeType||i===t||i===e)o.push(i);else if(i.length>0&&i[0].nodeType)for(a=0;a<i.length;a+=1)o.push(i[a]);return new n(o)}function r(e){for(var t=[],n=0;n<e.length;
vendor: 4,187 bytes, line 2
2n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}i.fn=n.prototype,i.Class=n,i.Dom7=n;var o={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.add(t[n]);return this},removeClass:function(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.remove(t[n]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),n=0;n<t.length;n+=1)for(var i=0;i<this.length;i+=1)void 0!==this[i]&&void 0!==this[i].classList&&this[i].classList.toggle(t[n]);return this},attr:function(e,t){var n=arguments;if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(var i=0;i<this.length;i+=1)if(2===n.length)this[i].setAttribute(e,t);else for(var r in e)this[i][r]=e[r],this[i].setAttribute(r,e[r]);return this},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var n;if(void 0!==t){for(var i=0;i<this.length;i+=1)(n=this[i]).dom7ElementDataStorage||(n.dom7ElementDataStorage={}),n.dom7ElementDataStorage[e]=t;return this}if(n=this[0]){if(n.dom7ElementDataStorage&&e in n.dom7ElementDataStorage)return n.dom7ElementDataStorage[e];var r=n.getAttribute("data-"+e);return r||void 0}},transform:function(e){for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransform=e,n.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var n=this[t].style;n.webkitTransitionDuration=e,n.transitionDuration=e}return this},on:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=t[0],o=t[1],a=t[2],s=t[3];function l(e){var t=e.target;if(t){var n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),i(t).is(o))a.apply(t,n);else for(var r=i(t).parents(),s=0;s<r.length;s+=1)i(r[s]).is(o)&&a.apply(r[s],n)}}function u(e){var t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),a.apply(this,t)}"function"==typeof t[1]&&(r=(e=t)[0],a=e[1],s=e[2],o=void 0),s||(s=!1);for(var c,d=r.split(" "),h=0;h<this.length;h+=1){var f=this[h];if(o)for(c=0;c<d.length;c+=1){var p=d[c];f.dom7LiveListeners||(f.dom7LiveListeners={}),f.dom7LiveListeners[p]||(f.dom7LiveListeners[p]=[]),f.dom7LiveListeners[p].push({listener:a,proxyListener:l}),f.addEventListener(p,l,s)}else for(c=0;c<d.length;c+=1){var m=d[c];f.dom7Listeners||(f.dom7Listeners={}),f.dom7Listeners[m]||(f.dom7Listeners[m]=[]),f.dom7Listeners[m].push({listener:a,proxyListener:u}),f.addEventListener(m,u,s)}}return this},off:function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];var i=t[0],r=t[1],o=t[2],a=t[3];"function"==typeof t[1]&&(i=(e=t)[0],o=e[1],a=e[2],r=void 0),a||(a=!1);for(var s=i.split(" "),l=0;l<s.length;l+=1)for(var u=s[l],c=0;c<this.length;c+=1){var d=this[c],h=void 0;if(!r&&d.dom7Listeners?h=d.dom7Listeners[u]:r&&d.dom7LiveListeners&&(h=d.dom7LiveListeners[u]),h&&h.length)for(var f=h.length-1;f>=0;f-=1){var p=h[f];o&&p.listener===o||o&&p.listener&&p.listener.dom7proxy&&p.listener.dom7proxy===o?(d.removeEventListener(u,p.proxyListener,a),h.splice(f,1)):o||(d.removeEventListener(u,p.proxyListener,a),h.splice(f,1))}}return this},trigger:function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];for(var r=n[0].split(" "),o=n[1],a=0;a<r.length;a+=1)for(var s=r[a],l=0;l<this.length;l+=1){var u=this[l],c=void 0;try{c=new t.CustomEvent(s,{detail:o,bubbles:!0,cancelable:!0})}catch(t){(c=e.createEvent("Event")).initEvent(s,!0,!0),c.detail=o}u.dom7EventData=n.filter((function(e,t){return t>0})),u.dispatchEvent(c),u.dom7EventData=[],delete u.dom7EventData}return this},transitionEnd:function(e){var t,n=["webkitTransitionEnd","transitionend"],i=this;function r(o){if(o.target===this)for(e.call(this,o),t=0;t<n.length;t+=1)i.off(n[t],r)}if(e)for(t=0;t<n.length;t+=1)i.on(n[t],r);return this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+
vendor: 8,144 bytes, line 2
2parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(this.length>0){var n=this[0],i=n.getBoundingClientRect(),r=e.body,o=n.clientTop||r.clientTop||0,a=n.clientLeft||r.clientLeft||0,s=n===t?t.scrollY:n.scrollTop,l=n===t?t.scrollX:n.scrollLeft;return{top:i.top+s-o,left:i.left+l-a}}return null},css:function(e,n){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var r in e)this[i].style[r]=e[r];return this}if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=n;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(r){var o,a,s=this[0];if(!s||void 0===r)return!1;if("string"==typeof r){if(s.matches)return s.matches(r);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(r);if(s.msMatchesSelector)return s.msMatchesSelector(r);for(o=i(r),a=0;a<o.length;a+=1)if(o[a]===s)return!0;return!1}if(r===e)return s===e;if(r===t)return s===t;if(r.nodeType||r instanceof n){for(o=r.nodeType?[r]:r,a=0;a<o.length;a+=1)if(o[a]===s)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,i=this.length;return new n(e>i-1?[]:e<0?(t=i+e)<0?[]:[this[t]]:[this[e]])},append:function(){for(var t,i=[],r=arguments.length;r--;)i[r]=arguments[r];for(var o=0;o<i.length;o+=1){t=i[o];for(var a=0;a<this.length;a+=1)if("string"==typeof t){var s=e.createElement("div");for(s.innerHTML=t;s.firstChild;)this[a].appendChild(s.firstChild)}else if(t instanceof n)for(var l=0;l<t.length;l+=1)this[a].appendChild(t[l]);else this[a].appendChild(t)}return this},prepend:function(t){var i,r;for(i=0;i<this.length;i+=1)if("string"==typeof t){var o=e.createElement("div");for(o.innerHTML=t,r=o.childNodes.length-1;r>=0;r-=1)this[i].insertBefore(o.childNodes[r],this[i].childNodes[0])}else if(t instanceof n)for(r=0;r<t.length;r+=1)this[i].insertBefore(t[r],this[i].childNodes[0]);else this[i].insertBefore(t,this[i].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&i(this[0].nextElementSibling).is(e)?new n([this[0].nextElementSibling]):new n([]):this[0].nextElementSibling?new n([this[0].nextElementSibling]):new n([]):new n([])},nextAll:function(e){var t=[],r=this[0];if(!r)return new n([]);for(;r.nextElementSibling;){var o=r.nextElementSibling;e?i(o).is(e)&&t.push(o):t.push(o),r=o}return new n(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&i(t.previousElementSibling).is(e)?new n([t.previousElementSibling]):new n([]):t.previousElementSibling?new n([t.previousElementSibling]):new n([])}return new n([])},prevAll:function(e){var t=[],r=this[0];if(!r)return new n([]);for(;r.previousElementSibling;){var o=r.previousElementSibling;e?i(o).is(e)&&t.push(o):t.push(o),r=o}return new n(t)},parent:function(e){for(var t=[],n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?i(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return i(r(t))},parents:function(e){for(var t=[],n=0;n<this.length;n+=1)for(var o=this[n].parentNode;o;)e?i(o).is(e)&&t.push(o):t.push(o),o=o.parentNode;return i(r(t))},closest:function(e){var t=this;return void 0===e?new n([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var r=this[i].querySelectorAll(e),o=0;o<r.length;o+=1)t.push(r[o]);return new n(t)},children:function(e){for(var t=[],o=0;o<this.length;o+=1)for(var a=this[o].childNodes,s=0;s<a.length;s+=1)e?1===a[s].nodeType&&i(a[s]).is(e)&&t.push(a[s]):1===a[s].nodeType&&t.push(a[s]);return new n(r(t))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r,o=this;for(n=0;n<e.length;n+=1){var a=i(e[n]);for(r=0;r<a.length;r+=1)o[o.length]=a[r],o.length+=1}return o},styles:function(){return this[0]?t.getComputedStyle(this[0],null):{}}};Object.keys(o).forEach((function(e){i.fn[e]=i.fn[e]||o[e]}));var a,s,l,u={deleteProps:function(e){var t=e;Object.keys(t).forEach((function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,n){var i,r,o;void 0===n&&(n="x");var a=t.getComputedStyle(e,null);return t.WebKitCSSMatrix?((r=a.transform||a.webkitTransform).split(",").length>6&&(r=r.split(", ").map((function(e){return e.replace(",",".")})).join(", ")),o=new t.WebKitCSSMatrix("none"===r?"":r)):i=(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===n&&(r=t.WebKitCSSMatrix?o.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===n&&(r=t.WebKitCSSMatrix?o.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0},parseUrlQuery:function(e){var n,i,r,o,a={},s=e||t.location.href;if("string"==typeof s&&s.length)for(o=(i=(s=s.indexOf("?")>-1?s.replace(/\S*\?/,""):"").split("&").filter((function(e){return""!==e}))).length,n=0;n<o;n+=1)r=i[n].replace(/#\S+/g,"").split("="),a[decodeURIComponent(r[0])]=void 0===r[1]?void 0:decodeURIComponent(r[1])||"";return a},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=Object(e[0]),i=1;i<e.length;i+=1){var r=e[i];if(null!=r)for(var o=Object.keys(Object(r)),a=0,s=o.length;a<s;a+=1){var l=o[a],c=Object.getOwnPropertyDescriptor(r,l);void 0!==c&&c.enumerable&&(u.isObject(n[l])&&u.isObject(r[l])?u.extend(n[l],r[l]):!u.isObject(n[l])&&u.isObject(r[l])?(n[l]={},u.extend(n[l],r[l])):n[l]=r[l])}}return n}},c=(l=e.createElement("div"),{touch:t.Modernizr&&!0===t.Modernizr.touch||!!(t.navigator.maxTouchPoints>0||"ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!(t.navigator.pointerEnabled||t.PointerEvent||"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>0),prefixedPointerEvents:!!t.navigator.msPointerEnabled,transition:(s=l.style,"transition"in s||"webkitTransition"in s||"MozTransition"in s),transforms3d:t.Modernizr&&!0===t.Modernizr.csstransforms3d||function(){var e=l.style;return"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e}(),flexbox:function(){for(var e=l.style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),n=0;n<t.length;n+=1)if(t[n]in e)return!0;return!1}(),observer:"MutationObserver"in t||"WebkitMutationObserver"in t,passiveListener:function(){var e=!1;try{var n=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,n)}catch(e){}return e}(),gestures:"ongesturestart"in t}),d={isIE:!!t.navigator.userAgent.match(/Trident/g)||!!t.navigator.userAgent.match(/MSIE/g),isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(a=t.navigator.userAgent.toLowerCase(),a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)},h=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={}
2,t.params&&t.params.on&&Object.keys(t.params.on).forEach((function(e){t.on(e,t.params.on[e])}))},f={components:{configurable:!0}};h.prototype.on=function(e,t,n){var i=this;if("function"!=typeof t)return i;var r=n?"unshift":"push";return e.split(" ").forEach((function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)})),i},h.prototype.once=function(e,t,n){var i=this;if("function"!=typeof t)return i;function r(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];t.apply(i,n),i.off(e,r),r.f7proxy&&delete r.f7proxy}return r.f7proxy=t,i.on(e,r,n)},h.prototype.off=function(e,t){var n=this;return n.eventsListeners?(e.split(" ").forEach((function(e){void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].length&&n.eventsListeners[e].forEach((function(i,r){(i===t||i.f7proxy&&i.f7proxy===t)&&n.eventsListeners[e].splice(r,1)}))})),n):n},h.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,i,r,o=this;if(!o.eventsListeners)return o;"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],i=e.slice(1,e.length),r=o):(n=e[0].events,i=e[0].data,r=e[0].context||o);var a=Array.isArray(n)?n:n.split(" ");return a.forEach((function(e){if(o.eventsListeners&&o.eventsListeners[e]){var t=[];o.eventsListeners[e].forEach((function(e){t.push(e)})),t.forEach((function(e){e.apply(r,i)}))}})),o},h.prototype.useModulesParams=function(e){var t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var i=t.modules[n];i.params&&u.extend(e,i.params)}))},h.prototype.useModules=function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach((function(n){var i=t.modules[n],r=e[n]||{};i.instance&&Object.keys(i.instance).forEach((function(e){var n=i.instance[e];t[e]="function"==typeof n?n.bind(t):n})),i.on&&t.on&&Object.keys(i.on).forEach((function(e){t.on(e,i.on[e])})),i.create&&i.create.bind(t)(r)}))},f.components.set=function(e){this.use&&this.use(e)},h.installModule=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this;i.prototype.modules||(i.prototype.modules={});var r=e.name||Object.keys(i.prototype.modules).length+"_"+u.now();return i.prototype.modules[r]=e,e.proto&&Object.keys(e.proto).forEach((function(t){i.prototype[t]=e.proto[t]})),e.static&&Object.keys(e.static).forEach((function(t){i[t]=e.static[t]})),e.install&&e.install.apply(i,t),i},h.use=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this;return Array.isArray(e)?(e.forEach((function(e){return i.installModule(e)})),i):i.installModule.apply(i,[e].concat(t))},Object.defineProperties(h,f);var p={updateSize:function(){var e,t,n=this.$el;e=void 0!==this.params.width?this.params.width:n[0].clientWidth,t=void 0!==this.params.height?this.params.height:n[0].clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(n.css("padding-left"),10)-parseInt(n.css("padding-right"),10),t=t-parseInt(n.css("padding-top"),10)-parseInt(n.css("padding-bottom"),10),u.extend(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e=this.params,n=this.$wrapperEl,i=this.size,r=this.rtlTranslate,o=this.wrongRTL,a=this.virtual&&e.virtual.enabled,s=a?this.virtual.slides.length:this.slides.length,l=n.children("."+this.params.slideClass),h=a?this.virtual.slides.length:l.length,f=[],p=[],m=[],v=e.slidesOffsetBefore;"function"==typeof v&&(v=e.slidesOffsetBefore.call(this));var g=e.slidesOffsetAfter;"function"==typeof g&&(g=e.slidesOffsetAfter.call(this));var b=this.snapGrid.length,y=this.snapGrid.length,w=e.spaceBetween,x=-v,S=0,_=0;if(void 0!==i){var k,E;"string"==typeof w&&w.indexOf("%")>=0&&(w=parseFloat(w.replace("%",""))/100*i),this.virtualSize=-w,r?l.css({marginLeft:"",marginTop:""}):l.css({marginRight:"",marginBottom:""}),e.slidesPerColumn>1&&(k=Math.floor(h/e.slidesPerColumn)===h/this.params.slidesPerColumn?h:Math.ceil(h/e.slidesPerColumn)*e.slidesPerColumn,"auto"!==e.slidesPerView&&"row"===e.slidesPerColumnFill&&(k=Math.max(k,e.slidesPerView*e.slidesPerColumn)));for(var C,T=e.slidesPerColumn,M=k/T,A=Math.floor(h/e.slidesPerColumn),P=0;P<h;P+=1){E=0;var O=l.eq(P);if(e.slidesPerColumn>1){var L=void 0,I=void 0,D=void 0;if("column"===e.slidesPerColumnFill||"row"===e.slidesPerColumnFill&&e.slidesPerGroup>1){if("column"===e.slidesPerColumnFill)D=P-(I=Math.floor(P/T))*T,(I>A||I===A&&D===T-1)&&(D+=1)>=T&&(D=0,I+=1);else{var N=Math.floor(P/e.slidesPerGroup);I=P-(D=Math.floor(P/e.slidesPerView)-N*e.slidesPerColumn)*e.slidesPerView-N*e.slidesPerView}L=I+D*k/T,O.css({"-webkit-box-ordinal-group":L,"-moz-box-ordinal-group":L,"-ms-flex-order":L,"-webkit-order":L,order:L})}else I=P-(D=Math.floor(P/M))*M;O.css("margin-"+(this.isHorizontal()?"top":"left"),0!==D&&e.spaceBetween&&e.spaceBetween+"px").attr("data-swiper-column",I).attr("data-swiper-row",D)}if("none"!==O.css("display")){if("auto"===e.slidesPerView){var j=t.getComputedStyle(O[0],null),F=O[0].style.transform,R=O[0].style.webkitTransform;if(F&&(O[0].style.transform="none"),R&&(O[0].style.webkitTransform="none"),e.roundLengths)E=this.isHorizontal()?O.outerWidth(!0):O.outerHeight(!0);else if(this.isHorizontal()){var B=parseFloat(j.getPropertyValue("width")),z=parseFloat(j.getPropertyValue("padding-left")),H=parseFloat(j.getPropertyValue("padding-right")),$=parseFloat(j.getPropertyValue("margin-left")),W=parseFloat(j.getPropertyValue("margin-right")),q=j.getPropertyValue("box-sizing");E=q&&"border-box"===q&&!d.isIE?B+$+W:B+z+H+$+W}else{var V=parseFloat(j.getPropertyValue("height")),Y=parseFloat(j.getPropertyValue("padding-top")),U=parseFloat(j.getPropertyValue("padding-bottom")),G=parseFloat(j.getPropertyValue("margin-top")),X=parseFloat(j.getPropertyValue("margin-bottom")),K=j.getPropertyValue("box-sizing");E=K&&"border-box"===K&&!d.isIE?V+G+X:V+Y+U+G+X}F&&(O[0].style.transform=F),R&&(O[0].style.webkitTransform=R),e.roundLengths&&(E=Math.floor(E))}else E=(i-(e.slidesPerView-1)*w)/e.slidesPerView,e.roundLengths&&(E=Math.floor(E)),l[P]&&(this.isHorizontal()?l[P].style.width=E+"px":l[P].style.height=E+"px");l[P]&&(l[P].swiperSlideSize=E),m.push(E),e.centeredSlides?(x=x+E/2+S/2+w,0===S&&0!==P&&(x=x-i/2-w),0===P&&(x=x-i/2-w),Math.abs(x)<.001&&(x=0),e.roundLengths&&(x=Math.floor(x)),_%e.slidesPerGroup==0&&f.push(x),p.push(x)):(e.roundLengths&&(x=Math.floor(x)),_%e.slidesPerGroup==0&&f.push(x),p.push(x),x=x+E+w),this.virtualSize+=E+w,S=E,_+=1}}if(this.virtualSize=Math.max(this.virtualSize,i)+g,r&&o&&("slide"===e.effect||"coverflow"===e.effect)&&n.css({width:this.virtualSize+e.spaceBetween+"px"}),c.flexbox&&!e.setWrapperSize||(this.isHorizontal()?n.css({width:this.virtualSize+e.spaceBetween+"px"}):n.css({height:this.virtualSize+e.spaceBetween+"px"})),e.slidesPerColumn>1&&(this.virtualSize=(E+e.spaceBetween)*k,this.virtualSize=Math.ceil(this.virtualSize/e.slidesPerColumn)-e.spaceBetween,this.isHorizontal()?n.css({width:this.virtualSize+e.spaceBetween+"px"}):n.css({height:this.virtualSize+e.spaceBetween+"px"}),e.centeredSlides)){C=[];for(var Z=0;Z<f.length;Z+=1){var J=f[Z];e.roundLengths&&(J=Math.floor(J)),f[Z]<this.virtualSize+f[0]&&C.push(J)}f=C}if(!e.centeredSlides){C=[];for(var Q=0;Q<f.length;Q+=1){var ee=f[Q];e.roundLengths&&(ee=Math.floor(ee)),f[Q]<=this.virtualSize-i&&C.push(ee)}f=C,Math.floor(this.virtualSize-i)-Math.floor(f[f.length-1])>1&&f.push(this.virtualSize-i)}if(0===f.length&&(f=[0]),0!==e.spaceBetween&&(this.isHorizontal()?r?l.css({marginLeft:w+"px"}):l.css({marginRight:w+"px"}):l.css({marginBottom:w+"px"})),e.centerInsufficientSlides){var te=0;
2if(m.forEach((function(t){te+=t+(e.spaceBetween?e.spaceBetween:0)})),(te-=e.spaceBetween)<i){var ne=(i-te)/2;f.forEach((function(e,t){f[t]=e-ne})),p.forEach((function(e,t){p[t]=e+ne}))}}u.extend(this,{slides:l,snapGrid:f,slidesGrid:p,slidesSizesGrid:m}),h!==s&&this.emit("slidesLengthChange"),f.length!==b&&(this.params.watchOverflow&&this.checkOverflow(),this.emit("snapGridLengthChange")),p.length!==y&&this.emit("slidesGridLengthChange"),(e.watchSlidesProgress||e.watchSlidesVisibility)&&this.updateSlidesOffset()}},updateAutoHeight:function(e){var t,n=[],i=0;if("number"==typeof e?this.setTransition(e):!0===e&&this.setTransition(this.params.speed),"auto"!==this.params.slidesPerView&&this.params.slidesPerView>1)for(t=0;t<Math.ceil(this.params.slidesPerView);t+=1){var r=this.activeIndex+t;if(r>this.slides.length)break;n.push(this.slides.eq(r)[0])}else n.push(this.slides.eq(this.activeIndex)[0]);for(t=0;t<n.length;t+=1)if(void 0!==n[t]){var o=n[t].offsetHeight;i=o>i?o:i}i&&this.$wrapperEl.css("height",i+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,n=this.slides,r=this.rtlTranslate;if(0!==n.length){void 0===n[0].swiperSlideOffset&&this.updateSlidesOffset();var o=-e;r&&(o=e),n.removeClass(t.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var a=0;a<n.length;a+=1){var s=n[a],l=(o+(t.centeredSlides?this.minTranslate():0)-s.swiperSlideOffset)/(s.swiperSlideSize+t.spaceBetween);if(t.watchSlidesVisibility){var u=-(o-s.swiperSlideOffset),c=u+this.slidesSizesGrid[a];(u>=0&&u<this.size-1||c>1&&c<=this.size||u<=0&&c>=this.size)&&(this.visibleSlides.push(s),this.visibleSlidesIndexes.push(a),n.eq(a).addClass(t.slideVisibleClass))}s.progress=r?-l:l}this.visibleSlides=i(this.visibleSlides)}},updateProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,n=this.maxTranslate()-this.minTranslate(),i=this.progress,r=this.isBeginning,o=this.isEnd,a=r,s=o;0===n?(i=0,r=!0,o=!0):(r=(i=(e-this.minTranslate())/n)<=0,o=i>=1),u.extend(this,{progress:i,isBeginning:r,isEnd:o}),(t.watchSlidesProgress||t.watchSlidesVisibility)&&this.updateSlidesProgress(e),r&&!a&&this.emit("reachBeginning toEdge"),o&&!s&&this.emit("reachEnd toEdge"),(a&&!r||s&&!o)&&this.emit("fromEdge"),this.emit("progress",i)},updateSlidesClasses:function(){var e,t=this.slides,n=this.params,i=this.$wrapperEl,r=this.activeIndex,o=this.realIndex,a=this.virtual&&n.virtual.enabled;t.removeClass(n.slideActiveClass+" "+n.slideNextClass+" "+n.slidePrevClass+" "+n.slideDuplicateActiveClass+" "+n.slideDuplicateNextClass+" "+n.slideDuplicatePrevClass),(e=a?this.$wrapperEl.find("."+n.slideClass+'[data-swiper-slide-index="'+r+'"]'):t.eq(r)).addClass(n.slideActiveClass),n.loop&&(e.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+o+'"]').addClass(n.slideDuplicateActiveClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+o+'"]').addClass(n.slideDuplicateActiveClass));var s=e.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&0===s.length&&(s=t.eq(0)).addClass(n.slideNextClass);var l=e.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);
2n.loop&&0===l.length&&(l=t.eq(-1)).addClass(n.slidePrevClass),n.loop&&(s.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass),l.hasClass(n.slideDuplicateClass)?i.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass):i.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,n=this.rtlTranslate?this.translate:-this.translate,i=this.slidesGrid,r=this.snapGrid,o=this.params,a=this.activeIndex,s=this.realIndex,l=this.snapIndex,c=e;if(void 0===c){for(var d=0;d<i.length;d+=1)void 0!==i[d+1]?n>=i[d]&&n<i[d+1]-(i[d+1]-i[d])/2?c=d:n>=i[d]&&n<i[d+1]&&(c=d+1):n>=i[d]&&(c=d);o.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if((t=r.indexOf(n)>=0?r.indexOf(n):Math.floor(c/o.slidesPerGroup))>=r.length&&(t=r.length-1),c!==a){var h=parseInt(this.slides.eq(c).attr("data-swiper-slide-index")||c,10);u.extend(this,{snapIndex:t,realIndex:h,previousIndex:a,activeIndex:c}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),s!==h&&this.emit("realIndexChange"),(this.initialized||this.runCallbacksOnInit)&&this.emit("slideChange")}else t!==l&&(this.snapIndex=t,this.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this.params,n=i(e.target).closest("."+t.slideClass)[0],r=!1;if(n)for(var o=0;o<this.slides.length;o+=1)this.slides[o]===n&&(r=!0);if(!n||!r)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=n,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(i(n).attr("data-swiper-slide-index"),10):this.clickedIndex=i(n).index(),t.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},m={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,n=this.rtlTranslate,i=this.translate,r=this.$wrapperEl;if(t.virtualTranslate)return n?-i:i;var o=u.getTranslate(r[0],e);return n&&(o=-o),o||0},setTranslate:function(e,t){var n=this.rtlTranslate,i=this.params,r=this.$wrapperEl,o=this.progress,a=0,s=0;this.isHorizontal()?a=n?-e:e:s=e,i.roundLengths&&(a=Math.floor(a),s=Math.floor(s)),i.virtualTranslate||(c.transforms3d?r.transform("translate3d("+a+"px, "+s+"px, 0px)"):r.transform("translate("+a+"px, "+s+"px)")),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?a:s;var l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==o&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}},v={setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var n=this.activeIndex,i=this.params,r=this.previousIndex;i.autoHeight&&this.updateAutoHeight();var o=t;if(o||(o=n>r?"next":n<r?"prev":"reset"),this.emit("transitionStart"),e&&n!==r){if("reset"===o)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===o?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}},transitionEnd:function(e,t){void 0===e&&(e=!0);var n=this.activeIndex,i=this.previousIndex;this.animating=!1,this.setTransition(0);var r=t;if(r||(r=n>i?"next":n<i?"prev":"reset"),this.emit("transitionEnd"),e&&n!==i){if("reset"===r)return void this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),"next"===r?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")}}},g={slideTo:function(e,t,n,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0);var r=this,o=e;o<0&&(o=0);var a=r.params,s=r.snapGrid,l=r.slidesGrid,u=r.previousIndex,d=r.activeIndex,h=r.rtlTranslate;if(r.animating&&a.preventInteractionOnTransition)return!1;var f=Math.floor(o/a.slidesPerGroup);f>=s.length&&(f=s.length-1),(d||a.initialSlide||0)===(u||0)&&n&&r.emit("beforeSlideChangeStart");var p,m=-s[f];if(r.updateProgress(m),a.normalizeSlideIndex)for(var v=0;v<l.length;v+=1)-Math.floor(100*m)>=Math.floor(100*l[v])&&(o=v);if(r.initialized&&o!==d){if(!r.allowSlideNext&&m<r.translate&&m<r.minTranslate())return!1;if(!r.allowSlidePrev&&m>r.translate&&m>r.maxTranslate()&&(d||0)!==o)return!1}return p=o>d?"next":o<d?"prev":"reset",h&&-m===r.translate||!h&&m===r.translate?(r.updateActiveIndex(o),a.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==a.effect&&r.setTranslate(m),"reset"!==p&&(r.transitionStart(n,p),r.transitionEnd(n,p)),!1):(0!==t&&c.transition?(r.setTransition(t),r.setTranslate(m),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(n,p),r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$
2wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(n,p))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd))):(r.setTransition(0),r.setTranslate(m),r.updateActiveIndex(o),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(n,p),r.transitionEnd(n,p)),!0)},slideToLoop:function(e,t,n,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0);var r=e;return this.params.loop&&(r+=this.loopedSlides),this.slideTo(r,t,n,i)},slideNext:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this.params,r=this.animating;return i.loop?!r&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,this.slideTo(this.activeIndex+i.slidesPerGroup,e,t,n)):this.slideTo(this.activeIndex+i.slidesPerGroup,e,t,n)},slidePrev:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this.params,r=this.animating,o=this.snapGrid,a=this.slidesGrid,s=this.rtlTranslate;if(i.loop){if(r)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function l(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var u,c=l(s?this.translate:-this.translate),d=o.map((function(e){return l(e)})),h=(a.map((function(e){return l(e)})),o[d.indexOf(c)],o[d.indexOf(c)-1]);return void 0!==h&&(u=a.indexOf(h))<0&&(u=this.activeIndex-1),this.slideTo(u,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var i=this.activeIndex,r=Math.floor(i/this.params.slidesPerGroup);if(r<this.snapGrid.length-1){var o=this.rtlTranslate?this.translate:-this.translate,a=this.snapGrid[r];o-a>(this.snapGrid[r+1]-a)/2&&(i=this.params.slidesPerGroup)}return this.slideTo(i,e,t,n)},slideToClickedSlide:function(){var e,t=this,n=t.params,r=t.$wrapperEl,o="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,a=t.clickedIndex;if(n.loop){if(t.animating)return;e=parseInt(i(t.clickedSlide).attr("data-swiper-slide-index"),10),n.centeredSlides?a<t.loopedSlides-o/2||a>t.slides.length-t.loopedSlides+o/2?(t.loopFix(),a=r.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),u.nextTick((function(){t.slideTo(a)}))):t.slideTo(a):a>t.slides.length-o?(t.loopFix(),a=r.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+n.slideDuplicateClass+")").eq(0).index(),u.nextTick((function(){t.slideTo(a)}))):t.slideTo(a)}else t.slideTo(a)}},b={loopCreate:function(){var t=this,n=t.params,r=t.$wrapperEl;r.children("."+n.slideClass+"."+n.slideDuplicateClass).remove();var o=r.children("."+n.slideClass);if(n.loopFillGroupWithBlank){var a=n.slidesPerGroup-o.length%n.slidesPerGroup;if(a!==n.slidesPerGroup){for(var s=0;s<a;s+=1){var l=i(e.createElement("div")).addClass(n.slideClass+" "+n.slideBlankClass);r.append(l)}o=r.children("."+n.slideClass)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=o.length),t.loopedSlides=parseInt(n.loopedSlides||n.slidesPerView,10),t.loopedSlides+=n.loopAdditionalSlides,t.loopedSlides>o.length&&(t.loopedSlides=o.length);var u=[],c=[];o.each((function(e,n){var r=i(n);e<t.loopedSlides&&c.push(n),e<o.length&&e>=o.length-t.loopedSlides&&u.push(n),r.attr("data-swiper-slide-index",e)}));for(var d=0;d<c.length;d+=1)r.append(i(c[d].cloneNode(!0)).addClass(n.slideDuplicateClass));for(var h=u.length-1;h>=0;h-=1)r.prepend(i(u[h].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){var e,t=this.params,n=this.activeIndex,i=this.slides,r=this.loopedSlides,o=this.allowSlidePrev,a=this.allowSlideNext,s=this.snapGrid,l=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var u=-s[n]-this.getTranslate();n<r?(e=i.length-3*r+n,e+=r,this.slideTo(e,0,!1,!0)&&0!==u&&this.setTranslate((l?-this.translate:this.translate)-u)):("auto"===t.slidesPerView&&n>=2*r||n>=i.length-r)&&(e=-i.length+n+r,e+=r,this.slideTo(e,0,!1,!0)&&0!==u&&this.setTranslate((l?-this.translate:this.translate)-u)),this.allowSlidePrev=o,this.allowSlideNext=a},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,n=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),n.removeAttr("data-swiper-slide-index")}},y={setGrabCursor:function(e){if(!(c.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){c.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}},w={appendSlide:function(e){var t=this.$wrapperEl,n=this.params;if(n.loop&&this.loopDestroy(),"object"==typeof e&&"length"in e)for(var i=0;i<e.length;i+=1)e[i]&&t.append(e[i]);else t.append(e);n.loop&&this.loopCreate(),n.observer&&c.observer||this.update()},prependSlide:function(e){var t=this.params,n=this.$wrapperEl,i=this.activeIndex;t.loop&&this.loopDestroy();var r=i+1;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)e[o]&&n.prepend(e[o]);r=i+e.length}else n.prepend(e);t.loop&&this.loopCreate(),t.observer&&c.observer||this.update(),this.slideTo(r,0,!1)},addSlide:function(e,t){var n=this.$wrapperEl,i=this.params,r=this.activeIndex;i.loop&&(r-=this.loopedSlides,this.loopDestroy(),this.slides=n.children("."+i.slideClass));var o=this.slides.length;if(e<=0)this.prependSlide(t);else if(e>=o)this.appendSlide(t);else{for(var a=r>e?r+1:r,s=[],l=o-1;l>=e;l-=1){var u=this.slides.eq(l);u.remove(),s.unshift(u)}if("object"==typeof t&&"length"in t){for(var d=0;d<t.length;d+=1)t[d]&&n.append(t[d]);a=r>e?r+t.length:r}else n.append(t);for(var h=0;h<s.length;h+=1)n.append(s[h]);i.loop&&this.loopCreate(),i.observer&&c.observer||this.update(),i.loop?this.slideTo(a+this.loopedSlides,0,!1):this.slideTo(a,0,!1)}},removeSlide:function(e){var t=this.params,n=this.$wrapperEl,i=this.activeIndex;t.loop&&(i-=this.loopedSlides,this.loopDestroy(),this.slides=n.children("."+t.slideClass));var r,o=i;if("object"==typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)r=e[a],this.slides[r]&&this.slides.eq(r).remove(),r<o&&(o-=1);o=Math.max(o,0)}else r=e,this.slides[r]&&this.slides.eq(r).remove(),r<o&&(o-=1),o=Math.max(o,0);t.loop&&this.loopCreate(),t.observer&&c.observer||this.update(),t.loop?this.slideTo(o+this.loopedSlides,0,!1):this.slideTo(o,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},x=function(){var n=t.navigator.userAgent,i={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:t.cordova||t.phonegap,phonegap:t.cordova||t.phonegap},r=n.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),o=n.match(/(Android);?[\s\/]+([\d.]+)?/),a=n.match(/(iPad).*OS\s([\d_]+)/),s=n.match(/(iPod)(.*OS\s([\d_]+))?/),l=!a&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(r&&(i.os="windows",i.osVersion=r[2],i.windows=!0),o&&!r&&(i.os="android",i.osVersion=o[2],i.android=!0,i.androidChrome=n.toLowerCase().indexOf("chrome")>=0),(a||l||s)&&(i.os="ios",i.ios=!0),l&&!s&&(i.osVersion=l[2].replace(/_/g,"."),i.iphone=!0),a&&(i.osVersion=a[2].replace(/_/g,"."),i.ipad=!0),s&&(i.osVersion=s[3]?s[3].replace(/_/g,"."):null,i.iphone=!0),i.ios&&i.osVersion&&n.indexOf("Version/")>=0&&"10"===i.osVersion.split(".")[0]&&(i.osVersion=n.toLowerCase().split("version/")[1].split(" ")[0]),i.desktop=!(i.os||i.android||i.webView),i.webView=(l||a||s)&&n.match(/.*AppleWeb
2Kit(?!.*Safari)/i),i.os&&"ios"===i.os){var u=i.osVersion.split("."),c=e.querySelector('meta[name="viewport"]');i.minimalUi=!i.webView&&(s||l)&&(1*u[0]==7?1*u[1]>=1:1*u[0]>7)&&c&&c.getAttribute("content").indexOf("minimal-ui")>=0}return i.pixelRatio=t.devicePixelRatio||1,i}();function S(n){var r=this.touchEventsData,o=this.params,a=this.touches;if(!this.animating||!o.preventInteractionOnTransition){var s=n;if(s.originalEvent&&(s=s.originalEvent),r.isTouchEvent="touchstart"===s.type,(r.isTouchEvent||!("which"in s)||3!==s.which)&&!(!r.isTouchEvent&&"button"in s&&s.button>0||r.isTouched&&r.isMoved))if(o.noSwiping&&i(s.target).closest(o.noSwipingSelector?o.noSwipingSelector:"."+o.noSwipingClass)[0])this.allowClick=!0;else if(!o.swipeHandler||i(s).closest(o.swipeHandler)[0]){a.currentX="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,a.currentY="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY;var l=a.currentX,c=a.currentY,d=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,h=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(!d||!(l<=h||l>=t.screen.width-h)){if(u.extend(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=l,a.startY=c,r.touchStartTime=u.now(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1),"touchstart"!==s.type){var f=!0;i(s.target).is(r.formElements)&&(f=!1),e.activeElement&&i(e.activeElement).is(r.formElements)&&e.activeElement!==s.target&&e.activeElement.blur();var p=f&&this.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||p)&&s.preventDefault()}this.emit("touchStart",s)}}}}function _(t){var n=this.touchEventsData,r=this.params,o=this.touches,a=this.rtlTranslate,s=t;if(s.originalEvent&&(s=s.originalEvent),n.isTouched){if(!n.isTouchEvent||"mousemove"!==s.type){var l="touchmove"===s.type?s.targetTouches[0].pageX:s.pageX,c="touchmove"===s.type?s.targetTouches[0].pageY:s.pageY;if(s.preventedByNestedSwiper)return o.startX=l,void(o.startY=c);if(!this.allowTouchMove)return this.allowClick=!1,void(n.isTouched&&(u.extend(o,{startX:l,startY:c,currentX:l,currentY:c}),n.touchStartTime=u.now()));if(n.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(this.isVertical()){if(c<o.startY&&this.translate<=this.maxTranslate()||c>o.startY&&this.translate>=this.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(l<o.startX&&this.translate<=this.maxTranslate()||l>o.startX&&this.translate>=this.minTranslate())return;if(n.isTouchEvent&&e.activeElement&&s.target===e.activeElement&&i(s.target).is(n.formElements))return n.isMoved=!0,void(this.allowClick=!1);if(n.allowTouchCallbacks&&this.emit("touchMove",s),!(s.targetTouches&&s.targetTouches.length>1)){o.currentX=l,o.currentY=c;var d,h=o.currentX-o.startX,f=o.currentY-o.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(h,2)+Math.pow(f,2))<this.params.threshold))if(void 0===n.isScrolling&&(this.isHorizontal()&&o.currentY===o.startY||this.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:h*h+f*f>=25&&(d=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,n.isScrolling=this.isHorizontal()?d>r.touchAngle:90-d>r.touchAngle)),n.isScrolling&&this.emit("touchMoveOpposite",s),void 0===n.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(n.startMoving=!0)),n.isScrolling)n.isTouched=!1;else if(n.startMoving){this.allowClick=!1,s.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&s.stopPropagation(),n.isMoved||(r.loop&&this.loopFix(),n.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!r.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",s)),this.emit("sliderMove",s),n.isMoved=!0;var p=this.isHorizontal()?h:f;o.diff=p,p*=r.touchRatio,a&&(p=-p),this.swipeDirection=p>0?"prev":"next",n.currentTranslate=p+n.startTranslate;var m=!0,v=r.resistanceRatio;if(r.touchReleaseOnEdges&&(v=0),p>0&&n.currentTranslate>this.minTranslate()?(m=!1,r.resistance&&(n.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+n.startTranslate+p,v))):p<0&&n.currentTranslate<this.maxTranslate()&&(m=!1,r.resistance&&(n.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-n.startTranslate-p,v))),m&&(s.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),r.threshold>0){if(!(Math.abs(p)>r.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
2if(!n.allowThresholdMove)return n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,void(o.diff=this.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&((r.freeMode||r.watchSlidesProgress||r.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),r.freeMode&&(0===n.velocities.length&&n.velocities.push({position:o[this.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:o[this.isHorizontal()?"currentX":"currentY"],time:u.now()})),this.updateProgress(n.currentTranslate),this.setTranslate(n.currentTranslate))}}}}else n.startMoving&&n.isScrolling&&this.emit("touchMoveOpposite",s)}function k(e){var t=this,n=t.touchEventsData,i=t.params,r=t.touches,o=t.rtlTranslate,a=t.$wrapperEl,s=t.slidesGrid,l=t.snapGrid,c=e;if(c.originalEvent&&(c=c.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",c),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&i.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);i.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var d,h=u.now(),f=h-n.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(c),t.emit("tap",c),f<300&&h-n.lastClickTime>300&&(n.clickTimeout&&clearTimeout(n.clickTimeout),n.clickTimeout=u.nextTick((function(){t&&!t.destroyed&&t.emit("click",c)}),300)),f<300&&h-n.lastClickTime<300&&(n.clickTimeout&&clearTimeout(n.clickTimeout),t.emit("doubleTap",c))),n.lastClickTime=u.now(),u.nextTick((function(){t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===r.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,d=i.followFinger?o?t.translate:-t.translate:-n.currentTranslate,i.freeMode){if(d<-t.minTranslate())return void t.slideTo(t.activeIndex);if(d>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(i.freeModeMomentum){if(n.velocities.length>1){var p=n.velocities.pop(),m=n.velocities.pop(),v=p.position-m.position,g=p.time-m.time;t.velocity=v/g,t.velocity/=2,Math.abs(t.velocity)<i.freeModeMinimumVelocity&&(t.velocity=0),(g>150||u.now()-p.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=i.freeModeMomentumVelocityRatio,n.velocities.length=0;var b=1e3*i.freeModeMomentumRatio,y=t.velocity*b,w=t.translate+y;o&&(w=-w);var x,S,_=!1,k=20*Math.abs(t.velocity)*i.freeModeMomentumBounceRatio;if(w<t.maxTranslate())i.freeModeMomentumBounce?(w+t.maxTranslate()<-k&&(w=t.maxTranslate()-k),x=t.maxTranslate(),_=!0,n.allowMomentumBounce=!0):w=t.maxTranslate(),i.loop&&i.centeredSlides&&(S=!0);else if(w>t.minTranslate())i.freeModeMomentumBounce?(w-t.minTranslate()>k&&(w=t.minTranslate()+k),x=t.minTranslate(),_=!0,n.allowMomentumBounce=!0):w=t.minTranslate(),i.loop&&i.centeredSlides&&(S=!0);else if(i.freeModeSticky){for(var E,C=0;C<l.length;C+=1)if(l[C]>-w){E=C;break}w=-(w=Math.abs(l[E]-w)<Math.abs(l[E-1]-w)||"next"===t.swipeDirection?l[E]:l[E-1])}if(S&&t.once("transitionEnd",(function(){t.loopFix()})),0!==t.velocity)b=o?Math.abs((-w-t.translate)/t.velocity):Math.abs((w-t.translate)/t.velocity);else if(i.freeModeSticky)return void t.slideToClosest();i.freeModeMomentumBounce&&_?(t.updateProgress(x),t.setTransition(b),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating=!0,a.transitionEnd((function(){t&&!t.destroyed&&n.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(i.speed),t.setTranslate(x),a.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))}))):t.velocity?(t.updateProgress(w),t.setTransition(b),t.setTranslate(w),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,a.transitionEnd((function(){t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(w),t.updateActiveIndex(),t.updateSlidesClasses()}else if(i.freeModeSticky)return void t.slideToClosest();(!i.freeModeMomentum||f>=i.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var T=0,M=t.slidesSizesGrid[0],A=0;A<s.length;A+=i.slidesPerGroup)void 0!==s[A+i.slidesPerGroup]?d>=s[A]&&d<s[A+i.slidesPerGroup]&&(T=A,M=s[A+i.slidesPerGroup]-s[A]):d>=s[A]&&(T=A,M=s[s.length-1]-s[s.length-2]);var P=(d-s[T])/M;if(f>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(P>=i.longSwipesRatio?t.slideTo(T+i.slidesPerGroup):t.slideTo(T)),"prev"===t.swipeDirection&&(P>1-i.longSwipesRatio?t.slideTo(T+i.slidesPerGroup):t.slideTo(T))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(T+i.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(T)}}}function E(){var e=this.params,t=this.el;if(!t||0!==t.offsetWidth){e.breakpoints&&this.setBreakpoint();var n=this.allowSlideNext,i=this.allowSlidePrev,r=this.snapGrid;if(this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),e.freeMode){var o=Math.min(Math.max(this.translate,this.maxTranslate()),this.minTranslate());this.setTranslate(o),this.updateActiveIndex(),this.updateSlidesClasses(),e.autoHeight&&this.updateAutoHeight()}else this.updateSlidesClasses(),("auto"===e.slidesPerView||e.slidesPerView>1)&&this.isEnd&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0);this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=i,this.allowSlideNext=n,this.params.watchOverflow&&r!==this.snapGrid&&this.checkOverflow()}}function C(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}var T={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},M={update:p,translate:m,transition:v,slide:g,loop:b,grabCursor:y,manipulation:w,events:{attachEvents:function(){var t=this.params,n=this.touchEvents,i=this.el,r=this.wrapperEl;this.onTouchStart=S.bind(this),this.onTouchMove=_.bind(this),this.onTouchEnd=k.bind(this),this.onClick=C.bind(this);var o="container"===t.touchEventsTarget?i:r,a=!!t.nested;
2if(c.touch||!c.pointerEvents&&!c.prefixedPointerEvents){if(c.touch){var s=!("touchstart"!==n.start||!c.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};o.addEventListener(n.start,this.onTouchStart,s),o.addEventListener(n.move,this.onTouchMove,c.passiveListener?{passive:!1,capture:a}:a),o.addEventListener(n.end,this.onTouchEnd,s)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!c.touch&&x.ios)&&(o.addEventListener("mousedown",this.onTouchStart,!1),e.addEventListener("mousemove",this.onTouchMove,a),e.addEventListener("mouseup",this.onTouchEnd,!1))}else o.addEventListener(n.start,this.onTouchStart,!1),e.addEventListener(n.move,this.onTouchMove,a),e.addEventListener(n.end,this.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&o.addEventListener("click",this.onClick,!0),this.on(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",E,!0)},detachEvents:function(){var t=this.params,n=this.touchEvents,i=this.el,r=this.wrapperEl,o="container"===t.touchEventsTarget?i:r,a=!!t.nested;if(c.touch||!c.pointerEvents&&!c.prefixedPointerEvents){if(c.touch){var s=!("onTouchStart"!==n.start||!c.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};o.removeEventListener(n.start,this.onTouchStart,s),o.removeEventListener(n.move,this.onTouchMove,a),o.removeEventListener(n.end,this.onTouchEnd,s)}(t.simulateTouch&&!x.ios&&!x.android||t.simulateTouch&&!c.touch&&x.ios)&&(o.removeEventListener("mousedown",this.onTouchStart,!1),e.removeEventListener("mousemove",this.onTouchMove,a),e.removeEventListener("mouseup",this.onTouchEnd,!1))}else o.removeEventListener(n.start,this.onTouchStart,!1),e.removeEventListener(n.move,this.onTouchMove,a),e.removeEventListener(n.end,this.onTouchEnd,!1);(t.preventClicks||t.preventClicksPropagation)&&o.removeEventListener("click",this.onClick,!0),this.off(x.ios||x.android?"resize orientationchange observerUpdate":"resize observerUpdate",E)}},breakpoints:{setBreakpoint:function(){var e=this.activeIndex,t=this.initialized,n=this.loopedSlides;void 0===n&&(n=0);var i=this.params,r=i.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var o=this.getBreakpoint(r);if(o&&this.currentBreakpoint!==o){var a=o in r?r[o]:void 0;a&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach((function(e){var t=a[e];void 0!==t&&(a[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")}));var s=a||this.originalParams,l=s.direction&&s.direction!==i.direction,c=i.loop&&(s.slidesPerView!==i.slidesPerView||l);l&&t&&this.changeDirection(),u.extend(this.params,s),u.extend(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),this.currentBreakpoint=o,c&&t&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(e-n+this.loopedSlides,0,!1)),this.emit("breakpoint",s)}}},getBreakpoint:function(e){if(e){var n=!1,i=[];Object.keys(e).forEach((function(e){i.push(e)})),i.sort((function(e,t){return parseInt(e,10)-parseInt(t,10)}));for(var r=0;r<i.length;r+=1){var o=i[r];this.params.breakpointsInverse?o<=t.innerWidth&&(n=o):o>=t.innerWidth&&!n&&(n=o)}return n||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.isLocked;this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),e&&e!==this.isLocked&&(this.isEnd=!1,this.navigation.update())}},classes:{addClasses:function(){var e=this.classNames,t=this.params,n=this.rtl,i=this.$el,r=[];r.push("initialized"),r.push(t.direction),t.freeMode&&r.push("free-mode"),c.flexbox||r.push("no-flexbox"),t.autoHeight&&r.push("autoheight"),n&&r.push("rtl"),t.slidesPerColumn>1&&r.push("multirow"),x.android&&r.push("android"),x.ios&&r.push("ios"),(d.isIE||d.isEdge)&&(c.pointerEvents||c.prefixedPointerEvents)&&r.push("wp8-"+t.direction),r.forEach((function(n){e.push(t.containerModifierClass+n)})),i.addClass(e.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,n,i,r,o,a){var s;function l(){a&&a()}e.complete&&o?l():n?((s=new t.Image).onload=l,s.onerror=l,r&&(s.sizes=r),i&&(s.srcset=i),n&&(s.src=n)):l()},preloadImages:function(){var e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(
2),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(var n=0;n<e.imagesToLoad.length;n+=1){var i=e.imagesToLoad[n];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},A={},P=function(e){function t(){for(var n,r,o,a=[],s=arguments.length;s--;)a[s]=arguments[s];1===a.length&&a[0].constructor&&a[0].constructor===Object?o=a[0]:(r=(n=a)[0],o=n[1]),o||(o={}),o=u.extend({},o),r&&!o.el&&(o.el=r),e.call(this,o),Object.keys(M).forEach((function(e){Object.keys(M[e]).forEach((function(n){t.prototype[n]||(t.prototype[n]=M[e][n])}))}));var l=this;void 0===l.modules&&(l.modules={}),Object.keys(l.modules).forEach((function(e){var t=l.modules[e];if(t.params){var n=Object.keys(t.params)[0],i=t.params[n];if("object"!=typeof i||null===i)return;if(!(n in o)||!("enabled"in i))return;!0===o[n]&&(o[n]={enabled:!0}),"object"!=typeof o[n]||"enabled"in o[n]||(o[n].enabled=!0),o[n]||(o[n]={enabled:!1})}}));var d=u.extend({},T);l.useModulesParams(d),l.params=u.extend({},d,A,o),l.originalParams=u.extend({},l.params),l.passedParams=u.extend({},o),l.$=i;var h=i(l.params.el);
2if(r=h[0]){if(h.length>1){var f=[];return h.each((function(e,n){var i=u.extend({},o,{el:n});f.push(new t(i))})),f}r.swiper=l,h.data("swiper",l);var p,m,v=h.children("."+l.params.wrapperClass);return u.extend(l,{$el:h,el:r,$wrapperEl:v,wrapperEl:v[0],classNames:[],slides:i(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===l.params.direction},isVertical:function(){return"vertical"===l.params.direction},rtl:"rtl"===r.dir.toLowerCase()||"rtl"===h.css("direction"),rtlTranslate:"horizontal"===l.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===h.css("direction")),wrongRTL:"-webkit-box"===v.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEvents:(p=["touchstart","touchmove","touchend"],m=["mousedown","mousemove","mouseup"],c.pointerEvents?m=["pointerdown","pointermove","pointerup"]:c.prefixedPointerEvents&&(m=["MSPointerDown","MSPointerMove","MSPointerUp"]),l.touchEventsTouch={start:p[0],move:p[1],end:p[2]},l.touchEventsDesktop={start:m[0],move:m[1],end:m[2]},c.touch||!l.params.simulateTouch?l.touchEventsTouch:l.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:u.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.useModules(),l.params.init&&l.init(),l}}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={extendedDefaults:{configurable:!0},defaults:{configurable:!0},Class:{configurable:!0},$:{configurable:!0}};return t.prototype.slidesPerViewDynamic=function(){var e=this.params,t=this.slides,n=this.slidesGrid,i=this.size,r=this.activeIndex,o=1;if(e.centeredSlides){for(var a,s=t[r].swiperSlideSize,l=r+1;l<t.length;l+=1)t[l]&&!a&&(o+=1,(s+=t[l].swiperSlideSize)>i&&(a=!0));for(var u=r-1;u>=0;u-=1)t[u]&&!a&&(o+=1,(s+=t[u].swiperSlideSize)>i&&(a=!0))}else for(var c=r+1;c<t.length;c+=1)n[c]-n[r]<i&&(o+=1);return o},t.prototype.update=function(){var e=this;if(e&&!e.destroyed){var t=e.snapGrid,n=e.params;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode?(i(),e.params.autoHeight&&e.updateAutoHeight()):(("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||i(),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function i(){var t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}},t.prototype.changeDirection=function(e,t){void 0===t&&(t=!0);var n=this.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(this.$el.removeClass(""+this.params.containerModifierClass+n+" wp8-"+n).addClass(""+this.params.containerModifierClass+e),(d.isIE||d.isEdge)&&(c.pointerEvents||c.prefixedPointerEvents)&&this.$el.addClass(this.params.containerModifierClass+"wp8-"+e),this.params.direction=e,this.slides.each((function(t,n){"vertical"===e?n.style.width="":n.style.height=""})),this.emit("changeDirection"),t&&this.update()),this},t.prototype.init=function(){this.initialized||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit),this.attachEvents(),this.initialized=!0,this.emit
2("init"))},t.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var n=this,i=n.params,r=n.$el,o=n.$wrapperEl,a=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttr("style"),o.removeAttr("style"),a&&a.length&&a.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((function(e){n.off(e)})),!1!==e&&(n.$el[0].swiper=null,n.$el.data("swiper",null),u.deleteProps(n)),n.destroyed=!0),null},t.extendDefaults=function(e){u.extend(A,e)},n.extendedDefaults.get=function(){return A},n.defaults.get=function(){return T},n.Class.get=function(){return e},n.$.get=function(){return i},Object.defineProperties(t,n),t}(h),O={name:"device",proto:{device:x},static:{device:x}},L={name:"support",proto:{support:c},static:{support:c}},I={name:"browser",proto:{browser:d},static:{browser:d}},D={name:"resize",create:function(){var e=this;u.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){t.addEventListener("resize",this.resize.resizeHandler),t.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){t.removeEventListener("resize",this.resize.resizeHandler),t.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},N={func:t.MutationObserver||t.WebkitMutationObserver,attach:function(e,n){void 0===n&&(n={});var i=this,r=new(0,N.func)((function(e){if(1!==e.length){var n=function(){i.emit("observerUpdate",e[0])};t.requestAnimationFrame?t.requestAnimationFrame(n):t.setTimeout(n,0)}else i.emit("observerUpdate",e[0])}));r.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:void 0===n.childList||n.childList,characterData:void 0===n.characterData||n.characterData}),i.observer.observers.push(r)},init:function(){if(c.observer&&this.params.observer){if(this.params.observeParents)for(var e=this.$el.parents(),t=0;t<e.length;t+=1)this.observer.attach(e[t]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(e){e.disconnect()})),this.observer.observers=[]}},j={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){u.extend(this,{observer:{init:N.init.bind(this),attach:N.attach.bind(this),destroy:N.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},F={update:function(e){var t=this,n=t.params,i=n.slidesPerView,r=n.slidesPerGroup,o=n.centeredSlides,a=t.params.virtual,s=a.addSlidesBefore,l=a.addSlidesAfter,c=t.virtual,d=c.from,h=c.to,f=c.slides,p=c.slidesGrid,m=c.renderSlide,v=c.offset;t.updateActiveIndex();var g,b,y,w=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",o?(b=Math.floor(i/2)+r+s,y=Math.floor(i/2)+r+l):(b=i+(r-1)+s,y=r+l);var x=Math.max((w||0)-y,0),S=Math.min((w||0)+b,f.length-1),_=(t.slidesGrid[x]||0)-(t.slidesGrid[0]||0);function k(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(u.extend(t.virtual,{from:x,to:S,offset:_,slidesGrid:t.slidesGrid}),d===x&&h===S&&!e)return t.slidesGrid!==p&&_!==v&&t.slides.css(g,_+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:_,from:x,to:S,slides:function(){for(var e=[],t=x;t<=S;t+=1)e.push(f[t]);return e}()}),void k();var E=[],C=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var T=d;T<=h;T+=1)(T<x||T>S)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+T+'"]').remove();for(var M=0;M<f.length;M+=1)M>=x&&M<=S&&(void 0===h||e?C.push(M):(M>h&&C.push(M),M<d&&E.push(M)));
2C.forEach((function(e){t.$wrapperEl.append(m(f[e],e))})),E.sort((function(e,t){return t-e})).forEach((function(e){t.$wrapperEl.prepend(m(f[e],e))})),t.$wrapperEl.children(".swiper-slide").css(g,_+"px"),k()},renderSlide:function(e,t){var n=this.params.virtual;if(n.cache&&this.virtual.cache[t])return this.virtual.cache[t];var r=n.renderSlide?i(n.renderSlide.call(this,e,t)):i('<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",t),n.cache&&(this.virtual.cache[t]=r),r},appendSlide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;t<e.length;t+=1)e[t]&&this.virtual.slides.push(e[t]);else this.virtual.slides.push(e);this.virtual.update(!0)},prependSlide:function(e){var t=this.activeIndex,n=t+1,i=1;if(Array.isArray(e)){for(var r=0;r<e.length;r+=1)e[r]&&this.virtual.slides.unshift(e[r]);n=t+e.length,i=e.length}else this.virtual.slides.unshift(e);if(this.params.virtual.cache){var o=this.virtual.cache,a={};Object.keys(o).forEach((function(e){a[parseInt(e,10)+i]=o[e]})),this.virtual.cache=a}this.virtual.update(!0),this.slideTo(n,0)},removeSlide:function(e){if(null!=e){var t=this.activeIndex;if(Array.isArray(e))for(var n=e.length-1;n>=0;n-=1)this.virtual.slides.splice(e[n],1),this.params.virtual.cache&&delete this.virtual.cache[e[n]],e[n]<t&&(t-=1),t=Math.max(t,0);else this.virtual.slides.splice(e,1),this.params.virtual.cache&&delete this.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);this.virtual.update(!0),this.slideTo(t,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},R={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){u.extend(this,{virtual:{update:F.update.bind(this),appendSlide:F.appendSlide.bind(this),prependSlide:F.prependSlide.bind(this),removeSlide:F.removeSlide.bind(this),removeAllSlides:F.removeAllSlides.bind(this),renderSlide:F.renderSlide.bind(this),slides:this.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){if(this.params.virtual.enabled){this.classNames.push(this.params.containerModifierClass+"virtual");var e={watchSlidesProgress:!0};u.extend(this.params,e),u.extend(this.originalParams,e),this.params.initialSlide||this.virtual.update(
2)}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},B={handle:function(n){var i=this.rtlTranslate,r=n;r.originalEvent&&(r=r.originalEvent);var o=r.keyCode||r.charCode;if(!this.allowSlideNext&&(this.isHorizontal()&&39===o||this.isVertical()&&40===o||34===o))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&37===o||this.isVertical()&&38===o||33===o))return!1;if(!(r.shiftKey||r.altKey||r.ctrlKey||r.metaKey||e.activeElement&&e.activeElement.nodeName&&("input"===e.activeElement.nodeName.toLowerCase()||"textarea"===e.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(33===o||34===o||37===o||39===o||38===o||40===o)){var a=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var s=t.innerWidth,l=t.innerHeight,u=this.$el.offset();i&&(u.left-=this.$el[0].scrollLeft);for(var c=[[u.left,u.top],[u.left+this.width,u.top],[u.left,u.top+this.height],[u.left+this.width,u.top+this.height]],d=0;d<c.length;d+=1){var h=c[d];h[0]>=0&&h[0]<=s&&h[1]>=0&&h[1]<=l&&(a=!0)}if(!a)return}this.isHorizontal()?(33!==o&&34!==o&&37!==o&&39!==o||(r.preventDefault?r.preventDefault():r.returnValue=!1),(34!==o&&39!==o||i)&&(33!==o&&37!==o||!i)||this.slideNext(),(33!==o&&37!==o||i)&&(34!==o&&39!==o||!i)||this.slidePrev()):(33!==o&&34!==o&&38!==o&&40!==o||(r.preventDefault?r.preventDefault():r.returnValue=!1),34!==o&&40!==o||this.slideNext(),33!==o&&38!==o||this.slidePrev()),this.emit("keyPress",o)}},enable:function(){this.keyboard.enabled||(i(e).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(i(e).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},z={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){u.extend(this,{keyboard:{enabled:!1,enable:B.enable.bind(this),disable:B.disable.bind(this),handle:B.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},H={lastScrollTime:u.now(),event:t.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var t="onwheel"in e;if(!t){var n=e.createElement("div");n.setAttribute("onwheel","return;"),t="function"==typeof n.onwheel}return!t&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(t=e.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel",normalize:function(e){var t=0,n=0,i=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(i=e.deltaX),(i||r)&&e.deltaMode&&(1===e.deltaMode?(i*=40,r*=40):(i*=800,r*=800)),i&&!t&&(t=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:r}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var n=e,i=this,r=i.params.mousewheel;if(!i.mouseEntered&&!r.releaseOnEdges)return!0;n.originalEvent&&(n=n.originalEvent);var o=0,a=i.rtlTranslate?-1:1,s=H.normalize(n);if(r.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(s.pixelX)>Math.abs(s.pixelY)))return!0;o=s.pixelX*a}else{if(!(Math.abs(s.pixelY)>Math.abs(s.pixelX)))return!0;o=s.pixelY}else o=Math.abs(s.pixelX)>Math.abs(s.pixelY)?-s.pixelX*a:-s.pixelY;if(0===o)return!0;if(r.invert&&(o=-o),i.params.freeMode){i.params.loop&&i.loopFix();var l=i.getTranslate()+o*r.sensitivity,c=i.isBeginning,d=i.isEnd;if(l>=i.minTranslate()&&(l=i.minTranslate()),l<=i.maxTranslate()&&(l=i.maxTranslate()),i.setTransition(0),i.setTranslate(l),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!c&&i.isBeginning||!d&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky&&(clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=u.nextTick((function(){i.slideToClosest()}),300)),i.emit("scroll",n),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),l===i.minTranslate()||l===i.maxTranslate())return!0}
2else{if(u.now()-i.mousewheel.lastScrollTime>60)if(o<0)if(i.isEnd&&!i.params.loop||i.animating){if(r.releaseOnEdges)return!0}else i.slideNext(),i.emit("scroll",n);else if(i.isBeginning&&!i.params.loop||i.animating){if(r.releaseOnEdges)return!0}else i.slidePrev(),i.emit("scroll",n);i.mousewheel.lastScrollTime=(new t.Date).getTime()}return n.preventDefault?n.preventDefault():n.returnValue=!1,!1},enable:function(){if(!H.event)return!1;if(this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=i(this.params.mousewheel.eventsTarged)),e.on("mouseenter",this.mousewheel.handleMouseEnter),e.on("mouseleave",this.mousewheel.handleMouseLeave),e.on(H.event,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){if(!H.event)return!1;if(!this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarged&&(e=i(this.params.mousewheel.eventsTarged)),e.off(H.event,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}},$={update:function(){var e=this.params.navigation;if(!this.params.loop){var t=this.navigation,n=t.$nextEl,i=t.$prevEl;i&&i.length>0&&(this.isBeginning?i.addClass(e.disabledClass):i.removeClass(e.disabledClass),i[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass)),n&&n.length>0&&(this.isEnd?n.addClass(e.disabledClass):n.removeClass(e.disabledClass),n[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](e.lockClass))}},onPrevClick:function(e){e.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(e){e.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var e,t,n=this.params.navigation;(n.nextEl||n.prevEl)&&(n.nextEl&&(e=i(n.nextEl),this.params.uniqueNavElements&&"string"==typeof n.nextEl&&e.length>1&&1===this.$el.find(n.nextEl).length&&(e=this.$el.find(n.nextEl))),n.prevEl&&(t=i(n.prevEl),this.params.uniqueNavElements&&"string"==typeof n.prevEl&&t.length>1&&1===this.$el.find(n.prevEl).length&&(t=this.$el.find(n.prevEl))),e&&e.length>0&&e.on("click",this.navigation.onNextClick),t&&t.length>0&&t.on("click",this.navigation.onPrevClick),u.extend(this.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,n=e.$prevEl;t&&t.length&&(t.off("click",this.navigation.onNextClick),t.removeClass(this.params.navigation.disabledClass)),n&&n.length&&(n.off("click",this.navigation.onPrevClick),n.removeClass(this.params.navigation.disabledClass))}},W={update:function(){var e=this.rtl,t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var n,r=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,o=this.pagination.$el,a=this.params.loop?Math.ceil((r-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((n=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>r-1-2*this.loopedSlides&&(n-=r-2*this.loopedSlides),n>a-1&&(n-=a),n<0&&"bullets"!==this.params.paginationType&&(n=a+n)):n=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===t.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var s,l,u,c=this.pagination.bullets;if(t.dynamicBullets&&(this.pagination.bulletSize=c.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(t.dynamicMainBullets+4)+"px"),t.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=n-this.previousIndex,this.pagination.dynamicBulletIndex>t.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=t.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),s=n-this.pagination.dynamicBulletIndex,u=((l=s+(Math.min(c.length,t.dynamicMainBullets)-1))+s)/2),c.removeClass(t.bulletActiveClass+" "+t.bulletActiveClass+"-next "+t.bulletActiveClass+"-next-next "+t.bulletActiveClass+"-prev "+t.bulletActiveClass+"-prev-prev "+t.bulletActiveClass+"-main"),o.length>1)c.each((function(e,r){var o=i(r),a=o.index();a===n&&o.addClass(t.bulletActiveClass),t.dynamicBullets&&(a>=s&&a<=l&&o.addClass(t.bulletActiveClass+"-main"),a===s&&o.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),a===l&&o.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next"))}));else if(c.eq(n).addClass(t.bulletActiveClass),t.dynamicBullets){for(var d=c.eq(s),h=c.eq(l),f=s;f<=l;f+=1)c.eq(f).addClass(t.bulletActiveClass+"-main");d.prev().addClass(t.bulletActiveClass+"-prev").prev().addClass(t.bulletActiveClass+"-prev-prev"),h.next().addClass(t.bulletActiveClass+"-next").next().addClass(t.bulletActiveClass+"-next-next")}if(t.dynamicBullets){var p=Math.min(c.length,t.dynamicMainBullets+4),m=(this.pagination.bulletSize*p-this.pagination.bulletSize)/2-u*this.pagination.bulletSize,v=e?"right":"left";c.css(this.isHorizontal()?v:"top",m+"px")}}if("fraction"===t.type&&(o.find("."+t.currentClass).text(t.formatFractionCurrent(n+1)),o.find("."+t.totalClass).text(t.formatFractionTotal(a))),"progressbar"===t.type){var g;g=t.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var b=(n+1)/a,y=1,w=1;"horizontal"===g?y=b:w=b,o.find("."+t.progressbarFillClass).transform("translate3d(0,
20,0) scaleX("+y+") scaleY("+w+")").transition(this.params.speed)}"custom"===t.type&&t.renderCustom?(o.html(t.renderCustom(this,n+1,a)),this.emit("paginationRender",this,o[0])):this.emit("paginationUpdate",this,o[0]),o[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](t.lockClass)}},render:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,n=this.pagination.$el,i="";if("bullets"===e.type){for(var r=this.params.loop?Math.ceil((t-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length,o=0;o<r;o+=1)e.renderBullet?i+=e.renderBullet.call(this,o,e.bulletClass):i+="<"+e.bulletElement+' class="'+e.bulletClass+'"></'+e.bulletElement+">";n.html(i),this.pagination.bullets=n.find("."+e.bulletClass)}"fraction"===e.type&&(i=e.renderFraction?e.renderFraction.call(this,e.currentClass,e.totalClass):'<span class="'+e.currentClass+'"></span> / <span class="'+e.totalClass+'"></span>',n.html(i)),"progressbar"===e.type&&(i=e.renderProgressbar?e.renderProgressbar.call(this,e.progressbarFillClass):'<span class="'+e.progressbarFillClass+'"></span>',n.html(i)),"custom"!==e.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var n=i(t.el);0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&n.length>1&&1===e.$el.find(t.el).length&&(n=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&n.addClass(t.clickableClass),n.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(n.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.addClass(t.progressbarOppositeClass),t.clickable&&n.on("click","."+t.bulletClass,(function(t){t.preventDefault();var n=i(this).index()*e.params.slidesPerGroup;e.params.loop&&(n+=e.loopedSlides),e.slideTo(n)})),u.extend(e.pagination,{$el:n,el:n[0]}))}},destroy:function(){var e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var t=this.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),this.pagination.bullets&&this.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click","."+e.bulletClass)}}},q={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=this.rtlTranslate,n=this.progress,i=e.dragSize,r=e.trackSize,o=e.$dragEl,a=e.$el,s=this.params.scrollbar,l=i,u=(r-i)*n;t?(u=-u)>0?(l=i-u,u=0):-u+i>r&&(l=r+u):u<0?(l=i+u,u=0):u+i>r&&(l=r-u),this.isHorizontal()?(c.transforms3d?o.transform("translate3d("+u+"px, 0, 0)"):o.transform("translateX("+u+"px)"),o[0].style.width=l+"px"):(c.transforms3d?o.transform("translate3d(0px, "+u+"px, 0)"):o.transform("translateY("+u+"px)"),o[0].style.height=l+"px"),s.hide&&(clearTimeout(this.scrollbar.timeout),a[0].style.opacity=1,this.scrollbar.timeout=setTimeout((function(){a[0].style.opacity=0,a.transition(400)}),1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var e=this.scrollbar,t=e.$dragEl,n=e.$el;t[0].style.width="",t[0].style.height="";var i,r=this.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,o=this.size/this.virtualSize,a=o*(r/this.size);i="auto"===this.params.scrollbar.dragSize?r*o:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?t[0].style.width=i+"px":t[0].style.height=i+"px",n[0].style.display=o>=1?"none":"",this.params.scrollbar.hide&&(n[0].style.opacity=0),u.extend(e,{trackSize:r,divider:o,moveDivider:a,dragSize:i}),e.$el[this.params.watchOverflow&&this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY}
2,setDragPosition:function(e){var t,n=this.scrollbar,i=this.rtlTranslate,r=n.$el,o=n.dragSize,a=n.trackSize,s=n.dragStartPos;t=(n.getPointerPosition(e)-r.offset()[this.isHorizontal()?"left":"top"]-(null!==s?s:o/2))/(a-o),t=Math.max(Math.min(t,1),0),i&&(t=1-t);var l=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*t;this.updateProgress(l),this.setTranslate(l),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(e){var t=this.params.scrollbar,n=this.scrollbar,i=this.$wrapperEl,r=n.$el,o=n.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=e.target===o[0]||e.target===o?n.getPointerPosition(e)-e.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),o.transition(100),n.setDragPosition(e),clearTimeout(this.scrollbar.dragTimeout),r.transition(0),t.hide&&r.css("opacity",1),this.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,n=this.$wrapperEl,i=t.$el,r=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),n.transition(0),i.transition(0),r.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this.params.scrollbar,n=this.scrollbar.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,t.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=u.nextTick((function(){n.css("opacity",0),n.transition(400)}),1e3)),this.emit("scrollbarDragEnd",e),t.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,n=this.touchEventsTouch,i=this.touchEventsDesktop,r=this.params,o=t.$el[0],a=!(!c.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},s=!(!c.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};c.touch?(o.addEventListener(n.start,this.scrollbar.onDragStart,a),o.addEventListener(n.move,this.scrollbar.onDragMove,a),o.addEventListener(n.end,this.scrollbar.onDragEnd,s)):(o.addEventListener(i.start,this.scrollbar.onDragStart,a),e.addEventListener(i.move,this.scrollbar.onDragMove,a),e.addEventListener(i.end,this.scrollbar.onDragEnd,s))}},disableDraggable:function(){if(this.params.scrollbar.el){var t=this.scrollbar,n=this.touchEventsTouch,i=this.touchEventsDesktop,r=this.params,o=t.$el[0],a=!(!c.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},s=!(!c.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};c.touch?(o.removeEventListener(n.start,this.scrollbar.onDragStart,a),o.removeEventListener(n.move,this.scrollbar.onDragMove,a),o.removeEventListener(n.end,this.scrollbar.onDragEnd,s)):(o.removeEventListener(i.start,this.scrollbar.onDragStart,a),e.removeEventListener(i.move,this.scrollbar.onDragMove,a),e.removeEventListener(i.end,this.scrollbar.onDragEnd,s))}},init:function(){if(this.params.scrollbar.el){var e=this.scrollbar,t=this.$el,n=this.params.scrollbar,r=i(n.el);this.params.uniqueNavElements&&"string"==typeof n.el&&r.length>1&&1===t.find(n.el).length&&(r=t.find(n.el));var o=r.find("."+this.params.scrollbar.dragClass);0===o.length&&(o=i('<div class="'+this.params.scrollbar.dragClass+'"></div>'),r.append(o)),u.extend(e,{$el:r,el:r[0],$dragEl:o,dragEl:o[0]}),n.draggable&&e.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},V={setTransform:function(e,t){var n=this.rtl,r=i(e),o=n?-1:1,a=r.attr("data-swiper-parallax")||"0",s=r.attr("data-swiper-parallax-x"),l=r.attr("data-swiper-parallax-y"),u=r.attr("data-swiper-parallax-scale"),c=r.attr("data-swiper-parallax-opacity");if(s||l?(s=s||"0",l=l||"0"):this.isHorizontal()?(s=a,l="0"):(l=a,s="0"),s=s.indexOf("%")>=0?parseInt(s,10)*t*o+"%":s*t*o+"px",l=l.indexOf("%")>=0?parseInt(l,10)*t+"%":l*t+"px",null!=c){var d=c-(c-1)*(1-Math.abs(t));r[0].style.opacity=d}if(null==u)r.transform("translate3d("+s+", "+l+", 0px)");else{var h=u-(u-1)*(1-Math.abs(t));r.transform("translate3d("+s+", "+l+", 0px) scale("+h+")")}},setTranslate:function(){var e=this,t=e.$el,n=e.slides,r=e.progress,o=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){e.parallax.setTransform(n,r)})),n.each((function(t,n){var a=n.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(a+=Math.ceil(t/2)-r*(o.length-1)),a=Math.min(Math.max(a,-1),1),i(n).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){e.parallax.setTransform(n,a)}))}))},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(t,n){var r=i(n),o=parseInt(r.attr("data-swiper-parallax-duration"),10)||e;0===e&&(o=0),r.transition(o)}))}},Y={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;
vendor: 5,480 bytes, line 2
2var t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,i=e.targetTouches[1].pageX,r=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(i-t,2)+Math.pow(r-n,2))},onGestureStart:function(e){var t=this.params.zoom,n=this.zoom,r=n.gesture;if(n.fakeGestureTouched=!1,n.fakeGestureMoved=!1,!c.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;n.fakeGestureTouched=!0,r.scaleStart=Y.getDistanceBetweenTouches(e)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=i(e.target).closest(".swiper-slide"),0===r.$slideEl.length&&(r.$slideEl=this.slides.eq(this.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas"),r.$imageWrapEl=r.$imageEl.parent("."+t.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||t.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl.transition(0),this.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,n=this.zoom,i=n.gesture;if(!c.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;n.fakeGestureMoved=!0,i.scaleMove=Y.getDistanceBetweenTouches(e)}i.$imageEl&&0!==i.$imageEl.length&&(n.scale=c.gestures?e.scale*n.currentScale:i.scaleMove/i.scaleStart*n.currentScale,n.scale>i.maxRatio&&(n.scale=i.maxRatio-1+Math.pow(n.scale-i.maxRatio+1,.5)),n.scale<t.minRatio&&(n.scale=t.minRatio+1-Math.pow(t.minRatio-n.scale+1,.5)),i.$imageEl.transform("translate3d(0,0,0) scale("+n.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,n=this.zoom,i=n.gesture;if(!c.gestures){if(!n.fakeGestureTouched||!n.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!x.android)return;n.fakeGestureTouched=!1,n.fakeGestureMoved=!1}i.$imageEl&&0!==i.$imageEl.length&&(n.scale=Math.max(Math.min(n.scale,i.maxRatio),t.minRatio),i.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+n.scale+")"),n.currentScale=n.scale,n.isScaling=!1,1===n.scale&&(i.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,n=t.gesture,i=t.image;n.$imageEl&&0!==n.$imageEl.length&&(i.isTouched||(x.android&&e.preventDefault(),i.isTouched=!0,i.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this.zoom,n=t.gesture,i=t.image,r=t.velocity;if(n.$imageEl&&0!==n.$imageEl.length&&(this.allowClick=!1,i.isTouched&&n.$slideEl)){i.isMoved||(i.width=n.$imageEl[0].offsetWidth,i.height=n.$imageEl[0].offsetHeight,i.startX=u.getTranslate(n.$imageWrapEl[0],"x")||0,i.startY=u.getTranslate(n.$imageWrapEl[0],"y")||0,n.slideWidth=n.$slideEl[0].offsetWidth,n.slideHeight=n.$slideEl[0].offsetHeight,n.$imageWrapEl.transition(0),this.rtl&&(i.startX=-i.startX,i.startY=-i.startY));var o=i.width*t.scale,a=i.height*t.scale;if(!(o<n.slideWidth&&a<n.slideHeight)){if(i.minX=Math.min(n.slideWidth/2-o/2,0),i.maxX=-i.minX,i.minY=Math.min(n.slideHeight/2-a/2,0),i.maxY=-i.minY,i.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,i.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!i.isMoved&&!t.isScaling){if(this.isHorizontal()&&(Math.floor(i.minX)===Math.floor(i.startX)&&i.touchesCurrent.x<i.touchesStart.x||Math.floor(i.maxX)===Math.floor(i.startX)&&i.touchesCurrent.x>i.touchesStart.x))return void(i.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.y<i.touchesStart.y||Math.floor(i.maxY)===Math.floor(i.startY)&&i.touchesCurrent.y>i.touchesStart.y))return void(i.isTouched=!1)}e.preventDefault(),e.stopPropagation(),i.isMoved=!0,i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX,i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY,i.currentX<i.minX&&(i.currentX=i.minX+1-Math.pow(i.minX-i.currentX+1,.8)),i.currentX>i.maxX&&(i.currentX=i.maxX-1+Math.pow(i.currentX-i.maxX+1,.8)),i.currentY<i.minY&&(i.currentY=i.minY+1-Math.pow(i.minY-i.currentY+1,.8)),i.currentY>i.maxY&&(i.currentY=i.maxY-1+Math.pow(i.currentY-i.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=i.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=i.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(i.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(i.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(i.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(i.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=i.touchesCurrent.x,r.prevPositionY=i.touchesCurrent.y,r.prevTime=Date.now(),n.$imageWrapEl.transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,n=e.image,i=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!n.isTouched||!n.isMoved)return n.isTouched=!1,void(n.isMoved=!1);n.isTouched=!1,n.isMoved=!1;var r=300,o=300,a=i.x*r,s=n.currentX+a,l=i.y*o,u=n.currentY+l;0!==i.x&&(r=Math.abs((s-n.currentX)/i.x)),0!==i.y&&(o=Math.abs((u-n.currentY)/i.y));var c=Math.max(r,o);n.currentX=s,n.currentY=u;var d=n.width*e.scale,h=n.height*e.scale;n.minX=Math.min(t.slideWidth/2-d/2,0),n.maxX=-n.minX,n.minY=Math.min(t.slideHeight/2-h/2,0),n.maxY=-n.minY,n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX),n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY),t.$imageWrapEl.transition(c).transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,
20,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,n,r,o,a,s,l,u,c,d,h,f,p,m,v,g,b=this.zoom,y=this.params.zoom,w=b.gesture,x=b.image;w.$slideEl||(w.$slideEl=this.clickedSlide?i(this.clickedSlide):this.slides.eq(this.activeIndex),w.$imageEl=w.$slideEl.find("img, svg, canvas"),w.$imageWrapEl=w.$imageEl.parent("."+y.containerClass)),w.$imageEl&&0!==w.$imageEl.length&&(w.$slideEl.addClass(""+y.zoomedSlideClass),void 0===x.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,n="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=x.touchesStart.x,n=x.touchesStart.y),b.scale=w.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,b.currentScale=w.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(v=w.$slideEl[0].offsetWidth,g=w.$slideEl[0].offsetHeight,r=w.$slideEl.offset().left+v/2-t,o=w.$slideEl.offset().top+g/2-n,l=w.$imageEl[0].offsetWidth,u=w.$imageEl[0].offsetHeight,c=l*b.scale,d=u*b.scale,p=-(h=Math.min(v/2-c/2,0)),m=-(f=Math.min(g/2-d/2,0)),(a=r*b.scale)<h&&(a=h),a>p&&(a=p),(s=o*b.scale)<f&&(s=f),s>m&&(s=m)):(a=0,s=0),w.$imageWrapEl.transition(300).transform("translate3d("+a+"px, "+s+"px,0)"),w.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+b.scale+")"))},out:function(){var e=this.zoom,t=this.params.zoom,n=e.gesture;n.$slideEl||(n.$slideEl=this.clickedSlide?i(this.clickedSlide):this.slides.eq(this.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas"),n.$imageWrapEl=n.$imageEl.parent("."+t.containerClass)),n.$imageEl&&0!==n.$imageEl.length&&(e.scale=1,e.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+t.zoomedSlideClass),n.$slideEl=void 0)},enable:function(){var e=this.zoom;if(!e.enabled){e.enabled=!0;var t=!("touchstart"!==this.touchEvents.start||!c.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};c.gestures?(this.$wrapperEl.on("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.on(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.on(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}},disable:function(){var e=this.zoom;if(e.enabled){this.zoom.enabled=!1;var t=!("touchstart"!==this.touchEvents.start||!c.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};c.gestures?(this.$wrapperEl.off("gesturestart",".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off("gesturechange",".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off("gestureend",".swiper-slide",e.onGestureEnd,t)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,".swiper-slide",e.onGestureStart,t),this.$wrapperEl.off(this.touchEvents.move,".swiper-slide",e.onGestureChange,t),this.$wrapperEl.off(this.touchEvents.end,".swiper-slide",e.onGestureEnd,t)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove)}}},U={loadInSlide:function(e,t){void 0===t&&(t=!0);var n=this,r=n.params.lazy;if(void 0!==e&&0!==n.slides.length){var o=n.virtual&&n.params.virtual.enabled?n.$wrapperEl.children("."+n.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):n.slides.eq(e),a=o.find("."+r.elementClass+":not(."+r.loadedClass+"):not(."+r.loadingClass+")");!o.hasClass(r.elementClass)||o.hasClass(r.loadedClass)||o.hasClass(r.loadingClass)||(a=a.add(o[0])),0!==a.length&&a.each((function(e,a){var s=i(a);s.addClass(r.loadingClass);var l=s.attr("data-background"),u=s.attr("data-src"),c=s.attr("data-srcset"),d=s.attr("data-sizes");n.loadImage(s[0],u||l,c,d,!1,(function(){if(null!=n&&n&&(!n||n.params)&&!n.destroyed){
2if(l?(s.css("background-image",'url("'+l+'")'),s.removeAttr("data-background")):(c&&(s.attr("srcset",c),s.removeAttr("data-srcset")),d&&(s.attr("sizes",d),s.removeAttr("data-sizes")),u&&(s.attr("src",u),s.removeAttr("data-src"))),s.addClass(r.loadedClass).removeClass(r.loadingClass),o.find("."+r.preloaderClass).remove(),n.params.loop&&t){var e=o.attr("data-swiper-slide-index");if(o.hasClass(n.params.slideDuplicateClass)){var i=n.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+n.params.slideDuplicateClass+")");n.lazy.loadInSlide(i.index(),!1)}else{var a=n.$wrapperEl.children("."+n.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');n.lazy.loadInSlide(a.index(),!1)}}n.emit("lazyImageReady",o[0],s[0])}})),n.emit("lazyImageLoad",o[0],s[0])}))}},load:function(){var e=this,t=e.$wrapperEl,n=e.params,r=e.slides,o=e.activeIndex,a=e.virtual&&n.virtual.enabled,s=n.lazy,l=n.slidesPerView;function u(e){if(a){if(t.children("."+n.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(r[e])return!0;return!1}function c(e){return a?i(e).attr("data-swiper-slide-index"):i(e).index()}if("auto"===l&&(l=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+n.slideVisibleClass).each((function(t,n){var r=a?i(n).attr("data-swiper-slide-index"):i(n).index();e.lazy.loadInSlide(r)}));else if(l>1)for(var d=o;d<o+l;d+=1)u(d)&&e.lazy.loadInSlide(d);else e.lazy.loadInSlide(o);if(s.loadPrevNext)if(l>1||s.loadPrevNextAmount&&s.loadPrevNextAmount>1){for(var h=s.loadPrevNextAmount,f=l,p=Math.min(o+f+Math.max(h,f),r.length),m=Math.max(o-Math.max(f,h),0),v=o+l;v<p;v+=1)u(v)&&e.lazy.loadInSlide(v);for(var g=m;g<o;g+=1)u(g)&&e.lazy.loadInSlide(g)}else{var b=t.children("."+n.slideNextClass);b.length>0&&e.lazy.loadInSlide(c(b));var y=t.children("."+n.slidePrevClass);y.length>0&&e.lazy.loadInSlide(c(y))}}},G={LinearSpline:function(e,t){var n,i,r,o,a,s=function(e,t){for(i=-1,n=e.length;n-i>1;)e[r=n+i>>1]<=t?i=r:n=r;return n};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(a=s(this.x,e),o=a-1,(e-this.x[o])*(this.y[a]-this.y[o])/(this.x[a]-this.x[o])+this.y[o]):0},this},getInterpolateFunction:function(e){this.controller.spline||(this.controller.spline=this.params.loop?new G.LinearSpline(this.slidesGrid,e.slidesGrid):new G.LinearSpline(this.snapGrid,e.snapGrid))},setTranslate:function(e,t){var n,i,r=this,o=r.controller.control;function a(e){var t=r.rtlTranslate?-r.translate:r.translate;"slide"===r.params.controller.by&&(r.controller.getInterpolateFunction(e),i=-r.controller.spline.interpolate(-t)),i&&"container"!==r.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(r.maxTranslate()-r.minTranslate()),i=(t-r.minTranslate())*n+e.minTranslate()),r.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,r),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(o))for(var s=0;s<o.length;s+=1)o[s]!==t&&o[s]instanceof P&&a(o[s]);else o instanceof P&&t!==o&&a(o)},setTransition:function(e,t){var n,i=this,r=i.controller.control;function o(t){t.setTransition(e,i),0!==e&&(t.transitionStart(),t.params.autoHeight&&u.nextTick((function(){t.updateAutoHeight()})),t.$wrapperEl.transitionEnd((function(){r&&(t.params.loop&&"slide"===i.params.controller.by&&t.loopFix(),t.transitionEnd())})))}if(Array.isArray(r))for(n=0;n<r.length;n+=1)r[n]!==t&&r[n]instanceof P&&o(r[n]);else r instanceof P&&t!==r&&o(r)}},X={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){u.extend(this,{controller:{control:this.params.controller.control,getInterpolateFunction:G.getInterpolateFunction.bind(this),setTranslate:G.setTranslate.bind(this),setTransition:G.setTransition.bind(this)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},K={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this.params.a11y;if(13===e.keyCode){var n=i(e.target);this.navigation&&this.navigation.$nextEl&&n.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(t.lastSlideMessage):this.a11y.notify(t.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&n.is(this.navigation.$prevEl)&&(this.isBeg
2inning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(t.firstSlideMessage):this.a11y.notify(t.prevSlideMessage)),this.pagination&&n.is("."+this.params.pagination.bulletClass)&&n[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){if(!this.params.loop){var e=this.navigation,t=e.$nextEl,n=e.$prevEl;n&&n.length>0&&(this.isBeginning?this.a11y.disableEl(n):this.a11y.enableEl(n)),t&&t.length>0&&(this.isEnd?this.a11y.disableEl(t):this.a11y.enableEl(t))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each((function(n,r){var o=i(r);e.a11y.makeElFocusable(o),e.a11y.addElRole(o,"button"),e.a11y.addElLabel(o,t.paginationBulletMessage.replace(/{{index}}/,o.index()+1))}))},init:function(){this.$el.append(this.a11y.liveRegion);var e,t,n=this.params.a11y;this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&(this.a11y.makeElFocusable(e),this.a11y.addElRole(e,"button"),this.a11y.addElLabel(e,n.nextSlideMessage),e.on("keydown",this.a11y.onEnterKey)),t&&(this.a11y.makeElFocusable(t),this.a11y.addElRole(t,"button"),this.a11y.addElLabel(t,n.prevSlideMessage),t.on("keydown",this.a11y.onEnterKey)),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.on("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)},destroy:function(){var e,t;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(e=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(t=this.navigation.$prevEl),e&&e.off("keydown",this.a11y.onEnterKey),t&&t.off("keydown",this.a11y.onEnterKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown","."+this.params.pagination.bulletClass,this.a11y.onEnterKey)}},Z={init:function(){if(this.params.history){if(!t.history||!t.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=Z.getPathValues(),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||t.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=Z.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=t.location.pathname.slice(1).split("/").filter((function(e){return""!==e})),n=e.length;return{key:e[n-2],value:e[n-1]}},setHistory:function(e,n){if(this.history.initialized&&this.params.history.enabled){var i=this.slides.eq(n),r=Z.slugify(i.attr("data-history"));t.location.pathname.includes(e)||(r=e+"/"+r);var o=t.history.state;o&&o.value===r||(this.params.history.replaceState?t.history.replaceState({value:r},null,r):t.history.pushState({value:r},null,r))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,n){if(t)for(var i=0,r=this.slides.length;i<r;i+=1){var o=this.slides.eq(i);if(Z.slugify(o.attr("data-history"))===t&&!o.hasClass(this.params.slideDuplicateClass)){var a=o.index();this.slideTo(a,e,n)}}else this.slideTo(0,e,n)}},J={onHashCange:function(){var t=e.location.hash.replace("#","");if(t!==this.slides.eq(this.activeIndex).attr("data-hash")){var n=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+t+'"]').index();if(void 0===n)return;this.slideTo(n)}},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||!1);else{var n=this.slides.eq(this.activeIndex),i=n.attr("data-hash")||n.attr("data-history");e.location.hash=i||""}},init:function(){if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var n=e.location.hash.replace("#","");if(n)for(var r=0,o=this.slides.length;r<o;r+=1){var a=this.slides.eq(r);if((a.attr("data-hash")||a.attr("data-history"))===n&&!a.hasClass(this.params.slideDuplicateClass)){var s=a.index();this.slideTo(s,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&i(t).on("hashchange",this.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&i(t).off("hashchange",this.hashNavigation.onHashCange)}},Q={run:function(){var e=this,t=e.slides.eq(e.activeIndex),n=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(n=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(e.autoplay.timeout),e.autoplay.timeout=u.nextTick((function(){e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),e.slidePrev(e.params.speed,!0,
2!0),e.emit("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(e.slides.length-1,e.params.speed,!0,!0),e.emit("autoplay")):(e.slidePrev(e.params.speed,!0,!0),e.emit("autoplay")):e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))}),n)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){this.autoplay.running&&(this.autoplay.paused||(this.autoplay.timeout&&clearTimeout(this.autoplay.timeout),this.autoplay.paused=!0,0!==e&&this.params.autoplay.waitForTransition?(this.$wrapperEl[0].addEventListener("transitionend",this.autoplay.onTransitionEnd),this.$wrapperEl[0].addEventListener("webkitTransitionEnd",this.autoplay.onTransitionEnd)):(this.autoplay.paused=!1,this.autoplay.run())))}},ee={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var n=this.slides.eq(t),i=-n[0].swiperSlideOffset;this.params.virtualTranslate||(i-=this.translate);var r=0;this.isHorizontal()||(r=i,i=0);var o=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(n[0].progress),0):1+Math.min(Math.max(n[0].progress,-1),0);n.css({opacity:o}).transform("translate3d("+i+"px, "+r+"px, 0px)")}},setTransition:function(e){var t=this,n=t.slides,i=t.$wrapperEl;if(n.transition(e),t.params.virtualTranslate&&0!==e){var r=!1;n.transitionEnd((function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)i.trigger(e[n])}}))}}},te={setTranslate:function(){var e,t=this.$el,n=this.$wrapperEl,r=this.slides,o=this.width,a=this.height,s=this.rtlTranslate,l=this.size,u=this.params.cubeEffect,c=this.isHorizontal(),h=this.virtual&&this.params.virtual.enabled,f=0;u.shadow&&(c?(0===(e=n.find(".swiper-cube-shadow")).length&&(e=i('<div class="swiper-cube-shadow"></div>'),n.append(e)),e.css({height:o+"px"})):0===(e=t.find(".swiper-cube-shadow")).length&&(e=i('<div class="swiper-cube-shadow"></div>'),t.append(e)));for(var p=0;p<r.length;p+=1){var m=r.eq(p),v=p;h&&(v=parseInt(m.attr("data-swiper-slide-index"),10));var g=90*v,b=Math.floor(g/360);s&&(g=-g,b=Math.floor(-g/360));var y=Math.max(Math.min(m[0].progress,1),-1),w=0,x=0,S=0;v%4==0?(w=4*-b*l,S=0):(v-1)%4==0?(w=0,S=4*-b*l):(v-2)%4==0?(w=l+4*b*l,S=l):(v-3)%4==0&&(w=-l,S=3*l+4*l*b),s&&(w=-w),c||(x=w,w=0);var _="rotateX("+(c?0:-g)+"deg) rotateY("+(c?g:0)+"deg) translate3d("+w+"px, "+x+"px, "+S+"px)";if(y<=1&&y>-1&&(f=90*v+90*y,s&&(f=90*-v-90*y)),m.transform(_),u.slideShadows){var k=c?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),E=c?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===k.length&&(k=i('<div class="swiper-slide-shadow-'+(c?"left":"top")+'"></div>'),m.append(k)),0===E.length&&(E=i('<div class="swiper-slide-shadow-'+(c?"right":"bottom")+'"></div>'),m.append(E)),k.length&&(k[0].style.opacity=Math.max(-y,0)),E.length&&(E[0].style.opacity=Math.max(y,0))}}if(n.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),u.shadow)if(c)e.transform("translate3d(0px, "+(o/2+u.shadowOffset)+"px, "+-o/2+"px) rotateX(90deg) rotateZ(0deg) scale("+u.shadowScale+")");else{var C=Math.abs(f)-90*Math.floor(Math.abs(f)/90),T=1.5-(Math.sin(2*C*Math.PI/360)/2+Math.cos(2*C*Math.PI/360)/2),M=u.shadowScale,A=u.shadowScale/T,P=u.shadowOffset;e.transform("scale3d("+M+", 1, "+A+") translate3d(0px, "+(a/2+P)+"px, "+-a/2/A+"px) rotateX(-90deg)")}var O=d.isSafari||d.isUiWebView?-l/2:0;n.transform("translate3d(0px,0,"+O+"px) rotateX("+(this.isHorizontal()?0:f)+"deg) rotateY("+(this.isHorizontal()?-f:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},ne={setTranslate:function(){for(var e=this.slides,t=this.rtlTranslate,n=0;n<e.length;n+=1){var r=e.eq(n),o=r[0].progress;this.params.flipEffect.limitRotation&&(o=Math.max(Math.min(r[0].progress,
21),-1));var a=-180*o,s=0,l=-r[0].swiperSlideOffset,u=0;if(this.isHorizontal()?t&&(a=-a):(u=l,l=0,s=-a,a=0),r[0].style.zIndex=-Math.abs(Math.round(o))+e.length,this.params.flipEffect.slideShadows){var c=this.isHorizontal()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),d=this.isHorizontal()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===c.length&&(c=i('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),r.append(c)),0===d.length&&(d=i('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),r.append(d)),c.length&&(c[0].style.opacity=Math.max(-o,0)),d.length&&(d[0].style.opacity=Math.max(o,0))}r.transform("translate3d("+l+"px, "+u+"px, 0px) rotateX("+s+"deg) rotateY("+a+"deg)")}},setTransition:function(e){var t=this,n=t.slides,i=t.activeIndex,r=t.$wrapperEl;if(n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var o=!1;n.eq(i).transitionEnd((function(){if(!o&&t&&!t.destroyed){o=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],n=0;n<e.length;n+=1)r.trigger(e[n])}}))}}},ie={setTranslate:function(){for(var e=this.width,t=this.height,n=this.slides,r=this.$wrapperEl,o=this.slidesSizesGrid,a=this.params.coverflowEffect,s=this.isHorizontal(),l=this.translate,u=s?e/2-l:t/2-l,d=s?a.rotate:-a.rotate,h=a.depth,f=0,p=n.length;f<p;f+=1){var m=n.eq(f),v=o[f],g=(u-m[0].swiperSlideOffset-v/2)/v*a.modifier,b=s?d*g:0,y=s?0:d*g,w=-h*Math.abs(g),x=s?0:a.stretch*g,S=s?a.stretch*g:0;Math.abs(S)<.001&&(S=0),Math.abs(x)<.001&&(x=0),Math.abs(w)<.001&&(w=0),Math.abs(b)<.001&&(b=0),Math.abs(y)<.001&&(y=0);var _="translate3d("+S+"px,"+x+"px,"+w+"px) rotateX("+y+"deg) rotateY("+b+"deg)";if(m.transform(_),m[0].style.zIndex=1-Math.abs(Math.round(g)),a.slideShadows){var k=s?m.find(".swiper-slide-shadow-left"):m.find(".swiper-slide-shadow-top"),E=s?m.find(".swiper-slide-shadow-right"):m.find(".swiper-slide-shadow-bottom");0===k.length&&(k=i('<div class="swiper-slide-shadow-'+(s?"left":"top")+'"></div>'),m.append(k)),0===E.length&&(E=i('<div class="swiper-slide-shadow-'+(s?"right":"bottom")+'"></div>'),m.append(E)),k.length&&(k[0].style.opacity=g>0?g:0),E.length&&(E[0].style.opacity=-g>0?-g:0)}}(c.pointerEvents||c.prefixedPointerEvents)&&(r[0].style.perspectiveOrigin=u+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},re={init:function(){var e=this.params.thumbs,t=this.constructor;e.swiper instanceof t?(this.thumbs.swiper=e.swiper,u.extend(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),u.extend(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):u.isObject(e.swiper)&&(this.thumbs.swiper=new t(u.extend({},e.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick)},onThumbClick:function(){var e=this.thumbs.swiper;if(e){var t=e.clickedIndex,n=e.clickedSlide;if(!(n&&i(n).hasClass(this.params.thumbs.slideThumbActiveClass)||null==t)){var r;if(r=e.params.loop?parseInt(i(e.clickedSlide).attr("data-swiper-slide-index"),10):t,this.params.loop){var o=this.activeIndex;this.slides.eq(o).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,o=this.activeIndex);var a=this.slides.eq(o).prevAll('[data-swiper-slide-index="'+r+'"]').eq(0).index(),s=this.slides.eq(o).nextAll('[data-swiper-slide-index="'+r+'"]').eq(0).index();r=void 0===a?s:void 0===s?a:s-o<o-a?s:a}this.slideTo(r)}}},update:function(e){var t=this.thumbs.swiper;if(t){var n="auto"===t.params.slidesPerView?t.slidesPerViewDynamic():t.params.slidesPerView;if(this.realIndex!==t.realIndex){var i,r=t.activeIndex;if(t.params.loop){t.slides.eq(r).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,r=t.activeIndex);var o=t.slides.eq(r).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),a=t.slides.eq(r).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index();i=void 0===o?a:void 0===a?o:a-r==r-o?r:a-r<r-o?a:o}else i=this.realIndex;t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(i)<0&&(t.params.centeredSlides?i=i>r?i-Math.floor(n/2)+1:i+Math.floor(n/2)-1:i>r&&(i=i-n+1),t.slideTo(i,e?0:void 0))}var s=1,l=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(s=this.params.slidesPerView),t.slides.removeClass(l),t.params.loop||t.params.virtual)for(var u=0;u<s;u+=1)t.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+u)+'"]').addClass(l);else for(var c=0;c<s;c+=1)t.slides.eq(this.realIndex+c).addClass(l)}}},oe=[O,L,I,D,j,R,z,{name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){u.extend(this,{mousewheel:{enabled:!1,enable:H.enable.bind(this),disable:H.disable.bind(this),handle:H.handle.bind(this),handleMouseEnter:H.handleMouseEnter.bind(this),handleMouseLeave:H.handleMouseLeave.bind(this),lastScrollTime:u.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},{name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){u.extend(this,{navigation:{init:$.init.bind(this),update:$.update.bind(this),destroy:$.destroy.bind(this),onNextClick:$.onNextClick.bind(this),onPrevClick:$.onPrevClick.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t,n=this.navigation,r=n.$nextEl,o=n.$prevEl;!this.params.navigation.hideOnClick||i(e.target).is(o)||i(e.target).is(r)||(r?t=r.hasClass(this.params.navigation.hiddenClass):o&&(t=o.hasClass(this.params.navigation.hiddenClass)),!0===t?this.emit
2("navigationShow",this):this.emit("navigationHide",this),r&&r.toggleClass(this.params.navigation.hiddenClass),o&&o.toggleClass(this.params.navigation.hiddenClass))}}},{name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){u.extend(this,{pagination:{init:W.init.bind(this),render:W.render.bind(this),update:W.update.bind(this),destroy:W.destroy.bind(this),dynamicBulletIndex:0}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){(this.params.loop||void 0===this.snapIndex)&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){this.params.pagination.el&&this.params.pagination.hideOnClick&&this.pagination.$el.length>0&&!i(e.target).hasClass(this.params.pagination.bulletClass)&&(!0===this.pagination.$el.hasClass(this.params.pagination.hiddenClass)?this.emit("paginationShow",this):this.emit("paginationHide",this),this.pagination.$el.toggleClass(this.params.pagination.hiddenClass))}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){u.extend(this,{scrollbar:{init:q.init.bind(this),destroy:q.destroy.bind(this),updateSize:q.updateSize.bind(this),setTranslate:q.setTranslate.bind(this),setTransition:q.setTransition.bind(this),enableDraggable:q.enableDraggable.bind(this),disableDraggable:q.disableDraggable.bind(this),setDragPosition:q.setDragPosition.bind(this),getPointerPosition:q.getPointerPosition.bind(this),onDragStart:q.onDragStart.bind(this),onDragMove:q.onDragMove.bind(this),onDragEnd:q.onDragEnd.bind(this),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){u.extend(this,{parallax:{setTransform:V.setTransform.bind(this),setTranslate:V.setTranslate.bind(this),setTransition:V.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.parallax.enabled&&(this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},init:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax.enabled&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax.enabled&&this.parallax.setTransition(e)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this,t={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach((function(n){t[n]=Y[n].bind(e)})),u.extend(e,{zoom:t});var n=1;Object.defineProperty(e.zoom,"scale",{get:function(){return n},set:function(t){if(n!==t){var i=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,r=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,i,r)}n=t}})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},{name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){u.extend(this,{lazy:{initialImageLoaded:!1,load:U.load.bind(this),loadInSlide:U.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){this.params.lazy.enabled&&(this.params.lazy.loadOnTransitionStart||!this.params.lazy.loadOnTransitionStart&&!this.lazy.initialImageLoaded)&&this.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},X,{name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var e=this;u.extend(e,{a11y:{liveRegion:i('<span class="'+e.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}
2),Object.keys(K).forEach((function(t){e.a11y[t]=K[t].bind(e)}))},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){u.extend(this,{history:{init:Z.init.bind(this),setHistory:Z.setHistory.bind(this),setHistoryPopState:Z.setHistoryPopState.bind(this),scrollToSlide:Z.scrollToSlide.bind(this),destroy:Z.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){u.extend(this,{hashNavigation:{initialized:!1,init:J.init.bind(this),destroy:J.destroy.bind(this),setHash:J.setHash.bind(this),onHashCange:J.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;u.extend(e,{autoplay:{running:!1,paused:!1,run:Q.run.bind(e),start:Q.start.bind(e),stop:Q.stop.bind(e),pause:Q.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){u.extend(this,{fadeEffect:{setTranslate:ee.setTranslate.bind(this),setTransition:ee.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};u.extend(this.params,e),u.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){u.extend(this,{cubeEffect:{setTranslate:te.setTranslate.bind(this),setTransition:te.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};u.extend(this.params,e),u.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){u.extend(this,{flipEffect:{setTranslate:ne.setTranslate.bind(this),setTransition:ne.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};u.extend(this.params,e),u.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){u.extend(this,{coverflowEffect:{setTranslate:ie.setTranslate.bind(this),setTransition:ie.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){u.extend(this,{thumbs:{swiper:null,init:re.init.bind(this),update:re.update.bind(this),onThumbClick:re.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===P.use&&(P.use=P.Class.use,P.installModule=P.Class.installModule),P.use(oe),P}()},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var i=m(n(376)),r=m(n(430)),o=m(n(433)),a=m(n(437)),s=m(n(439)),l=m(n(440)),u=m(n(448)),c=m(n(450)),d=m(n(451)),h=m(n(453)),f=m(n(456)),p=m(n(159));function m(e){return e&&e.__esModule?e:{default:e}}var v="undefined"!=typeof window&&window.ally;t.default={element:i.default,event:r.default,fix:o.default,get:a.default,is:s.default,maintain:l.default,map:u.default,observe:c.default,query:d.default,style:h.default,when:f.default,version:p.default,noConflict:function(){return"undefined"!=typeof window&&window.ally===this&&(window.ally=v),this}},e.exports=t.default},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";if(n(10)){var i=n(42),r=n(2),o=n(3),a=n(0),s=n(78),l=n(112),u=n(21),c=n(55),d=n(40),h=n(17),f=n(56),p=n(23),m=n(8),v=n(151),g=n(44),b=n(36),y=n(16),w=n(61),x=n(5),S=n(12),_=n(104),k=n(45),E=n(47),C=n(46).f,T=n(106),M=n(41),A=n(7
vendor: 4,951 bytes, line 2
2),P=n(26),O=n(68),L=n(62),I=n(108),D=n(53),N=n(71),j=n(54),F=n(107),R=n(142),B=n(11),z=n(24),H=B.f,$=z.f,W=r.RangeError,q=r.TypeError,V=r.Uint8Array,Y=Array.prototype,U=l.ArrayBuffer,G=l.DataView,X=P(0),K=P(2),Z=P(3),J=P(4),Q=P(5),ee=P(6),te=O(!0),ne=O(!1),ie=I.values,re=I.keys,oe=I.entries,ae=Y.lastIndexOf,se=Y.reduce,le=Y.reduceRight,ue=Y.join,ce=Y.sort,de=Y.slice,he=Y.toString,fe=Y.toLocaleString,pe=A("iterator"),me=A("toStringTag"),ve=M("typed_constructor"),ge=M("def_constructor"),be=s.CONSTR,ye=s.TYPED,we=s.VIEW,xe=P(1,(function(e,t){return Ce(L(e,e[ge]),t)})),Se=o((function(){return 1===new V(new Uint16Array([1]).buffer)[0]})),_e=!!V&&!!V.prototype.set&&o((function(){new V(1).set({})})),ke=function(e,t){var n=p(e);if(n<0||n%t)throw W("Wrong offset!");return n},Ee=function(e){if(x(e)&&ye in e)return e;throw q(e+" is not a typed array!")},Ce=function(e,t){if(!x(e)||!(ve in e))throw q("It is not a typed array constructor!");return new e(t)},Te=function(e,t){return Me(L(e,e[ge]),t)},Me=function(e,t){for(var n=0,i=t.length,r=Ce(e,i);i>n;)r[n]=t[n++];return r},Ae=function(e,t,n){H(e,t,{get:function(){return this._d[n]}})},Pe=function(e){var t,n,i,r,o,a,s=S(e),l=arguments.length,c=l>1?arguments[1]:void 0,d=void 0!==c,h=T(s);if(null!=h&&!_(h)){for(a=h.call(s),i=[],t=0;!(o=a.next()).done;t++)i.push(o.value);s=i}for(d&&l>2&&(c=u(c,arguments[2],2)),t=0,n=m(s.length),r=Ce(this,n);n>t;t++)r[t]=d?c(s[t],t):s[t];return r},Oe=function(){for(var e=0,t=arguments.length,n=Ce(this,t);t>e;)n[e]=arguments[e++];return n},Le=!!V&&o((function(){fe.call(new V(1))})),Ie=function(){return fe.apply(Le?de.call(Ee(this)):Ee(this),arguments)},De={copyWithin:function(e,t){return R.call(Ee(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return J(Ee(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return F.apply(Ee(this),arguments)},filter:function(e){return Te(this,K(Ee(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Q(Ee(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Ee(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){X(Ee(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Ee(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Ee(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ue.apply(Ee(this),arguments)},lastIndexOf:function(e){return ae.apply(Ee(this),arguments)},map:function(e){return xe(Ee(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return se.apply(Ee(this),arguments)},reduceRight:function(e){return le.apply(Ee(this),arguments)},reverse:function(){for(var e,t=Ee(this).length,n=Math.floor(t/2),i=0;i<n;)e=this[i],this[i++]=this[--t],this[t]=e;return this},some:function(e){return Z(Ee(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return ce.call(Ee(this),e)},subarray:function(e,t){var n=Ee(this),i=n.length,r=g(e,i);return new(L(n,n[ge]))(n.buffer,n.byteOffset+r*n.BYTES_PER_ELEMENT,m((void 0===t?i:g(t,i))-r))}},Ne=function(e,t){return Te(this,de.call(Ee(this),e,t))},je=function(e){Ee(this);var t=ke(arguments[1],1),n=this.length,i=S(e),r=m(i.length),o=0;if(r+t>n)throw W("Wrong length!");for(;o<r;)this[t+o]=i[o++]},Fe={entries:function(){return oe.call(Ee(this))},keys:function(){return re.call(Ee(this))},values:function(){return ie.call(Ee(this))}},Re=function(e,t){return x(e)&&e[ye]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Be=function(e,t){return Re(e,t=b(t,!0))?d(2,e[t]):$(e,t)},ze=function(e,t,n){return!(Re(e,t=b(t,!0))&&x(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?H(e,t,n):(e[t]=n.value,e)};be||(z.f=Be,B.f=ze),a(a.S+a.F*!be,"Object",{getOwnPropertyDescriptor:Be,defineProperty:ze}),o((function(){he.call({})}))&&(he=fe=function(){return ue.call(this)});var He=f({},De);f(He,Fe),h(He,pe,Fe.values),f(He,{slice:Ne,set:je,constructor:function(){},toString:he,toLocaleString:Ie}),Ae(He,"buffer","b"),Ae(He,"byteOffset","o"),Ae(He,"byteLength","l"),Ae(He,"length","e"),H(He,me,{get:function(){return this[ye]}}),e.exports=function(e,t,n,l){var u=e+((l=!!l)?"Clamped":"")+"Array",d="get"+e,f="set"+e,p=r[u],g=p||{},b=p&&E(p),y=!p||!s.ABV,S={},_=p&&p.prototype,T=function(e,n){H(e,n,{get:function(){return function(e,n){var i=e._d;return i.v[d](n*t+i.o,Se)}(this,n)},set:function(e){return function(e,n,i){var r=e._d;l&&(i=(i=Math.round(i))<0?0:i>255?255:255&i),r.v[f](n*t+r.o,i,Se)}(this,n,e)},enumerable:!0})};y?(p=n((function(e,n,i,r){c(e,p,u,"_d");var o,a,s,l,d=0,f=0;if(x(n)){if(!(n instanceof U||"ArrayBuffer"==(l=w(n))||"SharedArrayBuffer"==l))return ye in n?Me(p,n):Pe.call(p,n);o=n,f=ke(i,t);var g=n.byteLength;if(void 0===r){if(g%t)throw W("Wrong length!");if((a=g-f)<0)throw W("Wrong length!")}else if((a=m(r)*t)+f>g)throw W("Wrong length!");s=a/t}else s=v(n),o=new U(a=s*t);
2for(h(e,"_d",{b:o,o:f,l:a,e:s,v:new G(o)});d<s;)T(e,d++)})),_=p.prototype=k(He),h(_,"constructor",p)):o((function(){p(1)}))&&o((function(){new p(-1)}))&&N((function(e){new p,new p(null),new p(1.5),new p(e)}),!0)||(p=n((function(e,n,i,r){var o;return c(e,p,u),x(n)?n instanceof U||"ArrayBuffer"==(o=w(n))||"SharedArrayBuffer"==o?void 0!==r?new g(n,ke(i,t),r):void 0!==i?new g(n,ke(i,t)):new g(n):ye in n?Me(p,n):Pe.call(p,n):new g(v(n))})),X(b!==Function.prototype?C(g).concat(C(b)):C(g),(function(e){e in p||h(p,e,g[e])})),p.prototype=_,i||(_.constructor=p));var M=_[pe],A=!!M&&("values"==M.name||null==M.name),P=Fe.values;h(p,ve,!0),h(_,ye,u),h(_,we,!0),h(_,ge,p),(l?new p(1)[me]==u:me in _)||H(_,me,{get:function(){return u}}),S[u]=p,a(a.G+a.W+a.F*(p!=g),S),a(a.S,u,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*o((function(){g.of.call(p,1)})),u,{from:Pe,of:Oe}),"BYTES_PER_ELEMENT"in _||h(_,"BYTES_PER_ELEMENT",t),a(a.P,u,De),j(u),a(a.P+a.F*_e,u,{set:je}),a(a.P+a.F*!A,u,Fe),i||_.toString==he||(_.toString=he),a(a.P+a.F*o((function(){new p(1).slice()})),u,{slice:Ne}),a(a.P+a.F*(o((function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()}))||!o((function(){_.toLocaleString.call([1,2])}))),u,{toLocaleString:Ie}),D[u]=A?M:P,i||A||h(_,pe,P)}}else e.exports=function(){}},function(e,t,n){!function(t,n){var i=function(e,t,n){"use strict";var i,r;if(function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in r=e.lazySizesConfig||e.lazysizesConfig||{},n)t in r||(r[t]=n[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:r,noSupport:!0};var o=t.documentElement,a=e.HTMLPictureElement,s=e.addEventListener.bind(e),l=e.setTimeout,u=e.requestAnimationFrame||l,c=e.requestIdleCallback,d=/^picture$/i,h=["load","error","lazyincluded","_lazyloaded"],f={},p=Array.prototype.forEach,m=function(e,t){return f[t]||(f[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),f[t].test(e.getAttribute("class")||"")&&f[t]},v=function(e,t){m(e,t)||e.setAttribute("class",(e.getAttribute("class")||"").trim()+" "+t)},g=function(e,t){var n;(n=m(e,t))&&e.setAttribute("class",(e.getAttribute("class")||"").replace(n," "))},b=function(e,t,n){var i=n?"addEventListener":"removeEventListener";n&&b(e,t),h.forEach((function(n){e[i](n,t)}))},y=function(e,n,r,o,a){var s=t.createEvent("Event");return r||(r={}),r.instance=i,s.initEvent(n,!o,!a),s.detail=r,e.dispatchEvent(s),s},w=function(t,n){var i;!a&&(i=e.picturefill||r.pf)?(n&&n.src&&!t.getAttribute("srcset")&&t.setAttribute("srcset",n.src),i({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},x=function(e,t){return(getComputedStyle(e,null)||{})[t]},S=function(e,t,n){for(n=n||e.offsetWidth;n<r.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},_=(fe=[],pe=[],me=fe,ve=function(){var e=me;for(me=fe.length?pe:fe,de=!0,he=!1;e.length;)e.shift()();de=!1},ge=function(e,n){de&&!n?e.apply(this,arguments):(me.push(e),he||(he=!0,(t.hidden?l:u)(ve)))},ge._lsFlush=ve,ge),k=function(e,t){return t?function(){_(e)}:function(){var t=this,n=arguments;_((function(){e.apply(t,n)}))}},E=function(e){var t,i,r=function(){t=null,e()},o=function(){var e=n.now()-i;e<99?l(o,99-e):(c||r)(r)};return function(){i=n.now(),t||(t=l(o,99))}},C=(V=/^img$/i,Y=/^iframe$/i,U="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),G=0,X=0,K=-1,Z=function(e){X--,(!e||X<0||!e.target)&&(X=0)},J=function(e){return null==q&&(q="hidden"==x(t.body,"visibility")),q||!("hidden"==x(e.parentNode,"visibility")&&"hidden"==x(e,"visibility"))},Q=function(e,n){var i,r=e,a=J(e);for(z-=n,W+=n,H-=n,$+=n;a&&(r=r.offsetParent)&&r!=t.body&&r!=o;)(a=(x(r,"opacity")||1)>0)&&"visible"!=x(r,"overflow")&&(i=r.getBoundingClientRect(),a=$>i.left&&H<i.right&&W>i.top-1&&z<i.bottom+1);return a},ee=function(){var e,n,a,s,l,u,c,d,h,f,p,m,v=i.elements;if((j=r.loadMode)&&X<8&&(e=v.length)){for(n=0,K++;n<e;n++)if(v[n]&&!v[n]._lazyRace)if(!U||i.prematureUnveil&&i.prematureUnveil(v[n]))se(v[n]);else if((d=v[n].getAttribute("data-expand"))&&(u=1*d)||(u=G),f||(f=!r.expand||r.expand<1?o.clientHeight>500&&o.clientWidth>500?500:370:r.expand,i._defEx=f,p=f*r.expFactor,m=r.hFac,q=null,G<p&&X<1&&K>2&&j>2&&!t.hidden?(G=p,K=0):G=j>1&&K>1&&X<6?f:0),h!==u&&(R=innerWidth+u*m,B=innerHeight+u,c=-1*u,h=u),a=v[n].getBoundingClientRect(),(W=a.bottom)>=c&&(z=a.top)<=B&&($=a.right)>=c*m&&(H=a.left)<=R&&(W||$||H||z)&&(r.loadHidden||J(v[n]))&&(D&&X<3&&!d&&(j<3||K<4)||Q(v[n],u))){if(se(v[n]),l=!0,X>9)break}else!l&&D&&!s&&X<4&&K<4&&j>
22&&(I[0]||r.preloadAfterLoad)&&(I[0]||!d&&(W||$||H||z||"auto"!=v[n].getAttribute(r.sizesAttr)))&&(s=I[0]||v[n]);s&&!l&&se(s)}},te=function(e){var t,i=0,o=r.throttleDelay,a=r.ricTimeout,s=function(){t=!1,i=n.now(),e()},u=c&&a>49?function(){c(s,{timeout:a}),a!==r.ricTimeout&&(a=r.ricTimeout)}:k((function(){l(s)}),!0);return function(e){var r;(e=!0===e)&&(a=33),t||(t=!0,(r=o-(n.now()-i))<0&&(r=0),e||r<9?u():l(u,r))}}(ee),ne=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(Z(e),v(t,r.loadedClass),g(t,r.loadingClass),b(t,re),y(t,"lazyloaded"))},ie=k(ne),re=function(e){ie({target:e.target})},oe=function(e){var t,n=e.getAttribute(r.srcsetAttr);(t=r.customMedia[e.getAttribute("data-media")||e.getAttribute("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},ae=k((function(e,t,n,i,o){var a,s,u,c,h,f;(h=y(e,"lazybeforeunveil",t)).defaultPrevented||(i&&(n?v(e,r.autosizesClass):e.setAttribute("sizes",i)),s=e.getAttribute(r.srcsetAttr),a=e.getAttribute(r.srcAttr),o&&(c=(u=e.parentNode)&&d.test(u.nodeName||"")),f=t.firesLoad||"src"in e&&(s||a||c),h={target:e},v(e,r.loadingClass),f&&(clearTimeout(N),N=l(Z,2500),b(e,re,!0)),c&&p.call(u.getElementsByTagName("source"),oe),s?e.setAttribute("srcset",s):a&&!c&&(Y.test(e.nodeName)?function(e,t){var n=e.getAttribute("data-load-mode")||r.iframeLoadMode;0==n?e.contentWindow.location.replace(t):1==n&&(e.src=t)}(e,a):e.src=a),o&&(s||c)&&w(e,{src:a})),e._lazyRace&&delete e._lazyRace,g(e,r.lazyClass),_((function(){var t=e.complete&&e.naturalWidth>1;f&&!t||(t&&v(e,r.fastLoadedClass),ne(h),e._lazyCache=!0,l((function(){"_lazyCache"in e&&delete e._lazyCache}),9)),"lazy"==e.loading&&X--}),!0)})),se=function(e){if(!e._lazyRace){var t,n=V.test(e.nodeName),i=n&&(e.getAttribute(r.sizesAttr)||e.getAttribute("sizes")),o="auto"==i;(!o&&D||!n||!e.getAttribute("src")&&!e.srcset||e.complete||m(e,r.errorClass)||!m(e,r.lazyClass))&&(t=y(e,"lazyunveilread").detail,o&&T.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,X++,ae(e,t,o,i,n))}},le=E((function(){r.loadMode=3,te()})),ue=function(){3==r.loadMode&&(r.loadMode=2),le()},ce=function(){D||(n.now()-F<999?l(ce,999):(D=!0,r.loadMode=3,te(),s("scroll",ue,!0)))},{_:function(){F=n.now(),i.elements=t.getElementsByClassName(r.lazyClass),I=t.getElementsByClassName(r.lazyClass+" "+r.preloadClass),s("scroll",te,!0),s("resize",te,!0),s("pageshow",(function(e){if(e.persisted){var n=t.querySelectorAll("."+r.loadingClass);n.length&&n.forEach&&u((function(){n.forEach((function(e){e.complete&&se(e)}))}))}})),e.MutationObserver?new MutationObserver(te).observe(o,{childList:!0,subtree:!0,attributes:!0}):(o.addEventListener("DOMNodeInserted",te,!0),o.addEventListener("DOMAttrModified",te,!0),setInterval(te,999)),s("hashchange",te,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(e){t.addEventListener(e,te,!0)})),/d$|^c/.test(t.readyState)?ce():(s("load",ce),t.addEventListener("DOMContentLoaded",te),l(ce,2e4)),i.elements.length?(ee(),_._lsFlush()):te()},checkElems:te,unveil:se,_aLSL:ue}),T=(P=k((function(e,t,n,i){var r,o,a;if(e._lazysizesWidth=i,i+="px",e.setAttribute("sizes",i),d.test(t.nodeName||""))for(o=0,a=(r=t.getElementsByTagName("source")).length;o<a;o++)r[o].setAttribute("sizes",i);n.detail.dataAttr||w(e,n.detail)})),O=function(e,t,n){var i,r=e.parentNode;r&&(n=S(e,r,n),(i=y(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=i.detail.width)&&n!==e._lazysizesWidth&&P(e,r,i,n))},L=E((function(){var e,t=A.length;if(t)for(e=0;e<t;e++)O(A[e])})),{_:function(){A=t.getElementsByClassName(r.autosizesClass),s("resize",L)},checkElems:L,updateElem:O}),M=function(){!M.i&&t.getElementsByClassName&&(M.i=!0,T._(),C._())};var A,P,O,L;var I,D,N,j,F,R,B,z,H,$,W,q,V,Y,U,G,X,K,Z,J,Q,ee,te,ne,ie,re,oe,ae,se,le,ue,ce;var de,he,fe,pe,me,ve,ge;return l((function(){r.init&&M()})),i={cfg:r,autoSizer:T,loader:C,init:M,uP:w,aC:v,rC:g,hC:m,fire:y,gW:S,rAF:_}}(t,t.document,Date);t.lazySizes=i,e.exports&&(e.exports=i)}("undefined"!=typeof window?window:{})},function(e,t,n){var i=n(5);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var i=n(41)("meta"),r=n(5),o=n(16),a=n(11).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(3)((function(){return l(Object.preventExtensions({}))})),c=function(e){a(e,i,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:i,NEED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[i].i},getWeak:function(e,t){if(!o(e,i)){if(!l(e))return!0;
2if(!t)return!1;c(e)}return e[i].w},onFreeze:function(e){return u&&d.NEED&&l(e)&&!o(e,i)&&c(e),e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=h(n(83)),r=h(n(167)),o=h(n(58)),a=h(n(168)),s=h(n(169)),l=h(n(6)),u=h(n(84)),c=h(n(50)),d=h(n(19));function h(e){return e&&e.__esModule?e:{default:e}}var f=void 0;function p(e){var t=e.nodeName.toLowerCase();if("embed"===t||"keygen"===t)return!0;var n=(0,c.default)(e);if(e.shadowRoot&&null===n)return!0;if("label"===t)return!f.focusLabelTabindex||null===n;if("legend"===t)return null===n;if(f.focusSvgFocusableAttribute&&(e.ownerSVGElement||"svg"===t)){var i=e.getAttribute("focusable");return i&&"false"===i}return"img"===t&&e.hasAttribute("usemap")?null===n||!f.focusImgUsemapTabindex:"area"===t&&!(0,r.default)(e)}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.except,r=void 0===n?{disabled:!1,visible:!1,onlyTabbable:!1}:n;f||(f=(0,d.default)());var c=s.default.rules.except({onlyFocusableBrowsingContext:!0,visible:r.visible}),h=(0,l.default)({label:"is/focusable",resolveDocument:!0,context:t}),m=i.default.rules({context:h,except:r});if(!m||p(h))return!1;if(!r.disabled&&(0,a.default)(h))return!1;if(!r.onlyTabbable&&c(h))return!1;if(!r.visible){var v={context:h,except:{}};if(f.focusInHiddenIframe&&(v.except.browsingContext=!0),f.focusObjectSvgHidden){var g=h.nodeName.toLowerCase();"object"===g&&(v.except.cssVisibility=!0)}if(!o.default.rules(v))return!1}var b=(0,u.default)(h);if(b){var y=b.nodeName.toLowerCase();if(!("object"!==y||f.focusInZeroDimensionObject||b.offsetWidth&&b.offsetHeight))return!1}var w=h.nodeName.toLowerCase();return!("svg"===w&&f.focusSvgInIframe&&!b&&null===h.getAttribute("tabindex"))}m.except=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return m({context:t,except:e})};return t.rules=m,t};var v=m.except({});t.default=v,e.exports=t.default},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t){e.exports=!1},function(e,t,n){var i=n(126),r=n(91);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){var i=n(23),r=Math.max,o=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):o(e,t)}},function(e,t,n){var i=n(4),r=n(127),o=n(91),a=n(90)("IE_PROTO"),s=function(){},l=function(){var e,t=n(88)("iframe"),i=o.length;for(t.style.display="none",n(92).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;i--;)delete l.prototype[o[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=i(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(126),r=n(91).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},function(e,t,n){var i=n(16),r=n(12),o=n(90)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var i=n(7)("unscopables"),r=Array.prototype;null==r[i]&&n(17)(r,i,{}),e.exports=function(e){r[i][e]=!0}},function(e,t,n){var i=n(5);e.exports=function(e,t){if(!i(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(0,o.default)(e))return null;var t=e.hasAttribute("tabindex")?"tabindex":"tabIndex",n=parseInt(e.getAttribute(t),10);return isNaN(n)?-1:n};var i,r=n(82),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){var i=n(11).f,r=n(16),o=n(7)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},function(e,t,n){var i=n(0),r=n(33),o=n(3),a=n(94),s="["+a+"]",l=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),c=function(e,t,n){var r={},s=o((function(){return!!a[e]()||"âÂ
"!="âÂ
"[e]()})),l=r[e]=s?t(d):a[e];n&&(r[n]=l),i(i.P+i.F*s,"String",r)},d=c.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(u,"")),e};e.exports=c},function(e,t){e.exports={}},function(e,t,n){"use strict";var i=n(2),r=n(11),o=n(10),a=n(7)("species");e.exports=function(e){var t=i[e];o&&t&&!t[a]&&r.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var i=n(14);e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.generate=function(e){return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">'+e+"</svg>"},t.focus=a,t.validate=function(e,t,n){return a(t),n.activeElement===t};var i,r=n(162),o=(i=r)&&i.__esModule?i:{default:i};function a(e){if(!e.focus)try{HTMLElement.prototype.focus.call(e)}catch(t){(0,o.default)(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n(118)),r=s(n(29)),o=s(n(6)),a=s(n(84));function s(e){return e&&e.__esModule?e:{default:e}}var l=/^(area)$/;function u(e,t){return window.getComputedStyle(e,null).getPropertyValue(t)}function c(e){return e.some((function(e){return"none"===u(e,"display")}))}function d(e){var t=(0,i.default)(e,(function(e){var t=u(e,"visibility");return"hidden"===t||"collapse"===t}));if(-1===t)return!1;var n=(0,i.default)(e,(function(e){return"visible"===u(e,"visibility")}));return-1===n||t<n}function h(e){var t=1;return"summary"===e[0].nodeName.toLowerCase()&&(t=2),e.slice(t).some((function(e){return"details"===e.nodeName.toLowerCase()&&!1===e.open}))}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.except,i=void 0===n?{notRendered:!1,cssDisplay:!1,cssVisibility:!1,detailsElement:!1,browsingContext:!1}:n,s=(0,o.default)({label:"is/visible",resolveDocument:!0,context:t}),u=s.nodeName.toLowerCase();if(!i.notRendered&&l.test(u))return!0;var p=(0,r.default)({context:s}),m="audio"===u&&!s.hasAttribute("controls");if(!i.cssDisplay&&c(m?p.slice(1):p))return!1;if(!i.cssVisibility&&d(p))return!1;if(!i.detailsElement&&h(p))return!1;if(!i.browsingContext){var v=(0,a.default)(s),g=f.except(i);if(v&&!g(v))return!1}return!0}f.except=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return f({context:t,except:e})};return t.rules=f,t};var p=f.except({});t.default=p,e.exports=t.default},function(e,t,n){var i=n(32);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var i=n(32),r=n(7)("toStringTag"),o="Arguments"==i(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:o?i(t):"Object"==(a=i(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var i=n(4),r=n(22),o=n(7)("species");e.exports=function(e,t){var n,a=i(e).constructor;return void 0===a||null==(n=i(a)[o])?t:r(n)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=(0,o.default)({label:"get/shadow-host",context:t}),i=null;n;)i=n,n=n.parentNode;return i.nodeType===i.DOCUMENT_FRAGMENT_NODE&&i.host?i.host:null};var i,r=n(6),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.except,s=(0,a.default)({label:"get/focus-target",context:t}),l=null,u=function(e){return o.default.rules({context:e,except:n})?(l=e,!0):(l=(0,i.default)({context:e,skipFocusable:!0}),Boolean(l))};return u(s)||(0,r.default)({context:s}).slice(1).some(u),l};var i=s(n(165)),r=s(n(29)),o=s(n(39)),a=s(n(6));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.includeContext,o=e.includeOnlyTabbable,a=e.strategy,s=r.default.rules.except({onlyTabbable:o});return(0,i.default)({context:t,includeContext:n,includeOnlyTabbable:o,strategy:a}).filter(s)};var i=o(n(86)),r=o(n(170));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.force;
2t?this.instances=0:this.instances--,this.instances||(this.disengage(),this._result=null)}function r(){return this.instances?(this.instances++,this._result):(this.instances++,this._result=this.engage()||{},this._result.disengage=i.bind(this),this._result)}function o(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.engage,n=e.disengage,i={engage:t||o,disengage:n||o,instances:0,_result:null};return r.bind(i)},e.exports=t.default},function(e,t,n){var i=n(9),r=n(2),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(42)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var i=n(18),r=n(8),o=n(44);e.exports=function(e){return function(t,n,a){var s,l=i(t),u=r(l.length),c=o(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var i=n(32);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(7)("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var o=[7],a=o[i]();a.next=function(){return{done:n=!0}},o[i]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){"use strict";var i=n(4);e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var i=n(61),r=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},function(e,t,n){"use strict";n(144);var i=n(14),r=n(17),o=n(3),a=n(33),s=n(7),l=n(109),u=s("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=s(e),f=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=f?!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!t})):void 0;if(!f||!p||"replace"===e&&!c||"split"===e&&!d){var m=/./[h],v=n(a,h,""[e],(function(e,t,n,i,r){return t.exec===l?f&&!r?{done:!0,value:m.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}})),g=v[0],b=v[1];i(String.prototype,e,g),r(RegExp.prototype,h,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},function(e,t,n){var i=n(21),r=n(139),o=n(104),a=n(4),s=n(8),l=n(106),u={},c={};(t=e.exports=function(e,t,n,d,h){var f,p,m,v,g=h?function(){return e}:l(e),b=i(n,d,t?2:1),y=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(o(g)){for(f=s(e.length);f>y;y++)if((v=t?b(a(p=e[y])[0],p[1]):b(e[y]))===u||v===c)return v}else for(m=g.call(e);!(p=m.next()).done;)if((v=r(m,b,p.value,t))===u||v===c)return v}).BREAK=u,t.RETURN=c},function(e,t,n){var i=n(2).navigator;e.exports=i&&i.userAgent||""},function(e,t,n){"use strict";var i=n(2),r=n(0),o=n(14),a=n(56),s=n(37),l=n(75),u=n(55),c=n(5),d=n(3),h=n(71),f=n(51),p=n(95);e.exports=function(e,t,n,m,v,g){var b=i[e],y=b,w=v?"set":"add",x=y&&y.prototype,S={},_=function(e){var t=x[e];o(x,e,"delete"==e||"has"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof y&&(g||x.forEach&&!d((function(){(new y).entries().next()})))){var k=new y,E=k[w](g?{}:-0,1)!=k,C=d((function(){k.has(1)})),T=h((function(e){new y(e)})),M=!g&&d((function(){for(var e=new y,t=5;t--;)e[w](t,t);return!e.has(-0)}));T||((y=t((function(t,n){u(t,y,e);var i=p(new b,t,y);return null!=n&&l(n,v,i[w],i),i}))).prototype=x,x.constructor=y),(C||M)&&(_("delete"),_("has"),v&&_("get")),(M||E)&&_(w),g&&x.clear&&delete x.clear}else y=m.getConstructor(t,e,v,w),a(y.prototype,n),s.NEED=!0;return f(y,e),S[e]=y,r(r.G+r.W+r.F*(y!=b),S),g||m.setStrong(y,e,v),y}},function(e,t,n){for(var i,r=n(2),o=n(17),a=n(41),s=a("typed_array"),l=a("view"),u=!(!r.ArrayBuffer||!r.DataView),c=u,d=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(i=r[h[d++]])?(o(i.prototype,s,!0),o(i.prototype,l,!0)):c=!1;e.exports={ABV:u,CONSTR:c,TYPED:s,VIEW:l}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";
vendor: 4,204 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,i.default)({label:"is/active-element",resolveDocument:!0,context:e});if((0,o.default)(t).activeElement===t)return!0;var n=(0,r.default)({context:t});return!(!n||n.shadowRoot.activeElement!==t)};var i=a(n(6)),r=a(n(63)),o=a(n(28));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){a||(a=(0,r.default)());var t=a.focusTabindexTrailingCharacters?l:s,n=(0,i.default)({label:"is/valid-tabindex",resolveDocument:!0,context:e}),o=n.hasAttribute("tabindex"),u=n.hasAttribute("tabIndex");if(!o&&!u)return!1;if((n.ownerSVGElement||"svg"===n.nodeName.toLowerCase())&&!a.focusSvgTabindexAttribute)return!1;if(a.focusInvalidTabindex)return!0;var c=n.getAttribute(o?"tabindex":"tabIndex");return"-32768"!==c&&Boolean(c&&t.test(c))};var i=o(n(6)),r=o(n(19));function o(e){return e&&e.__esModule?e:{default:e}}var a=void 0,s=/^\s*(-|\+)?[0-9]+\s*$/,l=/^\s*(-|\+)?[0-9]+.*$/;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=c(n(29)),r=c(n(6)),o=c(n(117)),a=c(n(50)),s=c(n(82)),l=n(166),u=c(n(19));function c(e){return e&&e.__esModule?e:{default:e}}var d=void 0;function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.except,c=void 0===n?{flexbox:!1,scrollable:!1,shadow:!1}:n;d||(d=(0,u.default)());var h=(0,r.default)({label:"is/focus-relevant",resolveDocument:!0,context:t});if(!c.shadow&&h.shadowRoot)return!0;var f=h.nodeName.toLowerCase();if("input"===f&&"hidden"===h.type)return!1;if("input"===f||"select"===f||"button"===f||"textarea"===f)return!0;if("legend"===f&&d.focusRedirectLegend)return!0;if("label"===f)return!0;if("area"===f)return!0;if("a"===f&&h.hasAttribute("href"))return!0;if("object"===f&&h.hasAttribute("usemap"))return!1;if("object"===f){var p=h.getAttribute("type");if(!d.focusObjectSvg&&"image/svg+xml"===p)return!1;if(!d.focusObjectSwf&&"application/x-shockwave-flash"===p)return!1}if("iframe"===f||"object"===f)return!0;if("embed"===f||"keygen"===f)return!0;if(h.hasAttribute("contenteditable"))return!0;if("audio"===f&&(d.focusAudioWithoutControls||h.hasAttribute("controls")))return!0;if("video"===f&&(d.focusVideoWithoutControls||h.hasAttribute("controls")))return!0;if(d.focusSummary&&"summary"===f)return!0;var m=(0,s.default)(h);if("img"===f&&h.hasAttribute("usemap"))return m&&d.focusImgUsemapTabindex||d.focusRedirectImgUsemap;if(d.focusTable&&("table"===f||"td"===f))return!0;if(d.focusFieldset&&"fieldset"===f)return!0;var v="svg"===f,g=h.ownerSVGElement,b=h.getAttribute("focusable"),y=(0,a.default)(h);if("use"===f&&null!==y&&!d.focusSvgUseTabindex)return!1;if("foreignobject"===f)return null!==y&&d.focusSvgForeignobjectTabindex;if((0,o.default)(h,"svg a")&&h.hasAttribute("xlink:href"))return!0;if((v||g)&&h.focus&&!d.focusSvgNegativeTabindexAttribute&&y<0)return!1;if(v)return m||d.focusSvg||d.focusSvgInIframe||Boolean(d.focusSvgFocusableAttribute&&b&&"true"===b);if(g){if(d.focusSvgTabindexAttribute&&m)return!0;if(d.focusSvgFocusableAttribute)return"true"===b}if(m)return!0;var w=window.getComputedStyle(h,null);if((0,l.isUserModifyWritable)(w))return!0;if(d.focusImgIsmap&&"img"===f&&h.hasAttribute("ismap")){var x=(0,i.default)({context:h}).some((function(e){return"a"===e.nodeName.toLowerCase()&&e.hasAttribute("href")}));if(x)return!0}if(!c.scrollable&&d.focusScrollContainer)if(d.focusScrollContainerWithoutOverflow){if((0,l.isScrollableContainer)(h,f))return!0}else if((0,l.hasCssOverflowScroll)(w))return!0;if(!c.flexbox&&d.focusFlexboxContainer&&(0,l.hasCssDisplayFlex)(w))return!0;var S=h.parentElement;if(!c.scrollable&&S){var _=S.nodeName.toLowerCase(),k=window.getComputedStyle(S,null);if(d.focusScrollBody&&(0,l.isScrollableContainer)(S,f,_,k))return!0;if(d.focusChildrenOfFocusableFlexbox&&(0,l.hasCssDisplayFlex)(k))return!0}return!1}h.except=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return h({context:t,except:e})};return t.rules=h,t};var f=h.except({});t.default=f,e.exports=t.default},function(e,t,n){"use strict";
vendor: 12,159 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)(e);if(!t.parent||t.parent===t)return null;try{return t.frameElement||function(e){s||(s=(0,o.default)("object, iframe"));if(void 0!==e._frameElement)return e._frameElement;e._frameElement=null;var t=e.parent.document.querySelectorAll(s);return[].some.call(t,(function(t){return(0,i.default)(t)===e.document&&(e._frameElement=t,!0)})),e._frameElement}(t)}catch(e){return null}};var i=a(n(423)),r=a(n(116)),o=a(n(119));function a(e){return e&&e.__esModule?e:{default:e}}var s=void 0;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMapByName=a,t.getMapOfImage=function(e){var t=e.getAttribute("usemap");if(!t)return null;var n=(0,r.default)(e);return a(t.slice(1),n)},t.getImageOfArea=function(e){var t=e.parentElement;if(!t.name||"map"!==t.nodeName.toLowerCase())return null;return(0,r.default)(e).querySelector('img[usemap="#'+(0,i.default)(t.name)+'"]')||null};var i=o(n(424)),r=o(n(28));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return t.querySelector('map[name="'+(0,i.default)(e)+'"]')||null}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.includeContext,a=e.includeOnlyTabbable,s=e.strategy,l=void 0===s?"quick":s,u=(0,i.default)({label:"query/focusable",resolveDocument:!0,defaultToDocument:!0,context:t}),c={context:u,includeContext:n,includeOnlyTabbable:a,strategy:l};if("quick"===l)return(0,o.default)(c);if("strict"===l||"all"===l)return(0,r.default)(c);throw new TypeError('query/focusable requires option.strategy to be one of ["quick", "strict", "all"]')};var i=a(n(6)),r=a(n(425)),o=a(n(426));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getParentComparator=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.parent,n=e.element,i=e.includeSelf;if(t)return function(e){return Boolean(i&&e===t||t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)};if(n)return function(e){return Boolean(i&&n===e||e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)};throw new TypeError("util/compare-position#getParentComparator required either options.parent or options.element")}},function(e,t,n){var i=n(5),r=n(2).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){t.f=n(7)},function(e,t,n){var i=n(67)("keys"),r=n(41);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(2).document;e.exports=i&&i.documentElement},function(e,t,n){var i=n(5),r=n(4),o=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{(i=n(21)(Function.call,n(24).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},function(e,t){e.exports="\t\n\v\f\r  áá ââââââ
ââââââ¯âã\u2028\u2029\ufeff"},function(e,t,n){var i=n(5),r=n(93).set;e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&i(o)&&r&&r(e,o),e}},function(e,t,n){"use strict";var i=n(23),r=n(33);e.exports=function(e){var t=String(r(this)),n="",o=i(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){var i=n(23),r=n(33);e.exports=function(e){return function(t,n){var o,a,s=String(r(t)),l=i(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},function(e,t,n){"use strict";var i=n(42),r=n(0),o=n(14),a=n(17),s=n(53),l=n(138),u=n(51),c=n(47),d=n(7)("iterator"),h=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,p,m,v,g){l(n,t,p);var b,y,w,x=function(e){if(!h&&e in E)return E[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",_="values"==m,k=!1,E=e.prototype,C=E[d]||E["@@iterator"]||m&&E[m],T=C||x(m),M=m?_?x("entries"):T:void 0,A="Array"==t&&E.entries||C;if(A&&(w=c(A.call(new e)))!==Object.prototype&&w.next&&(u(w,S,!0),i||"function"==typeof w[d]||a(w,d,f)),_&&C&&"values"!==C.name&&(k=!0,T=function(){return C.call(this)}),i&&!g||!h&&!k&&E[d]||a(E,d,T),s[t]=T,s[S]=f,m)if(b={values:_?T:x("values"),keys:v?T:x("keys"),entries:M},g)for(y in b)y in E||o(E,y,b[y]);else r(r.P+r.F*(h||k),t,b);return b}},function(e,t,n){var i=n(102),r=n(33);e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},function(e,t,n){var i=n(5),r=n(32),o=n(7)("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==r(e))}},function(e,t,n){var i=n(7)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var i=n(53),r=n(7)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},function(e,t,n){"use strict";var i=n(11),r=n(40);e.exports=function(e,t,n){t in e?i.f(e,t,r(0,n)):e[t]=n}},function(e,t,n){var i=n(61),r=n(7)("iterator"),o=n(53);e.exports=n(9).getIteratorMethod=function(e){if(null!=e)return e[r]||e["@@iterator"]||o[i(e)]}},function(e,t,n){"use strict";var i=n(12),r=n(44),o=n(8);e.exports=function(e){for(var t=i(this),n=o(t.length),a=arguments.length,s=r(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:r(l,n);u>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var i=n(48),r=n(143),o=n(53),a=n(18);e.exports=n(100)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){"use strict";var i,r,o=n(72),a=RegExp.prototype.exec,s=String.prototype.replace,l=a,u=(i=/a/,r=/b*/g,a.call(i,"a"),a.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),c=void 0!==/()??/.exec("")[1];(u||c)&&(l=function(e){var t,n,i,r,l=this;return c&&(n=new RegExp("^"+l.source+"$(?!\\s)",o.call(l))),u&&(t=l.lastIndex),i=a.call(l,e),u&&i&&(l.lastIndex=l.global?i.index+i[0].length:t),c&&i&&i.length>1&&s.call(i[0],n,(function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)})),i}),e.exports=l},function(e,t,n){"use strict";var i=n(99)(!0);e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},function(e,t,n){var i,r,o,a=n(21),s=n(132),l=n(92),u=n(88),c=n(2),d=c.process,h=c.setImmediate,f=c.clearImmediate,p=c.MessageChannel,m=c.Dispatch,v=0,g={},b=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},y=function(e){b.call(e.data)};h&&f||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},i(v),v},f=function(e){delete g[e]},"process"==n(32)(d)?i=function(e){d.nextTick(a(b,e,1))}:m&&m.now?i=function(e){m.now(a(b,e,1))}:p?(o=(r=new p).port2,r.port1.onmessage=y,i=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(i=function(e){c.postMessage(e+"","*")},c.addEventListener("message",y,!1)):i="onreadystatechange"in u("script")?function(e){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:h,clear:f}},function(e,t,n){"use strict";var i=n(2),r=n(10),o=n(42),a=n(78),s=n(17),l=n(56),u=n(3),c=n(55),d=n(23),h=n(8),f=n(151),p=n(46).f,m=n(11).f,v=n(107),g=n(51),b=i.ArrayBuffer,y=i.DataView,w=i.Math,x=i.RangeError,S=i.Infinity,_=b,k=w.abs,E=w.pow,C=w.floor,T=w.log,M=w.LN2,A=r?"_b":"buffer",P=r?"_l":"byteLength",O=r?"_o":"byteOffset";function L(e,t,n){var i,r,o,a=new Array(n),s=8*n-t-1,l=(1<<s)-1,u=l>>1,c=23===t?E(2,-24)-E(2,-77):0,d=0,h=e<0||0===e&&1/e<0?1:0;for((e=k(e))!=e||e===S?(r=e!=e?1:0,i=l):(i=C(T(e)/M),e*(o=E(2,-i))<1&&(i--,o*=2),(e+=i+u>=1?c/o:c*E(2,1-u))*o>=2&&(i++,o/=2),i+u>=l?(r=0,i=l):i+u>=1?(r=(e*o-1)*E(2,t),i+=u):(r=e*E(2,u-1)*E(2,t),i=0));t>=8;a[d++]=255&r,r/=256,t-=8);for(i=i<<t|r,s+=t;s>0;a[d++]=255&i,i/=256,s-=8);return a[--d]|=128*h,a}function I(e,t,n){var i,r=8*n-t-1,o=(1<<r)-1,a=o>>1,s=r-7,l=n-1,u=e[l--],c=127&u;for(u>>=7;s>0;c=256*c+e[l],l--,s-=8);for(i=c&(1<<-s)-1,c>>=-s,s+=t;s>0;i=256*i+e[l],l--,s-=8);if(0===c)c=1-a;else{if(c===o)return i?NaN:u?-S:S;i+=E(2,t),c-=a}return(u?-1:1)*i*E(2,c-t)}function D(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function N(e){return[255&e]}function j(e){return[255&e,e>>8&255]}function F(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function R(e){return L(e,52,8)}function B(e){return L(e,23,4)}function z(e,t,n){m(e.prototype,t,{get:function(){return this[n]}})}function H(e,t,n,i){var r=f(+n);if(r+t>e[P])throw x("Wrong index!");var o=e[A]._b,a=r+e[O],s=o.slice(a,a+t);return i?s:s.reverse()}function $(e,t,n,i,r,o){var a=f(+n);if(a+t>e[P])throw x("Wrong index!");for(var s=e[A]._b,l=a+e[O],u=i(+r),c=0;c<t;c++)s[l+c]=u[o?c:t-c-1]}if(a.ABV){if(!u((function(){b(1)}))||!u((function(){new b(-1)}))||u((function(){return new b,new b(1.5),new b(NaN),"ArrayBuffer"!=b.name}))){for(var W,q=(b=function(e){return c(this,b),new _(f(e))}).prototype=_.prototype,V=p(_),Y=0;V.length>Y;)(W=V[Y++])in b||s(b,W,_[W]);o||(q.constructor=b)}var U=new y(new b(2)),G=y.prototype.setInt8;U.setInt8(0,2147483648),U.setInt8(1,2147483649),!U.getInt8(0)&&U.getInt8(1)||l(y.prototype,{setInt8:function(e,t){G.call(this,e,t<<24>>24)},setUint8:function(e,t){G.call(this,e,t<<24>>24)}},!0)}else b=function(e){c(this,b,"ArrayBuffer");var t=f(e);this._b=v.call(new Array(t),0),this[P]=t},y=function(e,t,n){c(this,y,"DataView"),c(e,b,"DataView");var i=e[P],r=d(t);if(r<0||r>i)throw x("Wrong offset!");if(r+(n=void 0===n?i-r:h(n))>i)throw x("Wrong length!");this[A]=e,this[O]=r,this[P]=n},r&&(z(b,"byteLength","_l"),z(y,"buffer","_b"),z(y,"byteLength","_l"),z(y,"byteOffset","_o")),l(y.prototype,{getInt8:function(e){return H(this,1,e)[0]<<24>>24},getUint8:function(e){return H(this,1,e)[0]},getInt16:function(e){var t=H(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=H(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return D(H(this,4,e,arguments[1]))},getUint32:function(e){return D(H(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return I(H(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return I(H(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){$(this,1,e,N,t)},setUint8:function(e,t){$(this,1,e,N,t)},setInt16:function(e,t){$(this,2,e,j,t,arguments[2])},setUint16:function(e,t){$(this,2,e,j,t,arguments[2])},setInt32:function(e,t){$(this,4,e,F,t,arguments[2])},setUint32:function(e,t){$(this,4,e,F,t,arguments[2])},setFloat32:function(e,t){$(this,4,e,B,t,arguments[2])},setFloat64:function(e,t){$(this,8,e,R,t,arguments[2])}});g(b,"ArrayBuffer"),g(y,"DataView"),s(y.prototype,a.VIEW,!0),t.ArrayBuffer=b,t.DataView=y},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(157)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e).defaultView||window};var i,r=n(28),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){r||function(e){i.some((function(t){return!!e[t]&&(r=t,!0)}))}(e);return e[r](t)};var i=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector"],r=null;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e.findIndex)return e.findIndex(t);var n=e.length;if(0===n)return-1;for(var i=0;i<n;i++)if(t(e[i],i,e))return i;return-1},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof a){var t=(0,o.default)();t&&(a=", html "+t+" ")}return a?e+a+e.replace(/\s*,\s*/g,",").split(",").join(a):e};var i,r=n(160),o=(i=r)&&i.__esModule?i:{default:i};var a=void 0;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.list,n=e.elements,i=e.resolveElement,a=t.slice(0),u=(0,r.default)(n).slice(0);(0,o.default)(u);var c=s(a,u,i);return l(a,c),a};var i=a(n(118)),r=a(n(27)),o=a(n(428));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t,n){var o=[];return t.forEach((function(t){var a=!0,s=e.indexOf(t);-1===s&&(s=function(e,t){return(0,i.default)(e,(function(e){return t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING}))}(e,t),a=!1),-1===s&&(s=e.length);var l=(0,r.default)(n?n(t):t);l.length&&o.push({offset:s,replace:a,elements:l})})),o}function l(e,t){var n=0;t.sort((function(e,t){return e.offset-t.offset})),t.forEach((function(t){var i=t.replace?1:0,r=[t.offset+n,i].concat(t.elements);e.splice.apply(e,r),n+=t.elements.length-i}))}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(122)),r=o(n(66));function o(e){return e&&e.__esModule?e:{default:e}}var a,s,l,u,c,d,h=void 0,f=void 0;"undefined"!=typeof document&&document.documentElement.createShadowRoot?(a=void 0,s=void 0,l=function(){u(),(window.clearImmediate||window.clearTimeout)(a),a=(window.setImmediate||window.setTimeout)((function(){c()}))},u=function(){s&&s.removeEventListener("blur",l,!0),s=null},c=function(){var e=(0,i.default)();if(1!==e.length){var t;(t=e[0]).addEventListener("blur",l,!0),s=t;var n=new CustomEvent("shadow-focus",{bubbles:!1,cancelable:!1,detail:{elements:e,active:e[0],hosts:e.slice(1)}});document.dispatchEvent(n)}else u()},d=function(){(window.clearImmediate||window.clearTimeout)(a),c()},h=function(){document.addEventListener("focus",d,!0)},f=function(){(window.clearImmediate||window.clearTimeout)(a),s&&s.removeEventListener("blur",l,!0),document.removeEventListener("focus",d,!0)}):h=f=function(){},t.default=(0,r.default)({engage:h,disengage:f}),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return null===document.activeElement&&document.body.focus(),(0,i.default)(document.activeElement)?(e=(0,r.default)({context:document.activeElement}),[document.activeElement].concat(e)):function(){var e=[document.activeElement];for(;e[0]&&e[0].shadowRoot;)e.unshift(e[0].shadowRoot.activeElement);return e}();var e};var i=o(n(172)),r=o(n(173));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.engage,n=e.disengage,i={engage:t||l,disengage:n||l,context:null};return s.bind(i)};var i,r=n(27),o=(i=r)&&i.__esModule?i:{default:i};function a(){this.context&&(this.context.forEach(this.disengage),this.context=null,this.engage=null,this.disengage=null)}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context;return this.context=(0,o.default)(t||document),this.context.forEach(this.engage),{disengage:a.bind(this)}}function l(){}e.exports=t.default},function(e,t,n){e.exports=!n(10)&&!n(3)((function(){return 7!=Object.defineProperty(n(88)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var i=n(2),r=n(9),o=n(42),a=n(89),s=n(11).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var i=n(16),r=n(18),o=n(68)(!1),a=n(90)("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,u=[];for(n in s)n!=a&&i(s,n)&&u.push(n);for(;t.length>l;
vendor: 10,365 bytes, line 2
2)i(s,n=t[l++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){var i=n(11),r=n(4),o=n(43);e.exports=n(10)?Object.defineProperties:function(e,t){r(e);for(var n,a=o(t),s=a.length,l=0;s>l;)i.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var i=n(18),r=n(46).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return r(e)}catch(e){return a.slice()}}(e):r(i(e))}},function(e,t,n){"use strict";var i=n(10),r=n(43),o=n(69),a=n(60),s=n(12),l=n(59),u=Object.assign;e.exports=!u||n(3)((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=i}))?function(e,t){for(var n=s(e),u=arguments.length,c=1,d=o.f,h=a.f;u>c;)for(var f,p=l(arguments[c++]),m=d?r(p).concat(d(p)):r(p),v=m.length,g=0;v>g;)f=m[g++],i&&!h.call(p,f)||(n[f]=p[f]);return n}:u},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var i=n(22),r=n(5),o=n(132),a=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var i=[],r=0;r<t;r++)i[r]="a["+r+"]";s[t]=Function("F,a","return new F("+i.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=i(this),n=a.call(arguments,1),s=function(){var i=n.concat(a.call(arguments));return this instanceof s?l(t,i.length,i):o(t,i,e)};return r(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var i=n(2).parseInt,r=n(52).trim,o=n(94),a=/^[-+]?0[xX]/;e.exports=8!==i(o+"08")||22!==i(o+"0x16")?function(e,t){var n=r(String(e),3);return i(n,t>>>0||(a.test(n)?16:10))}:i},function(e,t,n){var i=n(2).parseFloat,r=n(52).trim;e.exports=1/i(n(94)+"-0")!=-1/0?function(e){var t=r(String(e),3),n=i(t);return 0===n&&"-"==t.charAt(0)?-0:n}:i},function(e,t,n){var i=n(32);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=i(e))throw TypeError(t);return+e}},function(e,t,n){var i=n(5),r=Math.floor;e.exports=function(e){return!i(e)&&isFinite(e)&&r(e)===e}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){"use strict";var i=n(45),r=n(40),o=n(51),a={};n(17)(a,n(7)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var i=n(4);e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&i(o.call(e)),t}}},function(e,t,n){var i=n(282);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(22),r=n(12),o=n(59),a=n(8);e.exports=function(e,t,n,s,l){i(t);var u=r(e),c=o(u),d=a(u.length),h=l?d-1:0,f=l?-1:1;if(n<2)for(;;){if(h in c){s=c[h],h+=f;break}if(h+=f,l?h<0:d<=h)throw TypeError("Reduce of empty array with no initial value")}for(;l?h>=0:d>h;h+=f)h in c&&(s=t(s,c[h],h,u));return s}},function(e,t,n){"use strict";var i=n(12),r=n(44),o=n(8);e.exports=[].copyWithin||function(e,t){var n=i(this),a=o(n.length),s=r(e,a),l=r(t,a),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?a:r(u,a))-l,a-s),d=1;for(l<s&&s<l+c&&(d=-1,l+=c-1,s+=c-1);c-- >0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var i=n(109);n(0)({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},function(e,t,n){n(10)&&"g"!=/./g.flags&&n(11).f(RegExp.prototype,"flags",{configurable:!0,get:n(72)})},function(e,t,n){"use strict";var i,r,o,a,s=n(42),l=n(2),u=n(21),c=n(61),d=n(0),h=n(5),f=n(22),p=n(55),m=n(75),v=n(62),g=n(111).set,b=n(302)(),y=n(147),w=n(303),x=n(76),S=n(148),_=l.TypeError,k=l.process,E=k&&k.versions,C=E&&E.v8||"",T=l.Promise,M="process"==c(k),A=function(){},P=r=y.f,O=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n(7)("species")]=function(e){e(A,A)};return(M||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==C.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(e){}}(),L=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},I=function(e,t){if(!e._n){e._n=!0;var n=e._c;b((function(){for(var i=e._v,r=1==e._s,o=0,a=function(t){var n,o,a,s=r?t.ok:t.fail,l=t.resolve,u=t.reject,c=t.domain;try{s?(r||(2==e._h&&j(e),e._h=1),!0===s?n=i:(c&&c.enter(),n=s(i),c&&(c.exit(),a=!0)),n===t.promise?u(_("Promise-chain cycle")):(o=L(n))?o.call(n,l,u):l(n)):u(i)}catch(e){c&&!a&&c.exit(),u(e)}};n.length>o;)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&D(e)}))}},D=function(e){g.call(l,(function(){var t,n,i,r=e._v,o=N(e);if(o&&(t=w((function(){M?k.emit("unhandledRejection",r,e):(n=l.onunhandledrejection)?n({promise:e,reason:r}):(i=l.console)&&i.error&&i.error("Unhandled promise rejection",r)})),e._h=M||N(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},N=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){g.call(l,(function(){var t;M?k.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},F=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),I(t,!0))},R=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw _("Promise can't be resolved itself");(t=L(e))?b((function(){var i={_w:n,_d:!1};try{t.call(e,u(R,i,1),u(F,i,1))}catch(e){F.call(i,e)}})):(n._v=e,n._s=1,I(n,!1))}catch(e){F.call({_w:n,_d:!1},e)}}};O||(T=function(e){p(this,T,"Promise","_h"),f(e),i.call(this);try{e(u(R,this,1),u(F,this,1))}catch(e){F.call(this,e)}},(i=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(56)(T.prototype,{then:function(e,t){var n=P(v(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=M?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new i;this.promise=e,this.resolve=u(R,e,1),this.reject=u(F,e,1)},y.f=P=function(e){return e===T||e===a?new o(e):r(e)}),d(d.G+d.W+d.F*!O,{Promise:T}),n(51)(T,"Promise"),n(54)("Promise"),a=n(9).Promise,d(d.S+d.F*!O,"Promise",{reject:function(e){var t=P(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!O),"Promise",{resolve:function(e){return S(s&&this===a?T:this,e)}}),d(d.S+d.F*!(O&&n(71)((function(e){T.all(e).catch(A)}))),"Promise",{all:function(e){var t=this,n=P(t),i=n.resolve,r=n.reject,o=w((function(){var n=[],o=0,a=1;m(e,!1,(function(e){var s=o++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||i(n))}),r)})),--a||i(n)}));return o.e&&r(o.v),n.promise},race:function(e){var t=this,n=P(t),i=n.reject,r=w((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,i)}))}));return r.e&&i(r.v),n.promise}})},function(e,t,n){"use strict";var i=n(22);function r(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=i(t),this.reject=i(n)}e.exports.f=function(e){return new r(e)}},function(e,t,n){var i=n(4),r=n(5),o=n(147);e.exports=function(e,t){if(i(e),r(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var i=n(11).f,r=n(45),o=n(56),a=n(21),s=n(55),l=n(75),u=n(100),c=n(143),d=n(54),h=n(10),f=n(37).fastKey,p=n(49),m=h?"_s":"size",v=function(e,t){var n,i=f(t);if("F"!==i)return e._i[i];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var c=e((function(e,i){s(e,c,t,"_i"),e._t=t,e._i=r(null),e._f=void 0,e._l=void 0,e[m]=0,null!=i&&l(i,n,e[u],e)}));return o(c.prototype,{clear:function(){for(var e=p(this,t),n=e._i,i=e._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete n[i.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=p(this,t),i=v(n,e);if(i){var r=i.n,o=i.p;delete n._i[i.i],i.r=!0,o&&(o.n=r),r&&(r.p=o),n._f==i&&(n._f=r),n._l==i&&(n._l=o),n[m]--}return!!i},forEach:function(e){p(this,t);for(var n,i=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(i(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!v(p(this,t),e)}}),h&&i(c.prototype,"size",{get:function(){return p(this,t)[m]}}),c},def:function(e,t,n){var i,r,o=v(e,t);return o?o.v=n:(e._l=o={i:r=f(t,!0),k:t,v:n,p:i=e._l,n:void 0,r:!1},e._f||(e._f=o),i&&(i.n=o),e[m]++,"F"!==r&&(e._i[r]=o)),e},getEntry:v,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=p(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?c(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,c(1))}),n?"entries":"values",!n,!0),d(t)}}},function(e,t,n){"use strict";var i=n(56),r=n(37).getWeak,o=n(4),a=n(5),s=n(55),l=n(75),u=n(26),c=n(16),d=n(49),h=u(5),f=u(6),p=0,m=function(e){return e._l||(e._l=new v)},v=function(){this.a=[]},g=function(e,t){return h(e.a,(function(e){return e[0]===t}))};v.prototype={get:function(e){var t=g(this,e);if(t)return t[1]},has:function(e){return!!g(this,e)},set:function(e,t){var n=g(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){var u=e((function(e,i){s(e,u,t,"_i"),e._t=t,e._i=p++,e._l=void 0,null!=i&&l(i,n,e[o],e)}));return i(u.prototype,{delete:function(e){if(!a(e))return!1;var n=r(e);return!0===n?m(d(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=r(e);return!0===n?m(d(this,t)).has(e):n&&c(n,this._i)}}),u},def:function(e,t,n){var i=r(o(t),!0);return!0===i?m(e).set(t,n):i[e._i]=n,e},ufstore:m}},function(e,t,n){var i=n(23),r=n(8);e.exports=function(e){if(void 0===e)return 0;var t=i(e),n=r(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var i=n(46),r=n(69),o=n(4),a=n(2).Reflect;e.exports=a&&a.ownKeys||function(e){var t=i.f(o(e)),n=r.f;return n?t.concat(n(e)):t}},function(e,t,n){var i=n(8),r=n(96),o=n(33);e.exports=function(e,t,n,a){var s=String(o(e)),l=s.length,u=void 0===n?" ":String(n),c=i(t);if(c<=l||""==u)return s;
2var d=c-l,h=r.call(u,Math.ceil(d/u.length));return h.length>d&&(h=h.slice(0,d)),a?h+s:s+h}},function(e,t,n){var i=n(10),r=n(43),o=n(18),a=n(60).f;e.exports=function(e){return function(t){for(var n,s=o(t),l=r(s),u=l.length,c=0,d=[];u>c;)n=l[c++],i&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},function(e,t,n){(function(t,n){var i;i=function(){"use strict";function e(e){return"function"==typeof e}var i=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,o=void 0,a=void 0,s=function(e,t){p[r]=e,p[r+1]=t,2===(r+=2)&&(a?a(m):w())},l="undefined"!=typeof window?window:void 0,u=l||{},c=u.MutationObserver||u.WebKitMutationObserver,d="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),h="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function f(){var e=setTimeout;return function(){return e(m,1)}}var p=new Array(1e3);function m(){for(var e=0;e<r;e+=2)(0,p[e])(p[e+1]),p[e]=void 0,p[e+1]=void 0;r=0}var v,g,b,y,w=void 0;function x(e,t){var n=this,i=new this.constructor(k);void 0===i[_]&&D(i);var r=n._state;if(r){var o=arguments[r-1];s((function(){return L(r,i,o,n._result)}))}else P(n,i,e,t);return i}function S(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(k);return C(t,e),t}d?w=function(){return t.nextTick(m)}:c?(g=0,b=new c(m),y=document.createTextNode(""),b.observe(y,{characterData:!0}),w=function(){y.data=g=++g%2}):h?((v=new MessageChannel).port1.onmessage=m,w=function(){return v.port2.postMessage(0)}):w=void 0===l?function(){try{var e=Function("return this")().require("vertx");return void 0!==(o=e.runOnLoop||e.runOnContext)?function(){o(m)}:f()}catch(e){return f()}}():f();var _=Math.random().toString(36).substring(2);function k(){}function E(t,n,i){n.constructor===t.constructor&&i===x&&n.constructor.resolve===S?function(e,t){1===t._state?M(e,t._result):2===t._state?A(e,t._result):P(t,void 0,(function(t){return C(e,t)}),(function(t){return A(e,t)}))}(t,n):void 0===i?M(t,n):e(i)?function(e,t,n){s((function(e){var i=!1,r=function(e,t,n,i){try{e.call(t,n,i)}catch(e){return e}}(n,t,(function(n){i||(i=!0,t!==n?C(e,n):M(e,n))}),(function(t){i||(i=!0,A(e,t))}),e._label);!i&&r&&(i=!0,A(e,r))}),e)}(t,n,i):M(t,n)}function C(e,t){if(e===t)A(e,new TypeError("You cannot resolve a promise with itself"));else if(r=typeof(i=t),null===i||"object"!==r&&"function"!==r)M(e,t);else{var n=void 0;try{n=t.then}catch(t){return void A(e,t)}E(e,t,n)}var i,r}function T(e){e._onerror&&e._onerror(e._result),O(e)}function M(e,t){void 0===e._state&&(e._result=t,e._state=1,0!==e._subscribers.length&&s(O,e))}function A(e,t){void 0===e._state&&(e._state=2,e._result=t,s(T,e))}function P(e,t,n,i){var r=e._subscribers,o=r.length;e._onerror=null,r[o]=t,r[o+1]=n,r[o+2]=i,0===o&&e._state&&s(O,e)}function O(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var i=void 0,r=void 0,o=e._result,a=0;a<t.length;a+=3)i=t[a],r=t[a+n],i?L(n,i,r,o):r(o);e._subscribers.length=0}}function L(t,n,i,r){var o=e(i),a=void 0,s=void 0,l=!0;if(o){try{a=i(r)}catch(e){l=!1,s=e}if(n===a)return void A(n,new TypeError("A promises callback cannot return that same promise."))}else a=r;void 0!==n._state||(o&&l?C(n,a):!1===l?A(n,s):1===t?M(n,a):2===t&&A(n,a))}var I=0;function D(e){e[_]=I++,e._state=void 0,e._result=void 0,e._subscribers=[]}var N=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(k),this.promise[_]||D(this.promise),i(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?M(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&M(this.promise,this._result))):A(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;void 0===this._state&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,i=n.resolve;if(i===S){var r=void 0,o=void 0,a=!1;try{r=e.then}catch(e){a=!0,o=e}if(r===x&&void 0!==e._state)this._settledAt(e._state,t,e._result);else if("function"!=typeof r)this._remaining--,this._result[t]=e;else if(n===j){var s=new n(k);a?A(s,o):E(s,e,r),this._willSettleAt(s,t)}
2else this._willSettleAt(new n((function(t){return t(e)})),t)}else this._willSettleAt(i(e),t)},e.prototype._settledAt=function(e,t,n){var i=this.promise;void 0===i._state&&(this._remaining--,2===e?A(i,n):this._result[t]=n),0===this._remaining&&M(i,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;P(e,void 0,(function(e){return n._settledAt(1,t,e)}),(function(e){return n._settledAt(2,t,e)}))},e}(),j=function(){function t(e){this[_]=I++,this._result=this._state=void 0,this._subscribers=[],k!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){C(e,t)}),(function(t){A(e,t)}))}catch(t){A(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var n=this.constructor;return e(t)?this.then((function(e){return n.resolve(t()).then((function(){return e}))}),(function(e){return n.resolve(t()).then((function(){throw e}))})):this.then(t,t)},t}();return j.prototype.then=x,j.all=function(e){return new N(this,e).promise},j.race=function(e){var t=this;return i(e)?new t((function(n,i){for(var r=e.length,o=0;o<r;o++)t.resolve(e[o]).then(n,i)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))},j.resolve=S,j.reject=function(e){var t=new this(k);return A(t,e),t},j._setScheduler=function(e){a=e},j._setAsap=function(e){s=e},j._asap=s,j.polyfill=function(){var e=void 0;if(void 0!==n)e=n;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var i=null;try{i=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===i&&!t.cast)return}e.Promise=j},j.Promise=j,j},e.exports=i()}).call(this,n(361),n(79))},function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){d||(d=(0,u.default)());var n=(0,i.default)({label:"element/disabled",context:e});t=Boolean(t);var r=n.hasAttribute("data-ally-disabled"),a=1===arguments.length;return(0,o.default)(n)?a?n.disabled:(n.disabled=t,n):a?r:(r===t||f(n,t),n)};var i=c(n(6)),r=c(n(50)),o=c(n(163)),a=c(n(420)),s=c(n(164)),l=c(n(421)),u=c(n(19));function c(e){return e&&e.__esModule?e:{default:e}}var d=void 0;function h(){l.default.warn("trying to focus inert element",this)}function f(e,t){!function(e,t){(0,s.default)({element:e,attribute:"aria-disabled",temporaryValue:t?"true":void 0})}(e,t),function(e,t){if(t){var n=(0,r.default)(e);(0,s.default)({element:e,attribute:"tabindex",temporaryValue:"-1",saveValue:null!==n?n:""})}else(0,s.default)({element:e,attribute:"tabindex"})}(e,t),function(e,t){t?e.focus=h:delete e.focus}(e,t),function(e,t){if(t){var n=e.style.pointerEvents||"";e.setAttribute("data-inert-pointer-events",n),e.style.pointerEvents="none"}else{var i=e.getAttribute("data-inert-pointer-events");e.removeAttribute("data-inert-pointer-events"),e.style.pointerEvents=i}}(e,t);var n=e.nodeName.toLowerCase();"video"!==n&&"audio"!==n||function(e,t){(0,a.default)({element:e,attribute:"controls",remove:t})}(e,t),("svg"===n||e.ownerSVGElement)&&(d.focusSvgFocusableAttribute?function(e,t){(0,s.default)({element:e,attribute:"focusable",temporaryValue:t?"false":void 0})}(e,t):d.focusSvgTabindexAttribute||"a"!==n||function(e,t){(0,a.default)({element:e,attribute:"xlink:href",remove:t})}(e,t)),t?e.setAttribute("data-ally-disabled","true"):e.removeAttribute("data-ally-disabled")}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default="1.4.1",e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=void 0;try{document.querySelector("html >>> :first-child"),e=">>>"}catch(t){try{document.querySelector("html /deep/ :first-child"),e="/deep/"}catch(t){e=""}}return e},e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBpZD0ic3ZnIj48dGV4dCB4PSIxMCIgeT0iMjAiIGlkPSJzdmctbGluay10ZXh0Ij50ZXh0PC90ZXh0Pjwvc3ZnPg==",e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(e.ownerSVGElement||"svg"===e.nodeName.toLowerCase()))return!1;var t,n=((t=document.createElement("div")).innerHTML='<svg><foreignObject width="30" height="30">\n <input type="text"/>\n </foreignObject></svg>',t.firstChild.firstChild);e.appendChild(n);var i=n.querySelector("input");return i.focus(),i.disabled=!0,e.removeChild(n),!0},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){a||((a=(0,r.default)()).focusFieldsetDisabled&&delete l.fieldset,a.focusFormDisabled&&delete l.form,s=new RegExp("^("+Object.keys(l).join("|")+")$"));var t=(0,i.default)({label:"is/native-disabled-supported",context:e}).nodeName.toLowerCase();return Boolean(s.test(t))};var i=o(n(6)),r=o(n(19));function o(e){return e&&e.__esModule?e:{default:e}}var a=void 0,s=void 0,l={input:!0,select:!0,textarea:!0,button:!0,fieldset:!0,form:!0};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.element,n=e.attribute,i=e.temporaryValue,r=e.saveValue,o="data-cached-"+n;if(void 0!==i){var a=r||t.getAttribute(n);t.setAttribute(o,a||""),t.setAttribute(n,i)}else{var s=t.getAttribute(o);t.removeAttribute(o),""===s?t.removeAttribute(n):t.setAttribute(n,s)}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.skipFocusable;h||(h=(0,c.default)());var r=(0,a.default)({label:"get/focus-redirect-target",context:t});if(!n&&(0,i.default)(r))return null;var o=r.nodeName.toLowerCase(),l=(0,s.default)(r);return"label"===o?p(r,l):"legend"===o?m(r,l):"img"===o?v(r):null};var i=d(n(39)),r=d(n(86)),o=d(n(65)),a=d(n(6)),s=d(n(28)),l=d(n(120)),u=n(85),c=d(n(19));function d(e){return e&&e.__esModule?e:{default:e}}var h=void 0;function f(e){var t=e.nodeName.toLowerCase();return"input"===t||"textarea"===t||"select"===t||"button"===t}function p(e,t){var n=e.getAttribute("for");return n?t.getElementById(n):e.querySelector("input, select, textarea")}function m(e,t){return h.focusRedirectLegend?"fieldset"!==e.parentNode.nodeName.toLowerCase()?null:"tabbable"===h.focusRedirectLegend?function(e,t){var n=(0,o.default)({context:t.body,strategy:"strict"});if(!n.length)return null;var i=(0,l.default)({list:n,elements:[e]}),r=i.indexOf(e);return r===i.length-1?null:i[r+1]}(e,t):function(e){var t=e.parentNode;return(0,r.default)({context:t,strategy:"strict"}).filter(f)[0]||null}(e):null}function v(e){if(!h.focusRedirectImgUsemap)return null;var t=(0,u.getMapOfImage)(e);return t&&t.querySelector("area")||null}e.exports=t.default},function(e,t,n){"use strict";function i(e){return[e.getPropertyValue("overflow"),e.getPropertyValue("overflow-x"),e.getPropertyValue("overflow-y")].some((function(e){return"auto"===e||"scroll"===e}))}Object.defineProperty(t,"__esModule",{value:!0}),t.isUserModifyWritable=function(e){var t=e.webkitUserModify||"";return Boolean(t&&-1!==t.indexOf("write"))},t.hasCssOverflowScroll=i,t.hasCssDisplayFlex=function(e){return e.display.indexOf("flex")>-1},t.isScrollableContainer=function(e,t,n,r){if("div"!==t&&"span"!==t)return!1;if(n&&"div"!==n&&"span"!==n&&!i(r))return!1;return e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){u||(u=(0,s.default)());var t=(0,i.default)({label:"is/valid-area",context:e});if("area"!==t.nodeName.toLowerCase())return!1;var n=t.hasAttribute("tabindex");if(!u.focusAreaTabindex&&n)return!1;var l=(0,a.getImageOfArea)(t);return!(!l||!(0,r.default)(l))&&(!(!u.focusBrokenImageMap&&(!l.complete||!l.naturalHeight||l.offsetWidth<=0||l.offsetHeight<=0))&&(u.focu
2sAreaWithoutHref||t.href?!(0,o.default)({context:l}).slice(1).some((function(e){var t=e.nodeName.toLowerCase();return"button"===t||"a"===t})):u.focusAreaTabindex&&n||u.focusAreaImgTabindex&&l.hasAttribute("tabindex")))};var i=l(n(6)),r=l(n(58)),o=l(n(29)),a=n(85),s=l(n(19));function l(e){return e&&e.__esModule?e:{default:e}}var u=void 0;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){l||(l=(0,a.default)());var t=(0,i.default)({label:"is/disabled",context:e});if(t.hasAttribute("data-ally-disabled"))return!0;if(!(0,o.default)(t))return!1;if(t.disabled)return!0;var n=(0,r.default)({context:t});return!!n.some(u)||!(l.focusFormDisabled||!n.some(c))};var i=s(n(6)),r=s(n(29)),o=s(n(163)),a=s(n(19));function s(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function u(e){return"fieldset"===e.nodeName.toLowerCase()&&e.disabled}function c(e){return"form"===e.nodeName.toLowerCase()&&e.disabled}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n(58)),r=l(n(6)),o=l(n(84)),a=l(n(50)),s=l(n(13));function l(e){return e&&e.__esModule?e:{default:e}}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.except,l=void 0===n?{onlyFocusableBrowsingContext:!1,visible:!1}:n,u=(0,r.default)({label:"is/only-tabbable",resolveDocument:!0,context:t});if(!l.visible&&!(0,i.default)(u))return!1;if(!l.onlyFocusableBrowsingContext&&(s.default.is.GECKO||s.default.is.TRIDENT||s.default.is.EDGE)){var c=(0,o.default)(u);if(c&&(0,a.default)(c)<0)return!1}var d=u.nodeName.toLowerCase(),h=(0,a.default)(u);return"label"===d&&s.default.is.GECKO?null!==h&&h>=0:!!(s.default.is.GECKO&&u.ownerSVGElement&&!u.focus&&"a"===d&&u.hasAttribute("xlink:href")&&s.default.is.GECKO)}u.except=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return u({context:t,except:e})};return t.rules=u,t};var c=u.except({});t.default=c,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=f(n(58)),r=f(n(6)),o=f(n(117)),a=f(n(50)),s=f(n(83)),l=f(n(84)),u=f(n(13)),c=n(85),d=n(166),h=f(n(19));function f(e){return e&&e.__esModule?e:{default:e}}var p=void 0,m=/^(fieldset|table|td|body)$/;function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.except,s=void 0===n?{flexbox:!1,scrollable:!1,shadow:!1,visible:!1,onlyTabbable:!1}:n;p||(p=(0,h.default)());var f=(0,r.default)({label:"is/tabbable",resolveDocument:!0,context:t});if(u.default.is.BLINK&&u.default.is.ANDROID&&u.default.majorVersion>42)return!1;var v=(0,l.default)(f);if(v){if(u.default.is.WEBKIT&&u.default.is.IOS)return!1;if((0,a.default)(v)<0)return!1;if(!s.visible&&(u.default.is.BLINK||u.default.is.WEBKIT)&&!(0,i.default)(v))return!1;var y=v.nodeName.toLowerCase();if("object"===y){var w="Chrome"===u.default.name&&u.default.majorVersion>=54||"Opera"===u.default.name&&u.default.majorVersion>=41;if(u.default.is.WEBKIT||u.default.is.BLINK&&!w)return!1}}var x=f.nodeName.toLowerCase(),S=(0,a.default)(f),_=null===S?null:S>=0;if(u.default.is.EDGE&&u.default.majorVersion>=14&&v&&f.ownerSVGElement&&S<0)return!0;var k=!1!==_,E=null!==S&&S>=0;if(f.hasAttribute("contenteditable"))return k;if(m.test(x)&&!0!==_)return!1;if(u.default.is.WEBKIT&&u.default.is.IOS){var C="input"===x&&"text"===f.type||"password"===f.type||"select"===x||"textarea"===x||f.hasAttribute("contenteditable");if(!C){var T=window.getComputedStyle(f,null);C=(0,d.isUserModifyWritable)(T)}if(!C)return!1}if("use"===x&&null!==S&&(u.default.is.BLINK||u.default.is.WEBKIT&&9===u.default.majorVersion))return!0;if((0,o.default)(f,"svg a")&&f.hasAttribute("xlink:href")){if(k)return!0;if(f.focus&&!p.focusSvgNegativeTabindexAttribute)return!0}if("svg"===x&&p.focusSvgInIframe&&k)return!0;if(u.default.is.TRIDENT||u.default.is.EDGE){if("svg"===x)return!!p.focusSvg||(f.hasAttribute("focusable")||E);if(f.ownerSVGElement)return!(!p.focusSvgTabindexAttribute||!E)||f.hasAttribute("focusable")}if(void 0===f.tabIndex)return Boolean(s.onlyTabbable);
2if("audio"===x){if(!f.hasAttribute("controls"))return!1;if(u.default.is.BLINK)return!0}if("video"===x)if(f.hasAttribute("controls")){if(u.default.is.BLINK||u.default.is.GECKO)return!0}else if(u.default.is.TRIDENT||u.default.is.EDGE)return!1;if("object"===x&&(u.default.is.BLINK||u.default.is.WEBKIT))return!1;if("iframe"===x)return!1;if(!s.scrollable&&u.default.is.GECKO){var M=window.getComputedStyle(f,null);if((0,d.hasCssOverflowScroll)(M))return k}if(u.default.is.TRIDENT||u.default.is.EDGE){if("area"===x){var A=(0,c.getImageOfArea)(f);if(A&&(0,a.default)(A)<0)return!1}var P=window.getComputedStyle(f,null);if((0,d.isUserModifyWritable)(P))return f.tabIndex>=0;if(!s.flexbox&&(0,d.hasCssDisplayFlex)(P))return null!==S?E:g(f)&&b(f);if((0,d.isScrollableContainer)(f,x))return!1;var O=f.parentElement;if(O){var L=O.nodeName.toLowerCase(),I=window.getComputedStyle(O,null);if((0,d.isScrollableContainer)(O,x,L,I))return!1;if((0,d.hasCssDisplayFlex)(I))return E}}return f.tabIndex>=0}v.except=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(t){return v({context:t,except:e})};return t.rules=v,t};var g=s.default.rules.except({flexbox:!0}),b=v.except({flexbox:!0}),y=v.except({});t.default=y,e.exports=t.default},function(e,t,n){"use strict";"undefined"!=typeof window&&function(){for(var e=0,t=["ms","moz","webkit","o"],n="",i="",r=0,o=t.length;r<o;++r)n=window[t[r]+"RequestAnimationFrame"],i=window[t[r]+"CancelAnimationFrame"]||window[t[r]+"CancelRequestAnimationFrame"];"function"!=typeof window.requestAnimationFrame&&(window.requestAnimationFrame=window[n]||function(t){var n=(new Date).getTime(),i=Math.max(0,16-(n-e)),r=window.setTimeout((function(){t(n+i)}),i);return e=n+i,r}),"function"!=typeof window.cancelAnimationFrame&&(window.cancelAnimationFrame=window[i]||function(e){clearTimeout(e)})}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,i.default)({label:"is/shadowed",resolveDocument:!0,context:e});return Boolean((0,r.default)({context:t}))};var i=o(n(6)),r=o(n(63));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=[],o=(0,r.default)({label:"get/shadow-host-parents",context:t});o&&(o=(0,i.default)({context:o}));)n.push(o);return n};var i=o(n(63)),r=o(n(6));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.filter;if(t=(0,i.default)({label:"get/insignificant-branches",defaultToDocument:!0,context:t}),!(n=(0,r.default)(n)).length)throw new TypeError("get/insignificant-branches requires valid options.filter");return l({context:t,filter:n})};var i=s(n(6)),r=s(n(27)),o=n(87),a=s(n(28));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.context,n=e.filter,i=[],r=function(e){return n.some((function(t){return e===t}))?NodeFilter.FILTER_REJECT:function(e){var t=(0,o.getParentComparator)({parent:e});return n.some(t)}(e)?NodeFilter.FILTER_ACCEPT:(i.push(e),NodeFilter.FILTER_REJECT)};r.acceptNode=r;for(var s=(0,a.default)(t).createTreeWalker(t,NodeFilter.SHOW_ELEMENT,r,!1);s.nextNode(););return i}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.callback,r=e.config;if("function"!=typeof n)throw new TypeError("observe/shadow-mutations requires options.callback to be a function");if("object"!==(void 0===r?"undefined":i(r)))throw new TypeError("observe/shadow-mutations requires options.config to be an object");
2if(!window.MutationObserver)return{disengage:function(){}};var o=(0,s.default)({label:"observe/shadow-mutations",resolveDocument:!0,defaultToDocument:!0,context:t}),a=new d({context:o,callback:n,config:r});return{disengage:a.disengage}};var o=l(n(27)),a=l(n(176)),s=l(n(6));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c={childList:!0,subtree:!0},d=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.context,r=n.callback,o=n.config;u(this,e),this.config=o,this.disengage=this.disengage.bind(this),this.clientObserver=new MutationObserver(r),this.hostObserver=new MutationObserver((function(e){return e.forEach(t.handleHostMutation,t)})),this.observeContext(i),this.observeShadowHosts(i)}return r(e,[{key:"disengage",value:function(){this.clientObserver&&this.clientObserver.disconnect(),this.clientObserver=null,this.hostObserver&&this.hostObserver.disconnect(),this.hostObserver=null}},{key:"observeShadowHosts",value:function(e){var t=this;(0,a.default)({context:e}).forEach((function(e){return t.observeContext(e.shadowRoot)}))}},{key:"observeContext",value:function(e){this.clientObserver.observe(e,this.config),this.hostObserver.observe(e,c)}},{key:"handleHostMutation",value:function(e){"childList"===e.type&&(0,o.default)(e.addedNodes).filter((function(e){return e.nodeType===Node.ELEMENT_NODE})).forEach(this.observeShadowHosts,this)}}]),e}();e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.context,o=(0,i.default)({label:"query/shadow-hosts",resolveDocument:!0,defaultToDocument:!0,context:n}),s=(0,r.default)(n),l=s.createTreeWalker(o,NodeFilter.SHOW_ELEMENT,a,!1),u=[];o.shadowRoot&&(u.push(o),u=u.concat(e({context:o.shadowRoot})));for(;l.nextNode();)u.push(l.currentNode),u=u.concat(e({context:l.currentNode.shadowRoot}));return u};var i=o(n(6)),r=o(n(28));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(e){return e.shadowRoot?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP};a.acceptNode=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.includeContext,a=e.includeOnlyTabbable,l=e.strategy;d||(d=(0,u.default)());var c=(0,r.default)(t)[0]||document.documentElement,p=(0,i.default)({context:c,includeContext:n,includeOnlyTabbable:a,strategy:l});return p=document.body.createShadowRoot&&o.default.is.BLINK?(0,s.default)(p,c,f):f(p,c),n&&(p=h(p,c)),p};var i=c(n(65)),r=c(n(27)),o=c(n(13)),a=c(n(444)),s=c(n(445)),l=c(n(446)),u=c(n(19));function c(e){return e&&e.__esModule?e:{default:e}}var d=void 0;function h(e,t){var n=e.indexOf(t);return n>0?e.splice(n,1).concat(e):e}function f(e,t){return d.tabsequenceAreaAtImgPosition&&(e=(0,a.default)(e,t)),e=(0,l.default)(e)}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={},n=(0,r.default)(e.context)[0]||document.documentElement;delete e.context;var a=(0,r.default)(e.filter);delete e.filter;var s=Object.keys(e);if(!s.length)throw new TypeError("when/key requires at least one option key");var l=function(e){e.keyCodes.forEach((function(n){t[n]||(t[n]=[]),t[n].push(e)}))};s.forEach((function(t){if("function"!=typeof e[t])throw new TypeError('when/key requires option["'+t+'"] to be a function');(0,i.default)(t).map((function(n){return n.callback=e[t],n})).forEach(l)}));var u=function(e){if(!e.defaultPrevented){if(a.length){var i=(0,o.getParentComparator)({element:e.target,includeSelf:!0});if(a.some(i))return}var r=e.keyCode||e.which;t[r]&&t[r].forEach((function(t){t.matchModifiers(e)&&t.callback.call(n,e,c)}))}};n.addEventListener("keydown",u,!1);var c=function(){n.removeEventListener("keydown",u,!1)};return{disengage:c}};var i=a(n(447)),r=a(n(27)),o=n(87);
2function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});for(var i={tab:9,left:37,up:38,right:39,down:40,pageUp:33,"page-up":33,pageDown:34,"page-down":34,end:35,home:36,enter:13,escape:27,space:32,shift:16,capsLock:20,"caps-lock":20,ctrl:17,alt:18,meta:91,pause:19,insert:45,delete:46,backspace:8,_alias:{91:[92,93,224]}},r=1;r<26;r++)i["f"+r]=r+111;for(var o=0;o<10;o++){var a=o+48,s=o+96;i[o]=a,i["num-"+o]=s,i._alias[a]=[s]}for(var l=0;l<26;l++){var u=l+65;i[String.fromCharCode(u).toLowerCase()]=u}t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(66),o=(i=r)&&i.__esModule?i:{default:i};var a=0,s=0,l=["touchstart","pointerdown","MSPointerDown","mousedown"],u=["touchend","touchcancel","pointerup","MSPointerUp","pointercancel","MSPointerCancel","mouseup"];function c(){a=0,s=0}function d(e){!1!==e.isPrimary&&a++}function h(e){!1!==e.isPrimary&&(e.touches?a=e.touches.length:(window.setImmediate||window.setTimeout)((function(){a=Math.max(a-1,0)})))}function f(e){switch(e.keyCode||e.which){case 16:case 17:case 18:case 91:case 93:return}s++}function p(e){switch(e.keyCode||e.which){case 16:case 17:case 18:case 91:case 93:return}(window.setImmediate||window.setTimeout)((function(){s=Math.max(s-1,0)}))}function m(){return{pointer:Boolean(a),key:Boolean(s)}}t.default=(0,o.default)({engage:function(){return window.addEventListener("blur",c,!1),document.documentElement.addEventListener("keydown",f,!0),document.documentElement.addEventListener("keyup",p,!0),l.forEach((function(e){document.documentElement.addEventListener(e,d,!0)})),u.forEach((function(e){document.documentElement.addEventListener(e,h,!0)})),{get:m}},disengage:function(){a=s=0,window.removeEventListener("blur",c,!1),document.documentElement.removeEventListener("keydown",f,!0),document.documentElement.removeEventListener("keyup",p,!0),l.forEach((function(e){document.documentElement.removeEventListener(e,d,!0)})),u.forEach((function(e){document.documentElement.removeEventListener(e,h,!0)}))}}),e.exports=t.default},function(e,t,n){"use strict";function i(e,t,n){var i=function(e){var t=e.getAttribute&&e.getAttribute("class")||"";return""===t?[]:t.split(" ")}(e),r=i.indexOf(t),o=-1!==r,a=void 0!==n?n:!o;a!==o&&(a||i.splice(r,1),a&&i.push(t),e.setAttribute("class",i.join(" ")))}Object.defineProperty(t,"__esModule",{value:!0}),t.toggleClass=i,t.removeClass=function(e,t){return i(e,t,!1)},t.addClass=function(e,t){return i(e,t,!0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.callback,a=e.area;if("function"!=typeof n)throw new TypeError("when/visible-area requires options.callback to be a function");"number"!=typeof a&&(a=1);var s=(0,o.default)({label:"when/visible-area",context:t}),l=void 0,u=null,c=function(){l&&cancelAnimationFrame(l)},d=function(){return!(0,i.default)(s)||(0,r.default)(s)<a||!1===n(s)},h=function(){d()?u():c()};return(u=function(){l=requestAnimationFrame(h)})(),{disengage:c}},n(171);var i=a(n(58)),r=a(n(458)),o=a(n(6));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";(function(e){var t="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==t&&t,n="URLSearchParams"in t,i="Symbol"in t&&"iterator"in Symbol,r="FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in t,a="ArrayBuffer"in t;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function c(e){return"string"!=typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return i&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function f(t){if(t.bodyUsed)return e.reject(new TypeError("Already read"));t.bodyUsed=!0}function p(t){return new e((function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}}))}function m(e){var t=new FileReader,n=p(t);return t.readAsArrayBuffer(e),n}function v(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function g(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:r&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&r&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=v(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=v(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var t=f(this);if(t)return t;if(this._bodyBlob)return e.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return e.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return e.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=f(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?e.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):e.resolve(this._bodyArrayBuffer))}return this.blob().then(m)}),this.text=function(){var t,n,i,r=f(this);if(r)return r;if(this._bodyBlob)return t=this._bodyBlob,n=new FileReader,i=p(n),n.readAsText(t),i;if(this._bodyArrayBuffer)return e.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),i=0;i<t.length;i++)n[i]=String.fromCharCode(t[i]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return e.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(w)}),this.json=function(){return this.text().then(JSON.parse)},this}h.prototype.append=function(e,t){e=u(e),t=c(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},h.prototype.delete=function(e){delete this.map[u(e)]},h.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},h.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},h.prototype.set=function(e,t){this.map[u(e)]=c(t)},h.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},h.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),d(e)},h.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),d(e)},h.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),d(e)},i&&(h.prototype[Symbol.iterator]=h.prototype.entries);var b=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(e,t){if(!(this instanceof y))throw new TypeError('Please use the "new" operator, this DOM object c
2onstructor cannot be called as a function.');var n,i,r=(t=t||{}).body;if(e instanceof y){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new h(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new h(t.headers)),this.method=(n=t.method||this.method||"GET",i=n.toUpperCase(),b.indexOf(i)>-1?i:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),i=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(r))}})),t}function x(e,t){if(!(this instanceof x))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},g.call(y.prototype),g.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},x.error=function(){var e=new x(null,{status:0,statusText:""});return e.type="error",e};var S=[301,302,303,307,308];x.redirect=function(e,t){if(-1===S.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})};var _=t.DOMException;try{new _}catch(e){(_=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),_.prototype.constructor=_}function k(n,i){return new e((function(e,o){var s=new y(n,i);if(s.signal&&s.signal.aborted)return o(new _("Aborted","AbortError"));var l=new XMLHttpRequest;function u(){l.abort()}l.onload=function(){var t,n,i={status:l.status,statusText:l.statusText,headers:(t=l.getAllResponseHeaders()||"",n=new h,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var t=e.split(":"),i=t.shift().trim();if(i){var r=t.join(":").trim();n.append(i,r)}})),n)};i.url="responseURL"in l?l.responseURL:i.headers.get("X-Request-URL");var r="response"in l?l.response:l.responseText;setTimeout((function(){e(new x(r,i))}),0)},l.onerror=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},l.ontimeout=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},l.onabort=function(){setTimeout((function(){o(new _("Aborted","AbortError"))}),0)},l.open(s.method,function(e){try{return""===e&&t.location.href?t.location.href:e}catch(t){return e}}(s.url),!0),"include"===s.credentials?l.withCredentials=!0:"omit"===s.credentials&&(l.withCredentials=!1),"responseType"in l&&(r?l.responseType="blob":a&&s.headers.get("Content-Type")&&-1!==s.headers.get("Content-Type").indexOf("application/octet-stream")&&(l.responseType="arraybuffer")),!i||"object"!=typeof i.headers||i.headers instanceof h?s.headers.forEach((function(e,t){l.setRequestHeader(t,e)})):Object.getOwnPropertyNames(i.headers).forEach((function(e){l.setRequestHeader(e,c(i.headers[e]))})),s.signal&&(s.signal.addEventListener("abort",u),l.onreadystatechange=function(){4===l.readyState&&s.signal.removeEventListener("abort",u)}),l.send(void 0===s._bodyInit?null:s._bodyInit)}))}k.polyfill=!0,t.fetch||(t.fetch=k,t.Headers=h,t.Request=y,t.Response=x)}).call(this,n(155))},function(e,t,n){"use strict";var i="bfred-it:object-fit-images",r=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,o="undefined"==typeof Image?{style:{"object-position":1}}:new Image,a="object-fit"in o.style,s="object-position"in o.style,l="background-size"in o.style,u="string"==typeof o.currentSrc,c=o.getAttribute,d=o.setAttribute,h=!1;function f(e,t,n){var i="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(t||1)+"' height='"+(n||0)+"'%3E%3C/svg%3E";c.call(e,"src")!==i&&d.call(e,"src",i)}
2function p(e,t){e.naturalWidth?t(e):setTimeout(p,100,e,t)}function m(e){var t=function(e){for(var t,n=getComputedStyle(e).fontFamily,i={};null!==(t=r.exec(n));)i[t[1]]=t[2];return i}(e),n=e[i];if(t["object-fit"]=t["object-fit"]||"fill",!n.img){if("fill"===t["object-fit"])return;if(!n.skipTest&&a&&!t["object-position"])return}if(!n.img){n.img=new Image(e.width,e.height),n.img.srcset=c.call(e,"data-ofi-srcset")||e.srcset,n.img.src=c.call(e,"data-ofi-src")||e.src,d.call(e,"data-ofi-src",e.src),e.srcset&&d.call(e,"data-ofi-srcset",e.srcset),f(e,e.naturalWidth||e.width,e.naturalHeight||e.height),e.srcset&&(e.srcset="");try{!function(e){var t={get:function(t){return e[i].img[t||"src"]},set:function(t,n){return e[i].img[n||"src"]=t,d.call(e,"data-ofi-"+n,t),m(e),t}};Object.defineProperty(e,"src",t),Object.defineProperty(e,"currentSrc",{get:function(){return t.get("currentSrc")}}),Object.defineProperty(e,"srcset",{get:function(){return t.get("srcset")},set:function(e){return t.set(e,"srcset")}})}(e)}catch(e){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}!function(e){if(e.srcset&&!u&&window.picturefill){var t=window.picturefill._;e[t.ns]&&e[t.ns].evaled||t.fillImg(e,{reselect:!0}),e[t.ns].curSrc||(e[t.ns].supported=!1,t.fillImg(e,{reselect:!0})),e.currentSrc=e[t.ns].curSrc||e.src}}(n.img),e.style.backgroundImage='url("'+(n.img.currentSrc||n.img.src).replace(/"/g,'\\"')+'")',e.style.backgroundPosition=t["object-position"]||"center",e.style.backgroundRepeat="no-repeat",e.style.backgroundOrigin="content-box",/scale-down/.test(t["object-fit"])?p(n.img,(function(){n.img.naturalWidth>e.width||n.img.naturalHeight>e.height?e.style.backgroundSize="contain":e.style.backgroundSize="auto"})):e.style.backgroundSize=t["object-fit"].replace("none","auto").replace("fill","100% 100%"),p(n.img,(function(t){f(e,t.naturalWidth,t.naturalHeight)}))}function v(e,t){var n=!h&&!e;if(t=t||{},e=e||"img",s&&!t.skipTest||!l)return!1;"img"===e?e=document.getElementsByTagName("img"):"string"==typeof e?e=document.querySelectorAll(e):"length"in e||(e=[e]);for(var r=0;r<e.length;r++)e[r][i]=e[r][i]||{skipTest:t.skipTest},m(e[r]);n&&(document.body.addEventListener("load",(function(e){"IMG"===e.target.tagName&&v(e.target,{skipTest:t.skipTest})}),!0),h=!0,e="img"),t.watchMQ&&window.addEventListener("resize",v.bind(null,e,{skipTest:t.skipTest}))}v.supportsObjectFit=a,v.supportsObjectPosition=s,function(){function e(e,t){return e[i]&&e[i].img&&("src"===t||"srcset"===t)?e[i].img:e}s||(HTMLImageElement.prototype.getAttribute=function(t){return c.call(e(this,t),t)},HTMLImageElement.prototype.setAttribute=function(t,n){return d.call(e(this,t),t,String(n))})}(),e.exports=v},function(e,t,n){!function(){"use strict";e.exports={polyfill:function(){var e=window,t=document;if(!("scrollBehavior"in t.documentElement.style)||!0===e.__forceSmoothScrollPolyfill__){var n,i=e.HTMLElement||e.Element,r={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:i.prototype.scroll||s,scrollIntoView:i.prototype.scrollIntoView},o=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,a=(n=e.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);e.scroll=e.scrollTo=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?p.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset):r.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset))},e.scrollBy=function(){void 0!==arguments[0]&&(l(arguments[0])?r.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):p.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset)))},i.prototype.scroll=i.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==l(arguments[0])){var e=arguments[0].left,t=arguments[0].top;p.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");r.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},i.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==l(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):r.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},i.prototype.scrollIntoView=function(){if(!0!==l(arguments[0])){var n=h(this),i=n.getBoundingClientRect(),o=this.getBoundingClientRect();n!==t.body?(p.call(this,n,n.scrollLeft+o.left-i.left,n.scrollTop+o.top-i.top),"fixed"!==e.getComputedStyle(n).position&&e.scrollBy({left:i.left,top:i.top,behavior:"smooth"})):e.scrollBy({left:o.left,top:o.top,behavior:"smooth"})}else r.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function s(e,t){this.scrollLeft=e,this.scrollTop=t}function l(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;
2if("object"==typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function u(e,t){return"Y"===t?e.clientHeight+a<e.scrollHeight:"X"===t?e.clientWidth+a<e.scrollWidth:void 0}function c(t,n){var i=e.getComputedStyle(t,null)["overflow"+n];return"auto"===i||"scroll"===i}function d(e){var t=u(e,"Y")&&c(e,"Y"),n=u(e,"X")&&c(e,"X");return t||n}function h(e){for(;e!==t.body&&!1===d(e);)e=e.parentNode||e.host;return e}function f(t){var n,i,r,a,s=(o()-t.startTime)/468;a=s=s>1?1:s,n=.5*(1-Math.cos(Math.PI*a)),i=t.startX+(t.x-t.startX)*n,r=t.startY+(t.y-t.startY)*n,t.method.call(t.scrollable,i,r),i===t.x&&r===t.y||e.requestAnimationFrame(f.bind(e,t))}function p(n,i,a){var l,u,c,d,h=o();n===t.body?(l=e,u=e.scrollX||e.pageXOffset,c=e.scrollY||e.pageYOffset,d=r.scroll):(l=n,u=n.scrollLeft,c=n.scrollTop,d=s),f({scrollable:l,method:d,startTime:h,startX:u,startY:c,x:i,y:a})}}}}()},function(e,t,n){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],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],darkgreen:[0,100,0],darkgrey:[169,169,169],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],darkslategrey:[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],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],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],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],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],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,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],rebeccapurple:[102,51,153],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],slategrey:[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],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[t[i]]=i);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in r)if(r.hasOwnProperty(o)){if(!("channels"in r[o]))throw new Error("missing channels property: "+o);if(!("labels"in r[o]))throw new Error("missing channel labels property: "+o);if(r[o].labels.length!==r[o].channels)throw new Error("channel and label counts mismatch: "+o);var a=r[o].channels,s=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:a}),Object.defineProperty(r[o],"labels",{value:s})}r.rgb.hsl=function(e){var t,n,i=e[0]/255,r=e[1]/255,o=e[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a;return s===a?t=0:i===s?t=(r-o)/l:r===s?t=2+(o-i)/l:o===s&&(t=4+(i-r)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?l/(s+a):l/(2-s-a)),100*n]},r.rgb.hsv=function(e){var t,n,i,r,o,a=e[0]/255,s=e[1]/255,l=e[2]/255,u=Math.max(a,s,l),c=u-Math.min(a,s,l),d=function(e){return(u-e)/6/c+.5};return 0===c?r=o=0:(o=c/u,t=d(a),n=d(s),i=d(l),a===u?r=i-n:s===u?r=1/3+t-i:l===u&&(r=2/3+n-t),r<0?r+=1:r>1&&(r-=1)),[360*r,100*o,100*u]},r.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){var t,n=e[0]/255,i=e[1]/255,r=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-i,1-r)))/(1-t)||0),100*((1-i-t)/(1-t)||0),100*((1-r-t)/(1-t)||0),100*t]},r.rgb.keyword=function(e){var i=n[e];if(i)return i;var r,o,a,s=1/0;for(var l in t)if(t.hasOwnProperty(l)){var u=t[l],c=(o=e,a=u,Math.pow(o[0]-a[0],2)+Math.pow(o[1]-a[1],2)+Math.pow(o[2]-a[2],2));c<s&&(s=c,r=l)}return r}
vendor: 6,951 bytes, line 2
2,r.keyword.rgb=function(e){return t[e]},r.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*t+.7152*n+.0722*i),100*(.0193*t+.1192*n+.9505*i)]},r.rgb.lab=function(e){var t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return i/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){var t,n,i,r,o,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[o=255*l,o,o];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];for(var u=0;u<3;u++)(i=a+1/3*-(u-1))<0&&i++,i>1&&i--,o=6*i<1?t+6*(n-t)*i:2*i<1?n:3*i<2?t+(n-t)*(2/3-i)*6:t,r[u]=255*o;return r},r.hsl.hsv=function(e){var t=e[0],n=e[1]/100,i=e[2]/100,r=n,o=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,r*=o<=1?o:2-o,[t,100*(0===i?2*r/(o+r):2*n/(i+n)),(i+n)/2*100]},r.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,o=t-Math.floor(t),a=255*i*(1-n),s=255*i*(1-n*o),l=255*i*(1-n*(1-o));switch(i*=255,r){case 0:return[i,l,a];case 1:return[s,i,a];case 2:return[a,i,l];case 3:return[a,s,i];case 4:return[l,a,i];case 5:return[i,a,s]}},r.hsv.hsl=function(e){var t,n,i,r=e[0],o=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return i=(2-o)*a,n=o*s,[r,100*(n=(n/=(t=(2-o)*s)<=1?t:2-t)||0),100*(i/=2)]},r.hwb.rgb=function(e){var t,n,i,r,o,a,s,l=e[0]/360,u=e[1]/100,c=e[2]/100,d=u+c;switch(d>1&&(u/=d,c/=d),i=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(i=1-i),r=u+i*((n=1-c)-u),t){default:case 6:case 0:o=n,a=r,s=u;break;case 1:o=r,a=n,s=u;break;case 2:o=u,a=n,s=r;break;case 3:o=u,a=r,s=n;break;case 4:o=r,a=u,s=n;break;case 5:o=n,a=u,s=r}return[255*o,255*a,255*s]},r.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,i=e[2]/100,r=e[3]/100;return[255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r))]},r.xyz.rgb=function(e){var t,n,i,r=e[0]/100,o=e[1]/100,a=e[2]/100;return n=-.9689*r+1.8758*o+.0415*a,i=.0557*r+-.204*o+1.057*a,t=(t=3.2406*r+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},r.xyz.lab=function(e){var t=e[0],n=e[1],i=e[2];return n/=100,i/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.lab.xyz=function(e){var t,n,i,r=e[0];t=e[1]/500+(n=(r+16)/116),i=n-e[2]/200;var o=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(i,3);return n=o>.008856?o:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,i=s>.008856?s:(i-16/116)/7.787,[t*=95.047,n*=100,i*=108.883]},r.lab.lch=function(e){var t,n=e[0],i=e[1],r=e[2];return(t=360*Math.atan2(r,i)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(i*i+r*r),t]},r.lch.lab=function(e){var t,n=e[0],i=e[1];return t=e[2]/360*2*Math.PI,[n,i*Math.cos(t),i*Math.sin(t)]},r.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],o=1 in arguments?arguments[1]:r.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){var t=e[0],n=e[1],i=e[2];return t===n&&n===i?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},r.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},r.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},r.rgb.hcg=function(e){var t,n=e[0]/255,i=e[1]/255,r=e[2]/255,o=Math.max(Math.max(n,i),r),a=Math.min(Math.min(n,i),r),s=o-a;return t=s<=0?0:o===n?(i-r)/s%6:o===i?2+(r-n)/s:4+(n-i)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},r.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=1,r=0;return(i=n<.5?2*t*n:2*t*(1-n))<1&&(r=(n-.5*i)/(1-i)),[e[0],100*i,100*r]},r.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=t*n,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],100*i,100*r]},r.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,i=e[2]/100;if(0===n)return[255*i,255*i,255*i];var r,o=[0,0,0],a=t%1*6,s=a%1,l=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return r=(1-n)*i,[255*(n*o[0]+r),255*(n*o[1]+r),255*(n*o[2]+r)]},r.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),i=0;return n>0&&(i=t/n),[e[0],100*i,100*n]},r.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],100*i,100*n]},r.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},r.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,i=n-t,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],100*i,100*r]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=r.gray.hsv=function(e){return[0,0,e[0]]},r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function i(e){var t=function(){for(var e={},t=Object.keys(n),i=t.length,r=0;r<i;r++)e[t[r]]={distance:-1,parent:null};return e}(),i=[e];for(t[e].distance=0;i.length;)for(var r=i.pop(),o=Object.keys(n[r]),a=o.length,s=0;s<a;s++){var l=o[s],u=t[l];-1===u.distance&&(u.distance=t[r].distance+1,u.parent=r,i.unshift(l))}return t}function r(e,t){return function(n){return t(e(n))}}function o(e,t){for(var i=[t[e].parent,e],o=n[t[e].parent][e],a=t[e].parent;t[a].parent;)i.unshift(t[a].parent),o=r(n[t[a].parent][a],o),a=t[a].parent;return o.conversion=i,o}n.rgb,n.hsl,n.hsv,n.hwb,n.cmyk,n.xyz,n.lab,n.lch,n.hex,n.keyword,n.ansi16,n.ansi256,n.hcg,n.apple,n.gray;var a={};
2Object.keys(n).forEach((function(e){a[e]={},Object.defineProperty(a[e],"channels",{value:n[e].channels}),Object.defineProperty(a[e],"labels",{value:n[e].labels});var t=function(e){for(var t=i(e),n={},r=Object.keys(t),a=r.length,s=0;s<a;s++){var l=r[s];null!==t[l].parent&&(n[l]=o(l,t))}return n}(e);Object.keys(t).forEach((function(n){var i=t[n];a[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var i=n.length,r=0;r<i;r++)n[r]=Math.round(n[r]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(i),a[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(i)}))}));var s=a,l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],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],darkgreen:[0,100,0],darkgrey:[169,169,169],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],darkslategrey:[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],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],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],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],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],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,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],rebeccapurple:[102,51,153],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],slategrey:[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],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},u={getRgba:c,getHsla:d,getRgb:function(e){var t=c(e);return t&&t.slice(0,3)},getHsl:function(e){var t=d(e);return t&&t.slice(0,3)},getHwb:h,getAlpha:function(e){var t=c(e);return t||(t=d(e))||(t=h(e))?t[3]:void 0},hexString:function(e,t){return t=void 0!==t&&3===e.length?t:e[3],"#"+g(e[0])+g(e[1])+g(e[2])+(t>=0&&t<1?g(Math.round(255*t)):"")},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?f(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"}
vendor: 18,531 bytes, line 2
2,rgbaString:f,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return p(e,t);var n=Math.round(e[0]/255*100),i=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return"rgb("+n+"%, "+i+"%, "+r+"%)"},percentaString:p,hslString:function(e,t){return t<1||e[3]&&e[3]<1?m(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:m,hwbString:function(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return b[e.slice(0,3)]}};function c(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3,4})$/i),r="";if(i){r=(i=i[1])[3];for(var o=0;o<t.length;o++)t[o]=parseInt(i[o]+i[o],16);r&&(n=Math.round(parseInt(r+r,16)/255*100)/100)}else if(i=e.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(r=i[2],i=i[1],o=0;o<t.length;o++)t[o]=parseInt(i.slice(2*o,2*o+2),16);r&&(n=Math.round(parseInt(r,16)/255*100)/100)}else if(i=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<t.length;o++)t[o]=parseInt(i[o+1]);n=parseFloat(i[4])}else if(i=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<t.length;o++)t[o]=Math.round(2.55*parseFloat(i[o+1]));n=parseFloat(i[4])}else if(i=e.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(t=l[i[1]]))return}for(o=0;o<t.length;o++)t[o]=v(t[o],0,255);return n=n||0==n?v(n,0,1):1,t[3]=n,t}}function d(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[v(parseInt(t[1]),0,360),v(parseFloat(t[2]),0,100),v(parseFloat(t[3]),0,100),v(isNaN(n)?1:n,0,1)]}}}function h(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[v(parseInt(t[1]),0,360),v(parseFloat(t[2]),0,100),v(parseFloat(t[3]),0,100),v(isNaN(n)?1:n,0,1)]}}}function f(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function p(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function m(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function v(e,t,n){return Math.min(Math.max(t,e),n)}function g(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var b={};for(var y in l)b[l[y]]=y;var w=function(e){return e instanceof w?e:this instanceof w?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=u.getRgba(e))?this.setValues("rgb",t):(t=u.getHsla(e))?this.setValues("hsl",t):(t=u.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new w(e);var t};w.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return u.hexString(this.values.rgb)},rgbString:function(){return u.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return u.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return u.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return u.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return u.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return u.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return u.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var i=e[n]/255;t[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=e,i=void 0===t?.5:t,r=2*i-1,o=this.alpha()-n.alpha(),a=((r*o==-1?r:(r+o)/(1+r*o))+1)/2,s=1-a;return this.rgb(a*this.red()+s*n.red(),a*this.green()+s*n.green(),a*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new w,i=this.values,r=n.values;for(var o in i)i.hasOwnProperty(o)&&(e=i[o],"[object Array]"===(t={}.toString.call(e))?r[o]=e.slice(0):"[object Number]"===t?r[o]=e:console.error("unexpected color value:",e));return n}},w.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},w.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},w.prototype.getValues=function(e){for(var t=this.values,n={},i=0;i<e.length;i++)n[e.charAt(i)]=t[e][i];return 1!==t.alpha&&(n.a=t.alpha),n},w.prototype.setValues=function(e,t){var n,i,r=this.values,o=this.spaces,a=this.maxes,l=1;if(this.valid=!0,"alpha"===e)l=t;else if(t.length)r[e]=t.slice(0,e.length),l=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)r[e][n]=t[e.charAt(n)];l=t.a}else if(void 0!==t[o[e][0]]){var u=o[e];for(n=0;n<e.length;n++)r[e][n]=t[u[n]];l=t.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===l?r.alpha:l)),"alpha"===e)return!1;for(n=0;n<e.length;n++)i=Math.max(0,Math.min(a[e][n],r[e][n])),r[e][n]=Math.round(i);for(var c in o)c!==e&&(r[c]=s[e][c](r[e]));return!0},w.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},w.prototype.setChannel=function(e,t,n){var i=this.values[e];return void 0===n?i[t]:(n===i[t]||(i[t]=n,this.setValues(e,i)),this)},"undefined"!=typeof window&&(window.Color=w);var x=w;function S(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}var _,k={noop:function(){},uid:(_=0,function(){return _++}),isNullOrUndef:function(e){return null==e},isArray:function(e){if(Array.isArray&&Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},isFinite:function(e){return("number"==typeof e||e instanceof Number)&&isFinite(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,n){return k.valueOrDefault(k.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,n,i){var r,o,a;if(k.isArray(e))if(o=e.length,i)for(r=o-1;r>=0;r--)t.call(n,e[r],r);else for(r=0;r<o;r++)t.call(n,e[r],r);else if(k.isObject(e))for(o=(a=Object.keys(e)).length,r=0;r<o;r++)t.call(n,e[a[r]],a[r])},arrayEquals:function(e,t){var n,i,r,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;n<i;++n)if(r=e[n],o=t[n],r instanceof Array&&o instanceof Array){if(!k.arrayEquals(r,o))return!1}else if(r!==o)return!1;return!0},clone:function(e){if(k.isArray(e))return e.map(k.clone);if(k.isObject(e)){for(var t=Object.create(e),n=Object.keys(e),i=n.length,r=0;r<i;++r)t[n[r]]=k.clone(e[n[r]]);return t}return e},_merger:function(e,t,n,i){if(S(e)){var r=t[e],o=n[e];k.isObject(r)&&k.isObject(o)?k.merge(r,o,i):t[e]=k.clone(o)}},_mergerIf:function(e,t,n){if(S(e)){var i=t[e],r=n[e];k.isObject(i)&&k.isObject(r)?k.mergeIf(i,r):t.hasOwnProperty(e)||(t[e]=k.clone(r))}},merge:function(e,t,n){var i,r,o,a,s,l=k.isArray(t)?t:[t],u=l.length;if(!k.isObject(e))return e;for(i=(n=n||{}).merger||k._merger,r=0;r<u;++r)if(t=l[r],k.isObject(t))for(s=0,a=(o=Object.keys(t)).length;s<a;++s)i(o[s],e,t,n);return e},mergeIf:function(e,t){return k.merge(e,t,{merger:k._mergerIf})},extend:Object.assign||function(e){return k.merge(e,[].slice.call(arguments,1),{merger:function(e,t,n){t[e]=n[e]}})},inherits:function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=t.prototype,n.prototype=new i,n.extend=k.inherits,e&&k.extend(n.prototype,e),n.__super__=t.prototype,n},_deprecated:function(e,t,n,i){void 0!==t&&console.warn(e+': "'+n+'" is deprecated. Please use "'+i+'" instead')}},E=k;k.callCallback=k.callback,k.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},k.getValueOrDefault=k.valueOrDefault,k.getValueAtIndexOrDefault=k.valueAtIndexOrDefault;var C={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n||(n=.3),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n||(n=.3),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),i<1?(i=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/i),e<1?i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-C.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*C.easeInBounce(2*e):.5*C.easeOutBounce(2*e-1)+.5}},T={effects:C};E.easingEffects=C;var M=Math.PI,A=M/180,P=2*M,O=M/2,L=M/4,I=2*M/3,D={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,i,r,o){if(o){var a=Math.min(o,r/2,i/2),s=t+a,l=n+a,u=t+i-a,c=n+r-a;e.moveTo(t,l),s<u&&l<c?(e.arc(s,l,a,-M,-O),e.arc(u,l,a,-O,0),e.arc(u,c,a,0,O),e.arc(s,c,a,O,M)):s<u?(e.moveTo(s,n),e.arc(u,l,a,-O,O),e.arc(s,l,a,O,M+O)):l<c?(e.arc(s,l,a,-M,0),e.arc(s,c,a,0,M)):e.arc(s,l,a,-M,M),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,i,r)},drawPoint:function(e,t,n,i,r,o){var a,s,l,u,c,d=(o||0)*A;if(t&&"object"==typeof t&&("[object HTMLImageElement]"===(a=t.toString())||"[object HTMLCanvasElement]"===a))return e.save(),e.translate(i,r),e.rotate(d),e.drawImage(t,-t.width/2,-t.height/2,t.width,t.height),void e.restore();if(!(isNaN(n)||n<=0)){switch(e.beginPath(),t){default:e.arc(i,r,n,0,P),e.closePath();break;case"triangle":e.moveTo(i+Math.sin(d)*n,r-Math.cos(d)*n),d+=I,e.lineTo(i+Math.sin(d)*n,r-Math.cos(d)*n),d+=I,e.lineTo(i+Math.sin(d)*n,r-Math.cos(d)*n),e.closePath();break;case"rectRounded":u=n-(c=.516*n),s=Math.cos(d+L)*u,l=Math.sin(d+L)*u,e.arc(i-s,r-l,c,d-M,d-O),e.arc(i+l,r-s,c,d-O,d),e.arc(i+s,r+l,c,d,d+O),e.arc(i-l,r+s,c,d+O,d+M),e.closePath();break;case"rect":if(!o){u=Math.SQRT1_2*n,e.rect(i-u,r-u,2*u,2*u);break}d+=L;case"rectRot":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,r-l),e.lineTo(i+l,r-s),e.lineTo(i+s,r+l),e.lineTo(i-l,r+s),e.closePath();break;case"crossRot":d+=L;case"cross":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l),e.moveTo(i+l,r-s),e.lineTo(i-l,r+s);break;case"star":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l),e.moveTo(i+l,r-s),e.lineTo(i-l,r+s),d+=L,s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l),e.moveTo(i+l,r-s),e.lineTo(i-l,r+s);break;case"line":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l);break;case"dash":e.moveTo(i,r),e.lineTo(i+Math.cos(d)*n,r+Math.sin(d)*n)}e.fill(),e.stroke()}},_isPointInArea:function(e,t){return e.x>t.left-1e-6&&e.x<t.right+1e-6&&e.y>t.top-1e-6&&e.y<t.bottom+1e-6},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,i){var r=n.steppedLine;if(r){if("middle"===r){var o=(t.x+n.x)/2;e.lineTo(o,i?n.y:t.y),e.lineTo(o,i?t.y:n.y)}else"after"===r&&!i||"after"!==r&&i?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}else n.tension?e.bezierCurveTo(i?t.controlPointPreviousX:t.controlPointNextX,i?t.controlPointPreviousY:t.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}},N=D;E.clear=D.clear,E.drawRoundedRectangle=function(e){e.beginPath(),D.roundedRect.apply(D,arguments)};var j={_set:function(e,t){return E.merge(this[e]||(this[e]={}),t)}};j._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var F=j,R=E.valueOrDefault,B={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,i,r;return E.isObject(e)?(t=+e.top||0,n=+e.right||0,i=+e.bottom||0,r=+e.left||0):t=n=i=r=+e||0,{top:t,right:n,bottom:i,left:r,height:t+i,width:r+n}},_parseFont:function(e){var t=F.global,n=R(e.fontSize,t.defaultFontSize),i={family:R(e.fontFamily,t.defaultFontFamily),lineHeight:E.options.toLineHeight(R(e.lineHeight,t.defaultLineHeight),n),size:n,style:R(e.fontStyle,t.defaultFontStyle),weight:null,string:""};return i.string=function(e){return!e||E.isNullOrUndef(e.size)||E.isNullOrUndef(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(i),i},resolve:function(e,t,n,i){var r,o,a,s=!0;for(r=0,o=e.length;r<o;++r)if(void 0!==(a=e[r])&&(void 0!==t&&"function"==typeof a&&(a=a(t),s=!1),void 0!==n&&E.isArray(a)&&(a=a[n],s=!1),void 0!==a))return i&&!s&&(i.cacheable=!1),a}},z={_factorize:function(e){var t,n=[],i=Math.sqrt(e);for(t=1;t<i;t++)e%t==0&&(n.push(t),n.push(e/t));return i===(0|i)&&n.push(i),n.sort((function(e,t){return e-t})).pop(),n},log10:Math.log10||function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t}},H=z;E.log10=z.log10;var $=E,W=T,q=N,V=B,Y=H,U={getRtlAdapter:function(e,t,n){return e?function(e,t){return{x:function(n){return e+e+t-n}
2,setWidth:function(e){t=e},textAlign:function(e){return"center"===e?e:"right"===e?"left":"right"},xPlus:function(e,t){return e-t},leftForLtr:function(e,t){return e-t}}}(t,n):{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}}},overrideTextDirection:function(e,t){var n,i;"ltr"!==t&&"rtl"!==t||(i=[(n=e.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=i)},restoreTextDirection:function(e){var t=e.prevTextDirection;void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}};$.easing=W,$.canvas=q,$.options=V,$.math=Y,$.rtl=U;var G=function(e){$.extend(this,e),this.initialize.apply(this,arguments)};$.extend(G.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=$.extend({},e._model)),e._start={},e},transition:function(e){var t=this,n=t._model,i=t._start,r=t._view;return n&&1!==e?(r||(r=t._view={}),i||(i=t._start={}),function(e,t,n,i){var r,o,a,s,l,u,c,d,h,f=Object.keys(n);for(r=0,o=f.length;r<o;++r)if(u=n[a=f[r]],t.hasOwnProperty(a)||(t[a]=u),(s=t[a])!==u&&"_"!==a[0]){if
2(e.hasOwnProperty(a)||(e[a]=s),(c=typeof u)==typeof(l=e[a]))if("string"===c){if((d=x(l)).valid&&(h=x(u)).valid){t[a]=h.mix(d,i).rgbString();continue}}else if($.isFinite(l)&&$.isFinite(u)){t[a]=l+(u-l)*i;continue}t[a]=u}}(i,r,n,e),t):(t._view=$.extend({},n),t._start=null,t)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return $.isNumber(this._model.x)&&$.isNumber(this._model.y)}}),G.extend=$.inherits;var X=G,K=X.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),Z=K;Object.defineProperty(K.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(K.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}}),F._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:$.noop,onComplete:$.noop}});var J={animations:[],request:null,addAnimation:function(e,t,n,i){var r,o,a=this.animations;for(t.chart=e,t.startTime=Date.now(),t.duration=n,i||(e.animating=!0),r=0,o=a.length;r<o;++r)if(a[r].chart===e)return void(a[r]=t);a.push(t),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=$.findIndex(this.animations,(function(t){return t.chart===e}));-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=$.requestAnimFrame.call(window,(function(){e.request=null,e.startDigest()})))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var e,t,n,i,r=this.animations,o=0;o<r.length;)t=(e=r[o]).chart,n=e.numSteps,i=Math.floor((Date.now()-e.startTime)/e.duration*n)+1,e.currentStep=Math.min(i,n),$.callback(e.render,[t,e],t),$.callback(e.onAnimationProgress,[e],t),e.currentStep>=n?($.callback(e.onAnimationComplete,[e],t),t.animating=!1,r.splice(o,1)):++o}},Q=$.options.resolve,ee=["push","pop","shift","splice","unshift"];function te(e,t){var n=e._chartjs;if(n){var i=n.listeners,r=i.indexOf(t);-1!==r&&i.splice(r,1),i.length>0||(ee.forEach((function(t){delete e[t]})),delete e._chartjs)}}var ne=function(e,t){this.initialize(e,t)};$.extend(ne.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,n=t.scales,i=this.getDataset(),r=t.options.scales;null!==e.xAxisID&&e.xAxisID in n&&!i.xAxisID||(e.xAxisID=i.xAxisID||r.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in n&&!i.yAxisID||(e.yAxisID=i.yAxisID||r.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&te(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),i=this.getDataset().data||[],r=n.data;for(e=0,t=i.length;e<t;++e)r[e]=r[e]||this.createMetaData(e);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var e,t,n=this,i=n.getDataset(),r=i.data||(i.data=[]);n._data!==r&&(n._data&&te(n._data,n),r&&Object.isExtensible(r)&&(t=n,(e=r)._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),ee.forEach((function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),i=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),r=i.apply(this,t);return $.each(e._chartjs.listeners,(function(e){"function"==typeof e[n]&&e[n].apply(e,t)})),r}})}
vendor: 19,350 bytes, line 2
2)))),n._data=r),n.resyncElements()},_configure:function(){this._config=$.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(e,t,n){"_meta"!==e&&"data"!==e&&$._merger(e,t,n)}})},_update:function(e){this._configure(),this._cachedDataOpts=null,this.update(e)},update:$.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],i=n.length,r=0;r<i;++r)n[r].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,i=0;for(e.dataset&&e.dataset.draw();i<n;++i)t[i].draw()},getStyle:function(e){var t,n=this.getMeta(),i=n.dataset;return this._configure(),i&&void 0===e?t=this._resolveDatasetElementOptions(i||{}):(e=e||0,t=this._resolveDataElementOptions(n.data[e]||{},e)),!1!==t.fill&&null!==t.fill||(t.backgroundColor=t.borderColor),t},_resolveDatasetElementOptions:function(e,t){var n,i,r,o,a=this,s=a.chart,l=a._config,u=e.custom||{},c=s.options.elements[a.datasetElementType.prototype._type]||{},d=a._datasetElementOptions,h={},f={chart:s,dataset:a.getDataset(),datasetIndex:a.index,hover:t};for(n=0,i=d.length;n<i;++n)r=d[n],o=t?"hover"+r.charAt(0).toUpperCase()+r.slice(1):r,h[r]=Q([u[o],l[o],c[o]],f);return h},_resolveDataElementOptions:function(e,t){var n=this,i=e&&e.custom,r=n._cachedDataOpts;if(r&&!i)return r;var o,a,s,l,u=n.chart,c=n._config,d=u.options.elements[n.dataElementType.prototype._type]||{},h=n._dataElementOptions,f={},p={chart:u,dataIndex:t,dataset:n.getDataset(),datasetIndex:n.index},m={cacheable:!i};if(i=i||{},$.isArray(h))for(a=0,s=h.length;a<s;++a)f[l=h[a]]=Q([i[l],c[l],d[l]],p,t,m);else for(a=0,s=(o=Object.keys(h)).length;a<s;++a)f[l=o[a]]=Q([i[l],c[h[l]],c[l],d[l]],p,t,m);return m.cacheable&&(n._cachedDataOpts=Object.freeze(f)),f},removeHoverStyle:function(e){$.merge(e._model,e.$previousStyle||{}),delete e.$previousStyle},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},r=e._model,o=$.getHoverColor;e.$previousStyle={backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth},r.backgroundColor=Q([i.hoverBackgroundColor,t.hoverBackgroundColor,o(r.backgroundColor)],void 0,n),r.borderColor=Q([i.hoverBorderColor,t.hoverBorderColor,o(r.borderColor)],void 0,n),r.borderWidth=Q([i.hoverBorderWidth,t.hoverBorderWidth,r.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var e=this.getMeta().dataset;e&&this.removeHoverStyle(e)},_setDatasetHoverStyle:function(){var e,t,n,i,r,o,a=this.getMeta().dataset,s={};if(a){for(o=a._model,r=this._resolveDatasetElementOptions(a,!0),e=0,t=(i=Object.keys(r)).length;e<t;++e)s[n=i[e]]=o[n],o[n]=r[n];a.$previousStyle=s}},resyncElements:function(){var e=this.getMeta(),t=this.getDataset().data,n=e.data.length,i=t.length;i<n?e.data.splice(i,n-i):i>n&&this.insertElements(n,i-n)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+n)},onDataPush:function(){var e=arguments.length;this.insertElements(this.getDataset().data.length-e,e)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),ne.extend=$.inherits;var ie=ne,re=2*Math.PI;function oe(e,t){var n=t.startAngle,i=t.endAngle,r=t.pixelMargin,o=r/t.outerRadius,a=t.x,s=t.y;e.beginPath(),e.arc(a,s,t.outerRadius,n-o,i+o),t.innerRadius>r?(o=r/t.innerRadius,e.arc(a,s,t.innerRadius-r,i+o,n-o,!0)):e.arc(a,s,r,i+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}function ae(e,t,n){var i="inner"===t.borderAlign;i?(e.lineWidth=2*t.borderWidth,e.lineJoin="round"):(e.lineWidth=t.borderWidth,e.lineJoin="bevel"),n.fullCircles&&function(e,t,n,i){var r,o=n.endAngle;for(i&&(n.endAngle=n.startAngle+re,oe(e,n),n.endAngle=o,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=re,n.fullCircles--)),e.beginPath(),e.arc(n.x,n.y,n.innerRadius,n.startAngle+re,n.startAngle,!0),r=0;r<n.fullCircles;++r)e.stroke();for(e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.startAngle+re),r=0;r<n.fullCircles;++r)e.stroke()}(e,t,n,i),i&&oe(e,n),e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.endAngle),e.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),e.closePath(),e.stroke()}F._set("global",{elements:{arc:{backgroundColor:F.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var se=X.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var i=$.getAngleFromPoint(n,{x:e,y:t}),r=i.angle,o=i.distance,a=n.startAngle,s=n.endAngle;s<a;)s+=re;for(;r>s;)r-=re;for(;r<a;)r+=re;var l=r>=a&&r<=s,u=o>=n.innerRadius&&o<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,r={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/re)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+re,t.beginPath(),t.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),t.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),t.closePath(),e=0;e<r.fullCircles;++e)t.fill();r.endAngle=r.startAngle+n.circumference%re}t.beginPath(),t.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),t.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),t.closePath(),t.fill(),n.borderWidth&&ae(t,n,r),t.restore()}}),le=$.valueOrDefault,ue=F.global.defaultColor;F._set("global",{elements:{line:{tension:.4,backgroundColor:ue,borderWidth:3,borderColor:ue,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var ce=X.extend({_type:"line",draw:function(){var e,t,n,i=this,r=i._view,o=i._chart.ctx,a=r.spanGaps,s=i._children.slice(),l=F.global,u=l.elements.line,c=-1,d=i._loop;if(s.length){if(i._loop){for(e=0;e<s.length;++e)if(t=$.previousItem(s,e),!s[e]._view.skip&&t._view.skip){s=s.slice(e).concat(s.slice(0,e)),d=a;break}d&&s.push(s[0])}for(o.save(),o.lineCap=r.borderCapStyle||u.borderCapStyle,o.setLineDash&&o.setLineDash(r.borderDash||u.borderDash),o.lineDashOffset=le(r.borderDashOffset,u.borderDashOffset),o.lineJoin=r.borderJoinStyle||u.borderJoinStyle,o.lineWidth=le(r.borderWidth,u.borderWidth),o.strokeStyle=r.borderColor||l.defaultColor,o.beginPath(),(n=s[0]._view).skip||(o.moveTo(n.x,n.y),c=0),e=1;e<s.length;++e)n=s[e]._view,t=-1===c?$.previousItem(s,e):s[c],n.skip||(c!==e-1&&!a||-1===c?o.moveTo(n.x,n.y):$.canvas.lineTo(o,t._view,n),c=e);d&&o.closePath(),o.stroke(),o.restore()}}}),de=$.valueOrDefault,he=F.global.defaultColor;function fe(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}F._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:he,borderColor:he,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var pe=X.extend({_type:"point",inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:fe,inXRange:fe,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._chart.ctx,i=t.pointStyle,r=t.rotation,o=t.radius,a=t.x,s=t.y,l=F.global,u=l.defaultColor;t.skip||(void 0===e||$.canvas._isPointInArea(t,e))&&(n.strokeStyle=t.borderColor||u,n.lineWidth=de(t.borderWidth,l.elements.point.borderWidth),n.fillStyle=t.backgroundColor||u,$.canvas.drawPoint(n,i,o,a,s,r))}}),me=F.global.defaultColor;function ve(e){return e&&void 0!==e.width}function ge(e){var t,n,i,r,o;return ve(e)?(o=e.width/2,t=e.x-o,n=e.x+o,i=Math.min(e.y,e.base),r=Math.max(e.y,e.base)):(o=e.height/2,t=Math.min(e.x,e.base),n=Math.max(e.x,e.base),i=e.y-o,r=e.y+o),{left:t,top:i,right:n,bottom:r}}function be(e,t,n){return e===t?n:e===n?t:e}function ye(e,t,n){var i,r,o,a,s=e.borderWidth,l=function(e){var t=e.borderSkipped,n={};return t?(e.horizontal?e.base>e.x&&(t=be(t,"left","right")):e.base<e.y&&(t=be(t,"bottom","top")),n[t]=!0,n):n}(e);return $.isObject(s)?(i=+s.top||0,r=+s.right||0,o=+s.bottom||0,a=+s.left||0):i=r=o=a=+s||0,{t:l.top||i<0?0:i>n?n:i,r:l.right||r<0?0:r>t?t:r,b:l.bottom||o<0?0:o>n?n:o,l:l.left||a<0?0:a>t?t:a}}function we(e,t,n){var i=null===t,r=null===n,o=!(!e||i&&r)&&ge(e);return o&&(i||t>=o.left&&t<=o.right)&&(r||n>=o.top&&n<=o.bottom)}F._set("global",{elements:{rectangle:{backgroundColor:me,borderColor:me,borderSkipped:"bottom",borderWidth:0}}});var xe=X.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,n=function(e){var t=ge(e),n=t.right-t.left,i=t.bottom-t.top,r=ye(e,n/2,i/2);return{outer:{x:t.left,y:t.top,w:n,h:i},inner:{x:t.left+r.l,y:t.top+r.t,w:n-r.l-r.r,h:i-r.t-r.b}}}(t),i=n.outer,r=n.inner;e.fillStyle=t.backgroundColor,e.fillRect(i.x,i.y,i.w,i.h),i.w===r.w&&i.h===r.h||(e.save(),e.beginPath(),e.rect(i.x,i.y,i.w,i.h),e.clip(),e.fillStyle=t.borderColor,e.rect(r.x,r.y,r.w,r.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return we(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return ve(n)?we(n,e,null):we(n,null,t)},inXRange:function(e){return we(this._view,e,null)},inYRange:function(e){return we(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return ve(n)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return ve(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),Se={},_e=se,ke=ce,Ee=pe,Ce=xe;Se.Arc=_e,Se.Line=ke,Se.Point=Ee,Se.Rectangle=Ce;var Te=$._deprecated,Me=$.valueOrDefault;function Ae(e,t,n){var i,r,o=n.barThickness,a=t.stackCount,s=t.pixels[e],l=$.isNullOrUndef(o)?function(e,t){var n,i,r,o,a=e._length;for(r=1,o=t.length;r<o;++r)a=Math.min(a,Math.abs(t[r]-t[r-1]));for(r=0,o=e.getTicks().length;r<o;++r)i=e.getPixelForTick(r),a=r>0?Math.min(a,Math.abs(i-n)):a,n=i;return a}(t.scale,t.pixels):-1;return $.isNullOrUndef(o)?(i=l*n.categoryPercentage,r=n.barPercentage):(i=o*a,r=1),{chunk:i/a,ratio:r,start:s-i/2}}F._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),F._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Pe=ie.extend({dataElementType:Se.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,n=this;ie.prototype.initialize.apply(n,arguments),(e=n.getMeta()).stack=n.getDataset().stack,e.bar=!0,t=n._getIndexScale().options,Te("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Te("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Te("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Te("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Te("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=i.length;t<n;++t)this.updateElement(i[t],t,e)},updateElement:function(e,t,n){var i=this,r=i.getMeta(),o=i.getDataset(),a=i._resolveDataElementOptions(e,t);e._xScale=i.getScaleForId(r.xAxisID),e._yScale=i.getScaleForId(r.yAxisID),e._datasetIndex=i.index,e._index=t,e._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:o.label,label:i.chart.data.labels[t]},$.isArray(o.data[t])&&(e._model.borderSkipped=null),i._updateElementGeometry(e,t,n,a),e.pivot()},_updateElementGeometry:function(e,t,n,i){var r=this,o=e._model,a=r._getValueScale(),s=a.getBasePixel(),l=a.isHorizontal(),u=r._ruler||r.getRuler(),c=r.calculateBarValuePixels(r.index,t,i),d=r.calculateBarIndexPixels(r.index,t,u,i);o.horizontal=l,o.base=n?s:c.base,o.x=l?n?s:c.head:d.center,o.y=l?d.center:n?s:c.head,o.height=l?d.size:void 0,o.width=l?void 0:d.size},_getStacks:function(e){var t,n,i=this._getIndexScale(),r=i._getMatchingVisibleMetas(this._type),o=i.options.stacked,a=r.length,s=[];for(t=0;t<a&&(n=r[t],(!1===o||-1===s.indexOf(n.stack)||void 0===o&&void 0===n.stack)&&s.push(n.stack),n.index!==e);++t);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var n=this._getStacks(e),i=void 0!==t?n.indexOf(t):-1;return-1===i?n.length-1:i},getRuler:function(){var e,t,n=this._getIndexScale(),i=[];for(e=0,t=this.getMeta().data.length;e<t;++e)i.push(n.getPixelForValue(null,e,this.index));return{pixels:i,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(e,t,n){var i,r,o,a,s,l,u,c=this.chart,d=this._getValueScale(),h=d.isHorizontal(),f=c.data.datasets,p=d._getMatchingVisibleMetas(this._type),m=d._parseValue(f[e].data[t]),v=n.minBarLength,g=d.options.stacked,b=this.getMeta().stack,y=void 0===m.start?0:m.max>=0&&m.min>=0?m.min:m.max,w=void 0===m.start?m.end:m.max>=0&&m.min>=0?m.max-m.min:m.min-m.max,x=p.length;if(g||void 0===g&&void 0!==b)for(i=0;i<x&&(r=p[i]).index!==e;++i)r.stack===b&&(o=void 0===(u=d._parseValue(f[r.index].data[t])).start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(m.min<0&&o<0||m.max>=0&&o>0)&&(y+=o));return a=d.getPixelForValue(y),l=(s=d.getPixelForValue(y+w))-a,void 0!==v&&Math.abs(l)<v&&(l=v,s=w>=0&&!h||w<0&&h?a-v:a+v),{size:l,base:a,head:s,center:s+l/2}},calculateBarIndexPixels:function(e,t,n,i){var r="flex"===i.barThickness?function(e,t,n){var i,r=t.pixels,o=r[e],a=e>0?r[e-1]:null,s=e<r.length-1?r[e+1]:null,l=n.categoryPercentage;return null===a&&(a=o-(null===s?t.end-t.start:s-o)),null===s&&(s=o+o-a),i=o-(o-Math.min(a,s))/2*l,{chunk:Math.abs(s-a)/2*l/t.stackCount,ratio:n.barPercentage,start:i}}(t,n,i):Ae(t,n,i),o=this.getStackIndex(e,this.getMeta().stack),a=r.start+r.chunk*o+r.chunk/2,s=Math.min(Me(i.maxBarThickness,1/0),r.chunk*r.ratio);return{base:a-s/2,head:a+s/2,center:a,size:s}},draw:function(){var e=this.chart,t=this._getValueScale(),n=this.getMeta().data,i=this.getDataset(),r=n.length,o=0;for($.canvas.clipArea(e.ctx,e.chartArea);o<r;++o){var a=t._parseValue(i.data[o]);isNaN(a.min)||isNaN(a.max)||n[o].draw()}$.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var e=this,t=$.extend({},ie.prototype._resolveDataElementOptions.apply(e,arguments)),n=e._getIndexScale().options,i=e._getValueScale().options;return t.barPercentage=Me(n.barPercentage,t.barPercentage),t.barThickness=Me(n.barThickness,t.barThickness),t.categoryPercentage=Me(n.categoryPercentage,t.categoryPercentage),t.maxBarThickness=Me(n.maxBarThickness,t.maxBarThickness),t.minBarLength=Me(i.minBarLength,t.minBarLength),t}}),Oe=$.valueOrDefault,Le=$.options.resolve;F._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.datasets[e.datasetIndex].label||"",i=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+i.r+")"}}}});var Ie=ie.extend({dataElementType:Se.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(e){var t=this,n=t.getMeta().data;$.each(n,(function(n,i){t.updateElement(n,i,e)}))},updateElement:function(e,t,n){var i=this,r=i.getMeta(),o=e.custom||{},a=i.getScaleForId(r.xAxisID),s=i.getScaleForId(r.yAxisID),l=i._resolveDataElementOptions(e,t),u=i.getDataset().data[t],c=i.index,d=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof u?u:NaN,t,c),h=n?s.getBasePixel():s.getPixelForValue(u,t,c);e._xScale=a,e._yScale=s,e._options=l,e._datasetIndex=c,e._index=t,e._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:o.skip||isNaN(d)||isNaN(h),x:d,y:h},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options,i=$.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Oe(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Oe(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Oe(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(e,t){var n=this,i=n.chart,r=n.getDataset(),o=e.custom||{},a=r.data[t]||{},s=ie.prototype._resolveDataElementOptions.apply(n,arguments),l={chart:i,dataIndex:t,dataset:r,datasetIndex:n.index};return n._cachedDataOpts===s&&(s=$.extend({},s)),s.radius=Le([o.radius,a.r,n._config.radius,i.options.elements.point.radius],l,t),s}}),De=$.valueOrDefault,Ne=Math.PI,je=2*Ne,Fe=Ne/2;F._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t,n,i,r=document.createElement("ul"),o=e.data,a=o.datasets,s=o.labels;if(r.setAttribute("class",e.id+"-legend"),a.length)for(t=0,n=a[0].data.length;t<n;++t)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[t],s[t]&&i.appendChild(document.createTextNode(s[t]));return r.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,i){var r=e.getDatasetMeta(0),o=r.controller.getStyle(i);return{text:n,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(t.datasets[0].data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(e,t){var n,i,r,o=t.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;n<i;++n)(r=a.getDatasetMeta(n)).data[o]&&(r.data[o].hidden=!r.data[o].hidden);a.update()}},cutoutPercentage:50,rotation:-Fe,circumference:je,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],i=": "+t.datasets[e.datasetIndex].data[e.index];return $.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}});var Re=ie.extend({dataElementType:Se.Arc,linkScales:$.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroun
2dColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var t,n,i,r,o=this,a=o.chart,s=a.chartArea,l=a.options,u=1,c=1,d=0,h=0,f=o.getMeta(),p=f.data,m=l.cutoutPercentage/100||0,v=l.circumference,g=o._getRingWeight(o.index);if(v<je){var b=l.rotation%je,y=(b+=b>=Ne?-je:b<-Ne?je:0)+v,w=Math.cos(b),x=Math.sin(b),S=Math.cos(y),_=Math.sin(y),k=b<=0&&y>=0||y>=je,E=b<=Fe&&y>=Fe||y>=je+Fe,C=b<=-Fe&&y>=-Fe||y>=Ne+Fe,T=b===-Ne||y>=Ne?-1:Math.min(w,w*m,S,S*m),M=C?-1:Math.min(x,x*m,_,_*m),A=k?1:Math.max(w,w*m,S,S*m),P=E?1:Math.max(x,x*m,_,_*m);u=(A-T)/2,c=(P-M)/2,d=-(A+T)/2,h=-(P+M)/2}for(i=0,r=p.length;i<r;++i)p[i]._options=o._resolveDataElementOptions(p[i],i);for(a.borderWidth=o.getMaxBorderWidth(),t=(s.right-s.left-a.borderWidth)/u,n=(s.bottom-s.top-a.borderWidth)/c,a.outerRadius=Math.max(Math.min(t,n)/2,0),a.innerRadius=Math.max(a.outerRadius*m,0),a.radiusLength=(a.outerRadius-a.innerRadius)/(o._getVisibleDatasetWeightTotal()||1),a.offsetX=d*a.outerRadius,a.offsetY=h*a.outerRadius,f.total=o.calculateTotal(),o.outerRadius=a.outerRadius-a.radiusLength*o._getRingWeightOffset(o.index),o.innerRadius=Math.max(o.outerRadius-a.radiusLength*g,0),i=0,r=p.length;i<r;++i)o.updateElement(p[i],i,e)},updateElement:function(e,t,n){var i=this,r=i.chart,o=r.chartArea,a=r.options,s=a.animation,l=(o.left+o.right)/2,u=(o.top+o.bottom)/2,c=a.rotation,d=a.rotation,h=i.getDataset(),f=n&&s.animateRotate||e.hidden?0:i.calculateCircumference(h.data[t])*(a.circumference/je),p=n&&s.animateScale?0:i.innerRadius,m=n&&s.animateScale?0:i.outerRadius,v=e._options||{};$.extend(e,{_datasetIndex:i.index,_index:t,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:l+r.offsetX,y:u+r.offsetY,startAngle:c,endAngle:d,circumference:f,outerRadius:m,innerRadius:p,label:$.valueAtIndexOrDefault(h.label,t,r.data.labels[t])}});var g=e._model;n&&s.animateRotate||(g.startAngle=0===t?a.rotation:i.getMeta().data[t-1]._model.endAngle,g.endAngle=g.startAngle+g.circumference),e.pivot()},calculateTotal:function(){var e,t=this.getDataset(),n=this.getMeta(),i=0;return $.each(n.data,(function(n,r){e=t.data[r],isNaN(e)||n.hidden||(i+=Math.abs(e))})),i},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?je*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,i,r,o,a,s,l,u=0,c=this.chart;if(!e)for(t=0,n=c.data.datasets.length;t<n;++t)if(c.isDatasetVisible(t)){e=(i=c.getDatasetMeta(t)).data,t!==this.index&&(o=i.controller);break}if(!e)return 0;for(t=0,n=e.length;t<n;++t)r=e[t],o?(o._configure(),a=o._resolveDataElementOptions(r,t)):a=r._options,"inner"!==a.borderAlign&&(s=a.borderWidth,u=(l=a.hoverBorderWidth)>(u=s>u?s:u)?l:u);return u},setHoverStyle:function(e){var t=e._model,n=e._options,i=$.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=De(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=De(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=De(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t},_getRingWeight:function(e){return Math.max(De(this.chart.data.datasets[e].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});F._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),F._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var Be=Pe.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),ze=$.valueOrDefault,He=$.options.resolve,$e=$.canvas._isPointInArea;function We(e,t){var n=e&&e.options.ticks||{},i=n.reverse,r=void 0===n.min?t:0,o=void 0===n.max?t:0;return{start:i?o:r,end:i?r:o}}function qe(e,t,n){var i=n/2,r=We(e,i),o=We(t,i);return{top:o.end,right:r.end,bottom:o.start,left:r.start}}function Ve(e){var t,n,i,r;return $.isObject(e)?(t=e.top,n=e.right,i=e.bottom,r=e.left):t=n=i=r=e,{top:t,right:n,bottom:i,left:r}}F._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Ye=ie.extend({datasetElementType:Se.Line,dataElementType:Se.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroun
2dColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(e){var t,n,i=this,r=i.getMeta(),o=r.dataset,a=r.data||[],s=i.chart.options,l=i._config,u=i._showLine=ze(l.showLine,s.showLines);for(i._xScale=i.getScaleForId(r.xAxisID),i._yScale=i.getScaleForId(r.yAxisID),u&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=i._yScale,o._datasetIndex=i.index,o._children=a,o._model=i._resolveDatasetElementOptions(o),o.pivot()),t=0,n=a.length;t<n;++t)i.updateElement(a[t],t,e);for(u&&0!==o._model.tension&&i.updateBezierControlPoints(),t=0,n=a.length;t<n;++t)a[t].pivot()},updateElement:function(e,t,n){var i,r,o=this,a=o.getMeta(),s=e.custom||{},l=o.getDataset(),u=o.index,c=l.data[t],d=o._xScale,h=o._yScale,f=a.dataset._model,p=o._resolveDataElementOptions(e,t);i=d.getPixelForValue("object"==typeof c?c:NaN,t,u),r=n?h.getBasePixel():o.calculatePointY(c,t,u),e._xScale=d,e._yScale=h,e._options=p,e._datasetIndex=u,e._index=t,e._model={x:i,y:r,skip:s.skip||isNaN(i)||isNaN(r),radius:p.radius,pointStyle:p.pointStyle,rotation:p.rotation,backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,tension:ze(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:p.hitRadius}},_resolveDatasetElementOptions:function(e){var t=this,n=t._config,i=e.custom||{},r=t.chart.options,o=r.elements.line,a=ie.prototype._resolveDatasetElementOptions.apply(t,arguments);return a.spanGaps=ze(n.spanGaps,r.spanGaps),a.tension=ze(n.lineTension,o.tension),a.steppedLine=He([i.steppedLine,n.steppedLine,o.stepped]),a.clip=Ve(ze(n.clip,qe(t._xScale,t._yScale,a.borderWidth))),a},calculatePointY:function(e,t,n){var i,r,o,a,s,l,u,c=this.chart,d=this._yScale,h=0,f=0;if(d.options.stacked){for(s=+d.getRightValue(e),u=(l=c._getSortedVisibleDatasetMetas()).length,i=0;i<u&&(o=l[i]).index!==n;++i)r=c.data.datasets[o.index],"line"===o.type&&o.yAxisID===d.id&&((a=+d.getRightValue(r.data[t]))<0?f+=a||0:h+=a||0);return s<0?d.getPixelForValue(f+s):d.getPixelForValue(h+s)}return d.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,i,r=this.chart,o=this.getMeta(),a=o.dataset._model,s=r.chartArea,l=o.data||[];function u(e,t,n){return Math.max(Math.min(e,n),t)}if(a.spanGaps&&(l=l.filter((function(e){return!e._model.skip}))),"monotone"===a.cubicInterpolationMode)$.splineCurveMonotone(l);else for(e=0,t=l.length;e<t;++e)n=l[e]._model,i=$.splineCurve($.previousItem(l,e)._model,n,$.nextItem(l,e)._model,a.tension),n.controlPointPreviousX=i.previous.x,n.controlPointPreviousY=i.previous.y,n.controlPointNextX=i.next.x,n.controlPointNextY=i.next.y;if(r.options.elements.line.capBezierPoints)for(e=0,t=l.length;e<t;++e)n=l[e]._model,$e(n,s)&&(e>0&&$e(l[e-1]._model,s)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=u(n.controlPointPreviousY,s.top,s.bottom)),e<l.length-1&&$e(l[e+1]._model,s)&&(n.controlPointNextX=u(n.controlPointNextX,s.left,s.right),n.controlPointNextY=u(n.controlPointNextY,s.top,s.bottom)))},draw:function(){var e,t=this.chart,n=this.getMeta(),i=n.data||[],r=t.chartArea,o=t.canvas,a=0,s=i.length;for(this._showLine&&(e=n.dataset._model.clip,$.canvas.clipArea(t.ctx,{left:!1===e.left?0:r.left-e.left,right:!1===e.right?o.width:r.right+e.right,top:!1===e.top?0:r.top-e.top,bottom:!1===e.bottom?o.height:r.bottom+e.bottom}),n.dataset.draw(),$.canvas.unclipArea(t.ctx));a<s;++a)i[a].draw(r)},setHoverStyle:function(e){var t=e._model,n=e._options,i=$.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=ze(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=ze(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=ze(n.hoverBorderWidth,n.borderWidth),t.radius=ze(n.hoverRadius,n.radius)}}),Ue=$.options.resolve;F._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(e){var t,n,i,r=document.createElement("ul"),o=e.data,a=o.datasets,s=o.labels;if(r.setAttribute("class",e.id+"-legend"),a.length)for(t=0,n=a[0].data.length;t<n;++t)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[t],s[t]&&i.appendChild(document.createTextNode(s[t]));return r.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,i){var r=e.getDatasetMeta(0),o=r.controller.getStyle(i);return{text:n,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(t.datasets[0].data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(e,t){var n,i,r,o=t.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;n<i;++n)(r=a.getDatasetMeta(n)).data[o].hidden=!r.data[o].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}});var Ge=ie.extend({dataElementType:Se.Arc,linkScales:$.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroun
2dColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,i,r=this,o=r.getDataset(),a=r.getMeta(),s=r.chart.options.startAngle||0,l=r._starts=[],u=r._angles=[],c=a.data;for(r._updateRadius(),a.count=r.countVisibleElements(),t=0,n=o.data.length;t<n;t++)l[t]=s,i=r._computeAngle(t),u[t]=i,s+=i;for(t=0,n=c.length;t<n;++t)c[t]._options=r._resolveDataElementOptions(c[t],t),r.updateElement(c[t],t,e)},_updateRadius:function(){var e=this,t=e.chart,n=t.chartArea,i=t.options,r=Math.min(n.right-n.left,n.bottom-n.top);t.outerRadius=Math.max(r/2,0),t.innerRadius=Math.max(i.cutoutPercentage?t.outerRadius/100*i.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),e.outerRadius=t.outerRadius-t.radiusLength*e.index,e.innerRadius=e.outerRadius-t.radiusLength},updateElement:function(e,t,n){var i=this,r=i.chart,o=i.getDataset(),a=r.options,s=a.animation,l=r.scale,u=r.data.labels,c=l.xCenter,d=l.yCenter,h=a.startAngle,f=e.hidden?0:l.getDistanceFromCenterForValue(o.data[t]),p=i._starts[t],m=p+(e.hidden?0:i._angles[t]),v=s.animateScale?0:l.getDistanceFromCenterForValue(o.data[t]),g=e._options||{};$.extend(e,{_datasetIndex:i.index,_index:t,_scale:l,_model:{backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,borderAlign:g.borderAlign,x:c,y:d,innerRadius:0,outerRadius:n?v:f,startAngle:n&&s.animateRotate?h:p,endAngle:n&&s.animateRotate?h:m,label:$.valueAtIndexOrDefault(u,t,u[t])}}),e.pivot()},countVisibleElements:function(){var e=this.getDataset(),t=this.getMeta(),n=0;return $.each(t.data,(function(t,i){isNaN(e.data[i])||t.hidden||n++})),n},setHoverStyle:function(e){var t=e._model,n=e._options,i=$.getHoverColor,r=$.valueOrDefault;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=r(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=r(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=r(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(e){var t=this,n=this.getMeta().count,i=t.getDataset(),r=t.getMeta();if(isNaN(i.data[e])||r.data[e].hidden)return 0;var o={chart:t.chart,dataIndex:e,dataset:i,datasetIndex:t.index};return Ue([t.chart.options.elements.arc.angle,2*Math.PI/n],o,e)}});F._set("pie",$.clone(F.doughnut)),F._set("pie",{cutoutPercentage:0});var Xe=Re,Ke=$.valueOrDefault;F._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Ze=ie.extend({datasetElementType:Se.Line,dataElementType:Se.Point,linkScales:$.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroun
2dColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,i=this,r=i.getMeta(),o=r.dataset,a=r.data||[],s=i.chart.scale,l=i._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=s,o._datasetIndex=i.index,o._children=a,o._loop=!0,o._model=i._resolveDatasetElementOptions(o),o.pivot(),t=0,n=a.length;t<n;++t)i.updateElement(a[t],t,e);for(i.updateBezierControlPoints(),t=0,n=a.length;t<n;++t)a[t].pivot()},updateElement:function(e,t,n){var i=this,r=e.custom||{},o=i.getDataset(),a=i.chart.scale,s=a.getPointPositionForValue(t,o.data[t]),l=i._resolveDataElementOptions(e,t),u=i.getMeta().dataset._model,c=n?a.xCenter:s.x,d=n?a.yCenter:s.y;e._scale=a,e._options=l,e._datasetIndex=i.index,e._index=t,e._model={x:c,y:d,skip:r.skip||isNaN(c)||isNaN(d),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:Ke(r.tension,u?u.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var e=this,t=e._config,n=e.chart.options,i=ie.prototype._resolveDatasetElementOptions.apply(e,arguments);return i.spanGaps=Ke(t.spanGaps,n.spanGaps),i.tension=Ke(t.lineTension,n.elements.line.tension),i},updateBezierControlPoints:function(){var e,t,n,i,r=this.getMeta(),o=this.chart.chartArea,a=r.data||[];function s(e,t,n){return Math.max(Math.min(e,n),t)}for(r.dataset._model.spanGaps&&(a=a.filter((function(e){return!e._model.skip}))),e=0,t=a.length;e<t;++e)n=a[e]._model,i=$.splineCurve($.previousItem(a,e,!0)._model,n,$.nextItem(a,e,!0)._model,n.tension),n.controlPointPreviousX=s(i.previous.x,o.left,o.right),n.controlPointPreviousY=s(i.previous.y,o.top,o.bottom),n.controlPointNextX=s(i.next.x,o.left,o.right),n.controlPointNextY=s(i.next.y,o.top,o.bottom)},setHoverStyle:function(e){var t=e._model,n=e._options,i=$.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Ke(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Ke(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Ke(n.hoverBorderWidth,n.borderWidth),t.radius=Ke(n.hoverRadius,n.radius)}});F._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),F._set("global",{datasets:{scatter:{showLine:!1}}});var Je={bar:Pe,bubble:Ie,doughnut:Re,horizontalBar:Be,line:Ye,polarArea:Ge,pie:Xe,radar:Ze,scatter:Ye};function Qe(e,t){return e.native?{x:e.x,y:e.y}:$.getRelativePosition(e,t)}function et(e,t){var n,i,r,o,a,s,l=e._getSortedVisibleDatasetMetas();for(i=0,o=l.length;i<o;++i)for(r=0,a=(n=l[i].data).length;r<a;++r)(s=n[r])._view.skip||t(s)}function tt(e,t){var n=[];return et(e,(function(e){e.inRange(t.x,t.y)&&n.push(e)})),n}function nt(e,t,n,i){var r=Number.POSITIVE_INFINITY,o=[];return et(e,(function(e){if(!n||e.inRange(t.x,t.y)){var a=e.getCenterPoint(),s=i(t,a);s<r?(o=[e],r=s):s===r&&o.push(e)}})),o}function it(e){var t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,i){var r=t?Math.abs(e.x-i.x):0,o=n?Math.abs(e.y-i.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}function rt(e,t,n){var i=Qe(t,e);n.axis=n.axis||"x";var r=it(n.axis),o=n.intersect?tt(e,i):nt(e,i,!1,r),a=[];return o.length?(e._getSortedVisibleDatasetMetas().forEach((function(e){var t=e.data[o[0]._index];t&&!t._view.skip&&a.push(t)})),a):[]}var ot={modes:{single:function(e,t){var n=Qe(t,e),i=[];return et(e,(function(e){if(e.inRange(n.x,n.y))return i.push(e),i})),i.slice(0,1)},label:rt,index:rt,dataset:function(e,t,n){var i=Qe(t,e);n.axis=n.axis||"xy";var r=it(n.axis),o=n.intersect?tt(e,i):nt(e,i,!1,r);return o.length>0&&(o=e.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(e,t){return rt(e,t,{intersect:!1})},point:function(e,t){return tt(e,Qe(t,e))},nearest:function(e,t,n){var i=Qe(t,e);n.axis=n.axis||"xy";var r=it(n.axis);return nt(e,i,n.intersect,r)},x:function(e,t,n){var i=Qe(t,e),r=[],o=!1;return et(e,(function(e){e.inXRange(i.x)&&r.push(e),e.inRange(i.x,i.y)&&(o=!0)})),n.intersect&&!o&&(r=[]),r},y:function(e,t,n){var i=Qe(t,e),r=[],o=!1;return et(e,(function(e){e.inYRange(i.y)&&r.push(e),e.inRange(i.x,i.y)&&(o=!0)})),n.intersect&&!o&&(r=[]),r}}},at=$.extend;function st(e,t){return $.where(e,(function(e){return e.pos===t}))}function lt(e,t){return e.sort((function(e,n){var i=t?n:e,r=t?e:n;
2return i.weight===r.weight?i.index-r.index:i.weight-r.weight}))}function ut(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function ct(e,t,n){var i,r,o=n.box,a=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?o.height:o.width,e[n.pos]+=n.size,o.getPadding){var s=o.getPadding();a.top=Math.max(a.top,s.top),a.left=Math.max(a.left,s.left),a.bottom=Math.max(a.bottom,s.bottom),a.right=Math.max(a.right,s.right)}if(i=t.outerWidth-ut(a,e,"left","right"),r=t.outerHeight-ut(a,e,"top","bottom"),i!==e.w||r!==e.h){e.w=i,e.h=r;var l=n.horizontal?[i,e.w]:[r,e.h];return!(l[0]===l[1]||isNaN(l[0])&&isNaN(l[1]))}}function dt(e,t){var n=t.maxPadding;function i(e){var i={left:0,top:0,right:0,bottom:0};return e.forEach((function(e){i[e]=Math.max(t[e],n[e])})),i}return i(e?["left","right"]:["top","bottom"])}function ht(e,t,n){var i,r,o,a,s,l,u=[];for(i=0,r=e.length;i<r;++i)(a=(o=e[i]).box).update(o.width||t.w,o.height||t.h,dt(o.horizontal,t)),ct(t,n,o)&&(l=!0,u.length&&(s=!0)),a.fullWidth||u.push(o);return s&&ht(u,t,n)||l}function ft(e,t,n){var i,r,o,a,s=n.padding,l=t.x,u=t.y;for(i=0,r=e.length;i<r;++i)a=(o=e[i]).box,o.horizontal?(a.left=a.fullWidth?s.left:t.left,a.right=a.fullWidth?n.outerWidth-s.right:t.left+t.w,a.top=u,a.bottom=u+a.height,a.width=a.right-a.left,u=a.bottom):(a.left=l,a.right=l+a.width,a.top=t.top,a.bottom=t.top+t.h,a.height=a.bottom-a.top,l=a.right);t.x=l,t.y=u}F._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var pt,mt={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw:function(){t.draw.apply(t,arguments)}}]},e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var i,r=["fullWidth","position","weight"],o=r.length,a=0;a<o;++a)i=r[a],n.hasOwnProperty(i)&&(t[i]=n[i])},update:function(e,t,n){if(e){var i=e.options.layout||{},r=$.options.toPadding(i.padding),o=t-r.width,a=n-r.height,s=function(e){var t=function(e){var t,n,i,r=[];for(t=0,n=(e||[]).length;t<n;++t)i=e[t],r.push({index:t,box:i,pos:i.position,horizontal:i.isHorizontal(),weight:i.weight});return r}(e),n=lt(st(t,"left"),!0),i=lt(st(t,"right")),r=lt(st(t,"top"),!0),o=lt(st(t,"bottom"));return{leftAndTop:n.concat(r),rightAndBottom:i.concat(o),chartArea:st(t,"chartArea"),vertical:n.concat(i),horizontal:r.concat(o)}}(e.boxes),l=s.vertical,u=s.horizontal,c=Object.freeze({outerWidth:t,outerHeight:n,padding:r,availableWidth:o,vBoxMaxWidth:o/2/l.length,hBoxMaxHeight:a/2}),d=at({maxPadding:at({},r),w:o,h:a,x:r.left,y:r.top},r);!function(e,t){var n,i,r;for(n=0,i=e.length;n<i;++n)(r=e[n]).width=r.horizontal?r.box.fullWidth&&t.availableWidth:t.vBoxMaxWidth,r.height=r.horizontal&&t.hBoxMaxHeight}(l.concat(u),c),ht(l,d,c),ht(u,d,c)&&ht(l,d,c),function(e){var t=e.maxPadding;function n(n){var i=Math.max(t[n]-e[n],0);return e[n]+=i,i}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}(d),ft(s.leftAndTop,d,c),d.x+=d.w,d.y+=d.h,ft(s.rightAndBottom,d,c),e.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h},$.each(s.chartArea,(function(t){var n=t.box;at(n,e.chartArea),n.update(d.w,d.h)}))}}},vt=(pt=Object.freeze({__proto__:null,default:"/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"}))&&pt.default||pt,gt=["animationstart","webkitAnimationStart"],bt={touchstart:"mousedown",touchmove:"mou
2semove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function yt(e,t){var n=$.getStyle(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var wt=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};function xt(e,t,n){e.addEventListener(t,n,wt)}function St(e,t,n){e.removeEventListener(t,n,wt)}function _t(e,t,n,i,r){return{type:e,chart:t,native:r||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function kt(e){var t=document.createElement("div");return t.className=e||"",t}function Et(e,t,n){var i,r,o,a,s=e.$chartjs||(e.$chartjs={}),l=s.resizer=function(e){var t=kt("chartjs-size-monitor"),n=kt("chartjs-size-monitor-expand"),i=kt("chartjs-size-monitor-shrink");n.appendChild(kt()),i.appendChild(kt()),t.appendChild(n),t.appendChild(i),t._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6};var r=function(){t._reset(),e()};return xt(n,"scroll",r.bind(n,"expand")),xt(i,"scroll",r.bind(i,"shrink")),t}((i=function(){if(s.resizer){var i=n.options.maintainAspectRatio&&e.parentNode,r=i?i.clientWidth:0;t(_t("resize",n)),i&&i.clientWidth<r&&n.canvas&&t(_t("resize",n))}},o=!1,a=[],function(){a=Array.prototype.slice.call(arguments),r=r||this,o||(o=!0,$.requestAnimFrame.call(window,(function(){o=!1,i.apply(r,a)})))}));!function(e,t){var n=e.$chartjs||(e.$chartjs={}),i=n.renderProxy=function(e){"chartjs-render-animation"===e.animationName&&t()};$.each(gt,(function(t){xt(e,t,i)})),n.reflow=!!e.offsetParent,e.classList.add("chartjs-render-monitor")}(e,(function(){if(s.resizer){var t=e.parentNode;t&&t!==l.parentNode&&t.insertBefore(l,t.firstChild),l._reset()}}))}function Ct(e){var t=e.$chartjs||{},n=t.resizer;delete t.resizer,function(e){var t=e.$chartjs||{},n=t.renderProxy;n&&($.each(gt,(function(t){St(e,t,n)})),delete t.renderProxy),e.classList.remove("chartjs-render-monitor")}(e),n&&n.parentNode&&n.parentNode.removeChild(n)}var Tt={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;!function(e,t){var n=e.$chartjs||(e.$chartjs={});if(!n.containsStyles){n.containsStyles=!0,t="/* Chart.js */\n"+t;var i=document.createElement("style");i.setAttribute("type","text/css"),i.appendChild(document.createTextNode(t)),e.appendChild(i)}}(t.host?t:document.head,vt)}},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(this._ensureLoaded(e),function(e,t){var n=e.style,i=e.getAttribute("height"),r=e.getAttribute("width");if(e.$chartjs={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===r||""===r){var o=yt(e,"width");void 0!==o&&(e.width=o)}if(null===i||""===i)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var a=yt(e,"height");void 0!==o&&(e.height=a)}}(e,t),n):null},releaseContext:function(e){var t=e.canvas;if(t.$chartjs){var n=t.$chartjs.initial;["height","width"].forEach((function(e){var i=n[e];$.isNullOrUndef(i)?t.removeAttribute(e):t.setAttribute(e,i)})),$.each(n.style||{},(function(e,n){t.style[n]=e})),t.width=t.width,delete t.$chartjs}},addEventListener:function(e,t,n){var i=e.canvas;if("resize"!==t){var r=n.$chartjs||(n.$chartjs={});xt(i,t,(r.proxies||(r.proxies={}))[e.id+"_"+t]=function(t){n(function(e,t){var n=bt[e.type]||e.type,i=$.getRelativePosition(e,t);return _t(n,t,i.x,i.y,e)}(t,e))})}else Et(i,n,e)},removeEventListener:function(e,t,n){var i=e.canvas;if("resize"!==t){var r=((n.$chartjs||{}).proxies||{})[e.id+"_"+t];r&&St(i,t,r)}else Ct(i)}};$.addEvent=xt,$.removeEvent=St;var Mt=Tt._enabled?Tt:{acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}},At=$.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Mt);F._set("global",{plugins:{}});var Pt={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach((function(e){-1===t.indexOf(e)&&t.push(e)})),this._cacheId++},unregister:function(e){var t=this._plugins;[].concat(e).forEach((function(e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var i,r,o,a,s,l=this.descriptors(e),u=l.length;for(i=0;i<u;++i)if("function"==typeof(s=(o=(r=l[i]).plugin)[t])&&((a=[e].concat(n||[])).push(r.options),!1===s.apply(o,a)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var n=[],i=[],r=e&&e.config||{},o=r.options&&r.options.plugins||{};
vendor: 5,331 bytes, line 2
2return this._plugins.concat(r.plugins||[]).forEach((function(e){if(-1===n.indexOf(e)){var t=e.id,r=o[t];!1!==r&&(!0===r&&(r=$.clone(F.global.plugins[t])),n.push(e),i.push({plugin:e,options:r||{}}))}})),t.descriptors=i,t.id=this._cacheId,i},_invalidate:function(e){delete e.$plugins}},Ot={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=$.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?$.merge(Object.create(null),[F.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=$.extend(this.defaults[e],t))},addScalesToLayout:function(e){$.each(e.scales,(function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,mt.addBox(e,t)}))}},Lt=$.valueOrDefault,It=$.rtl.getRtlAdapter;F._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:$.noop,title:function(e,t){var n="",i=t.labels,r=i?i.length:0;if(e.length>0){var o=e[0];o.label?n=o.label:o.xLabel?n=o.xLabel:r>0&&o.index<r&&(n=i[o.index])}return n},afterTitle:$.noop,beforeBody:$.noop,beforeLabel:$.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),$.isNullOrUndef(e.value)?n+=e.yLabel:n+=e.value,n},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:$.noop,afterBody:$.noop,beforeFooter:$.noop,footer:$.noop,afterFooter:$.noop}}});var Dt={average:function(e){if(!e.length)return!1;var t,n,i=0,r=0,o=0;for(t=0,n=e.length;t<n;++t){var a=e[t];if(a&&a.hasValue()){var s=a.tooltipPosition();i+=s.x,r+=s.y,++o}}return{x:i/o,y:r/o}},nearest:function(e,t){var n,i,r,o=t.x,a=t.y,s=Number.POSITIVE_INFINITY;for(n=0,i=e.length;n<i;++n){var l=e[n];if(l&&l.hasValue()){var u=l.getCenterPoint(),c=$.distanceBetweenPoints(t,u);c<s&&(s=c,r=l)}}if(r){var d=r.tooltipPosition();o=d.x,a=d.y}return{x:o,y:a}}};function Nt(e,t){return t&&($.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function jt(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function Ft(e){var t=F.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:Lt(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:Lt(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:Lt(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:Lt(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:Lt(e.titleFontStyle,t.defaultFontStyle),titleFontSize:Lt(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:Lt(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:Lt(e.footerFontStyle,t.defaultFontStyle),footerFontSize:Lt(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Rt(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Bt(e){return Nt([],jt(e))}var zt=X.extend({initialize:function(){this._model=Ft(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,n=t.callbacks,i=n.beforeTitle.apply(e,arguments),r=n.title.apply(e,arguments),o=n.afterTitle.apply(e,arguments),a=[];return a=Nt(a,jt(i)),a=Nt(a,jt(r)),a=Nt(a,jt(o))},getBeforeBody:function(){return Bt(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,i=n._options.callbacks,r=[];return $.each(e,(function(e){var o={before:[],lines:[],after:[]};Nt(o.before,jt(i.beforeLabel.call(n,e,t))),Nt(o.lines,i.label.call(n,e,t)),Nt(o.after,jt(i.afterLabel.call(n,e,t))),r.push(o)})),r},getAfterBody:function(){return Bt(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,n=t.beforeFooter.apply(e,arguments),i=t.footer.apply(e,arguments),r=t.afterFooter.apply(e,arguments),o=[];return o=Nt(o,jt(n)),o=Nt(o,jt(i)),o=Nt(o,jt(r))},update:function(e){var t,n,i,r,o,a,s,l,u,c,d=this,h=d._options,f=d._model,p=d._model=Ft(h),m=d._active,v=d._data,g={xAlign:f.xAlign,yAlign:f.yAlign},b={x:f.x,y:f.y},y={width:f.width,height:f.height},w={x:f.caretX,y:f.caretY};
2if(m.length){p.opacity=1;var x=[],S=[];w=Dt[h.position].call(d,m,d._eventPosition);var _=[];for(t=0,n=m.length;t<n;++t)_.push((i=m[t],r=void 0,o=void 0,a=void 0,s=void 0,l=void 0,u=void 0,c=void 0,r=i._xScale,o=i._yScale||i._scale,a=i._index,s=i._datasetIndex,l=i._chart.getDatasetMeta(s).controller,u=l._getIndexScale(),c=l._getValueScale(),{xLabel:r?r.getLabelForIndex(a,s):"",yLabel:o?o.getLabelForIndex(a,s):"",label:u?""+u.getLabelForIndex(a,s):"",value:c?""+c.getLabelForIndex(a,s):"",index:a,datasetIndex:s,x:i._model.x,y:i._model.y}));h.filter&&(_=_.filter((function(e){return h.filter(e,v)}))),h.itemSort&&(_=_.sort((function(e,t){return h.itemSort(e,t,v)}))),$.each(_,(function(e){x.push(h.callbacks.labelColor.call(d,e,d._chart)),S.push(h.callbacks.labelTextColor.call(d,e,d._chart))})),p.title=d.getTitle(_,v),p.beforeBody=d.getBeforeBody(_,v),p.body=d.getBody(_,v),p.afterBody=d.getAfterBody(_,v),p.footer=d.getFooter(_,v),p.x=w.x,p.y=w.y,p.caretPadding=h.caretPadding,p.labelColors=x,p.labelTextColors=S,p.dataPoints=_,y=function(e,t){var n=e._chart.ctx,i=2*t.yPadding,r=0,o=t.body,a=o.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0);a+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,l=t.footer.length,u=t.titleFontSize,c=t.bodyFontSize,d=t.footerFontSize;i+=s*u,i+=s?(s-1)*t.titleSpacing:0,i+=s?t.titleMarginBottom:0,i+=a*c,i+=a?(a-1)*t.bodySpacing:0,i+=l?t.footerMarginTop:0,i+=l*d,i+=l?(l-1)*t.footerSpacing:0;var h=0,f=function(e){r=Math.max(r,n.measureText(e).width+h)};return n.font=$.fontString(u,t._titleFontStyle,t._titleFontFamily),$.each(t.title,f),n.font=$.fontString(c,t._bodyFontStyle,t._bodyFontFamily),$.each(t.beforeBody.concat(t.afterBody),f),h=t.displayColors?c+2:0,$.each(o,(function(e){$.each(e.before,f),$.each(e.lines,f),$.each(e.after,f)})),h=0,n.font=$.fontString(d,t._footerFontStyle,t._footerFontFamily),$.each(t.footer,f),{width:r+=2*t.xPadding,height:i}}(this,p),b=function(e,t,n,i){var r=e.x,o=e.y,a=e.caretSize,s=e.caretPadding,l=e.cornerRadius,u=n.xAlign,c=n.yAlign,d=a+s,h=l+s;return"right"===u?r-=t.width:"center"===u&&((r-=t.width/2)+t.width>i.width&&(r=i.width-t.width),r<0&&(r=0)),"top"===c?o+=d:o-="bottom"===c?t.height+d:t.height/2,"center"===c?"left"===u?r+=d:"right"===u&&(r-=d):"left"===u?r-=h:"right"===u&&(r+=h),{x:r,y:o}}(p,y,g=function(e,t){var n,i,r,o,a,s=e._model,l=e._chart,u=e._chart.chartArea,c="center",d="center";s.y<t.height?d="top":s.y>l.height-t.height&&(d="bottom");var h=(u.left+u.right)/2,f=(u.top+u.bottom)/2;"center"===d?(n=function(e){return e<=h},i=function(e){return e>h}):(n=function(e){return e<=t.width/2},i=function(e){return e>=l.width-t.width/2}),r=function(e){return e+t.width+s.caretSize+s.caretPadding>l.width},o=function(e){return e-t.width-s.caretSize-s.caretPadding<0},a=function(e){return e<=f?"top":"bottom"},n(s.x)?(c="left",r(s.x)&&(c="center",d=a(s.y))):i(s.x)&&(c="right",o(s.x)&&(c="center",d=a(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:c,yAlign:p.yAlign?p.yAlign:d}}(this,y),d._chart)}else p.opacity=0;return p.xAlign=g.xAlign,p.yAlign=g.yAlign,p.x=b.x,p.y=b.y,p.width=y.width,p.height=y.height,p.caretX=w.x,p.caretY=w.y,d._model=p,e&&h.custom&&h.custom.call(d,p),d},drawCaret:function(e,t){var n=this._chart.ctx,i=this._view,r=this.getCaretPosition(e,t,i);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)},getCaretPosition:function(e,t,n){var i,r,o,a,s,l,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=e.x,p=e.y,m=t.width,v=t.height;if("center"===h)s=p+v/2,"left"===d?(r=(i=f)-u,o=i,a=s+u,l=s-u):(r=(i=f+m)+u,o=i,a=s-u,l=s+u);else if("left"===d?(i=(r=f+c+u)-u,o=r+u):"right"===d?(i=(r=f+m-c-u)-u,o=r+u):(i=(r=n.caretX)-u,o=r+u),"top"===h)s=(a=p)-u,l=a;else{s=(a=p+v)+u,l=a;var g=o;o=i,i=g}return{x1:i,x2:r,x3:o,y1:a,y2:s,y3:l}},drawTitle:function(e,t,n){var i,r,o,a=t.title,s=a.length;if(s){var l=It(t.rtl,t.x,t.width);for(e.x=Rt(t,t._titleAlign),n.textAlign=l.textAlign(t._titleAlign),n.textBaseline="middle",i=t.titleFontSize,r=t.titleSpacing,n.fillStyle=t.titleFontColor,n.font=$.fontString(i,t._titleFontStyle,t._titleFontFamily),o=0;o<s;++o)n.fillText(a[o],l.x(e.x),e.y+i/2),e.y+=i+r,o+1===s&&(e.y+=t.titleMarginBottom-r)}},drawBody:function(e,t,n){var i,r,o,a,s,l,u,c,d=t.bodyFontSize,h=t.bodySpacing,f=t._bodyAlign,p=t.body,m=t.displayColors,v=0,g=m?Rt(t,"left"):0,b=It(t.rtl,t.x,t.width),y=function(t){n.fillText(t,b.x(e.x+v),e.y+d/2),e.y+=d+h},w=b.textAlign(f);
vendor: 4,972 bytes, line 2
2for(n.textAlign=f,n.textBaseline="middle",n.font=$.fontString(d,t._bodyFontStyle,t._bodyFontFamily),e.x=Rt(t,w),n.fillStyle=t.bodyFontColor,$.each(t.beforeBody,y),v=m&&"right"!==w?"center"===f?d/2+1:d+2:0,s=0,u=p.length;s<u;++s){for(i=p[s],r=t.labelTextColors[s],o=t.labelColors[s],n.fillStyle=r,$.each(i.before,y),l=0,c=(a=i.lines).length;l<c;++l){if(m){var x=b.x(g);n.fillStyle=t.legendColorBackground,n.fillRect(b.leftForLtr(x,d),e.y,d,d),n.lineWidth=1,n.strokeStyle=o.borderColor,n.strokeRect(b.leftForLtr(x,d),e.y,d,d),n.fillStyle=o.backgroundColor,n.fillRect(b.leftForLtr(b.xPlus(x,1),d-2),e.y+1,d-2,d-2),n.fillStyle=r}y(a[l])}$.each(i.after,y)}v=0,$.each(t.afterBody,y),e.y-=h},drawFooter:function(e,t,n){var i,r,o=t.footer,a=o.length;if(a){var s=It(t.rtl,t.x,t.width);for(e.x=Rt(t,t._footerAlign),e.y+=t.footerMarginTop,n.textAlign=s.textAlign(t._footerAlign),n.textBaseline="middle",i=t.footerFontSize,n.fillStyle=t.footerFontColor,n.font=$.fontString(i,t._footerFontStyle,t._footerFontFamily),r=0;r<a;++r)n.fillText(o[r],s.x(e.x),e.y+i/2),e.y+=i+t.footerSpacing}},drawBackground:function(e,t,n,i){n.fillStyle=t.backgroundColor,n.strokeStyle=t.borderColor,n.lineWidth=t.borderWidth;var r=t.xAlign,o=t.yAlign,a=e.x,s=e.y,l=i.width,u=i.height,c=t.cornerRadius;n.beginPath(),n.moveTo(a+c,s),"top"===o&&this.drawCaret(e,i),n.lineTo(a+l-c,s),n.quadraticCurveTo(a+l,s,a+l,s+c),"center"===o&&"right"===r&&this.drawCaret(e,i),n.lineTo(a+l,s+u-c),n.quadraticCurveTo(a+l,s+u,a+l-c,s+u),"bottom"===o&&this.drawCaret(e,i),n.lineTo(a+c,s+u),n.quadraticCurveTo(a,s+u,a,s+u-c),"center"===o&&"left"===r&&this.drawCaret(e,i),n.lineTo(a,s+c),n.quadraticCurveTo(a,s,a+c,s),n.closePath(),n.fill(),t.borderWidth>0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},i={x:t.x,y:t.y},r=Math.abs(t.opacity<.001)?0:t.opacity,o=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&o&&(e.save(),e.globalAlpha=r,this.drawBackground(i,t,e,n),i.y+=t.yPadding,$.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(i,t,e),this.drawBody(i,t,e),this.drawFooter(i,t,e),$.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(e,i.mode,i),i.reverse&&n._active.reverse()),(t=!$.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}}),Ht=Dt,$t=zt;$t.positioners=Ht;var Wt=$.valueOrDefault;function qt(){return $.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,i){if("xAxes"===e||"yAxes"===e){var r,o,a,s=n[e].length;for(t[e]||(t[e]=[]),r=0;r<s;++r)a=n[e][r],o=Wt(a.type,"xAxes"===e?"category":"linear"),r>=t[e].length&&t[e].push({}),!t[e][r].type||a.type&&a.type!==t[e][r].type?$.merge(t[e][r],[Ot.getScaleDefaults(o),a]):$.merge(t[e][r],a)}else $._merger(e,t,n,i)}})}function Vt(){return $.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,i){var r=t[e]||Object.create(null),o=n[e];"scales"===e?t[e]=qt(r,o):"scale"===e?t[e]=$.merge(r,[Ot.getScaleDefaults(o.type),o]):$._merger(e,t,n,i)}})}function Yt(e){var t=e.options;$.each(e.scales,(function(t){mt.removeBox(e,t)})),t=Vt(F.global,F[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function Ut(e,t,n){var i,r=function(e){return e.id===i};do{i=t+n++}while($.findIndex(e,r)>=0);return i}function Gt(e){return"top"===e||"bottom"===e}function Xt(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}F._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Kt=function(e,t){return this.construct(e,t),this};$.extend(Kt.prototype,{construct:function(e,t){var n=this;t=function(e){var t=(e=e||Object.create(null)).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Vt(F.global,F[e.type],e.options||{}),e}(t);var i=At.acquireContext(e,t),r=i&&i.canvas,o=r&&r.height,a=r&&r.width;n.id=$.uid(),n.ctx=i,n.canvas=r,n.config=t,n.width=a,n.height=o,n.aspectRatio=o?a/o:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Kt.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),i&&r?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return Pt.notify(e,"beforeInit"),$.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),Pt.n
2otify(e,"afterInit"),e},clear:function(){return $.canvas.clear(this),this},stop:function(){return J.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,i=t.canvas,r=n.maintainAspectRatio&&t.aspectRatio||null,o=Math.max(0,Math.floor($.getMaximumWidth(i))),a=Math.max(0,Math.floor(r?o/r:$.getMaximumHeight(i)));if((t.width!==o||t.height!==a)&&(i.width=t.width=o,i.height=t.height=a,i.style.width=o+"px",i.style.height=a+"px",$.retinaScale(t,n.devicePixelRatio),!e)){var s={width:o,height:a};Pt.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;$.each(t.xAxes,(function(e,n){e.id||(e.id=Ut(t.xAxes,"x-axis-",n))})),$.each(t.yAxes,(function(e,n){e.id||(e.id=Ut(t.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,n=e.scales||{},i=[],r=Object.keys(n).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(i=i.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&i.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),$.each(i,(function(t){var i=t.options,o=i.id,a=Wt(i.type,t.dtype);Gt(i.position)!==Gt(t.dposition)&&(i.position=t.dposition),r[o]=!0;var s=null;if(o in n&&n[o].type===a)(s=n[o]).options=i,s.ctx=e.ctx,s.chart=e;else{var l=Ot.getScaleConstructor(a);if(!l)return;s=new l({id:o,type:a,options:i,ctx:e.ctx,chart:e}),n[s.id]=s}s.mergeTicksOptions(),t.isDefault&&(e.scale=s)})),$.each(r,(function(e,t){e||delete n[t]})),e.scales=n,Ot.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=this,i=[],r=n.data.datasets;for(e=0,t=r.length;e<t;e++){var o=r[e],a=n.getDatasetMeta(e),s=o.type||n.config.type;if(a.type&&a.type!==s&&(n.destroyDatasetMeta(e),a=n.getDatasetMeta(e)),a.type=s,a.order=o.order||0,a.index=e,a.controller)a.controller.updateIndex(e),a.controller.linkScales();else{var l=Je[a.type];if(void 0===l)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new l(n,e),i.push(a.controller)}}return i},resetElements:function(){var e=this;$.each(e.data.datasets,(function(t,n){e.getDatasetMeta(n).controller.reset()}),e)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var t,n,i=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),Yt(i),Pt._invalidate(i),!1!==Pt.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var r=i.buildOrUpdateControllers();for(t=0,n=i.data.datasets.length;t<n;t++)i.getDatasetMeta(t).controller.buildOrUpdateElements();i.updateLayout(),i.options.animation&&i.options.animation.duration&&$.each(r,(function(e){e.reset()})),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],Pt.notify(i,"afterUpdate"),i._layers.sort(Xt("z","_idx")),i._bufferedRender?i._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:i.render(e)}},updateLayout:function(){var e=this;!1!==Pt.notify(e,"beforeLayout")&&(mt.update(this,this.width,this.height),e._layers=[],$.each(e.boxes,(function(t){t._configure&&t._configure(),e._layers.push.apply(e._layers,t._layers())}),e),e._layers.forEach((function(e,t){e._idx=t})),Pt.notify(e,"afterScaleUpdate"),Pt.notify(e,"afterLayout"))},updateDatasets:function(){if(!1!==Pt.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);Pt.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),n={meta:t,index:e};!1!==Pt.notify(this,"beforeDatasetUpdate",[n])&&(t.controller._update(),Pt.notify(this,"afterDatasetUpdate",[n]))},render:function(e){var t=this;e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]});var n=t.options.animation,i=Wt(e.duration,n&&n.duration),r=e.lazy;if(!1!==Pt.notify(t,"beforeRender")){var o=function(e){Pt.notify(t,"afterRender"),$.callback(n&&n.onComplete,[e],t)};if(n&&i){var a=new Z({numSteps:i/16.66,easing:e.easing||n.easing,render:function(e,t){var n=$.easing.effects[t.easing],i=t.currentStep,r=i/t.numSteps;e.draw(n(r),r,i)},onAnimationProgress:n.onProgress,onAnimationComplete:o});J.addAnimation(t,a,i,r)}else t.draw(),o(new Z({numSteps:0,chart:t}));return t}},draw:function(e){var t,n,i=this;if(i.clear(),$.isNullOrUndef(e)&&(e=1),i.transition(e),!(i.width<=0||i.height<=0)&&!1!==Pt.notify(i,"beforeDraw",[e])){for(n=i._layers,t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(i.chartArea);for(i.drawDatasets(e);t<n.length;++t)n[t].draw(i.chartArea);i._drawTooltip(e),Pt.notify(i,"afterDraw",[e])}},transition:function(e){for(var t=0,n=(this.data.datasets||[]).length;t<n;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(e);this.tooltip.transition(e)},_getSortedDatasetMetas:function(e){var t,n,i=[];for(t=0,n=(this.data.datasets||[]).length;t<n;++t)e&&!this.isDatasetVisible(t)||i.push(this.getDatasetMeta(t));return i.sort(Xt("order","index")),i},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(e){var t,n;if(!1!==Pt.notify(this,"beforeDatasetsDraw",[e])){for(n=(t=this._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)this.drawDataset(t[n],e);Pt.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n={meta:e,index:e.index,easingValue:t};!1!==Pt.notify(this,"beforeDatasetDraw",[n])&&(e.controller.draw(t),Pt.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==Pt.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),Pt.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return ot.modes.single(this,e)},getElementsAtEvent:function(e){return ot.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return ot.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var i=ot.modes[t];return"function"==typeof i?i(this,e,n):[]},getDatasetAtEvent:function(e){return ot.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n||(n=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e}),n},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,n=this.data.datasets[e],i=n._meta&&n._meta[t];i&&(i.controller.destroy(),delete n._meta[t])},destroy:function(){var e,t,n=this,i=n.canvas;for(n.stop(),e=0,t=n.data.datasets.length;e<t;++e)n.destroyDatasetMeta(e);i&&(n.unbindEvents(),$.canvas.clear(n),At.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Pt.notify(n,"destroy"),delete Kt.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new $t({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var e=this,t=e._listeners={},n=function(){e.eventHandler.apply(e,arguments)};$.each(e.options.events,(function(i){At.addEventListener(e,i,n),t[i]=n})),e.options.responsive&&(n=function(){e.resize()},At.addEventListener(e,"resize",n),t.resize=n)},unbindEvents:function(){var e=this,t=e._listeners;t&&(delete e._listeners,$.each(t,(function(t,n){At.removeEventListener(e,n,t)})))},updateHoverStyle:function(e,t,n){var i,r,o,a=n?"set":"remove";for(r=0,o=e.length;r<o;++r)(i=e[r])&&this.getDatasetMeta(i._datasetIndex).controller[a+"HoverStyle"](i);"dataset"===t&&this.getDatasetMeta(e[0]._datasetIndex).controller["_"+a+"DatasetHoverStyle"]()},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==Pt.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var i=t.handleEvent(e);
vendor: 8,560 bytes, line 2
2n&&(i=n._start?n.handleEvent(e):i|n.handleEvent(e)),Pt.notify(t,"afterEvent",[e]);var r=t._bufferedRequest;return r?t.render(r):i&&!t.animating&&(t.stop(),t.render({duration:t.options.hover.animationDuration,lazy:!0})),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t,n=this,i=n.options||{},r=i.hover;return n.lastActive=n.lastActive||[],"mouseout"===e.type?n.active=[]:n.active=n.getElementsAtEventForMode(e,r.mode,r),$.callback(i.onHover||i.hover.onHover,[e.native,n.active],n),"mouseup"!==e.type&&"click"!==e.type||i.onClick&&i.onClick.call(n,e.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,r.mode,!1),n.active.length&&r.mode&&n.updateHoverStyle(n.active,r.mode,!0),t=!$.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,t}}),Kt.instances={};var Zt=Kt;function Jt(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Qt(e){this.options=e||{}}Kt.Controller=Kt,Kt.types={},$.configMerge=Vt,$.scaleMerge=qt,$.extend(Qt.prototype,{formats:Jt,parse:Jt,format:Jt,add:Jt,diff:Jt,startOf:Jt,endOf:Jt,_create:function(e){return e}}),Qt.override=function(e){$.extend(Qt.prototype,e)};var en={_date:Qt},tn={formatters:{values:function(e){return $.isArray(e)?e:""+e},linear:function(e,t,n){var i=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&e!==Math.floor(e)&&(i=e-Math.floor(e));var r=$.log10(Math.abs(i)),o="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var a=$.log10(Math.abs(e)),s=Math.floor(a)-Math.floor(r);s=Math.max(Math.min(s,20),0),o=e.toExponential(s)}else{var l=-1*Math.floor(r);l=Math.max(Math.min(l,20),0),o=e.toFixed(l)}else o="0";return o},logarithmic:function(e,t,n){var i=e/Math.pow(10,Math.floor($.log10(e)));return 0===e?"0":1===i||2===i||5===i||0===t||t===n.length-1?e.toExponential():""}}},nn=$.isArray,rn=$.isNullOrUndef,on=$.valueOrDefault,an=$.valueAtIndexOrDefault;function sn(e,t,n){var i,r=e.getTicks().length,o=Math.min(t,r-1),a=e.getPixelForTick(o),s=e._startPixel,l=e._endPixel;if(!(n&&(i=1===r?Math.max(a-s,l-a):0===t?(e.getPixelForTick(1)-a)/2:(a-e.getPixelForTick(o-1))/2,(a+=o<t?i:-i)<s-1e-6||a>l+1e-6)))return a}function ln(e,t,n,i){var r,o,a,s,l,u,c,d,h,f,p,m,v,g=n.length,b=[],y=[],w=[],x=0,S=0;for(r=0;r<g;++r){if(s=n[r].label,l=n[r].major?t.major:t.minor,e.font=u=l.string,c=i[u]=i[u]||{data:{},gc:[]},d=l.lineHeight,h=f=0,rn(s)||nn(s)){if(nn(s))for(o=0,a=s.length;o<a;++o)p=s[o],rn(p)||nn(p)||(h=$.measureText(e,c.data,c.gc,h,p),f+=d)}else h=$.measureText(e,c.data,c.gc,h,s),f=d;b.push(h),y.push(f),w.push(d/2),x=Math.max(h,x),S=Math.max(f,S)}function _(e){return{width:b[e]||0,height:y[e]||0,offset:w[e]||0}}return function(e,t){$.each(e,(function(e){var n,i=e.gc,r=i.length/2;if(r>t){for(n=0;n<r;++n)delete e.data[i[n]];i.splice(0,r)}}))}(i,g),m=b.indexOf(x),v=y.indexOf(S),{first:_(0),last:_(g-1),widest:_(m),highest:_(v)}}function un(e){return e.drawTicks?e.tickMarkLength:0}function cn(e){var t,n;return e.display?(t=$.options._parseFont(e),n=$.options.toPadding(e.padding),t.lineHeight+n.height):0}function dn(e,t){return $.extend($.options._parseFont({fontFamily:on(t.fontFamily,e.fontFamily),fontSize:on(t.fontSize,e.fontSize),fontStyle:on(t.fontStyle,e.fontStyle),lineHeight:on(t.lineHeight,e.lineHeight)}),{color:$.options.resolve([t.fontColor,e.fontColor,F.global.defaultFontColor])})}function hn(e){var t=dn(e,e.minor);return{minor:t,major:e.major.enabled?dn(e,e.major):t}}function fn(e){var t,n,i,r=[];for(n=0,i=e.length;n<i;++n)void 0!==(t=e[n])._index&&r.push(t);return r}function pn(e,t,n,i){var r,o,a,s,l=on(n,0),u=Math.min(on(i,e.length),e.length),c=0;for(t=Math.ceil(t),i&&(t=(r=i-n)/Math.floor(r/t)),s=l;s<0;)c++,s=Math.round(l+c*t);for(o=Math.max(l,0);o<u;o++)a=e[o],o===s?(a._index=o,c++,s=Math.round(l+c*t)):delete a.label}F._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:tn.formatters.values,minor:{},major:{}}});var mn=X.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){$.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var i,r,o,a,s,l=this,u=l.options.ticks,c=u.sampleSize;if(l.beforeUpdate(),l.maxWidth=e,l.maxHeight=t,l.margins=$.extend({left:0,right:0,top:0,bottom:0},n),l._ticks=null,l.ticks=null,l._labelSizes=null,l._maxLabelLines=0,l.longestLabelWidth=0,l.longestTextCache=l.longestTextCache||{},l._gridLineItems=null,l._labelItems=null,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),a=l.buildTicks()||[],(!(a=l.afterBuildTicks(a)||a)||!a.length)&&l.ticks)for(a=[],i=0,r=l.ticks.length;i<r;++i)a.push({value:l.ticks[i],major:!1});return l._ticks=a,s=c<a.length,o=l._convertTicksToLabels(s?function(e,t){for(var n=[],i=e.length/t,r=0,o=e.length;r<o;r+=i)n.push(e[Math.floor(r)]);return n}(a,c):a),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDraw=u.display&&(u.autoSkip||"auto"===u.source)?l._autoSkip(a):a,s&&(o=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=o,l.afterUpdate(),l.minSize},_configure:function(){var e,t,n=this,i=n.options.ticks.reverse;n.isHorizontal()?(e=n.left,t=n.right):(e=n.top,t=n.bottom,i=!i),n._startPixel=e,n._endPixel=t,n._reversePixels=i,n._length=t-e},afterUpdate:function(){$.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){$.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){$.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){$.callback(this.options.beforeDataLimits,[this])},determineDataLimits:$.noop,afterDataLimits:function(){$.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){$.callback(this.options.beforeBuildTicks,[this])},buildTicks:$.noop,afterBuildTicks:function(e){var t=this;return nn(e)&&e.length?$.callback(t.options.afterBuildTicks,[t,e]):(t.ticks=$.callback(t.options.afterBuildTicks,[t,t.ticks])||t.ticks,e)},beforeTickToLabelConversion:function(){$.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){$.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){$.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e,t,n,i,r,o,a,s=this,l=s.options,u=l.ticks,c=s.getTicks().length,d=u.minRotation||0,h=u.maxRotation,f=d;!s._isVisible()||!u.display||d>=h||c<=1||!s.isHorizontal()?s.labelRotation=d:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,i=Math.min(s.maxWidth,s.chart.width-t),t+6>(r=l.offset?s.maxWidth/c:i/(c-1))&&(r=i/(c-(l.offset?.5:1)),o=s.maxHeight-un(l.gridLines)-u.padding-cn(l.scaleLabel),a=Math.sqrt(t*t+n*n),f=$.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/r,1)),Math.asin(Math.min(o/a,1))-Math.asin(n/a))),f=Math.max(d,Math.min(h,f))),s.labelRotation=f)},afterCalculateTickRotation:function(){$.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){$.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,i=e.options,r=i.ticks,o=i.scaleLabel,a=i.gridLines,s=e._isVisible(),l="bottom"===i.position,u=e.isHorizontal();if(u?t.width=e.maxWidth:s&&(t.width=un(a)+cn(o)),u?s&&(t.height=un(a)+cn(o)):t.height=e.maxHeight,r.dis
2play&&s){var c=hn(r),d=e._getLabelSizes(),h=d.first,f=d.last,p=d.widest,m=d.highest,v=.4*c.minor.lineHeight,g=r.padding;if(u){var b=0!==e.labelRotation,y=$.toRadians(e.labelRotation),w=Math.cos(y),x=Math.sin(y),S=x*p.width+w*(m.height-(b?m.offset:0))+(b?0:v);t.height=Math.min(e.maxHeight,t.height+S+g);var _,k,E=e.getPixelForTick(0)-e.left,C=e.right-e.getPixelForTick(e.getTicks().length-1);b?(_=l?w*h.width+x*h.offset:x*(h.height-h.offset),k=l?x*(f.height-f.offset):w*f.width+x*f.offset):(_=h.width/2,k=f.width/2),e.paddingLeft=Math.max((_-E)*e.width/(e.width-E),0)+3,e.paddingRight=Math.max((k-C)*e.width/(e.width-C),0)+3}else{var T=r.mirror?0:p.width+g+v;t.width=Math.min(e.maxWidth,t.width+T),e.paddingTop=h.height/2,e.paddingBottom=f.height/2}}e.handleMargins(),u?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){$.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(rn(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,i,r=this;for(r.ticks=e.map((function(e){return e.value})),r.beforeTickToLabelConversion(),t=r.convertTicksToLabels(e)||r.ticks,r.afterTickToLabelConversion(),n=0,i=e.length;n<i;++n)e[n].label=t[n];return t},_getLabelSizes:function(){var e=this,t=e._labelSizes;return t||(e._labelSizes=t=ln(e.ctx,hn(e.options.ticks),e.getTicks(),e.longestTextCache),e.longestLabelWidth=t.widest.width),t},_parseValue:function(e){var t,n,i,r;return nn(e)?(t=+this.getRightValue(e[0]),n=+this.getRightValue(e[1]),i=Math.min(t,n),r=Math.max(t,n)):(t=void 0,n=e=+this.getRightValue(e),i=e,r=e),{min:i,max:r,start:t,end:n}},_getScaleLabel:function(e){var t=this._parseValue(e);return void 0!==t.start?"["+t.start+", "+t.end+"]":+this.getRightValue(e)},getLabelForIndex:$.noop,getPixelForValue:$.noop,getValueForPixel:$.noop,getPixelForTick:function(e){var t=this.options.offset,n=this._ticks.length,i=1/Math.max(n-(t?0:1),1);return e<0||e>n-1?null:this.getPixelForDecimal(e*i+(t?i/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0},_autoSkip:function(e){var t,n,i,r,o=this.options.ticks,a=this._length,s=o.maxTicksLimit||a/this._tickSize()+1,l=o.major.enabled?function(e){var t,n,i=[];for(t=0,n=e.length;t<n;t++)e[t].major&&i.push(t);return i}(e):[],u=l.length,c=l[0],d=l[u-1];if(u>s)return function(e,t,n){var i,r,o=0,a=t[0];for(n=Math.ceil(n),i=0;i<e.length;i++)r=e[i],i===a?(r._index=i,a=t[++o*n]):delete r.label}(e,l,u/s),fn(e);if(i=function(e,t,n,i){var r,o,a,s,l=function(e){var t,n,i=e.length;if(i<2)return!1;for(n=e[0],t=1;t<i;++t)if(e[t]-e[t-1]!==n)return!1;return n}(e),u=(t.length-1)/i;if(!l)return Math.max(u,1);for(a=0,s=(r=$.math._factorize(l)).length-1;a<s;a++)if((o=r[a])>u)return o;return Math.max(u,1)}(l,e,0,s),u>0){for(t=0,n=u-1;t<n;t++)pn(e,i,l[t],l[t+1]);return r=u>1?(d-c)/(u-1):null,pn(e,i,$.isNullOrUndef(r)?0:c-r,c),pn(e,i,d,$.isNullOrUndef(r)?e.length:d+r),fn(e)}return pn(e,i),fn(e)},_tickSize:function(){var e=this.options.ticks,t=$.toRadians(this.labelRotation),n=Math.abs(Math.cos(t)),i=Math.abs(Math.sin(t)),r=this._getLabelSizes(),o=e.autoSkipPadding||0,a=r?r.widest.width+o:0,s=r?r.highest.height+o:0;return this.isHorizontal()?s*n>
vendor: 4,203 bytes, line 2
2a*i?a/n:s/i:s*i<a*n?s/n:a/i},_isVisible:function(){var e,t,n,i=this.chart,r=this.options.display;if("auto"!==r)return!!r;for(e=0,t=i.data.datasets.length;e<t;++e)if(i.isDatasetVisible(e)&&((n=i.getDatasetMeta(e)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(e){var t,n,i,r,o,a,s,l,u,c,d,h,f,p,m,v,g,b=this,y=b.chart,w=b.options,x=w.gridLines,S=w.position,_=x.offsetGridLines,k=b.isHorizontal(),E=b._ticksToDraw,C=E.length+(_?1:0),T=un(x),M=[],A=x.drawBorder?an(x.lineWidth,0,0):0,P=A/2,O=$._alignPixel,L=function(e){return O(y,e,A)};for("top"===S?(t=L(b.bottom),s=b.bottom-T,u=t-P,d=L(e.top)+P,f=e.bottom):"bottom"===S?(t=L(b.top),d=e.top,f=L(e.bottom)-P,s=t+P,u=b.top+T):"left"===S?(t=L(b.right),a=b.right-T,l=t-P,c=L(e.left)+P,h=e.right):(t=L(b.left),c=e.left,h=L(e.right)-P,a=t+P,l=b.left+T),n=0;n<C;++n)i=E[n]||{},rn(i.label)&&n<E.length||(n===b.zeroLineIndex&&w.offset===_?(p=x.zeroLineWidth,m=x.zeroLineColor,v=x.zeroLineBorderDash||[],g=x.zeroLineBorderDashOffset||0):(p=an(x.lineWidth,n,1),m=an(x.color,n,"rgba(0,0,0,0.1)"),v=x.borderDash||[],g=x.borderDashOffset||0),void 0!==(r=sn(b,i._index||n,_))&&(o=O(y,r,p),k?a=l=c=h=o:s=u=d=f=o,M.push({tx1:a,ty1:s,tx2:l,ty2:u,x1:c,y1:d,x2:h,y2:f,width:p,color:m,borderDash:v,borderDashOffset:g})));return M.ticksLength=C,M.borderValue=t,M},_computeLabelItems:function(){var e,t,n,i,r,o,a,s,l,u,c,d,h=this,f=h.options,p=f.ticks,m=f.position,v=p.mirror,g=h.isHorizontal(),b=h._ticksToDraw,y=hn(p),w=p.padding,x=un(f.gridLines),S=-$.toRadians(h.labelRotation),_=[];for("top"===m?(o=h.bottom-x-w,a=S?"left":"center"):"bottom"===m?(o=h.top+x+w,a=S?"right":"center"):"left"===m?(r=h.right-(v?0:x)-w,a=v?"left":"right"):(r=h.left+(v?0:x)+w,a=v?"right":"left"),e=0,t=b.length;e<t;++e)i=(n=b[e]).label,rn(i)||(s=h.getPixelForTick(n._index||e)+p.labelOffset,u=(l=n.major?y.major:y.minor).lineHeight,c=nn(i)?i.length:1,g?(r=s,d="top"===m?((S?1:.5)-c)*u:(S?0:.5)*u):(o=s,d=(1-c)*u/2),_.push({x:r,y:o,rotation:S,label:i,font:l,textOffset:d,textAlign:a}));return _},_drawGrid:function(e){var t=this,n=t.options.gridLines;if(n.display){var i,r,o,a,s,l=t.ctx,u=t.chart,c=$._alignPixel,d=n.drawBorder?an(n.lineWidth,0,0):0,h=t._gridLineItems||(t._gridLineItems=t._computeGridLineItems(e));for(o=0,a=h.length;o<a;++o)i=(s=h[o]).width,r=s.color,i&&r&&(l.save(),l.lineWidth=i,l.strokeStyle=r,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),n.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(d){var f,p,m,v,g=d,b=an(n.lineWidth,h.ticksLength-1,1),y=h.borderValue;t.isHorizontal()?(f=c(u,t.left,g)-g/2,p=c(u,t.right,b)+b/2,m=v=y):(m=c(u,t.top,g)-g/2,v=c(u,t.bottom,b)+b/2,f=p=y),l.lineWidth=d,l.strokeStyle=an(n.color,0),l.beginPath(),l.moveTo(f,m),l.lineTo(p,v),l.stroke()}}},_drawLabels:function(){var e=this;if(e.options.ticks.display){var t,n,i,r,o,a,s,l,u=e.ctx,c=e._labelItems||(e._labelItems=e._computeLabelItems());for(t=0,i=c.length;t<i;++t){if(a=(o=c[t]).font,u.save(),u.translate(o.x,o.y),u.rotate(o.rotation),u.font=a.string,u.fillStyle=a.color,u.textBaseline="middle",u.textAlign=o.textAlign,s=o.label,l=o.textOffset,nn(s))for(n=0,r=s.length;n<r;++n)u.fillText(""+s[n],0,l),l+=a.lineHeight;else u.fillText(s,0,l);u.restore()}}},_drawTitle:function(){var e=this,t=e.ctx,n=e.options,i=n.scaleLabel;if(i.display){var r,o,a=on(i.fontColor,F.global.defaultFontColor),s=$.options._parseFont(i),l=$.options.toPadding(i.padding),u=s.lineHeight/2,c=n.position,d=0;if(e.isHorizontal())r=e.left+e.width/2,o="bottom"===c?e.bottom-u-l.bottom:e.top+u+l.top;else{var h="left"===c;r=h?e.left+u+l.top:e.right-u-l.top,o=e.top+e.height/2,d=h?-.5*Math.PI:.5*Math.PI}t.save(),t.translate(r,o),t.rotate(d),t.textAlign="center",t.textBaseline="middle",t.fillStyle=a,t.font=s.string,t.fillText(i.labelString,0,0),t.restore()}},draw:function(e){this._isVisible()&&(this._drawGrid(e),this._drawTitle(),this._drawLabels())},_layers:function(){var e=this,t=e.options,n=t.ticks&&t.ticks.z||0,i=t.gridLines&&t.gridLines.z||0;return e._isVisible()&&n!==i&&e.draw===e._draw?[{z:i,draw:function(){e._drawGri
2d.apply(e,arguments),e._drawTitle.apply(e,arguments)}},{z:n,draw:function(){e._drawLabels.apply(e,arguments)}}]:[{z:n,draw:function(){e.draw.apply(e,arguments)}}]},_getMatchingVisibleMetas:function(e){var t=this,n=t.isHorizontal();return t.chart._getSortedVisibleDatasetMetas().filter((function(i){return(!e||i.type===e)&&(n?i.xAxisID===t.id:i.yAxisID===t.id)}))}});mn.prototype._draw=mn.prototype.draw;var vn=mn,gn=$.isNullOrUndef,bn=vn.extend({determineDataLimits:function(){var e,t=this,n=t._getLabels(),i=t.options.ticks,r=i.min,o=i.max,a=0,s=n.length-1;void 0!==r&&(e=n.indexOf(r))>=0&&(a=e),void 0!==o&&(e=n.indexOf(o))>=0&&(s=e),t.minIndex=a,t.maxIndex=s,t.min=n[a],t.max=n[s]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,n=this.maxIndex;this.ticks=0===t&&n===e.length-1?e:e.slice(t,n+1)},getLabelForIndex:function(e,t){var n=this.chart;return n.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,n=e.ticks;vn.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),n&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(n.length-(t?0:1),1))},getPixelForValue:function(e,t,n){var i,r,o,a=this;return gn(t)||gn(n)||(e=a.chart.data.datasets[n].data[t]),gn(e)||(i=a.isHorizontal()?e.x:e.y),(void 0!==i||void 0!==e&&isNaN(t))&&(r=a._getLabels(),e=$.valueOrDefault(i,e),t=-1!==(o=r.indexOf(e))?o:t,isNaN(t)&&(t=e)),a.getPixelForDecimal((t-a._startValue)/a._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),yn={position:"bottom"};bn._defaults=yn;var wn=$.noop,xn=$.isNullOrUndef,Sn=vn.extend({getRightValue:function(e){return"string"==typeof e?+e:vn.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=$.sign(e.min),i=$.sign(e.max);n<0&&i<0?e.max=0:n>0&&i>0&&(e.min=0)}var r=void 0!==t.min||void 0!==t.suggestedMin,o=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),r!==o&&e.min>=e.max&&(r?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,n=t.stepSize,i=t.maxTicksLimit;return n?e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(e=this._computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:wn,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:$.valueOrDefault(t.fixedStepSize,t.stepSize)},r=e.ticks=function(e,t){var n,i,r,o,a=[],s=e.stepSize,l=s||1,u=e.maxTicks-1,c=e.min,d=e.max,h=e.precision,f=t.min,p=t.max,m=$.niceNum((p-f)/u/l)*l;if(m<1e-14&&xn(c)&&xn(d))return[f,p];(o=Math.ceil(p/m)-Math.floor(f/m))>u&&(m=$.niceNum(o*m/u/l)*l),s||xn(h)?n=Math.pow(10,$._decimalPlaces(m)):(n=Math.pow(10,h),m=Math.ceil(m*n)/n),i=Math.floor(f/m)*m,r=Math.ceil(p/m)*m,s&&(!xn(c)&&$.almostWhole(c/m,m/1e3)&&(i=c),!xn(d)&&$.almostWhole(d/m,m/1e3)&&(r=d)),o=(r-i)/m,o=$.almostEquals(o,Math.round(o),m/1e3)?Math.round(o):Math.ceil(o),i=Math.round(i*n)/n,r=Math.round(r*n)/n,a.push(xn(c)?i:c);for(var v=1;v<o;++v)a.push(Math.round((i+v*m)*n)/n);return a.push(xn(d)?r:d),a}(i,e);e.handleDirectionalChanges(),e.max=$.max(r),e.min=$.min(r),t.reverse?(r.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),vn.prototype.convertTicksToLabels.call(e)},_configure:function(){var e,t=this,n=t.getTicks(),i=t.min,r=t.max;vn.prototype._configure.call(t),t.options.offset&&n.length&&(i-=e
2=(r-i)/Math.max(n.length-1,1)/2,r+=e),t._startValue=i,t._endValue=r,t._valueRange=r-i}}),_n={position:"left",ticks:{callback:tn.formatters.linear}};function kn(e,t,n,i){var r,o,a=e.options,s=function(e,t,n){var i=[n.type,void 0===t&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===e[i]&&(e[i]={pos:[],neg:[]}),e[i]}(t,a.stacked,n),l=s.pos,u=s.neg,c=i.length;for(r=0;r<c;++r)o=e._parseValue(i[r]),isNaN(o.min)||isNaN(o.max)||n.data[r].hidden||(l[r]=l[r]||0,u[r]=u[r]||0,a.relativePoints?l[r]=100:o.min<0||o.max<0?u[r]+=o.min:l[r]+=o.max)}function En(e,t,n){var i,r,o=n.length;for(i=0;i<o;++i)r=e._parseValue(n[i]),isNaN(r.min)||isNaN(r.max)||t.data[i].hidden||(e.min=Math.min(e.min,r.min),e.max=Math.max(e.max,r.max))}var Cn=Sn.extend({determineDataLimits:function(){var e,t,n,i,r=this,o=r.options,a=r.chart.data.datasets,s=r._getMatchingVisibleMetas(),l=o.stacked,u={},c=s.length;if(r.min=Number.POSITIVE_INFINITY,r.max=Number.NEGATIVE_INFINITY,void 0===l)for(e=0;!l&&e<c;++e)l=void 0!==(t=s[e]).stack;for(e=0;e<c;++e)n=a[(t=s[e]).index].data,l?kn(r,u,t,n):En(r,t,n);$.each(u,(function(e){i=e.pos.concat(e.neg),r.min=Math.min(r.min,$.min(i)),r.max=Math.max(r.max,$.max(i))})),r.min=$.isFinite(r.min)&&!isNaN(r.min)?r.min:0,r.max=$.isFinite(r.max)&&!isNaN(r.max)?r.max:1,r.handleTickRangeOptions()},_computeTickLimit:function(){var e;return this.isHorizontal()?Math.ceil(this.width/40):(e=$.options._parseFont(this.options.ticks),Math.ceil(this.height/e.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){return this.getPixelForDecimal((+this.getRightValue(e)-this._startValue)/this._valueRange)},getValueForPixel:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange},getPixelForTick:function(e){var t=this.ticksAsNumbers;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])}}),Tn=_n;Cn._defaults=Tn;var Mn=$.valueOrDefault,An=$.math.log10,Pn={position:"left",ticks:{callback:tn.formatters.logarithmic}};function On(e,t){return $.isFinite(e)&&e>=0?e:t}var Ln=vn.extend({determineDataLimits:function(){var e,t,n,i,r,o,a=this,s=a.options,l=a.chart,u=l.data.datasets,c=a.isHorizontal();function d(e){return c?e.xAxisID===a.id:e.yAxisID===a.id}a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,a.minNotZero=Number.POSITIVE_INFINITY;var h=s.stacked;if(void 0===h)for(e=0;e<u.length;e++)if(t=l.getDatasetMeta(e),l.isDatasetVisible(e)&&d(t)&&void 0!==t.stack){h=!0;break}if(s.stacked||h){var f={};for(e=0;e<u.length;e++){var p=[(t=l.getDatasetMeta(e)).type,void 0===s.stacked&&void 0===t.stack?e:"",t.stack].join(".");if(l.isDatasetVisible(e)&&d(t))for(void 0===f[p]&&(f[p]=[]),r=0,o=(i=u[e].data).length;r<o;r++){var m=f[p];n=a._parseValue(i[r]),isNaN(n.min)||isNaN(n.max)||t.data[r].hidden||n.min<0||n.max<0||(m[r]=m[r]||0,m[r]+=n.max)}}$.each(f,(function(e){if(e.length>0){var t=$.min(e),n=$.max(e);a.min=Math.min(a.min,t),a.max=Math.max(a.max,n)}}))}else for(e=0;e<u.length;e++)if(t=l.getDatasetMeta(e),l.isDatasetVisible(e)&&d(t))for(r=0,o=(i=u[e].data).length;r<o;r++)n=a._parseValue(i[r]),isNaN(n.min)||isNaN(n.max)||t.data[r].hidden||n.min<0||n.max<0||(a.min=Math.min(n.min,a.min),a.max=Math.max(n.max,a.max),0!==n.min&&(a.minNotZero=Math.min(n.min,a.minNotZero)));a.min=$.isFinite(a.min)?a.min:null,a.max=$.isFinite(a.max)?a.max:null,a.minNotZero=$.isFinite(a.minNotZero)?a.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;e.min=On(t.min,e.min),e.max=On(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(An(e.min))-1),e.max=Math.pow(10,Math.floor(An(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(An(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(An(e.min))+1):10),null===e.minNotZero&&(e.min>0?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(An(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),i={min:On(t.min),max:On(t.max)},r=e.ticks=function(e,t){var n,i,r=[],o=Mn(e.min,Math.pow(10,Math.floor(An(t.min)))),a=Math.floor(An(t.max)),s=Math.ceil(t.max/Math.pow(10,a));0===o?(n=Math.floor(An(t.minNotZero)),i=Math.floor(t.minNotZero/Math.pow(10,n)),r.push(o),o=i*Math.pow(10,n)):(n=Math.floor(An(o)),i=Math.floor(o/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{r.push(o),10==++i&&(i=1,l=++n>=0?1:l),o=Math.round(i*Math.pow(10,n)*l)/l}while(n<a||n===a&&i<s);var u=Mn(e.max,o);return r.push(u),r}(i,e);e.max=$.max(r),e.min=$.min(r),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),vn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(An(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;vn.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=Mn(e.options.ticks.fontSize,F.global.defaultFontSize)/e._length),e._startValue=An(t),e._valueOffset=n,e._valueRange=(An(e.max)-An(t))/(1-n)},getPixelForValue:function(e){var t=this,n=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(n=(An(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(n)},getValueForPixel:function(e){var t=this,n=t.getDecimalForPixel(e);return 0===n&&0===t.min?0:Math.pow(10,t._startValue+(n-t._valueOffset)*t._valueRange)}}),In=Pn;Ln._defaults=In;var Dn=$.valueOrDefault,Nn=$.valueAtIndexOrDefault,jn=$.options.resolve,Fn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:tn.formatters.linear}
2,pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function Rn(e){var t=e.ticks;return t.display&&e.display?Dn(t.fontSize,F.global.defaultFontSize)+2*t.backdropPaddingY:0}function Bn(e,t,n,i,r){return e===i||e===r?{start:t-n/2,end:t+n/2}:e<i||e>r?{start:t-n,end:t}:{start:t,end:t+n}}function zn(e){return 0===e||180===e?"center":e<180?"left":"right"}function Hn(e,t,n,i){var r,o,a=n.y+i/2;if($.isArray(t))for(r=0,o=t.length;r<o;++r)e.fillText(t[r],n.x,a),a+=i;else e.fillText(t,n.x,a)}function $n(e,t,n){90===e||270===e?n.y-=t.h/2:(e>270||e<90)&&(n.y-=t.h)}function Wn(e){return $.isNumber(e)?e:0}var qn=Sn.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=Rn(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;$.each(t.data.datasets,(function(r,o){if(t.isDatasetVisible(o)){var a=t.getDatasetMeta(o);$.each(r.data,(function(t,r){var o=+e.getRightValue(t);isNaN(o)||a.data[r].hidden||(n=Math.min(o,n),i=Math.max(o,i))}))}})),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=i===Number.NEGATIVE_INFINITY?0:i,e.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Rn(this.options))},convertTicksToLabels:function(){var e=this;Sn.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map((function(){var t=$.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""}))},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,n,i,r=$.options._parseFont(e.options.pointLabels),o={l:0,r:e.width,t:0,b:e.height-e.paddingTop},a={};e.ctx.font=r.string,e._pointLabelSizes=[];var s,l,u,c=e.chart.data.labels.length;for(t=0;t<c;t++){i=e.getPointPosition(t,e.drawingArea+5),s=e.ctx,l=r.lineHeight,u=e.pointLabels[t],n=$.isArray(u)?{w:$.longestText(s,s.font,u),h:u.length*l}:{w:s.measureText(u).width,h:l},e._pointLabelSizes[t]=n;var d=e.getIndexAngle(t),h=$.toDegrees(d)%360,f=Bn(h,i.x,n.w,0,180),p=Bn(h,i.y,n.h,90,270);f.start<o.l&&(o.l=f.start,a.l=d),f.end>o.r&&(o.r=f.end,a.r=d),p.start<o.t&&(o.t=p.start,a.t=d),p.end>o.b&&(o.b=p.end,a.b=d)}e.setReductions(e.drawingArea,o,a)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,n){var i=this,r=t.l/Math.sin(n.l),o=Math.max(t.r-i.width,0)/Math.sin(n.r),a=-t.t/Math.cos(n.t),s=-Math.max(t.b-(i.height-i.paddingTop),0)/Math.cos(n.b);r=Wn(r),o=Wn(o),a=Wn(a),s=Wn(s),i.drawingArea=Math.min(Math.floor(e-(r+o)/2),Math.floor(e-(a+s)/2)),i.setCenterPoint(r,o,a,s)},setCenterPoint:function(e,t,n,i){var r=this,o=r.width-t-r.drawingArea,a=e+r.drawingArea,s=n+r.drawingArea,l=r.height-r.paddingTop-i-r.drawingArea;r.xCenter=Math.floor((a+o)/2+r.left),r.yCenter=Math.floor((s+l)/2+r.top+r.paddingTop)},getIndexAngle:function(e){var t=this.chart,n=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if($.isNullOrUndef(e))return NaN;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,n=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0)},_drawGrid:function(){var e,t,n,i=this,r=i.ctx,o=i.options,a=o.gridLines,s=o.angleLines,l=Dn(s.lineWidth,a.lineWidth),u=Dn(s.color,a.color);if(o.pointLabels.display&&function(e){var t=e.ctx,n=e.options,i=n.pointLabels,r=Rn(n),o=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),a=$.options._parseFont(i);t.save(),t.font=a.string,t.textBaseline="middle";for(var s=e.chart.data.labels.length-1;s>=0;s--){var l=0===s?r/2:0,u=e.getPointPosition(s,o+l+5),c=Nn(i.fontColor,s,F.global.defaultFontColor);t.fillStyle=c;var d=e.getIndexAngle(s),h=$.toDegrees(d);t.textAlign=zn(h),$n(h,e._pointLabelSizes[s],u),Hn(t,e.pointLabels[s],u,a.lineHeight)}
vendor: 26,468 bytes, line 2
2t.restore()}(i),a.display&&$.each(i.ticks,(function(e,n){0!==n&&(t=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),function(e,t,n,i){var r,o=e.ctx,a=t.circular,s=e.chart.data.labels.length,l=Nn(t.color,i-1),u=Nn(t.lineWidth,i-1);if((a||s)&&l&&u){if(o.save(),o.strokeStyle=l,o.lineWidth=u,o.setLineDash&&(o.setLineDash(t.borderDash||[]),o.lineDashOffset=t.borderDashOffset||0),o.beginPath(),a)o.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{r=e.getPointPosition(0,n),o.moveTo(r.x,r.y);for(var c=1;c<s;c++)r=e.getPointPosition(c,n),o.lineTo(r.x,r.y)}o.closePath(),o.stroke(),o.restore()}}(i,a,t,n))})),s.display&&l&&u){for(r.save(),r.lineWidth=l,r.strokeStyle=u,r.setLineDash&&(r.setLineDash(jn([s.borderDash,a.borderDash,[]])),r.lineDashOffset=jn([s.borderDashOffset,a.borderDashOffset,0])),e=i.chart.data.labels.length-1;e>=0;e--)t=i.getDistanceFromCenterForValue(o.ticks.reverse?i.min:i.max),n=i.getPointPosition(e,t),r.beginPath(),r.moveTo(i.xCenter,i.yCenter),r.lineTo(n.x,n.y),r.stroke();r.restore()}},_drawLabels:function(){var e=this,t=e.ctx,n=e.options.ticks;if(n.display){var i,r,o=e.getIndexAngle(0),a=$.options._parseFont(n),s=Dn(n.fontColor,F.global.defaultFontColor);t.save(),t.font=a.string,t.translate(e.xCenter,e.yCenter),t.rotate(o),t.textAlign="center",t.textBaseline="middle",$.each(e.ticks,(function(o,l){(0!==l||n.reverse)&&(i=e.getDistanceFromCenterForValue(e.ticksAsNumbers[l]),n.showLabelBackdrop&&(r=t.measureText(o).width,t.fillStyle=n.backdropColor,t.fillRect(-r/2-n.backdropPaddingX,-i-a.size/2-n.backdropPaddingY,r+2*n.backdropPaddingX,a.size+2*n.backdropPaddingY)),t.fillStyle=s,t.fillText(o,0,-i))})),t.restore()}},_drawTitle:$.noop}),Vn=Fn;qn._defaults=Vn;var Yn=$._deprecated,Un=$.options.resolve,Gn=$.valueOrDefault,Xn=Number.MIN_SAFE_INTEGER||-9007199254740991,Kn=Number.MAX_SAFE_INTEGER||9007199254740991,Zn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Jn=Object.keys(Zn);function Qn(e,t){return e-t}function ei(e){return $.valueOrDefault(e.time.min,e.ticks.min)}function ti(e){return $.valueOrDefault(e.time.max,e.ticks.max)}function ni(e,t,n,i){var r=function(e,t,n){for(var i,r,o,a=0,s=e.length-1;a>=0&&a<=s;){if(r=e[(i=a+s>>1)-1]||null,o=e[i],!r)return{lo:null,hi:o};if(o[t]<n)a=i+1;else{if(!(r[t]>n))return{lo:r,hi:o};s=i-1}}return{lo:o,hi:null}}(e,t,n),o=r.lo?r.hi?r.lo:e[e.length-2]:e[0],a=r.lo?r.hi?r.hi:e[e.length-1]:e[1],s=a[t]-o[t],l=s?(n-o[t])/s:0,u=(a[i]-o[i])*l;return o[i]+u}function ii(e,t){var n=e._adapter,i=e.options.time,r=i.parser,o=r||i.format,a=t;return"function"==typeof r&&(a=r(a)),$.isFinite(a)||(a="string"==typeof o?n.parse(a,o):n.parse(a)),null!==a?+a:(r||"function"!=typeof o||(a=o(t),$.isFinite(a)||(a=n.parse(a))),a)}function ri(e,t){if($.isNullOrUndef(t))return null;var n=e.options.time,i=ii(e,e.getRightValue(t));return null===i||n.round&&(i=+e._adapter.startOf(i,n.round)),i}function oi(e,t,n,i){var r,o,a,s=Jn.length;for(r=Jn.indexOf(e);r<s-1;++r)if(a=(o=Zn[Jn[r]]).steps?o.steps:Kn,o.common&&Math.ceil((n-t)/(a*o.size))<=i)return Jn[r];return Jn[s-1]}function ai(e,t,n){var i,r,o=[],a={},s=t.length;for(i=0;i<s;++i)a[r=t[i]]=i,o.push({value:r,major:!1});return 0!==s&&n?function(e,t,n,i){var r,o,a=e._adapter,s=+a.startOf(t[0].value,i),l=t[t.length-1].value;for(r=s;r<=l;r=+a.add(r,1,i))(o=n[r])>=0&&(t[o].major=!0);return t}(e,o,a,n):o}var si=vn.extend({initialize:function(){this.mergeTicksOptions(),vn.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,n=t.time||(t.time={}),i=e._adapter=new en._date(t.adapters.date);return Yn("time scale",n.format,"time.format","time.parser"),Yn("time scale",n.min,"time.min","ticks.min"),Yn("time scale",n.max,"time.max","ticks.max"),$.mergeIf(n.displayFormats,i.formats()),vn.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),vn.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,i,r,o,a,s=this,l=s.chart,u=s._adapter,c=s.options,d=c.time.unit||"day",h=Kn,f=Xn,p=[],m=[],v=[],g=s._getLabels();for(e=0,n=g.length;e<n;++e)v.push(ri(s,g[e]));for(e=0,n=(l.data.datasets||[]).length;e<n;++e)if(l.isDatasetVisible(e))if(r=l.data.datasets[e].data,$.isObject(r[0]))for(m[e]=[],t=0,i=r.length;t<i;++t)o=ri(s,r[t]),p.push(o),m[e][t]=o;else m[e]=v.slice(0),a||(p=p.concat(v),a=!0);else m[e]=[];v.length&&(h=Math.min(h,v[0]),f=Math.max(f,v[v.length-1])),p.length&&(p=n>1?function(e){var t,n,i,r={},o=[];for(t=0,n=e.length;t<n;++t)r[i=e[t]]||(r[i]=!0,o.push(i));return o}(p).sort(Qn):p.sort(Qn),h=Math.min(h,p[0]),f=Math.max(f,p[p.length-1])),h=ri(s,ei(c))||h,f=ri(s,ti(c))||f,h=h===Kn?+u.startOf(Date.now(),d):h,f=f===Xn?+u.endOf(Date.now(),d)+1:f,s.min=Math.min(h,f),s.max=Math.max(h+1,f),s._table=[],s._timestamps={data:p,datasets:m,labels:v}},buildTicks:function(){var e,t,n,i=this,r=i.min,o=i.max,a=i.options,s=a.ticks,l=a.time,u=i._timestamps,c=[],d=i.getLabelCapacity(r),h=s.source,f=a.distribution;for(u="data"===h||"auto"===h&&"series"===f?u.data:"labels"===h?u.labels:function(e,t,n,i){var r,o=e._adapter,a=e.options,s=a.time,l=s.unit||oi(s.minUnit,t,n,i),u=Un([s.stepSize,s.unitStepSize,1]),c="week"===l&&s.isoWeekday,d=t,h=[];if(c&&(d=+o.startOf(d,"isoWeek",c)),d=+o.startOf(d,c?"day":l),o.diff(n,t,l)>1e5*u)throw t+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(r=d;r<n;r=+o.add(r,u,l))h.push(r);return r!==n&&"ticks"!==a.bounds||h.push(r),h}(i,r,o,d),"ticks"===a.bounds&&u.length&&(r=u[0],o=u[u.length-1]),r=ri(i,ei(a))||r,o=ri(i,ti(a))||o,e=0,t=u.length;e<t;++e)(n=u[e])>=r&&n<=o&&c.push(n);return i.min=r,i.max=o,i._unit=l.unit||(s.autoSkip?oi(l.minUnit,i.min,i.max,d):function(e,t,n,i,r){var o,a;for(o=Jn.length-1;o>=Jn.indexOf(n);o--)if(a=Jn[o],Zn[a].common&&e._adapter.diff(r,i,a)>=t-1)return a;return Jn[n?Jn.indexOf(n):0]}(i,c.length,l.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?function(e){for(var t=Jn.indexOf(e)+1,n=Jn.length;t<n;++t)if(Zn[Jn[t]].common)return Jn[t]}(i._unit):void 0,i._table=function(e,t,n,i){if("linear"===i||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var r,o,a,s,l,u=[],c=[t];for(r=0,o=e.length;r<o;++r)(s=e[r])>t&&s<n&&c.push(s);for(c.push(n),r=0,o=c.length;r<o;++r)l=c[r+1],a=c[r-1],s=c[r],void 0!==a&&void 0!==l&&Math.round((l+a)/2)===s||u.push({time:s,pos:r/(o-1)});return u}(i._timestamps.data,r,o,f),i._offsets=function(e,t,n,i,r){var o,a,s=0,l=0;return r.offset&&t.length&&(o=ni(e,"time",t[0],"pos"),s=1===t.length?1-o:(ni(e,"time",t[1],"pos")-o)/2,a=ni(e,"time",t[t.length-1],"pos"),l=1===t.length?a:(a-ni(e,"time",t[t.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}(i._table,c,0,0,a),s.reverse&&c.reverse(),ai(i,c,i._majorUnit)},getLabelForIndex:function(e,t){var n=this,i=n._adapter,r=n.chart.data,o=n.options.time,a=r.labels&&e<r.labels.length?r.labels[e]:"",s=r.datasets[t].data[e];return $.isObject(s)&&(a=n.getRightValue(s)),o.tooltipFormat?i.format(ii(n,a),o.tooltipFormat):"string"==typeof a?a:i.format(ii(n,a),o.displayFormats.datetime)},tickFormatFunction:function(e,t,n,i){var r=this._adapter,o=this.options,a=o.time.displayFormats,s=a[this._unit],l=this._majorUnit,u=a[l],c=n[t],d=o.ticks,h=l&&u&&c&&c.major,f=r.format(e,i||(h?u:s)),p=h?d.major:d.minor,m=Un([p.callback,p.userCallback,d.callback,d.userCallback]);return m?m(f,t,n):f},convertTicksToLabels:function(e){var t,n,i=[];for(t=0,n=e.length;t<n;++t)i.push(this.tickFormatFunction(e[t].value,t,e));return i},getPixelForOffset:function(e){var t=this._offsets,n=ni(this._table,"time",e,"pos");return this.getPixelForDecimal((t.start+n)*t.factor)},getPixelForValue:function(e,t,n){var i=null;if(void 0!==t&&void 0!==n&&(i=this._timestamps.datasets[n][t]),null===i&&(i=ri(this,e)),null!==i)return this.getPixelForOffset(i)},getPixelForTick:function(e){var t=this.getTicks();return e>=0&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end,i=ni(this._table,"pos",n,"time");return this._adapter._create(i)},_getLabelSize:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,i=$.toRadians(this.isHorizontal()?t.maxRotation:t.minRotation),r=Math.cos(i),o=Math.sin(i),a=Gn(t.fontSize,F.global.defaultFontSize);return{w:n*r+a*o,h:n*o+a*r}},getLabelWidth:function(e){return this._getLabelSize(e).w},getLabelCapacity:function(e){var t=this,n=t.options.time,i=n.displayFormats,r=i[n.unit]||i.millisecond,o=t.tickFormatFunction(e,0,ai(t,[e],t._majorUnit),r),a=t._getLabelSize(o),s=Math.floor(t.isHorizontal()?t.width/a.w:t.height/a.h);return t.options.offset&&s--,s>0?s:1}}),li={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};si._defaults=li;var ui={category:bn,linear:Cn,logarithmic:Ln,radialLinear:qn,time:si},ci={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};en._date.override("function"==typeof e?{_id:"moment",formats:function(){return ci},parse:function(t,n){return"string"==typeof t&&"string"==typeof n?t=e(t,n):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,n){return e(t).format(n)},add:function(t,n,i){return e(t).add(n,i).valueOf()},diff:function(t,n,i){return e(t).diff(e(n),i)},startOf:function(t,n,i){return t=e(t),"isoWeek"===n?t.isoWeekday(i).valueOf():t.startOf(n).valueOf()},endOf:function(t,n){return e(t).endOf(n).valueOf()},_create:function(t){return e(t)}}:{}),F._set("global",{plugins:{filler:{propagate:!0}}});var di={dataset:function(e){var t=e.fill,n=e.chart,i=n.getDatasetMeta(t),r=i&&n.isDatasetVisible(t)&&i.dataset._children||[],o=r.length||0;return o?function(e,t){return t<o&&r[t]._view||null}:null},boundary:function(e){var t=e.boundary,n=t?t.x:null,i=t?t.y:null;return $.isArray(t)?function(e,n){return t[n]}:function(e){return{x:null===n?e.x:n,y:null===i?e.y:i}}}};function hi(e,t,n){var i,r=e._model||{},o=r.fill;if(void 0===o&&(o=!!r.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(i=parseFloat(o,10),isFinite(i)&&Math.floor(i)===i)return"-"!==o[0]&&"+"!==o[0]||(i=t+i),!(i===t||i<0||i>=n)&&i;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function fi(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,n,i,r,o,a=e.el._scale,s=a.options,l=a.chart.data.labels.length,u=e.fill,c=[];if(!l)return null;for(t=s.ticks.reverse?a.max:a.min,n=s.ticks.reverse?a.min:a.max,i=a.getPointPositionForValue(0,t),r=0;r<l;++r)o="start"===u||"end"===u?a.getPointPositionForValue(r,"start"===u?t:n):a.getBasePosition(r),s.gridLines.circular&&(o.cx=i.x,o.cy=i.y,o.angle=a.getIndexAngle(r)-Math.PI/2),c.push(o);return c}(e):function(e){var t,n=e.el._model||{},i=e.el._scale||{},r=e.fill,o=null;if(isFinite(r))return null;if("start"===r?o=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===r?o=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:i.getBasePixel&&(o=i.getBasePixel()),null!=o){if(void 0!==o.x&&void 0!==o.y)return o;if($.isFinite(o))return{x:(t=i.isHorizontal())?o:null,y:t?null:o}}return null}(e)}function pi(e,t,n){var i,r=e[t].fill,o=[t];if(!n)return r;for(;!1!==r&&-1===o.indexOf(r);){if(!isFinite(r))return r;if(!(i=e[r]))return!1;if(i.visible)return r;o.push(r),r=i.fill}return!1}function mi(e){var t=e.fill,n="dataset";return!1===t?null:(isFinite(t)||(n="boundary"),di[n](e))}function vi(e){return e&&!e.skip}function gi(e,t,n,i,r){var o,a,s,l;if(i&&r){for(e.moveTo(t[0].x,t[0].y),o=1;o<i;++o)$.canvas.lineTo(e,t[o-1],t[o]);if(void 0===n[0].angle)for(e.lineTo(n[r-1].x,n[r-1].y),o=r-1;o>0;--o)$.canvas.lineTo(e,n[o],n[o-1],!0);else for(a=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-a,2)+Math.pow(n[0].y-s,2)),o=r-1;o>0;--o)e.arc(a,s,l,n[o].angle,n[o-1].angle,!0)}}function bi(e,t,n,i,r,o){var a,s,l,u,c,d,h,f,p=t.length,m=i.spanGaps,v=[],g=[],b=0,y=0;for(e.beginPath(),a=0,s=p;a<s;++a)c=n(u=t[l=a%p]._view,l,i),d=vi(u),h=vi(c),o&&void 0===f&&d&&(s=p+(f=a+1)),d&&h?(b=v.push(u),y=g.push(c)):b&&y&&(m?(d&&v.push(u),h&&g.push(c)):(gi(e,v,g,b,y),b=y=0,v=[],g=[]));gi(e,v,g,b,y),e.closePath(),e.fillStyle=r,e.fill()}var yi={id:"filler",afterDatasetsUpdate:function(e,t){var n,i,r,o,a=(e.data.datasets||[]).length,s=t.propagate,l=[];for(i=0;i<a;++i)o=null,(r=(n=e.getDatasetMeta(i)).dataset)&&r._model&&r instanceof Se.Line&&(o={visible:e.isDatasetVisible(i),fill:hi(r,i,a),chart:e,el:r}),n.$filler=o,l.push(o);for(i=0;i<a;++i)(o=l[i])&&(o.fill=pi(l,i,s),o.boundary=fi(o),o.mapper=mi(o))},beforeDatasetsDraw:function(e){var t,n,i,r,o,a,s,l=e._getSortedVisibleDatasetMetas(),u=e.ctx;for(n=l.length-1;n>=0;--n)(t=l[n].$filler)&&t.visible&&(r=(i=t.el)._view,o=i._children||[],a=t.mapper,s=r.backgroundColor||F.global.defaultColor,a&&s&&o.length&&($.canvas.clipArea(u,e.chartArea),bi(u,o,a,r,s,i._loop),$.canvas.unclipArea(u)))}},wi=$.rtl.getRtlAdapter,xi=$.noop,Si=$.valueOrDefault;function _i(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}F._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.options.legend||{},i=n.labels&&n.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(n){var r=n.controller.getStyle(i?0:void 0);return{text:t[n.index].label,fillStyle:r.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:r.borderWidth,strokeStyle:r.borderColor,pointStyle:r.pointStyle,rotation:r.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(e){var t,n,i,r=document.createElement("ul"),o=e.data.datasets;for(r.setAttribute("class",e.id+"-legend"),t=0,n=o.length;t<n;t++)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[t].backgroundColor,o[t].label&&i.appendChild(document.createTextNode(o[t].label));return r.outerHTML}});var ki=X.extend({initialize:function(e){$.extend(this,e),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:xi,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:xi,beforeSetDimensions:xi,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:xi,beforeBuildLabels:xi,buildLabels:function(){var e=this,t=e.options.labels||{},n=$.callback(t.generateLabels,[e.chart],e)||[];t.filter&&(n=n.filter((function(n){return t.filter(n,e.chart.data)}))),e.options.reverse&&n.reverse(),e.legendItems=n},afterBuildLabels:xi,beforeFit:xi,fit:function(){var e=this,t=e.options,n=t.labels,i=t.display,r=e.ctx,o=$.options._parseFont(n),a=o.size,s=e.legendHitBoxes=[],l=e.minSize,u=e.isHorizontal();if(u?(l.width=e.maxWidth,l.height=i?10:0):(l.width=i?10:0,l.height=e.maxHeight),i){if(r.font=o.string,u){var c=e.lineWidths=[0],d=0;r.textAlign="left",r.textBaseline="middle",$.each(e.legendItems,(function(e,t){var i=_i(n,a)+a/2+r.measureText(e.text).width;(0===t||c[c.length-1]+i+2*n.padding>l.width)&&(d+=a+n.padding,c[c.length-(t>0?0:1)]=0),s[t]={left:0,top:0,width:i,height:a},c[c.length-1]+=i+n.padding})),l.height+=d}else{var h=n.padding,f=e.columnWidths=[],p=e.columnHeights=[],m=n.padding,v=0,g=0;$.each(e.legendItems,(function(e,t){var i=_i(n,a)+a/2+r.measureText(e.text).width;t>0&&g+a+2*h>l.height&&(m+=v+n.padding,f.push(v),p.push(g),v=0,g=0),v=Math.max(v,i),g+=a+h,s[t]={left:0,top:0,width:i,height:a}})),m+=v,f.push(v),p.push(g),l.width+=m}e.width=l.width,e.height=l.height}else e.width=l.width=e.height=l.height=0},afterFit:xi,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,i=F.global,r=i.defaultColor,o=i.elements.line,a=e.height,s=e.columnHeights,l=e.width,u=e.lineWidths;if(t.display){var c,d=wi(t.rtl,e.left,e.minSize.width),h=e.ctx,f=Si(n.fontColor,i.defaultFontColor),p=$.options._parseFont(n),m=p.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=f,h.fillStyle=f,h.font=p.string;var v=_i(n,m),g=e.legendHitBoxes,b=function(e,i){switch(t.align){case"start":return n.padding;case"end":return e-i;default:return(e-i+n.padding)/2}},y=e.isHorizontal();c=y?{x:e.left+b(l,u[0]),y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+b(a,s[0]),line:0},$.rtl.overrideTextDirection(e.ctx,t.textDirection);var w=m+n.padding;$.each(e.legendItems,(function(t,i){var f=h.measureText(t.text).width,p=v+m/2+f,x=c.x,S=c.y;d.setWidth(e.minSize.width),y?i>0&&x+p+n.padding>e.left+e.minSize.width&&(S=c.y+=w,c.line++,x=c.x=e.left+b(l,u[c.line])):i>0&&S+w>e.top+e.minSize.height&&(x=c.x=x+e.columnWidths[c.line]+n.padding,c.line++,S=c.y=e.top+b(a,s[c.line]));var _=d.x(x);!function(e,t,i){if(!(isNaN(v)||v<=0)){h.save();var a=Si(i.lineWidth,o.borderWidth);if(h.fillStyle=Si(i.fillStyle,r),h.lineCap=Si(i.lineCap,o.borderCapStyle),h.lineDashOffset=Si(i.lineDashOffset,o.borderDashOffset),h.lineJoin=Si(i.lineJoin,o.borderJoinStyle),h.lineWidth=a,h.strokeStyle=Si(i.strokeStyle,r),h.setLineDash&&h.setLineDash(Si(i.lineDash,o.borderDash)),n&&n.usePointStyle){var s=v*Math.SQRT2/2,l=d.xPlus(e,v/2),u=t+m/2;$.canvas.drawPoint(h,i.pointStyle,s,l,u,i.rotation)}else h.fillRect(d.leftForLtr(e,v),t,v,m),0!==a&&h.strokeRect(d.leftForLtr(e,v),t,v,m);h.restore()}}(_,S,t),g[i].left=d.leftForLtr(_,g[i].width),g[i].top=S,function(e,t,n,i){var r=m/2,o=d.xPlus(e,v+r),a=t+r;h.fillText(n.text,o,a),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(o,a),h.lineTo(d.xPlus(o,i),a),h.stroke())}(_,S,t,f),y?c.x+=p+n.padding:c.y+=w})),$.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var n,i,r,o=this;if(e>=o.left&&e<=o.right&&t>=o.top&&t<=o.bottom)for(r=o.legendHitBoxes,n=0;n<r.length;++n)if(e>=(i=r[n]).left&&e<=i.left+i.width&&t>=i.top&&t<=i.top+i.height)return o.legendItems[n];return null},handleEvent:function(e){var t,n=this,i=n.options,r="mouseup"===e.type?"click":e.type;if("mousemove"===r){if(!i.onHover&&!i.onLeave)return}else{if("click"!==r)return;if(!i.onClick)return}t=n._getLegendItemAt(e.x,e.y),"click"===r?t&&i.onClick&&i.onClick.call(n,e.native,t):(i.onLeave&&t!==n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,e.native,n._hoveredItem),n._hoveredItem=t),i.onHover&&t&&i.onHover.call(n,e.native,t))}});function Ei(e,t){var n=new ki({ctx:e.ctx,options:t,chart:e});mt.configure(e,n,t),mt.addBox(e,n),e.legend=n}var Ci={id:"legend",_element:ki,beforeInit:function(e){var t=e.options.legend;t&&Ei(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?($.mergeIf(t,F.global.legend),n?(mt.configure(e,n,t),n.options=t):Ei(e,t)):n&&(mt.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},Ti=$.noop;F._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Mi=X.extend({initialize:function(e){$.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:Ti,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Ti,beforeSetDimensions:Ti,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:Ti,beforeBuildLabels:Ti,buildLabels:Ti,afterBuildLabels:Ti,beforeFit:Ti,fit:function(){var e,t=this,n=t.options,i=t.minSize={},r=t.isHorizontal();n.display?(e=($.isArray(n.text)?n.text.length:1)*$.options._parseFont(n).lineHeight+2*n.padding,t.width=i.width=r?t.maxWidth:e,t.height=i.height=r?e:t.maxHeight):t.width=i.width=t.height=i.height=0},afterFit:Ti,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=e.options;if(n.display){var i,r,o,a=$.options._parseFont(n),s=a.lineHeight,l=s/2+n.padding,u=0,c=e.top,d=e.left,h=e.bottom,f=e.right;t.fillStyle=$.valueOrDefault(n.fontColor,F.global.defaultFontColor),t.font=a.string,e.isHorizontal()?(r=d+(f-d)/2,o=c+l,i=f-d):(r="left"===n.position?d+l:f-l,o=c+(h-c)/2,i=h-c,u=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(r,o),t.rotate(u),t.textAlign="center",t.textBaseline="middle";var p=n.text;if($.isArray(p))for(var m=0,v=0;v<p.length;++v)t.fillText(p[v],0,m,i),m+=s;else t.fillText(p,0,0,i);t.restore()}}});function Ai(e,t){var n=new Mi({ctx:e.ctx,options:t,chart:e});mt.configure(e,n,t),mt.addBox(e,n),e.titleBlock=n}var Pi={},Oi=yi,Li=Ci,Ii={id:"title",_element:Mi,beforeInit:function(e){var t=e.options.title;t&&Ai(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?($.mergeIf(t,F.global.title),n?(mt.configure(e,n,t),n.options=t):Ai(e,t)):n&&(mt.removeBox(e,n),delete e.titleBlock)}};for(var Di in Pi.filler=Oi,Pi.legend=Li,Pi.title=Ii,Zt.helpers=$,function(){function e(e,t,n){var i;return"string"==typeof e?(i=parseInt(e,10),-1!==e.indexOf("%")&&(i=i/100*t.parentNode[n])):i=e,i}function t(e){return null!=e&&"none"!==e}function n(n,i,r){var o=document.defaultView,a=$._getParentNode(n),s=o.getComputedStyle(n)[i],l=o.getComputedStyle(a)[i],u=t(s),c=t(l),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?e(s,n,r):d,c?e(l,a,r):d):"none"}$.where=function(e,t){if($.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return $.each(e,(function(e){t(e)&&n.push(e)})),n},$.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var i=0,r=e.length;i<r;++i)if(t.call(n,e[i],i,e))return i;return-1},$.findNextWhere=function(e,t,n){$.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<e.length;i++){var r=e[i];if(t(r))return r}},$.findPreviousWhere=function(e,t,n){$.isNullOrUndef(n)&&(n=e.length);for(var i=n-1;i>=0;i--){var r=e[i];if(t(r))return r}},$.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},$.almostEquals=function(e,t,n){return Math.abs(e-t)<n},$.almostWhole=function(e,t){var n=Math.round(e);return n-t<=e&&n+t>=e},$.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},$.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},$.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},$.toRadians=function(e){return e*(Math.PI/180)},$.toDegrees=function(e){return e*(180/Math.PI)},$._decimalPlaces=function(e){if($.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},$.getAngleFromPoint=function(e,t){var n=t.x-e.x,i=t.y-e.y,r=Math.sqrt(n*n+i*i),o=Math.atan2(i,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:r}},$.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},$.aliasPixel=function(e){return e%2==0?0:.5},$._alignPixel=function(e,t,n){var i=e.currentDevicePixelRatio,r=n/2;return Math.round((t-r)*i)/i+r},$.splineCurve=function(e,t,n,i){var r=e.skip?t:e,o=t,a=n.skip?t:n,s=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),l=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),u=s/(s+l),c=l/(s+l),d=i*(u=isNaN(u)?0:u),h=i*(c=isNaN(c)?0:c);return{previous:{x:o.x-d*(a.x-r.x),y:o.y-d*(a.y-r.y)},next:{x:o.x+h*(a.x-r.x),y:o.y+h*(a.y-r.y)}}},$.EPSILON=Number.EPSILON||1e-14,$.splineCurveMonotone=function(e){var t,n,i,r,o,a,s,l,u,c=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),d=c.length;for(t=0;t<d;++t)if(!(i=c[t]).model.skip){if(n=t>0?c[t-1]:null,(r=t<d-1?c[t+1]:null)&&!r.model.skip){var h=r.model.x-i.model.x;i.deltaK=0!==h?(r.model.y-i.model.y)/h:0}!n||n.model.skip?i.mK=i.deltaK:!r||r.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}for(t=0;t<d-1;++t)i=c[t],r=c[t+1],i.model.skip||r.model.skip||($.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=r.mK=0:(o=i.mK/i.deltaK,a=r.mK/i.deltaK,(l=Math.pow(o,2)+Math.pow(a,2))<=9||(s=3/Math.sqrt(l),i.mK=o*s*i.deltaK,r.mK=a*s*i.deltaK)));for(t=0;t<d;++t)(i=c[t]).model.skip||(n=t>0?c[t-1]:null,r=t<d-1?c[t+1]:null,n&&!n.model.skip&&(u=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-u,i.model.controlPointPreviousY=i.model.y-u*i.mK),r&&!r.model.skip&&(u=(r.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+u,i.model.controlPointNextY=i.model.y+u*i.mK))},$.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},$.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},$.niceNum=function(e,t){var n=Math.floor($.log10(e)),i=e/Math.pow(10,n);return(t?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},$.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},$.getRelativePosition=function(e,t){var n,i,r=e.originalEvent||e,o=e.target||e.srcElement,a=o.getBoundingClientRect(),s=r.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=r.clientX,i=r.clientY);var l=parseFloat($.getStyle(o,"padding-left")),u=parseFloat($.getStyle(o,"padding-top")),c=p
2arseFloat($.getStyle(o,"padding-right")),d=parseFloat($.getStyle(o,"padding-bottom")),h=a.right-a.left-l-c,f=a.bottom-a.top-u-d;return{x:n=Math.round((n-a.left-l)/h*o.width/t.currentDevicePixelRatio),y:i=Math.round((i-a.top-u)/f*o.height/t.currentDevicePixelRatio)}},$.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},$.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},$._calculatePadding=function(e,t,n){return(t=$.getStyle(e,t)).indexOf("%")>-1?n*parseInt(t,10)/100:parseInt(t,10)},$._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},$.getMaximumWidth=function(e){var t=$._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,i=n-$._calculatePadding(t,"padding-left",n)-$._calculatePadding(t,"padding-right",n),r=$.getConstraintWidth(e);return isNaN(r)?i:Math.min(i,r)},$.getMaximumHeight=function(e){var t=$._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,i=n-$._calculatePadding(t,"padding-top",n)-$._calculatePadding(t,"padding-bottom",n),r=$.getConstraintHeight(e);return isNaN(r)?i:Math.min(i,r)},$.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},$.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=e.canvas,r=e.height,o=e.width;i.height=r*n,i.width=o*n,e.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=o+"px")}},$.fontString=function(e,t,n){return t+" "+e+"px "+n},$.longestText=function(e,t,n,i){var r=(i=i||{}).data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(r=i.data={},o=i.garbageCollect=[],i.font=t),e.font=t;var a,s,l,u,c,d=0,h=n.length;for(a=0;a<h;a++)if(null!=(u=n[a])&&!0!==$.isArray(u))d=$.measureText(e,r,o,d,u);else if($.isArray(u))for(s=0,l=u.length;s<l;s++)null==(c=u[s])||$.isArray(c)||(d=$.measureText(e,r,o,d,c));var f=o.length/2;if(f>n.length){for(a=0;a<f;a++)delete r[o[a]];o.splice(0,f)}return d},$.measureText=function(e,t,n,i,r){var o=t[r];return o||(o=t[r]=e.measureText(r).width,n.push(r)),o>i&&(i=o),i},$.numberOfLabelLines=function(e){var t=1;return $.each(e,(function(e){$.isArray(e)&&e.length>t&&(t=e.length)})),t},$.color=x?function(e){return e instanceof CanvasGradient&&(e=F.global.defaultColor),x(e)}:function(e){return console.error("Color.js not found!"),e},$.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:$.color(e).saturate(.5).darken(.1).rgbString()}}(),Zt._adapters=en,Zt.Animation=Z,Zt.animationService=J,Zt.controllers=Je,Zt.DatasetController=ie,Zt.defaults=F,Zt.Element=X,Zt.elements=Se,Zt.Interaction=ot,Zt.layouts=mt,Zt.platform=At,Zt.plugins=Pt,Zt.Scale=vn,Zt.scaleService=Ot,Zt.Ticks=tn,Zt.Tooltip=$t,Zt.helpers.each(ui,(function(e,t){Zt.scaleService.registerScaleType(t,e,e._defaults)})),Pi)Pi.hasOwnProperty(Di)&&Zt.plugins.register(Pi[Di]);Zt.platform.initialize();var Ni=Zt;return"undefined"!=typeof window&&(window.Chart=Zt),Zt.Chart=Zt,Zt.Legend=Pi.legend._element,Zt.Title=Pi.title._element,Zt.pluginService=Zt.plugins,Zt.PluginBase=Zt.Element.extend({}),Zt.canvasHelpers=Zt.helpers.canvas,Zt.layoutService=Zt.layouts,Zt.LinearScaleBase=Sn,Zt.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(e){Zt[e]=function(t,n){return new Zt(t,Zt.helpers.merge(n||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}})),Ni}(function(){try{return n(461)}catch(e){}}())},function(e,t,n){e.exports=n(468)},function(e,t,n){"use strict";n(189);var i,r=(i=n(362))&&i.__esModule?i:{default:i};r.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),r.default._babelPolyfill=!0},function(e,t,n){"use strict";n(190),n(333),n(335),n(338),n(340),n(342),n(344),n(346),n(348),n(350),n(352),n(354),n(356),n(360)},function(e,t,n){n(191),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230
vendor: 38,006 bytes, line 2
2),n(231),n(232),n(233),n(234),n(235),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(272),n(273),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(108),n(296),n(144),n(297),n(145),n(298),n(299),n(300),n(301),n(146),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),e.exports=n(9)},function(e,t,n){"use strict";var i=n(2),r=n(16),o=n(10),a=n(0),s=n(14),l=n(37).KEY,u=n(3),c=n(67),d=n(51),h=n(41),f=n(7),p=n(89),m=n(125),v=n(193),g=n(70),b=n(4),y=n(5),w=n(12),x=n(18),S=n(36),_=n(40),k=n(45),E=n(128),C=n(24),T=n(69),M=n(11),A=n(43),P=C.f,O=M.f,L=E.f,I=i.Symbol,D=i.JSON,N=D&&D.stringify,j=f("_hidden"),F=f("toPrimitive"),R={}.propertyIsEnumerable,B=c("symbol-registry"),z=c("symbols"),H=c("op-symbols"),$=Object.prototype,W="function"==typeof I&&!!T.f,q=i.QObject,V=!q||!q.prototype||!q.prototype.findChild,Y=o&&u((function(){return 7!=k(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=P($,t);i&&delete $[t],O(e,t,n),i&&e!==$&&O($,t,i)}:O,U=function(e){var t=z[e]=k(I.prototype);return t._k=e,t},G=W&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},X=function(e,t,n){return e===$&&X(H,t,n),b(e),t=S(t,!0),b(n),r(z,t)?(n.enumerable?(r(e,j)&&e[j][t]&&(e[j][t]=!1),n=k(n,{enumerable:_(0,!1)})):(r(e,j)||O(e,j,_(1,{})),e[j][t]=!0),Y(e,t,n)):O(e,t,n)},K=function(e,t){b(e);for(var n,i=v(t=x(t)),r=0,o=i.length;o>r;)X(e,n=i[r++],t[n]);return e},Z=function(e){var t=R.call(this,e=S(e,!0));return!(this===$&&r(z,e)&&!r(H,e))&&(!(t||!r(this,e)||!r(z,e)||r(this,j)&&this[j][e])||t)},J=function(e,t){if(e=x(e),t=S(t,!0),e!==$||!r(z,t)||r(H,t)){var n=P(e,t);return!n||!r(z,t)||r(e,j)&&e[j][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=L(x(e)),i=[],o=0;n.length>o;)r(z,t=n[o++])||t==j||t==l||i.push(t);return i},ee=function(e){for(var t,n=e===$,i=L(n?H:x(e)),o=[],a=0;i.length>a;)!r(z,t=i[a++])||n&&!r($,t)||o.push(z[t]);return o};W||(s((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===$&&t.call(H,n),r(this,j)&&r(this[j],e)&&(this[j][e]=!1),Y(this,e,_(1,n))};return o&&V&&Y($,e,{configurable:!0,set:t}),U(e)}).prototype,"toString",(function(){return this._k})),C.f=J,M.f=X,n(46).f=E.f=Q,n(60).f=Z,T.f=ee,o&&!n(42)&&s($,"propertyIsEnumerable",Z,!0),p.f=function(e){return U(f(e))}),a(a.G+a.W+a.F*!W,{Symbol:I});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)f(te[ne++]);for(var ie=A(f.store),re=0;ie.length>re;)m(ie[re++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return r(B,e+="")?B[e]:B[e]=I(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in B)if(B[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!W,"Object",{create:function(e,t){return void 0===t?k(e):K(k(e),t)},defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var oe=u((function(){T.f(1)}));a(a.S+a.F*oe,"Object",{getOwnPropertySymbols:function(e){return T.f(w(e))}}),D&&a(a.S+a.F*(!W||u((function(){var e=I();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,i=[e],r=1;arguments.length>r;)i.push(arguments[r++]);if(n=t=i[1],(y(t)||void 0!==e)&&!G(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),i[1]=t,N.apply(D,i)}}),I.prototype[F]||n(17)(I.prototype,F,I.prototype.valueOf),d(I,"Symbol"),d(Math,"Math",!0),d(i.JSON,"JSON",!0)},function(e,t,n){e.exports=n(67)("native-function-to-string",Function.toString)},function(e,t,n){var i=n(43),r=n(69),o=n(60);e.exports=function(e){var t=i(e),n=r.f;if(n)for(var a,s=n(e),l=o.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){var i=n(0);i(i.S,"Object",{create:n(45)})},function(e,t,n){var i=n(0);i(i.S+i.F*!n(10),"Object",{defineProperty:n(11).f})},function(e,t,n){var i=n(0);i(i.S+i.F*!n(10),"Object",{defineProperties:n(127)})},function(e,t,n){var i=n(18),r=n(24).f;n(25)("getOwnPropertyDescriptor",(function(){return function(e,t){return r(i(e),t)}}))},function(e,t,n){var i=n(12),r=n(47);n(25)("getPrototypeOf",(function(){return function(e){return r(i(e))}}))},function(e,t,n){var i=n(12),r=n(43);n(25)("keys",(function(){return function(e){return r(i(e))}}))},function(e,t,n){n(25)("getOwnPropertyNames",(function(){return n(128).f}))},function(e,t,n){var i=n(5),r=n(37).onFreeze;n(25)("freeze",(function(e){return function(t){return e&&i(t)?e(r(t)):t}}))},function(e,t,n){var i=n(5),r=n(37).onFreeze;n(25)("seal",(function(e){return function(t){return e&&i(t)?e(r(t)):t}}))},function(e,t,n){var i=n(5),r=n(37).onFreeze;n(25)("preventExtensions",(function(e){return function(t){return e&&i(t)?e(r(t)):t}}))},function(e,t,n){var i=n(5);n(25)("isFrozen",(function(e){return function(t){return!i(t)||!!e&&e(t)}}))},function(e,t,n){var i=n(5);n(25)("isSealed",(function(e){return function(t){return!i(t)||!!e&&e(t)}}))},function(e,t,n){var i=n(5);n(25)("isExtensible",(function(e){return function(t){return!!i(t)&&(!e||e(t))}}))},function(e,t,n){var i=n(0);i(i.S+i.F,"Object",{assign:n(129)})},function(e,t,n){var i=n(0);i(i.S,"Object",{is:n(130)})},function(e,t,n){var i=n(0);i(i.S,"Object",{setPrototypeOf:n(93).set})},function(e,t,n){"use strict";var i=n(61),r={};r[n(7)("toStringTag")]="z",r+""!="[object z]"&&n(14)(Object.prototype,"toString",(function(){return"[object "+i(this)+"]"}),!0)},function(e,t,n){var i=n(0);i(i.P,"Function",{bind:n(131)})},function(e,t,n){var i=n(11).f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||n(10)&&i(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var i=n(5),r=n(47),o=n(7)("hasInstance"),a=Function.prototype;o in a||n(11).f(a,o,{value:function(e){if("function"!=typeof this||!i(e))return!1;if(!i(this.prototype))return e instanceof this;for(;e=r(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var i=n(0),r=n(133);i(i.G+i.F*(parseInt!=r),{parseInt:r})},function(e,t,n){var i=n(0),r=n(134);i(i.G+i.F*(parseFloat!=r),{parseFloat:r})},function(e,t,n){"use strict";var i=n(2),r=n(16),o=n(32),a=n(95),s=n(36),l=n(3),u=n(46).f,c=n(24).f,d=n(11).f,h=n(52).trim,f=i.Number,p=f,m=f.prototype,v="Number"==o(n(45)(m)),g="trim"in String.prototype,b=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,i,r,o=(t=g?t.trim():h(t,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+t}for(var a,l=t.slice(2),u=0,c=l.length;u<c;u++)if((a=l.charCodeAt(u))<48||a>r)return NaN;return parseInt(l,i)}}return+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof f&&(v?l((function(){m.valueOf.call(n)})):"Number"!=o(n))?a(new p(b(t)),n,f):b(t)};for(var y,w=n(10)?u(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)r(p,y=w[x])&&!r(f,y)&&d(f,y,c(p,y));f.prototype=m,m.constructor=f,n(14)(i,"Number",f)}},function(e,t,n){"use strict";var i=n(0),r=n(23),o=n(135),a=n(96),s=1..toFixed,l=Math.floor,u=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",d=function(e,t){for(var n=-1,i=t;++n<6;)i+=e*u[n],u[n]=i%1e7,i=l(i/1e7)},h=function(e){for(var t=6,n=0;--t>=0;)n+=u[t],u[t]=l(n/e),n=n%e*1e7},f=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==u[e]){var n=String(u[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},p=function(e,t,n){return 0===t?n:t%2==1?p(e,t-1,n*e):p(e*e,t/2,n)};i(i.P+i.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(3)((function(){s.call({})}))),"Number",{toFixed:function(e){var t,n,i,s,l=o(this,c),u=r(e),m="",v="0";if(u<0||u>20)throw RangeError(c);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(m="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*p(2,69,1))-69)<0?l*p(2,-t,1):l/p(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(0,n),i=u;i>=7;)d(1e7,0),i-=7;for(d(p(10,i,1),0),i=t-1;i>=23;)h(1<<23),i-=23;h(1<<i),d(1,1),h(2),v=f()}else d(0,n),d(1<<-t,0),v=f()+a.call("0",u);return v=u>0?m+((s=v.length)<=u?"0."+a.call("0",u-s)+v:v.slice(0,s-u)+"."+v.slice(s-u)):m+v}})},function(e,t,n){"use strict";var i=n(0),r=n(3),o=n(135),a=1..toPrecision;i(i.P+i.F*(r((function(){return"1"!==a.call(1,void 0)}))||!r((function(){a.call({})}))),"Number",{toPrecision:function(e){var t=o(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},function(e,t,n){var i=n(0);i(i.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var i=n(0),r=n(2).isFinite;i(i.S,"Number",{isFinite:function(e){return"number"==typeof e&&r(e)}})},function(e,t,n){var i=n(0);i(i.S,"Number",{isInteger:n(136)})},function(e,t,n){var i=n(0);i(i.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var i=n(0),r=n(136),o=Math.abs;i(i.S,"Number",{isSafeInteger:function(e){return r(e)&&o(e)<=9007199254740991}})},function(e,t,n){var i=n(0);i(i.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var i=n(0);i(i.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var i=n(0),r=n(134);i(i.S+i.F*(Number.parseFloat!=r),"Number",{parseFloat:r})},function(e,t,n){var i=n(0),r=n(133);i(i.S+i.F*(Number.parseInt!=r),"Number",{parseInt:r})},function(e,t,n){var i=n(0),r=n(137),o=Math.sqrt,a=Math.acosh;i(i.S+i.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:r(e-1+o(e-1)*o(e+1))}})},function(e,t,n){var i=n(0),r=Math.asinh;i(i.S+i.F*!(r&&1/r(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(e,t,n){var i=n(0),r=Math.atanh;i(i.S+i.F*!(r&&1/r(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var i=n(0),r=n(97);i(i.S,"Math",{cbrt:function(e){return r(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var i=n(0);i(i.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var i=n(0),r=Math.exp;i(i.S,"Math",{cosh:function(e){return(r(e=+e)+r(-e))/2}})},function(e,t,n){var i=n(0),r=n(98);i(i.S+i.F*(r!=Math.expm1),"Math",{expm1:r})},function(e,t,n){var i=n(0);i(i.S,"Math",{fround:n(236)})},function(e,t,n){var i=n(97),r=Math.pow,o=r(2,-52),a=r(2,-23),s=r(2,127)*(2-a),l=r(2,-126);e.exports=Math.fround||function(e){var t,n,r=Math.abs(e),u=i(e);return r<l?u*(r/l/a+1/o-1/o)*l*a:(n=(t=(1+a/o)*r)-(t-r))>s||n!=n?u*(1/0):u*n}},function(e,t,n){var i=n(0),r=Math.abs;i(i.S,"Math",{hypot:function(e,t){for(var n,i,o=0,a=0,s=arguments.length,l=0;a<s;)l<(n=r(arguments[a++]))?(o=o*(i=l/n)*i+1,l=n):o+=n>0?(i=n/l)*i:n;return l===1/0?1/0:l*Math.sqrt(o)}})},function(e,t,n){var i=n(0),r=Math.imul;i(i.S+i.F*n(3)((function(){return-5!=r(4294967295,5)||2!=r.length})),"Math",{imul:function(e,t){var n=+e,i=+t,r=65535&n,o=65535&i;return 0|r*o+((65535&n>>>16)*o+r*(65535&i>>>16)<<16>>>0)}})},function(e,t,n){var i=n(0);i(i.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var i=n(0);i(i.S,"Math",{log1p:n(137)})},function(e,t,n){var i=n(0);i(i.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var i=n(0);i(i.S,"Math",{sign:n(97)})},function(e,t,n){var i=n(0),r=n(98),o=Math.exp;i(i.S+i.F*n(3)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(r(e)-r(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},function(e,t,n){var i=n(0),r=n(98),o=Math.exp;i(i.S,"Math",{tanh:function(e){var t=r(e=+e),n=r(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-e))}})},function(e,t,n){var i=n(0);i(i.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var i=n(0),r=n(44),o=String.fromCharCode,a=String.fromCodePoint;i(i.S+i.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],i=arguments.length,a=0;i>a;){if(t=+arguments[a++],r(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var i=n(0),r=n(18),o=n(8);i(i.S,"String",{raw:function(e){for(var t=r(e.raw),n=o(t.length),i=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<i&&a.push(String(arguments[s]));return a.join("")}})},function(e,t,n){"use strict";n(52)("trim",(function(e){return function(){return e(this,3)}}))},function(e,t,n){"use strict";var i=n(99)(!0);n(100)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var i=n(0),r=n(99)(!1);i(i.P,"String",{codePointAt:function(e){return r(this,e)}})},function(e,t,n){"use strict";var i=n(0),r=n(8),o=n(101),a="".endsWith;i(i.P+i.F*n(103)("endsWith"),"String",{endsWith:function(e){var t=o(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,i=r(t.length),s=void 0===n?i:Math.min(r(n),i),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,n){"use strict";var i=n(0),r=n(101);i(i.P+i.F*n(103)("includes"),"String",{includes:function(e){return!!~r(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var i=n(0);i(i.P,"String",{repeat:n(96)})},function(e,t,n){"use strict";var i=n(0),r=n(8),o=n(101),a="".startsWith;i(i.P+i.F*n(103)("startsWith"),"String",{startsWith:function(e){var t=o(this,e,"startsWith"),n=r(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return a?a.call(t,i,n):t.slice(n,n+i.length)===i}})},function(e,t,n){"use strict";n(15)("anchor",(function(e){return function(t){return e(this,"a","name",t)}}))},function(e,t,n){"use strict";n(15)("big",(function(e){return function(){return e(this,"big","","")}}))},function(e,t,n){"use strict";n(15)("blink",(function(e){return function(){return e(this,"blink","","")}}))},function(e,t,n){"use strict";n(15)("bold",(function(e){return function(){return e(this,"b","","")}}))},function(e,t,n){"use strict";n(15)("fixed",(function(e){return function(){return e(this,"tt","","")}}))},function(e,t,n){"use strict";n(15)("fontcolor",(function(e){return function(t){return e(this,"font","color",t)}}))},function(e,t,n){"use strict";n(15)("fontsize",(function(e){return function(t){return e(this,"font","size",t)}}))},function(e,t,n){"use strict";n(15)("italics",(function(e){return function(){return e(this,"i","","")}}))},function(e,t,n){"use strict";n(15)("link",(function(e){return function(t){return e(this,"a","href",t)}}))},function(e,t,n){"use strict";n(15)("small",(function(e){return function(){return e(this,"small","","")}}))},function(e,t,n){"use strict";n(15)("strike",(function(e){return function(){return e(this,"strike","","")}}))},function(e,t,n){"use strict";n(15)("sub",(function(e){return function(){return e(this,"sub","","")}}))},function(e,t,n){"use strict";n(15)("sup",(function(e){return function(){return e(this,"sup","","")}}))},function(e,t,n){var i=n(0);i(i.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var i=n(0),r=n(12),o=n(36);i(i.P+i.F*n(3)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(e){var t=r(this),n=o(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var i=n(0),r=n(271);i(i.P+i.F*(Date.prototype.toISOString!==r),"Date",{toISOString:r})},function(e,t,n){"use strict";var i=n(3),r=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=i((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))}))||!i((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(r.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),i=t<0?"-":t>9999?"+":"";return i+("00000"+Math.abs(t)).slice(i?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:o},function(e,t,n){var i=Date.prototype,r=i.toString,o=i.getTime;new Date(NaN)+""!="Invalid Date"&&n(14)(i,"toString",(function(){var e=o.call(this);return e==e?r.call(this):"Invalid Date"}))},function(e,t,n){var i=n(7)("toPrimitive"),r=Date.prototype;i in r||n(17)(r,i,n(274))},function(e,t,n){"use strict";var i=n(4),r=n(36);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return r(i(this),"number"!=e)}},function(e,t,n){var i=n(0);i(i.S,"Array",{isArray:n(70)})},function(e,t,n){"use strict";var i=n(21),r=n(0),o=n(12),a=n(139),s=n(104),l=n(8),u=n(105),c=n(106);r(r.S+r.F*!n(71)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,r,d,h=o(e),f="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,v=void 0!==m,g=0,b=c(h);if(v&&(m=i(m,p>2?arguments[2]:void 0,2)),null==b||f==Array&&s(b))for(n=new f(t=l(h.length));t>g;g++)u(n,g,v?m(h[g],g):h[g]);else for(d=b.call(h),n=new f;!(r=d.next()).done;g++)u(n,g,v?a(d,m,[r.value,g],!0):r.value);return n.length=g,n}})},function(e,t,n){"use strict";var i=n(0),r=n(105);i(i.S+i.F*n(3)((function(){function e(){}return!(Array.of.call(e)instanceof e)})),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)r(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var i=n(0),r=n(18),o=[].join;i(i.P+i.F*(n(59)!=Object||!n(20)(o)),"Array",{join:function(e){return o.call(r(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var i=n(0),r=n(92),o=n(32),a=n(44),s=n(8),l=[].slice;i(i.P+i.F*n(3)((function(){r&&l.call(r)})),"Array",{slice:function(e,t){var n=s(this.length),i=o(this);if(t=void 0===t?n:t,"Array"==i)return l.call(this,e,t);for(var r=a(e,n),u=a(t,n),c=s(u-r),d=new Array(c),h=0;h<c;h++)d[h]="String"==i?this.charAt(r+h):this[r+h];return d}})},function(e,t,n){"use strict";var i=n(0),r=n(22),o=n(12),a=n(3),s=[].sort,l=[1,2,3];i(i.P+i.F*(a((function(){l.sort(void 0)}))||!a((function(){l.sort(null)}))||!n(20)(s)),"Array",{sort:function(e){return void 0===e?s.call(o(this)):s.call(o(this),r(e))}})},function(e,t,n){"use strict";var i=n(0),r=n(26)(0),o=n(20)([].forEach,!0);i(i.P+i.F*!o,"Array",{forEach:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(5),r=n(70),o=n(7)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var i=n(0),r=n(26)(1);i(i.P+i.F*!n(20)([].map,!0),"Array",{map:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var i=n(0),r=n(26)(2);i(i.P+i.F*!n(20)([].filter,!0),"Array",{filter:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var i=n(0),r=n(26)(3);i(i.P+i.F*!n(20)([].some,!0),"Array",{some:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var i=n(0),r=n(26)(4);i(i.P+i.F*!n(20)([].every,!0),"Array",{every:function(e){return r(this,e,arguments[1])}})},function(e,t,n){"use strict";var i=n(0),r=n(141);i(i.P+i.F*!n(20)([].reduce,!0),"Array",{reduce:function(e){return r(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var i=n(0),r=n(141);i(i.P+i.F*!n(20)([].reduceRight,!0),"Array",{reduceRight:function(e){return r(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var i=n(0),r=n(68)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(a||!n(20)(o)),"Array",{indexOf:function(e){return a?o.apply(this,arguments)||0:r(this,e,arguments[1])}})},function(e,t,n){"use strict";var i=n(0),r=n(18),o=n(23),a=n(8),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;i(i.P+i.F*(l||!n(20)(s)),"Array",{lastIndexOf:function(e){if(l)return s.apply(this,arguments)||0;var t=r(this),n=a(t.length),i=n-1;for(arguments.length>1&&(i=Math.min(i,o(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}})},function(e,t,n){var i=n(0);i(i.P,"Array",{copyWithin:n(142)}),n(48)("copyWithin")},function(e,t,n){var i=n(0);i(i.P,"Array",{fill:n(107)}),n(48)("fill")},function(e,t,n){"use strict";var i=n(0),r=n(26)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),i(i.P+i.F*o,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(48)("find")},function(e,t,n){"use strict";var i=n(0),r=n(26)(6),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),i(i.P+i.F*a,"Array",{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(48)(o)},function(e,t,n){n(54)("Array")},function(e,t,n){var i=n(2),r=n(95),o=n(11).f,a=n(46).f,s=n(102),l=n(72),u=i.RegExp,c=u,d=u.prototype,h=/a/g,f=/a/g,p=new u(h)!==h;if(n(10)&&(!p||n(3)((function(){return f[n(7)("match")]=!1,u(h)!=h||u(f)==f||"/a/i"!=u(h,"i")})))){u=function(e,t){var n=this instanceof u,i=s(e),o=void 0===t;return!n&&i&&e.constructor===u&&o?e:r(p?new c(i&&!o?e.source:e,t):c((i=e instanceof u)?e.source:e,i&&o?l.call(e):t),n?this:d,u)};for(var m=function(e){e in u||o(u,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})},v=a(c),g=0;v.length>g;)m(v[g++]);d.constructor=u,u.prototype=d,n(14)(i,"RegExp",u)}n(54)("RegExp")},function(e,t,n){"use strict";n(145);var i=n(4),r=n(72),o=n(10),a=/./.toString,s=function(e){n(14)(RegExp.prototype,"toString",e,!0)};n(3)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var e=i(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?r.call(e):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},function(e,t,n){"use strict";var i=n(4),r=n(8),o=n(110),a=n(73);n(74)("match",1,(function(e,t,n,s){return[function(n){var i=e(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=s(n,e,this);if(t.done)return t.value;var l=i(e),u=String(this);if(!l.global)return a(l,u);var c=l.unicode;l.lastIndex=0;for(var d,h=[],f=0;null!==(d=a(l,u));){var p=String(d[0]);h[f]=p,""===p&&(l.lastIndex=o(u,r(l.lastIndex),c)),f++}return 0===f?null:h}]}))},function(e,t,n){"use strict";var i=n(4),r=n(12),o=n(8),a=n(23),s=n(110),l=n(73),u=Math.max,c=Math.min,d=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;n(74)("replace",2,(function(e,t,n,p){return[function(i,r){var o=e(this),a=null==i?void 0:i[t];return void 0!==a?a.call(i,o,r):n.call(String(o),i,r)},function(e,t){var r=p(n,e,this,t);if(r.done)return r.value;var d=i(e),h=String(this),f="function"==typeof t;f||(t=String(t));var v=d.global;if(v){var g=d.unicode;d.lastIndex=0}for(var b=[];;){var y=l(d,h);if(null===y)break;if(b.push(y),!v)break;""===String(y[0])&&(d.lastIndex=s(h,o(d.lastIndex),g))}for(var w,x="",S=0,_=0;_<b.length;_++){y=b[_];for(var k=String(y[0]),E=u(c(a(y.index),h.length),0),C=[],T=1;T<y.length;T++)C.push(void 0===(w=y[T])?w:String(w));var M=y.groups;if(f){var A=[k].concat(C,E,h);void 0!==M&&A.push(M);var P=String(t.apply(void 0,A))}else P=m(k,h,E,C,M,t);E>=S&&(x+=h.slice(S,E)+P,S=E+k.length)}return x+h.slice(S)}];function m(e,t,i,o,a,s){var l=i+e.length,u=o.length,c=f;return void 0!==a&&(a=r(a),c=h),n.call(s,c,(function(n,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,i);case"'":return t.slice(l);case"<":s=a[r.slice(1,-1)];break;default:var c=+r;if(0===c)return n;if(c>u){var h=d(c/10);return 0===h?n:h<=u?void 0===o[h-1]?r.charAt(1):o[h-1]+r.charAt(1):n}s=o[c-1]}return void 0===s?"":s}))}}))},function(e,t,n){"use strict";var i=n(4),r=n(130),o=n(73);n(74)("search",1,(function(e,t,n,a){return[function(n){var i=e(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=a(n,e,this);if(t.done)return t.value;var s=i(e),l=String(this),u=s.lastIndex;r(u,0)||(s.lastIndex=0);var c=o(s,l);return r(s.lastIndex,u)||(s.lastIndex=u),null===c?-1:c.index}]}))},function(e,t,n){"use strict";var i=n(102),r=n(4),o=n(62),a=n(110),s=n(8),l=n(73),u=n(109),c=n(3),d=Math.min,h=[].push,f="length",p=!c((function(){RegExp(4294967295,"y")}));n(74)("split",2,(function(e,t,n,c){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[f]||2!="ab".split(/(?:ab)*/)[f]||4!=".".split(/(.?)(.?)/)[f]||".".split(/()()/)[f]>1||"".split(/.?/)[f]?function(e,t){var r=String(this);if(void 0===e&&0===t)return[];if(!i(e))return n.call(r,e,t);for(var o,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,p=void 0===t?4294967295:t>>>0,m=new RegExp(e.source,c+"g");(o=u.call(m,r))&&!((a=m.lastIndex)>d&&(l.push(r.slice(d,o.index)),o[f]>1&&o.index<r[f]&&h.apply(l,o.slice(1)),s=o[0][f],d=a,l[f]>=p));)m.lastIndex===o.index&&m.lastIndex++;return d===r[f]?!s&&m.test("")||l.push(""):l.push(r.slice(d)),l[f]>p?l.slice(0,p):l}:"0".split(void 0,0)[f]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,i){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r,i):m.call(String(r),n,i)},function(e,t){var i=c(m,e,this,t,m!==n);if(i.done)return i.value;var u=r(e),h=String(this),f=o(u,RegExp),v=u.unicode,g=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(p?"y":"g"),b=new f(p?u:"^(?:"+u.source+")",g),y=void 0===t?4294967295:t>>>0;if(0===y)return[];if(0===h.length)return null===l(b,h)?[h]:[];for(var w=0,x=0,S=[];x<h.length;){b.lastIndex=p?x:0;var _,k=l(b,p?h:h.slice(x));if(null===k||(_=d(s(b.lastIndex+(p?0:x)),h.length))===w)x=a(h,x,v);else{if(S.push(h.slice(w,x)),S.length===y)return S;for(var E=1;E<=k.length-1;E++)if(S.push(k[E]),S.length===y)return S;x=w=_}}return S.push(h.slice(w)),S}]}))},function(e,t,n){var i=n(2),r=n(111).set,o=i.MutationObserver||i.WebKitMutationObserver,a=i.process,s=i.Promise,l="process"==n(32)(a);e.exports=function(){var e,t,n,u=function(){var i,r;for(l&&(i=a.domain)&&i.exit();e;){r=e.fn,e=e.next;try{r()}catch(i){throw e?n():t=void 0,i}}t=void 0,i&&i.enter()};if(l)n=function(){a.nextTick(u)};else if(!o||i.navigator&&i.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){r.call(i,u)};else{var d=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=d=!d}}return function(i){var r={fn:i,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){"use strict";var i=n(149),r=n(49);e.exports=n(77)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=i.getEntry(r(this,"Map"),e);return t&&t.v},set:function(e,t){return i.def(r(this,"Map"),0===e?0:e,t)}},i,!0)},function(e,t,n){"use strict";var i=n(149),r=n(49);e.exports=n(77)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return i.def(r(this,"Set"),e=0===e?0:e,e)}},i)},function(e,t,n){"use strict";var i,r=n(2),o=n(26)(0),a=n(14),s=n(37),l=n(129),u=n(150),c=n(5),d=n(49),h=n(49),f=!r.ActiveXObject&&"ActiveXObject"in r,p=s.getWeak,m=Object.isExtensible,v=u.ufstore,g=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},b={get:function(e){if(c(e)){var t=p(e);return!0===t?v(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(d(this,"WeakMap"),e,t)}},y=e.exports=n(77)("WeakMap",g,b,u,!0,!0);h&&f&&(l((i=u.getConstructor(g,"WeakMap")).prototype,b),s.NEED=!0,o(["delete","has","get","set"],(function(e){var t=y.prototype,n=t[e];a(t,e,(function(t,r){if(c(t)&&!m(t)){this._f||(this._f=new i);var o=this._f[e](t,r);return"set"==e?this:o}return n.call(this,t,r)}))})))},function(e,t,n){"use strict";var i=n(150),r=n(49);n(77)("WeakSet",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return i.def(r(this,"WeakSet"),e,!0)}},i,!1,!0)},function(e,t,n){"use strict";var i=n(0),r=n(78),o=n(112),a=n(4),s=n(44),l=n(8),u=n(5),c=n(2).ArrayBuffer,d=n(62),h=o.ArrayBuffer,f=o.DataView,p=r.ABV&&c.isView,m=h.prototype.slice,v=r.VIEW;i(i.G+i.W+i.F*(c!==h),{ArrayBuffer:h}),i(i.S+i.F*!r.CONSTR,"ArrayBuffer",{isView:function(e){return p&&p(e)||u(e)&&v in e}}),i(i.P+i.U+i.F*n(3)((function(){return!new h(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(a(this),e);for(var n=a(this).byteLength,i=s(e,n),r=s(void 0===t?n:t,n),o=new(d(this,h))(l(r-i)),u=new f(this),c=new f(o),p=0;i<r;)c.setUint8(p++,u.getUint8(i++));return o}}),n(54)("ArrayBuffer")},function(e,t,n){var i=n(0);i(i.G+i.W+i.F*!n(78).ABV,{DataView:n(112).DataView})},function(e,t,n){n(34)("Int8",1,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){n(34)("Uint8",1,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){n(34)("Uint8",1,(function(e){return function(t,n,i){return e(this,t,n,i)}}),!0)},function(e,t,n){n(34)("Int16",2,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){n(34)("Uint16",2,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){n(34)("Int32",4,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){n(34)("Uint32",4,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){n(34)("Float32",4,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){n(34)("Float64",8,(function(e){return function(t,n,i){return e(this,t,n,i)}}))},function(e,t,n){var i=n(0),r=n(22),o=n(4),a=(n(2).Reflect||{}).apply,s=Function.apply;i(i.S+i.F*!n(3)((function(){a((function(){}))})),"Reflect",{apply:function(e,t,n){var i=r(e),l=o(n);return a?a(i,t,l):s.call(i,t,l)}})},function(e,t,n){var i=n(0),r=n(45),o=n(22),a=n(4),s=n(5),l=n(3),u=n(131),c=(n(2).Reflect||{}).construct,d=l((function(){function e(){}return!(c((function(){}),[],e)instanceof e)})),h=!l((function(){c((function(){}))}));i(i.S+i.F*(d||h),"Reflect",{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(h&&!d)return c(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var i=[null];return i.push.apply(i,t),new(u.apply(e,i))}var l=n.prototype,f=r(s(l)?l:Object.prototype),p=Function.apply.call(e,f,t);return s(p)?p:f}})},function(e,t,n){var i=n(11),r=n(0),o=n(4),a=n(36);r(r.S+r.F*n(3)((function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(e,t,n){o(e),t=a(t,!0),o(n);try{return i.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var i=n(0),r=n(24).f,o=n(4);i(i.S,"Reflect",{deleteProperty:function(e,t){var n=r(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var i=n(0),r=n(4),o=function(e){this._t=r(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(138)(o,"Object",(function(){var e,t=this._k;do{if(this._i>=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}})),i(i.S,"Reflect",{enumerate:function(e){return new o(e)}})},function(e,t,n){var i=n(24),r=n(47),o=n(16),a=n(0),s=n(5),l=n(4);a(a.S,"Reflect",{get:function e(t,n){var a,u,c=arguments.length<3?t:arguments[2];return l(t)===c?t[n]:(a=i.f(t,n))?o(a,"value")?a.value:void 0!==a.get?a.get.call(c):void 0:s(u=r(t))?e(u,n,c):void 0}})},function(e,t,n){var i=n(24),r=n(0),o=n(4);r(r.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return i.f(o(e),t)}})},function(e,t,n){var i=n(0),r=n(47),o=n(4);i(i.S,"Reflect",{getPrototypeOf:function(e){return r(o(e))}})},function(e,t,n){var i=n(0);i(i.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var i=n(0),r=n(4),o=Object.isExtensible;i(i.S,"Reflect",{isExtensible:function(e){return r(e),!o||o(e)}})},function(e,t,n){var i=n(0);i(i.S,"Reflect",{ownKeys:n(152)})},function(e,t,n){var i=n(0),r=n(4),o=Object.preventExtensions;i(i.S,"Reflect",{preventExtensions:function(e){r(e);try{return o&&o(e),!0}catch(e){return!1}}})},function(e,t,n){var i=n(11),r=n(24),o=n(47),a=n(16),s=n(0),l=n(40),u=n(4),c=n(5);s(s.S,"Reflect",{set:function e(t,n,s){var d,h,f=arguments.length<4?t:arguments[3],p=r.f(u(t),n);if(!p){if(c(h=o(t)))return e(h,n,s,f);p=l(0)}if(a(p,"value")){if(!1===p.writable||!c(f))return!1;if(d=r.f(f,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=s,i.f(f,n,d)}else i.f(f,n,l(0,s));return!0}return void 0!==p.set&&(p.set.call(f,s),!0)}})},function(e,t,n){var i=n(0),r=n(93);r&&i(i.S,"Reflect",{setPrototypeOf:function(e,t){r.check(e,t);try{return r.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){n(334),e.exports=n(9).Array.includes},function(e,t,n){"use strict";var i=n(0),r=n(68)(!0);i(i.P,"Array",{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n(48)("includes")},function(e,t,n){n(336),e.exports=n(9).Array.flatMap},function(e,t,n){"use strict";var i=n(0),r=n(337),o=n(12),a=n(8),s=n(22),l=n(140);i(i.P,"Array",{flatMap:function(e){var t,n,i=o(this);return s(e),t=a(i.length),n=l(i,0),r(n,i,i,t,0,1,e,arguments[1]),n}}),n(48)("flatMap")},function(e,t,n){"use strict";var i=n(70),r=n(5),o=n(8),a=n(21),s=n(7)("isConcatSpreadable");e.exports=function e(t,n,l,u,c,d,h,f){for(var p,m,v=c,g=0,b=!!h&&a(h,f,3);g<u;){if(g in l){if(p=b?b(l[g],g,n):l[g],m=!1,r(p)&&(m=void 0!==(m=p[s])?!!m:i(p)),m&&d>0)v=e(t,n,p,o(p.length),v,d-1)-1;else{if(v>=9007199254740991)throw TypeError();t[v]=p}v++}g++}return v}},function(e,t,n){n(339),e.exports=n(9).String.padStart},function(e,t,n){"use strict";var i=n(0),r=n(153),o=n(76),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);i(i.P+i.F*a,"String",{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){n(341),e.exports=n(9).String.padEnd},function(e,t,n){"use strict";var i=n(0),r=n(153),o=n(76),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);i(i.P+i.F*a,"String",{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){n(343),e.exports=n(9).String.trimLeft},function(e,t,n){"use strict";n(52)("trimLeft",(function(e){return function(){return e(this,1)}}),"trimStart")},function(e,t,n){n(345),e.exports=n(9).String.trimRight},function(e,t,n){"use strict";n(52)("trimRight",(function(e){return function(){return e(this,2)}}),"trimEnd")},function(e,t,n){n(347),e.exports=n(89).f("asyncIterator")},function(e,t,n){n(125)("asyncIterator")},function(e,t,n){n(349),e.exports=n(9).Object.getOwnPropertyDescriptors},function(e,t,n){var i=n(0),r=n(152),o=n(18),a=n(24),s=n(105);i(i.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,i=o(e),l=a.f,u=r(i),c={},d=0;u.length>d;)void 0!==(n=l(i,t=u[d++]))&&s(c,t,n);return c}})},function(e,t,n){n(351),e.exports=n(9).Object.values},function(e,t,n){var i=n(0),r=n(154)(!1);i(i.S,"Object",{values:function(e){return r(e)}})},function(e,t,n){n(353),e.exports=n(9).Object.entries},function(e,t,n){var i=n(0),r=n(154)(!0);i(i.S,"Object",{entries:function(e){return r(e)}})},function(e,t,n){"use strict";n(146),n(355),e.exports=n(9).Promise.finally},function(e,t,n){"use strict";var i=n(0),r=n(9),o=n(2),a=n(62),s=n(148);i(i.P+i.R,"Promise",{finally:function(e){var t=a(this,r.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){n(357),n(358),n(359),e.exports=n(9)},function(e,t,n){var i=n(2),r=n(0),o=n(76),a=[].slice,s=/MSIE .\./.test(o),l=function(e){return function(t,n){var i=arguments.length>2,r=!!i&&a.call(arguments,2);return e(i?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};r(r.G+r.B+r.F*s,{setTimeout:l(i.setTimeout),setInterval:l(i.setInterval)})},function(e,t,n){var i=n(0),r=n(111);i(i.G+i.B,{setImmediate:r.set,clearImmediate:r.clear})},function(e,t,n){for(var i=n(108),r=n(43),o=n(14),a=n(2),s=n(17),l=n(53),u=n(7),c=u("iterator"),d=u("toStringTag"),h=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=r(f),m=0;m<p.length;m++){var v,g=p[m],b=f[g],y=a[g],w=y&&y.prototype;if(w&&(w[c]||s(w,c,h),w[d]||s(w,d,g),l[g]=h,b))for(v in i)w[v]||o(w,v,i[v],!0)}},function(e,t,n){(function(t){var n=function(e){"use strict";var n=Object.prototype,i=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}
vendor: 4,138 bytes, line 2
2try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,i){var r=t&&t.prototype instanceof h?t:h,o=Object.create(r.prototype),a=new k(i||[]);return o._invoke=function(e,t,n){var i="suspendedStart";return function(r,o){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===r)throw o;return C()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===d)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var l=c(e,t,n);if("normal"===l.type){if(i=n.done?"completed":"suspendedYield",l.arg===d)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),o}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d={};function h(){}function f(){}function p(){}var m={};l(m,o,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(E([])));g&&g!==n&&i.call(g,o)&&(m=g);var b=p.prototype=h.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){var n;this._invoke=function(r,o){function a(){return new t((function(n,a){!function n(r,o,a,s){var l=c(e[r],e,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==typeof d&&i.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}(r,o,n,a)}))}return n=n?n.then(a,a):a()}}function x(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var i=c(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,d;var r=i.arg;return r?r.done?(t[e.resultName]=r.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):r:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function E(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(i.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:C}}function C(){return{value:void 0,done:!0}}return f.prototype=p,l(b,"constructor",p),l(p,"constructor",f),f.displayName=l(p,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,l(e,s,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(w.prototype),l(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(n,i,r,o,a){void 0===a&&(a=t);var s=new w(u(n,i,r,o),a);return e.isGeneratorFunction(i)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},y(b),l(b,s,"Generator"),l(b,o,(function(){return this})),l(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var i=t.pop();if(i in e)return n.value=i,n.done=!1,n}return n.done=!0,n}},e.values=E,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
2h(_),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,i){return a.type="throw",a.arg=e,t.next=n,i&&(t.method="next",t.arg=void 0),!!i}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;_(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}(e.exports);try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}}).call(this,n(155))},function(e,t){var n,i,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var l,u=[],c=!1,d=-1;function h(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&f())}function f(){if(!c){var e=s(h);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||c||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){n(363),e.exports=n(156).global},function(e,t,n){var i=n(364);i(i.G,{global:n(113)})},function(e,t,n){var i=n(113),r=n(156),o=n(365),a=n(367),s=n(374),l=function(e,t,n){var u,c,d,h=e&l.F,f=e&l.G,p=e&l.S,m=e&l.P,v=e&l.B,g=e&l.W,b=f?r:r[t]||(r[t]={}),y=b.prototype,w=f?i:p?i[t]:(i[t]||{}).prototype;for(u in f&&(n=t),n)(c=!h&&w&&void 0!==w[u])&&s(b,u)||(d=c?w[u]:n[u],b[u]=f&&"function"!=typeof w[u]?n[u]:v&&c?o(d,i):g&&w[u]==d?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((b.virtual||(b.virtual={}))[u]=d,e&l.R&&y&&!y[u]&&a(y,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var i=n(366);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(368),r=n(373);e.exports=n(115)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(369),r=n(370),o=n(372),a=Object.defineProperty;t.f=n(115)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(114);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(115)&&!n(157)((function(){return 7!=Object.defineProperty(n(371)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var i=n(114),r=n(113).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},function(e,t,n){var i=n(114);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){(function(e){var i;function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}window.matchMedia||(window.matchMedia=function(){"use strict";var e=window.styleMedia||window.media;if(!e){var t,n=document.createElement("style"),i=document.getElementsByTagName("script")[0];n.type="text/css",n.id="matchmediajs-test",i.parentNode.insertBefore(n,i),t="getComputedStyle"in window&&window.getComputedStyle(n,null)||n.currentStyle,e={matchMedium:function(e){var i="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return n.styleSheet?n.styleSheet.cssText=i:n.textContent=i,"1px"===t.width}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}()),function(o,a,s){"use strict";function l(a){"object"===r(e)&&"object"===r(e.exports)?e.exports=a:void 0===(i=function(){return a}.call(t,n,t,e))||(e.exports=i),"object"===r(o)&&(o.picturefill=a)}if(o.HTMLPictureElement)l((function(){}));else{a.createElement("picture");var u,c,d,h=o.picturefill||{},f=/\s+\+?\d+(e\d+)?w/;h.ns="picturefill",h.srcsetSupported="srcset"in s,h.sizesSupported="sizes"in s,h.curSrcSupported="currentSrc"in s,h.trim=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},h.makeUrl=(u=a.createElement("a"),function(e){return u.href=e,u.href}),h.restrictsMixedContent=function(){return"https:"===o.location.protocol},h.matchesMedia=function(e){return o.matchMedia&&o.matchMedia(e).matches},h.getDpr=function(){return o.devicePixelRatio||1},h.getWidthFromLength=function(e){var t;if(!e||e.indexOf("%")>-1!=!1||!(parseFloat(e)>0||e.indexOf("calc(")>-1))return!1;e=e.replace("vw","%"),h.lengthEl||(h.lengthEl=a.createElement("div"),h.lengthEl.style.cssText="border:0;display:block;font-size:1em;
2left:0;margin:0;padding:0;position:absolute;visibility:hidden",h.lengthEl.className="helper-from-picturefill-js"),h.lengthEl.style.width="0px";try{h.lengthEl.style.width=e}catch(e){}return a.body.appendChild(h.lengthEl),(t=h.lengthEl.offsetWidth)<=0&&(t=!1),a.body.removeChild(h.lengthEl),t},h.detectTypeSupport=function(e,t){var n=new o.Image;return n.onerror=function(){h.types[e]=!1,p()},n.onload=function(){h.types[e]=1===n.width,p()},n.src=t,"pending"},h.types=h.types||{},h.initTypeDetects=function(){h.types["image/jpeg"]=!0,h.types["image/gif"]=!0,h.types["image/png"]=!0,h.types["image/svg+xml"]=a.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1"),h.types["image/webp"]=h.detectTypeSupport("image/webp","data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAAAAAAfQ//73v/+BiOh/AAA=")},h.verifyTypeSupport=function(e){var t=e.getAttribute("type");if(null===t||""===t)return!0;var n=h.types[t];return"string"==typeof n&&"pending"!==n?(h.types[t]=h.detectTypeSupport(t,n),"pending"):"function"==typeof n?(n(),"pending"):n},h.parseSize=function(e){var t=/(\([^)]+\))?\s*(.+)/g.exec(e);return{media:t&&t[1],length:t&&t[2]}},h.findWidthFromSourceSize=function(e){for(var t,n=h.trim(e).split(/\s*,\s*/),i=0,r=n.length;i<r;i++){var s=n[i],l=h.parseSize(s),u=l.length,c=l.media;if(u&&((!c||h.matchesMedia(c))&&(t=h.getWidthFromLength(u))))break}return t||Math.max(o.innerWidth||0,a.documentElement.clientWidth)},h.parseSrcset=function(e){for(var t=[];""!==e;){var n,i=(e=e.replace(/^\s+/g,"")).search(/\s/g),r=null;if(-1!==i){if(","!==(n=e.slice(0,i)).slice(-1)&&""!==n||(n=n.replace(/,+$/,""),r=""),e=e.slice(i+1),null===r){var o=e.indexOf(",");-1!==o?(r=e.slice(0,o),e=e.slice(o+1)):(r=e,e="")}}else n=e,e="";(n||r)&&t.push({url:n,descriptor:r})}return t},h.parseDescriptor=function(e,t){var n,i=t||"100vw",r=e&&e.replace(/(^\s+|\s+$)/g,""),o=h.findWidthFromSourceSize(i);if(r)for(var a=r.split(" "),s=a.length-1;s>=0;s--){var l=a[s],u=l&&l.slice(l.length-1);if("h"!==u&&"w"!==u||h.sizesSupported){if("x"===u){var c=l&&parseFloat(l,10);n=c&&!isNaN(c)?c:1}}else n=parseFloat(parseInt(l,10)/o)}return n||1},h.getCandidatesFromSourceSet=function(e,t){for(var n=h.parseSrcset(e),i=[],r=0,o=n.length;r<o;r++){var a=n[r];i.push({url:a.url,resolution:h.parseDescriptor(a.descriptor,t)})}return i},h.dodgeSrcset=function(e){e.srcset&&(e[h.ns].srcset=e.srcset,e.srcset="",e.setAttribute("data-pfsrcset",e[h.ns].srcset))},h.processSourceSet=function(e){var t=e.getAttribute("srcset"),n=e.getAttribute("sizes"),i=[];return"IMG"===e.nodeName.toUpperCase()&&e[h.ns]&&e[h.ns].srcset&&(t=e[h.ns].srcset),t&&(i=h.getCandidatesFromSourceSet(t,n)),i},h.backfaceVisibilityFix=function(e){var t=e.style||{},n="webkitBackfaceVisibility"in t,i=t.zoom;n&&(t.zoom=".999",n=e.offsetWidth,t.zoom=i)},h.setIntrinsicSize=(c={},d=function(e,t,n){t&&e.setAttribute("width",parseInt(t/n,10))},function(e,t){var n;e[h.ns]&&!o.pfStopIntrinsicSize&&(void 0===e[h.ns].dims&&(e[h.ns].dims=e.getAttribute("width")||e.getAttribute("height")),e[h.ns].dims||(t.url in c?d(e,c[t.url],t.resolution):((n=a.createElement("img")).onload=function(){if(c[t.url]=n.width,!c[t.url])try{a.body.appendChild(n),c[t.url]=n.width||n.offsetWidth,a.body.removeChild(n)}catch(e){}e.src===t.url&&d(e,c[t.url],t.resolution),e=null,n.onload=null,n=null},n.src=t.url)))}),h.applyBestCandidate=function(e,t){var n,i,r;e.sort(h.ascendingSort),r=e[(i=e.length)-1];for(var o=0;o<i;o++)if((n=e[o]).resolution>=h.getDpr()){r=n;break}r&&(r.url=h.makeUrl(r.url),t.src!==r.url&&(h.restrictsMixedContent()&&"http:"===r.url.substr(0,"http:".length).toLowerCase()?void 0!==window.console&&console.warn("Blocked mixed content image "+r.url):(t.src=r.url,h.curSrcSupported||(t.currentSrc=t.src),h.backfaceVisibilityFix(t))),h.setIntrinsicSize(t,r))},h.ascendingSort=function(e,t){return e.resolution-t.resolution},h.removeVideoShim=function(e){var t=e.getElementsByTagName("video");if(t.length){for(var n=t[0],i=n.getElementsByTagName("source");i.length;)e.insertBefore(i[0],n);n.parentNode.removeChild(n)}},h.getAllElements=function(){for(var e=[],t=a.getElementsByTagName("img"),n=0,i=t.length;n<i;n++){var r=t[n];("PICTURE"===r.parentNode.nodeName.toUpperCase()||null!==r.getAttribute("srcset")||r[h.ns]&&null!==r[h.ns].srcset)&&e.push(r)}return e},h.getMatch=function(e,t){for(var n,i=t.childNodes,o=0,a=i.length;o<a;o++){var s=i[o];if(1===s.nodeType){if(s===e)return n;
2if("SOURCE"===s.nodeName.toUpperCase()){null!==s.getAttribute("src")&&void 0!==("undefined"==typeof console?"undefined":r(console))&&console.warn("The `src` attribute is invalid on `picture` `source` element; instead, use `srcset`.");var l=s.getAttribute("media");if(s.getAttribute("srcset")&&(!l||h.matchesMedia(l))){var u=h.verifyTypeSupport(s);if(!0===u){n=s;break}if("pending"===u)return!1}}}}return n},function(){h.initTypeDetects(),p();var e,t=setInterval((function(){p(),/^loaded|^i|^c/.test(a.readyState)&&clearInterval(t)}),250),n=function(){p({reevaluate:!0})};function i(){clearTimeout(e),e=setTimeout(n,60)}o.addEventListener?o.addEventListener("resize",i,!1):o.attachEvent&&o.attachEvent("onresize",i)}(),p._=h,l(p)}function p(e){for(var t,n,i,r,o,a=e||{},s=0,l=(t=a.elements||h.getAllElements()).length;s<l;s++)if(i=(n=t[s]).parentNode,r=void 0,o=void 0,"IMG"===n.nodeName.toUpperCase()&&(n[h.ns]||(n[h.ns]={}),a.reevaluate||!n[h.ns].evaluated)){if(i&&"PICTURE"===i.nodeName.toUpperCase()){if(h.removeVideoShim(i),!1===(r=h.getMatch(n,i)))continue}else r=void 0;(i&&"PICTURE"===i.nodeName.toUpperCase()||!h.sizesSupported&&n.srcset&&f.test(n.srcset))&&h.dodgeSrcset(n),r?(o=h.processSourceSet(r),h.applyBestCandidate(o,n)):(o=h.processSourceSet(n),(void 0===n.srcset||n[h.ns].srcset)&&h.applyBestCandidate(o,n)),n[h.ns].evaluated=!0}}}(window,window.document,new window.Image)}).call(this,n(80)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(377)),r=a(n(158)),o=a(n(422));function a(e){return e&&e.__esModule?e:{default:e}}t.default={blur:i.default,disabled:r.default,focus:o.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)({label:"element/blur",context:e});if(!(0,i.default)(t))return null;if("body"===t.nodeName.toLowerCase())return null;if(t.blur)return t.blur(),document.activeElement;var n=(0,o.default)(t);try{n.HTMLElement.prototype.blur.call(t)}catch(e){var a=n.document&&n.document.body;if(!a)return null;var s=a.getAttribute("tabindex");a.setAttribute("tabindex","-1"),a.focus(),s?a.setAttribute("tabindex",s):a.removeAttribute("tabindex")}return n.document.activeElement};var i=a(n(81)),r=a(n(6)),o=a(n(116));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(){var e={activeElement:document.activeElement,windowScrollTop:window.scrollTop,windowScrollLeft:window.scrollLeft,bodyScrollTop:document.body.scrollTop,bodyScrollLeft:document.body.scrollLeft},t=document.createElement("iframe");t.setAttribute("style","position:absolute; position:fixed; top:0; left:-2px; width:1px; height:1px; overflow:hidden;"),t.setAttribute("aria-live","off"),t.setAttribute("aria-busy","true"),t.setAttribute("aria-hidden","true"),document.body.appendChild(t);var n=t.contentWindow,i=n.document;i.open(),i.close();var r=i.createElement("div");return i.body.appendChild(r),e.iframe=t,e.wrapper=r,e.window=n,e.document=i,e}(),n={};return Object.keys(e).map((function(i){n[i]=function(e,t){e.wrapper.innerHTML="";var n="string"==typeof t.element?e.document.createElement(t.element):t.element(e.wrapper,e.document),i=t.mutate&&t.mutate(n,e.wrapper,e.document);i||!1===i||(i=n);return!n.parentNode&&e.wrapper.appendChild(n),i&&i.focus&&i.focus(),t.validate?t.validate(n,i,e.document):e.document.activeElement===i}(t,e[i])})),function(e){e.activeElement===document.body?(document.activeElement&&document.activeElement.blur&&document.activeElement.blur(),o.default.is.IE10&&document.body.focus()):e.activeElement&&e.activeElement.focus&&e.activeElement.focus();document.body.removeChild(e.iframe),window.scrollTop=e.windowScrollTop,window.scrollLeft=e.windowScrollLeft,document.body.scrollTop=e.bodyScrollTop,document.body.scrollLeft=e.bodyScrollLeft}(t),n};var i,r=n(13),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){(function(e,i){var r;(function(){"use strict";var o={function:!0,object:!0},a=o[typeof window]&&window||this,s=a,l=o[typeof t]&&t,u=o[typeof e]&&e&&!e.nodeType&&e,c=l&&u&&"object"==typeof i&&i;!c||c.global!==c&&c.window!==c&&c.self!==c||(a=c);var d=Math.pow(2,53)-1,h=/\bOpera/,f=this,p=Object.prototype,m=p.hasOwnProperty,v=p.toString;function g(e){return(e=String(e)).charAt(0).toUpperCase()+e.slice(1)}function b(e){return e=k(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:g(e)}function y(e,t){for(var n in e)m.call(e,n)&&t(e[n],n,e)}function w(e){return null==e?g(e):v.call(e).slice(8,-1)}function x(e,t){var n=null!=e?typeof e[t]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(n)||"object"==n&&!e[t])}function S(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function _(e,t){var n=null;return function(e,t){var n=-1,i=e?e.length:0;if("number"==typeof i&&i>-1&&i<=d)for(;++n<i;
2)t(e[n],n,e);else y(e,t)}(e,(function(i,r){n=t(n,i,r,e)})),n}function k(e){return String(e).replace(/^ +| +$/g,"")}var E=function e(t){var n=a,i=t&&"object"==typeof t&&"String"!=w(t);i&&(n=t,t=null);var r=n.navigator||{},o=r.userAgent||"";t||(t=o);var l,u,c=i||f==s,d=i?!!r.likeChrome:/\bChrome\b/.test(t)&&!/internal|\n/i.test(v.toString()),p=i?"Object":"ScriptBridgingProxyObject",m=i?"Object":"Environment",g=i&&n.java?"JavaPackage":w(n.java),E=i?"Object":"RuntimeObject",C=/\bJava/.test(g)&&n.java,T=C&&w(n.environment)==m,M=C?"a":"α",A=C?"b":"β",P=n.document||{},O=n.operamini||n.opera,L=h.test(L=i&&O?O["[[Class]]"]:w(O))?L:O=null,I=t,D=[],N=null,j=t==o,F=j&&O&&"function"==typeof O.version&&O.version(),R=_([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"],(function(e,n){return e||RegExp("\\b"+(n.pattern||S(n))+"\\b","i").exec(t)&&(n.label||n)})),B=function(e){return _(e,(function(e,n){return e||RegExp("\\b"+(n.pattern||S(n))+"\\b","i").exec(t)&&(n.label||n)}))}(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt","SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),z=W([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation 3","PlayStation 4","PlayStation Vita","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),H=function(e){return _(e,(function(e,n,i){return e||(n[z]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(z)]||RegExp("\\b"+S(i)+"(?:\\b|\\w*\\d)","i").exec(t))&&i}))}({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{"PlayStation 4":1,"PlayStation 3":1,"PlayStation Vita":1}}),$=function(e){return _(e,(function(e,n){var i=n.pattern||S(n);return!e&&(e=RegExp("\\b"+i+"(?:/[\\d.]+|[ \\w.]*)","i").exec(t))&&(e=function(e,t,n){var i={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return t&&n&&/^Win/i.test(e)&&!/^Windows Phone /i.test(e)&&(i=i[/[\d.]+$/.exec(e)])&&(e="Windows "+i),e=String(e),t&&n&&(e=e.replace(RegExp(t,"i"),n)),e=b(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}(e,i,n.label||n)),e}))}(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function W(e){return _(e,(function(e,n){var i=n.pattern||S(n);return!e&&(e=RegExp("\\b"+i+" *\\d+[.\\w_]*","i").exec(t)||RegExp("\\b"+i+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(t))&&((e=String(n.label&&!RegExp(i,"i").test(n.label)?n.label:e).split("/"))[1]&&
vendor: 4,354 bytes, line 2
2!/[\d.]+/.test(e[0])&&(e[0]+=" "+e[1]),n=n.label||n,e=b(e[0].replace(RegExp(i,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))),e}))}if(R&&(R=[R]),H&&!z&&(z=W([H])),(l=/\bGoogle TV\b/.exec(z))&&(z=l[0]),/\bSimulator\b/i.test(t)&&(z=(z?z+" ":"")+"Simulator"),"Opera Mini"==B&&/\bOPiOS\b/.test(t)&&D.push("running in Turbo/Uncompressed mode"),"IE"==B&&/\blike iPhone OS\b/.test(t)?(H=(l=e(t.replace(/like iPhone OS/,""))).manufacturer,z=l.product):/^iP/.test(z)?(B||(B="Safari"),$="iOS"+((l=/ OS ([\d_]+)/i.exec(t))?" "+l[1].replace(/_/g,"."):"")):"Konqueror"!=B||/buntu/i.test($)?H&&"Google"!=H&&(/Chrome/.test(B)&&!/\bMobile Safari\b/i.test(t)||/\bVita\b/.test(z))||/\bAndroid\b/.test($)&&/^Chrome/.test(B)&&/\bVersion\//i.test(t)?(B="Android Browser",$=/\bAndroid\b/.test($)?$:"Android"):"Silk"==B?(/\bMobi/i.test(t)||($="Android",D.unshift("desktop mode")),/Accelerated *= *true/i.test(t)&&D.unshift("accelerated")):"PaleMoon"==B&&(l=/\bFirefox\/([\d.]+)\b/.exec(t))?D.push("identifying as Firefox "+l[1]):"Firefox"==B&&(l=/\b(Mobile|Tablet|TV)\b/i.exec(t))?($||($="Firefox OS"),z||(z=l[1])):B&&!(l=!/\bMinefield\b/i.test(t)&&/\b(?:Firefox|Safari)\b/.exec(B))||(B&&!z&&/[\/,]|^[^(]+?\)/.test(t.slice(t.indexOf(l+"/")+8))&&(B=null),(l=z||H||$)&&(z||H||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test($))&&(B=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test($)?$:l)+" Browser")):$="Kubuntu",F||(F=_(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|Silk(?!/[\\d.]+$))","Version",S(B),"(?:Firefox|Minefield|NetFront)"],(function(e,n){return e||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(t)||0)[1]||null}))),(l=("iCab"==R&&parseFloat(F)>3?"WebKit":/\bOpera\b/.test(B)&&(/\bOPR\b/.test(t)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(t)&&!/^(?:Trident|EdgeHTML)$/.test(R)&&"WebKit"||!R&&/\bMSIE\b/i.test(t)&&("Mac OS"==$?"Tasman":"Trident")||"WebKit"==R&&/\bPlayStation\b(?! Vita\b)/i.test(B)&&"NetFront")&&(R=[l]),"IE"==B&&(l=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(t)||0)[1])?(B+=" Mobile",$="Windows Phone "+(/\+$/.test(l)?l:l+".x"),D.unshift("desktop mode")):/\bWPDesktop\b/i.test(t)?(B="IE Mobile",$="Windows Phone 8.x",D.unshift("desktop mode"),F||(F=(/\brv:([\d.]+)/.exec(t)||0)[1])):"IE"!=B&&"Trident"==R&&(l=/\brv:([\d.]+)/.exec(t))&&(B&&D.push("identifying as "+B+(F?" "+F:"")),B="IE",F=l[1]),j){if(x(n,"global"))if(C&&(I=(l=C.lang.System).getProperty("os.arch"),$=$||l.getProperty("os.name")+" "+l.getProperty("os.version")),c&&x(n,"system")&&(l=[n.system])[0]){$||($=l[0].os||null);try{l[1]=n.require("ringo/engine").version,F=l[1].join("."),B="RingoJS"}catch(e){l[0].global.system==n.system&&(B="Narwhal")}}else"object"==typeof n.process&&!n.process.browser&&(l=n.process)?(B="Node.js",I=l.arch,$=l.platform,F=/[\d.]+/.exec(l.version)[0]):T&&(B="Rhino");else w(l=n.runtime)==p?(B="Adobe AIR",$=l.flash.system.Capabilities.os):w(l=n.phantom)==E?(B="PhantomJS",F=(l=l.version||null)&&l.major+"."+l.minor+"."+l.patch):"number"==typeof P.documentMode&&(l=/\bTrident\/(\d+)/i.exec(t))&&(F=[F,P.documentMode],(l=+l[1]+4)!=F[1]&&(D.push("IE "+F[1]+" mode"),R&&(R[1]=""),F[1]=l),F="IE"==B?String(F[1].toFixed(1)):F[0]);$=$&&b($)}F&&(l=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(F)||/(?:alpha|beta)(?: ?\d)?/i.exec(t+";"+(j&&r.appMinorVersion))||/\bMinefield\b/i.test(t)&&"a")&&(N=/b/i.test(l)?"beta":"alpha",F=F.replace(RegExp(l+"\\+?$"),"")+("beta"==N?A:M)+(/\d+\+?/.exec(l)||"")),"Fennec"==B||"Firefox"==B&&/\b(?:Android|Firefox OS)\b/.test($)?B="Firefox Mobile":"Maxthon"==B&&F?F=F.replace(/\.[\d.]+/,".x"):/\bXbox\b/i.test(z)?($=null,"Xbox 360"==z&&/\bIEMobile\b/.test(t)&&D.unshift("mobile mode")):!/^(?:Chrome|IE|Opera)$/.test(B)&&(!B||z||/Browser|Mobi/.test(B))||"Windows CE"!=$&&!/Mobi/i.test(t)?"IE"==B&&j&&null===n.external?D.unshift("platform preview"):(/\bBlackBerry\b/.test(z)||/\bBB10\b/.test(t))&&(l=(RegExp(z.replace(/ +/g," *")+"/([.\\d]+)","i").exec(t)||0)[1]||F)?($=((l=[l,/BB10/.test(t)])[1]?(z=null,H="BlackBerry"):"Device Software")+" "+l[0],F=null):this!=y&&"Wii"!=z&&(j&&O||/Opera/.test(B)&&/\b(?:MSIE|Firefox)\b/i.test(t)||"Firefox"==B&&/\bOS X (?:\d+\.){2,}/.test($)||"IE"==B&&($&&!/^Win/.test($)&&F>5.5||/\bWindows XP\b/.test($)&&F>8||8==F&&!/\bTrident\b/.test(t)))&&!h.test(l=e.call(y,t.replace(h,"")+";
2"))&&l.name&&(l="ing as "+l.name+((l=l.version)?" "+l:""),h.test(B)?(/\bIE\b/.test(l)&&"Mac OS"==$&&($=null),l="identify"+l):(l="mask"+l,B=L?b(L.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(l)&&($=null),j||(F=null)),R=["Presto"],D.push(l)):B+=" Mobile",(l=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(t)||0)[1])&&(l=[parseFloat(l.replace(/\.(\d)$/,".0$1")),l],"Safari"==B&&"+"==l[1].slice(-1)?(B="WebKit Nightly",N="alpha",F=l[1].slice(0,-1)):F!=l[1]&&F!=(l[2]=(/\bSafari\/([\d.]+\+?)/i.exec(t)||0)[1])||(F=null),l[1]=(/\bChrome\/([\d.]+)/i.exec(t)||0)[1],537.36==l[0]&&537.36==l[2]&&parseFloat(l[1])>=28&&"WebKit"==R&&(R=["Blink"]),j&&(d||l[1])?(R&&(R[1]="like Chrome"),l=l[1]||((l=l[0])<530?1:l<532?2:l<532.05?3:l<533?4:l<534.03?5:l<534.07?6:l<534.1?7:l<534.13?8:l<534.16?9:l<534.24?10:l<534.3?11:l<535.01?12:l<535.02?"13+":l<535.07?15:l<535.11?16:l<535.19?17:l<536.05?18:l<536.1?19:l<537.01?20:l<537.11?"21+":l<537.13?23:l<537.18?24:l<537.24?25:l<537.36?26:"Blink"!=R?"27":"28")):(R&&(R[1]="like Safari"),l=(l=l[0])<400?1:l<500?2:l<526?3:l<533?4:l<534?"4+":l<535?5:l<537?6:l<538?7:l<601?8:"8"),R&&(R[1]+=" "+(l+="number"==typeof l?".x":/[.+]/.test(l)?"":"+")),"Safari"==B&&(!F||parseInt(F)>45)&&(F=l)),"Opera"==B&&(l=/\bzbov|zvav$/.exec($))?(B+=" ",D.unshift("desktop mode"),"zvav"==l?(B+="Mini",F=null):B+="Mobile",$=$.replace(RegExp(" *"+l+"$"),"")):"Safari"==B&&/\bChrome\b/.exec(R&&R[1])&&(D.unshift("desktop mode"),B="Chrome Mobile",F=null,/\bOS X\b/.test($)?(H="Apple",$="iOS 4.3+"):$=null),F&&0==F.indexOf(l=/[\d.]+$/.exec($))&&t.indexOf("/"+l+"-")>-1&&($=k($.replace(l,""))),R&&!/\b(?:Avant|Nook)\b/.test(B)&&(/Browser|Lunascape|Maxthon/.test(B)||"Safari"!=B&&/^iOS/.test($)&&/\bSafari\b/.test(R[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Sleipnir|Web)/.test(B)&&R[1])&&(l=R[R.length-1])&&D.push(l),D.length&&(D=["("+D.join("; ")+")"]),H&&z&&z.indexOf(H)<0&&D.push("on "+H),z&&D.push((/^on /.test(D[D.length-1])?"":"on ")+z),$&&(l=/ ([\d.+]+)$/.exec($),u=l&&"/"==$.charAt($.length-l[0].length-1),$={architecture:32,family:l&&!u?$.replace(l[0],""):$,version:l?l[1]:null,toString:function(){var e=this.version;return this.family+(e&&!u?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(l=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(I))&&!/\bi686\b/i.test(I)?($&&($.architecture=64,$.family=$.family.replace(RegExp(" *"+l),"")),B&&(/\bWOW64\b/i.test(t)||j&&/\w(?:86|32)$/.test(r.cpuClass||r.platform)&&!/\bWin64; x64\b/i.test(t))&&D.unshift("32-bit")):$&&/^OS X/.test($.family)&&"Chrome"==B&&parseFloat(F)>=39&&($.architecture=64),t||(t=null);var q={};return q.description=t,q.layout=R&&R[0],q.manufacturer=H,q.name=B,q.prerelease=N,q.product=z,q.ua=t,q.version=B&&F,q.os=$||{architecture:null,family:null,version:null,toString:function(){return"null"}},q.parse=e,q.toString=function(){return this.description||""},q.version&&D.unshift(F),q.name&&D.unshift(B),$&&B&&($!=String($).split(" ")[0]||$!=B.split(" ")[0]&&!z)&&D.push(z?"("+$+")":"on "+$),D.length&&(q.description=D.join(" ")),q}();a.platform=E,void 0===(r=function(){return E}.call(t,n,t,e))||(e.exports=r)}).call(this)}).call(this,n(80)(e),n(79))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(159),o=(i=r)&&i.__esModule?i:{default:i};var a="undefined"!=typeof window&&window.navigator.userAgent||"",s=function(e){var t=void 0;try{t=(t=window.localStorage&&window.localStorage.getItem(e))?JSON.parse(t):{}}catch(e){t={}}return t}("ally-supports-cache");s.userAgent===a&&s.version===o.default||(s={}),s.userAgent=a,s.version=o.default,t.default={get:function(){return s},set:function(e){Object.keys(e).forEach((function(t){s[t]=e[t]})),s.time=(new Date).toISOString(),function(e,t){if(document.hasFocus())try{window.localStorage&&window.localStorage.setItem(e,JSON.stringify(t))}catch(e){}else try{window.localStorage&&window.localStorage.removeItem(e)}catch(e){}}("ally-supports-cache",s)}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(38),o=(i=r)&&i.__esModule?i:{default:i};t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-tabindex-test"><area shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-tabindex-test" tabindex="-1" alt="" src="'+o.default+'">',e.querySelector("area")}},e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(38)),r=o(n(13));function o(e){return e&&e.__esModule?e:{default:e}}t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-tabindex-test"><area href="#void" tabindex="-1" shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-tabindex-test" alt="" src="'+i.default+'">',!1},validate:function(e,t,n){if(r.default.is.GECKO)return!0;var i=e.querySelector("area");return i.focus(),n.activeElement===i}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(38)),r=o(n(13));function o(e){return e&&e.__esModule?e:{default:e}}t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-area-href-test"><area shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-area-href-test" alt="" src="'+i.default+'">',e.querySelector("area")},validate:function(e,t,n){return!!r.default.is.GECKO||n.activeElement===t}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(385),o=(i=r)&&i.__esModule?i:{default:i};
2t.default={name:"can-focus-audio-without-controls",element:"audio",mutate:function(e){try{e.setAttribute("src",o.default)}catch(e){}}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(38),o=(i=r)&&i.__esModule?i:{default:i};t.default=o.default,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(387),o=(i=r)&&i.__esModule?i:{default:i};t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="broken-image-map-test"><area href="#void" shape="rect" coords="63,19,144,45"></map><img usemap="#broken-image-map-test" alt="" src="'+o.default+'">',e.querySelector("area")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ",e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){return e.setAttribute("tabindex","-1"),e.setAttribute("style","display: -webkit-flex; display: -ms-flexbox; display: flex;"),e.innerHTML='<span style="display: block;">hello</span>',e.querySelector("span")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"fieldset",mutate:function(e){e.setAttribute("tabindex",0),e.setAttribute("disabled","disabled")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"fieldset",mutate:function(e){e.innerHTML="<legend>legend</legend><p>content</p>"}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"span",mutate:function(e){e.setAttribute("style","display: -webkit-flex; display: -ms-flexbox; display: flex;"),e.innerHTML='<span style="display: block;">hello</span>'}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"form",mutate:function(e){e.setAttribute("tabindex",0),e.setAttribute("disabled","disabled")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(38),o=(i=r)&&i.__esModule?i:{default:i};t.default={element:"a",mutate:function(e){return e.href="#void",e.innerHTML='<img ismap src="'+o.default+'" alt="">',e.querySelector("img")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(38),o=(i=r)&&i.__esModule?i:{default:i};t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="image-map-tabindex-test"><area href="#void" shape="rect" coords="63,19,144,45"></map><img usemap="#image-map-tabindex-test" tabindex="-1" alt="" src="'+o.default+'">',e.querySelector("img")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:function(e,t){var n=t.createElement("iframe");e.appendChild(n);var i=n.contentWindow.document;return i.open(),i.close(),n},mutate:function(e){e.style.visibility="hidden";var t=e.contentWindow.document,n=t.createElement("input");return t.body.appendChild(n),n},validate:function(e){var t=e.contentWindow.document,n=t.querySelector("input");return t.activeElement===n}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return o};var i,r=n(13);var o=!((i=r)&&i.__esModule?i:{default:i}).default.is.WEBKIT;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){e.setAttribute("tabindex","invalid-value")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"label",mutate:function(e){e.setAttribute("tabindex","-1")},validate:function(e,t,n){e.offsetHeight;return e.focus(),n.activeElement===e}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(161),o=(i=r)&&i.__esModule?i:{default:i};t.default={element:"object",mutate:function(e){e.setAttribute("type","image/svg+xml"),e.setAttribute("data",o.default),e.setAttribute("width","200"),e.setAttribute("height","50"),e.style.visibility="hidden"}},e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(161)),r=o(n(13));function o(e){return e&&e.__esModule?e:{default:e}}t.default={name:"can-focus-object-svg",element:"object",mutate:function(e){e.setAttribute("type","image/svg+xml"),e.setAttribute("data",i.default),e.setAttribute("width","200"),e.setAttribute("height","50")},validate:function(e,t,n){return!!r.default.is.GECKO||n.activeElement===e}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return o};var i,r=n(13);var o=!((i=r)&&i.__esModule?i:{default:i}).default.is.IE9;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(38),o=(i=r)&&i.__esModule?i:{default:i};t.default={element:"div",mutate:function(e){return e.innerHTML='<map name="focus-redirect-img-usemap"><area href="#void" shape="rect" coords="63,19,144,45"></map><img usemap="#focus-redirect-img-usemap" alt="" src="'+o.default+'">',e.querySelector("img")},validate:function(e,t,n){var i=e.querySelector("area");return n.activeElement===i}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"fieldset",mutate:function(e){return e.innerHTML='<legend>legend</legend>
2<input tabindex="-1"><input tabindex="0">',!1},validate:function(e,t,n){var i=e.querySelector('input[tabindex="-1"]'),r=e.querySelector('input[tabindex="0"]');return e.focus(),e.querySelector("legend").focus(),(n.activeElement===i?"focusable":n.activeElement===r&&"tabbable")||""}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){return e.setAttribute("style","width: 100px; height: 50px; overflow: auto;"),e.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>',e.querySelector("div")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){e.setAttribute("style","width: 100px; height: 50px;"),e.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>'}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){e.setAttribute("style","width: 100px; height: 50px; overflow: auto;"),e.innerHTML='<div style="width: 500px; height: 40px;">scrollable content</div>'}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"details",mutate:function(e){return e.innerHTML="<summary>foo</summary><p>content</p>",e.firstElementChild}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(57);t.default={element:"div",mutate:function(e){return e.innerHTML=(0,i.generate)('<text focusable="true">a</text>'),e.querySelector("text")},validate:i.validate},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(57);t.default={element:"div",mutate:function(e){return e.innerHTML=(0,i.generate)('<text tabindex="0">a</text>'),e.querySelector("text")},validate:i.validate},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(57);t.default={element:"div",mutate:function(e){return e.innerHTML=(0,i.generate)('<text tabindex="-1">a</text>'),e.querySelector("text")},validate:i.validate},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(57);t.default={element:"div",mutate:function(e){return e.innerHTML=(0,i.generate)(['<g id="ally-test-target"><a xlink:href="#void"><text>link</text></a></g>','<use xlink:href="#ally-test-target" x="0" y="0" tabindex="-1" />'].join("")),e.querySelector("use")},validate:i.validate},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(57);t.default={element:"div",mutate:function(e){return e.innerHTML=(0,i.generate)('<foreignObject tabindex="-1"><input type="text" /></foreignObject>'),e.querySelector("foreignObject")||e.getElementsByTagName("foreignObject")[0]},validate:i.validate},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a};var i,r=n(13),o=(i=r)&&i.__esModule?i:{default:i};var a=Boolean(o.default.is.GECKO&&"undefined"!=typeof SVGElement&&SVGElement.prototype.focus);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(57);t.default={element:"div",mutate:function(e){return e.innerHTML=(0,i.generate)(""),e.firstChild},validate:i.validate},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"div",mutate:function(e){e.setAttribute("tabindex","3x")}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={element:"table",mutate:function(e,t,n){var i=n.createDocumentFragment();i.innerHTML="<tr><td>cell</td></tr>",e.appendChild(i)}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(418),o=(i=r)&&i.__esModule?i:{default:i};t.default={element:"video",mutate:function(e){try{e.setAttribute("src",o.default)}catch(e){}}},e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var i,r=n(38),o=(i=r)&&i.__esModule?i:{default:i};t.default=o.default,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a};var i,r=n(13),o=(i=r)&&i.__esModule?i:{default:i};var a=o.default.is.GECKO||o.default.is.TRIDENT||o.default.is.EDGE;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.element,n=e.attribute,i="data-cached-"+n;if(null===t.getAttribute(i)){var r=t.getAttribute(n);if(null===r)return;t.setAttribute(i,r||""),t.removeAttribute(n)}else{var o=t.getAttribute(i);t.removeAttribute(i),t.setAttribute(n,o)}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){},r={log:i,debug:i,info:i,warn:i,error:i};t.default="undefined"!=typeof console?console:r,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.defaultToAncestor,i=t.undoScrolling,l=(0,s.default)({label:"element/focus",context:e}),c=a.default.rules({context:l,except:h});if(!n&&!c)return null;var f=(0,r.default)({context:l,except:h});if(!f)return null;if((0,o.default)(f))return f;var p=void 0;i&&(p=(0,u.default)(f));var m=d(f);return p&&p(),m};var i=c(n(162)),r=c(n(64)),o=c(n(81)),a=c(n(39)),s=c(n(6)),l=c(n(116)),u=c(n(429));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if(e.focus)return e.focus(),(0,o.default)(e)?e:null;var t=(0,l.default)(e);try{return t.HTMLElement.prototype.focus.call(e),(0,o.default)(e)?e:null}catch(t){return(0,i.default)(e)&&(0,o.default)(e)?e:null}}var h={flexbox:!0,scrollable:!0,onlyTabbable:!0};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){try{return e.contentDocument||e.contentWindow&&e.contentWindow.document||e.getSVGDocument&&e.getSVGDocument()||null}catch(e){return null}},e.exports=t.default},function(e,t,n){(function(t){var n;n=void 0!==t?t:this,e.exports=function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;var t=function(e){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var t,n=String(e),i=n.length,r=-1,o="",a=n.charCodeAt(0);++r<i;)0!=(t=n.charCodeAt(r))?o+=t>=1&&t<=31||127==t||0==r&&t>=48&&t<=57||1==r&&t>=48&&t<=57&&45==a?"\\"+t.toString(16)+" ":0==r&&1==i&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+n.charAt(r):n.charAt(r):o+="�";return o};return e.CSS||(e.CSS={}),e.CSS.escape=t,t}(n)}).call(this,n(79))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.context,a=t.includeContext,u=t.includeOnlyTabbable,c=t.strategy;n||(n=document.documentElement);var d=i.default.rules.except({onlyTabbable:u}),h=(0,o.default)(n),f=h.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,"all"===c?l:s(d),!1),p=[];for(;f.nextNode();)f.currentNode.shadowRoot?(d(f.currentNode)&&p.push(f.currentNode),p=p.concat(e({context:f.currentNode.shadowRoot,includeOnlyTabbable:u,strategy:c}))):p.push(f.currentNode);a&&("all"===c?(0,r.default)(n)&&p.unshift(n):d(n)&&p.unshift(n));return p};var i=a(n(39)),r=a(n(83)),o=a(n(28));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=function(t){return t.shadowRoot||e(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP};return t.acceptNode=t,t}var l=s(r.default);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.includeContext,o=e.includeOnlyTabbable,a=(0,i.default)(),s=t.querySelectorAll(a),l=r.default.rules.except({onlyTabbable:o}),u=[].filter.call(s,l);n&&l(t)&&u.unshift(t);return u};var i=o(n(427)),r=o(n(39));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return a||(a=(0,r.default)()),"string"==typeof s?s:(s=(a.focusTable?"table, td,":"")+(a.focusFieldset?"fieldset,":"")+"svg a,a[href],area[href],input, select, textarea, button,iframe, object, embed,keygen,"+(a.focusAudioWithoutControls?"audio,":"audio[controls],")+(a.focusVideoWithoutControls?"video,":"video[controls],")+(a.focusSummary?"summary,":"")+"[tabindex],[contenteditable]",s=(0,i.default)(s))};var i=o(n(119)),r=o(n(19));function o(e){return e&&e.__esModule?e:{default:e}}var a=void 0,s=void 0;e.exports=t.default},function(e,t,n){"use strict";function i(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.sort(i)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,o.default)({context:e}).slice(1).map((function(e){return{element:e,scrollTop:e.scrollTop,scrollLeft:e.scrollLeft}}));return function(){t.forEach((function(e){e.element.scrollTop=e.scrollTop,e.element.scrollLeft=e.scrollLeft}))}};var i,r=n(29),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(431)),r=o(n(121));function o(e){return e&&e.__esModule?e:{default:e}}t.default={activeElement:i.default,shadowFocus:r.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(171);var i=o(n(432)),r=o(n(66));function o(e){return e&&e.__esModule?e:{default:e}}var a=void 0,s=void 0;function l(){if(document.activeElement){if(document.activeElement!==a){var e=new i.default("active-element",{bubbles:!1,cancelable:!1,detail:{focus:document.activeElement,blur:a}});document.dispatchEvent(e),a=document.activeElement}}else document.body.focus();!1!==s&&(s=requestAnimationFrame(l))}t.default=(0,r.default)({engage:function(){s=!0,a=document.activeElement,l()},disengage:function(){cancelAnimationFrame(s),s=!1}}),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="undefined"!=typeof window&&window.CustomEvent||function(){};"function"!=typeof i&&((i=function(e,t){var n=document.createEvent("CustomEvent");return!t&&(t={bubbles:!1,cancelable:!1,detail:void 0}),n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}).prototype=window.Event.prototype),t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(434)),r=a(n(435)),o=a(n(436));function a(e){return e&&e.__esModule?e:{default:e}}t.default={pointerFocusChildren:i.default,pointerFocusInput:r.default,pointerFocusParent:o.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(64)),r=a(n(123)),o=a(n(13));function a(e){return e&&e.__esModule?e:{default:e}}var s,l=void 0,u=void 0;o.default.is.TRIDENT&&(o.default.is.IE10||o.default.is.IE11)?(s=function(e){var t=(0,i.default)({context:e.target,except:{flexbox:!0,scrollable:!0}});if(t&&t!==e.target){window.setImmediate((function(){t.focus()}));var n=[].map.call(t.children,(function(e){var t=e.style.visibility||"",n=e.style.transition||"";return e.style.visibility="hidden",e.style.transition="none",[e,t,n]}));window.setImmediate((function(){n.forEach((function(e){e[0].style.visibility=e[1],e[0].style.transition=e[2]}))}))}},l=function(e){e.addEventListener("mousedown",s,!0)},u=function(e){e.removeEventListener("mousedown",s,!0)}):l=function(){},t.default=(0,r.default)({engage:l,disengage:u}),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n(64)),r=s(n(123)),o=s(n(117)),a=s(n(13));function s(e){return e&&e.__esModule?e:{default:e}}var l,u,c=void 0,d=void 0;a.default.is.OSX&&(a.default.is.GECKO||a.default.is.WEBKIT)?(l=function(e){if(!e.defaultPrevented&&(0,o.default)(e.target,"input, button, button *")){var t=(0,i.default)({context:e.target});(window.setImmediate||window.setTimeout)((function(){t.focus()}))}},u=function(e){if(!e.defaultPrevented&&(0,o.default)(e.target,"label, label *")){var t=(0,i.default)({context:e.target});t&&t.focus()}},c=function(e){e.addEventListener("mousedown",l,!1),e.addEventListener("mouseup",u,!1)},d=function(e){e.removeEventListener("mousedown",l,!1),e.removeEventListener("mouseup",u,!1)}):c=function(){},t.default=(0,r.default)({engage:c,disengage:d}),e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var i=s(n(64)),r=s(n(82)),o=s(n(123)),a=s(n(13));function s(e){return e&&e.__esModule?e:{default:e}}var l,u=void 0,c=void 0;a.default.is.WEBKIT?(l=function(e){var t=(0,i.default)({context:e.target});!t||t.hasAttribute("tabindex")&&(0,r.default)(t)||(t.setAttribute("tabindex",0),(window.setImmediate||window.setTimeout)((function(){t.removeAttribute("tabindex")}),0))},u=function(e){e.addEventListener("mousedown",l,!0),e.addEventListener("touchstart",l,!0)},c=function(e){e.removeEventListener("mousedown",l,!0),e.removeEventListener("touchstart",l,!0)}):u=function(){},t.default=(0,o.default)({engage:u,disengage:c}),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=d(n(438)),r=d(n(122)),o=d(n(165)),a=d(n(64)),s=d(n(174)),l=d(n(29)),u=d(n(173)),c=d(n(63));function d(e){return e&&e.__esModule?e:{default:e}}t.default={activeElement:i.default,activeElements:r.default,focusRedirectTarget:o.default,focusTarget:a.default,insignificantBranches:s.default,parents:l.default,shadowHostParents:u.default,shadowHost:c.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=(0,o.default)(t),i=void 0;try{i=n.activeElement}catch(e){}return i&&i.nodeType||(i=n.body||n.documentElement),i};var i,r=n(28),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=f(n(81)),r=f(n(168)),o=f(n(83)),a=f(n(39)),s=f(n(169)),l=f(n(172)),u=f(n(170)),c=f(n(167)),d=f(n(82)),h=f(n(58));function f(e){return e&&e.__esModule?e:{default:e}}t.default={activeElement:i.default,disabled:r.default,focusRelevant:o.default,focusable:a.default,onlyTabbable:s.default,shadowed:l.default,tabbable:u.default,validArea:c.default,validTabindex:d.default,visible:h.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(441)),r=a(n(442)),o=a(n(443));function a(e){return e&&e.__esModule?e:{default:e}}t.default={disabled:i.default,hidden:r.default,tabFocus:o.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.filter,i=new f({context:t,filter:n});return{disengage:i.disengage}};var r=u(n(27)),o=u(n(86)),a=u(n(158)),s=u(n(175)),l=n(87);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e){return(0,a.default)(e,!1)}var h={attributes:!0,childList:!0,subtree:!0,attributeFilter:["tabindex","disabled","data-ally-disabled"]},f=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.context,a=n.filter;c(this,e),this._context=(0,r.default)(i||document.documentElement)[0],this._filter=(0,r.default)(a),this._inertElementCache=[],this.disengage=this.disengage.bind(this),this.handleMutation=this.handleMutation.bind(this),this.renderInert=this.renderInert.bind(this),this.filterElements=this.filterElements.bind(this),this.filterParentElements=this.filterParentElements.bind(this);var l=(0,o.default)({context:this._context,includeContext:!0,strategy:"all"});this.renderInert(l),this.shadowObserver=(0,s.default)({context:this._context,config:h,callback:function(e){return e.forEach(t.handleMutation)}})}return i(e,[{key:"disengage",value:function(){this._context&&(d(this._context),this._inertElementCache.forEach((function(e){return d(e)})),this._inertElementCache=null,this._filter=null,this._context=null,this.shadowObserver&&this.shadowObserver.disengage(),this.shadowObserver=null)}},{key:"listQueryFocusable",value:function(e){return e.map((function(e){return(0,o.default)({context:e,includeContext:!0,strategy:"all"})})).reduce((function(e,t){return e.concat(t)}),[])}},{key:"renderInert",value:function(e){var t=this;e.filter(this.filterElements).filter(this.filterParentElements).filter((function(e){return!(0,a.default)(e)}
2)).forEach((function(e){t._inertElementCache.push(e),function(e){(0,a.default)(e,!0)}(e)}))}},{key:"filterElements",value:function(e){var t=(0,l.getParentComparator)({element:e,includeSelf:!0});return!this._filter.some(t)}},{key:"filterParentElements",value:function(e){var t=(0,l.getParentComparator)({parent:e});return!this._filter.some(t)}},{key:"handleMutation",value:function(e){if("childList"===e.type){var t=(0,r.default)(e.addedNodes).filter((function(e){return e.nodeType===Node.ELEMENT_NODE}));if(!t.length)return;var n=this.listQueryFocusable(t);this.renderInert(n)}else"attributes"===e.type&&this.renderInert([e.target])}}]),e}();e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.filter,i=new p({context:t,filter:n});return{disengage:i.disengage}};var r=u(n(27)),o=u(n(174)),a=u(n(29)),s=u(n(164)),l=n(87);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e){(0,s.default)({element:e,attribute:"aria-hidden",temporaryValue:"true"})}function h(e){(0,s.default)({element:e,attribute:"aria-hidden"})}var f={attributes:!1,childList:!0,subtree:!0},p=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.context,i=t.filter;c(this,e),this._context=(0,r.default)(n||document.documentElement)[0],this._filter=(0,r.default)(i),this.disengage=this.disengage.bind(this),this.handleMutation=this.handleMutation.bind(this),this.isInsignificantBranch=this.isInsignificantBranch.bind(this);var a=(0,o.default)({context:this._context,filter:this._filter});a.forEach(d),this.startObserver()}return i(e,[{key:"disengage",value:function(){this._context&&([].forEach.call(this._context.querySelectorAll("[data-cached-aria-hidden]"),h),this._context=null,this._filter=null,this._observer&&this._observer.disconnect(),this._observer=null)}},{key:"startObserver",value:function(){var e=this;window.MutationObserver&&(this._observer=new MutationObserver((function(t){return t.forEach(e.handleMutation)})),this._observer.observe(this._context,f))}},{key:"handleMutation",value:function(e){"childList"===e.type&&(0,r.default)(e.addedNodes).filter((function(e){return e.nodeType===Node.ELEMENT_NODE})).filter(this.isInsignificantBranch).forEach(d)}},{key:"isInsignificantBranch",value:function(e){if((0,a.default)({context:e}).some((function(e){return"true"===e.getAttribute("aria-hidden")})))return!1;var t=(0,l.getParentComparator)({element:e});return!this._filter.some(t)}}]),e}();e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context;return t||(t=document.documentElement),(0,r.default)(),(0,o.default)({"?alt+?shift+tab":function(e){e.preventDefault();var n=(0,r.default)({context:t}),o=e.shiftKey,a=n[0],s=n[n.length-1],l=o?a:s,u=o?s:a;if((0,i.default)(l))u.focus();else{var c=void 0;if(n.some((function(e,t){return!!(0,i.default)(e)&&(c=t,!0)})))n[c+(o?-1:1)].focus();else a.focus()}}})};var i=a(n(81)),r=a(n(177)),o=a(n(178));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();t.default=function(e,t){var n=t.querySelectorAll("img[usemap]"),i=new u(t),r=i.extractAreasFromList(e);return n.length?(0,o.default)({list:r,elements:n,resolveElement:function(e){var t=e.getAttribute("usemap").slice(1);return i.getAreasFor(t)}}):r};var r=l(n(65)),o=l(n(120)),a=l(n(28)),s=n(85);
2function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._document=(0,a.default)(t),this.maps={}}return i(e,[{key:"getAreasFor",value:function(e){return this.maps[e]||this.addMapByName(e),this.maps[e]}},{key:"addMapByName",value:function(e){var t=(0,s.getMapByName)(e,this._document);t&&(this.maps[t.name]=(0,r.default)({context:t}))}},{key:"extractAreasFromList",value:function(e){return e.filter((function(e){if("area"!==e.nodeName.toLowerCase())return!0;var t=e.parentNode;return this.maps[t.name]||(this.maps[t.name]=[]),this.maps[t.name].push(e),!1}),this)}}]),e}();e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();t.default=function(e,t,n){var i=new l(t,n),r=i.extractElements(e);return r.length===e.length?n(e):i.sort(r)};var r=s(n(63)),o=s(n(120)),a=s(n(50));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.context=t,this.sortElements=n,this.hostCounter=1,this.inHost={},this.inDocument=[],this.hosts={},this.elements={}}return i(e,[{key:"_registerHost",value:function(e){if(!e._sortingId){e._sortingId="shadow-"+this.hostCounter++,this.hosts[e._sortingId]=e;var t=(0,r.default)({context:e});t?(this._registerHost(t),this._registerHostParent(e,t)):this.inDocument.push(e)}}},{key:"_registerHostParent",value:function(e,t){this.inHost[t._sortingId]||(this.inHost[t._sortingId]=[]),this.inHost[t._sortingId].push(e)}},{key:"_registerElement",value:function(e,t){this.elements[t._sortingId]||(this.elements[t._sortingId]=[]),this.elements[t._sortingId].push(e)}},{key:"extractElements",value:function(e){return e.filter((function(e){var t=(0,r.default)({context:e});return!t||(this._registerHost(t),this._registerElement(e,t),!1)}),this)}},{key:"sort",value:function(e){var t=this._injectHosts(e);return t=this._replaceHosts(t),this._cleanup(),t}},{key:"_injectHosts",value:function(e){return Object.keys(this.hosts).forEach((function(e){var t=this.elements[e],n=this.inHost[e],i=this.hosts[e].shadowRoot;this.elements[e]=this._merge(t,n,i)}),this),this._merge(e,this.inDocument,this.context)}},{key:"_merge",value:function(e,t,n){var i=(0,o.default)({list:e,elements:t});return this.sortElements(i,n)}},{key:"_replaceHosts",value:function(e){return(0,o.default)({list:e,elements:this.inDocument,resolveElement:this._resolveHostElement.bind(this)})}},{key:"_resolveHostElement",value:function(e){var t=(0,o.default)({list:this.elements[e._sortingId],elements:this.inHost[e._sortingId],resolveElement:this._resolveHostElement.bind(this)}),n=(0,a.default)(e);return null!==n&&n>-1?[e].concat(t):t}},{key:"_cleanup",value:function(){Object.keys(this.hosts).forEach((function(e){delete this.hosts[e]._sortingId}),this)}}]),e}();e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={},n=[],i=e.filter((function(e){var i=e.tabIndex;return void 0===i&&(i=(0,o.default)(e)),i<=0||null==i||(t[i]||(t[i]=[],n.push(i)),t[i].push(e),!1)}));return n.sort().map((function(e){return t[e]})).reduceRight((function(e,t){return t.concat(e)}),i)};var i,r=n(50),o=(i=r)&&i.__esModule?i:{default:i};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.split(/\s+/).map((function(e){var t,n,i,r,s=e.split("+"),u=(i=s.slice(0,-1),t=-1!==i.indexOf("*"),r={altKey:n=!!t&&null,ctrlKey:n,metaKey:n,shiftKey:n}
2,i.forEach((function(e){if("*"!==e){var t=!0,n=e.slice(0,1);"?"===n?t=null:"!"===n&&(t=!1),!0!==t&&(e=e.slice(1));var i=a[e];if(!i)throw new TypeError('Unknown modifier "'+e+'"');r[i]=t}})),r);return{keyCodes:function(e){var t=o.default[e]||parseInt(e,10);if(!t||"number"!=typeof t||isNaN(t))throw new TypeError('Unknown key "'+e+'"');return[t].concat(o.default._alias[t]||[])}(s.slice(-1)),modifiers:u,matchModifiers:l.bind(null,u)}}))};var i,r=n(179),o=(i=r)&&i.__esModule?i:{default:i};var a={alt:"altKey",ctrl:"ctrlKey",meta:"metaKey",shift:"shiftKey"},s=Object.keys(a).map((function(e){return a[e]}));function l(e,t){return!s.some((function(n){return"boolean"==typeof e[n]&&Boolean(t[n])!==e[n]}))}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(449)),r=o(n(179));function o(e){return e&&e.__esModule?e:{default:e}}t.default={attribute:i.default,keycode:r.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"aria-busy":{default:"false",values:["true","false"]},"aria-checked":{default:void 0,values:["true","false","mixed",void 0]},"aria-disabled":{default:"false",values:["true","false"]},"aria-expanded":{default:void 0,values:["true","false",void 0]},"aria-grabbed":{default:void 0,values:["true","false",void 0]},"aria-hidden":{default:"false",values:["true","false"]},"aria-invalid":{default:"false",values:["true","false","grammar","spelling"]},"aria-pressed":{default:void 0,values:["true","false","mixed",void 0]},"aria-selected":{default:void 0,values:["true","false",void 0]},"aria-atomic":{default:"false",values:["true","false"]},"aria-autocomplete":{default:"none",values:["inline","list","both","none"]},"aria-dropeffect":{default:"none",multiple:!0,values:["copy","move","link","execute","popup","none"]},"aria-haspopup":{default:"false",values:["true","false"]},"aria-live":{default:"off",values:["off","polite","assertive"]},"aria-multiline":{default:"false",values:["true","false"]},"aria-multiselectable":{default:"false",values:["true","false"]},"aria-orientation":{default:"horizontal",values:["vertical","horizontal"]},"aria-readonly":{default:"false",values:["true","false"]},"aria-relevant":{default:"additions text",multiple:!0,values:["additions","removals","text","all"]},"aria-required":{default:"false",values:["true","false"]},"aria-sort":{default:"none",other:!0,values:["ascending","descending","none"]}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(180)),r=o(n(175));function o(e){return e&&e.__esModule?e:{default:e}}t.default={interactionType:i.default,shadowMutations:r.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n(452)),r=l(n(86)),o=l(n(176)),a=l(n(65)),s=l(n(177));function l(e){return e&&e.__esModule?e:{default:e}}t.default={firstTabbable:i.default,focusable:r.default,shadowHosts:o.default,tabbable:a.default,tabsequence:s.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.sequence,s=e.strategy,c=e.ignoreAutofocus,d=e.defaultToContext,h=e.includeOnlyTabbable,f=-1;n||(t=(0,a.default)(t||document.body)[0],n=(0,r.default)({context:t,includeOnlyTabbable:h,strategy:s})),n.length&&!c&&(f=(0,i.default)(n,l)),n.length&&-1===f&&(f=(0,i.default)(n,u));var p=o.default.rules.except({onlyTabbable:h});return-1===f&&d&&t&&p(t)?t:n[f]||null};var i=s(n(118)),r=s(n(65)),o=s(n(39)),a=s(n(27));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return e.hasAttribute("autofocus")}function u(e){return e.tabIndex<=0}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(454)),r=o(n(455));function o(e){return e&&e.__esModule?e:{default:e}}t.default={focusSource:i.default,focusWithin:r.default},e.exports=t.default},function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var i=n(181),r=s(n(121)),o=s(n(180)),a=s(n(66));function s(e){return e&&e.__esModule?e:{default:e}}var l="undefined"!=typeof document&&"onfocusin"in document,u=l?"focusin":"focus",c=l?"focusout":"blur",d=void 0,h=void 0,f=null,p=null,m={pointer:!1,key:!1,script:!1,initial:!1};function v(e){var t="";if(e.type===u||"shadow-focus"===e.type){var n=d.get();t=p||n.pointer&&"pointer"||n.key&&"key"||"script"}else"initial"===e.type&&(t="initial");document.documentElement.setAttribute("data-focus-source",t),e.type!==c&&(m[t]||(0,i.addClass)(document.documentElement,"focus-source-"+t),m[t]=!0,f=t)}function g(){return f}function b(e){return m[e]}function y(e){p=e}function w(){p=!1}t.default=(0,a.default)({engage:function(){return h=(0,r.default)(),document.addEventListener("shadow-focus",v,!0),document.documentElement.addEventListener(u,v,!0),document.documentElement.addEventListener(c,v,!0),d=(0,o.default)(),v({type:"initial"}),{used:b,current:g,lock:y,unlock:w}},disengage:function(){v({type:c}),f=p=null,Object.keys(m).forEach((function(e){(0,i.removeClass)(document.documentElement,"focus-source-"+e),m[e]=!1})),d.disengage(),h&&h.disengage(),document.removeEventListener("shadow-focus",v,!0),document.documentElement.removeEventListener(u,v,!0),document.documentElement.removeEventListener(c,v,!0),document.documentElement.removeAttribute("data-focus-source")}}),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(181),r=c(n(121)),o=c(n(122)),a=c(n(29)),s=c(n(66)),l=c(n(119)),u=c(n(19));function c(e){return e&&e.__esModule?e:{default:e}}var d=void 0,h="undefined"!=typeof document&&"onfocusin"in document,f=h?"focusin":"focus",p=h?"focusout":"blur",m="ally-focus-within",v=void 0,g=void 0,b=void 0;function y(e){var t=e||(0,o.default)();d.cssShadowPiercingDeepCombinator||(t=t.slice(-1));var n=[].slice.call(document.querySelectorAll(v),0),r=t.map((function(e){return(0,a.default)({context:e})})).reduce((function(e,t){return t.concat(e)}),[]);n.forEach((function(e){-1===r.indexOf(e)&&(0,i.removeClass)(e,m)})),r.forEach((function(e){-1===n.indexOf(e)&&(0,i.addClass)(e,m)}))}function w(){g=(window.setImmediate||window.setTimeout)((function(){y()}))}function x(){(window.clearImmediate||window.clearTimeout)(g),y()}function S(e){y(e.detail.elements)}t.default=(0,s.default)({engage:function(){d||(d=(0,u.default)(),v=(0,l.default)("."+m)),b=(0,r.default)(),document.addEventListener(p,w,!0),document.addEventListener(f,x,!0),document.addEventListener("shadow-focus",S,!0),y()},disengage:function(){b&&b.disengage(),(window.clearImmediate||window.clearTimeout)(g),document.removeEventListener(p,w,!0),document.removeEventListener(f,x,!0),document.removeEventListener("shadow-focus",S,!0),[].forEach.call(document.querySelectorAll(v),(function(e){(0,i.removeClass)(e,m)}))}}),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n(457)),r=a(n(178)),o=a(n(182));function a(e){return e&&e.__esModule?e:{default:e}}t.default={focusable:i.default,key:r.default,visibleArea:o.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.context,n=e.callback,s=e.area;if("function"!=typeof n)throw new TypeError("when/focusable requires options.callback to be a function");var l=(0,o.default)({label:"when/focusable",context:t}),u=function(e){return!!(0,r.default)(e)&&n(e)},c=(0,a.default)(l),d=(0,i.default)({context:l,callback:u,area:s}),h=function e(){c.removeEventListener("focus",e,!0),d&&d.disengage()};return c.addEventListener("focus",h,!0),{disengage:h}};var i=s(n(182)),r=s(n(39)),o=s(n(6)),a=s(n(28));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,i=e.getBoundingClientRect(),r=(t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:0,right:t,bottom:n,left:0,width:t,height:n});r.area=r.width*r.height;var u=r,c=function(e){var t=(0,o.default)({context:e}).slice(1).filter(l);if(!t.length)return null;return t.reduce((function(e,t){var n=s(t),i=a(n,e);return i.area=Math.min(n.area,e.area),i}),s(t[0]))}(e);if(c){if(!c.width||!c.height)return 0;(u=a(c,r)).area=c.area}var d=a(i,u);if(!d.width||!d.height)return 0;var h=i.width*i.height,f=Math.min(h,u.area),p=Math.round(d.width)*Math.round(d.height)/f,m=Math.round(1e4*p)/1e4;return Math.min(m,1)};var i,r=n(29),o=(i=r)&&i.__esModule?i:{default:i};function a(e,t){var n=Math.max(e.top,t.top),i=Math.max(e.left,t.left),r=Math.max(Math.min(e.right,t.right),i),o=Math.max(Math.min(e.bottom,t.bottom),n);
2return{top:n,right:r,bottom:o,left:i,width:r-i,height:o-n}}function s(e){var t=e.getBoundingClientRect(),n=e.offsetWidth-e.clientWidth,i=e.offsetHeight-e.clientHeight,r={top:t.top,left:t.left,right:t.right-n,bottom:t.bottom-i,width:t.width-n,height:t.height-i,area:0};return r.area=r.width*r.height,r}function l(e){return!!function(e){var t=window.getComputedStyle(e,null);return"visible"!==t.getPropertyValue("overflow-x")&&"visible"!==t.getPropertyValue("overflow-y")}(e)&&(e.offsetHeight<e.scrollHeight||e.offsetWidth<e.scrollWidth)}e.exports=t.default},function(e,t,n){(function(e){var i,r,o,a;function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}a=function(e){var t={am:"am",pm:"pm",AM:"AM",PM:"PM",decimal:".",mins:"mins",hr:"hr",hrs:"hrs"},n={init:function(i){return this.each((function(){var a=e(this),s=[];for(var l in e.fn.timepicker.defaults)a.data(l)&&(s[l]=a.data(l));var u=e.extend({},e.fn.timepicker.defaults,s,i);if(u.lang&&(t=e.extend(t,u.lang)),u=r(u),a.data("timepicker-settings",u),a.addClass("ui-timepicker-input"),u.useSelect)o(a);else{if(a.prop("autocomplete","off"),u.showOn)for(var c in u.showOn)a.on(u.showOn[c]+".timepicker",n.show);a.on("change.timepicker",f),a.on("keydown.timepicker",g),a.on("keyup.timepicker",b),u.disableTextInput&&a.on("keydown.timepicker",v),f.call(a.get(0),null,"initial")}}))},show:function(t){var r=e(this),a=r.data("timepicker-settings");if(t&&t.preventDefault(),a.useSelect)r.data("timepicker-list").focus();else{c(r)&&r.blur();var s=r.data("timepicker-list");if(!r.prop("readonly")&&(s&&0!==s.length&&"function"!=typeof a.durationTime||(o(r),s=r.data("timepicker-list")),!i(s))){r.data("ui-timepicker-value",r.val()),h(r,s),n.hide(),s.show();var l={};a.orientation.match(/r/)?l.left=r.offset().left+r.outerWidth()-s.outerWidth()+parseInt(s.css("marginLeft").replace("px",""),10):l.left=r.offset().left+parseInt(s.css("marginLeft").replace("px",""),10),"t"==(a.orientation.match(/t/)?"t":a.orientation.match(/b/)?"b":r.offset().top+r.outerHeight(!0)+s.outerHeight()>e(window).height()+e(window).scrollTop()?"t":"b")?(s.addClass("ui-timepicker-positioned-top"),l.top=r.offset().top-s.outerHeight()+parseInt(s.css("marginTop").replace("px",""),10)):(s.removeClass("ui-timepicker-positioned-top"),l.top=r.offset().top+r.outerHeight()+parseInt(s.css("marginTop").replace("px",""),10)),s.offset(l);var f=s.find(".ui-timepicker-selected");if(!f.length){var m=S(p(r));null!==m?f=d(r,s,m):a.scrollDefault&&(f=d(r,s,a.scrollDefault()))}if(f&&f.length){var v=s.scrollTop()+f.position().top-f.outerHeight();s.scrollTop(v)}else s.scrollTop(0);return a.stopScrollPropagation&&e(document).on("wheel.ui-timepicker",".ui-timepicker-wrapper",(function(t){t.preventDefault();var n=e(this).scrollTop();e(this).scrollTop(n+t.originalEvent.deltaY)})),e(document).on("touchstart.ui-timepicker mousedown.ui-timepicker",u),e(window).on("resize.ui-timepicker",u),a.closeOnWindowScroll&&e(document).on("scroll.ui-timepicker",u),r.trigger("showTimepicker"),this}}},hide:function(t){var n=e(this),r=n.data("timepicker-settings");return r&&r.useSelect&&n.blur(),e(".ui-timepicker-wrapper").each((function(){var t=e(this);if(i(t)){var n=t.data("timepicker-input"),r=n.data("timepicker-settings");r&&r.selectOnBlur&&y(n),t.hide(),n.trigger("hideTimepicker")}})),this},option:function(t,n){return"string"==typeof t&&void 0===n?e(this).data("timepicker-settings")[t]:this.each((function(){var i=e(this),a=i.data("timepicker-settings"),l=i.data("timepicker-list");"object"==s(t)?a=e.extend(a,t):"string"==typeof t&&(a[t]=n),a=r(a),i.data("timepicker-settings",a),l&&(l.remove(),i.data("timepicker-list",!1)),a.useSelect&&o(i)}))},getSecondsFromMidnight:function(){return S(p(this))},getTime:function(e){var t=p(this);if(!t)return null;var n=S(t);if(null===n)return null;e||(e=new Date);var i=new Date(e);return i.setHours(n/3600),i.setMinutes(n%3600/60),i.setSeconds(n%60),i.setMilliseconds(0),i},isVisible:function(){var e=this.data("timepicker-list");return!(!e||!i(e))},setTime:function(e){var t=this.data("timepicker-settings");if(t.forceRoundTime)var n=l(S(e),t);else n=x(S(e),t);return e&&null===n&&t.noneOption&&(n=e),m(this,n),this.data("timepicker-list")&&h(this,this.data("timepicker-list")),this},remove:function(){if(this.hasClass("ui-timepicker-input")){var e=this.data("timepicker-settings");return this.removeAttr("autocomplete","off"),this.removeClass("ui-timepicker-input"),this.removeData("timepicker-settings"),this.off(".timepicker"),this.data("timepicker-list")&&this.data("timepicker-list").remove(),e.useSelect&&this.show(),this.removeData("timepicker-list"),this}}};function i(e){var t=e[0];return t.offsetWidth>0&&t.offsetHeight>0}function r(t){if(t.minTime&&(t.minTime=S(t.minTime)),t.maxTime&&(t.maxTime=S(t.maxTime)),t.durationTime&&"function"!=typeof t.durationTime&&(t.durationTime=S(t.durationTime)),"now"==t.scrollDefault)t.scrollDefault=function(){return t.roundingFunction(S(new Date),t)};else if(t.scrollDefault&&"function"!=typeof t.scrollDefault){var n=t.scrollDefault;t.scrollDefault=function(){return t.roundingFunction(S(n),t)}}else t.minTime&&(t.scrollDefault=function(){return t.roundingFunction(t.minTime,t)});if("string"===e.type(t.timeFormat)&&t.timeFormat.match(/[gh]/)&&(t._twelveHourTime=!0),!1===t.showOnFocus&&-1!=t.showOn.indexOf("focus")&&t.showOn.splice(t.showOn.indexOf("focus"),1),t.disableTimeRanges.length>0){for(var i in t.disableTimeRanges)t.disableTimeRanges[i]=[S(t.disableTimeRanges[i][0]),S(t.disableTimeRanges[i][1])];for(t.disableTimeRanges=t.disableTimeRanges.sort((function(e,t){return e[0]-t[0]})),i=t.disableTimeRanges.length-1;i>0;i--)t.disableTimeRanges[i][0]<=t.disableTimeRanges[i-1][1]&&(t.disableTimeRanges[i-1]=[Math.min(t.disableTimeRanges[i][0],t.disableTimeRanges[i-1][0]),Math.max(t.disableTimeRanges[i][1],t.disableTimeRanges[i-1][1])],t.disableTimeRanges.splice(i,1))}return t}function o(t){var i=t.data("timepicker-settings"),r=t.data("timepicker-list");if(r&&r.length&&(r.remove(),t.data("timepicker-list",!1)),i.useSelect)var o=r=e("<select />",{class:"ui-timepicker-select"});else r=e("<ul />",{class:"ui-timepicker-list"}),(o=e("<div />",{class:"ui-timepicker-wrapper",tabindex:-1})).css({display:"none",position:"absolute"}).append(r);if(i.noneOption)if(!0===i.noneOption&&(i.noneOption=i.useSelect?"Time...":"None"),e.isArray(i.noneOption)){for(var s in i.noneOption)if(parseInt(s,10)==s){var u=a(i.noneOption[s],i.useSelect);r.append(u)}}else u=a(i.noneOption,i.useSelect),r.append(u);i.className&&o.addClass(i.className),null===i.minTime&&null===i.durationTime||!i.showDuration||("function"==typeof i.step||i.step,o.addClass("ui-timepicker-with-duration"),o.addClass("ui-timepicker-step-"+i.step));var d=i.minTime;"function"==typeof i.durationTime?d=S(i.durationTime()):null!==i.durationTime&&(d=i.durationTime);var f=null!==i.minTime?i.minTime:0,p=null!==i.maxTime?i.maxTime:f+86400-1;p<f&&(p+=86400),86399===p&&"string"===e.type(i.timeFormat)&&i.show2400&&(p=86400);var v=i.disableTimeRanges,g=0,b=v.length,_=i.step;"function"!=typeof _&&(_=function(){return i.step}),s=f;for(var k=0;s<=p;s+=60*_(++k)){var E,C=s,T=x(C,i);if(i.useSelect?(E=e("<option />",{value:T})).text(T):((E=e("<li />")).addClass(C%86400<43200?"ui-timepicker-am":"ui-timepicker-pm"),E.data("time",C<=86400?C:C%86400),E.text(T)),(null!==i.minTime||null!==i.durationTime)&&i.showDuration){var M=w(s-d,i.step);if(i.useSelect)E.text(E.text()+" ("+M+")");
2else{var A=e("<span />",{class:"ui-timepicker-duration"});A.text(" ("+M+")"),E.append(A)}}g<b&&(C>=v[g][1]&&(g+=1),v[g]&&C>=v[g][0]&&C<v[g][1]&&(i.useSelect?E.prop("disabled",!0):E.addClass("ui-timepicker-disabled"))),r.append(E)}if(o.data("timepicker-input",t),t.data("timepicker-list",o),i.useSelect)t.val()&&r.val(l(S(t.val()),i)),r.on("focus",(function(){e(this).data("timepicker-input").trigger("showTimepicker")})),r.on("blur",(function(){e(this).data("timepicker-input").trigger("hideTimepicker")})),r.on("change",(function(){m(t,e(this).val(),"select")})),m(t,r.val(),"initial"),t.hide().after(r);else{var P=i.appendTo;"string"==typeof P?P=e(P):"function"==typeof P&&(P=P(t)),P.append(o),h(t,r),r.on("mousedown click","li",(function(i){t.off("focus.timepicker"),t.on("focus.timepicker-ie-hack",(function(){t.off("focus.timepicker-ie-hack"),t.on("focus.timepicker",n.show)})),c(t)||t[0].focus(),r.find("li").removeClass("ui-timepicker-selected"),e(this).addClass("ui-timepicker-selected"),y(t)&&(t.trigger("hideTimepicker"),r.on("mouseup.timepicker click.timepicker","li",(function(e){r.off("mouseup.timepicker click.timepicker"),o.hide()})))}))}}function a(t,n){var i,r,o;return"object"==s(t)?(i=t.label,r=t.className,o=t.value):"string"==typeof t?i=t:e.error("Invalid noneOption value"),n?e("<option />",{value:o,class:r,text:i}):e("<li />",{class:r,text:i}).data("time",String(o))}function l(e,t){if(null!==(e=t.roundingFunction(e,t)))return x(e,t)}function u(t){if(t.target!=window){var i=e(t.target);i.closest(".ui-timepicker-input").length||i.closest(".ui-timepicker-wrapper").length||(n.hide(),e(document).unbind(".ui-timepicker"),e(window).unbind(".ui-timepicker"))}}function c(e){var t=e.data("timepicker-settings");return(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&t.disableTouchKeyboard}function d(t,n,i){if(!i&&0!==i)return!1;var r=t.data("timepicker-settings"),o=!1;return i=r.roundingFunction(i,r),n.find("li").each((function(t,n){var r=e(n);if("number"==typeof r.data("time"))return r.data("time")==i?(o=r,!1):void 0})),o}function h(e,t){t.find("li").removeClass("ui-timepicker-selected");var n=S(p(e),e.data("timepicker-settings"));if(null!==n){var i=d(e,t,n);if(i){var r=i.offset().top-t.offset().top;(r+i.outerHeight()>t.outerHeight()||r<0)&&t.scrollTop(t.scrollTop()+i.position().top-i.outerHeight()),i.addClass("ui-timepicker-selected")}}}function f(t,n){if(""!==this.value&&"timepicker"!=n){var i=e(this);if(!i.is(":focus")||t&&"change"==t.type){var r=i.data("timepicker-settings"),o=S(this.value,r);if(null!==o){var a=!1;if(null!==r.minTime&&null!==r.maxTime&&(o<r.minTime||o>r.maxTime)&&(a=!0),e.each(r.disableTimeRanges,(function(){if(o>=this[0]&&o<this[1])return a=!0,!1})),r.forceRoundTime){var s=r.roundingFunction(o,r);s!=o&&(o=s,n=null)}var l=x(o,r);a?m(i,l,"error")&&i.trigger("timeRangeError"):m(i,l,n)}else i.trigger("timeFormatError")}}}function p(e){return e.is("input")?e.val():e.data("ui-timepicker-value")}function m(e,t,n){if(e.is("input")){e.val(t);var i=e.data("timepicker-settings");i.useSelect&&"select"!=n&&"initial"!=n&&e.data("timepicker-list").val(l(S(t),i))}return e.data("ui-timepicker-value")!=t?(e.data("ui-timepicker-value",t),"select"==n?e.trigger("selectTime").trigger("changeTime").trigger("change","timepicker"):-1==["error","initial"].indexOf(n)&&e.trigger("changeTime"),!0):(e.trigger("selectTime"),!1)}function v(e){switch(e.keyCode){case 13:case 9:return;default:e.preventDefault()}}function g(t){var r=e(this),o=r.data("timepicker-list");if(!o||!i(o)){if(40!=t.keyCode)return!0;n.show.call(r.get(0)),o=r.data("timepicker-list"),c(r)||r.focus()}switch(t.keyCode){case 13:return y(r)&&(f.call(r.get(0),{type:"change"}),n.hide.apply(this)),t.preventDefault(),!1;case 38:var a=o.find(".ui-timepicker-selected");return a.length?a.is(":first-child")||(a.removeClass("ui-timepicker-selected"),a.prev().addClass("ui-timepicker-selected"),a.prev().position().top<a.outerHeight()&&o.scrollTop(o.scrollTop()-a.outerHeight())):(o.find("li").each((function(t,n){if(e(n).position().top>0)return a=e(n),!1})),a.addClass("ui-timepicker-selected")),!1;case 40:return 0===(a=o.find(".ui-timepicker-selected")).length?(o.find("li").each((function(t,n){if(e(n).position().top>0)return a=e(n),!1})),a.addClass("ui-timepicker-selected")):a.is(":last-child")||(a.removeClass("ui-timepicker-selected"),a.next().addClass("ui-timepicker-selected"),a.next().position().top+2*a.outerHeight()>o.outerHeight()&&o.scrollTop(o.scrollTop()+a.outerHeight())),!1;case 27:o.find("li").removeClass("ui-timepicker-selected"),n.hide();break;case 9:n.hide();break;default:return!0}}function b(t){var n=e(this),r=n.data("timepicker-list"),o=n.data("timepicker-settings");if(!r||!i(r)||o.disableTextInput)return!0;switch(t.keyCode){case 96:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 65:case 77:case 80:case 186:case 8:case 46:o.typeaheadHighlight?h(n,r):r.hide()}}function y(e){var t=e.data("timepicker-settings"),n=null,i=e.data("timepicker-list").find(".ui-timepicker-selected");return!i.hasClass("ui-timepicker-disabled")&&(i.length&&(n=i.data("time")),null!==n&&("string"!=typeof n&&(n=x(n,t)),m(e,n,"select")),!0)}function w(e,n){e=Math.abs(e);var i,r,o=Math.round(e/60),a=[];return o<60?a=[o,t.mins]:(i=Math.floor(o/60),r=o%60,30==n&&30==r&&(i+=t.decimal+5),a.push(i),a.push(1==i?t.hr:t.hrs),30!=n&&r&&(a.push(r),a.push(t.mins))),a.join(" ")}
2function x(n,i){if("number"!=typeof n)return null;var r=parseInt(n%60),o=parseInt(n/60%60),a=parseInt(n/3600%24),s=new Date(1970,0,2,a,o,r,0);if(isNaN(s.getTime()))return null;if("function"===e.type(i.timeFormat))return i.timeFormat(s);for(var l,u,c="",d=0;d<i.timeFormat.length;d++)switch(u=i.timeFormat.charAt(d)){case"a":c+=s.getHours()>11?t.pm:t.am;break;case"A":c+=s.getHours()>11?t.PM:t.AM;break;case"g":c+=0==(l=s.getHours()%12)?"12":l;break;case"G":l=s.getHours(),86400===n&&(l=i.show2400?24:0),c+=l;break;case"h":0!=(l=s.getHours()%12)&&l<10&&(l="0"+l),c+=0===l?"12":l;break;case"H":l=s.getHours(),86400===n&&(l=i.show2400?24:0),c+=l>9?l:"0"+l;break;case"i":c+=(o=s.getMinutes())>9?o:"0"+o;break;case"s":c+=(r=s.getSeconds())>9?r:"0"+r;break;case"\\":d++,c+=i.timeFormat.charAt(d);break;default:c+=u}return c}function S(e,n){if(""===e||null===e)return null;if("object"==s(e))return 3600*e.getHours()+60*e.getMinutes()+e.getSeconds();if("string"!=typeof e)return e;"a"!=(e=e.toLowerCase().replace(/[\s\.]/g,"")).slice(-1)&&"p"!=e.slice(-1)||(e+="m");var i="("+t.am.replace(".","")+"|"+t.pm.replace(".","")+"|"+t.AM.replace(".","")+"|"+t.PM.replace(".","")+")?",r=new RegExp("^"+i+"([0-9]?[0-9])\\W?([0-5][0-9])?\\W?([0-5][0-9])?"+i+"$"),o=e.match(r);if(!o)return null;var a=parseInt(1*o[2],10);if(a>24){if(n&&!1===n.wrapHours)return null;a%=24}var l=o[1]||o[5],u=a;if(a<=12&&l){var c=l==t.pm||l==t.PM;u=12==a?c?12:0:a+(c?12:0)}var d=3600*u+60*(1*o[3]||0)+(1*o[4]||0);if(a<12&&!l&&n&&n._twelveHourTime&&n.scrollDefault){var h=d-n.scrollDefault();h<0&&h>=-43200&&(d=(d+43200)%86400)}return d}e.fn.timepicker=function(t){return this.length?n[t]?this.hasClass("ui-timepicker-input")?n[t].apply(this,Array.prototype.slice.call(arguments,1)):this:"object"!==s(t)&&t?void e.error("Method "+t+" does not exist on jQuery.timepicker"):n.init.apply(this,arguments):this},e.fn.timepicker.defaults={appendTo:"body",className:null,closeOnWindowScroll:!1,disableTextInput:!1,disableTimeRanges:[],disableTouchKeyboard:!1,durationTime:null,forceRoundTime:!1,maxTime:null,minTime:null,noneOption:!1,orientation:"l",roundingFunction:function(e,t){if(null===e)return null;if("number"!=typeof t.step)return e;var n=e%(60*t.step);return n>=30*t.step?e+=60*t.step-n:e-=n,86400==e&&t.show2400?e:e%86400},scrollDefault:null,selectOnBlur:!1,show2400:!1,showDuration:!1,showOn:["click","focus"],showOnFocus:!0,step:30,stopScrollPropagation:!1,timeFormat:"g:ia",typeaheadHighlight:!0,useSelect:!1,wrapHours:!0}},"object"===s(t)&&t&&"object"===s(e)&&e&&e.exports===t?a(n(1)):(r=[n(1)],void 0===(o="function"==typeof(i=a)?i.apply(t,r):i)||(e.exports=o))}).call(this,n(80)(e))},function(e,t){!function(e,t,n,i){"use strict";if(e.console=e.console||{info:function(e){}},n)if(n.fn.fancybox)console.info("fancyBox already initialized");else{var r,o,a={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
2<path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(e,t){return"image"===e.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(e,t){return"image"===e.type&&"toggleControls"},clickSlide:function(e,t){return"image"===e.type?"toggleControls":"close"},dblclickContent:function(e,t){return"image"===e.type&&"zoom"},dblclickSlide:function(e,t){return"image"===e.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergrößern"}}},s=n(e),l=n(t),u=0,c=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},d=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},h=function(){var e,n=t.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in i)if(void 0!==n.style[e])return i[e];return"transitionend"}(),f=function(e){return e&&e.length&&e[0].offsetHeight},p=function(e,t){var i=n.extend(!0,{},e,t);return n.each(t,(function(e,t){n.isArray(t)&&(i[e]=t)})),i},m=function(e,t,i){this.opts=p({index:i},n.fancybox.defaults),n.isPlainObject(t)&&(this.opts=p(this.opts,t)),n.fancybox.isMobile&&(this.opts=p(this.opts,this.opts.mobile)),this.id=this.opts.id||++u,this.currIndex=parseInt(this.opts.index,10)||0,this.prevIndex=null,this.prevPos=null,this.currPos=0,this.firstRun=!0,this.group=[],this.slides={},this.addContent(e),this.group.length&&this.init()};n.extend(m.prototype,{init:function(){var i,r,o=this,a=o.group[o.currIndex].opts;a.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==a.hideScrollbar&&!n.fancybox.isMobile&&t.body.scrollHeight>
2e.innerHeight&&(n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(e.innerWidth-t.documentElement.clientWidth)+"px;}</style>"),n("body").addClass("compensate-for-scrollbar")),r="",n.each(a.buttons,(function(e,t){r+=a.btnTpl[t]||""})),i=n(o.translate(o,a.baseTpl.replace("{{buttons}}",r).replace("{{arrows}}",a.btnTpl.arrowLeft+a.btnTpl.arrowRight))).attr("id","fancybox-container-"+o.id).addClass(a.baseClass).data("FancyBox",o).appendTo(a.parentEl),o.$refs={container:i},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach((function(e){o.$refs[e]=i.find(".fancybox-"+e)})),o.trigger("onInit"),o.activate(),o.jumpTo(o.currIndex)},translate:function(e,t){var n=e.opts.i18n[e.opts.lang]||e.opts.i18n.en;return t.replace(/\{\{(\w+)\}\}/g,(function(e,t){return void 0===n[t]?e:n[t]}))},addContent:function(e){var t,i=this,r=n.makeArray(e);n.each(r,(function(e,t){var r,o,a,s,l,u={},c={};n.isPlainObject(t)?(u=t,c=t.opts||t):"object"===n.type(t)&&n(t).length?(c=(r=n(t)).data()||{},(c=n.extend(!0,{},c,c.options)).$orig=r,u.src=i.opts.src||c.src||r.attr("href"),u.type||u.src||(u.type="inline",u.src=t)):u={type:"html",src:t+""},u.opts=n.extend(!0,{},i.opts,c),n.isArray(c.buttons)&&(u.opts.buttons=c.buttons),n.fancybox.isMobile&&u.opts.mobile&&(u.opts=p(u.opts,u.opts.mobile)),o=u.type||u.opts.type,s=u.src||"",!o&&s&&((a=s.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(o="video",u.opts.video.format||(u.opts.video.format="video/"+("ogv"===a[1]?"ogg":a[1]))):s.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?o="image":s.match(/\.(pdf)((\?|#).*)?$/i)?(o="iframe",u=n.extend(!0,u,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===s.charAt(0)&&(o="inline")),o?u.type=o:i.trigger("objectNeedsType",u),u.contentType||(u.contentType=n.inArray(u.type,["html","inline","ajax"])>-1?"html":u.type),u.index=i.group.length,"auto"==u.opts.smallBtn&&(u.opts.smallBtn=n.inArray(u.type,["html","inline","ajax"])>-1),"auto"===u.opts.toolbar&&(u.opts.toolbar=!u.opts.smallBtn),u.$thumb=u.opts.$thumb||null,u.opts.$trigger&&u.index===i.opts.index&&(u.$thumb=u.opts.$trigger.find("img:first"),u.$thumb.length&&(u.opts.$orig=u.opts.$trigger)),u.$thumb&&u.$thumb.length||!u.opts.$orig||(u.$thumb=u.opts.$orig.find("img:first")),u.$thumb&&!u.$thumb.length&&(u.$thumb=null),u.thumb=u.opts.thumb||(u.$thumb?u.$thumb[0].src:null),"function"===n.type(u.opts.caption)&&(u.opts.caption=u.opts.caption.apply(t,[i,u])),"function"===n.type(i.opts.caption)&&(u.opts.caption=i.opts.caption.apply(t,[i,u])),u.opts.caption instanceof n||(u.opts.caption=void 0===u.opts.caption?"":u.opts.caption+""),"ajax"===u.type&&(l=s.split(/\s+/,2)).length>1&&(u.src=l.shift(),u.opts.filter=l.shift()),u.opts.modal&&(u.opts=n.extend(!0,u.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),i.group.push(u)})),Object.keys(i.slides).length&&(i.updateControls(),(t=i.Thumbs)&&t.isActive&&(t.create(),t.focus()))},addEvents:function(){var t=this;t.removeEvents(),t.$refs.container.on("click.fb-close","[data-fancybox-close]",(function(e){e.stopPropagation(),e.preventDefault(),t.close(e)})).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",(function(e){e.stopPropagation(),e.preventDefault(),t.previous()})).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",(function(e){e.stopPropagation(),e.preventDefault(),t.next()})).on("click.fb","[data-fancybox-zoom]",(function(e){t[t.isScaledDown()?"scaleToActual":"scaleToFit"]()})),s.on("orientationchange.fb resize.fb",(function(e){e&&e.originalEvent&&"resize"===e.originalEvent.type?(t.requestId&&d(t.requestId),t.requestId=c((function(){t.update(e)}))):(t.current&&"iframe"===t.current.type&&t.$refs.stage.hide(),setTimeout((function(){t.$refs.stage.show(),t.update(e)}),n.fancybox.isMobile?600:250))})),l.on("keydown.fb",(function(e){var i=(n.fancybox?n.fancybox.getInstance():null).current,r=e.keyCode||e.which;if(9!=r){if(!(!i.opts.keyboard||e.ctrlKey||e.altKey||e.shiftKey||n(e.target).is("input,textarea,video,audio,select")))return 8===r||27===r?(e.preventDefault(),void t.close(e)):37===r||38===r?(e.preventDefault(),void t.previous()):39===r||40===r?(e.preventDefault(),void t.next()):void t.trigger("afterKeydown",e,r)}
2else i.opts.trapFocus&&t.focus(e)})),t.group[t.currIndex].opts.idleTime&&(t.idleSecondsCounter=0,l.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",(function(e){t.idleSecondsCounter=0,t.isIdle&&t.showControls(),t.isIdle=!1})),t.idleInterval=e.setInterval((function(){t.idleSecondsCounter++,t.idleSecondsCounter>=t.group[t.currIndex].opts.idleTime&&!t.isDragging&&(t.isIdle=!0,t.idleSecondsCounter=0,t.hideControls())}),1e3))},removeEvents:function(){s.off("orientationchange.fb resize.fb"),l.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),this.idleInterval&&(e.clearInterval(this.idleInterval),this.idleInterval=null)},previous:function(e){return this.jumpTo(this.currPos-1,e)},next:function(e){return this.jumpTo(this.currPos+1,e)},jumpTo:function(e,t){var i,r,o,a,s,l,u,c,d,h=this,p=h.group.length;if(!(h.isDragging||h.isClosing||h.isAnimating&&h.firstRun)){if(e=parseInt(e,10),!(o=h.current?h.current.opts.loop:h.opts.loop)&&(e<0||e>=p))return!1;if(i=h.firstRun=!Object.keys(h.slides).length,s=h.current,h.prevIndex=h.currIndex,h.prevPos=h.currPos,a=h.createSlide(e),p>1&&((o||a.index<p-1)&&h.createSlide(e+1),(o||a.index>0)&&h.createSlide(e-1)),h.current=a,h.currIndex=a.index,h.currPos=a.pos,h.trigger("beforeShow",i),h.updateControls(),a.forcedDuration=void 0,n.isNumeric(t)?a.forcedDuration=t:t=a.opts[i?"animationDuration":"transitionDuration"],t=parseInt(t,10),r=h.isMoved(a),a.$slide.addClass("fancybox-slide--current"),i)return a.opts.animationEffect&&t&&h.$refs.container.css("transition-duration",t+"ms"),h.$refs.container.addClass("fancybox-is-open").trigger("focus"),h.loadSlide(a),void h.preload("image");l=n.fancybox.getTranslate(s.$slide),u=n.fancybox.getTranslate(h.$refs.stage),n.each(h.slides,(function(e,t){n.fancybox.stop(t.$slide,!0)})),s.pos!==a.pos&&(s.isComplete=!1),s.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),r?(d=l.left-(s.pos*l.width+s.pos*s.opts.gutter),n.each(h.slides,(function(e,i){i.$slide.removeClass("fancybox-animated").removeClass((function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}));var r=i.pos*l.width+i.pos*i.opts.gutter;n.fancybox.setTranslate(i.$slide,{top:0,left:r-u.left+d}),i.pos!==a.pos&&i.$slide.addClass("fancybox-slide--"+(i.pos>a.pos?"next":"previous")),f(i.$slide),n.fancybox.animate(i.$slide,{top:0,left:(i.pos-a.pos)*l.width+(i.pos-a.pos)*i.opts.gutter},t,(function(){i.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),i.pos===h.currPos&&h.complete()}))}))):t&&a.opts.transitionEffect&&(c="fancybox-animated fancybox-fx-"+a.opts.transitionEffect,s.$slide.addClass("fancybox-slide--"+(s.pos>a.pos?"next":"previous")),n.fancybox.animate(s.$slide,c,t,(function(){s.$slide.removeClass(c).removeClass("fancybox-slide--next fancybox-slide--previous")}),!1)),a.isLoaded?h.revealContent(a):h.loadSlide(a),h.preload("image")}},createSlide:function(e){var t,i;return i=(i=e%this.group.length)<0?this.group.length+i:i,!this.slides[e]&&this.group[i]&&(t=n('<div class="fancybox-slide"></div>').appendTo(this.$refs.stage),this.slides[e]=n.extend(!0,{},this.group[i],{pos:e,$slide:t,isLoaded:!1}),this.updateSlide(this.slides[e])),this.slides[e]},scaleToActual:function(e,t,i){var r,o,a,s,l,u=this,c=u.current,d=c.$content,h=n.fancybox.getTranslate(c.$slide).width,f=n.fancybox.getTranslate(c.$slide).height,p=c.width,m=c.height;u.isAnimating||u.isMoved()||!d||"image"!=c.type||!c.isLoaded||c.hasError||(u.isAnimating=!0,n.fancybox.stop(d),e=void 0===e?.5*h:e,t=void 0===t?.5*f:t,(r=n.fancybox.getTranslate(d)).top-=n.fancybox.getTranslate(c.$slide).top,r.left-=n.fancybox.getTranslate(c.$slide).left,s=p/r.width,l=m/r.height,o=.5*h-.5*p,a=.5*f-.5*m,p>h&&((o=r.left*s-(e*s-e))>0&&(o=0),o<h-p&&(o=h-p)),m>f&&((a=r.top*l-(t*l-t))>0&&(a=0),a<f-m&&(a=f-m)),u.updateCursor(p,m),n.fancybox.animate(d,{top:a,left:o,scaleX:s,scaleY:l},i||366,(function(){u.isAnimating=!1})),u.SlideShow&&u.SlideShow.isActive&&u.SlideShow.stop())},scaleToFit:function(e){var t,i=this,r=i.current,o=r.$content;i.isAnimating||i.isMoved()||!o||"image"!=r.type||!r.isLoaded||r.hasError||(i.isAnimating=!0,n.fancybox.stop(o),t=i.getFitPos(r),i.updateCursor(t.width,t.height),n.fancybox.animate(o,{top:t.top,left
2:t.left,scaleX:t.width/o.width(),scaleY:t.height/o.height()},e||366,(function(){i.isAnimating=!1})))},getFitPos:function(e){var t,i,r,o,a=e.$content,s=e.$slide,l=e.width||e.opts.width,u=e.height||e.opts.height,c={};return!!(e.isLoaded&&a&&a.length)&&(t=n.fancybox.getTranslate(this.$refs.stage).width,i=n.fancybox.getTranslate(this.$refs.stage).height,t-=parseFloat(s.css("paddingLeft"))+parseFloat(s.css("paddingRight"))+parseFloat(a.css("marginLeft"))+parseFloat(a.css("marginRight")),i-=parseFloat(s.css("paddingTop"))+parseFloat(s.css("paddingBottom"))+parseFloat(a.css("marginTop"))+parseFloat(a.css("marginBottom")),l&&u||(l=t,u=i),(l*=r=Math.min(1,t/l,i/u))>t-.5&&(l=t),(u*=r)>i-.5&&(u=i),"image"===e.type?(c.top=Math.floor(.5*(i-u))+parseFloat(s.css("paddingTop")),c.left=Math.floor(.5*(t-l))+parseFloat(s.css("paddingLeft"))):"video"===e.contentType&&(u>l/(o=e.opts.width&&e.opts.height?l/u:e.opts.ratio||16/9)?u=l/o:l>u*o&&(l=u*o)),c.width=l,c.height=u,c)},update:function(e){var t=this;n.each(t.slides,(function(n,i){t.updateSlide(i,e)}))},updateSlide:function(e,t){var i=e&&e.$content,r=e.width||e.opts.width,o=e.height||e.opts.height,a=e.$slide;this.adjustCaption(e),i&&(r||o||"video"===e.contentType)&&!e.hasError&&(n.fancybox.stop(i),n.fancybox.setTranslate(i,this.getFitPos(e)),e.pos===this.currPos&&(this.isAnimating=!1,this.updateCursor())),this.adjustLayout(e),a.length&&(a.trigger("refresh"),e.pos===this.currPos&&this.$refs.toolbar.add(this.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",a.get(0).scrollHeight>a.get(0).clientHeight)),this.trigger("onUpdate",e,t)},centerSlide:function(e){var t=this,i=t.current,r=i.$slide;!t.isClosing&&i&&(r.siblings().css({transform:"",opacity:""}),r.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(r,{top:0,left:0,opacity:1},void 0===e?0:e,(function(){r.css({transform:"",opacity:""}),i.isComplete||t.complete()}),!1))},isMoved:function(e){var t,i,r=e||this.current;return!!r&&(i=n.fancybox.getTranslate(this.$refs.stage),t=n.fancybox.getTranslate(r.$slide),!r.$slide.hasClass("fancybox-animated")&&(Math.abs(t.top-i.top)>.5||Math.abs(t.left-i.left)>.5))},updateCursor:function(e,t){var i,r,o=this.current,a=this.$refs.container;o&&!this.isClosing&&this.Guestures&&(a.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),r=!!(i=this.canPan(e,t))||this.isZoomable(),a.toggleClass("fancybox-is-zoomable",r),n("[data-fancybox-zoom]").prop("disabled",!r),i?a.addClass("fancybox-can-pan"):r&&("zoom"===o.opts.clickContent||n.isFunction(o.opts.clickContent)&&"zoom"==o.opts.clickContent(o))?a.addClass("fancybox-can-zoomIn"):o.opts.touch&&(o.opts.touch.vertical||this.group.length>1)&&"video"!==o.contentType&&a.addClass("fancybox-can-swipe"))},isZoomable:function(){var e,t=this.current;if(t&&!this.isClosing&&"image"===t.type&&!t.hasError){if(!t.isLoaded)return!0;if((e=this.getFitPos(t))&&(t.width>e.width||t.height>e.height))return!0}return!1},isScaledDown:function(e,t){var i=!1,r=this.current,o=r.$content;return void 0!==e&&void 0!==t?i=e<r.width&&t<r.height:o&&(i=(i=n.fancybox.getTranslate(o)).width<r.width&&i.height<r.height),i},canPan:function(e,t){var i=this.current,r=null,o=!1;return"image"===i.type&&(i.isComplete||e&&t)&&!i.hasError&&(o=this.getFitPos(i),void 0!==e&&void 0!==t?r={width:e,height:t}:i.isComplete&&(r=n.fancybox.getTranslate(i.$content)),r&&o&&(o=Math.abs(r.width-o.width)>1.5||Math.abs(r.height-o.height)>1.5)),o},loadSlide:function(e){var t,i,r,o=this;if(!e.isLoading&&!e.isLoaded){if(e.isLoading=!0,!1===o.trigger("beforeLoad",e))return e.isLoading=!1,!1;switch(t=e.type,(i=e.$slide).off("refresh").trigger("onReset").addClass(e.opts.slideClass),t){case"image":o.setImage(e);break;case"iframe":o.setIframe(e);break;case"html":o.setContent(e,e.src||e.content);break;case"video":o.setContent(e,e.opts.video.tpl.replace(/\{\{src\}\}/gi,e.src).replace("{{format}}",e.opts.videoFormat||e.opts.video.format||"").replace("{{poster}}",e.thumb||""));break;case"inline":n(e.src).length?o.setContent(e,n(e.src)):o.setError(e);break;case"ajax":o.showLoading(e),r=n.ajax(n.extend({},e.opts.ajax.settings,{url:e.src,success:function(t,n){"success"===n&&o.setContent(e,t)},error:function(t,n){t&&"abort"!==n&&o.setError(e)}})),i.one("onReset",(function(){r.abort()}));break;default:o.setError(e)}return!0}},setImage:function(e){var i,r=this;setTimeout((function(){var t=e.$image;r.isClosing||!e.isLoading||t&&t.length&&t[0].complete||e.hasError||r.showLoading(e)}
2),50),r.checkSrcset(e),e.$content=n('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide.addClass("fancybox-slide--image")),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&e.thumb&&(e.width=e.opts.width,e.height=e.opts.height,(i=t.createElement("img")).onerror=function(){n(this).remove(),e.$ghost=null},i.onload=function(){r.afterLoad(e)},e.$ghost=n(i).addClass("fancybox-image").appendTo(e.$content).attr("src",e.thumb)),r.setBigImage(e)},checkSrcset:function(t){var n,i,r,o,a=t.opts.srcset||t.opts.image.srcset;if(a){r=e.devicePixelRatio||1,o=e.innerWidth*r,(i=a.split(",").map((function(e){var t={};return e.trim().split(/\s+/).forEach((function(e,n){var i=parseInt(e.substring(0,e.length-1),10);if(0===n)return t.url=e;i&&(t.value=i,t.postfix=e[e.length-1])})),t}))).sort((function(e,t){return e.value-t.value}));for(var s=0;s<i.length;s++){var l=i[s];if("w"===l.postfix&&l.value>=o||"x"===l.postfix&&l.value>=r){n=l;break}}!n&&i.length&&(n=i[i.length-1]),n&&(t.src=n.url,t.width&&t.height&&"w"==n.postfix&&(t.height=t.width/t.height*n.value,t.width=n.value),t.opts.srcset=a)}},setBigImage:function(e){var i=this,r=t.createElement("img"),o=n(r);e.$image=o.one("error",(function(){i.setError(e)})).one("load",(function(){var t;e.$ghost||(i.resolveImageSlideSize(e,this.naturalWidth,this.naturalHeight),i.afterLoad(e)),i.isClosing||(e.opts.srcset&&((t=e.opts.sizes)&&"auto"!==t||(t=(e.width/e.height>1&&s.width()/s.height()>1?"100":Math.round(e.width/e.height*100))+"vw"),o.attr("sizes",t).attr("srcset",e.opts.srcset)),e.$ghost&&setTimeout((function(){e.$ghost&&!i.isClosing&&e.$ghost.hide()}),Math.min(300,Math.max(1e3,e.height/1600))),i.hideLoading(e))})).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content),(r.complete||"complete"==r.readyState)&&o.naturalWidth&&o.naturalHeight?o.trigger("load"):r.error&&o.trigger("error")},resolveImageSlideSize:function(e,t,n){var i=parseInt(e.opts.width,10),r=parseInt(e.opts.height,10);e.width=t,e.height=n,i>0&&(e.width=i,e.height=Math.floor(i*n/t)),r>0&&(e.width=Math.floor(r*t/n),e.height=r)},setIframe:function(e){var t,i=this,r=e.opts.iframe,o=e.$slide;e.$content=n('<div class="fancybox-content'+(r.preload?" fancybox-is-hidden":"")+'"></div>').css(r.css).appendTo(o),o.addClass("fancybox-slide--"+e.contentType),e.$iframe=t=n(r.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(r.attr).appendTo(e.$content),r.preload?(i.showLoading(e),t.on("load.fb error.fb",(function(t){this.isReady=1,e.$slide.trigger("refresh"),i.afterLoad(e)})),o.on("refresh.fb",(function(){var n,i=e.$content,a=r.css.width,s=r.css.height;if(1===t[0].isReady){try{n=t.contents().find("body")}catch(e){}n&&n.length&&n.children().length&&(o.css("overflow","visible"),i.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===a&&(a=Math.ceil(Math.max(n[0].clientWidth,n.outerWidth(!0)))),i.css("width",a||"").css("max-width",""),void 0===s&&(s=Math.ceil(Math.max(n[0].clientHeight,n.outerHeight(!0)))),i.css("height",s||""),o.css("overflow","auto")),i.removeClass("fancybox-is-hidden")}}))):i.afterLoad(e),t.attr("src",e.src),o.one("onReset",(function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(e){}n(this).off("refresh.fb").empty(),e.isLoaded=!1,e.isRevealed=!1}))},setContent:function(e,t){var i;this.isClosing||(this.hideLoading(e),e.$content&&n.fancybox.stop(e.$content),e.$slide.empty(),(i=t)&&i.hasOwnProperty&&i instanceof n&&t.parent().length?((t.hasClass("fancybox-content")||t.parent().hasClass("fancybox-content"))&&t.parents(".fancybox-slide").trigger("onReset"),e.$placeholder=n("<div>").hide().insertAfter(t),t.css("display","inline-block")):e.hasError||("string"===n.type(t)&&(t=n("<div>").append(n.trim(t)).contents()),e.opts.filter&&(t=n("<div>").html(t).find(e.opts.filter))),e.$slide.one("onReset",(function(){n(this).find("video,audio").trigger("pause"),e.$placeholder&&(e.$placeholder.after(t.removeClass("fancybox-content").hide()).remove(),e.$placeholder=null),e.$smallBtn&&(e.$smallBtn.remove(),e.$smallBtn=null),e.hasError||(n(this).empty(),e.isLoaded=!1,e.isRevealed=!1)})),n(t).appendTo(e.$slide),n(t).is("video,audio")&&(n(t).addClass("fancybox-video"),n(t).wrap("<div></div>"),e.contentType="video",e.opts.width=e.opts.width||n(t).attr("width"),e.opts.height=e.opts.height||n(t).attr("height")),e.$content=e.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),e.$content.siblings().hide(),e.$content.length||(e.$content=e.$slide.wrapInner("<div></div>").children().first()),e.$content.addClass("fancybox-content"),e.$slide.addClass("fancybox-slide--"+e.contentType),this.afterLoad(e))},setError:function(e){e.hasError=!0,e.$slide.trigger("onReset").removeClass("fancybox-slide--"+e.contentType).addClass("fancybox-slide--error"),e.contentType="html",this.setContent(e,this.translate(e,e.opts.errorTpl)),e.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(e){(e=e||this.current)&&!e.$spinner&&(e.$spinner=n(this.translate(this,this.opts.spinnerTpl)).appendTo(e.$slide).hide().fadeIn("fast"))},hideLoading:function(e){(e=e||this.current)&&e.$spinner&&(e.$spinner.stop().remove(),delete e.$spinner)},afterLoad:function(e){this.isClosing||(e.isLoading=!1,e.isLoaded=!0,this.trigger("afterLoad",e),this.hideLoading(e),!e.opts.smallBtn||e.$smallBtn&&e.$smallBtn.length||(e.$smallBtn=n(this.translate(e,e.opts.btnTpl.smallBtn)).appendTo(e.$content)),e.opts.protect&&e.$content&&!e.hasError&&(e.$content.on("contextmenu.fb",(function(e){return 2==e.button&&e.preventDefault(),!0})),"image"===e.type&&n('<div class="fancybox-spaceball"></div>').appendTo(e.$content)),this.adjustCaption(e),this.adjustLayout(e),e.pos===this.currPos&&this.updateCursor(
2),this.revealContent(e))},adjustCaption:function(e){var t,n=e||this.current,i=n.opts.caption,r=n.opts.preventCaptionOverlap,o=this.$refs.caption,a=!1;o.toggleClass("fancybox-caption--separate",r),r&&i&&i.length&&(n.pos!==this.currPos?((t=o.clone().appendTo(o.parent())).children().eq(0).empty().html(i),a=t.outerHeight(!0),t.empty().remove()):this.$caption&&(a=this.$caption.outerHeight(!0)),n.$slide.css("padding-bottom",a||""))},adjustLayout:function(e){var t,n,i,r,o=e||this.current;o.isLoaded&&!0!==o.opts.disableLayoutFix&&(o.$content.css("margin-bottom",""),o.$content.outerHeight()>o.$slide.height()+.5&&(i=o.$slide[0].style["padding-bottom"],r=o.$slide.css("padding-bottom"),parseFloat(r)>0&&(t=o.$slide[0].scrollHeight,o.$slide.css("padding-bottom",0),Math.abs(t-o.$slide[0].scrollHeight)<1&&(n=r),o.$slide.css("padding-bottom",i))),o.$content.css("margin-bottom",n))},revealContent:function(e){var t,i,r,o,a=this,s=e.$slide,l=!1,u=!1,c=a.isMoved(e),d=e.isRevealed;return e.isRevealed=!0,t=e.opts[a.firstRun?"animationEffect":"transitionEffect"],r=e.opts[a.firstRun?"animationDuration":"transitionDuration"],r=parseInt(void 0===e.forcedDuration?r:e.forcedDuration,10),!c&&e.pos===a.currPos&&r||(t=!1),"zoom"===t&&(e.pos===a.currPos&&r&&"image"===e.type&&!e.hasError&&(u=a.getThumbPos(e))?l=a.getFitPos(e):t="fade"),"zoom"===t?(a.isAnimating=!0,l.scaleX=l.width/u.width,l.scaleY=l.height/u.height,"auto"==(o=e.opts.zoomOpacity)&&(o=Math.abs(e.width/e.height-u.width/u.height)>.1),o&&(u.opacity=.1,l.opacity=1),n.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),u),f(e.$content),void n.fancybox.animate(e.$content,l,r,(function(){a.isAnimating=!1,a.complete()}))):(a.updateSlide(e),t?(n.fancybox.stop(s),i="fancybox-slide--"+(e.pos>=a.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+t,s.addClass(i).removeClass("fancybox-slide--current"),e.$content.removeClass("fancybox-is-hidden"),f(s),"image"!==e.type&&e.$content.hide().show(0),void n.fancybox.animate(s,"fancybox-slide--current",r,(function(){s.removeClass(i).css({transform:"",opacity:""}),e.pos===a.currPos&&a.complete()}),!0)):(e.$content.removeClass("fancybox-is-hidden"),d||!c||"image"!==e.type||e.hasError||e.$content.hide().fadeIn("fast"),void(e.pos===a.currPos&&a.complete())))},getThumbPos:function(e){var i,r,o,a,s,l,u=e.$thumb;return!(!u||!function(e){var i,r;return!(!e||e.ownerDocument!==t)&&(n(".fancybox-container").css("pointer-events","none"),i={x:e.getBoundingClientRect().left+e.offsetWidth/2,y:e.getBoundingClientRect().top+e.offsetHeight/2},r=t.elementFromPoint(i.x,i.y)===e,n(".fancybox-container").css("pointer-events",""),r)}(u[0]))&&(r=n.fancybox.getTranslate(u),o=parseFloat(u.css("border-top-width")||0),a=parseFloat(u.css("border-right-width")||0),s=parseFloat(u.css("border-bottom-width")||0),l=parseFloat(u.css("border-left-width")||0),i={top:r.top+o,left:r.left+l,width:r.width-a-l,height:r.height-o-s,scaleX:1,scaleY:1},r.width>0&&r.height>0&&i)},complete:function(){var e,t=this,i=t.current,r={};!t.isMoved()&&i.isLoaded&&(i.isComplete||(i.isComplete=!0,i.$slide.siblings().trigger("onReset"),t.preload("inline"),f(i.$slide),i.$slide.addClass("fancybox-slide--complete"),n.each(t.slides,(function(e,i){i.pos>=t.currPos-1&&i.pos<=t.currPos+1?r[i.pos]=i:i&&(n.fancybox.stop(i.$slide),i.$slide.off().remove())})),t.slides=r),t.isAnimating=!1,t.updateCursor(),t.trigger("afterShow"),i.opts.video.autoStart&&i.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",(function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),t.next()})),i.opts.autoFocus&&"html"===i.contentType&&((e=i.$content.find("input[autofocus]:enabled:visible:first")).length?e.trigger("focus"):t.focus(null,!0)),i.$slide.scrollTop(0).scrollLeft(0))},preload:function(e){var t,n;this.group.length<2||(n=this.slides[this.currPos+1],(t=this.slides[this.currPos-1])&&t.type===e&&this.loadSlide(t),n&&n.type===e&&this.loadSlide(n))},focus:function(e,i){var r,o,a=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not
2([tabindex^="-"])'].join(",");this.isClosing||((r=(r=!e&&this.current&&this.current.isComplete?this.current.$slide.find("*:visible"+(i?":not(.fancybox-close-small)":"")):this.$refs.container.find("*:visible")).filter(a).filter((function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}))).length?(o=r.index(t.activeElement),e&&e.shiftKey?(o<0||0==o)&&(e.preventDefault(),r.eq(r.length-1).trigger("focus")):(o<0||o==r.length-1)&&(e&&e.preventDefault(),r.eq(0).trigger("focus"))):this.$refs.container.trigger("focus"))},activate:function(){var e=this;n(".fancybox-container").each((function(){var t=n(this).data("FancyBox");t&&t.id!==e.id&&!t.isClosing&&(t.trigger("onDeactivate"),t.removeEvents(),t.isVisible=!1)})),e.isVisible=!0,(e.current||e.isIdle)&&(e.update(),e.updateControls()),e.trigger("onActivate"),e.addEvents()},close:function(e,t){var i,r,o,a,s,l,u,d=this,h=d.current,p=function(){d.cleanUp(e)};return!d.isClosing&&(d.isClosing=!0,!1===d.trigger("beforeClose",e)?(d.isClosing=!1,c((function(){d.update()})),!1):(d.removeEvents(),o=h.$content,i=h.opts.animationEffect,r=n.isNumeric(t)?t:i?h.opts.animationDuration:0,h.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==e?n.fancybox.stop(h.$slide):i=!1,h.$slide.siblings().trigger("onReset").remove(),r&&d.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",r+"ms"),d.hideLoading(h),d.hideControls(!0),d.updateCursor(),"zoom"!==i||o&&r&&"image"===h.type&&!d.isMoved()&&!h.hasError&&(u=d.getThumbPos(h))||(i="fade"),"zoom"===i?(n.fancybox.stop(o),l={top:(a=n.fancybox.getTranslate(o)).top,left:a.left,scaleX:a.width/u.width,scaleY:a.height/u.height,width:u.width,height:u.height},"auto"==(s=h.opts.zoomOpacity)&&(s=Math.abs(h.width/h.height-u.width/u.height)>.1),s&&(u.opacity=0),n.fancybox.setTranslate(o,l),f(o),n.fancybox.animate(o,u,r,p),!0):(i&&r?n.fancybox.animate(h.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+i,r,p):!0===e?setTimeout(p,r):p(),!0)))},cleanUp:function(t){var i,r,o,a=this.current.opts.$orig;this.current.$slide.trigger("onReset"),this.$refs.container.empty().remove(),this.trigger("afterClose",t),this.current.opts.backFocus&&(a&&a.length&&a.is(":visible")||(a=this.$trigger),a&&a.length&&(r=e.scrollX,o=e.scrollY,a.trigger("focus"),n("html, body").scrollTop(o).scrollLeft(r))),this.current=null,(i=n.fancybox.getInstance())?i.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(e,t){var i,r=Array.prototype.slice.call(arguments,1),o=this,a=t&&t.opts?t:o.current;if(a?r.unshift(a):a=o,r.unshift(o),n.isFunction(a.opts[e])&&(i=a.opts[e].apply(a,r)),!1===i)return i;"afterClose"!==e&&o.$refs?o.$refs.container.trigger(e+".fb",r):l.trigger(e+".fb",r)},updateControls:function(){var e=this.current,i=e.index,r=this.$refs.container,o=this.$refs.caption,a=e.opts.caption;e.$slide.trigger("refresh"),a&&a.length?(this.$caption=o,o.children().eq(0).html(a)):this.$caption=null,this.hasHiddenControls||this.isIdle||this.showControls(),r.find("[data-fancybox-count]").html(this.group.length),r.find("[data-fancybox-index]").html(i+1),r.find("[data-fancybox-prev]").prop("disabled",!e.opts.loop&&i<=0),r.find("[data-fancybox-next]").prop("disabled",!e.opts.loop&&i>=this.group.length-1),"image"===e.type?r.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",e.opts.image.src||e.src).show():e.opts.toolbar&&r.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(t.activeElement).is(":hidden,[disabled]")&&this.$refs.container.trigger("focus")},hideControls:function(e){var t=["infobar","toolbar","nav"];!e&&this.current.opts.preventCaptionOverlap||t.push("caption"),this.$refs.container.removeClass(t.map((function(e){return"fancybox-show-"+e})).join(" ")),this.hasHiddenControls=!0},showControls:function(){var e=this.current?this.current.opts:this.opts,t=this.$refs.container;
2this.hasHiddenControls=!1,this.idleSecondsCounter=0,t.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&this.group.length>1)).toggleClass("fancybox-show-caption",!!this.$caption).toggleClass("fancybox-show-nav",!!(e.arrows&&this.group.length>1)).toggleClass("fancybox-is-modal",!!e.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.7",defaults:a,getInstance:function(e){var t=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),i=Array.prototype.slice.call(arguments,1);return t instanceof m&&("string"===n.type(e)?t[e].apply(t,i):"function"===n.type(e)&&e.apply(t,i),t)},open:function(e,t,n){return new m(e,t,n)},close:function(e){var t=this.getInstance();t&&(t.close(),!0===e&&this.close(e))},destroy:function(){this.close(!0),l.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(r=t.createElement("div"),e.getComputedStyle&&e.getComputedStyle(r)&&e.getComputedStyle(r).getPropertyValue("transform")&&!(t.documentMode&&t.documentMode<11)),getTranslate:function(e){var t;return!(!e||!e.length)&&{top:(t=e[0].getBoundingClientRect()).top||0,left
2:t.left||0,width:t.width,height:t.height,opacity:parseFloat(e.css("opacity"))}},setTranslate:function(e,t){var n="",i={};if(e&&t)return void 0===t.left&&void 0===t.top||(n=(void 0===t.left?e.position().left:t.left)+"px, "+(void 0===t.top?e.position().top:t.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),void 0!==t.scaleX&&void 0!==t.scaleY?n+=" scale("+t.scaleX+", "+t.scaleY+")":void 0!==t.scaleX&&(n+=" scaleX("+t.scaleX+")"),n.length&&(i.transform=n),void 0!==t.opacity&&(i.opacity=t.opacity),void 0!==t.width&&(i.width=t.width),void 0!==t.height&&(i.height=t.height),e.css(i)},animate:function(e,t,i,r,o){var a,s=this;n.isFunction(i)&&(r=i,i=null),s.stop(e),a=s.getTranslate(e),e.on(h,(function(l){(!l||!l.originalEvent||e.is(l.originalEvent.target)&&"z-index"!=l.originalEvent.propertyName)&&(s.stop(e),n.isNumeric(i)&&e.css("transition-duration",""),n.isPlainObject(t)?void 0!==t.scaleX&&void 0!==t.scaleY&&s.setTranslate(e,{top:t.top,left:t.left,width:a.width*t.scaleX,height:a.height*t.scaleY,scaleX:1,scaleY:1}):!0!==o&&e.removeClass(t),n.isFunction(r)&&r(l))})),n.isNumeric(i)&&e.css("transition-duration",i+"ms"),n.isPlainObject(t)?(void 0!==t.scaleX&&void 0!==t.scaleY&&(delete t.width,delete t.height,e.parent().hasClass("fancybox-slide--image")&&e.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(e,t)):e.addClass(t),e.data("timer",setTimeout((function(){e.trigger(h)}),i+33))},stop:function(e,t){e&&e.length&&(clearTimeout(e.data("timer")),t&&e.trigger(h),e.off(h).css("transition-duration",""),e.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(e){var t;return(t=(e=e||{}).selector||!1)?n("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},v):this.off("click.fb-start").on("click.fb-start",{items:this,options:e},v),this},l.on("click.fb-start","[data-fancybox]",v),l.on("click.fb-start","[data-fancybox-trigger]",(function(e){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})})),o=null,l.on("mousedown mouseup focus blur",".fancybox-button",(function(e){switch(e.type){case"mousedown":o=n(this);break;case"mouseup":o=null;break;case"focusin":n(".fancybox-button").removeClass("fancybox-focus"),n(this).is(o)||n(this).is("[disabled]")||n(this).addClass("fancybox-focus");break;case"focusout":n(".fancybox-button").removeClass("fancybox-focus")}}))}function v(e,t){var i,r,o,a=[],s=0;e&&e.isDefaultPrevented()||(e.preventDefault(),t=t||{},e&&e.data&&(t=p(e.data.options,t)),i=t.$target||n(e.currentTarget).trigger("blur"),(o=n.fancybox.getInstance())&&o.$trigger&&o.$trigger.is(i)||(a=t.selector?n(t.selector):(r=i.attr("data-fancybox")||"")?(a=e.data?e.data.items:[]).length?a.filter('[data-fancybox="'+r+'"]'):n('[data-fancybox="'+r+'"]'):[i],(s=n(a).index(i))<0&&(s=0),(o=n.fancybox.open(a,t,s)).$trigger=i))}}(window,document,jQuery),function(e){"use strict";var t={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12]+"").replace(/\?/,"&")+"&output="+(e[12]&&e[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/maps?q="+e[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},n=function(t,n,i){if(t)return i=i||"","object"===e.type(i)&&(i=e.param(i,!0)),e.each(n,(function(e,n){t=t.replace("$"+e,n||"")})),i.length&&(t+=(t.indexOf("?")>0?"&":"?")+i),t};e(document).on("objectNeedsType.fb",(function(i,r,o){var a,s,l,u,c,d,h,f=o.src||"",p=!1;a=e.extend(!0,{},t,o.opts.media),e.each(a,(function(t,i){if(l=f.match(i.matcher)){if(p=i.type,h=t,d={},i.paramPlace&&l[i.paramPlace]){"?"==(c=l[i.paramPlace])[0]&&(c=c.substring(1)),c=c.split("&");for(var r=0;r<c.length;++r){var a=c[r].split("=",2);2==a.length&&(d[a[0]]=decodeURIComponent(a[1].replace(/\+/g," ")))}}return u=e.extend(!0,{},i.params,o.opts[t],d),f="function"===e.type(i.url)?i.url.call(this,l,u,o):n(i.url,l,u),s="function"===e.type(i.thumb)?i.thumb.call(this,l,u,o):n(i.thumb,l),"youtube"===t?f=f.replace(/&t=((\d+)m)?(\d+)s/,(function(e,t,n,i){return"&start="+((n?60*parseInt(n,10):0)+parseInt(i,10))})):"vimeo"===t&&(f=f.replace("&%23","#")),!1}})),p?(o.opts.thumb||o.opts.$thumb&&o.opts.$thumb.length||(o.opts.thumb=s),"iframe"===p&&(o.opts=e.extend(!0,o.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),e.extend(o,{type:p,src:f,origSrc:o.src,contentSource:h,contentType:"image"===p?"image":"gmap_place"==h||"gmap_search"==h?"map":"video"})):f&&(o.type=o.opts.defaultType)}));var i={youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(e){var t,n=this;this[e].loaded?setTimeout((function(){n.done(e)})):this[e].loading||(this[e].loading=!0,(t=document.createElement("script")).type="text/javascript",t.src=this[e].src,"youtube"===e?window.onYouTubeIframeAPIReady=function(){n[e].loaded=!0,n.done(e)}:t.onload=function(){n[e].loaded=!0,n.done(e)},document.body.appendChild(t))},done:function(t){var n,i;"youtube"===t&&delete window.onYouTubeIframeAPIReady,(n=e.fancybox.getInstance())&&(i=n.current.$content.find("iframe"),"youtube"===t&&void 0!==YT&&YT?new YT.Player(i.attr("id"),{events:{onStateChange:function(e){0==e.data&&n.next()}}}):"vimeo"===t&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(i).on("ended",(function(){n.next()})))}};e(document).on({"afterShow.fb":function(e,t,n){t.group.length>1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&i.load(n.contentSource)}})}(jQuery),function(e,t,n){"use strict";var i=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},o=function(t){var n=[];for(var i in t=(t=t.originalEvent||t||e.e).touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t])t[i].pageX?n.push({x:t[i].pageX,y:t[i].pageY}):t[i].clientX&&n.push({x:t[i].clientX,y:t[i].clientY});return n},a=function(e,t,n){return t&&e?"x"===n?e.x-t.x:"y"===n?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0},s=function(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(e.get(0).onclick)||e.data("selectable"))return!0;for(var t=0,i=e[0].attributes,r=i.length;t<r;t++)if("data-fancybox-"===i[t].nodeName.substr(0,14))return!0;return!1},l=function(t){for(var n,i,r,o,a,s=!1;n=t.get(0),i=void 0,r=void 0,o=void 0,a=void 0,i=e.getComputedStyle(n)["overflow-y"],r=e.getComputedStyle(n)["overflow-x"],o=("scroll"===i||"auto"===i)&&n.scrollHeight>n.clientHeight,a=("scroll"===r||"auto"===r)&&n.scrollWidth>n.clientWidth,!(s=o||a)&&(t=t.parent()).length&&!t.hasClass("fancybox-stage")&&!t.is("body"););return s},u=function(e){this.instance=e,this.$bg=e.$refs.bg,this.$stage=e.$refs.stage,this.$container=e.$refs.container,this.destroy(),this.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(this,"ontouchstart"))};u.prototype.destroy=function(){this.$container.off(".fb.touch"),n(t).off(".fb.touch"),this.requestId&&(r(this.requestId),this.requestId=null),this.tapped&&(clearTimeout(this.tapped),this.tapped=null)},u.prototype.ontouchstart=function(i){var r=n(i.target),u=this.instance,c=u.current,d=c.$slide,h=c.$content,f="touchstart"==i.type;if(f&&this.$container.off("mousedown.fb.touch"),(!i.originalEvent||2!=i.originalEvent.button)&&d.length&&r.length&&!s(r)&&!s(r.parent())&&(r.is("img")||!(i.originalEvent.clientX>r[0].clientWidth+r.offset().left))){if(!c||u.isAnimating||c.$slide.hasClass("fancybox-animated"))return i.stopPropagation(),void i.preventDefault();this.realPoints=this.startPoints=o(i),this.startPoints.length&&(c.touch&&i.stopPropagation(),this.startEvent=i,this.canTap=!0,this.$target=r,this.$content=h,this.opts=c.opts.touch,this.isPanning=!1,this.isSwiping=!1,this.isZooming=!1,this.isScrolling=!1,this.canPan=u.canPan(),this.startTime=(new Date).getTime(),this.distanceX=this.distanceY=this.distance=0,this.canvasWidth=Math.round(d[0].clientWidth),this.canvasHeight=Math.round(d[0].clientHeight),this.contentLastPos=null,this.contentStartPos=n.fancybox.getTranslate(this.$content)||{top:0,left:0},this.sliderStartPos=n.fancybox.getTranslate(d),this.stagePos=n.fancybox.getTranslate(u.$refs.stage),this.sliderStartPos.top-=this.stagePos.top,this.sliderStartPos.left-=this.stagePos.left,this.contentStartPos.top-=this.stagePos.top,this.contentStartPos.left-=this.stagePos.left,n(t).off(".fb.touch").on(f?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(this,"ontouchend")).on(f?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(this,"ontouchmove")),n.fancybox.isMobile&&t.addEventListener("scroll",this.onscroll,!0),((this.opts||this.canPan)&&(r.is(this.$stage)||this.$stage.find(r).length)||(r.is(".fancybox-image")&&i.preventDefault(),n.fancybox.isMobile&&r.parents(".fancybox-caption").length))&&(this.isScrollable=l(r)||l(r.parent()),n.fancybox.isMobile&&this.isScrollable||i.preventDefault(),(1===this.startPoints.length||c.hasError)&&(this.canPan?(n.fancybox.stop(this.$content),this.isPanning=!0):this.isSwiping=!0,this.$container.addClass("fancybox-is-grabbing")),2===this.startPoints.length&&"image"===c.type&&(c.isLoaded||c.$ghost)&&(this.canTap=!1,this.isSwiping=!1,this.isPanning=!1,this.isZooming=!0,n.fancybox.stop(this.$content),this.centerPointStartX=.5*(this.startPoints[0].x+this.startPoints[1].x)-n(e).scrollLeft(),this.centerPointStartY=.5*(this.startPoints[0].y+this.startPoints[1].y)-n(e).scrollTop(),this.percentageOfImageAtPinchPointX=(this.centerPointStartX-this.contentStartPos.left)/this.contentStartPos.width,this.percentageOfImageAtPinchPointY=(this.centerPointStartY-this.contentStartPos.top)/this.contentStartPos.height,this.startDistanceBetweenFingers=a(this.startPoints[0],this.startPoints[1]))))}},u.prototype.onscroll=function(e){this.isScrolling=!0,t.removeEventListener("scroll",this.onscroll,!0)},u.prototype.ontouchmove=function(e){void 0===e.originalEvent.buttons||0!==e.originalEvent.buttons?this.isScrolling?this.canTap=!1:(this.newPoints=o(e),(this.opts||this.canPan)&&this.newPoints.length&&this.newPoints.length&&(this.isSwiping&&!0===this.isSwiping||e.preventDefault(),this.distanceX=a(this.newPoints[0],this.startPoints[0],"x"),this.distanceY=a(this.newPoints[0],this.startPoints[0],"y"),this.distance=a(this.newPoints[0],this.startPoints[0]),this.distance>0&&(this.isSwiping?this.onSwipe(e):this.isPanning?this.onPan():this.isZooming&&this.onZoom()))):this.ontouchend(e)},u.prototype.onSwipe=function(t){var o,a=this,s=a.instance,l=a.isSwiping,u=a.sliderStartPos.left||0;if(!0!==l)"x"==l&&(a.distanceX>0&&(a.instance.group.length<2||0===a.instance.current.index&&!a.instance.current.opts.loop)?u+=Math.pow(a.distanceX,.8):a.distanceX<0&&(a.instance.group.length<2||a.instance.current.index===a.instance.group.length-1&&!a.instance.current.opts.loop)?u-=Math.pow(-a.distanceX,.8):u+=a.distanceX),a.sliderLastPos={top:"x"==l?0:a.sliderStartPos.top+a.distanceY,left:u},a.requestId&&(r(a.requestId),a.requestId=null),a.requestId=i((function(){a.sliderLastPos&&(n.each(a.instance.slides,(function(e,t){var i=t.pos-a.instance.currPos;
2n.fancybox.setTranslate(t.$slide,{top:a.sliderLastPos.top,left:a.sliderLastPos.left+i*a.canvasWidth+i*t.opts.gutter})})),a.$container.addClass("fancybox-is-sliding"))}));else if(Math.abs(a.distance)>10){if(a.canTap=!1,s.group.length<2&&a.opts.vertical?a.isSwiping="y":s.isDragging||!1===a.opts.vertical||"auto"===a.opts.vertical&&n(e).width()>800?a.isSwiping="x":(o=Math.abs(180*Math.atan2(a.distanceY,a.distanceX)/Math.PI),a.isSwiping=o>45&&o<135?"y":"x"),"y"===a.isSwiping&&n.fancybox.isMobile&&a.isScrollable)return void(a.isScrolling=!0);s.isDragging=a.isSwiping,a.startPoints=a.newPoints,n.each(s.slides,(function(e,t){var i,r;n.fancybox.stop(t.$slide),i=n.fancybox.getTranslate(t.$slide),r=n.fancybox.getTranslate(s.$refs.stage),t.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass((function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")})),t.pos===s.current.pos&&(a.sliderStartPos.top=i.top-r.top,a.sliderStartPos.left=i.left-r.left),n.fancybox.setTranslate(t.$slide,{top:i.top-r.top,left:i.left-r.left})})),s.SlideShow&&s.SlideShow.isActive&&s.SlideShow.stop()}},u.prototype.onPan=function(){var e=this;a(e.newPoints[0],e.realPoints[0])<(n.fancybox.isMobile?10:5)?e.startPoints=e.newPoints:(e.canTap=!1,e.contentLastPos=e.limitMovement(),e.requestId&&r(e.requestId),e.requestId=i((function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})))},u.prototype.limitMovement=function(){var e,t,n,i,r,o,a=this.canvasWidth,s=this.canvasHeight,l=this.distanceX,u=this.distanceY,c=this.contentStartPos,d=c.left,h=c.top,f=c.width,p=c.height;return r=f>a?d+l:d,o=h+u,e=Math.max(0,.5*a-.5*f),t=Math.max(0,.5*s-.5*p),n=Math.min(a-f,.5*a-.5*f),i=Math.min(s-p,.5*s-.5*p),l>0&&r>e&&(r=e-1+Math.pow(-e+d+l,.8)||0),l<0&&r<n&&(r=n+1-Math.pow(n-d-l,.8)||0),u>0&&o>t&&(o=t-1+Math.pow(-t+h+u,.8)||0),u<0&&o<i&&(o=i+1-Math.pow(i-h-u,.8)||0),{top:o,left:r}},u.prototype.limitPosition=function(e,t,n,i){var r=this.canvasWidth,o=this.canvasHeight;return e=n>r?(e=e>0?0:e)<r-n?r-n:e:Math.max(0,r/2-n/2),{top:t=i>o?(t=t>0?0:t)<o-i?o-i:t:Math.max(0,o/2-i/2),left:e}},u.prototype.onZoom=function(){var t=this,o=t.contentStartPos,s=o.width,l=o.height,u=o.left,c=o.top,d=a(t.newPoints[0],t.newPoints[1])/t.startDistanceBetweenFingers,h=Math.floor(s*d),f=Math.floor(l*d),p=(s-h)*t.percentageOfImageAtPinchPointX,m=(l-f)*t.percentageOfImageAtPinchPointY,v=(t.newPoints[0].x+t.newPoints[1].x)/2-n(e).scrollLeft(),g=(t.newPoints[0].y+t.newPoints[1].y)/2-n(e).scrollTop(),b=v-t.centerPointStartX,y={top:c+(m+(g-t.centerPointStartY)),left:u+(p+b),scaleX:d,scaleY:d};t.canTap=!1,t.newWidth=h,t.newHeight=f,t.contentLastPos=y,t.requestId&&r(t.requestId),t.requestId=i((function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)}))},u.prototype.ontouchend=function(e){var i=this.isSwiping,a=this.isPanning,s=this.isZooming,l=this.isScrolling;if(this.endPoints=o(e),this.dMs=Math.max((new Date).getTime()-this.startTime,1),this.$container.removeClass("fancybox-is-grabbing"),n(t).off(".fb.touch"),t.removeEventListener("scroll",this.onscroll,!0),this.requestId&&(r(this.requestId),this.requestId=null),this.isSwiping=!1,this.isPanning=!1,this.isZooming=!1,this.isScrolling=!1,this.instance.isDragging=!1,this.canTap)return this.onTap(e);this.speed=100,this.velocityX=this.distanceX/this.dMs*.5,this.velocityY=this.distanceY/this.dMs*.5,a?this.endPanning():s?this.endZooming():this.endSwiping(i,l)},u.prototype.endSwiping=function(e,t){var i=!1,r=this.instance.group.length,o=Math.abs(this.distanceX),a="x"==e&&r>1&&(this.dMs>130&&o>10||o>50);this.sliderLastPos=null,"y"==e&&!t&&Math.abs(this.distanceY)>50?(n.fancybox.animate(this.instance.current.$slide,{top:this.sliderStartPos.top+this.distanceY+150*this.velocityY,opacity:0},200),i=this.instance.close(!0,250)):a&&this.distanceX>0?i=this.instance.previous(300):a&&this.distanceX<0&&(i=this.instance.next(300)),!1!==i||"x"!=e&&"y"!=e||this.instance.centerSlide(200),this.$container.removeClass("fancybox-is-sliding")},u.prototype.endPanning=function(){var e,t,i;this.contentLastPos&&(!1===this.opts.momentum||this.dMs>350?(e=this.contentLastPos.left,t=this.contentLastPos.top):(e=this.contentLastPos.left+500*this.velocityX,t=this.contentLastPos.top+500*this.velocityY),(i=this.limitPosition(e,t,this.contentStartPos.width,this.contentStartPos.height)).width=this.contentStartPos.width,i.height=this.contentStartPos.height,n.fancybox.animate(this.$content,i,366))},u.prototype.endZooming=function(){var e,t,i,r,o=this.instance.current,a=this.newWidth,s=this.newHeight;this.contentLastPos&&(e=this.contentLastPos.left,r={top:t=this.contentLastPos.top,left
2:e,width:a,height:s,scaleX:1,scaleY:1},n.fancybox.setTranslate(this.$content,r),a<this.canvasWidth&&s<this.canvasHeight?this.instance.scaleToFit(150):a>o.width||s>o.height?this.instance.scaleToActual(this.centerPointStartX,this.centerPointStartY,150):(i=this.limitPosition(e,t,a,s),n.fancybox.animate(this.$content,i,150)))},u.prototype.onTap=function(t){var i,r=this,a=n(t.target),s=r.instance,l=s.current,u=t&&o(t)||r.startPoints,c=u[0]?u[0].x-n(e).scrollLeft()-r.stagePos.left:0,d=u[0]?u[0].y-n(e).scrollTop()-r.stagePos.top:0,h=function(e){var i=l.opts[e];if(n.isFunction(i)&&(i=i.apply(s,[l,t])),i)switch(i){case"close":s.close(r.startEvent);break;case"toggleControls":s.toggleControls();break;case"next":s.next();break;case"nextOrClose":s.group.length>1?s.next():s.close(r.startEvent);break;case"zoom":"image"==l.type&&(l.isLoaded||l.$ghost)&&(s.canPan()?s.scaleToFit():s.isScaledDown()?s.scaleToActual(c,d):s.group.length<2&&s.close(r.startEvent))}};if((!t.originalEvent||2!=t.originalEvent.button)&&(a.is("img")||!(c>a[0].clientWidth+a.offset().left))){if(a.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))i="Outside";else if(a.is(".fancybox-slide"))i="Slide";else{if(!s.current.$content||!s.current.$content.find(a).addBack().filter(a).length)return;i="Content"}if(r.tapped){if(clearTimeout(r.tapped),r.tapped=null,Math.abs(c-r.tapX)>50||Math.abs(d-r.tapY)>50)return this;h("dblclick"+i)}else r.tapX=c,r.tapY=d,l.opts["dblclick"+i]&&l.opts["dblclick"+i]!==l.opts["click"+i]?r.tapped=setTimeout((function(){r.tapped=null,s.isAnimating||h("click"+i)}),500):h("click"+i);return this}},n(t).on("onActivate.fb",(function(e,t){t&&!t.Guestures&&(t.Guestures=new u(t))})).on("beforeClose.fb",(function(e,t){t&&t.Guestures&&t.Guestures.destroy()}))}(window,document,jQuery),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var n=function(e){this.instance=e,this.init()};t.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var e=this,n=e.instance,i=n.group[n.currIndex].opts.slideShow;e.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",(function(){e.toggle()})),n.group.length<2||!i?e.$button.hide():i.progress&&(e.$progress=t('<div class="fancybox-progress"></div>').appendTo(n.$refs.inner))},set:function(e){var n=this.instance,i=n.current;i&&(!0===e||i.opts.loop||n.currIndex<n.group.length-1)?this.isActive&&"video"!==i.contentType&&(this.$progress&&t.fancybox.animate(this.$progress.show(),{scaleX:1},i.opts.slideShow.speed),this.timer=setTimeout((function(){n.current.opts.loop||n.current.index!=n.group.length-1?n.next():n.jumpTo(0)}),i.opts.slideShow.speed)):(this.stop(),n.idleSecondsCounter=0,n.showControls())},clear:function(){clearTimeout(this.timer),this.timer=null,this.$progress&&this.$progress.removeAttr("style").hide()},start:function(){var e=this.instance.current;e&&(this.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),this.isActive=!0,e.isComplete&&this.set(!0),this.instance.trigger("onSlideShowChange",!0))},stop:function(){var e=this.instance.current;this.clear(),this.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),this.isActive=!1,this.instance.trigger("onSlideShowChange",!1),this.$progress&&this.$progress.removeAttr("style").hide()},toggle:function(){this.isActive?this.stop():this.start()}}),t(e).on({"onInit.fb":function(e,t){t&&!t.SlideShow&&(t.SlideShow=new n(t))},"beforeShow.fb":function(e,t,n,i){var r=t&&t.SlideShow;i?r&&n.opts.slideShow.autoStart&&r.start():r&&r.isActive&&r.clear()},"afterShow.fb":function(e,t,n){var i=t&&t.SlideShow;i&&i.isActive&&i.set()},"afterKeydown.fb":function(n,i,r,o,a){var s=i&&i.SlideShow;!s||!r.opts.slideShow||80!==a&&32!==a||t(e.activeElement).is("button,a,input")||(o.preventDefault(),s.toggle())},"beforeClose.fb onDeactivate.fb":function(e,t){var n=t&&t.SlideShow;n&&n.stop()}}),t(e).on("visibilitychange",(function(){var n=t.fancybox.getInstance(),i=n&&n.SlideShow;i&&i.isActive&&(e.hidden?i.clear():i.set())}))}(document,jQuery),function(e,t){"use strict";var n=function(){for(var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
2webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n={},i=0;i<t.length;i++){var r=t[i];if(r&&r[1]in e){for(var o=0;o<r.length;o++)n[t[0][o]]=r[o];return n}}return!1}();if(n){var i={request:function(t){(t=t||e.documentElement)[n.requestFullscreen](t.ALLOW_KEYBOARD_INPUT)},exit:function(){e[n.exitFullscreen]()},toggle:function(t){t=t||e.documentElement,this.isFullscreen()?this.exit():this.request(t)},isFullscreen:function(){return Boolean(e[n.fullscreenElement])},enabled:function(){return Boolean(e[n.fullscreenEnabled])}};t.extend(!0,t.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),t(e).on(n.fullscreenchange,(function(){var e=i.isFullscreen(),n=t.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",e),n.$refs.container.toggleClass("fancybox-is-fullscreen",e),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!e).toggleClass("fancybox-button--fsexit",e))}))}t(e).on({"onInit.fb":function(e,t){n?t&&t.group[t.currIndex].opts.fullScreen?(t.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",(function(e){e.stopPropagation(),e.preventDefault(),i.toggle()})),t.opts.fullScreen&&!0===t.opts.fullScreen.autoStart&&i.request(),t.FullScreen=i):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():t.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(e,t,n,i,r){t&&t.FullScreen&&70===r&&(i.preventDefault(),t.FullScreen.toggle())},"beforeClose.fb":function(e,t){t&&t.FullScreen&&t.$refs.container.hasClass("fancybox-is-fullscreen")&&i.exit()}})}(document,jQuery),function(e,t){"use strict";var n="fancybox-thumbs";t.fancybox.defaults=t.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},t.fancybox.defaults);var i=function(e){this.init(e)};t.extend(i.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(e){var t=this,n=e.group,i=0;t.instance=e,t.opts=n[e.currIndex].opts.thumbs,e.Thumbs=t,t.$button=e.$refs.toolbar.find("[data-fancybox-thumbs]");for(var r=0,o=n.length;r<o&&(n[r].thumb&&i++,!(i>1));r++);i>1&&t.opts?(t.$button.removeAttr("style").on("click",(function(){t.toggle()})),t.isActive=!0):t.$button.hide()},create:function(){var e,i=this.instance,r=this.opts.parentEl,o=[];this.$grid||(this.$grid=t('<div class="'+n+" "+n+"-"+this.opts.axis+'"></div>').appendTo(i.$refs.container.find(r).addBack().filter(r)),this.$grid.on("click","a",(function(){i.jumpTo(t(this).attr("data-index"))}))),this.$list||(this.$list=t('<div class="'+n+'__list">').appendTo(this.$grid)),t.each(i.group,(function(t,n){(e=n.thumb)||"image"!==n.type||(e=n.src),o.push('<a href="javascript:;" tabindex="0" data-index="'+t+'"'+(e&&e.length?' style="background-image:url('+e+')"':'class="fancybox-thumbs-missing"')+"></a>")})),this.$list[0].innerHTML=o.join(""),"x"===this.opts.axis&&this.$list.width(parseInt(this.$grid.css("padding-right"),10)+i.group.length*this.$list.children().eq(0).outerWidth(!0))},focus:function(e){var t,n,i=this.$list,r=this.$grid;this.instance.current&&(n=(t=i.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+this.instance.current.index+'"]').addClass("fancybox-thumbs-active")).position(),"y"===this.opts.axis&&(n.top<0||n.top>i.height()-t.outerHeight())?i.stop().animate({scrollTop:i.scrollTop()+n.top},e):"x"===this.opts.axis&&(n.left<r.scrollLeft()||n.left>r.scrollLeft()+(r.width()-t.outerWidth()))&&i.parent().stop().animate({scrollLeft:n.left},e))},update:function(){this.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.instance.trigger("onThumbsShow"),this.focus(0)):this.$grid&&this.instance.trigger("onThumbsHide"),this.instance.update(
2)},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),t(e).on({"onInit.fb":function(e,t){var n;t&&!t.Thumbs&&(n=new i(t)).isActive&&!0===n.opts.autoStart&&n.show()},"beforeShow.fb":function(e,t,n,i){var r=t&&t.Thumbs;r&&r.isVisible&&r.focus(i?0:250)},"afterKeydown.fb":function(e,t,n,i,r){var o=t&&t.Thumbs;o&&o.isActive&&71===r&&(i.preventDefault(),o.toggle())},"beforeClose.fb":function(e,t){var n=t&&t.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,jQuery),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(e,t){return!e.currentHash&&"inline"!==t.type&&"html"!==t.type&&(t.origSrc||t.src)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),t(e).on("click","[data-fancybox-share]",(function(){var e,n,i,r,o=t.fancybox.getInstance(),a=o.current||null;a&&("function"===t.type(a.opts.share.url)&&(e=a.opts.share.url.apply(a,[o,a])),n=a.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===a.type?encodeURIComponent(a.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(e)).replace(/\{\{url_raw\}\}/g,(i=e,r={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},String(i).replace(/[&<>"'`=\/]/g,(function(e){return r[e]})))).replace(/\{\{descr\}\}/g,o.$caption?encodeURIComponent(o.$caption.text()):""),t.fancybox.open({src:o.translate(o,n),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(e,t){o.$refs.container.one("beforeClose.fb",(function(){e.close(null,0)})),t.$content.find(".fancybox-share__button").click((function(){return window.open(this.href,"Share","width=550, height=450"),!1}))},mobile:{autoFocus:!1}}}))}))}(document,jQuery),function(e,t,n){"use strict";function i(){var t=e.location.hash.substr(1),n=t.split("-"),i=n.length>1&&/^\+?\d+$/.test(n[n.length-1])&&parseInt(n.pop(-1),10)||1;return{hash:t,index:i<1?1:i,gallery:n.join("-")}}function r(e){""!==e.gallery&&n("[data-fancybox='"+n.escapeSelector(e.gallery)+"']").eq(e.index-1).focus().trigger("click.fb-start")}function o(e){var t,n;return!!e&&(""!==(n=(t=e.current?e.current.opts:e.opts).hash||(t.$orig?t.$orig.data("fancybox")||t.$orig.data("fancybox-trigger"):""))&&n)}n.escapeSelector||(n.escapeSelector=function(e){return(e+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,(function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}))}),n((function(){!1!==n.fancybox.defaults.hash&&(n(t).on({"onInit.fb":function(e,t){var n,r;!1!==t.group[t.currIndex].opts.hash&&(n=i(),(r=o(t))&&n.gallery&&r==n.gallery&&(t.currIndex=n.index-1))},"beforeShow.fb":function(n,i,r,a){var s;r&&!1!==r.opts.hash&&(s=o(i))&&(i.currentHash=s+(i.group.length>1?"-"+(r.index+1):""),e.location.hash!=="#"+i.currentHash&&(a&&!i.origHash&&(i.origHash=e.location.hash),i.hashTimer&&clearTimeout(i.hashTimer),i.hashTimer=setTimeout((function(){"replaceState"in e.history?(e.history[a?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+i.currentHash),a&&(i.hasCreatedHistory=!0)):e.location.hash=i.currentHash,i.hashTimer=null}),300)))},"beforeClose.fb":function(n,i,r){r&&!1!==r.opts.hash&&(clearTimeout(i.hashTimer),i.currentHash&&i.hasCreatedHistory?e.history.back():i.currentHash&&("replaceState"in e.history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+(i.origHash||"")):e.location.hash=i.origHash),i.currentHash=null)}}),n(e).on("hashchange.fb",(function(){var e=i(),t=null;n.each(n(".fancybox-container").get().reverse(),(function(e,i){var r=n(i).data("FancyBox");if(r&&r.currentHash)return t=r,!1})),t?t.currentHash===e.gallery+"-"+e.index||1===e.index&&t.currentHash==e.gallery||(t.currentHash=null,t.close()):""!==e.gallery&&r(e)})),setTimeout((function(){n.fancybox.getInstance()||r(i())}),50))}))}(window,document,jQuery),function(e,t){"use strict";var n=(new Date).getTime();t(e).on({"onInit.fb":function(e,t,i){t.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",(function(e){var i=t.current,r=(new Date).getTime();t.group.length<2||!1===i.opts.wheel||"auto"===i.opts.wheel&&"image"!==i.type||(e.preventDefault(),e.stopPropagation(),i.$slide.hasClass("fancybox-animated")||(e=e.originalEvent||e,r-n<250||(n=r,t[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())))}))}})}(document,jQuery)},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function i(){return t.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function l(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}
vendor: 31,918 bytes, line 2
2function h(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,i){return kt(e,t,n,i,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function m(e){if(null==e._isValid){var t=p(e),i=n.call(t.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function v(e){var t=f(NaN);return null!=e?h(p(t),e):p(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var g=i.momentProperties=[],b=!1;function y(e,t){var n,i,r;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=p(t)),l(t._locale)||(e._locale=t._locale),g.length>0)for(n=0;n<g.length;n++)l(r=t[i=g[n]])||(e[i]=r);return e}function w(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,i.updateOffset(this),b=!1)}function x(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function S(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function _(e,t){var n=!0;return h((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var r,o,s,l=[];for(o=0;o<arguments.length;o++){if(r="","object"==typeof arguments[o]){for(s in r+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(r+=s+": "+arguments[0][s]+", ");r=r.slice(0,-2)}else r=arguments[o];l.push(r)}S(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var k,E={};function C(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),E[e]||(S(t),E[e]=!0)}function T(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e,t){var n,i=h({},e);for(n in t)a(t,n)&&(o(e[n])&&o(t[n])?(i[n]={},h(i[n],e[n]),h(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)a(e,n)&&!a(t,n)&&o(e[n])&&(i[n]=h({},i[n]));return i}function A(e){null!=e&&this.set(e)}function P(e,t,n){var i=""+Math.abs(e),r=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var O=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},D={};function N(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(D[e]=r),t&&(D[t[0]]=function(){return P(r.apply(this,arguments),t[1],t[2])}),n&&(D[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function j(e,t){return e.isValid()?(t=F(t,e.localeData()),I[t]=I[t]||function(e){var t,n,i,r=e.match(O);for(t=0,n=r.length;t<n;t++)D[r[t]]?r[t]=D[r[t]]:r[t]=(i=r[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,o="";for(i=0;i<n;i++)o+=T(r[i])?r[i].call(t,e):r[i];return o}}(t),I[t](e)):e.localeData().invalidDate()}function F(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(L.lastIndex=0;n>=0&&L.test(e);)e=e.replace(L,i),L.lastIndex=0,n-=1;return e}var R={};function B(e,t){var n=e.toLowerCase();R[n]=R[n+"s"]=R[t]=e}function z(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function H(e){var t,n,i={};for(n in e)a(e,n)&&(t=z(n))&&(i[t]=e[n]);return i}var $={};function W(e,t){$[e]=t}function q(e){return e%4==0&&e%100!=0||e%400==0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Y(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=V(t)),n}function U(e,t){return function(n){return null!=n?(X(this,e,n),i.updateOffset(this,t),this):G(this,e)}}function G(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function X(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&q(e.year())&&1===e.month()&&29===e.date()?(n=Y(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),xe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var K,Z=/\d/,J=/\d\d/,Q=/\d{3}/,ee=/\d{4}/,te=/[+-]?\d{6}/,ne=/\d\d?/,ie=/\d\d\d\d?/,re=/\d\d\d\d\d\d?/,oe=/\d{1,3}/,ae=/\d{1,4}/,se=/[+-]?\d{1,6}/,le=/\d+/,ue=/[+-]?\d+/,ce=/Z|[+-]\d\d:?\d\d/gi,de=/Z|[+-]\d\d(?::?\d\d)?/gi,he=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function fe(e,t,n){K[e]=T(t)?t:function(e,i){return e&&n?n:t}}function pe(e,t){return a(K,e)?K[e](t._strict,t._locale):new RegExp(me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,r){return t||n||i||r}))))}function me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}K={};var ve,ge={};function be(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=Y(e)}),n=0;n<e.length;n++)ge[e[n]]=i}function ye(e,t){be(e,(function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)}))}function we(e,t,n){null!=t&&a(ge,e)&&ge[e](t,n._a,n,e)}function xe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,i=(t%(n=12)+n)%n;return e+=(t-i)/12,1===i?q(e)?29:28:31-i%7%2}ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},N("M",["MM",2],"Mo",(function(){return this.month()+1})),N("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),N("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),B("month","M"),W("month",8),fe("M",ne),fe("MM",ne,J),fe("MMM",(function(e,t){return t.monthsShortRegex(e)})),fe("MMMM",(function(e,t){return t.monthsRegex(e)})),be(["M","MM"],(function(e,t){t[1]=Y(e)-1})),be(["MMM","MMMM"],(function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[1]=r:p(n).invalidMonth=e}));var Se="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),_e="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ke=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ee=he,Ce=he;function Te(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)o=f([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,a))?r:null:-1!==(r=ve.call(this._longMonthsParse,a))?r:null:"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,a))||-1!==(r=ve.call(this._longMonthsParse,a))?r:null:-1!==(r=ve.call(this._longMonthsParse,a))||-1!==(r=ve.call(this._shortMonthsParse,a))?r:null}function Me(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=Y(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),xe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ae(e){return null!=e?(Me(this,e),i.updateOffset(this,!0),this):G(this,"Month")}function Pe(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],o=[];for(t=0;t<12;t++)n=f([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),o.sort(e),t=0;t<12;t++)i[t]=me(i[t]),r[t]=me(r[t]);for(t=0;t<24;t++)o[t]=me(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Oe(e){return q(e)?366:365}N("Y",0,0,(function(){var e=this.year();return e<=9999?P(e,4):"+"+e})),N(0,["YY",2],0,(function(){return this.year()%100})),N(0,["YYYY",4],0,"year"),N(0,["YYYYY",5],0,"year"),N(0,["YYYYYY",6,!0],0,"year"),B("year","y"),W("year",1),fe("Y",ue),fe("YY",ne,J),fe("YYYY",ae,ee),fe("YYYYY",se,te),fe("YYYYYY",se,te),be(["YYYYY","YYYYYY"],0),be("YYYY",(function(e,t){t[0]=2===e.length?i.parseTwoDigitYear(e):Y(e)})),be("YY",(function(e,t){t[0]=i.parseTwoDigitYear(e)})),be("Y",(function(e,t){t[0]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return Y(e)+(Y(e)>68?1900:2e3)};var Le=U("FullYear",!0);function Ie(e,t,n,i,r,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,i,r,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,o,a),s}function De(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ne(e,t,n){var i=7+t-n;return-(7+De(e,0,i).getUTCDay()-t)%7+i-1}function je(e,t,n,i,r){var o,a,s=1+7*(t-1)+(7+n-i)%7+Ne(e,i,r);return s<=0?a=Oe(o=e-1)+s:s>Oe(e)?(o=e+1,a=s-Oe(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Fe(e,t,n){var i,r,o=Ne(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?i=a+Re(r=e.year()-1,t,n):a>Re(e.year(),t,n)?(i=a-Re(e.year(),t,n),r=e.year()+1):(r=e.year(),i=a),{week:i,year:r}}function Re(e,t,n){var i=Ne(e,t,n),r=Ne(e+1,t,n);return(Oe(e)-i+r)/7}function Be(e,t){return e.slice(t,7).concat(e.slice(0,t))}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),B("week","w"),B("isoWeek","W"),W("week",5),W("isoWeek",5),fe("w",ne),fe("ww",ne,J),fe("W",ne),fe("WW",ne,J),ye(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=Y(e)})),N("d",0,"do","day"),N("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),N("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),N("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),B("day","d"),B("weekday","e"),B("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),fe("d",ne),fe("e",ne),fe("E",ne),fe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),fe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),fe("dddd",(function(e,t){return t.weekdaysRegex(e)})),ye(["dd","ddd","dddd"],(function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:p(n).invalidWeekday=e})),ye(["d","e","E"],(function(e,t,n,i){t[i]=Y(e)}));var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),He="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$e="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),We=he,qe=he,Ve=he;function Ye(e,t,n){var i,r,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)o=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,a))?r:null:"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,a))||-1!==(r=ve.call(this._shortWeekdaysParse,a))||-1!==(r=ve.call(this._minWeekdaysParse,a))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,a))||-1!==(r=ve.call(this._weekdaysParse,a))||-1!==(r=ve.call(this._minWeekdaysParse,a))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,a))||-1!==(r=ve.call(this._weekdaysParse,a))||-1!==(r=ve.call(this._shortWeekdaysParse,a))?r:null}function Ue(){function e(e,t){return t.length-e.length}var t,n,i,r,o,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),i=me(this.weekdaysMin(n,"")),r=me(this.weekdaysShort(n,"")),o=me(this.weekdays(n,"")),a.push(i),s.push(r),l.push(o),u.push(i),u.push(r),u.push(o);a.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ge(){return this.hours()%12||12}function Xe(e,t){N(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Ke(e,t){return t._meridiemParse}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Ge),N("k",["kk",2],0,(function(){return this.hours()||24})),N("hmm",0,0,(function(){return""+Ge.apply(this)+P(this.minutes(),2)})),N("hmmss",0,0,(function(){return""+Ge.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)})),N("Hmm",0,0,(function(){return""+this.hours()+P(this.minutes(),2)})),N("Hmmss",0,0,(function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)})),Xe("a",!0),Xe("A",!1),B("hour","h"),W("hour",13),fe("a",Ke),fe("A",Ke),fe("H",ne),fe("h",ne),fe("k",ne),fe("HH",ne,J),fe("hh",ne,J),fe("kk",ne,J),fe("hmm",ie),fe("hmmss",re),fe("Hmm",ie),fe("Hmmss",re),be(["H","HH"],3),be(["k","kk"],(function(e,t,n){var i=Y(e);t[3]=24===i?0:i})),be(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),be(["h","hh"],(function(e,t,n){t[3]=Y(e),p(n).bigHour=!0})),be("hmm",(function(e,t,n){var i=e.length-2;t[3]=Y(e.substr(0,i)),t[4]=Y(e.substr(i)),p(n).bigHour=!0})),be("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=Y(e.substr(0,i)),t[4]=Y(e.substr(i,2)),t[5]=Y(e.substr(r)),p(n).bigHour=!0})),be("Hmm",(function(e,t,n){var i=e.length-2;t[3]=Y(e.substr(0,i)),t[4]=Y(e.substr(i))})),be("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=Y(e.substr(0,i)),t[4]=Y(e.substr(i,2)),t[5]=Y(e.substr(r))}));var Ze,Je=U("Hours",!0),Qe={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Se,monthsShort:_e,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:$e,weekdaysShort:He,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function it(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var n=null;if(void 0===et[t]&&void 0!==e&&e&&e.exports)try{n=Ze._abbr,function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),ot(n)}catch(e){et[t]=null}return et[t]}function ot(e,t){var n;return e&&((n=l(t)?st(e):at(e,t))?Ze=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ze._abbr}function at(e,t){if(null!==t){var n,i=Qe;if(t.abbr=e,null!=et[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=et[e]._config;else if(null!=t.parentLocale)if(null!=et[t.parentLocale])i=et[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return et[e]=new A(M(i,t)),tt[e]&&tt[e].forEach((function(e){at(e.name,e.config)})),ot(e),et[e]}return delete et[e],null}function st(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!r(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,i,r,o=0;o<e.length;){for(t=(r=it(e[o]).split("-")).length,n=(n=it(e[o+1]))?n.split("-"):null;t>0;){if(i=rt(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&nt(r,n)>=t-1)break;t--}o++}return Ze}(e)}function lt(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>xe(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),p(e)._overflowWeeks&&-1===t&&(t=7),p(e)._overflowWeekday&&-1===t&&(t=8),p(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ct=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/Z|[+-]\d\d(?::?\d\d)?/,ht=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ft=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],pt=/^\/?Date\((-?\d+)/i,mt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function gt(e){var t,n,i,r,o,a,s=e._i,l=ut.exec(s)||ct.exec(s);if(l){for(p(e).iso=!0,t=0,n=ht.length;t<n;t++)if(ht[t][1].exec(l[1])){r=ht[t][0],i=!1!==ht[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=ft.length;t<n;t++)if(ft[t][1].exec(l[3])){o=(l[2]||" ")+ft[t][0];break}if(null==o)return void(e._isValid=!1)}if(!i&&null!=o)return void(e._isValid=!1);if(l[4]){if(!dt.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=r+(o||"")+(a||""),St(e)}else e._isValid=!1}function bt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function yt(e){var t,n,i,r,o,a,s,l,u=mt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(u){if(n=u[4],i=u[3],r=u[2],o=u[5],a=u[6],s=u[7],l=[bt(n),_e.indexOf(i),parseInt(r,10),parseInt(o,10),parseInt(a,10)],s&&l.push(parseInt(s,10)),t=l,!function(e,t,n){return!e||He.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(n).weekdayMismatch=!0,n._isValid=!1,!1)}(u[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return vt[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(u[8],u[9],u[10]),e._d=De.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function wt(e,t,n){return null!=e?e:null!=t?t:n}function xt(e){var t,n,r,o,a,s=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,i,r,o,a,s,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,n=wt(t.GG,e._a[0],Fe(Et(),1,4).year),i=wt(t.W,1),((r=wt(t.E,1))<1||r>7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,u=Fe(Et(),o,a),n=wt(t.gg,e._a[0],u.year),i=wt(t.w,u.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+o,(t.e<0||t.e>6)&&(l=!0)):r=o),i<1||i>Re(n,o,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=je(n,i,r,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=wt(e._a[0],r[0]),(e._dayOfYear>Oe(a)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=De(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?De:Ie).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(p(e).weekdayMismatch=!0)}}function St(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],p(e).empty=!0;var t,n,r,o,a,s,l=""+e._i,u=l.length,c=0;for(r=F(e._f,e._locale).match(O)||[],t=0;t<r.length;t++)o=r[t],(n=(l.match(pe(o,e))||[])[0])&&((a=l.substr(0,l.indexOf(n))).length>0&&p(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),c+=n.length),D[o]?(n?p(e).empty=!1:p(e).unusedTokens.push(o),we(o,n,e)):e._strict&&!n&&p(e).unusedTokens.push(o);p(e).charsLeftOver=u-c,l.length>0&&p(e).unusedInput.push(l),e._a[3]<=12&&!0===p(e).bigHour&&e._a[3]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=p(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),xt(e),lt(e)}else yt(e);else gt(e)}function _t(e){var t=e._i,n=e._f;return e._locale=e._locale||st(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new w(lt(t)):(c(t)?e._d=t:r(n)?function(e){var t,n,i,r,o,a,s=!1;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)o=0,a=!1,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],St(t),m(t)&&(a=!0),o+=p(t).charsLeftOver,o+=10*p(t).unusedTokens.length,p(t).score=o,s?o<i&&(i=o,n=t):(null==i||o<i||a)&&(i=o,n=t,a&&(s=!0));h(e,n||t)}(e):n?St(e):function(e){var t=e._i;l(t)?e._d=new Date(i.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=pt.exec(e._i);null===t?(gt(e),!1===e._isValid&&(delete e._isValid,yt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):r(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),xt(e)):o(t)?function(e){if(!e._d){var t=H(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),xt(e)}}(e):u(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),m(e)||(e._d=null),e))}function kt(e,t,n,i,a){var l,u={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(o(e)&&s(e)||r(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=a,u._l=n,u._i=e,u._f=t,u._strict=i,(l=new w(lt(_t(u))))._nextDay&&(l.add(1,"d"),l._nextDay=void 0),l}function Et(e,t,n,i){return kt(e,t,n,i,!1)}i.createFromInputFallback=_("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Ct=_("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Tt=_("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Et.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function Mt(e,t){var n,i;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Et();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var At=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var t=H(e),n=t.year||0,i=t.quarter||0,r=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,u=t.minute||0,c=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,i=!1;for(t in e)if(a(e,t)&&(-1===ve.call(At,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<At.length;++n)if(e[At[n]]){if(i)return!1;parseFloat(e[At[n]])!==Y(e[At[n]])&&(i=!0)}return!0}(t),this._milliseconds=+d+1e3*c+6e4*u+1e3*l*60*60,this._days=+s+7*o,this._months=+r+3*i+12*n,this._data={},this._locale=st(),this._bubble()}function Ot(e){return e instanceof Pt}function Lt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function It(e,t){N(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+P(~~(e/60),2)+t+P(~~e%60,2)}))}It("Z",":"),It("ZZ",""),fe("Z",de),fe("ZZ",de),be(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Nt(de,e)}));var Dt=/([\+\-]|\d\d)/gi;function Nt(e,t){var n,i,r=(t||"").match(e);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(Dt)||["-",0,0])[1]+Y(n[2]))?0:"+"===n[0]?i:-i}function jt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(x(e)||c(e)?e.valueOf():Et(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Et(e).local()}function Ft(e){return-Math.round(e._d.getTimezoneOffset())}function Rt(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Bt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,zt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(e,t){var n,i,r,o,s,l,c=e,d=null;return Ot(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(d=Bt.exec(e))?(n="-"===d[1]?-1:1,c={y:0,d:Y(d[2])*n,h:Y(d[3])*n,m:Y(d[4])*n,s:Y(d[5])*n,ms:Y(Lt(1e3*d[6]))*n}):(d=zt.exec(e))?(n="-"===d[1]?-1:1,c={y:$t(d[2],n),M:$t(d[3],n),w:$t(d[4],n),d:$t(d[5],n),h:$t(d[6],n),m:$t(d[7],n),s:$t(d[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(o=Et(c.from),s=Et(c.to),r=o.isValid()&&s.isValid()?(s=jt(s,o),o.isBefore(s)?l=Wt(o,s):((l=Wt(s,o)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=r.milliseconds,c.M=r.months),i=new Pt(c),Ot(e)&&a(e,"_locale")&&(i._locale=e._locale),Ot(e)&&a(e,"_isValid")&&(i._isValid=e._isValid),i}function $t(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Wt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function qt(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),Vt(this,Ht(n,i),e),this}}function Vt(e,t,n,r){var o=t._milliseconds,a=Lt(t._days),s=Lt(t._months);e.isValid()&&(r=null==r||r,s&&Me(e,G(e,"Month")+s*n),a&&X(e,"Date",G(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}Ht.fn=Pt.prototype,Ht.invalid=function(){return Ht(NaN)};var Yt=qt(1,"add"),Ut=qt(-1,"subtract");function Gt(e){return"string"==typeof e||e instanceof String}function Xt(e){return x(e)||c(e)||Gt(e)||u(e)||function(e){var t=r(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Gt(e)})).length),t&&n}(e)||function(e){var t,n,i=o(e)&&!s(e),r=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<l.length;t+=1)n=l[t],r=r||a(e,n);return i&&r}(e)||null==e}function Kt(e){var t,n=o(e)&&!s(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<r.length;t+=1)i=i||a(e,r[t]);return n&&i}function Zt(e,t){if(e.date()<t.date())return-Zt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function Jt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=st(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Qt=_("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function en(){return this._locale}function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function an(){var e,t,n=[],i=[],r=[],o=[],a=this.eras();for(e=0,t=a.length;e<t;++e)i.push(me(a[e].name)),n.push(me(a[e].abbr)),r.push(me(a[e].narrow)),o.push(me(a[e].name)),o.push(me(a[e].abbr)),o.push(me(a[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function sn(e,t){N(0,[e,e.length],0,t)}function ln(e,t,n,i,r){var o;return null==e?Fe(this,i,r).year:(t>(o=Re(e,i,r))&&(t=o),un.call(this,e,t,n,i,r))}function un(e,t,n,i,r){var o=je(e,t,n,i,r),a=De(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),fe("N",on),fe("NN",on),fe("NNN",on),fe("NNNN",(function(e,t){return t.erasNameRegex(e)})),fe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),be(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?p(n).era=r:p(n).invalidEra=e})),fe("y",le),fe("yy",le),fe("yyy",le),fe("yyyy",le),fe("yo",(function(e,t){return t._eraYearOrdinalRegex||le})),be(["y","yy","yyy","yyyy"],0),be(["yo"],(function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,r):t[0]=parseInt(e,10)})),N(0,["gg",2],0,(function(){return this.weekYear()%100})),N(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),B("weekYear","gg"),B("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),fe("G",ue),fe("g",ue),fe("GG",ne,J),fe("gg",ne,J),fe("GGGG",ae,ee),fe("gggg",ae,ee),fe("GGGGG",se,te),fe("ggggg",se,te),ye(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=Y(e)})),ye(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),N("Q",0,"Qo","quarter"),B("quarter","Q"),W("quarter",7),fe("Q",Z),be("Q",(function(e,t){t[1]=3*(Y(e)-1)})),N("D",["DD",2],"Do","date"),B("date","D"),W("date",9),fe("D",ne),fe("DD",ne,J),fe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),be(["D","DD"],2),be("Do",(function(e,t){t[2]=Y(e.match(ne)[0])}));var cn=U("Date",!0);N("DDD",["DDDD",3],"DDDo","dayOfYear"),B("dayOfYear","DDD"),W("dayOfYear",4),fe("DDD",oe),fe("DDDD",Q),be(["DD
2D","DDDD"],(function(e,t,n){n._dayOfYear=Y(e)})),N("m",["mm",2],0,"minute"),B("minute","m"),W("minute",14),fe("m",ne),fe("mm",ne,J),be(["m","mm"],4);var dn=U("Minutes",!1);N("s",["ss",2],0,"second"),B("second","s"),W("second",15),fe("s",ne),fe("ss",ne,J),be(["s","ss"],5);var hn,fn,pn=U("Seconds",!1);for(N("S",0,0,(function(){return~~(this.millisecond()/100)})),N(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),N(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),N(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),N(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),N(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),N(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),B("millisecond","ms"),W("millisecond",16),fe("S",oe,Z),fe("SS",oe,J),fe("SSS",oe,Q),hn="SSSS";hn.length<=9;hn+="S")fe(hn,le);function mn(e,t){t[6]=Y(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")be(hn,mn);fn=U("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var vn=w.prototype;function gn(e){return e}vn.add=Yt,vn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Xt(arguments[0])?(e=arguments[0],t=void 0):Kt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Et(),r=jt(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(T(t[o])?t[o].call(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Et(n)))},vn.clone=function(){return new w(this)},vn.diff=function(e,t,n){var i,r,o;if(!this.isValid())return NaN;if(!(i=jt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=z(t)){case"year":o=Zt(this,i)/12;break;case"month":o=Zt(this,i);break;case"quarter":o=Zt(this,i)/3;break;case"second":o=(this-i)/1e3;break;case"minute":o=(this-i)/6e4;break;case"hour":o=(this-i)/36e5;break;case"day":o=(this-i-r)/864e5;break;case"week":o=(this-i-r)/6048e5;break;default:o=this-i}return n?o:V(o)},vn.endOf=function(e){var t,n;if(void 0===(e=z(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},vn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=j(this,e);return this.localeData().postformat(t)},vn.from=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Et(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.fromNow=function(e){return this.from(Et(),e)},vn.to=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Et(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.toNow=function(e){return this.to(Et(),e)},vn.get=function(e){return T(this[e=z(e)])?this[e]():this},vn.invalidAt=function(){return p(this).overflow},vn.isAfter=function(e,t){var n=x(e)?e:Et(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},vn.isBefore=function(e,t){var n=x(e)?e:Et(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},vn.isBetween=function(e,t,n,i){var r=x(e)?e:Et(e),o=x(t)?t:Et(t);return!!(this.isValid()&&r.isValid()&&o.isValid())&&(("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(o,n):!this.isAfter(o,n)))},vn.isSame=function(e,t){var n,i=x(e)?e:Et(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=z(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},vn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},vn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},vn.isValid=function(){return m(this)},vn.lang=Qt,vn.locale=Jt,vn.localeData=en,vn.max=Tt,vn.min=Ct,vn.parsingFlags=function(){return h({},p(this))},vn.set=function(e,t){if("object"==typeof e){var n,i=function(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:$[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=H(e));for(n=0;n<i.length;n++)this[i[n].unit](e[i[n].unit])}else if(T(this[e=z(e)]))return this[e](t);return this},vn.startOf=function(e){var t,n;if(void 0===(e=z(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}
vendor: 18,137 bytes, line 2
2return this._d.setTime(t),i.updateOffset(this,!0),this},vn.subtract=Ut,vn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},vn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},vn.toDate=function(){return new Date(this.valueOf())},vn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?j(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",j(n,"Z")):j(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},vn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i="moment",r="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=r+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(vn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vn.toJSON=function(){return this.isValid()?this.toISOString():null},vn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vn.unix=function(){return Math.floor(this.valueOf()/1e3)},vn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vn.eraName=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""},vn.eraNarrow=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""},vn.eraAbbr=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""},vn.eraYear=function(){var e,t,n,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return(this.year()-i(o[e].since).year())*n+o[e].offset;return this.year()},vn.year=Le,vn.isLeapYear=function(){return q(this.year())},vn.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},vn.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},vn.quarter=vn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},vn.month=Ae,vn.daysInMonth=function(){return xe(this.year(),this.month())},vn.week=vn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},vn.isoWeek=vn.isoWeeks=function(e){var t=Fe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},vn.weeksInYear=function(){var e=this.localeData()._week;return Re(this.year(),e.dow,e.doy)},vn.weeksInWeekYear=function(){var e=this.localeData()._week;return Re(this.weekYear(),e.dow,e.doy)},vn.isoWeeksInYear=function(){return Re(this.year(),1,4)},vn.isoWeeksInISOWeekYear=function(){return Re(this.isoWeekYear(),1,4)},vn.date=cn,vn.day=vn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},vn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},vn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},vn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},vn.hour=vn.hours=Je,vn.minute=vn.minutes=dn,vn.second=vn.seconds=pn,vn.millisecond=vn.milliseconds=fn,vn.utcOffset=function(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Nt(de,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ft(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Vt(this,Ht(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ft(this)},vn.utc=function(e){return this.utcOffset(0,e)},vn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ft(this),"m")),this},vn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Nt(ce,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},vn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Et(e).utcOffset():0,(this.utcOffset()-e)%60==0)},vn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vn.isLocal=function(){return!!this.isValid()&&!this._isUTC},vn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vn.isUtc=Rt,vn.isUTC=Rt,vn.zoneAbbr=function(){return this._isUTC?"UTC":""},vn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vn.dates=_("dates accessor is deprecated. Use date instead.",cn),vn.months=_("months accessor is deprecated. Use month instead",Ae),vn.years=_("years accessor is deprecated. Use year instead",Le),vn.zone=_("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),vn.isDSTShifted=_("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return y(t,this),(t=_t(t))._a?(e=t._isUTC?f(t._a):Et(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var i,r=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&Y(e[i])!==Y(t[i]))&&a++;return a+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var bn=A.prototype;function yn(e,t,n,i){var r=st(),o=f().set(i,t);return r[n](o,e)}function wn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return yn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=yn(e,i,n,"month");return r}function xn(e,t,n,i){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var r,o=st(),a=e?o._week.dow:0,s=[];if(null!=n)return yn(t,(n+a)%7,i,"day");for(r=0;r<7;r++)s[r]=yn(t,(r+a)%7,i,"day");return s}bn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return T(i)?i.call(t,n):i},bn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(O).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},bn.invalidDate=function(){return this._invalidDate},bn.ordinal=function(e){return this._ordinal.replace("%d",e)},bn.preparse=gn,bn.postformat=gn,bn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return T(r)?r(e,t,n,i):r.replace(/%d/i,e)},bn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)},bn.set=function(e){var t,n;for(n in e)a(e,n)&&(T(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},bn.eras=function(e,t){var n,r,o,a=this._eras||st("en")._eras;for(n=0,r=a.length;n<r;++n){switch(typeof a[n].since){case"string":o=i(a[n].since).startOf("day"),a[n].since=o.valueOf()}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":o=i(a[n].until).startOf("day").valueOf(),a[n].until=o.valueOf()}}return a},bn.erasParse=function(e,t,n){var i,r,o,a,s,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(o=l[i].name.toUpperCase(),a=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[i];break;case"NNNN":if(o===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if([o,a,s].indexOf(e)>=0)return l[i]},bn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n},bn.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},bn.erasNameRegex=function(e){return a(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},bn.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},bn.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ke).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},bn.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ke.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},bn.monthsParse=function(e,t,n){var i,r,o;if(this._monthsParseExact)return Te.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},bn.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Pe.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Ce),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},bn.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||Pe.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=Ee),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},bn.week=function(e){return Fe(e,this._week.dow,this._week.doy).week},bn.firstDayOfYear=function(){return this._week.doy},bn.firstDayOfWeek=function(){return this._week.dow},bn.weekdays=function(e,t){var n=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Be(n,this._week.dow):e?n[e.day()]:n},bn.weekdaysMin=function(e){return!0===e?Be(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},bn.weekdaysShort=function(e){return!0===e?Be(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},bn.weekdaysParse=function(e,t,n){var i,r,o;if(this._weekdaysParseExact)return Ye.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},bn.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=We),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},bn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},bn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ve),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},bn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},bn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Y(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=_("moment.lang is deprecated. Use moment.locale instead.",ot),i.langData=_("moment.langData is deprecated. Use moment.localeData instead.",st);var Sn=Math.abs;function _n(e,t,n,i){var r=Ht(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function kn(e){return e<0?Math.floor(e):Math.ceil(e)}function En(e){return 4800*e/146097}function Cn(e){return 146097*e/4800}function Tn(e){return function(){return this.as(e)}}var Mn=Tn("ms"),An=Tn("s"),Pn=Tn("m"),On=Tn("h"),Ln=Tn("d"),In=Tn("w"),Dn=Tn("M"),Nn=Tn("Q"),jn=Tn("y");function Fn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Rn=Fn("milliseconds"),Bn=Fn("seconds"),zn=Fn("minutes"),Hn=Fn("hours"),$n=Fn("days"),Wn=Fn("months"),qn=Fn("years"),Vn=Math.round,Yn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Un(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var Gn=Math.abs;function Xn(e){return(e>0)-(e<0)||+e}function Kn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,o,a,s,l=Gn(this._milliseconds)/1e3,u=Gn(this._days),c=Gn(this._months),d=this.asSeconds();return d?(e=V(l/60),t=V(e/60),l%=60,e%=60,n=V(c/12),c%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",o=Xn(this._months)!==Xn(d)?"-":"",a=Xn(this._days)!==Xn(d)?"-":"",s=Xn(this._milliseconds)!==Xn(d)?"-":"",r+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?a+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+i+"S":"")):"P0D"}var Zn=Pt.prototype;return Zn.isValid=function(){return this._isValid},Zn.abs=function(){var e=this._data;return this._milliseconds=Sn(this._milliseconds),this._days=Sn(this._days),this._months=Sn(this._months),e.milliseconds=Sn(e.milliseconds),e.seconds=Sn(e.seconds),e.minutes=Sn(e.minutes),e.hours=Sn(e.hours),e.months=Sn(e.months),e.years=Sn(e.years),this},Zn.add=function(e,t){return _n(this,e,t,1)},Zn.subtract=function(e,t){return _n(this,e,t,-1)},Zn.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=z(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+En(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Cn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Zn.asMilliseconds=Mn,Zn.asSeconds=An,Zn.asMinutes=Pn,Zn.asHours=On,Zn.asDays=Ln,Zn.asWeeks=In,Zn.asMonths=Dn,Zn.asQuarters=Nn,Zn.asYears=jn,Zn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Y(this._months/12):NaN},Zn._bubble=function(){var e,t,n,i,r,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*kn(Cn(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=V(o/1e3),l.seconds=e%60,t=V(e/60),l.minutes=t%60,n=V(t/60),l.hours=n%24,a+=V(n/24),r=V(En(a)),s+=r,a-=kn(Cn(r)),i=V(s/12),s%=12,l.days=a,l.months=s,l.years=i,this},Zn.clone=function(){return Ht(this)},Zn.get=function(e){return e=z(e),this.isValid()?this[e+"s"]():NaN},Zn.milliseconds=Rn,Zn.seconds=Bn,Zn.minutes=zn,Zn.hours=Hn,Zn.days=$n,Zn.weeks=function(){return V(this.days()/7)},Zn.months=Wn,Zn.years=qn,Zn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,o=Yn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(o=Object.assign({},Yn,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),i=function(e,t,n,i){var r=Ht(e).abs(),o=Vn(r.as("s")),a=Vn(r.as("m")),s=Vn(r.as("h")),l=Vn(r.as("d")),u=Vn(r.as("M")),c=Vn(r.as("w")),d=Vn(r.as("y")),h=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];
2return null!=n.w&&(h=h||c<=1&&["w"]||c<n.w&&["ww",c]),(h=h||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=t,h[3]=+e>0,h[4]=i,Un.apply(null,h)}(this,!r,o,n),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},Zn.toISOString=Kn,Zn.toString=Kn,Zn.toJSON=Kn,Zn.locale=Jt,Zn.localeData=en,Zn.toIsoString=_("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Kn),Zn.lang=Qt,N("X",0,0,"unix"),N("x",0,0,"valueOf"),fe("x",ue),fe("X",/[+-]?\d+(\.\d{1,3})?/),be("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),be("x",(function(e,t,n){n._d=new Date(Y(e))})),i.version="2.29.1",t=Et,i.fn=vn,i.min=function(){var e=[].slice.call(arguments,0);return Mt("isBefore",e)},i.max=function(){var e=[].slice.call(arguments,0);return Mt("isAfter",e)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=f,i.unix=function(e){return Et(1e3*e)},i.months=function(e,t){return wn(e,t,"months")},i.isDate=c,i.locale=ot,i.invalid=v,i.duration=Ht,i.isMoment=x,i.weekdays=function(e,t,n){return xn(e,t,n,"weekdays")},i.parseZone=function(){return Et.apply(null,arguments).parseZone()},i.localeData=st,i.isDuration=Ot,i.monthsShort=function(e,t){return wn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return xn(e,t,n,"weekdaysMin")},i.defineLocale=at,i.updateLocale=function(e,t){if(null!=t){var n,i,r=Qe;null!=et[e]&&null!=et[e].parentLocale?et[e].set(M(et[e]._config,t)):(null!=(i=rt(e))&&(r=i._config),t=M(r,t),null==i&&(t.abbr=e),(n=new A(t)).parentLocale=et[e],et[e]=n),ot(e)}else null!=et[e]&&(null!=et[e].parentLocale?(et[e]=et[e].parentLocale,e===ot()&&ot(e)):null!=et[e]&&delete et[e]);return et[e]},i.locales=function(){return k(et)},i.weekdaysShort=function(e,t,n){return xn(e,t,n,"weekdaysShort")},i.normalizeUnits=z,i.relativeTimeRounding=function(e){return void 0===e?Vn:"function"==typeof e&&(Vn=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==Yn[e]&&(void 0===t?Yn[e]:(Yn[e]=t,"s"===e&&(Yn.ss=t-1),!0))},i.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=vn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n(80)(e))},function(e,t,n){(function(e){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},i=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},r=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set&&"function"==typeof t.prototype.entries}catch(e){return!1}})()||function(){var r=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof r){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var i=0;i<e.length;i++){var o=e[i];if("[object Array]"!==Object.prototype.toString.call(o)&&2===o.length)throw new TypeError("Expected [string, any] as entry at index "+i+" of URLSearchParams's input");this.append(o[0],o[1])}else for(var a in e)e.hasOwnProperty(a)&&this.append(a,e[a])}},o=r.prototype;o.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},o.delete=function(e){delete this._entries[e]},o.get=function(e){return e in this._entries?this._entries[e][0]:null},o.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},o.has=function(e){return e in this._entries},o.set=function(e,t){this._entries[e]=[String(t)]},o.forEach=function(e,t){var n;for(var i in this._entries)if(this._entries.hasOwnProperty(i)){n=this._entries[i];for(var r=0;r<n.length;r++)e.call(t,n[r],i,this)}},o.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),n(e)},o.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},o.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),n(e)},t&&(o[Symbol.iterator]=o.entries),o.toString=function(){var e=[];return this.forEach((function(t,n){e.push(i(n)+"="+i(t))})),e.join("&")},e.URLSearchParams=r}();var o=e.URLSearchParams.prototype;"function"!=typeof o.sort&&(o.sort=function(){var e=this,t=[];this.forEach((function(n,i){t.push([i,n]),e._entries||e.delete(i)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof o._fromString&&Object.defineProperty(o,"_fromString",{enumerable:!1,
2configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,n){t.push(n)}));for(var n=0;n<t.length;n++)this.delete(t[n])}var i,o=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<o.length;n++)i=o[n].split("="),this.append(r(i[0]),i.length>1?r(i[1]):"")}})}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){var t,n,i;if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()||(t=e.URL,i=(n=function(t,n){"string"!=typeof t&&(t=String(t)),n&&"string"!=typeof n&&(n=String(n));var i,r=document;if(n&&(void 0===e.location||n!==e.location.href)){n=n.toLowerCase(),(i=(r=document.implementation.createHTMLDocument("")).createElement("base")).href=n,r.head.appendChild(i);try{if(0!==i.href.indexOf(n))throw new Error(i.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var o=r.createElement("a");o.href=t,i&&(r.body.appendChild(o),o.href=o.href);var a=r.createElement("input");if(a.type="url",a.value=t,":"===o.protocol||!/:/.test(o.href)||!a.checkValidity()&&!n)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o});var s=new e.URLSearchParams(this.search),l=!0,u=!0,c=this;["append","delete","set"].forEach((function(e){var t=s[e];s[e]=function(){t.apply(s,arguments),l&&(u=!1,c.search=s.toString(),u=!0)}})),Object.defineProperty(this,"searchParams",{value:s,enumerable:!0});var d=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,configurable:!1,writable:!1,value:function(){this.search!==d&&(d=this.search,u&&(l=!1,this.searchParams._fromString(this.search),l=!0))}})}).prototype,["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(i,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(i,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(i,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n),void 0!==e.location&&!("origin"in e.location)){var r=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:r,enumerable:!0})}catch(t){setInterval((function(){e.location.origin=r()}),100)}}}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)}).call(this,n(79))},function(e,t,n){var i,r,o;!function(a,s){if(a){s=s.bind(null,a,a.document),e.exports?s(n(35)):(r=[n(35)],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o))}}("undefined"!=typeof window?window:0,(function(e,t,n){"use strict";if(e.addEventListener){var i=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,r=/parent-fit["']*\s*:\s*["']*(contain|cover|width)/,o=/parent-container["']*\s*:\s*["']*(.+?)(?=(\s|$|,|'|"|;))/,a=/^picture$/i,s=n.cfg,l={getParent:function(t,n){var i=t,r=t.parentNode;return n&&"prev"!=n||!r||!a.test(r.nodeName||"")||(r=r.parentNode),"self"!=n&&(i="prev"==n?t.previousElementSibling:n&&(r.closest||e.jQuery)&&(r.closest?r.closest(n):jQuery(r).closest(n)[0])||r),i},getFit:function(e){var t,n,i=getComputedStyle(e,null)||{},a=i.content||i.fontFamily,s={fit:e._lazysizesParentFit||e.getAttribute("data-parent-fit")};return!s.fit&&a&&(t=a.match(r))&&(s.fit=t[1]),s.fit?(!(n=e._lazysizesParentContainer||e.getAttribute("data-parent-container"))&&a&&(t=a.match(o)
2)&&(n=t[1]),s.parent=l.getParent(e,n)):s.fit=i.objectFit,s},getImageRatio:function(t){var n,r,o,l,u,c,d,h=t.parentNode,f=h&&a.test(h.nodeName||"")?h.querySelectorAll("source, img"):[t];for(n=0;n<f.length;n++)if(r=(t=f[n]).getAttribute(s.srcsetAttr)||t.getAttribute("srcset")||t.getAttribute("data-pfsrcset")||t.getAttribute("data-risrcset")||"",o=t._lsMedia||t.getAttribute("media"),o=s.customMedia[t.getAttribute("data-media")||o]||o,r&&(!o||(e.matchMedia&&matchMedia(o)||{}).matches)){(l=parseFloat(t.getAttribute("data-aspectratio")))||((u=r.match(i))?"w"==u[2]?(c=u[1],d=u[3]):(c=u[3],d=u[1]):(c=t.getAttribute("width"),d=t.getAttribute("height")),l=c/d);break}return l},calculateSize:function(e,t){var n,i,r,o=this.getFit(e),a=o.fit,s=o.parent;return"width"==a||("contain"==a||"cover"==a)&&(i=this.getImageRatio(e))?(s?t=s.clientWidth:s=e,r=t,"width"==a?r=t:(n=t/s.clientHeight)&&("cover"==a&&n<i||"contain"==a&&n>i)&&(r=t*(i/n)),r):t}};n.parentFit=l,t.addEventListener("lazybeforesizes",(function(e){if(!e.defaultPrevented&&e.detail.instance==n){var t=e.target;e.detail.width=l.calculateSize(t,e.detail.width)}}))}}))},function(e,t,n){var i,r,o;!function(a,s){if(a){s=s.bind(null,a,a.document),e.exports?s(n(35)):(r=[n(35)],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o))}}("undefined"!=typeof window?window:0,(function(e,t,n){"use strict";var i,r,o,a,s,l,u,c,d,h,f,p,m,v,g,b,y=n.cfg,w=t.createElement("img"),x="sizes"in w&&"srcset"in w,S=/\s+\d+h/g,_=(r=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,o=Array.prototype.forEach,function(){var e=t.createElement("img"),i=function(e){var t,n,i=e.getAttribute(y.srcsetAttr);i&&(n=i.match(r))&&((t="w"==n[2]?n[1]/n[3]:n[3]/n[1])&&e.setAttribute("data-aspectratio",t),e.setAttribute(y.srcsetAttr,i.replace(S,"")))},a=function(e){if(e.detail.instance==n){var t=e.target.parentNode;t&&"PICTURE"==t.nodeName&&o.call(t.getElementsByTagName("source"),i),i(e.target)}},s=function(){e.currentSrc&&t.removeEventListener("lazybeforeunveil",a)};t.addEventListener("lazybeforeunveil",a),e.onload=s,e.onerror=s,e.srcset="data:,a 1w 1h",e.complete&&s()});(y.supportsType||(y.supportsType=function(e){return!e}),e.HTMLPictureElement&&x)?!n.hasHDescriptorFix&&t.msElementsFromPoint&&(n.hasHDescriptorFix=!0,_()):e.picturefill||y.pf||(y.pf=function(t){var n,r;if(!e.picturefill)for(n=0,r=t.elements.length;n<r;n++)i(t.elements[n])},c=function(e,t){return e.w-t.w},d=/^\s*\d+\.*\d*px\s*$/,s=/(([^,\s].[^\s]+)\s+(\d+)w)/g,l=/\s/,u=function(e,t,n,i){a.push({c:t,u:n,w:1*i})},f=function(){var e,n,r;f.init||(f.init=!0,addEventListener("resize",(n=t.getElementsByClassName("lazymatchmedia"),r=function(){var e,t;for(e=0,t=n.length;e<t;e++)i(n[e])},function(){clearTimeout(e),e=setTimeout(r,66)})))},p=function(t,i){var r,o=t.getAttribute("srcset")||t.getAttribute(y.srcsetAttr);!o&&i&&(o=t._lazypolyfill?t._lazypolyfill._set:t.getAttribute(y.srcAttr)||t.getAttribute("src")),t._lazypolyfill&&t._lazypolyfill._set==o||(r=h(o||""),i&&t.parentNode&&(r.isPicture="PICTURE"==t.parentNode.nodeName.toUpperCase(),r.isPicture&&e.matchMedia&&(n.aC(t,"lazymatchmedia"),f())),r._set=o,Object.defineProperty(t,"_lazypolyfill",{value:r,writable:!0}))},m=function(t){return e.matchMedia?(m=function(e){return!e||(matchMedia(e)||{}).matches})(t):!t},v=function(t){var i,r,o,a,s,l,u;if(p(a=t,!0),(s=a._lazypolyfill).isPicture)for(r=0,o=(i=t.parentNode.getElementsByTagName("source")).length;r<o;r++)if(y.supportsType(i[r].getAttribute("type"),t)&&m(i[r].getAttribute("media"))){a=i[r],p(a),s=a._lazypolyfill;break}return s.length>1?(u=a.getAttribute("sizes")||"",u=d.test(u)&&parseInt(u,10)||n.gW(t,t.parentNode),s.d=function(t){var i=e.devicePixelRatio||1,r=n.getX&&n.getX(t);return Math.min(r||i,2.5,i)}(t),!s.src||!s.w||s.w<u?(s.w=u,l=function(e){for(var t,n,i=e.length,r=e[i-1],o=0;o<i;o++)if((r=e[o]).d=r.w/e.w,r.d>=e.d){!r.cached&&(t=e[o-1])&&t.d>e.d-.13*Math.pow(e.d,2.2)&&(n=Math.pow(t.d-.6,1.6),t.cached&&(t.d+=.15*n),t.d+(r.d-e.d)*n>e.d&&(r=t));break}return r}(s.sort(c)),s.src=l):l=s.src):l=s[0],l},(g=function(e){if(!x||!e.parentNode||"PICTURE"==e.parentNode.nodeName.toUpperCase()){var t=v(e);t&&t.u&&e._lazypolyfill.cur!=t.u&&(e._lazypolyfill.cur=t.u,t.cached=!0,e.setAttribute(y.srcAttr,t.u),e.setAttribute("src",t.u))}}).parse=h=function(e){return a=[],(e=e.trim()).replace(S,"").replace(s,u),a.length||!e||l.test(e)||a.push({c:e,u:e,w:99}),a},i=g,y.loadedClass&&y.loadingClass&&(b=[],['img[sizes$="px"][srcset].',"picture > img:not([srcset])."].forEach((function(e){b.push(e+y.loadedClass),b.push(e+y.loadingClass)})),y.pf({elements:t.querySelectorAll(b.join(", "))})))}))},function(e,t,n){var i,r,o;!function(a,s){s=s.bind(null,a,a.document),e.exports?s(n(35)):(r=[n(35)],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o))}(window,(function(e,t,n){"use strict";var i,r;"srcset"in t.createElement("img")&&(i=/^img$/i,r=function(e){e.target.style.backgroundSize="",e.target.style.backgroundImage="",e.target.removeEventListener(e.type,r)},t.addEventListener("lazybeforeunveil",(function(e){if(e.detail.instance==n){var t=e.target;
2if(i.test(t.nodeName)){var o=t.getAttribute("src");o&&(t.style.backgroundSize="100% 100%",t.style.backgroundImage="url("+o+")",t.removeAttribute("src"),t.addEventListener("load",r))}}}),!1))}))},function(e,t,n){var i,r,o;!function(a,s){s=s.bind(null,a,a.document),e.exports?s(n(35)):(r=[n(35)],void 0===(o="function"==typeof(i=s)?i.apply(t,r):i)||(e.exports=o))}(window,(function(e,t,n){"use strict";var i,r,o,a;e.addEventListener&&(i=n&&n.cfg,r=i.lazyClass||"lazyload",o=function(){var e,i;if("string"==typeof r&&(r=t.getElementsByClassName(r)),n)for(e=0,i=r.length;e<i;e++)n.loader.unveil(r[e])},addEventListener("beforeprint",o,!1),!("onbeforeprint"in e)&&e.matchMedia&&(a=matchMedia("print"))&&a.addListener&&a.addListener((function(){a.matches&&o()})))}))},,function(e,t,n){"use strict";n.r(t);n(188),n(375);var i=n(184),r=n.n(i),o=n(185),a=n.n(o),s=n(31),l=n.n(s),u=void 0===arguments?void 0:arguments,c=void 0;function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){return m(e)||p(e,t)||b(e,t)||f()}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}}function m(e){if(Array.isArray(e))return e}function v(e){return w(e)||y(e)||b(e)||g()}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e,t){if(e){if("string"==typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?x(e,t):void 0}}function y(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function w(e){if(Array.isArray(e))return x(e)}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var S={};["Arguments","Function","String","Number","Date","RegExp"].forEach((function(e){S["is".concat(e)]=function(t){return Object.prototype.toString.call(t)==="[object ".concat(e,"]")}}));var _=function(e){return S.isFunction(e)?e():e},k=function(e){return function(t){return function(n){return Object.prototype.hasOwnProperty.call(e,n)?e[n]:t}}},E=function(e){var t=function(e){return k({string:"string"==typeof e,number:"number"==typeof e,boolean:"boolean"==typeof e,function:"function"==typeof e,element:e instanceof Element,node:e.nodeType,array:Array.isArray(e),object:e instanceof Object&&!(e instanceof Array)})(!1)};Object.keys(e).forEach((function(n){if(!t(e[n])("array"))throw new Error("checkExpectedParams: You should pass values as an Array! Get: ".concat(e[n]));e[n].forEach((function(e){if(null==e)throw new Error("checkExpectedParams: Parameter is undefined!");if(!t(e)(n))throw console.log("Element with wrong type: ",e),window.errorExpected=e,new Error("checkExpectedParams: Parameter has wrong type. See above or check 'window.errorExpected'.\n (Expecting '".concat(n,"' type for '").concat(Object.prototype.toString.call(e),"')!"))}))}))},C=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return E({boolean:[e],function:[t]}),e?t():_(n)},T=function(e,t){E({element:[e]}),[].concat(t).forEach((function(t){e.classList?e.classList.add(t):e.className+=" ".concat(t)}))},M=function(e,t){E({element:[e]}),[].concat(t).forEach((function(t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)".concat(t.split(" ").join("|"),"(\\b|$)"),"gi")," ")}))},A=function(e,t){E({element:[e]});var n=Array.isArray(t)?t:[].concat(t.split(" "));if(e.classList)return Boolean(n.filter((function(t){return e.classList.contains(t)})).length);var i="[object SVGAElement]"===Object.prototype.toString.call(e)?e.className.baseVal:e.className;return new RegExp("(^| )(".concat(n.join("|"),")( |$)"),"gi").test(i)},P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"site-wrapper",n=document.querySelector(".".concat(t));"hidden"===e?(T(document.body,"-overflow-hidden"),T(n,"-overflow-hidden")):(M(document.body,"-overflow-hidden"),M(n,"-overflow-hidden"))},O=function(e,t){E({element:[e],object:[t]}
2),Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))},L=function(e,t){E({element:[e],array:[t]}),t.forEach((function(t){e.removeAttribute(t)}))},I=function(e,t){E({element:[e],string:[t]});var n=e["offset".concat(t)],i=getComputedStyle(e),r=h(k({Height:["marginTop","marginBottom"],Width:["marginLeft","marginRight"]})("Height")(t),2),o=r[0],a=r[1];return n+=parseInt(i[o],10)+parseInt(i[a],10)},D=function(e){return I(e,"Height")},N=function(e,t){var n=[],i=e.parentElement.firstElementChild;do{t&&!t(i)||n.push(i)}while(null!==(i=i.nextElementSibling));return n},j=function(e,t){E({element:[e],string:[t]});for(var n=e;n&&!A(n,t);){if(n===document.body){n=null;break}n=n.parentNode}return n},F=function(e,t){E({element:[e],string:[t]});for(var n=e;n.tagName.toUpperCase()!==t.toUpperCase()&&(n=n.parentNode););return n},R=function(e){return(S.isString(e)?document.querySelector(e):e).querySelector("a, input, select, button")},B=function(e,t){var n=l.a.query.focusable({context:t});if(!n.length)return null;var i=n.findIndex((function(t){return t===e}));return i>=0&&i<n.length-1?n[i+1]:n[0]},z=function(e,t){var n=l.a.query.focusable({context:t});if(!n.length)return null;var i=n.findIndex((function(t){return t===e}));return i>0?n[i-1]:n[n.length-1]},H=function(e){var t=(S.isString(e)?document.querySelector(e):e).querySelectorAll("a, input, select, button");return t[t.length-1]},W=function(){return Math.random().toString(36).substr(2,16)},q=function(e,t){for(var n=(S.isString(e)?document.querySelector(e):e).querySelectorAll("a, input, select, button"),i=0;i<n.length;i++)n[i].setAttribute("tabindex",parseInt(t,10))},V=function(e){var t=e.getAttribute("tabindex")||0;return e.setAttribute("tabindex",t<0?0:-1)},Y=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["close","overlay","toggle"],i="relations-".concat(W());[].concat(e).forEach((function(e){var t={"aria-controls":i,"aria-expanded":!1};n.filter((function(t){return e.className.indexOf(t)>=0})).length||(t["aria-haspopup"]=!0),O(e,t)}));var r=S.isString(t)?document.querySelector(t):t;r.id=i,r.setAttribute("aria-hidden",!0)},U=function(e){L(e,["aria-hidden","aria-expanded","aria-haspopup","aria-controls"]),[].slice.call(e.querySelectorAll("*")).forEach((function(e){L(e,["aria-hidden","aria-expanded","aria-haspopup","aria-controls","id"])}))},G=function(e,t,n){var i="opened"===n||!0===n?1:0;[].concat(e).forEach((function(e){e.setAttribute("aria-expanded",(!!i).toString())})),t.setAttribute("aria-hidden",(!i).toString())},X=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return E({element:[e],boolean:[n]}),t=n?'[tabindex="0"]':'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]',Array.prototype.slice.call(e.querySelectorAll(t))},K=function(e){return["a","button","select","input","textarea"].filter((function(t){return e.tagName.toLowerCase()===t})).length>0},Z=function(e){e[0].focus()},J=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=n?X(e,!0):X(e),r=i[0],o=i[i.length-1];9===t.keyCode&&(t.shiftKey?document.activeElement===r&&(t.preventDefault(),o.focus()):document.activeElement===o&&(t.preventDefault(),r.focus()))},Q=function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++){t=31*t+e.charCodeAt(n),t|=0}return t},ee=function(e,t){var n=null;return function(){var i=c,r=u;clearTimeout(n),n=setTimeout((function(){e.apply(i,r)}),t)}},te=function(e){var t,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,r=arguments.length>2?arguments[2]:void 0;return function(){for(var o=r||c,a=+new Date,s=arguments.length,l=new Array(s),u=0;u<s;u++)l[u]=arguments[u];var d=l;t&&a<t+i?(clearTimeout(n),n=setTimeout((function(){t=a,e.apply(o,d)}),i)):(t=a,e.apply(o,d))}},ne=function e(){for(var t=function(e){return e&&"object"===d(e)},n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];
2return i.reduce((function(n,i){return Object.keys(i).forEach((function(r){var o=n[r],a=i[r];Array.isArray(o)&&Array.isArray(a)?n[r]=o.concat.apply(o,v(a)):t(o)&&t(a)?n[r]=e(o,a):n[r]=a})),n}),{})},ie=function(e,t){E({node:[e,t]}),t.parentNode.insertBefore(e,t.nextSibling)},re=function(e){for(var t=[],n=0;n<e.elements.length;n++){var i=e.elements[n];if(i.name&&!i.disabled&&"file"!==i.type&&"reset"!==i.type&&"submit"!==i.type&&"button"!==i.type)if("select-multiple"===i.type)for(var r=0;r<i.options.length;r++)i.options[r].selected&&t.push("".concat(encodeURIComponent(i.name),"=").concat(encodeURIComponent(i.options[r].value)));else("checkbox"!==i.type&&"radio"!==i.type||i.checked)&&t.push("".concat(encodeURIComponent(i.name),"=").concat(encodeURIComponent(i.value)))}return t.join("&")},oe=function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(E({element:[t],number:[i]}),!i)return q(t,n);v(t.children).forEach((function(t){K(t)&&t.setAttribute("tabindex",n),i>1&&e(t,n,i-1)}))},ae=function(){Object.is||(Object.is=function(e,t){return e===t?0!==e||1/e==1/t:isNaN(e)&&isNaN(t)})},se=function(e,t){v(e.children).forEach((function(e){return!!K(e)&&e.setAttribute("tabindex",t)}))},le=n(1),ue=n.n(le);ue.a.regExpEscape=function(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")};var ce=function(e,t){for(var n,i=/<%(.+?)?%>/g,r=/(^\s*(if|for|else|switch|case|break|{|})).*/g,o="var r=[];\n",a=0,s=function e(t,n){return o+=n?t.match(r)?t+"\n":"r.push("+t+");\n":""!==t?'r.push("'+t.replace(/"/g,'\\"')+'");\n':"",e};n=i.exec(e);)s(e.slice(a,n.index))(n[1],!0),a=n.index+n[0].length;return s(e.substr(a,e.length-a)),o+='return r.join("");',new Function(o.replace(/[\r\t\n]/g,"")).apply(t)};function de(e){return e.split("").map((function(e,t){var n="ÃÃÃÃÃÃ
à áâãäåÃÃÃÃÃÃÃÃòóôõöøÃÃÃÃèéêëðÃçÃÃÃÃÃìÃîïÃÃÃÃùúûüÃñŠšŸÿýŽž".indexOf(e);return-1!==n?"AAAAAAaaaaaaBOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz"[n]:e})).join("")}function he(){ue()(document).ready((function(){ue()(".js-combobox-1").accessibleCombobox(),ue()(".js-combobox-2").jsonToDatalist({callback:function(e){console.log(e),e.accessibleCombobox({comboboxPrefixClass:"combobox",comboboxHelpText:"Utilisez les touches de tabulation ou la flèche du bas pour naviguer dans la liste du champ autocomplété. Confirmez votre choix avec la touche entrée, ou la touche échap pour fermer la liste de suggestions.",defaultClassForInvisibleText:"invisible",suggestionSingle:"Il y a ",suggestionPlural:"Il y a ",itemTemplate:'<a class="js-suggestion combobox-suggestion" href="<%this.link%>" role="option"><%this.name%></a>',suggestionWord:"suggestion",comboboxButtonTitle:"Effacer ce champ",comboboxButtonClearText:'<span class="fal fa-times" aria-hidden="true" title="Effacer ce champ"></span><span class="sr-only">
2Effacer ce champ</span>',comboboxCaseSensitive:"no",itemDataType:"object",itemGetDataFrom:"name",comboboxMinLength:0,comboboxLimitNumberSuggestions:20,comboboxSearchOption:"containing",comboboxSeeMoreText:"Plus de résultatsâ¦"})}}),ue()(".js-combobox-3").jsonToDatalist({jsonPath:"http://www.mocky.io/v2/5ab3e1ed2f00006000ca39f3",callback:function(e){e.accessibleCombobox()}}),ue()(".js-combobox-4").jsonToDatalist({getField:"",callback:function(e){var t=e.attr("data-json-path"),n=e.attr("list");e.accessibleCombobox({comboboxPrefixClass:"combobox",comboboxHelpText:"Utilisez les touches de tabulation ou la flèche du bas pour naviguer dans la liste du champ autocomplété. Confirmez votre choix avec la touche entrée, ou la touche échap pour fermer la liste de suggestions.",defaultClassForInvisibleText:"invisible",suggestionSingle:"Il y a ",suggestionPlural:"Il y a ",suggestionWord:"suggestion",comboboxButtonTitle:"Effacer ce champ",comboboxButtonClearText:'<i class="fal fa-times"></i>',comboboxCaseSensitive:"no",comboboxMinLength:3,comboboxLimitNumberSuggestions:3,comboboxSearchOption:"containing",comboboxSeeMoreText:"",itemDataType:"object",itemGetDataFrom:"title",setActiveElement:"body",callback:function(e,i){if(""!==e.val()&&e.val().length>=3){var r="";r=t.indexOf("?")>-1?t+"&"+e.attr("name")+"="+e.val():t+"?"+e.attr("name")+"="+e.val(),ue.a.ajax(r).done((function(e){var t=[];e.map((function(e){e.title.text=e.title.text.replace(/ /g," ").replace(/\u00A0/g," ")})),console.log(e),ue.a.each(e,(function(e,n){t.push("<option value='"+JSON.stringify(n)+"'>")}));var r=ue()("<datalist/>",{id:n,html:t.join("")});i(r)}))}}})}})}))}function fe(e){return ge(e)||ve(e)||me(e)||pe()}function pe(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function me(e,t){if(e){if("string"==typeof e)return be(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?be(e,t):void 0}}function ve(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function ge(e){if(Array.isArray(e))return be(e)}function be(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function we(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function xe(e,t,n){return t&&we(e.prototype,t),n&&we(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}ue.a.fn.extend({accessibleCombobox:function(e){e=ue.a.extend({comboboxPrefixClass:"combobox",comboboxHelpText:"Use tabulation (or down) key to access and browse suggestions after input. Confirm your choice with enter key, or esc key to close suggestions box.",defaultClassForInvisibleText:"invisible",suggestionSingle:"There is ",suggestionPlural:"There are ",suggestionWord:"suggestion",comboboxButtonTitle:"clear this field",comboboxButtonClearText:"X",comboboxCaseSensitive:"yes",comboboxMinLength:0,itemTemplate:"",comboboxLimitNumberSuggestions:666,comboboxSearchOption:"beginning",comboboxSeeMoreText:"See more resultsâ¦"},e);var t=[];function n(){ue()("#js-codeit").html("You have to code a function or a redirection to display more results ;)")}this.each((function(i){var r=ue()(this),o=r.data(),a=ue.a.extend(!0,{},e,o),s=r.attr("id"),l=ue()('label[for="'+s+'"]'),u=i+1,c=a.comboboxPrefixClass+"-",d=a.defaultClassForInvisibleText,h=a.comboboxHelpText,f=ue()("#"+r.attr("data-list")),p=(a.comboboxButtonTitle,a.comboboxButtonClearText),m=a.comboboxCaseSensitive,v=[];r.attr({"data-number":u,autocorrect:"off",autocapitalize:"off",spellcheck:"false",autocomplete:"off","aria-describedby":c+"help-text"+u,"aria-autocomplete":"list","data-lastval":"","aria-owns":c+"suggest_"+u}),f.find("option").each((function(e,t){v.push({name:t.value,link:t.dataset.link})}
2)),t[u]="no"===m?v.sort((function(e,t){return(e=e.name.toLowerCase())==(t=t.name.toLowerCase())?0:e>t?1:-1})):v.sort((function(e,t){return(e=e.name)==(t=t.name)?0:e>t?1:-1})),r.wrap('<div class="'+c+'container js-container" data-combobox-prefix-class="'+c+'"></div>');var g=r.parent();g.append('<div id="'+c+"suggest_"+u+'" class="js-suggest '+c+'suggestions"><div role="listbox"></div></div>'),f.remove(),g.prepend('<div id="'+c+"suggestion-text"+u+'" class="js-suggestion-text '+c+"suggestion-text "+d+'" aria-live="assertive"></div>'),g.prepend('<span id="'+c+"help-text"+u+'" class="'+c+"help-text "+d+'">'+h+"</span>"),l.attr("id","label-id-"+s),r.after('<button class="js-clear-button '+c+'clear-button" aria-describedby="label-id-'+s+'" type="button">'+p+"</button>"),r.on("keyup",(function(e){var n=ue()(this),i=n.parent(),r=i.parents("form"),o=i.data(),s=void 0!==o.comboboxPrefixClass?o.comboboxPrefixClass:"",l=i.find(".js-suggest div"),u=i.find(".js-suggestion-text"),c=a.suggestionSingle,d=a.suggestionPlural,h=a.suggestionWord,f=a.comboboxMinLength,p=a.comboboxLimitNumberSuggestions,v=a.comboboxSearchOption,g=(a.comboboxSeeMoreText,n.attr("data-number")),b=de(n.val()),y="";if(13===e.keyCode)r.submit();else if(27!==e.keyCode){n.attr("data-lastval",b);var w=t[g].length,x=0,S=0;if(l.empty(),""!=b&&b.length>=f){for(;x<w;){if(S<p&&("containing"===v&&"yes"===m&&de(t[g][x].name).indexOf(b)>=0||"no"===m&&de(t[g][x].name).toUpperCase().indexOf(b.toUpperCase())>=0||"beginning"===v&&"yes"===m&&de(t[g][x].name).substring(0,b.length)===b||"no"===m&&de(t[g][x].name).substring(0,b.length).toUpperCase()===b.toUpperCase())){var _="";if(""===b.trim())_=t[g][x].name;else{var k=de(t[g][x].name),E=de(n.val().trim());if(E){var C=k.toLowerCase().indexOf(E.toLowerCase()),T=C+E.length;t[g][x].name.length;if(C>-1){var M="<mark>"+t[g][x].name.slice(C,T)+"</mark>",A=t[g][x].name.split("");A.splice(C,E.length,M),_=A.join("")}}}console.log(t[g][x]),a.itemTemplate?l.append(ce(a.itemTemplate,t[g][x])):l.append('<div id="suggestion-'+g+"-"+S+'" class="js-suggestion '+s+'suggestion" tabindex="-1" role="option">'+_+"</div>"),S++}x++}if(S>=p&&(a.itemTemplate?l.append(ce(a.itemTemplate,t[g][x])):l.append('<div id="suggestion-'+g+"-"+S+'" class="js-suggestion '+s+'suggestion" tabindex="-1" role="option">'+html+"</div>"),S++),S>1&&(y=d+S+" "+h+"s."),1===S&&(y=c+S+" "+h+"."),0===S&&(y=c+S+" "+h+"."),S>=0)if(y!=u.text()){var P=ue()("<p>").text(y);u.attr("aria-live","polite"),u.empty(),u.append(P)}}}})).on("click",(function(e){var t=ue()(e.target),n=ue()(".js-suggestion-text:not(:empty)"),i=n.parents(".js-container"),r=i.find(".js-combobox"),o=i.find(".js-suggest div");t.is(".js-suggestion")||t.is(".js-combobox")||!n.length||(r.val(r.attr("data-lastval")),o.empty(),n.empty())})).on("keydown",(function(e){var t=ue()(this),n=t.parent(),i=n.find(".js-combobox"),r=n.find(".js-suggest div"),o=r.find(".js-suggestion"),a=n.find(".js-suggestion-text"),s=void 0===t.attr("data-combobox-notab-options"),l=o.first();(!e.shiftKey&&9==e.keyCode&&s||40==e.keyCode)&&o.length&&(i.val(l.html().replace(/<mark>|<\/mark>/gi,"")),o.first().focus(),e.preventDefault()),(27==e.keyCode||!1===s&&9==e.keyCode)&&(i.val(i.attr("data-lastval").replace(/<mark>|<\/mark>/gi,"")),r.empty(),a.empty(),27==e.keyCode&&(e.preventDefault(),setTimeout((function(){i.focus()}),300)))})),r.parent().on("keydown",".js-suggestion",(function(e){var t=ue()(this),i=t.parents(".js-container"),r=i.find(".js-combobox"),o=void 0===r.attr("data-combobox-notab-options"),a=i.find(".js-suggest div"),s=i.find(".js-suggestion-text"),l=t.next(),u=t.prev();if((27==e.keyCode||!1===o&&9==e.keyCode)&&(27==e.keyCode&&(r.val(r.attr("data-lastval").replace(/<mark>|<\/mark>/gi,"")),a.empty(),s.empty(),setTimeout((function(){r.focus()}),300),e.preventDefault()),!1===o&&9==e.keyCode&&(a.empty(),s.empty(),r.focus())),13!=e.keyCode&&32!=e.keyCode||(t.hasClass("js-seemore")?(r.val(r.attr("data-lastval").replace(/<mark>|<\/mark>/gi,"")),a.empty(),s.empty(),setTimeout((function(){r.focus()}),300),setTimeout((function(){n()}),301),e.preventDefault()):(r.val(t.html().replace(/<mark>|<\/mark>/gi,"")),r.attr("data-lastval",t.html().replace(/<mark>|<\/mark>/gi,"")),a.empty(),s.empty(),setTimeout((function(){r.focus()}),300),e.preventDefault())),!e.shiftKey&&9==e.keyCode&&o||40==e.keyCode){if(l.length)r.val(l.html().replace(/<mark>|<\/mark>/gi,"")),l.focus();else if(r.val(r.attr("data-lastval").replace(/<mark>|<\/mark>/gi,"")),e.shiftKey||9!=e.keyCode)setTimeout((function(){r.focus()}),300);else{var c=jQuery.Event("keydown");c.which=27,c.keyCode=27,t.trigger(c)}e.preventDefault()}(e.shiftKey&&9==e.keyCode&&o||38==e.keyCode)&&(u.length?(r.val(u.html().replace(/<mark>|<\/mark>/gi,"")),u.focus()):r.val(r.attr("data-lastval")).focus(),e.preventDefault())})).on("click",".js-clear-button",(function(){var e=ue()(this).parent(),t=e.find(".js-combobox"),n=e.find(".js-suggest div"),i=e.find(".js-suggestion-text");n.empty(),i.empty(),t.val(""),t.attr("data-lastval","")})).on("click",".js-suggestion",(function(){var e=ue()(this),t=e.html().replace(/<mark>|<\/mark>/gi,""),i=e.parents(".js-container"),r=i.find(".js-combobox"),o=i.find(".js-suggest div"),a=i.find(".js-suggestion-text");e.hasClass("js-seemore")?(o.empty(),a.empty(),r.focus(),n()):(r.val(t).focus(),o.empty(),a.empty())}))}))}}),ue.a.fn.extend({jsonToDatalist:function(e){e=ue.a.extend({jsonPath:null,callback:function(){}},e);this.each((function(){var t=ue()(this),n=t.data(),i=ue.a.extend(!0,{},e,n),r=i.jsonPath,o=t.attr("data-list");r?ue.a.getJSON(r,(function(e){var n=[];ue.a.each(e,(function(e,t){n.push('<option value="'+t.name+'" data-link="'+t.link+'">')})),ue()("<datalist/>",{id:o,html:n.join("")}).insertAfter(t),i.callback.call(this,t)})):console.log("JSON path is empty or null.")}))}});var Se=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".message";ye(this,e),this.selector=t,this.created=!1,this.options={closeBtnClass:"message__close",closeBtnIcon:'<i class="fal fa-times"><span class="ghost">Fermer</span></i>',closeHelperClass:"-has-close-btn",obj:{class:"",modifier:"",title:"",description:"",html:null,closeBtn:!1}},this.create()}return xe(e,[{key:"create",value:function(){this.created||this.init()}},{key:"init",value:function(){var e=this;if("string"==typeof this.selector){this.created=!0;var t=fe(document.querySelectorAll(".".concat(this.options.closeBtnClass)));t&&t.forEach((function(t){e.btnEvents(t,t.parentNode)}))}}},{key:"createCloseBtn",value:function(e){var t=document.createElement("button");T(t,this.options.closeBtnClass),T(e,this.options.closeHelperClass),t.innerHTML=this.options.closeBtnIcon,e.appendChild(t),this.btnEvents(t,e)}},{key:"btnEvents",value:function(e,t){e.addEventListener("click",(function(){e.parentNode.parentNode.removeChild(t)}))}}],[{key:"createMessage",value:function(t){var n=document.createElement("h2"),i=document.createElement("p");t.title&&(n.innerHTML=t.title),t.description&&(i.innerHTML=t.description);var r=document.createElement("div");(t.class&&T(r,t.class),t.modifier&&T(r,t.modifier),r.appendChild(n),r.appendChild(i),t.html&&r.appendChild(t.html),t.closeBtn)&&(new e).createCloseBtn(r);return r}}]),e}();function _e(){var e=document.getElementById("preloader");null!==e&&setTimeout((function(){T(e,"-is-hidden"),e.setAttribute("aria-hidden",!0)}),500)}function ke(e,t){return Ae(e)||Me(e,t)||Ce(e,t)||Ee()}
2function Ee(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ce(e,t){if(e){if("string"==typeof e)return Te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Te(e,t):void 0}}function Te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Me(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}}function Ae(e){if(Array.isArray(e))return e}function Pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oe(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Le(e,t,n){return t&&Oe(e.prototype,t),n&&Oe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ie=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Pe(this,e),this.selector=t,this.height=null,this.brokenImages=null,this.brokenImagesHeight=0,this.duration=null,this.togglerState=null,this.options={display:window.getComputedStyle(this.selector).display,duration:null,isWrapContent:!1,toggleClassName:"-is-open",class:{wrapPrefix:"__slide-wrap"},initializedClass:"-is-initialized"},this.selector instanceof HTMLElement&&(n instanceof Object&&(this.options=ne(this.options,n)),this.init())}return Le(e,[{key:"state",get:function(){return this.togglerState}},{key:"init",value:function(){A(this.selector,this.options.initializedClass)||(T(this.selector,this.options.initializedClass),C(this.options.isWrapContent,this.wrapContent.bind(this)),this.updateValues(),this.togglerState=!!this.height,window.addEventListener("resize",ee(this.updateValues.bind(this),250)))}},{key:"updateValues",value:function(){this.height=this.getHeight(),this.duration=this.options.duration||Math.floor(this.height/3)+300}},{key:"getHeight",value:function(){var e=this.selector.parentNode,t=document.createElement("div");t.style.cssText="visibility: hidden; overflow: hidden; max-height: 0;";var n=this.selector.cloneNode(!0);n.style.cssText="display: block;",t.appendChild(n),e.appendChild(t);var i=n.clientHeight;return e.removeChild(t),i}},{key:"getDirection",value:function(){return this.selector.clientHeight*("none"!==window.getComputedStyle(this.selector).display)>this.height/2?[this.height,0]:[0,this.height]}},{key:"wrapContent",value:function(){var e=this.selector.classList[0].split("__")[0];this.selector.innerHTML="<div".concat(e?' class="'.concat(e+this.options.class.wrapPrefix,'"'):"",">").concat(this.selector.innerHTML,"</div>")}},{key:"open",value:function(){0===this.getDirection()[0]?(0===this.height&&this.updateValues(),this.toggle()):console.log("Already opened!")}},{key:"close",value:function(){0!==this.getDirection()[0]?(0===this.height&&this.updateValues(),this.toggle()):console.log("Already closed!")}},{key:"toggle",value:function(){var e=this,t=ke(this.getDirection(),2),n=t[0],i=t[1],r=i-n,o=this.options.display&&"none"!==this.options.display?this.options.display:"block",a=performance.now();this.togglerState=0===i,this.selector.style.cssText="overflow: hidden; display: ".concat(o,";");return function t(s){var l=s-a,u=n+r*l/e.duration;l>e.duration&&(l=e.duration),e.selector.style.height="".concat(u,"px"),l<e.duration?requestAnimationFrame(t):e.selector.style.cssText="display: ".concat(0===i?"none":o)}(a)}}]),e}();function De(e){return(De="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Fe(e,t,n){return t&&je(e.prototype,t),n&&je(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Re=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".js-dropdown",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Ne(this,e),this.selector=t,this.toggler=null,this.dropdown=null,this.slideToggler=null,this.closeBtn=null,this.focusTrapHandler=null,this.dropdowmWidth=null,this.keyOptions=null,window.dropdownList=window.dropdownList||{},this.options={wrapperClass:"js-dropdown",dropdownClass:"js-dropdown__block",btnClass:"js-dropdown__toggle",closeBtnClass:"js-dropdown__close",closeBtnHtml:'<span class="ghost">Fermer</span>',closeHelperClass:"has-close-btn",closeBtn:!1,opened:[],outsideToggle:!1,outsideToggleId:"js-dropdown-outside-toggle",closeOnOutsideClick:!0,openTypeSlide:!1,isWrapContent:!1,focusTrap:!0,overflow:!1,clickRoll:!1,disabledClose:[],onInit:function(e){},afterInit:function(e){},beforeOpen:function(e){},afterOpen:function(e){},beforeClose:function(e){},afterClose:function(e){}},n instanceof Object&&(this.options=ne(this.options,n)),this.$nextKeysHandler=this.nextKeysHandler.bind(this),this.$prevKeysHandler=this.prevKeysHandler.bind(this),this.$outsideHandler=this.outsideHandler.bind(this),this.$escHandler=this.escHandler.bind(this),this.checkBeforeInit()}return Fe(e,[{key:"checkBeforeInit",value:function(){if("string"!=typeof this.selector){if(A(this.selector,"-is-initialized"))return;return null!==this.selector&&this.init()}if("string"==typeof this.selector){var t=document.querySelectorAll(this.selector);if(null===t)return;for(var n=0;n<t.length;n++)new e(t[n],this.options)}}},{key:"init",value:function(){this.options.onInit(this.selector),this.create(),this.initEvents(),this.saveToStorage(),this.options.afterInit(this.selector)}},{key:"saveToStorage",value:function(){var e=W();this.selector.setAttribute("data-dropdown-id",e),window.dropdownList[e]=this}},{key:"manageResponsiveState",value:function(){if(0!==this.options.opened.length){var e=A(this.selector,"-is-open"),t=-1!==this.options.opened.indexOf(window.responsive);!e&&t?this.open():e&&!t&&0!==this.selector.getBoundingClientRect().height&&this.menuWidth!==this.selector.getBoundingClientRect().width&&this.close()}}},{key:"create",value:function(){var e=this.selector,t="";if(T(e,"-is-initialized"),e.classList.add(this.options.wrapperClass),this.options.outsideToggle?(this.toggler=document.getElementById(this.options.outsideToggleId),t='"#'.concat(this.options.outsideToggleId,'"')):(this.toggler=e.querySelector(".".concat(this.options.btnClass)),t='".'.concat(this.options.btnClass,'"')),!this.toggler)throw new Error("Dropdown. Can't find toggle button with selector: ".concat(t,' for "').concat(this.selector.className,'"'));this.dropdown=e.querySelector(".".concat(this.options.dropdownClass)),0===this.options.opened.length?q(this.dropdown,-1):q(this.dropdown,0),this.slideToggler=this.options.openTypeSlide&&new Ie(this.dropdown,{isWrapContent:this.options.isWrapContent}),this.options.closeBtn?(this.closeBtn=e.querySelector(".".concat(this.options.closeBtnClass)),null===this.closeBtn&&(this.closeBtn=document.createElement("button"),this.closeBtn.setAttribute("type","button"),this.closeBtn.className=this.options.closeBtnClass,this.closeBtn.innerHTML=this.options.closeBtnHtml,e.insertBefore(this.closeBtn,e.children[0])),Y([this.toggler,this.closeBtn],this.dropdown)):Y(this.toggler,this.dropdown)}},{key:"open",value:function(){var e=this;this.menuWidth=this.selector.getBoundingClientRect().width,this.options.beforeOpen(),this.options.openTypeSlide&&this.slideToggler.open(),this.options.outsideToggle?T(this.selector,"-is-open"):T(this.toggler.parentElement,"-is-open"),!0===this.options.closeBtn&&null!==this.closeBtn?(G([this.toggler,this.closeBtn],this.dropdown,"opened"),this.closeBtn.setAttribute("tabindex",0)):G(this.toggler,this.dropdown,"opened"),this.options.overflow&&T(document.body,"-overflow-hidden"),this.keyOptions={context:this.selector},this.options.focusTrap&&!this.options.clickRoll&&(this.toggler.setAttribute("tabindex",0),this.keyOptions.tab=this.$nextKeysHandler,this.keyOptions["shift+tab"]=this.$prevKeysHandler),this.options.clickRoll||(this.keyOptions.down=this.$nextKeysHandler,this.keyOptions.right=this.$nextKeysHandler,this.keyOptions.up=this.$prevKeysHandler,this.keyOptions.left=this.$prevKeysHandler,this.keyOptions.escape=this.$escHandler,this.$keyHandler=l.a.when.key(this.keyOptions)),this.options.focusTrap&&(this.focusTrapHandler=this.initFocusTrap.bind(this),window.addEventListener("responsive",this.manageFocusTrap.bind(this),!1)),this.$tabindexHandler=l.a.when.visibleArea({context:this.dropdown,callback:function(t){q(e.dropdown,0)},area:.5}),this.options.afterOpen(this.selector)}},{key:"escHandler",value:function(e){e.preventDefault();var t=!1;this.options.disabledClose.forEach((function(e){e===window.responsive&&(t=!0)})),t||this.close()}},{key:"close",value:function(){this.options.beforeClose(this.selector),this.options.focusTrap&&(this.toggler.focus(),this.toggler.removeAttribute("tabindex")),this.options.openTypeSlide&&this.slideToggler.close(),this.options.outsideToggle?M(this.selector,"-is-open"):M(this.toggler.parentElement,"-is-open"),this.options.overflow&&M(document.body,"-overflow-hidden"),this.dise
2ngageAllyHandlers(),q(this.dropdown,-1),!0===this.options.closeBtn&&null!==this.closeBtn?(G([this.toggler,this.closeBtn],this.dropdown,"closed"),this.closeBtn.setAttribute("tabindex",-1)):G(this.toggler,this.dropdown,"closed"),this.options.afterClose(this.selector)}},{key:"skipFormControls",value:function(e){var t=!0;if(e){var n=e.tagName.toLowerCase(),i=e.getAttribute("type");switch(n){case"input":i&&"radio"!==i&&"checkbox"!==i&&"date"!==i&&(t=!1);break;case"textarea":t=!1}}return t}},{key:"nextKeysHandler",value:function(e){if(this.skipFormControls(e.target)&&(e.preventDefault(),this.selector&&"object"===De(this.selector))){var t=B(e.target,this.selector);t&&l.a.element.focus(t)}}},{key:"prevKeysHandler",value:function(e){if(this.skipFormControls(e.target)&&(e.preventDefault(),this.selector&&"object"===De(this.selector))){var t=z(e.target,this.selector);t&&l.a.element.focus(t)}}},{key:"disengageAllyHandlers",value:function(){this.$keyHandler&&this.$keyHandler.disengage(),this.$tabindexHandler&&this.$tabindexHandler.disengage()}},{key:"initEvents",value:function(){var t=this;this.toggler.addEventListener("click",ee(e.onTogglerClick.bind(this),200)),!0===this.options.closeBtn&&null!==this.closeBtn&&this.closeBtn.addEventListener("click",this.close.bind(this)),window.addEventListener("responsive",this.manageResponsiveState.bind(this)),this.options.closeOnOutsideClick&&document.addEventListener("click",(function(e){var n=t.selector.contains(e.target)||e.target===t.toggler||t.toggler.contains(e.target),i=A(t.selector,"-is-open");!n&&i&&t.close()}))}},{key:"outsideHandler",value:function(e){if(this.selector&&"object"===De(this.selector)&&this.toggle){var t=this.selector.contains(e.target)||e.target===this.toggler||this.toggler.contains(e.target),n=A(this.selector,this.options.classList.opened);!t&&n&&this.close()}}},{key:"manageFocusTrap",value:function(){var e=this;if("boolean"!=typeof this.options.focusTrap){if(!Array.isArray(this.options.focusTrap))throw new Error("focusTrap parameter should be Boolean or Array");this.selector.removeEventListener("keydown",this.focusTrapHandler,!0),this.options.focusTrap.forEach((function(t){window.responsive===t&&e.selector.addEventListener("keydown",e.focusTrapHandler,!0)}))}else this.selector.addEventListener("keydown",this.focusTrapHandler,!0)}},{key:"initFocusTrap",value:function(e){J(this.selector,e,!0)}},{key:"destroy",value:function(){U(this.toggler.parentElement),this.toggler.removeEventListener("click",e.onTogglerClick.bind(this)),!0===this.options.closeBtn&&null!==this.closeBtn&&this.closeBtn.removeEventListener("click",this.close.bind(this))}}],[{key:"onTogglerClick",value:function(){!0===(this.options.outsideToggle?A(this.selector,"-is-open"):A(this.toggler.parentElement,"-is-open"))?this.close():this.open()}}]),e}();function Be(e){return(Be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ze(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&He(e,t)}function He(e,t){return(He=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e){var t=Ve();return function(){var n,i=Ye(e);if(t){var r=Ye(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return We(this,n)}}function We(e,t){if(t&&("object"===Be(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return qe(e)}function qe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ve(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Ye(e){return(Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ue(e){return Ze(e)||Ke(e)||Xe(e)||Ge()}function Ge(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Xe(e,t){if(e){if("string"==typeof e)return Je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Je(e,t):void 0}}function Ke(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Ze(e){if(Array.isArray(e))return Je(e)}function Je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function et(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function tt(e,t,n){return t&&et(e.prototype,t),n&&et(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var nt=function(){function e(t){Qe(this,e),this.selector=t,this.wrapper=null,this.list=null,this.items=null,this.itemsWithDropdown=null,this.links=null,this.toggles=null,this.submenus=null,this.dropdownWrappers=null,this.dropdownContainers=null,this.dropdownCloseButtons=null,this.closeButton=null,this.openerButton=null,this.lastClickedLink=null,this.lastEvent=null,this.menuPosition=null,this.comments={},this.options={menu:{type:"aside",className:"js-mnv",listClassName:"js-mnv-list",itemClassName:"js-mnv-item",itemWithDropdownClassName:"js-mnv-item-has-dropdown",linkClassName:"js-mnv-link",wrapperClassName:"js-mnv-wrapper",dropdownWrapperClassName:"js-mnv-dropdown-wrapper",dropdownContainerClassName:"js-mnv-dropdown-container",dropdownCloseClassName:"js-mnv-dropdown-close",submenuClassName:"js-mnv-submenu",toggleClassName:"js-mnv-submenu-toggle",openedClassName:"-is-open",generatedClassName:"-is-generated",currentClassName:["-is-current","is-active"]},overlay:{show:!0,text:"Close",className:"js-mnv-overlay"},closeButton:{show:!0,text:"Close",className:"js-mnv-close"},openerButton:{show:!0,text:"",className:"js-mnv-toggle"},body:{openedClassName:"mnv-opened"},breakpoints:["tablet","smartphone"],replaceTo:"site-header",rebuildMenu:[],initSubmenuToggles:["tablet","smartphone"],closeAllChildren:!1,submenusHandler:{closeAllBeforeOpen:!1,breakpoints:["desktop"]},emitInsideHandlerFor:"",focusTrap:{init:!0,closeOnLastElementOut:!1},messages:{close:"Close"}}}return tt(e,[{key:"getMenuWrapper",value:function(){return this.selector.children[0]}},{key:"getMenuDropdownWrappers",value:function(){return this.items?this.items.filter((function(e){return e.querySelector("div")})).map((function(e){return e.querySelector("div")})):(this.items=this.getMenuItems(),this.items?this.getMenuDropdownWrappers():null)}},{key:"getMenuDropdownContainers",value:function(){return this.dropdownWrappers?this.dropdownWrappers.map((function(e){return e.querySelector("div")})):(this.dropdownWrappers=this.getMenuDropdownWrappers(),this.dropdownWrappers?this.getMenuDropdownContainers():null)}},{key:"getMenuDropdownCloseButtons",value:function(){return this.dropdownContainers?this.dropdownContainers.map((function(e){return e.querySelector("button")})):(this.dropdownContainers=this.getMenuDropdownContainers(),this.dropdownContainers?this.getMenuDropdownCloseButtons():null)}},{key:"getMenuList",value:function(){return this.wrapper?this.wrapper.querySelector("ul"):this.getMenuWrapper().querySelector("ul")}},{key:"getMenuItems",value:function(){return Ue(this.list.querySelectorAll("li"))}},{key:"getMenuItemsWithDropdown",value:function(){return this.items?this.items.filter((function(e){return e.querySelector("ul")})):(this.items=this.getMenuItems(),this.items?this.getMenuItemsWithDropdown():null)}},{key:"getMenuLinks",value:function(){return Ue(this.list.querySelectorAll("a"))}},{key:"getMenuToggles",value:function(){return Ue(this.list.querySelectorAll("button:not(.".concat(this.options.closeButton.className,")")))}},{key:"getMenuSubmenus",value:function(){return this.items?this.items.filter((function(e){return e.querySelector("ul")})).map((function(e){return e.querySelector("ul")})):(this.items=this.getMenuItems(),this.items?this.getMenuSubmenus():null)}},{key:"getCloseButton",value:function(){return this.selector.querySelector(".".concat(this.options.closeButton.className))}},{key:"getOpenerButton",value:function(){return document.querySelector(".".concat(this.options.openerButton.className))}},{key:"getOverlay",value:function(){var e=this.selector.nextElementSibling;return e&&A(e,this.options.overlay.className)?e:null}},{key:"getFirstLevelFocusableElements",value:function(){var t=this;if(this.list){var n=X(this.list);if(n){var i=1e4;return n.filter((function(n){var r=e.getDepthIndex(n,t.selector);return r<=i&&(i=r,n)}
2))}}return this.list=this.getMenuList(),this.list?this.getFirstLevelFocusableElements():null}},{key:"getFirstLevelLinks",value:function(){var t=this;if(this.links){var n=1e4;return this.links.filter((function(i){var r=e.getDepthIndex(i,t.selector);return r<=n&&(n=r,i)}))}return this.links=this.getMenuLinks(),this.links?this.getFirstLevelLinks():null}},{key:"getOpenedItems",value:function(){var e=this;return this.items.filter((function(t){return A(t,e.options.menu.openedClassName)}))}},{key:"getOpenedSubmenus",value:function(){var e=this;return this.submenus.filter((function(t){return A(t.parentNode,e.options.menu.openedClassName)}))}},{key:"getOpenedChildren",value:function(e){var t=this,n=Ue(e.children);return n?n.filter((function(e){return A(e,t.options.menu.openedClassName)})):null}},{key:"setElementsClass",value:function(e,t){e&&e.forEach((function(e){return T(e,t)}))}},{key:"createOverlay",value:function(){var e=document.createElement("div");return e.innerHTML='<span class="ghost">'.concat(this.options.overlay.text,"</span>"),T(e,this.options.overlay.className),e}},{key:"createCloseButton",value:function(e){var t=document.createElement("button");return T(t,this.options.closeButton.className),t.setAttribute("type","button"),t.innerHTML=e||this.options.closeButton.text,t}},{key:"addCloseButton",value:function(e,t){this.closeButton=this.createCloseButton(),"before"===t?e.parentNode.insertBefore(this.closeButton,e):ie(this.closeButton,e)}},{key:"addOverlay",value:function(){return this.overlay||(this.overlay=this.createOverlay()),ie(this.overlay,this.selector)}},{key:"addToggleAfter",value:function(e){if(e){var t=this.createToggle(e.textContent);return ie(t,e),t}}},{key:"addToggleBefore",value:function(e){if(e){var t=this.createToggle(e.textContent);return e.parentNode.insertBefore(t,e),t}}},{key:"createToggle",value:function(e){var t=document.createElement("button");return t.setAttribute("type","button"),t.innerHTML='<span class="ghost">'.concat(e,"</span>"),T(t,this.options.menu.toggleClassName),T(t,this.options.menu.generatedClassName),t}},{key:"setOverlay",value:function(){var e=this;this.options.overlay&&this.onResponsive(this.options.overlay.show,(function(){e.addOverlay()}),(function(){e.overlay=e.getOverlay(),e.removeElement(e.overlay)}))}},{key:"setCloseButton",value:function(){this.options.closeButton&&(this.closeButton=this.getCloseButton(),this.closeButton||this.addCloseButton(this.list,"before"))}},{key:"removeElement",value:function(e){e&&e.parentNode.removeChild(e)}},{key:"setElementClass",value:function(e,t){e&&T(e,t)}},{key:"removeElementsClass",value:function(e,t){e&&e.forEach((function(e){return M(e,t)}))}},{key:"removeElementClass",value:function(e,t){e&&M(e,t)}},{key:"setClassNames",value:function(){this.setElementClass(this.selector,this.options.menu.className),this.wrapper=this.selector.children[0],this.setElementClass(this.wrapper,this.options.menu.wrapperClassName),this.list=this.getMenuList(),this.setElementClass(this.list,this.options.menu.listClassName),this.items=this.getMenuItems(),this.setElementsClass(this.items,this.options.menu.itemClassName),this.itemsWithDropdown=this.getMenuItemsWithDropdown(),this.setElementsClass(this.itemsWithDropdown,this.options.menu.itemWithDropdownClassName),this.links=this.getMenuLinks(),this.setElementsClass(this.links,this.options.menu.linkClassName),this.toggles=this.getMenuToggles(),this.setElementsClass(this.toggles,this.options.menu.toggleClassName),this.submenus=this.getMenuSubmenus(),this.setElementsClass(this.submenus,this.options.menu.submenuClassName),this.dropdownWrappers=this.getMenuDropdownWrappers(),this.setElementsClass(this.dropdownWrappers,this.options.menu.dropdownWrapperClassName),this.dropdownContainers=this.getMenuDropdownContainers(),this.setElementsClass(this.dropdownContainers,this.options.menu.dropdownContainerClassName),this.dropdownCloseButtons=this.getMenuDropdownCloseButtons(),this.setElementsClass(this.dropdownCloseButtons,this.options.menu.dropdownCloseClassName)}},{key:"getCurrentLink",value:function(){var e=this;return this.options.menu.currentClassName.map((function(t){return e.selector.querySelector("a.".concat(t))}))}},{key:"initCurrent",value:function(){var e=this.getCurrentLink()[0];if(e){var t=e.parentNode;for(e.setAttribute("aria-current","page");!A(t,this.options.menu.wrapperClassName);){if(A(t,this.options.menu.itemClassName)){var n=t.querySelector(".".concat(this.options.menu.linkClassName));t.querySelector(".".concat(this.options.menu.toggleClassName));n!==e&&n.setAttribute("aria-current",!0),t.setAttribute("data-has-current",!0)}t=t.parentNode}}}},{key:"openSubmenu",value:function(e){var t=this,n=e.parentNode,i=n.querySelector("ul"),r=Ue(i.children);if(this.options.submenusHandler.closeAllBeforeOpen){var o=N(n);this.onResponsive(this.options.submenusHandler.breakpoints,(function(){o.length&&o.filter((function(e){return A(e,t.options.menu.openedClassName)})).map((function(e){return e.querySelector(".".concat(t.options.menu.toggleClassName))}
2)).forEach((function(e){return t.closeSubmenu(e)}))}))}this.setElementClass(n,this.options.menu.openedClassName),G(e,i,"opened"),r.forEach((function(e){return se(e,0)})),this.getOpenedItems().length&&T(this.list,this.options.menu.openedClassName)}},{key:"closeSubmenu",value:function(e){var t=this,n=e.parentNode,i=n.querySelector("ul"),r=Ue(i.children);this.removeElementClass(n,this.options.menu.openedClassName),G(e,i,"closed"),r.forEach((function(e){return q(e,-1)})),this.options.closeAllChildren&&r.filter((function(e){return A(e,t.options.menu.openedClassName)})).forEach((function(e){var n=e.querySelector(".".concat(t.options.menu.toggleClassName));return n?t.closeSubmenu(n):null})),this.getOpenedItems().length||M(this.list,this.options.menu.openedClassName)}},{key:"toggleSubmenu",value:function(e){var t=A(e.target,this.options.menu.toggleClassName)?e.target:j(e.target,this.options.menu.toggleClassName);return A(t.parentNode,this.options.menu.openedClassName)?this.closeSubmenu(t):this.openSubmenu(t)}},{key:"onResponsive",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},i=0;if("function"!=typeof t)throw new Error("".concat(t," should be a function"));if(e){if("boolean"==typeof e)return t();if(!Array.isArray(e))throw new Error("".concat(e," should be an Array or Boolean"));e.forEach((function(e){window.responsive===e&&(i+=1)}))}return i?t():n()}},{key:"insertCustomElements",value:function(){var e=this;E({array:[this.options.rebuildMenu]}),this.options.rebuildMenu.forEach((function(t,n){E({array:[t.breakpoints],string:[t.selector],function:[t.callback]});var i=[].slice.call(document.querySelectorAll(t.selector));Object.prototype.hasOwnProperty.call(e.comments,n)||(e.comments[n]=[],i.forEach((function(t){var i=t.classList[0],r=document.createComment(i);ie(r,t),e.comments[n].push(r)}))),i.forEach((function(i,r){if(-1!==t.breakpoints.indexOf(window.responsive))e.wrapper.contains(i)||(T(i,"-inside-menu"),t.callback(i,e.wrapper,e));else{var o=e.comments[n][r],a=i.querySelector(".js-dropdown__toggle");a&&a.hasAttribute("tabindex")&&a.removeAttribute("tabindex"),M(i,"-inside-menu"),null!==o.previousSibling&&o.previousSibling!==i&&o.parentNode.insertBefore(i,o)}}))}))}},{key:"checkIncludedElements",value:function(e){return!!this.options.emitInsideHandlerFor.length&&Ue(document.querySelectorAll(this.options.emitInsideHandlerFor)).filter((function(t){return t.contains(e.target)})).length>0}},{key:"clickOutside",value:function(e){this.selector.contains(e.target)||this.openerButton.contains(e.target)||this.checkIncludedElements(e)||this.closeMenu()}},{key:"openMenu",value:function(){}},{key:"closeMenu",value:function(){}},{key:"toggleMenu",value:function(){return A(this.selector,this.options.menu.openedClassName)?this.closeMenu():this.openMenu()}},{key:"initFocusTrap",value:function(e){J(this.selector,e,!0);var t=this.options.focusTrap.closeOnLastElementOut?H(this.selector):null;(this.options.focusTrap.closeOnLastElementOut?27===e.keyCode||e.target===t:27===e.keyCode)&&this.closeMenu()}},{key:"extend",value:function(e,t){if(t instanceof Object)return ne(e,t)}}],[{key:"getDepth",value:function(e){var t=[],n=-1;t.push(e);for(var i=function(){for(var e=[];t.length>0;){var i=t.shift();i.children.length&&Ue(i.children).forEach((function(t){e.push(t)}))}n+=1,t=e};t.length>0;)i();return n}},{key:"getDepthIndex",value:function(e,t){for(var n=e,i=0;n!==t;){if(n===document.body){i=null;break}i+=1,n=n.parentNode}return i}}]),e}(),it=function(e){ze(n,e);var t=$e(n);function n(e,i){var r;return Qe(this,n),(r=t.call(this,e)).options=i,r.create(),r}return tt(n,[{key:"initAccessibility",value:function(){var e=this,t=[];this.overlay&&t.push(this.overlay),this.closeButton&&t.push(this.closeButton),t.push(this.openerButton),Y(t,this.selector),this.toggles&&this.toggles.forEach((function(t){var n=t.parentNode.querySelector(".".concat(e.options.menu.submenuClassName));Y(t,n)})),q(this.selector,-1)}},{key:"create",value:function(){if(this.setClassNames(),!(this.options.openerButton||this.options.overlay||this.options.closeButton))throw new Error("Please add opener button with class: ".concat(this.options.openerButton.className));if(this.openerButton=this.getOpenerButton(),!this.openerButton)throw new Error("Please add opener button with class: ".concat(this.options.openerButton.className));this.setOverlay(),this.setCloseButton(),this.initAccessibility(),this.initEvents(),this.initCurrent(),this.insertCustomElements()}},{key:"initEvents",value:function(){var e=this;this.toggleMenuHandler=this.toggleMenu.bind(this),this.closeMenuHandler=this.closeMenu.bind(this),this.updateMenuHandler=this.update.bind(this),this.outsideHandler=this.clickOutside.bind(this),this.openerButton.addEventListener("click",this.toggleMenuHandler),[this.closeButton,this.overlay].forEac
2h((function(t){t&&t.addEventListener("click",e.closeMenuHandler)})),this.toggles&&(this.toggleSubmenuHandler=this.toggleSubmenu.bind(this),this.toggles.forEach((function(t){return t.addEventListener("click",e.toggleSubmenuHandler)}))),this.options.focusTrap.init&&(this.focusTrapHandler=this.initFocusTrap.bind(this),this.selector.addEventListener("keydown",this.focusTrapHandler)),window.addEventListener("responsive",this.updateMenuHandler),document.addEventListener("click",this.outsideHandler)}},{key:"removeEvents",value:function(){var e=this;this.openerButton.removeEventListener("click",this.toggleMenuHandler),[this.closeButton,this.overlay].forEach((function(t){t&&t.removeEventListener("click",e.closeMenuHandler)})),this.toggles&&this.toggles.forEach((function(t){return t.removeEventListener("click",e.toggleSubmenuHandler)})),this.options.focusTrap.init&&this.selector.removeEventListener("keydown",this.focusTrapHandler),window.removeEventListener("responsive",this.updateMenuHandler),document.removeEventListener("click",this.outsideHandler)}},{key:"openMenu",value:function(){this.setElementClass(this.selector,this.options.menu.openedClassName),this.setElementClass(this.overlay,this.options.menu.openedClassName),this.setElementClass(document.body,this.options.body.openedClassName),this.closeButton&&V(this.closeButton),P("hidden"),this.overlay&&this.closeButton?G([this.openerButton,this.overlay,this.closeButton],this.selector,"opened"):this.overlay?G([this.openerButton,this.overlay],this.selector,"opened"):this.closeButton?G([this.openerButton,this.closeButton],this.selector,"opened"):G(this.openerButton,this.selector,"opened"),this.setElementClass(this.openerButton,this.options.menu.openedClassName);var e=this.getFirstLevelFocusableElements();if(e){var t=n.getDepthIndex(e[0],this.selector);oe(this.selector,0,t);var i=this.getOpenedItems();i&&i.forEach((function(e){oe(e,0,3)}))}var r=X(this.selector,!0);r&&Z(r)}},{key:"closeMenu",value:function(){var e=this;A(this.selector,this.options.menu.openedClassName)&&this.onResponsive(this.options.openerButton.show,(function(){e.openerButton.focus()})),this.removeElementClass(this.selector,this.options.menu.openedClassName),this.removeElementClass(this.overlay,this.options.menu.openedClassName),this.removeElementClass(document.body,this.options.body.openedClassName),P("visible"),q(this.selector,-1),this.overlay&&this.closeButton?G([this.openerButton,this.overlay,this.closeButton],this.selector,"closed"):this.overlay?G([this.openerButton,this.overlay],this.selector,"closed"):this.closeButton?G([this.openerButton,this.closeButton],this.selector,"closed"):G(this.openerButton,this.selector,"closed"),this.removeElementClass(this.openerButton,this.options.menu.openedClassName)}},{key:"update",value:function(){this.closeMenu(),this.removeEvents(),this.setOverlay(),this.setCloseButton(),this.initAccessibility(),this.insertCustomElements(),this.initEvents()}}]),n}(nt),rt=function(e){ze(n,e);var t=$e(n);function n(e,i){var r;return Qe(this,n),(r=t.call(this,e)).options=i,r.create(),r}return tt(n,[{key:"create",value:function(){this.setClassNames();var e=document.createComment(this.selector.className);if(this.menuPosition=this.selector.parentNode.insertBefore(e,this.selector),!(this.options.openerButton||this.options.overlay||this.options.closeButton))throw new Error("Please add opener button with class: ".concat(this.options.openerButton.className));if(this.openerButton=this.getOpenerButton(),!this.openerButton)throw new Error("Please add opener button with class: ".concat(this.options.openerButton.className));this.setOverlay(),this.setCloseButton(),this.insertCustomElements(),this.initAccessibility(),this.generateToggels(),this.initEvents(),this.initCurrent(),this.updateMenuPosition()}},{key:"initAccessibility",value:function(){var e=this,t=[];this.overlay&&t.push(this.overlay),this.closeButton&&t.push(this.closeButton),t.push(this.openerButton),Y(t,this.selector),this.onResponsive(this.options.initSubmenuToggles,(function(){e.toggles&&e.toggles.filter((function(t){return!A(t,e.options.menu.dropdownCloseClassName)}
2)).forEach((function(t){var n=t.parentNode.querySelector(".".concat(e.options.menu.submenuClassName));Y(t,n)}))}),(function(){e.toggles&&e.toggles.filter((function(t){return!A(t,e.options.menu.dropdownCloseClassName)})).forEach((function(t){var n=t.parentNode.querySelector(".".concat(e.options.menu.submenuClassName));U(t),U(n)}))})),this.getFirstLevelLinks().forEach((function(t){var n=t.parentNode.querySelector(".".concat(e.options.menu.dropdownWrapperClassName)),i=n?n.querySelector(".".concat(e.options.menu.dropdownCloseClassName)):null;n&&i?Y([t,i],n):n&&Y(t,n),e.onResponsive(e.options.breakpoints,(function(){}),(function(){t.removeAttribute("tabindex")})),A(t.parentNode,e.options.menu.itemWithDropdownClassName)&&e.onResponsive(e.options.breakpoints,(function(){t.removeAttribute("role")}),(function(){t.setAttribute("role","button")}))})),this.onResponsive(this.options.breakpoints,(function(){e.selector.setAttribute("aria-hidden",!0),q(e.selector,-1)}),(function(){e.selector.setAttribute("aria-hidden",!1),e.dropdownContainers&&e.dropdownContainers.forEach((function(e){return q(e,-1)}))}))}},{key:"initEvents",value:function(){var e=this;this.toggleMenuHandler=this.toggleMenu.bind(this),this.outsideHandler=this.clickOutside.bind(this),this.toggleMobileMenuHandler=this.toggleMobileMenu.bind(this),this.updateMenuHandler=this.update.bind(this),this.toggleSubmenuHandler=this.toggleSubmenu.bind(this),this.scrollHandler=this.closeMenuOnScroll.bind(this),[this.openerButton,this.closeButton,this.overlay].forEach((function(t){t&&t.addEventListener("click",e.toggleMobileMenuHandler)}));var t=this.getFirstLevelLinks();if(t){t.filter((function(t){return t.parentNode.querySelector(".".concat(e.options.menu.dropdownWrapperClassName))})).forEach((function(t){["click","keydown"].forEach((function(n){t.addEventListener(n,e.toggleMenuHandler)}))}));t.filter((function(t){return t.parentNode.querySelector(".".concat(e.options.menu.toggleClassName))})).map((function(t){return t.parentNode.querySelector(".".concat(e.options.menu.toggleClassName))})).forEach((function(t){return t.addEventListener("click",e.toggleMenuHandler)}))}if(this.toggles){var n=this.toggles.filter((function(t){return A(t.nextElementSibling,e.options.menu.submenuClassName)}));this.onResponsive(this.options.initSubmenuToggles,(function(){n.forEach((function(t){return t.addEventListener("click",e.toggleSubmenuHandler)}))}),(function(){n.forEach((function(t){return t.removeEventListener("click",e.toggleSubmenuHandler)}))}))}this.options.focusTrap.init&&(this.focusTrapHandler=this.initFocusTrap.bind(this),this.onResponsive(this.options.breakpoints,(function(){e.selector.addEventListener("keydown",e.focusTrapHandler)}),(function(){e.selector.removeEventListener("keydown",e.focusTrapHandler)}))),document.addEventListener("click",this.outsideHandler),window.addEventListener("responsive",this.updateMenuHandler),window.addEventListener("scroll",this.scrollHandler)}},{key:"removeEvents",value:function(){var e=this;[this.openerButton,this.closeButton,this.overlay].forEach((function(t){t&&t.removeEventListener("click",e.toggleMobileMenuHandler)}));var t=this.getFirstLevelLinks();if(t){t.filter((function(t){return t.parentNode.querySelector(".".concat(e.options.menu.dropdownWrapperClassName))})).forEach((function(t){["click","keydown"].forEach((function(n){t.removeEventListener(n,e.toggleMenuHandler)}))}));t.filter((function(t){return t.parentNode.querySelector(".".concat(e.options.menu.toggleClassName))})).map((function(t){return t.parentNode.querySelector(".".concat(e.options.menu.toggleClassName))})).forEach((function(t){return t.removeEventListener("click",e.toggleMenuHandler)}))}if(this.toggles)this.toggles.filter((function(t){return A(t.nextElementSibling,e.options.menu.submenuClassName)})).forEach((function(t){return t.removeEventListener("click",e.toggleSubmenuHandler)}));this.options.focusTrap.init&&this.selector.removeEventListener("keydown",this.focusTrapHandler),document.removeEventListener("click",this.outsideHandler),window.removeEventListener("responsive",this.updateMenuHandler)}},{key:"closeMenuOnScroll",value:function(e){}},{key:"openMobileMenu",value:function(){this.setElementClass(this.selector,this.options.menu.openedClassName),this.setElementClass(this.overlay,this.options.menu.openedClassName),this.setElementClass(document.body,this.options.body.openedClassName),this.selector.setAttribute("aria-hidden",!1),this.closeButton&&this.closeButton.setAttribute("tabindex",0),P("hidden"),this.overlay&&this.closeButton?G([this.openerButton,this.overlay,this.closeButton],this.selector,"opened"):this.overlay?G([this.openerButton,this.overlay],this.selector,"opened"):this.closeButton?G([this.openerButton,this.closeButton],this.selector,"opened"):G(this.openerButton,this.selector,"opened"),this.setElementClass(this.openerButton,this.options.menu.openedClassName);var e=this.getFirstLevelFocusableElements();if(e){var t=it.getDepthIndex(e[0],this.selector);oe(this.selector,0,t);var n=this.getOpenedItems();
2n&&n.forEach((function(e){oe(e,0,3)}))}var i=X(this.selector,!0);i&&Z(i)}},{key:"closeMobileMenu",value:function(){var e=this;A(this.selector,this.options.menu.openedClassName)&&this.onResponsive(this.options.openerButton.show,(function(){e.openerButton.focus()})),this.removeElementClass(this.selector,this.options.menu.openedClassName),this.removeElementClass(this.overlay,this.options.menu.openedClassName),this.selector.setAttribute("aria-hidden",!0),P("visible"),q(this.selector,-1),this.overlay&&this.closeButton?G([this.openerButton,this.overlay,this.closeButton],this.selector,"closed"):this.overlay?G([this.openerButton,this.overlay],this.selector,"closed"):this.closeButton?G([this.openerButton,this.closeButton],this.selector,"closed"):G(this.openerButton,this.selector,"closed"),this.removeElementClass(this.openerButton,this.options.menu.openedClassName),this.onResponsive(this.options.breakpoints,(function(){A(document.body,e.options.body.openedClassName)&&e.openerButton.focus()})),this.removeElementClass(document.body,this.options.body.openedClassName)}},{key:"toggleMobileMenu",value:function(){return A(this.selector,this.options.menu.openedClassName)?this.closeMobileMenu():this.openMobileMenu()}},{key:"openMenu",value:function(e,t){var n=this,i=!1;if(this.onResponsive(this.options.breakpoints,(function(){i=!1}),(function(){t.preventDefault(),i=!0})),t.target&&"a"===t.target.tagName.toLowerCase()&&!i)return!1;this.lastClickedLink&&this.onResponsive(this.options.breakpoints,(function(){}),(function(){n.closeMenu(n.lastClickedLink.parentNode,t)})),this.lastClickedLink=e.querySelector("a"),this.lastEvent=t,this.setElementClass(e,this.options.menu.openedClassName),this.onResponsive(this.options.breakpoints,(function(){}),(function(){n.setElementClass(document.body,n.options.body.openedClassName)}));var r=e.querySelector(".".concat(this.options.menu.dropdownWrapperClassName)),o="button"===this.lastClickedLink.nextElementSibling.tagName.toLowerCase()?this.lastClickedLink.nextElementSibling:null,a=r?r.querySelector(".".concat(this.options.menu.dropdownCloseClassName)):null;r&&a&&o?G([this.lastClickedLink,a,o],r,"opened"):r&&a?G([this.lastClickedLink,a],r,"opened"):r&&G(this.lastClickedLink,r,"opened");var s=Ue(r.querySelectorAll(".".concat(this.options.menu.submenuClassName)));this.onResponsive(this.options.breakpoints,(function(){s.length&&s.filter((function(e){return A(e.parentNode,n.options.menu.dropdownContainerClassName)})).forEach((function(e){return oe(e,0,3)}))}),(function(){s.length&&s.forEach((function(e){return e.getAttribute("aria-hidden")?oe(r,0,3):q(r,0)})),setTimeout((function(){Z(X(r,!0))}),100)}));var l=this.getOpenedItems();l&&(l.filter((function(e){var t=j(e,n.options.menu.dropdownWrapperClassName);return t&&"false"===t.getAttribute("aria-hidden")})).forEach((function(e){return oe(e,0,3)})),T(this.list,this.options.menu.openedClassName)),this.onResponsive(this.options.breakpoints,(function(){}),(function(){n.getFirstLevelLinks().forEach((function(e){return e.setAttribute("tabindex",-1)})),n.options.focusTrap.init&&r.addEventListener("keydown",n.focusTrapHandler)}))}},{key:"closeMenu",value:function(e,t){var n=this,i=!1;if(this.selector.contains(t.target)&&this.onResponsive(this.options.breakpoints,(function(){i=!1}),(function(){t.preventDefault(),i=!0})),t.target&&"a"===t.target.tagName.toLowerCase()&&!i)return!1;this.removeElementClass(e,this.options.menu.openedClassName),this.onResponsive(this.options.breakpoints,(function(){}),(function(){n.removeElementClass(document.body,n.options.body.openedClassName)}));var r=e.querySelector(".".concat(this.options.menu.dropdownWrapperClassName)),o=this.lastClickedLink&&this.lastClickedLink.nextElementSibling&&"button"===this.lastClickedLink.nextElementSibling.tagName.toLowerCase()?this.lastClickedLink.nextElementSibling:null,a=r?r.querySelector(".".concat(this.options.menu.dropdownCloseClassName)):null;q(r,-1);var s=Ue(e.querySelectorAll(".".concat(this.options.menu.itemClassName,".").concat(this.options.menu.openedClassName)));s&&s.forEach((function(e){var t=e.querySelector(".".concat(n.options.menu.toggleClassName));t&&t.click()})),this.getOpenedItems().length||M(this.list,this.options.menu.openedClassName),r&&a&&o?G([this.lastClickedLink,a,o],r,"closed"):r&&a?G([this.lastClickedLink,a],r,"closed"):r&&G(this.lastClickedLink,r,"closed"),this.onResponsive(this.options.breakpoints,(function(){}
2),(function(){n.getFirstLevelLinks().forEach((function(e){return e.setAttribute("tabindex",0)})),n.selector.contains(t.target)&&n.lastClickedLink.focus(),n.options.focusTrap.init&&r.removeEventListener("keydown",n.focusTrapHandler)}))}},{key:"toggleMenu",value:function(e){if(!e.target||"button"!==e.target.getAttribute("role")){var t=j(e.target,this.options.menu.itemClassName);return A(t,this.options.menu.openedClassName)?this.closeMenu(t,e):this.openMenu(t,e)}if("click"===e.type||13===e.keyCode||32===e.keyCode){var n=j(e.target,this.options.menu.itemClassName);return A(n,this.options.menu.openedClassName)?this.closeMenu(n,e):this.openMenu(n,e)}}},{key:"clickOutside",value:function(e){!(this.selector.contains(e.target)||this.openerButton.contains(e.target)||this.checkIncludedElements(e))&&this.lastClickedLink&&this.closeMenu(this.lastClickedLink.parentNode,e)}},{key:"initFocusTrap",value:function(e){J(this.selector,e,!0);var t=this.options.focusTrap.closeOnLastElementOut?H(this.selector):null;(this.options.focusTrap.closeOnLastElementOut?27===e.keyCode||e.target===t:27===e.keyCode)&&this.closeMenu(this.lastClickedLink.parentNode,e)}},{key:"updateMenuPosition",value:function(){var e=this;this.onResponsive(this.options.breakpoints,(function(){var t=document.querySelector(".".concat(e.options.replaceTo));t&&t.appendChild(e.selector)}),(function(){ie(e.selector,e.menuPosition)}))}},{key:"generateToggels",value:function(){var e=this;this.onResponsive(this.options.breakpoints,(function(){e.links.forEach((function(t){if(A(t.parentNode,e.options.menu.itemWithDropdownClassName)&&"button"!==t.nextElementSibling.tagName.toLocaleLowerCase()&&t.getAttribute("aria-controls")){var n=t.getAttribute("aria-controls"),i=Ue(e.selector.querySelectorAll("[aria-controls='".concat(n,"']"))),r=e.selector.querySelector("#".concat(n)),o=e.addToggleAfter(t);Y([].concat(Ue(i),[o]),r)}}))}),(function(){e.getMenuToggles().filter((function(t){return!!A(t,e.options.menu.generatedClassName)&&t.parentNode.removeChild(t)}))}))}},{key:"update",value:function(){var e=this;
2this.getOpenedItems().length&&this.getOpenedItems().forEach((function(t){n.getDepthIndex(t,e.selector)<=3&&e.closeMenu(t,e.lastEvent)})),this.closeMobileMenu(),this.removeEvents(),this.updateMenuPosition(),this.generateToggels(),this.setOverlay(),this.setCloseButton(),this.initAccessibility(),this.initCurrent(),this.insertCustomElements(),this.initEvents()}}]),n}(nt),ot=function(e){ze(n,e);var t=$e(n);function n(e,i){var r;return Qe(this,n),(r=t.call(this,e)).options=r.extend(r.options,i),r.checkBeforeInit(),r}return tt(n,[{key:"checkBeforeInit",value:function(){var e=this;"string"==typeof this.selector?Ue(document.querySelectorAll(this.selector)).forEach((function(t){return new n(t,e.options)})):this.init()}},{key:"init",value:function(){switch(this.options.menu.type){case"aside":return new it(this.selector,this.options);default:return new rt(this.selector,this.options)}}}]),n}(nt);function at(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function st(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ut(e,t,n){return t&<(e.prototype,t),n&<(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var ct=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;st(this,e),this.options={sizes:{0:"smartphone",767:"tablet",1279:"desktop"},eventName:"responsive"},t instanceof Object&&(this.options=ne(this.options,t)),this.event=null,this.init()}return ut(e,[{key:"init",value:function(){var e=this.getSize(window.innerWidth);this.IEPolyfill(),this.event=new CustomEvent(this.options.eventName,{bubbles:!0,cancelable:!1,detail:at({},this.options.eventName,e)}),window[this.options.eventName]=e,window.addEventListener("load",this.checkView.bind(this,!0)),window.addEventListener("resize",ee(this.checkView.bind(this),50))}},{key:"getSize",value:function(e){var t=Object.keys(this.options.sizes).reduce((function(t,n){return e>n?n:t}));return this.options.sizes[t]}},{key:"checkView",value:function(){var e=this.getSize(window.innerWidth);e!==window[this.options.eventName]&&(window[this.options.eventName]=e,this.event.detail[this.options.eventName]=e,window.dispatchEvent(this.event))}},{key:"IEPolyfill",value:function(){try{new CustomEvent("IE has CustomEvent, but doesn't support constructor")}catch(e){window.CustomEvent=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{bubbles:!1,cancelable:!1,detail:void 0},n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n},CustomEvent.prototype=Object.create(window.Event.prototype)}}}]),e}(),dt={fr:{paginationMoreElement:"Afficher plus de résultats",goToNextSection:"Aller à la section suivante",loading:"Chargement...",prevStep:"Ãtape précédente",nextStep:"Ãtape suivante",prevPage:"Page précédente",nextPage:"Page suivante",prev:"Précédent",next:"Suivant",stopCarrousel:"Arrêter le diaporama",startCarrousel:"Lancer le diaporama",activeSlide:"Slide active",listReadMore:"En savoir plus",listDownload:"Télécharger",listSeeAlso:"Voir aussi",mandatory:"obligatoire",formErrorInvalidDate:"La date doit être au format jj/mm/aaaa.",formErrorBirthdayInFutur:"La date de naissance est plus récente que la date d'aujourd'hui.",formErrorBirthdayDoNotExist:"La date de naissance n'existe pas.",formErrorEnterMail:"Veuillez entrer votre courriel.",formErrorConfirmMail:"Veuillez confirmer votre courriel.",formErrorInvalidMail:"Votre adresse e-mail est invalide. \nLe format doit être du type [email protected], sans espace ni caractères spéciaux (é, à , ç, !...).",formErrorSelectNewsletter:"Veuillez sélectionner une lettre d'information.",formErrorCheckMail:"La vérification de votre adresse email a échoué.",formErrorDateFormat:"L'un des champs date n'est pas au format jj/mm/aaaa, ou n'est pas valide. \nMerci de corriger.",formErrorMandatoryField:"Ce champ est obligatoire.",formErrorsSummary:"Votre formulaire contient les erreurs suivantes ",pleaseWaitForFile:"Envoi des pièces jointes en cours, veuillez patienter... ",pleaseWait:"Veuillez patienter... ",linkNewWindow:"Nouvelle fenêtre",linkExternalLink:"Lien externe",open:"Ouvrir",close:"Fermer",closeModalWindow:"Fermer la fenêtre modale",moreInformation:"Plus d'information",lessInformation:"Moins d'information",nextImage:"Image suivante",prevImage:"Image précédente",pictures:"images",picture:"image",Picture:"Photo",on:"sur",Gallery:"Galerie",navigationError:"Erreur de navigation",openMenu:"Menu principal",goToSite:"Accéder au site ",browseThisPage:"Dans cette page",noResult:"Aucun résultat",displaying:"Affichage de",result:"résultat",of:"sur",entryError:"Erreur de saisie",fillFieldRequired:"Ce champ doit être rempli !"},en:{paginationMoreElement:"Show more results",goToNextSection:"Go to next section",loading:"Loading...",prevStep:"Previous step",nextStep:"Next step",prevPage:"Previous page",nextPage:"Next page",prev:"Previous",next:"Next",stopCarrousel:"Stop slider",startCarrousel:"Play slider",activeSlide:"Active slide",listReadMore:"Read more",listDownload:"Download",listSeeAlso:"See also",mandatory:"required",formErrorInvalidDate:"The date must use jj/mm/aaaa format.",formErrorBirthdayInFutur:"The birth date is later than today's date.",formErrorBirthdayDoNotExist:"The birth date doesn't exist.",formErrorEnterMail:"Please enter your email address.",formErrorConfirmMail:"Please confirm your email address.",formErrorInvalidMail:"Your email address is not val
2id. \nIt must use [email protected] format, without spaces or special characters (é, à , ç, !...).",formErrorSelectNewsletter:"Please select a newsletter.",formErrorCheckMail:"The email verification has failed.",formErrorDateFormat:"One of date fields doesn't use jj/mm/aaaa format, or is not valid.",formErrorMandatoryField:"This field is required.",formErrorsSummary:"Your form contains the following errors: ",pleaseWaitForFile:"Sending files in progress, please wait... ",pleaseWait:"Please wait... ",linkNewWindow:"New window",linkExternalLink:"External link",open:"Open",close:"Close",closeModalWindow:"Close modal window",moreInformation:"More information",lessInformation:"Less information",nextImage:"Next picture",prevImage:"Previous picture",pictures:"pictures",picture:"picture",Picture:"Picture",on:"on",navigationError:"Browsing error",openMenu:"Main menu",goToSite:"Go to site ",browseThisPage:"Browse this page",noResult:"No result",displaying:"Displaying",result:"result",of:"of",entryError:"Entry error",fillFieldRequired:"This field must be fielded !"}},ht=dt="undefined"!=typeof siteCodeLang?dt[siteCodeLang]:dt.fr;function ft(){var e=Array.prototype.slice.call(document.querySelectorAll("body a")),t=new RegExp("(tel:|mailto:|facebook.com|instagram.com|linkedin.com|youtube.com|twitter.com)");e=(e=e.filter((function(e){return!A(e,["new-window-off","tooltip-svg","no-external"])}))).filter((function(e){return!e.hasAttribute("data-fancybox")}));var n=function(e){var t=e.hasAttribute("rel")&&e.getAttribute("rel");t?t.split(" ").indexOf("noopener")<0&&e.setAttribute("rel","".concat(t," noopener")):e.setAttribute("rel","noopener")},i=function(e){var t,n=e.getAttribute("title"),i=e.getAttribute("aria-label");if(n)t=n,e.removeAttribute("title");else if(i)t=i;else{var r=[];Array.prototype.slice.call(e.childNodes).forEach((function(e){if("IMG"===e.nodeName)r.push(e.alt);else if("PICTURE"===e.nodeName){[].slice.call(e.querySelectorAll("*")).forEach((function(e){"IMG"===e.nodeName&&r.push(e.alt)}))}else"#text"===e.nodeName?r.push(e.textContent.trim().toLowerCase()):"svg"===e.nodeName?r.push(e.getAttribute("aria-label")):r.push(e.textContent.trim().toLowerCase())})),t=r.join(" ")}return t};e.forEach((function(e){e.hostname!==location.hostname&&"_blank"!==e.getAttribute("target")?(e.setAttribute("title","".concat(i(e)," (").concat(ht.linkExternalLink,")")),e.setAttribute("target","_blank"),T(e,"link-external")):e.hostname!==location.hostname&&"_blank"===e.getAttribute("target")?(e.setAttribute("title","".concat(i(e)," (").concat(ht.linkNewWindow," ").concat(ht.linkExternalLink,")")),n(e),T(e,"link-external")):e.hostname===location.hostname&&"_blank"===e.getAttribute("target")&&(e.setAttribute("title","".concat(i(e)," (").concat(ht.linkNewWindow,")")),n(e)),t.test(e.getAttribute("href"))&&T(e,"no-external-icon")}))}function pt(e,t){return gt(e)||vt(e,t)||wt(e,t)||mt()}function mt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function vt(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}}function gt(e){if(Array.isArray(e))return e}function bt(e){return St(e)||xt(e)||wt(e)||yt()}function yt(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wt(e,t){if(e){if("string"==typeof e)return _t(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_t(e,t):void 0}}function xt(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function St(e){if(Array.isArray(e))return _t(e)}function _t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function kt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Et(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ct(e,t,n){return t&&Et(e.prototype,t),n&&Et(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Tt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".js-tooltip",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};kt(this,e),this.position={top:"top",bottom:"bottom",left:"left",right:"right"},this.options={position:this.position.top,delay:60,id:"access-tooltip",offset:0,classList:{top:"is-tooltip-top",bottom:"is-tooltip-bottom",left:"is-tooltip-left",right:"is-tooltip-right",inverted:"is-tooltip-inverted"}},this.created=!1,this.elements=[],this.tooltipElement=null,this.timeOut=null,this.selector=t,this.options=ne(this.options,n||{}),this.$showTooltip=this.showTooltip.bind(this),this.$hideTooltip=this.hideTooltip.bind(this),this.$mouseOverHandler=this.mouseOverHandler.bind(this),this.beforeInit()}return Ct(e,[{key:"beforeInit",value:function(){this.elements=bt(document.querySelectorAll(this.selector)),this.elements=this.elements.map((function(e){return e.hasAttribute("title")&&(e.setAttribute("data-content",e.getAttribute("title")),e.setAttribute("aria-labelledby","access-tooltip"),e.removeAttribute("title")),e})),this.elements.length&&this.init()}},{key:"destroy",value:function(){this.created&&(this.hide(),this.removeEvents(),this.created=!1)}},{key:"update",value:function(e){return this.destroy(),e&&(this.options=ne(this.options,e)),this.elements=bt(document.querySelectorAll(this.selector)),this.init(),this}},{key:"checkPositionClass",value:function(e){var t=this.position,n=t.top,i=t.bottom,r=t.left,o=t.right,a=this.options.classList,
2s=a.top,l=a.bottom,u=a.left,c=a.right,d=this.options.position;return A(e,s)?d=n:A(e,l)?d=i:A(e,u)?d=r:A(e,c)&&(d=o),d}},{key:"initEvents",value:function(){var e=this;this.elements.length&&this.elements.forEach((function(t){t.hasAttribute("data-content")&&(t.addEventListener("focus",e.$showTooltip),t.addEventListener("blur",e.$hideTooltip))})),document.addEventListener("mouseover",this.$mouseOverHandler),["click","keydown"].forEach((function(t){document.addEventListener(t,e.$hideTooltip)})),window.addEventListener("scroll",this.$hideTooltip)}},{key:"removeEvents",value:function(){var e=this;this.elements.length&&this.elements.forEach((function(t){t.hasAttribute("data-content")&&(t.removeEventListener("focus",e.$showTooltip),t.removeEventListener("blur",e.$hideTooltip))})),document.removeEventListener("mouseover",this.$mouseOverHandler),["click","keydown"].forEach((function(t){document.removeEventListener(t,e.$hideTooltip)})),window.removeEventListener("scroll",this.$hideTooltip)}},{key:"setProp",value:function(e,t){this[e]=t}},{key:"getProp",value:function(e){return this[e]}},{key:"createTooltipMarkup",value:function(){var e=document.getElementById("access-tooltip");this.tooltipElement=e||document.createElement("div"),this.tooltipElement.id=this.options.id,this.tooltipElement.style.opacity="0",this.tooltipElement.style.display="none",this.tooltipElement.setAttribute("role","tooltip"),e||this.tooltipElement.appendChild(document.createElement("div")),document.body.appendChild(this.tooltipElement)}},{key:"init",value:function(){var e=this;this.created=!0,this.elements.length&&this.elements.forEach((function(t){t.hasAttribute("aria-describedby")?t.setAttribute("aria-describedby",e.options.id):t.setAttribute("aria-labelledby",e.options.id)})),this.createTooltipMarkup(),this.initEvents()}},{key:"showTooltip",value:function(e){var t=this,n=e.target;this.timeOut=setTimeout((function(){t.tooltipElement.children[0].innerHTML=n.getAttribute("data-content"),t.tooltipElement.style.display="block",t.options.offset=t.options.offset||0,t.positionTooltip(n,t.tooltipElement,t.checkPositionClass(n)),A(n,t.options.classList.inverted)?T(t.tooltipElement,t.options.classList.inverted):M(t.tooltipElement,t.options.classList.inverted),t.tooltipElement.style.opacity="1"}),this.options.delay)}},{key:"hideTooltip",value:function(e){var t=e.type,n=e.key,i=e.target,r=document.activeElement,o=pt(this.tooltipElement.children,1)[0],a=i===this.tooltipElement||i===o,s="keydown"===t&&("Escape"===n||"Enter"===n);r&&A(r,"js-tooltip")&&r.getAttribute("data-content")===o.innerHTML&&!s&&"scroll"!==t||(s||"click"===t&&!a||"mouseover"===t&&!a||"scroll"===t||"blur"===t)&&this.hide()}},{key:"mouseOverHandler",value:function(e){var t=e.target;A(t,"js-tooltip")?this.showTooltip(e):this.hideTooltip(e)}},{key:"hide",value:function(){this.timeOut=clearTimeout(this.timeOut),this.tooltipElement.style.opacity="0",this.tooltipElement.style.display="none"}},{key:"positionTooltip",value:function(e,t,n){this.resetTooltipPosition();var i=document.body,r=i.clientWidth,o=i.clientHeight;switch(n){case this.position.top:this.tooltipTop(e,t,this.getCoords(e));break;case this.position.bottom:this.tooltipBottom(e,t,this.getCoords(e));break;case this.position.left:this.tooltipLeft(e,t,this.getCoords(e));break;case this.position.right:this.tooltipRight(e,t,this.getCoords(e));break;default:this.tooltipTop(e,t,this.getCoords(e))}var a=this.getCoords(e),s=a.top,l=a.bottom,u=this.getCoords(t),c=u.top,d=u.bottom,h=u.left,f=u.right;d>o&&(t.style.top="".concat(s-t.offsetHeight-this.options.offset,"px"),this.addModifiers("top")),c<0&&(t.style.top="".concat(l+this.options.offset,"px"),this.addModifiers("bottom")),f>r&&(t.style.left="".concat(r-t.offsetWidth,"px")),h<0&&(t.style.left="0")}},{key:"tooltipTop",value:function(e,t,n){var i=n.top,r=n.left;this.resetTooltipPosition(),t.style.left="".concat(r+(e.offsetWidth-t.offsetWidth)/2,"px"),t.style.top="".concat(i-t.offsetHeight-this.options.offset,"px"),this.addModifiers("top")}},{key:"tooltipBottom",value:function(e,t,n){var i=n.bottom,r=n.left;this.resetTooltipPosition(),t.style.left="".concat(r+(e.offsetWidth-t.offsetWidth)/2,"px"),t.style.top="".concat(i+this.options.offset,"px"),this.addModifiers("bottom")}},{key:"tooltipLeft",value:function(e,t,n){var i=n.top,r=n.left;this.resetTooltipPosition(),t.style.top="".concat(i+e.offsetHeight/2-t.offsetHeight/2,"px"),t.style.left="".concat(r-t.offsetWidth-this.options.offset,"px"),this.addModifiers("left")}},{key:"tooltipRight",value:function(e,t,n){var i=n.top,r=n.right;this.resetTooltipPosition(),t.style.top="".concat(i+e.offsetHeight/2-t.offsetHeight/2,"px"),t.style.left="".concat(r+this.options.offset,"px"),this.addModifiers("right")}},{key:"resetTooltipPosition",value:function(){this.tooltipElement.style.top="auto",this.tooltipElement.style.bottom="auto",this.tooltipElement.style.left="auto",this.tooltipElement.style.right="auto"}},{key:"removePositionModifiers",value:function(){var e=this.options.classList,t=e.top,n=e.bottom,i=e.left,r=e.right;M(this.tooltipElement,t),M(this.tooltipElement,n),M(this.tooltipElement,i),M(this.tooltipElement,r)}},{key:"addModifiers",value:function(e){var t=this.options.classList,n=t.top,i=t.bottom,r=t.left,o=t.right,a=t.inverted;switch(this.removePositionModifiers(),e){case"top":T(this.tooltipElement,n);break;case"bottom":T(this.tooltipElement,i);break;case"left":T(this.tooltipElement,r);break;case"right":T(this.tooltipElement,o);break;case"inverted":T(this.tooltipElement,a);break;default:T(this.tooltipElement,n)}}},{key:"getCoords",value:function(e){var t=e.getBoundingClientRect();return{top:t.top+pageYOffset,bottom:t.bottom+pageYOffset,left:t.left+pageXOffset,right:t.right+pageXOffset}}}]),e}();n(459);function Mt(){var e=document.querySelectorAll('input[type="date"]:not(.datepicker)'),t=function(e){var t=e.split(/[-/.]/);return t[0]&&t[1]&&t[2]?"".concat(t[2],"/").concat(t[1],"/").concat(t[0]):""},n=function(e){return/^[0-9]{2}[/.-][0-9]{2}[/.-][0-9]{4}$/.test(e)},i=function(e){return/^(\d{4})([/-])(\d{1,2})\2(\d{1,2})$/.test(e)},r=function(e){var t=e.value,n=e.parentNode.querySelector("input[type=hidden]");n&&(n.value=function(e){var t=e.split(/[-/.]/);return t[0]&&t[1]&&t[2]?"".concat(t[2],"-").concat(t[1],"-").concat(t[0]):""}(t))},o=function(e,t){var n=e.parentNode.querySelector(".error"),i=t||" ".concat(ht.entryError);if(!n){var r=e.getAttribute("id");if(r){var o=document.createElement("div");o.setAttribute("id","".concat(r,"-relation")),o.classList.add("error"),o.classList.add("parsley-errors-list"),e.setAttribute("aria-describedby","".concat(r,"-relation")),ie(o,e);var a=document.createElement("p");a.classList.add("parsley-required"),a.innerHTML=" ".concat(i),o.appendChild(a)}else console.error("This field has no id, it is required.")}},a=function(e){var t=e.parentNode.querySelector(".error");t&&(e.parentNode.removeChild(t),e.removeAttribute("aria-describedby"))},s=function(e,s){!function(e){var t=e.hasAttribute("required");return!(!t&&(n(e.value)||""===e.value)||t&&""!==e.value&&n(e.value))}(s)?a(s):(e.preventDefault(),o(s)),function(e){n(e.value)?r(e):i(e.value)&&(e.value=t(e.value),r(e))}(s)},l=function(e){var n=e.form,o=j(e,"ancestor");if(function(e){var t=e.parentNode.querySelector("label"),n=t.getAttribute("for");
2if(!t)return console.error("Error: label does not exist or not found"),!1;t.setAttribute("for","".concat(n,"-origin")),t.insertAdjacentHTML("beforeend",'<span class="helper"> (jj/mm/aaaa)</span>')}(e),function(e){var t=e.name,n=e.id,i=e.classList.contains("dateselector"),r=document.createElement("input");if(!n)return!1;document.getElementById(n).id="".concat(n,"-origin"),r.type="hidden",r.name=t,r.id=n,i&&(e.classList.remove("dateselector"),r.classList.add("dateselector")),ie(r,e),e.removeAttribute("name")}(e),e.value&&function(e){i(e.value)&&(e.value=t(e.value),r(e))}(e),n)n.addEventListener("submit",(function(t){s(t,e)}));else{if(!o)return!1;o.querySelector('button[type="submit"]').addEventListener("click",(function(t){s(t,e)}))}};if(function(){var e=document.createElement("input");return e.setAttribute("type","date"),e.value="foo","date"===e.type&&"foo"!==e.value}())for(var u=function(t){var n=e[t],i=n.form,r=j(n,"ancestor"),s=n.hasAttribute("required");if(i)i.addEventListener("submit",(function(e){s&&""===n.value?(e.preventDefault(),o(n," ".concat(ht.fillFieldRequired))):a(n)}));else if(r){r.querySelector('button[type="submit"]').addEventListener("click",(function(){}))}},c=0;c<e.length;c++)u(c);else for(var d=0;d<e.length;d++){l(e[d])}}function At(){ue()(".time input").timepicker({timeFormat:"H:i"})}function Pt(){var e=document.querySelector(".facet-option-list.facet-type-dateRange");if(e){var t=e.getAttribute("data-facet-name"),n=e.querySelector("#start_date_".concat(t)),i=e.querySelector("#end_date_".concat(t)),r=e.querySelector('button[type="submit"]'),o=e.querySelector("#".concat(t,"_url"));if(n&&i&&r&&o){r.addEventListener("click",(function(){!function(){if(""!==n.value&&""!==i.value){var e=o.value,t=n.value.replace(/-/g,""),r=i.value.replace(/-/g,"");e=(e=e.replace(encodeURI("___FROM___"),"".concat(t,"0000"))).replace(encodeURI("___TO___"),"".concat(r,"2359")),window.location.href=e}}()}))}else console.warn("DateRangeController required startDateInput, endDateInput, facetUrlInput and submit button. Please add them.")}}n(460);function Ot(e,t){return Dt(e)||It(e,t)||Ft(e,t)||Lt()}function Lt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function It(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}}function Dt(e){if(Array.isArray(e))return e}function Nt(e){return Bt(e)||Rt(e)||Ft(e)||jt()}function jt(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ft(e,t){if(e){if("string"==typeof e)return zt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zt(e,t):void 0}}function Rt(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Bt(e){if(Array.isArray(e))return zt(e)}function zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Ht(){var e="undefined"!=typeof tarteaucitron,t=function(){ue.a.fancybox.defaults.i18n.fr={CLOSE:"Fermer",NEXT:"Suivant",PREV:"Précédent",ERROR:"Le contenu demandé ne peut être chargé. <br/> Veuillez réessayer plus tard.",PLAY_START:"Démarrer le diaporama",PLAY_STOP:"Pause",FULL_SCREEN:"Plein écran",THUMBS:"Vignettes",DOWNLOAD:"Télécharger",SHARE:"Partager",ZOOM:"Zoom"},ue.a.fancybox.defaults.lang="fr";var t=Nt(document.querySelectorAll("[data-fancybox]"));ue()(t).fancybox({animationEffect:"zoom",autoFocus:!0,backFocus:!0,trapFocus:!0,clickOutside:"close",idleTime:!1,media:{dailymotion:{matcher:/dailymotion.com\/embed\/video\/(.*)\/?(.*)/,type:"iframe"}},buttons:["thumbs","close"],btnTpl:{arrowLeft:'\n <button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}">\n <div>\n <svg role="img" aria-label="{{PREV}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <title>{{PREV}}</title>\n <path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/>\n </svg>\n </div>\n </button>\n ',arrowRight:'\n <button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}">\n <div>\n <svg role="img" aria-label="{{NEXT}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <title>{{NEXT}}</title>\n <path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/>\n </svg>\n </div>\n </button>\n ',thumbs:'\n <button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}">\n <svg role="img" aria-label="{{THUMBS}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <title>{{THUMBS}}</title>\n <path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/>\n </svg>\n </button>\n ',close:'\n <button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}">\n <svg role="img" aria-label="{{CLOSE}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <title>
2{{CLOSE}}</title>\n <path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/>\n </svg>\n </button>\n '},afterShow:function(e){var t=X(e.$refs.toolbar[0],!1);e.currIndex===e.group.length-1&&t.length&&t[0].focus()},beforeLoad:function(e){var t=e.$refs.container[0];t&&t.addEventListener("keydown",J.bind(null,t))},afterLoad:function(t,n){e&&(tarteaucitron.reloadThePage=!1);var i=n.opts.alt;setTimeout((function(){var e=t.$trigger[0],r=Ot(t.$refs.container,1)[0],o=e.getAttribute("data-dialog-label")||"Fenêtre modale";void 0!==n.$iframe&&e&&e.hasAttribute("data-title")&&n.$iframe[0].setAttribute("title",t.$trigger[0].getAttribute("data-title")),r.setAttribute("aria-modal",!0),r.setAttribute("data-dialog-label",o),n.$image&&n.$image.attr&&(n.$image.attr("alt",""),i?(console.log(n.$image),n.$image.attr("alt",i)):(console.log(n.$image),n.$image.attr("alt","")))}),500)},afterClose:function(){e&&(tarteaucitron.reloadThePage=!0)}}),ue()("[data-fancybox-trap]").fancybox({trapFocus:!0});var n=[].slice.call(document.querySelectorAll(".gallery__list"));n.length&&n.forEach((function(e){var t=[].slice.call(e.querySelectorAll(".gallery__item")).length;e.setAttribute("data-items",t)}))};e?document.addEventListener("fancybox_added",(function(){t()})):t()}function $t(){var e=document.querySelector(".go-to-top");if(null!==e){var t=e.querySelector("a"),n=document.querySelector(".footer");e&&(window.addEventListener("scroll",te((function(){o()}),250)),window.addEventListener("resize",te((function(){o()}),250)),e.addEventListener("click",(function(e){var t,n,i;e.preventDefault(),t=500,n=-window.pageYOffset/(t/10),i=setInterval((function(){if(0!==window.pageYOffset)window.scrollBy(0,n);else{clearInterval(i);var e=document.querySelector(".menu-skip");if(e){var t=R(e);t&&"desktop"===window.responsive&&l.a.element.focus(t)}}}),15)})))}function i(t,n){t?(e.style.position="fixed",e.style.bottom="64px",T(e,"-scroll")):(e.style.position="relative",e.style.bottom="".concat(n/2,"px"),M(e,"-scroll"))}function r(t){t?M(e,"-is-hide"):T(e,"-is-hide")}function o(){var e=document.body.clientHeight,o=window.pageYOffset+window.innerHeight,a=D(n),s=D(t);window.pageYOffset?r(!0):r(!1),i(o<e-(a-s/2),s)}}function Wt(){var e=document.querySelector(".flash-info");if(null!==e){for(var t=e.querySelectorAll(".flash-info__item"),n="",i=0;i<t.length;i++){var r=t[i].querySelector(".flash-info__content");null!==r&&(n+=r.textContent.replace(/\n/g," ").replace(/\s/g,""))}if(!(n.length<1)){var o=document.querySelector(".flash-info__button.-close"),a=Q(n),s=document.querySelector(".flash-info__modal");if(null!==localStorage.getItem("flash")&&Number(localStorage.getItem("flash"))===a||(e.style.display="block"),s){var l=document.getElementById("flash-info-no");s.querySelector(".flash-info__modal-btn").addEventListener("click",(function(){document.querySelector(".fancybox-close-small").click(),e.style.display="none",l&&l.checked&&localStorage.setItem("flash",a)}))}else o.addEventListener("click",(function(){e.style.display="none",localStorage.setItem("flash",a)}))}}}var qt=n(30),Vt=n.n(qt);function Yt(e){return Kt(e)||Xt(e)||Gt(e)||Ut()}function Ut(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Gt(e,t){if(e){if("string"==typeof e)return Zt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zt(e,t):void 0}}function Xt(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Kt(e){if(Array.isArray(e))return Zt(e)}function Zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Jt(){null!==document.querySelector(".alire__container")&&Yt(document.querySelectorAll(".alire__carousel")).forEac
2h((function(e){var t=j(e,"alire");if(1!==Yt(e.querySelectorAll(".alire-item")).length){if(t){var n=t.querySelector(".alire__control.-next"),i=t.querySelector(".alire__control.-prev");if(A(t,"-coverflow-left"))new Vt.a(e,{effect:"coverflow",grabCursor:!0,centeredSlides:!0,slidesPerView:"auto",loop:!0,simulateTouch:!0,coverflowEffect:{rotate:0,stretch:240,depth:335,modifier:1,slideShadows:!1},navigation:{nextEl:n,prevEl:i},breakpoints:{1279:{slidesPerView:1,coverflowEffect:{rotate:0,stretch:0,depth:0}}}});else if(A(t,"-coverflow-right"))new Vt.a(e,{effect:"coverflow",grabCursor:!0,centeredSlides:!0,slidesPerView:"auto",loop:!0,simulateTouch:!0,coverflowEffect:{rotate:20,stretch:85,depth:200,modifier:1,slideShadows:!1},navigation:{nextEl:n,prevEl:i},breakpoints:{767:{slidesPerView:1,coverflowEffect:{rotate:0,stretch:0,depth:0}}}});else new Vt.a(e,{effect:"coverflow",grabCursor:!0,centeredSlides:!0,slidesPerView:"auto",loop:!0,simulateTouch:!0,coverflowEffect:{rotate:27,stretch:70,depth:230,modifier:1,slideShadows:!1},navigation:{nextEl:n,prevEl:i},breakpoints:{767:{slidesPerView:1,coverflowEffect:{rotate:0,stretch:0,depth:0}}}});var r=t.querySelectorAll(".alire__control");if(A(e,"swiper-container-horizontal"))for(var o=0;o<r.length;o++)r[o].style.display="block"}}else T(t,"-one-item")}))}function Qt(){var e=document.querySelector(".site-header");if(null!==e){var t=e.querySelector(".page-image"),n=e.querySelector(".header-bar");null!==t&&(T(e,"-has-image"),T(n,"-absolute"))}}function en(){var e=document.querySelector(".stratis-menu");if(null!==e){var t=document.querySelector(".stratis-menu-trigger"),n=e.querySelector(".stratis-menu__list"),i=[].slice.call(n.querySelectorAll(".stratis-menu__toggle")),r=document.querySelector(".a11y-report"),o=n.querySelector(".stratis-menu__toggle-report"),a=function(e){var t=e.target,n="button"===t.tagName.toLowerCase()?t.parentElement:t.parentElement.parentElement;A(n,"-is-active")?function(e){for(var t=e.target,n="button"===t.tagName.toLowerCase()?t:t.parentElement,i=("button"===t.tagName.toLowerCase()?t.parentElement:t.parentElement.parentElement).querySelector(".stratis-menu__submenu"),r="button"===t.tagName.toLowerCase()?t.parentElement.parentElement.querySelectorAll(".stratis-menu__item"):t.parentElement.parentElement.parentElement.querySelectorAll(".stratis-menu__item"),o=0;o<r.length;o++)M(r[o],"-is-active");G(n,i,"closed")}(e):function(e){for(var t=e.target,n="button"===t.tagName.toLowerCase()?t.parentElement:t.parentElement.parentElement,i="button"===t.tagName.toLowerCase()?t:t.parentElement,r=n.querySelector(".stratis-menu__submenu"),o="button"===t.tagName.toLowerCase()?t.parentElement.parentElement.querySelectorAll(".stratis-menu__item"):t.parentElement.parentElement.parentElement.querySelectorAll(".stratis-menu__item"),a=0;a<o.length;a++)M(o[a],"-is-active");T(n,"-is-active"),G(i,r,"opened")}(e)};t.addEventListener("click",(function(){A(e,"-is-visible")?M(e,"-is-visible"):T(e,"-is-visible");r&&A(r,"-is-visible")&&M(r,"-is-visible")})),i.forEach((function(e){var t=e.parentElement.querySelector(".stratis-menu__submenu");Y(e,t),e.addEventListener("click",(function(e){a(e)}))})),o&&o.addEventListener("click",(function(){if(r)A(r,"-is-visible")?M(r,"-is-visible"):T(r,"-is-visible")})),document.addEventListener("click",(function(t){var i=e.contains(t.target),r=n.querySelector(".stratis-menu__item.-is-active .stratis-menu__toggle");i||null===r||r.click()}))}}function tn(e){return an(e)||on(e)||rn(e)||nn()}function nn(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rn(e,t){if(e){if("string"==typeof e)return sn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sn(e,t):void 0}}function on(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function an(e){if(Array.isArray(e))return sn(e)}function sn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function ln(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function un(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function cn(e,t,n){return t&&un(e.prototype,t),n&&un(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var dn=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".js-direction",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(ln(this,e),this.selector=t,this.options={itemSelector:"a",animationName:"slide",enableTouch:!0,touchThreshold:300},this.touchStart="",n instanceof Object&&(this.options=ne(this.options,n)),this.translateDirection=k({0:"top",1:"right",2:"bottom",3:"left"})("top"),"string"!=typeof this.selector){this.nodes=[].slice.call(this.selector.querySelectorAll(this.options.itemSelector),0),this.initEvents();var i=this.selector.querySelectorAll("svg");
2tn(i).forEach((function(e){e.setAttribute("focusable","false")}))}if("string"==typeof t)for(var r=document.querySelectorAll(t),o=0;o<r.length;o++)new e(r[o],this.options)}return cn(e,[{key:"getDirection",value:function(e,t){var n=t.offsetWidth,i=t.offsetHeight,r=this.getPosition(t),o=e.pageX-r.x-n/2*(n>i?i/n:1),a=e.pageY-r.y-i/2*(i>n?n/i:1);return Math.round(Math.atan2(a,o)/1.57079633+5)%4}},{key:"getPosition",value:function(e){for(var t=0,n=0,i=e;i;)t+=i.offsetLeft+i.clientLeft,n+=i.offsetTop+i.clientTop,i=i.offsetParent;return{x:t,y:n}}},{key:"addClass",value:function(e,t){var n=this,i=e.currentTarget,r=this.getDirection(e,i),o=this.translateDirection(r),a=i.className.split(" ");i.className=a.filter((function(e){return!e.startsWith("-".concat(n.options.animationName))})).join(" "),i.classList.add("-".concat(this.options.animationName,"-").concat(t,"-").concat(o))}},{key:"initEvents",value:function(){var e=this;this.nodes.forEach((function(t){e.addEventListenerMulti(t,["mouseenter","focus"],(function(t){e.addClass(t,"in")})),e.addEventListenerMulti(t,["mouseleave","blur"],(function(t){e.addClass(t,"out")})),e.options.enableTouch&&(t.addEventListener("touchstart",(function(t){e.touchStart=+new Date}),{passive:!0}),t.addEventListener("touchend",(function(n){+new Date-e.touchStart<e.options.touchThreshold&&!t.className.includes("-".concat(e.options.animationName,"-in"))&&(n.preventDefault(),e.resetVisible(n,e.nodes))})))}))}},{key:"addEventListenerMulti",value:function(e,t,n){t.forEach((function(t){return e.addEventListener(t,n)}
2))}},{key:"resetVisible",value:function(e,t){var n=this;t.forEach((function(t){var i=t.className;i.includes("-".concat(n.options.animationName,"-in"))&&t!==e.currentTarget&&(t.className=i.replace("-".concat(n.options.animationName,"-in"),"-".concat(n.options.animationName,"-out")))})),this.addClass(e,"in")}}]),e}(),hn=n(186),fn=n.n(hn);n(183),n(462);function pn(e){return bn(e)||gn(e)||vn(e)||mn()}function mn(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function vn(e,t){if(e){if("string"==typeof e)return yn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yn(e,t):void 0}}function gn(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function bn(e){if(Array.isArray(e))return yn(e)}function yn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function wn(e){var t=e.querySelector("[data-chart-data]"),n={};if(null!==t){var i=pn(t.querySelectorAll(".chart-data__item")),r=[],o=[],a=[];return i.forEach((function(e){var t=getComputedStyle(e.querySelector(".chart-data__colorbox"));o.push(t.backgroundColor),r.push(e.textContent),a.push(Number(e.dataset.value))})),n.labels=r,n.backgroundColors=o,n.values=a,n}}function xn(e,t){var n=document.querySelector('[data-chart-form-id="'.concat(e,'"]')),i=document.querySelector('[data-chart-id="'.concat(e,'"]')),r=null;null!==n&&(i&&(r=j(i,"interests-block__results")),n.addEventListener("submit",(function(e){e.preventDefault();var i=n.dataset.url,o=re(n);fetch("".concat(i,"?").concat(o),{method:"GET"}).then((function(e){if(e.status>=200&&e.status<300)return e;var t=new Error(e.statusText);throw t.response=e,t})).then((function(e){return e.text()})).then((function(e){if(r){var i=r.querySelector(".interests-results__chart-data");if(A(r,"-is-hidden")){M(r,"-is-hidden");var o=j(n,"interests-block__vote");o&&T(o,"-is-hidden")}i.innerHTML=e;var a=wn(r);t.data={labels:a.labels,datasets:[{data:a.values,backgroundColor:a.backgroundColors,borderWidth:0}]},t.update()}}))})))}
2function Sn(e){pn(document.querySelectorAll(e)).forEach((function(e){var t=e.dataset.chartId,n=e.querySelector("canvas");if(n){var i=n.getContext("2d"),r=wn(e),o=new fn.a(i,{type:"doughnut",data:{labels:r.labels,datasets:[{data:r.values,backgroundColor:r.backgroundColors,borderWidth:0}]},options:{responsive:!0,maintainAspectRatio:!1,legend:!1,cutoutPercentage:65,tooltips:{enabled:!1,custom:function(e){var t=document.getElementById("js-chart-tooltip");if(t||((t=document.createElement("div")).id="js-chart-tooltip",document.body.appendChild(t)),0!==e.opacity){if(t.classList.remove("above","below","no-transform"),e.yAlign?t.classList.add(e.yAlign):t.classList.add("no-transform"),e.body){var n=e.body.map((function(e){return e.lines})),i="";n.forEach((function(t,n){var r=e.labelColors[n];i+='<span class="chart-tooltip"><span style="background-color: '.concat(r.backgroundColor,'"></span>').concat(t,"</span>")})),t&&(t.innerHTML=i)}var r=o.canvas.getBoundingClientRect();t.style.opacity="1",t.style.position="absolute",t.style.left="".concat(r.left+window.pageXOffset+e.caretX,"px"),t.style.top="".concat(r.top+window.pageYOffset+e.caretY,"px"),t.style.pointerEvents="none",t.style.zIndex="100",t.style.transition="500ms"}else t.style.opacity="0"}}}});t&&xn(t,o)}}))}function _n(e){return Tn(e)||Cn(e)||En(e)||kn()}function kn(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function En(e,t){if(e){if("string"==typeof e)return Mn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mn(e,t):void 0}}function Cn(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Tn(e){if(Array.isArray(e))return Mn(e)}function Mn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function An(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pn(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function On(e,t,n){return t&&Pn(e.prototype,t),n&&Pn(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ln=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".tabs",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"tabs",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];An(this,e),this.selector=t,this.prefix=i,this.id=null,this.insideDropdown=r,this.options={class:{initialized:"-is-initialized",trigger:"".concat(this.prefix,"__trigger"),panel:"".concat(this.prefix,"__panel"),list:"".concat(this.prefix,"__list"),listItem:"".concat(this.prefix,"__list-item"),typeAccordion:"-type-accordion",typeTab:"-type-tabs",stateActive:"-current",stateHidden:"ghost"},onlyState:null,titleSelector:"h2",initIndex:0,eq:0,breakpoint:768,slideDuration:300,beforeInit:function(){},afterInit:function(){},onInit:function(){},preCreateTrigger:function(e){var t=e.children,n=null;return t.length&&t[0]instanceof HTMLElement&&"BUTTON"===t[0].nodeName?n=t[0]:(n=document.createElement("button")).innerHTML=e.innerHTML,n}},n instanceof Object&&(this.options=ne(this.options,n)),this.checkBeforeInit()}return On(e,[{key:"checkBeforeInit",value:function(){if("string"==typeof this.selector)for(var t=document.querySelectorAll(this.selector),n=0;n<t.length;n++)new e(t[n],this.options);else this.selector&&(j(this.selector,"click-roll")&&!this.insideDropdown||this.init())}},{key:"init",value:function(){this.options.beforeInit(this.selector),this.options.onInit(this.selector),this.id=W(),this.selector.setAttribute("data-tab-id",this.id),this.create(this.isTabs()),T(this.selector,this.options.class.initialized),this.initEvents(),this.options.afterInit(this.selector)}},{key:"getState",value:function(){return this.options.onlyState?this.options.onlyState:window.innerWidth<this.options.breakpoint?"accordion":"tabs"}},{key:"isTabs",value:function(){return"tabs"===this.getState()}},{key:"create",value:function(e){var t,n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.eq;T(this.selector,this.options.class[e?"typeTab":"typeAccordion"]);var r=_n(this.selector.querySelectorAll(this.options.titleSelector));if(r=r.filter((function(e){return e.parentElement.parentElement.getAttribute("data-tab-id")===n.id}
2)),e?t='<ul class="'.concat(this.options.class.list,'" role="tablist">'):O(this.selector,{role:"tablist"}),r.forEach((function(r,o){var a=r.parentNode,s=a.dataset.id||W(),l=s===i||o===parseInt(i,10),u=n.createTrigger(s,r,e);T(r,n.options.class.stateHidden),O(a,{"data-id":s,id:"control-".concat(s),"aria-labelledby":"labled-".concat(s),role:"tabpanel","aria-hidden":!0}),e||a.slideToggler||(a.slideToggler=new Ie(a)),l&&(n.activateTrigger(u,e),n.activatePanel(a,e),O(n.selector,{"data-current":s})),e?t+='<li class="'.concat(n.options.class.listItem,'" role="presentation">').concat(u.outerHTML,"</li>"):a.parentNode.insertBefore(u,a)})),e&&(t+="</ul>",this.selector.children.length)){var o=document.createElement("div");o.innerHTML=t;var a=o.querySelector(".".concat(this.options.class.list));this.selector.insertBefore(a,this.selector.children[0])}}},{key:"createTrigger",value:function(e,t,n){var i=this.options.preCreateTrigger(t);return O(i,{id:"labled-".concat(e),"aria-controls":"control-".concat(e),type:"button",role:"tab","aria-selected":!1}),T(i,this.options.class.trigger),n||O(i,{"aria-expanded":!1}),i}},{key:"activatePanel",value:function(e,t){!t&&e.slideToggler&&e.slideToggler.open(),T(e,this.options.class.stateActive),L(e,["aria-hidden"])}},{key:"deactivatePanel",value:function(e,t){!t&&e.slideToggler&&e.slideToggler.close(),M(e,this.options.class.stateActive),O(e,{"aria-hidden":!0})}},{key:"activateTrigger",value:function(e,t){e.focus(),T(e,this.options.class.stateActive),O(e,{"aria-selected":!0}),t||O(e,{"aria-expanded":!0})}},{key:"deactivateTrigger",value:function(e,t){M(e,this.options.class.stateActive),O(e,{"aria-selected":!1}),t||O(e,{"aria-expanded":!1})}},{key:"switchTab",value:function(e){var t=this.isTabs(),n=this.selector.dataset.current;this.selector.dataset.current=e.id.replace("labled-",""),this.deactivateTrigger(document.getElementById("labled-".concat(n)),t),this.deactivatePanel(document.getElementById("control-".concat(n)),t),this.activateTrigger(e,t),this.activatePanel(document.getElementById(e.getAttribute("aria-controls")),t)}},{key:"destroy",value:function(){var t=this;L(this.selector,["role"]),M(this.selector,this.options.class.typeAccordion),M(this.selector,this.options.class.typeTab);var n=this.selector.querySelector(".".concat(this.options.class.list));n&&this.selector.removeChild(n);var i=Array.prototype.slice.call(this.selector.childNodes);(i=i.filter((function(e){return"#text"!==e.nodeName}))).forEach((function(n){if("BUTTON"===n.nodeName)n.removeEventListener("click",e.onTogglerClick.bind(t)),n.parentNode.removeChild(n);else{L(n,["id","aria-labelledby","role","aria-hidden","style"]),M(n,t.options.class.stateActive);var i=n.querySelector(t.options.titleSelector);i&&M(i,t.options.class.stateHidden)}}))}},{key:"initEvents",value:function(){var e=this;this.initEventsTriggers(),window.addEventListener("responsive",(function(){var t=e.isTabs();t!==A(e.selector,e.options.class.typeTab)&&(e.destroy(),e.create(t,e.selector.dataset.current),e.initEventsTriggers())}))}},{key:"initEventsTriggers",value:function(){var t=this,n=Array.prototype.slice.call(this.selector.querySelectorAll(".".concat(this.options.class.trigger)));n.forEach((function(i){i.addEventListener("click",e.onTogglerClick.bind(t)),i.addEventListener("keydown",(function(i){return e.onTogglerKeyDown.call(t,i,n)}))}))}}],[{key:"onTogglerClick",value:function(e){var t=e.target;t.id.replace("labled-","")!==this.selector.dataset.current&&this.switchTab(t)}},{key:"onTogglerKeyDown",value:function(e,t){var n=document.getElementById("labled-".concat(this.selector.dataset.current)),i=t.indexOf(n),r=t[0],o=t[t.length-1];36===e.keyCode?(n!==r&&this.switchTab(r),e.preventDefault()):35===e.keyCode?(n!==o&&this.switchTab(o),e.preventDefault()):37!==e.keyCode||e.ctrlKey?39!==e.keyCode||e.ctrlKey||(n===o?this.switchTab(r):this.switchTab(t[i+1]),e.preventDefault()):(n===r?this.switchTab(o):this.switchTab(t[i-1]),e.preventDefault())}}]),e}(),In=function(e,t){-1===e.indexOf(t)&&e.push(t)},Dn=function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)},Nn=function(e){return e.parentElement.querySelectorAll('input[type="checkbox"]').length},jn=function(e){return[].slice.call(e.parentElement.lastElementChild.querySelectorAll('input[type="checkbox"]'))},Fn=function(e){var t=j(e,"checkbox-group");return null!==t?t.querySelector('input[type="checkbox"]'):t},Rn=function(e){var t=1;return e.forEach((function(e){t=e.checked?t+1:t})),t},Bn=function e(t,n){var i=Fn(t);if(console.log(i),null!==i){var r=Nn(i),o=Rn(jn(i));console.log(i,o,r),i.checked=o===r,i.checked?In(n,i.value):Dn(n,i.value),e(i.parentElement.parentElement,n)}},zn=function(e,t){e.checked?(In(t,e.value),jn(e).length&&jn(e).forEach((function(e){e.checked=!0,In(t,e.value)}))):(Dn(t,e.value),jn(e).length&&jn(e).forEach((function(e){e.checked=!1,Dn(t,e.value)}))),Bn(e,t)};function Hn(){var e=document.querySelector(".js-get-categories"),t=[].slice.call(document.querySelectorAll(".js-set-categories"));if(null!==e&&null!==t){var n=[];t.forEach((function(t){[].slice.call(t.querySelectorAll('input[type="checkbox"]')).forEac
2h((function(t){t.addEventListener("click",(function(){zn(t,n),console.log(n),e.value=n.join(",")}))}))}))}}function $n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Wn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$n(Object(n),!0).forEach((function(t){qn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$n(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vn(){var e=new Vt.a(".js-swiper",{init:!1,simulateTouch:!1,watchOverflow:!0,loop:!1,autoplay:!1,speed:500,a11y:{enabled:!1},pagination:{type:"bullets",bulletElement:"li",clickable:!0,bulletClass:"swiper-pagination__bullet",bulletActiveClass:"-is-active",renderBullet:function(e,t){return'\n <li class="'.concat(t,'" role="presentation">\n <button class="swiper-pagination__bullet-btn" role="tab" aria-selected="false">\n <span class="ghost">').concat(e+1,"</span>\n </button>\n </li>\n ")}}}),t=function(e,t){for(var n=e.el.parentNode.querySelectorAll(".js-swiper-control"),i=0;i<n.length;i++)t?T(n[i],"-is-hidden"):M(n[i],"-is-hidden")},n=function(e){if(e&&e.el&&e.el.parentNode)for(var t=e.el.parentNode.querySelectorAll(".js-swiper-control"),n=0;n<t.length;n++)A(t[n],"swiper-button-disabled")?t[n].setAttribute("disabled",!0):t[n].removeAttribute("disabled")},i=function(e){var t=e.el.parentNode.querySelector(".swiper-pagination"),n=t.querySelectorAll(".swiper-pagination__bullet .swiper-pagination__bullet-btn"),i=t.querySelector(".swiper-pagination__bullet.-is-active .swiper-pagination__bullet-btn");if(null!==n){for(var r=0;r<n.length;r++)n[r].setAttribute("aria-selected",!1),n[r].setAttribute("tabindex",-1);null!==i&&(i.setAttribute("aria-selected",!0),i.setAttribute("tabindex",0))}},r=function(e){e.addEventListener("keydown",(function(e){var t=e.target.parentNode,n=t.parentNode.firstElementChild,i=t.parentNode.lastElementChild;e.ctrlKey||e.shiftKey||9===e.keyCode||(37===e.keyCode||38===e.keyCode?t===n?(i.click(),setTimeout((function(){i.querySelector("button").focus()}),0)):(t.previousElementSibling.click(),setTimeout((function(){t.previousElementSibling.querySelector("button").focus()}),0)):39===e.keyCode||40===e.keyCode?t===i?(n.click(),setTimeout((function(){n.querySelector("button").focus()}),0)):(t.nextElementSibling.click(),setTimeout((function(){t.nextElementSibling.querySelector("button").focus()}),0)):36===e.keyCode?(n.click(),setTimeout((function(){n.querySelector("button").focus()}),0)):35===e.keyCode&&(i.click(),setTimeout((function(){i.querySelector("button").focus()}),0)),e.preventDefault())}))},o=function(e){var t,n,o=Wn({},e.el.dataset),a={};for(var s in o)if(Object.prototype.hasOwnProperty.call(o,s))if("autoplay"===s&&("false"===o[s]?e.params.autoplay=!1:(e.params.autoplay.enabled=!0,e.params.autoplay.delay=isNaN(Number(o[s]))?0:Number(o[s]))),"loop"===s&&(e.params.loop="false"!==o[s]),"items"===s&&(t=o[s].split(", ")),"slideByOne"===s&&(n=!0===o[s]),"pagination"===s&&function(){var t=void 0;null!==(t="outside"===o[s]?e.el.parentNode.querySelector(".swiper-pagination"):e.el.querySelector(".swiper-pagination"))&&(e.params.pagination.el=t,e.pagination.render(),setTimeout((function(){var n=[].slice.call(t.querySelectorAll(".swiper-pagination__bullet"));i(e),n.forEach((function(e){return r(e)}))}),100))}(),void 0===t)a[4e3]={slidesPerView:1,slidesPerGroup:1};else switch(t.length){case 1:a[4e3]={slidesPerView:t[0],slidesPerGroup:void 0===n?t[0]:1};break;case 2:a[1279]={slidesPerView:t[1],slidesPerGroup:void 0===n?t[1]:1},a[4e3]={slidesPerView:t[0],slidesPerGroup:void 0===n?t[0]:1};break;case 3:a[767]={slidesPerView:t[2],slidesPerGroup:void 0===n?t[2]:1},a[1279]={slidesPerView:t[1],slidesPerGroup:void 0===n?t[1]:1},a[4e3]={slidesPerView:t[0],slidesPerGroup:void 0===n?t[0]:1};break;default:a[4e3]={slidesPerView:1,slidesPerGroup:1}}return a},a=function(e,t){var n=e.el.querySelectorAll(".swiper-slide"),i=e.params.breakpoints,r=window.innerWidth,o=e.params.loop,a=e.el.querySelector('.swiper-slide-active[data-swiper-slide-index="'.concat(t,'"]')),s=!0;for(var l in null===a&&o&&(a=e.el.querySelector('.swiper-slide-active[data-swiper-slide-index="0"]')),i)if(r<=Number(l)&&n.length>i[l].slidesPerView&&s){s=!1;for(var u=0;u<n.length;u++)n[u].setAttribute("aria-hidden",!0),q(n[u],-1);for(var c=i[l].slidesPerView,d=0;d<c;d++)if(o){var h=[].slice.call(n),f=h.indexOf(a);a.setAttribute("aria-hidden",!1),h[f+d].setAttribute("aria-hidden",!1),q(a,0),q(h[f+d],0)}else n[t].setAttribute("aria-hidden",!1),n[t+d].setAttribute("aria-hidden",!1),q(n[t],0),q(n[t+d],0)}},s=function(e,t){var n=e.el.parentNode.querySelector(".swiper-actions"),i=n.querySelector(".js-swiper-play"),r=n.querySelector(".js-swiper-pause");i.setAttribute("aria-hidden",!0),r.setAttribute("aria-hidden",!0),M(r,"-is-active"),M(i,"-is-active"),t?(r.setAttribute("aria-hidden",!1),T(r,"-is-active")):(i.setAttribute("aria-hidden",!1),T(i,"-is-active"))},l=function(e,i){var r=window.innerWidth,o=e.el.querySelectorAll(".swiper-slide").length;for(var a in t(e,!0),A(e.el,"swiper-container-horizontal")||e.init(
2),i)r<=Number(a)&&o>i[a].slidesPerView&&(t(e,!1),n(e))};[].concat(e||[]).filter((function(e){return!!e.el})).forEach((function(e){var t,i,r;e.params.breakpoints=o(e),"true"===(t=e).el.dataset.outsideNavigation?(i=t.el.parentNode.querySelector("button.-next"),r=t.el.parentNode.querySelector("button.-prev")):(i=t.el.querySelector("button.-next"),r=t.el.querySelector("button.-prev")),t.params.navigation.nextEl=i,t.params.navigation.prevEl=r,function(e){for(var t,n=e.el,i=0;i<n.children.length;i++)A(n.children[i],"swiper-wrapper")&&(t=n.children[i]);var r=t.children,o=n.parentNode.querySelectorAll("button.-prev, button.-next");T(n,"swiper-container");for(var a=0;a<r.length;a++)T(r[a],"swiper-slide");for(var s=0;s<o.length;s++)T(o[s],"js-swiper-control")}(e),l(e,o(e)),e.on("init",(function(){a(e,e.realIndex),n(e)})),window.addEventListener("resize",(function(){a(e,e.realIndex),l(e,o(e))}))}));for(var u=document.querySelectorAll(".js-swiper"),c=function(e){var t=u[e].swiper,i=t.el.parentNode.querySelector(".js-swiper-play"),r=t.el.parentNode.querySelector(".js-swiper-pause"),o=t.autoplay.running;t.on("slideChange",(function(){n(t)})),t.on("slideChangeTransitionEnd",(function(){a(t,t.realIndex),r&&!t.autoplay.running&&A(r,"-is-active")&&t.autoplay.start()})),null!==i&&null!==r&&(s(t,o),i.addEventListener("click",(function(){t.autoplay.start(),o=t.autoplay.running,s(t,o)})),r.addEventListener("click",(function(){t.autoplay.stop(),o=t.autoplay.running,s(t,o)})))},d=0;d<u.length;d++)c(d)}function Yn(){var e=new Vt.a(".js-swiper-primary",{init:!1,speed:500,loop:!1,watchOverflow:!0,effect:"fade",simulateTouch:!1,autoplay:{delay:4e3},a11y:{enabled:!1},pagination:{el:".swiper-pagination",type:"bullets",bulletElement:"li",clickable:!0,bulletClass:"swiper-pagination__bullet",bulletActiveClass:"-is-active",renderBullet:function(e,t){return'\n <li class="'.concat(t,'" role="presentation">\n <button class="swiper-pagination__bullet-btn" role="tab" aria-selected="false">\n <span class="ghost">').concat(e+1,"</span>\n </button>\n </li>\n ")}}}),t=function(e,t){for(var n=e.el.parentNode.querySelectorAll(".js-swiper-control"),i=0;i<n.length;i++)t?T(n[i],"-is-hidden"):M(n[i],"-is-hidden")},n=function(e){for(var t=e.el.parentNode.querySelectorAll(".js-swiper-control"),n=0;n<t.length;n++)A(t[n],"swiper-button-disabled")?t[n].setAttribute("disabled",!0):t[n].removeAttribute("disabled")},i=function(e,t){var n=e.el.querySelectorAll(".swiper-slide"),i=e.el.querySelector('.swiper-slide-active[data-swiper-slide-index="'.concat(t,'"]'));null===i&&(i=e.el.querySelector(".swiper-slide-active"));for(var r=0;r<n.length;r++)n[r].setAttribute("aria-hidden",!0),q(n[r],-1);i.setAttribute("aria-hidden",!1),q(i,0)},r=function(e){var t=e.el.querySelector(".swiper-pagination");if(t){for(var n=t.querySelectorAll(".swiper-pagination__bullet .swiper-pagination__bullet-btn"),i=t.querySelector(".swiper-pagination__bullet.-is-active .swiper-pagination__bullet-btn"),r=0;r<n.length;r++)n[r].setAttribute("aria-selected",!1),n[r].setAttribute("tabindex",-1);i.setAttribute("aria-selected",!0),i.setAttribute("tabindex",0)}},o=function(e){e.addEventListener("keydown",(function(e){var t=e.target.parentNode,n=t.parentNode.firstElementChild,i=t.parentNode.lastElementChild;e.ctrlKey||e.shiftKey||9===e.keyCode||(37===e.keyCode||38===e.keyCode?t===n?(i.click(),setTimeout((function(){i.querySelector("button").focus()}),0)):(t.previousElementSibling.click(),setTimeout((function(){t.previousElementSibling.querySelector("button").focus()}),0)):39===e.keyCode||40===e.keyCode?t===i?(n.click(),setTimeout((function(){n.querySelector("button").focus()}),0)):(t.nextElementSibling.click(),setTimeout((function(){t.nextElementSibling.querySelector("button").focus()}),0)):36===e.keyCode?(n.click(),setTimeout((function(){n.querySelector("button").focus()}),0)):35===e.keyCode&&(i.click(),setTimeout((function(){i.querySelector("button").focus()}),0)),e.preventDefault())}))},a=function(e,t){var n=e.el.querySelector(".swiper-actions"),i=n.querySelector(".js-swiper-play"),r=n.querySelector(".js-swiper-pause"),o=e.el.querySelectorAll(".swiper-slide"),a=e.el.querySelector(".hero-item video");o.length>1||null!==a?(i.setAttribute("aria-hidden",!0),r.setAttribute("aria-hidden",!0),M(r,"-is-active"),M(i,"-is-active"),t?(r.setAttribute("aria-hidden",!1),T(r,"-is-active")):(i.setAttribute("aria-hidden",!1),T(i,"-is-active"))):n.style.display="none"},s=function(e,t){var n=t.querySelector(".swiper-pagination"),i=t.querySelectorAll(".js-swiper-control"),r=t.querySelector(".swiper-actions"),o=t.querySelector(".swiper-slide-active img").height,a=o/2;if(window.innerWidth<=e){for(var s=0;s<i.length;s++)i[s].style.top="".concat(a,"px");n.style.bottom="auto",r.style.bottom="auto",n.style.top="".concat(o-17,"px"),r.style.top="".concat(o-26,"px")}else{for(var l=0;l<i.length;l++)i[l].removeAttribute("style");n.removeAttribute("style"),r.removeAttribute("style")}};[].concat(e||[]).filter((function(e){return!!e.el}
2)).forEach((function(e){var a,l,u;"true"===(a=e).el.dataset.outsideNavigation?(l=a.el.parentNode.querySelector("button.-next"),u=a.el.parentNode.querySelector("button.-prev")):(l=a.el.querySelector("button.-next"),u=a.el.querySelector("button.-prev")),a.params.navigation.nextEl=l,a.params.navigation.prevEl=u,function(e){for(var t,n=e.el,i=0;i<n.children.length;i++)A(n.children[i],"swiper-wrapper")&&(t=n.children[i]);var r=t.children,o=n.parentNode.querySelectorAll("button.-prev, button.-next");T(n,"swiper-container");for(var a=0;a<r.length;a++)T(r[a],"swiper-slide");for(var s=0;s<o.length;s++)T(o[s],"js-swiper-control")}(e),e.on("init",(function(){n(e),r(e),i(e,e.realIndex),function(e){for(var t,n,i,r,a,s=e.el.querySelectorAll(".swiper-slide:not(.swiper-slide-duplicate)"),l=e.el.querySelector(".swiper-pagination").querySelectorAll(".swiper-pagination__bullet"),u=0;u<l.length;u++)t=l[u],n=s[u],i=void 0,r=void 0,a=void 0,i=t.querySelector(".swiper-pagination__bullet-btn"),r=W(),null!==(a=n.querySelector(".js-wiper-bullet-text"))&&(i.querySelector(".ghost").innerHTML=a.innerHTML),i.id="label-swiper-content-id-".concat(r),i.setAttribute("aria-controls","swiper-content-id-".concat(r)),n.id=i.getAttribute("aria-controls"),n.setAttribute("aria-labelledby",i.id),o(l[u])}(e),function(e){var t=e.el.dataset;for(var n in t)"controlsPosition"===n&&"hero"===t[n]&&(s(767,e.el),window.addEventListener("resize",(function(){s(767,e.el)})))}(e)})),function(e){var n=e.el.querySelectorAll(".swiper-slide").length;t(e,!0),n>e.params.slidesPerView&&(t(e,!1),e.init())}(e)}));for(var l=document.querySelectorAll(".hero"),u=function(e){var t=l[e].swiper,o=t.el.querySelector(".js-swiper-play"),s=t.el.querySelector(".js-swiper-pause"),u=t.el.querySelector(".hero-item video"),c=!0,d=t.autoplay.running;t.on("slideChange",(function(){r(t),n(t)})),t.on("slideChangeTransitionEnd",(function(){i(t,t.realIndex),s&&!t.autoplay.running&&A(s,"-is-active")&&t.autoplay.start()})),a(t,d),null!==u&&(a(t,c),u.play(),u.addEventListener("ended",(function(){u.play()}))),o.addEventListener("click",(function(){null===u?(t.autoplay.start(),d=t.autoplay.running,a(t,d)):(u.play(),a(t,c=!0))})),s.addEventListener("click",(function(){null===u?(t.autoplay.stop(),d=t.autoplay.running,a(t,d)):(u.pause(),a(t,c=!1))}))},c=0;c<l.length;c++)u(c)}var Un=function(e){return[].slice.call(e.parentElement.querySelectorAll('input[type="checkbox"]:not([id='.concat(e.id,"])")))},Gn=function(e){return[].slice.call(e.querySelectorAll('input[type="checkbox"]:checked')).map((function(e){return e.value})).join(",")},Xn=function(e){var t=[].slice.call(e.querySelectorAll('input[type="checkbox"]:checked + label')),n=e.getAttribute("data-placeholder")||"Toutes les categories",i=e.getAttribute("data-prefix")||"selected",r=e.getAttribute("data-suffix")||"categories",o=e.getAttribute("data-show-count")||!0,a=n;return t.length&&(a=o&&1===t.length?t[0].innerHTML:o&&t.length>1?"".concat(i," ").concat(t.length," ").concat(r):t.map((function(e){return e.innerHTML})).join(", ")),a},Kn=function(e){for(var t=[],n=e.parentElement.parentElement;!A(n,"checkbox");)t.push(n.querySelector('input[type="checkbox"]')),n=n.parentElement;return t},Zn=function(e){var t=Un(e),n=t.length,i=0,r="unchecked";return n>0?(t.forEach((function(e){i=e.checked?i+1:i})),i===n?r="checked":i>0&&i<n&&(r="indeterminate")):e.checked&&(r="checked"),r},Jn=function(e){return Un(e).length>0},Qn=function(e,t){switch(t){case"checked":e.checked=!0,e.indeterminate=!1,e.setAttribute("aria-checked",!0);break;case"indeterminate":e.checked=!1,e.indeterminate=!0,e.setAttribute("aria-checked","mixed");break;default:e.indeterminate=!1,e.checked=!1,e.setAttribute("aria-checked",!1)}},ei=function(e){var t=Kn(e),n=Jn(e)?Un(e):null;e.setAttribute("aria-checked",e.checked),null!==n&&n.forEach((function(t){t.checked=e.checked})),t.length&&t.forEach((function(e){Qn(e,Zn(e))}))},ti=function(e){var t=e.querySelector(".multiselect__toggle"),n=e.getAttribute("data-relations"),i=document.getElementById(n);void 0!==n?null!==i?(i.value=Gn(e),t.innerHTML=Xn(e)):console.error("relation input missed, please add it"):console.error("data-relations attribute missed, please add it")};function ni(e,t){var n=[].slice.call(e),i=n.filter((function(e){return e.checked}));
2ti(t),i.forEach((function(e){return ei(e)})),n.forEach((function(e){e.addEventListener("change",(function(){ei(e),ti(t)}))}))}function ii(){var e=document.querySelectorAll(".multiselect");if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];ni(n.querySelectorAll('input[type="checkbox"]'),n)}}function ri(){if(null!==document.querySelectorAll(".multiselect"))new Re(".multiselect:not(.-group)",{wrapperClass:"multiselect",dropdownClass:"multiselect__dropdown",btnClass:"multiselect__toggle",onInit:ii}),new Re(".multiselect.-group",{wrapperClass:"multiselect",dropdownClass:"multiselect__dropdown",btnClass:"multiselect__toggle",closeOnOutsideClick:!1,focusTrap:!1,onInit:ii})}function oi(e){return ui(e)||li(e)||si(e)||ai()}function ai(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function si(e,t){if(e){if("string"==typeof e)return ci(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ci(e,t):void 0}}function li(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function ui(e){if(Array.isArray(e))return ci(e)}function ci(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var di=function(e){if(e.value.length>0){var t=e.value.split("-"),n=document.getElementById("date-day"),i=document.getElementById("date-month"),r=document.getElementById("date-year");n.value=t[2],i.value=t[1],r.value=t[0]}},hi=function(e){var t=e.parentNode.querySelector("select");if(t){var n=t.querySelector('option[value="'.concat(t.value,'"]'));if(n){var i=n.parentNode;i&&"OPTGROUP"===i.nodeName&&i.hasAttribute("label")&&e.setAttribute("value",i.getAttribute("label"))}}},fi=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=t.querySelector('[name="'.concat(e,'"]'));i&&(!n&&"0"===i.value||""===i.value)&&i.removeAttribute("name")},pi=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];var o=[];"tx_news_pi1[search][subject]"===e&&(o=o.concat(["tx_news_pi1[__referrer][@request]","tx_news_pi1[__referrer][@extension]","tx_news_pi1[__referrer][@vendor]","tx_news_pi1[__referrer][@controller]","tx_news_pi1[__referrer][@action]","tx_news_pi1[__referrer][arguments]","tx_news_pi1[__trustedProperties]"])),"tx_news_pi1[overwriteDemand][datecomplete]"===e&&(o=o.concat(["tx_news_pi1[overwriteDemand][startFromThisDate]"])),"tx_stratismap_location[keyword]"===e&&(o=o.concat(["tx_stratismap_location[__referrer][@extension]","tx_stratismap_location[__referrer][@vendor]","tx_stratismap_location[__referrer][@controller]","tx_stratismap_location[__referrer][@action]","tx_stratismap_location[__referrer][arguments]","tx_stratismap_location[__referrer][@request]","tx_stratismap_location[__trustedProperties]"])),fi.apply(void 0,[e,t].concat(i)),o.forEach((function(e){fi.apply(void 0,[e,t].concat(i))}))},mi=function(e){var t=e.target.form;t&&(t.querySelector('[type="submit"]').removeAttribute("disabled"),t.querySelector(".required").remove(),bi(t,!1))},vi=function(e,t){e.addEventListener(t,mi)},gi=function(e,t){e.removeEventListener(t,mi)},bi=function(e,t){var n=[].concat(oi(e.querySelectorAll("input")),oi(e.querySelectorAll("textarea")),oi(e.querySelectorAll("select"))),i=[].concat(oi(e.querySelectorAll("radio")),oi(e.querySelectorAll("checkbox")));n.forEach((function(e){t?vi(e,"input"):gi(e,"input")})),i.forEach((function(e){t?vi(e,"click"):gi(e,"click")}))};function yi(){var e=[].slice.call(document.querySelectorAll("form"));oi(document.querySelectorAll('button[type="reset"]')).forEach((function(e){e.addEventListener("click",(function(t){var n=F(e,"form");if(n){var i=oi(n.querySelectorAll(".multiselect")),r=n.querySelector('[type="submit"]'),o=oi(n.querySelectorAll('input[type="radio"], input[type="checkbox"]')),a=oi(n.querySelectorAll("p.required")),s=oi(n.querySelectorAll("textarea:enabled, input
2:enabled:not([readonly]), select:enabled"));r&&r.setAttribute("disabled",!1),o.length&&o.forEach((function(e){e.indeterminate&&(e.indeterminate=!1),e.removeAttribute("checked"),e.checked=!1})),a.length&&a.forEach((function(e){e.parentElement.removeChild(e)})),s.length&&s.forEach((function(e){e.value=""})),i.length&&i.forEach((function(e){e.querySelector(".multiselect__toggle").innerHTML=e.getAttribute("data-placeholder")}))}}))})),e.forEach((function(e){e.addEventListener("submit",(function(t){var n=e.querySelector('[type="submit"]'),i=e.querySelector('[type="file"]');n.setAttribute("disabled","true"),i&&""!==i.value?n.insertAdjacentHTML("afterEnd",'<span class="required">'.concat(ht.pleaseWaitForFile,"</span>")):n.insertAdjacentHTML("afterEnd",'<span class="required">'.concat(ht.pleaseWait,"</span>"));var r=document.getElementById("input-date-hidden");null!==r&&di(r),bi(e,!0);var o=document.getElementById("tx_news_year");null!==o&&hi(o);[{name:"tx_news_pi1[overwriteDemand][period]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][related]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][categories]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][day]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][month]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][year]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][keywords]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][datecomplete]",ignoreZero:!1},{name:"tx_news_pi1[search][subject]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][tags]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][relatedLinks]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][related]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][relatedLocations]",ignoreZero:!1},{name:"tx_news_pi1[overwriteDemand][relatedAreas]",ignoreZero:!1},{name:"tx_simplepoll_polllisting[category]",ignoreZero:!0},{name:"tx_simplepoll_polllisting[status]",ignoreZero:!0},{name:"tx_stratismap_location[search][keywords]",ignoreZero:!1},{name:"tx_stratismap_location[search][categories][]",ignoreZero:!1}].forEach((function(t){pi(t.name,e,t.ignoreZero)}))}))}))}function wi(){var e=[].slice.call(document.querySelectorAll("[data-toggle-icon]")),t=[].slice.call(document.querySelectorAll("[data-toggle-text]"));null!==e&&e.forEach((function(e){var t=e.className,n=e.getAttribute("data-toggle-class");n&&A(e,n)&&(e.innerText=e.getAttribute("data-toggle-icon"),e.setAttribute("data-toggle-icon",t)),e.addEventListener("click",(function(){var t=e.className;e.className=e.getAttribute("data-toggle-icon"),e.setAttribute("data-toggle-icon",t)}))})),null!==t&&t.forEach((function(e){var t=e.innerText,n=e.getAttribute("data-toggle-class");n&&A(e,n)&&(e.innerText=e.getAttribute("data-toggle-text"),e.setAttribute("data-toggle-text",t)),e.addEventListener("click",(function(){var t=e.innerText;e.innerText=e.getAttribute("data-toggle-text"),e.setAttribute("data-toggle-text",t)}))}))}function xi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Si(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _i(e,t,n){return t&&Si(e.prototype,t),n&&Si(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var ki=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"[data-geocode]",n=arguments.length>1?arguments[1]:void 0;xi(this,e),this.selector=t,this.input=null,this.geolocationSettings={maximumAge:5e4,timeout:2e4,enableHighAccuracy:!0},this.options={useOSMGeocoder:!0,osmZoom:18,useGoogleGeocoder:!1,googleKey:-1!==window.location.origin.indexOf("stratis.fr")||-1!==window.location.origin.indexOf("localhost")?"AIzaSyC6c3QpD7OJ-cREM-y8rDDzKCSQXbk5PS4":null},n instanceof Object&&(this.options=ne(this.options,n)),this.checkBeforeInit()}return _i(e,[{key:"checkBeforeInit",value:function(){if("string"==typeof this.selector){[].slice.call(document.querySelectorAll(this.selector)).forEach((function(t){new e(t)}))}else{if(!(this.selector instanceof Element))throw new Error("".concat(this.selector," should be a DOM Object or string"));this.init()}}},{key:"init",value:function(){this.input=this.selector.parentNode.querySelector("[data-geocode-field]"),this.geocodeButtonHandler()}},{key:"tryGeolocation",value:function(){navigator.geolocation?navigator.geolocation.getCurrentPosition(this.handleSuccess.bind(this),this.handleError.bind(this),this.geolocationSettings):alert("Votre navigateur ne prend pas en charge la géolocalisation. Veuillez le mettre à jour ou utiliser un navigateur plus récent.")}},{key:"getGeolocationAddress",value:function(e){var t=this;if(this.options.useGoogleGeocoder){if(null===this.options.googleKey)throw new Error("Your google API key is invali
2d");fetch("https://maps.googleapis.com/maps/api/geocode/json?latlng=".concat(e.lat,",").concat(e.lng,"&key=").concat(this.options.googleKey),{method:"GET"}).then((function(e){if(e.status>=200&&e.status<300)return e.text();throw new Error(e.statusText)})).then((function(e){var t=JSON.parse(e);if("OK"!==t.status||!t.results.length)throw new Error(t.error_message);return t.results[0]})).then((function(e){if(null===t.input)throw new Error("Can't find input with [data-geocode-field] parameter, it shoud be in one wrapper with data-geocode button");t.input.value=e.formatted_address}))}if(this.options.useOSMGeocoder){var n="https://nominatim.openstreetmap.org/reverse?"+"format=json&lat=".concat(e.lat,"&lon=").concat(e.lng)+"&zoom=".concat(this.options.osmZoom,"&addressdetails=1");fetch(n,{method:"GET"}).then((function(e){if(e.status>=200&&e.status<300)return e.json();throw new Error(e.statusText||"Invalid query URL")})).then((function(e){if(null===t.input)throw new Error("Can't find input with [data-geocode-field] parameter, it shoud be in one wrapper with data-geocode button");t.input.value=e.display_name}))}}},{key:"handleSuccess",value:function(e){this.getGeolocationAddress({lat:e.coords.latitude,lng:e.coords.longitude})}},{key:"handleError",value:function(e){switch(e.code){case e.TIMEOUT:alert("Votre géolocalisation prend trop de temps. Veuillez recommencer ultérieurement.");break;case e.POSITION_UNAVAILABLE:alert("La géolocalisation n'est pas disponible sur votre navigateur. Rechargez la page et autorisez la géolocalisation lorsqu'elle vous sera demandées.");break;default:console.warn("ERROR(".concat(e.code,"): ").concat(e.message))}}},{key:"geocodeButtonHandler",value:function(){this.selector.addEventListener("click",this.tryGeolocation.bind(this))}}]),e}();function Ei(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ci(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Ti(e,t,n){return t&&Ci(e.prototype,t),n&&Ci(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Mi=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Ei(this,e),this.selector=t,this.config={search:null,searchButton:null,item:null},n instanceof Object&&(this.config=ne(this.config,n)),this.config.search&&this.config.searchButton&&this.config.item?(this.button=document.querySelector(this.config.searchButton),this.items=document.querySelectorAll(this.config.item),this.checkBeforeInit()):console.log("Not all config are filled in this object")}return Ti(e,[{key:"checkBeforeInit",value:function(){if("string"!=typeof this.selector)return null!==this.selector&&this.init();if("string"==typeof this.selector){var t=document.querySelectorAll(this.selector);if(null===t)return;for(var n=0;n<t.length;n++)new e(t[n],this.config)}}},{key:"init",value:function(){var e=this,t=[];this.button.addEventListener("click",(function(n){n.preventDefault();for(var i=0,r=0;r<e.config.search.length;r++){var o=document.querySelector(e.config.search[r]);t[r]=o}for(var a=0;a<e.items.length;a++){var s=Array.from(e.items[a].querySelectorAll(".js-terme"),(function(e){return e.textContent.toUpperCase()}));t[0].value.length>0&&t[1].value.length>0?void 0!==s[0]&&s[0].indexOf(t[0].value.toUpperCase())>=0&&(void 0!==s[1]&&s[1].indexOf(t[1].value.toUpperCase())>=0||void 0!==s[2]&&s[2].indexOf(t[1].value.toUpperCase())>=0||void 0!==s[3]&&s[3].indexOf(t[1].value.toUpperCase())>=0||"0"===t[1].value)?(e.showElement(e.items[a]),i+=1):e.hideElement(e.items[a]):0===t[0].value.length&&t[1].value.length>0?void 0!==s[1]&&s[1].indexOf(t[1].value.toUpperCase())>=0||void 0!==s[2]&&s[2].indexOf(t[1].value.toUpperCase())>=0||void 0!==s[3]&&s[3].indexOf(t[1].value.toUpperCase())>=0||"0"===t[1].value?(e.showElement(e.items[a]),i+=1):e.hideElement(e.items[a]):t[0].value.length>0&&0===t[1].value.length?void 0!==s[0]&&s[0].indexOf(t[0].value.toUpperCase())>=0?(e.showElement(e.items[a]),i+=1):e.hideElement(e.items[a]):0===t[0].value.length&&0===t[1].value.length&&(e.showElement(e.items[a]),i+=1)}e.updateListResults(i)})),this.initlistResults()}},{key:"hideElement",value:function(e){e.classList.add("-hide")}},{key:"showElement",value:function(e){e.classList.remove("-hide")}},{key:"results",value:function(e){var t="";return e>
21&&(t="s"),0===e?"".concat(ht.noResult):"".concat(ht.displaying," ").concat(e," ").concat(ht.result).concat(t," ").concat(ht.of," ").concat(this.items.length)}},{key:"initlistResults",value:function(){var e=this.selector.querySelector(".js-number-articles"),t=this.items.length;if(!e){var n=this.selector,i=n.parentNode,r=document.createElement("p");T(r,["js-number-articles","number-articles"]),r.setAttribute("aria-live","polite"),i.insertBefore(r,n),document.querySelector(".js-number-articles").innerHTML=this.results(t)}}},{key:"updateListResults",value:function(e){document.querySelector(".js-number-articles").innerHTML=this.results(e),this.noResults()}},{key:"noResults",value:function(){for(var e=this.selector.querySelectorAll(".contact .title"),t=0;t<e.length;t++)for(var n=e[t],i=0;i<n.nextElementSibling.children.length;i++){if(!n.nextElementSibling.children[i].classList.contains("-hide")){n.classList.remove("-hide");break}n.classList.add("-hide")}}}]),e}();n(35),n(463),n(464),n(465),n(466);function Ai(e){return Ii(e)||Li(e)||Oi(e)||Pi()}function Pi(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Oi(e,t){if(e){if("string"==typeof e)return Di(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Di(e,t):void 0}}function Li(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Ii(e){if(Array.isArray(e))return Di(e)}function Di(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Ni(){var e=Ai(document.querySelectorAll(".shortcuts-form"));e.length&&e.forEach((function(e){if(!A(e,"-menu")){var t=e.querySelector(".has-placeholder"),n=e.querySelector(".shortcuts-form__form");if(n.addEventListener("click",(function(){t.focus()})),t&&n){var i=function(e){""!==t.value||"blur"!==e.type?T(n,"-is-focused"):M(n,"-is-focused")};""!==t.value&&T(n,"-is-focused"),t.addEventListener("input",i),t.addEventListener("focus",i),t.addEventListener("blur",i)}}}))}function ji(e){return zi(e)||Bi(e)||Ri(e)||Fi()}function Fi(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ri(e,t){if(e){if("string"==typeof e)return Hi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hi(e,t):void 0}}function Bi(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function zi(e){if(Array.isArray(e))return Hi(e)}function Hi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function $i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wi(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function qi(e,t,n){return t&&Wi(e.prototype,t),n&&Wi(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Vi=function(){function e(){$i(this,e),this.carousels=new Vt.a(".js-swiper-break",{init:!1,simulateTouch:!1,loop:!1,slidesPerView:"auto",autoplay:!1,spaceBetween:20,speed:500,a11y:{enabled:!1},pagination:{type:"bullets",bulletElement:"li",clickable:!0,bulletClass:"swiper-pagination__bullet",bulletActiveClass:"-is-active",renderBullet:function(e,t){return'\n <li class="'.concat(t,'" role="presentation">\n <button class="swiper-pagination__bullet-btn" role="tab" aria-selected="false">\n <span class="ghost">').concat(e+1,"</span>\n </button>\n </li>\n ")}}}),this.init()}return qi(e,[{key:"changeOpacity",value:function(e,t){var n=e.el.offsetWidth,i=ji(e.el.querySelectorAll(".swiper-slide")),r=Math.floor(n/(i[0].offsetWidth+e.params.spaceBetween)),o=0,a=0;
2setTimeout((function(){i.forEach((function(e,n){A(e,"swiper-slide-active")&&(a="end"===t?n+1:n)})),i.forEach((function(e,t){t>=a&&o<r?(T(e,"js-visible"),e.querySelector("a").setAttribute("tabindex",0),o+=1):(M(e,"js-visible"),e.querySelector("a").setAttribute("tabindex",-1))}))}),300)}},{key:"setCarouselWraps",value:function(e){for(var t,n=e.el,i=0;i<n.children.length;i++)A(n.children[i],"swiper-wrapper")&&(t=n.children[i]);var r=t.children,o=n.parentNode.querySelectorAll("button.-prev, button.-next");T(n,"swiper-container");for(var a=0;a<r.length;a++)T(r[a],"swiper-slide");for(var s=0;s<o.length;s++)T(o[s],"js-swiper-control")}},{key:"setControlsDisplay",value:function(e,t){for(var n=e.el.parentNode.querySelectorAll(".js-swiper-control"),i=0;i<n.length;i++)t?T(n[i],"-is-hidden"):M(n[i],"-is-hidden")}},{key:"setControlsState",value:function(e,t){var n=e.navigation.prevEl,i=e.navigation.nextEl,r=e&&e.$wrapperEl[0]&&e.$wrapperEl[0].parentElement&&e.$wrapperEl[0].parentElement.parentElement;n&&i&&("begin"===t&&(n.setAttribute("disabled",!0),i.removeAttribute("disabled"),T(r,"-decor-next"),M(r,"-decor-prev")),"end"===t&&(i.setAttribute("disabled",!0),n.removeAttribute("disabled"),T(r,"-decor-prev"),M(r,"-decor-next")),"edge"===t&&(i.removeAttribute("disabled"),n.removeAttribute("disabled"),T(r,"-decor-next"),T(r,"-decor-prev"))),r&&("begin"===t&&(T(r,"-decor-next"),M(r,"-decor-prev")),"end"===t&&(T(r,"-decor-prev"),M(r,"-decor-next")),"edge"===t&&(T(r,"-decor-next"),T(r,"-decor-prev")))}},{key:"setNavigation",value:function(e){var t,n;"true"===e.el.dataset.outsideNavigation?(t=e.el.parentNode.querySelector("button.-next"),n=e.el.parentNode.querySelector("button.-prev")):(t=e.el.querySelector("button.-next"),n=e.el.querySelector("button.-prev")),e.params.navigation.nextEl=t,e.params.navigation.prevEl=n}},{key:"setBulletsAccessibility",value:function(e){var t=e.el.parentNode.querySelector(".swiper-pagination"),n=t.querySelectorAll(".swiper-pagination__bullet .swiper-pagination__bullet-btn"),i=t.querySelector(".swiper-pagination__bullet.-is-active .swiper-pagination__bullet-btn");if(null!==n){for(var r=0;r<n.length;r++)n[r].setAttribute("aria-selected",!1),n[r].setAttribute("tabindex",-1);null!==i&&(i.setAttribute("aria-selected",!0),i.setAttribute("tabindex",0))}}},{key:"setBulletEvent",value:function(e){e.addEventListener("keydown",(function(e){var t=e.target.parentNode,n=t.parentNode.firstElementChild,i=t.parentNode.lastElementChild;e.ctrlKey||e.shiftKey||9===e.keyCode||(37===e.keyCode||38===e.keyCode?t===n?(i.click(),setTimeout((function(){i.querySelector("button").focus()}),0)):(t.previousElementSibling.click(),setTimeout((function(){t.previousElementSibling.querySelector("button").focus()}),0)):39===e.keyCode||40===e.keyCode?t===i?(n.click(),setTimeout((function(){n.querySelector("button").focus()}),0)):(t.nextElementSibling.click(),setTimeout((function(){t.nextElementSibling.querySelector("button").focus()}),0)):36===e.keyCode?(n.click(),setTimeout((function(){n.querySelector("button").focus()}),0)):35===e.keyCode&&(i.click(),setTimeout((function(){i.querySelector("button").focus()}),0)),e.preventDefault())}))}},{key:"setBreakpoints",value:function(e){var t,n,i=this,r=e.el.dataset,o={};for(var a in r)if("autoplay"===a&&("false"===r[a]?e.params.autoplay=!1:(e.params.autoplay.enabled=!0,e.params.autoplay.delay=isNaN(Number(r[a]))?0:Number(r[a]))),"perView"===a&&(e.params.slidesPerView="auto"),"loop"===a&&(e.params.loop="false"!==r[a]),"items"===a&&(t=r[a].split(", ")),"slideByOne"===a&&(n=!0===r[a]),"pagination"===a&&function(){var t=void 0;null!==(t="outside"===r[a]?e.el.parentNode.querySelector(".swiper-pagination"):e.el.querySelector(".swiper-pagination"))&&(e.params.pagination.el=t,e.pagination.render(),setTimeout((function(){var n=[].slice.call(t.querySelectorAll(".swiper-pagination__bullet"));i.setBulletsAccessibility(e),n.forEach((function(e){return i.setBulletEvent(e)}))}),100))}(),void 0===t)o[1980]={slidesPerView:"auto",slidesPerGroup:1};else switch(t.length){case 1:o[1980]={slidesPerView:t[0],slidesPerGroup:void 0===n?t[0]:1};break;case 2:o[1279]={slidesPerView:t[1],slidesPerGroup:void 0===n?t[1]:1},o[1980]={slidesPerView:t[0],slidesPerGroup:void 0===n?t[0]:1};break;case 3:o[767]={slidesPerView:t[2],slidesPerGroup:void 0===n?t[2]:1},o[1279]={slidesPerView:t[1],slidesPerGroup:void 0===n?t[1]:1},o[1980]={slidesPerView:t[0],slidesPerGroup:void 0===n?t[0]:1};break;default:o[1980]={slidesPerView:1,slidesPerGroup:1}}return o}},{key:"setSlidesAccessibility",value:function(e,t){var n=e.el.querySelectorAll(".swiper-slide"),i=e.params.breakpoints,r=window.innerWidth,o=e.params.loop,a=e.el.querySelector('.swiper-slide-active[data-swiper-slide-index="'.concat(t,'"]')),s=!0;for(var l in null===a&&o&&(a=e.el.querySelector('.swiper-slide-active[data-swiper-slide-index="0"]')),i)if(r<=Number(l)&&n.length>i[l].slidesPerView&&s){s=!1;for(var u=0;u<n.length;u++)n[u].setAttribute("aria-hidden",!0),q(n[u],-1);for(var c=i[l].slidesPerView,d=0;d<c;d++)if(o){var h=[].slice.call(n),f=h.indexOf(a);a.setAttribute("aria-hidden",!1),h[f+d].setAttribute("aria-hidden",!1),q(a,0),q(h[f+d],0)}else n[t].setAttribute("aria-hidden",!1),n[t+d].setAttribute("aria-hidden",!1),q(n[t],0),q(n[t+d],0)}}},{key:"manageAutoplayState",value:function(e,t){var n=e.el.parentNode.querySelector(".swiper-actions"),i=n.querySelector(".js-swiper-play"),r=n.querySelector(".js-swiper-pause");i.setAttribute("aria-hidden",!0),r.setAttribute("aria-hidden",!0),M(r,"-is-active"),M(i,"-is-active"),t?(r.setAttribute("aria-hidden",!1),T(r,"-is-active")):(i.setAttribute("aria-hidden",!1),T(i,"-is-active"))}},{key:"checkCarouselBeforeInit",value:function(e,t){if(window.innerWidth){for(var n in this.setControlsDisplay(e,!0),this.setSlidesAccessibility(e,e.realIndex),this.setCarouselWraps(e),e.init(
2),e.destroyed=!1,t)this.setControlsDisplay(e,!1),this.setControlsState(e,e.isBeginning?"begin":"edge");var i=ji(e.el.querySelectorAll(".swiper-slide")),r=0,o=0;i.forEach((function(e){o=e.parentNode.offsetWidth,r+=e.offsetWidth+10})),r<o&&this.destroy(e)}else this.destroy(e)}},{key:"init",value:function(){var e=this;[].concat(this.carousels||[]).filter((function(e){return!!e.el})).forEach((function(t){t.params.breakpoints=e.setBreakpoints(t),e.setNavigation(t),t.on("init",(function(){e.setSlidesAccessibility(t,t.realIndex),e.setControlsState(t),e.changeOpacity(t)})),t.on("slideChange",(function(){e.changeOpacity(t)})),t.on("reachBeginning",(function(){e.setControlsState(t,"begin")})),t.on("reachEnd",(function(){e.setControlsState(t,"end"),e.changeOpacity(t,"end")})),t.on("fromEdge",(function(){e.changeOpacity(t),e.setControlsState(t,"edge")})),e.checkCarouselBeforeInit(t,e.setBreakpoints(t)),window.addEventListener("resize",(function(){e.checkCarouselBeforeInit(t,e.setBreakpoints(t)),e.changeOpacity(t)}))}))}},{key:"destroy",value:function(e){if(e.initialized&&!e.destroyed){var t=e.$el[0].querySelectorAll(".swiper-slide");e.destroy(!1,!0),[].forEach.call(t,(function(e){M(e,"swiper-slide")}))}}}]),e}();function Yi(){var e=document.querySelector(".location");if(e){var t=e.querySelector(".location__map"),n=Array.prototype.slice.call(e.querySelectorAll(".location__map-region")),i=Array.prototype.slice.call(e.querySelectorAll(".location__list-link")),r=e.querySelector(".tooltip-map"),o=function(e){var n,i=(n="focus"===e.type?function(e,t){var n=e.getBoundingClientRect(),i=t.target.getBoundingClientRect();return{top:i.top-n.top+(i.bottom-i.top)/2,left:i.left-n.left+(i.right-i.left)/3}}(t,e):function(e,t){var n=e.getBoundingClientRect();return{top:t.pageY-(n.top+(window.scrollY||window.pageYOffset)),left:t.pageX-(n.left+(window.scrollX||window.pageXOffset))}}(t,e)).left,o=n.top;r.style.top="".concat(Math.floor(o)+40,"px"),r.style.left="".concat(Math.floor(i),"px")},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t||e.target,i=n.querySelector("path");i&&(r.innerHTML=i.getAttribute("aria-label"),o(e))},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;return e.forEach((function(e){return e.removeAttribute("data-active")}))};n.forEach((function(t){t.addEventListener("mousemove",ee(o,10)),t.addEventListener("mouseenter",(function(e){e.target.getAttribute("data-area-id");r.style.display="block",a(e)})),t.addEventListener("mouseleave",(function(){r.style.display="none",s(i)})),t.addEventListener("focus",(function(t){T(e,"focus"),r.style.display="block",a(t)})),t.addEventListener("blur",(function(){M(e,"focus"),r.style.display="none"}))})),i.forEach((function(t){["mouseenter","focus"].forEach((function(n){t.addEventListener(n,(function(t){var n=t.target.getAttribute("data-area-id");e.querySelector('.location__map-region[data-area-id="'.concat(n,'"]')).setAttribute("data-active",!0)}))})),["mouseleave","blur"].forEach((function(e){t.addEventListener(e,(function(e){r.style.display="none",s()}))}))}))}}function Ui(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gi(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Xi(e,t,n){return t&&Gi(e.prototype,t),n&&Gi(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ki=function(){function e(){Ui(this,e),window.db||(window.db={})}return Xi(e,null,[{key:"save",value:function(e,t){t.setProp("dbCollection",e),window.db[e]?window.db[e].push(t):window.db[e]=[t]}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return window.db[t].find((function(t){return t._id===e}));for(var n=Object.keys(window.db),i=0;i<n.length;i++)return window.db[n[i]].find((function(t){return t._id===e}))}},{key:"delete",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=e.get(t,n);if(i){var r=i.getProp("dbCollection");window.db[r]=window.db[r].filter((function(e){return e._id!==i._id}))}}},{key:"clear",value:function(){window.db={}}}]),e}(),Zi=(new Ki,Ki);function Ji(e){return nr(e)||tr(e)||er(e)||Qi()}function Qi(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function er(e,t){if(e){if("string"==typeof e)return ir(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ir(e,t):void 0}}function tr(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function nr(e){if(Array.isArray(e))return ir(e)}function ir(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function rr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ar(e,t,n){return t&&or(e.prototype,t),n&&or(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var sr=function(){function e(){rr(this,e)}return ar(e,null,[{key:"create",value:function(e,t,n){if("string"==typeof e){var i=Ji(document.querySelectorAll(e));if(!i.length)return;return i.map((function(e){return new n(e,t)}))}}}]),e}();function lr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ur(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function cr(e,t,n){return t&&ur(e.prototype,t),n&&ur(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var dr=function(){function e(t){lr(this,e),this.element=t,this._id=W(),this._created=!1,this.options={},this.element.setAttribute("data-db-id",this._id),Zi.save(this.constructor.name,this)}return cr(e,[{key:"setOptions",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.options=ne.apply(void 0,[this.options].concat(t))}},{key:"setProp",value:function(e,t){this[e]=t}},{key:"getProp",value:function(e){return this[e]}},{key:"delete",value:function(){Zi.delete(this._id,this.constructor.name)}}]),e}();
2function hr(e){return(hr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pr(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function mr(e,t,n){return t&&pr(e.prototype,t),n&&pr(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function vr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gr(e,t)}function gr(e,t){return(gr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function br(e){var t=xr();return function(){var n,i=Sr(e);if(t){var r=Sr(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return yr(this,n)}}function yr(e,t){if(t&&("object"===hr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return wr(e)}function wr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xr(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Sr(e){return(Sr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _r=function(e){vr(n,e);var t=br(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".js-fixed-element",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return fr(this,n),(e=t.call(this,i)).options={addPlaceholderElement:!0,mode:"down",offset:0,stickDelay:300,classList:{onPlaceholderRender:"js-fixed-el-abs",onScroll:"js-fixed-el",onScrollUp:"js-fixed-el-up",onScrollUpHide:"js-fixed-el-up-hide",onScrollDown:"js-fixed-el-down"},onInit:function(e){},onScroll:function(e){},onStick:function(e){},onUnstick:function(e){},onResize:function(e){}},e._placeholder=null,e.lastScrollPosition=0,e.height=e.element.offsetHeight,e.fixPoint=window.pageYOffset+e.element.getBoundingClientRect().top,e._onScrollHandler=e._onScroll.bind(wr(e)),e._onResizeHandler=e._onResize.bind(wr(e)),r instanceof Object&&e.setOptions(r),e.init(),e}return mr(n,[{key:"_onScroll",value:function(){var e=this,t=window.pageYOffset,n=this.options,i=n.mode,r=n.classList,o=n.onScroll,a=n.onStick,s=n.onUnstick;if(t>=this.fixPoint)switch(M(this.element,r.onPlaceholderRender),i){case"down":T(this.element,[r.onScroll,r.onScrollDown]),a(this);break;case"offset":case"down-bottom":T(this.element,r.onScroll),setTimeout((function(){A(e.element,r.onScroll)&&T(e.element,r.onScrollDown),a(e)}),this.options.stickDelay);break;case"up":T(this.element,r.onScroll),t<this.lastScrollPosition?(M(this.element,r.onScrollUpHide),T(this.element,[r.onScroll,r.onScrollUp]),a(this)):(M(this.element,r.onScrollUpHide),T(this.element,r.onScrollUp));break;default:T(this.element,r.onScroll)}else M(this.element,[r.onScroll,r.onScrollDown,r.onScrollUp]),T(this.element,r.onPlaceholderRender),s(this);o(this),this.lastScrollPosition=t}},{key:"_onResize",value:function(){this.height=this.element.offsetHeight,this._placeholder&&(this._placeholder.style.height=this.height),this.options.onResize(this)}},{key:"_addHandlers",value:function(){window.addEventListener("scroll",this._onScrollHandler),window.addEventListener("resize",this._onResizeHandler)}},{key:"_removeHandlers",value:function(){window.removeEventListener("scroll",this._onScrollHandler),window.removeEventListener("resize",this._onResizeHandler)}},{key:"_addPlaceholderElement",value:function(){var e=document.createElement("div");e.style.height="".concat(this.height,"px"),T(e,"header-bar__placeholder");var t=document.querySelector(".header-tools");t?t.parentElement.insertBefore(e,t):ie(e,this.element),this._placeholder=e,T(this.element,this.options.classList.onPlaceholderRender)}},{key:"init",value:function(){"offset"===this.options.mode?this.fixPoint=this.options.offset:"down-bottom"!==this.options.mode&&"up"!==this.options.mode||(this.fixPoint+=this.height+this.options.offset),this.options.addPlaceholderElement&&"absolute"!==this.getElementPosition()&&"fixed"!==this.getElementPosition()&&this._addPlaceholderElement(),this._addHandlers(),this.options.onInit(this)}},{key:"getElementPosition",value:function(){return getComputedStyle(this.element).position}},{key:"destroy",value:function(){this._removeHandlers(),this.placeholder&&this.placeholder.parentElement.removeChild(this.placeholder)}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"create",value:function(e,t){return sr.create(e,t,n)}}]),n}(dr);function kr(e,t){return Tr(e)||Cr(e,t)||Pr(e,t)||Er()}
2function Er(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Cr(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(i=n.next()).done)&&(o.push(i.value),!t||o.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}}function Tr(e){if(Array.isArray(e))return e}function Mr(e){return Lr(e)||Or(e)||Pr(e)||Ar()}function Ar(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Pr(e,t){if(e){if("string"==typeof e)return Ir(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ir(e,t):void 0}}function Or(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Lr(e){if(Array.isArray(e))return Ir(e)}function Ir(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}new ct;a.a.polyfill(),document.addEventListener("DOMContentLoaded",(function(){Yn(),Vn(),en(),r()("img"),$t(),Wt(),he(),Mt(),Pt(),At(),Qt(),Ht(),Sn(".chart"),Yi(),ae();_r.create(".header:not(.-map) .header-bar",{mode:"up",onScroll:function(){Object.values(window.dropdownList).forEach((function(e){if(e.selector){var t=document.querySelector(".header-bar");t&&t.contains(e.selector)&&A(e.selector,"-is-open")&&e.close()}}))}});Hn(),ri(),yi(),wi(),Jt();new ki,new Mi(".contact-elected",{search:["#keyword1","#select1"],searchButton:".filters__buttons .filters__button.-submit",item:".contact__item"});$(document).on("afterShow.fb",(function(e,t,n){var i=t.current.$content[0],r=i&&A(i,"search-popup"),o=X(i,!1),a=function(e){"tab"===e.key.toLowerCase()&&o.length&&Object.is(document.activeElement,o[o.length-1])&&o[0].focus(),"escape"!==e.key.toLowerCase()&&"esc"!==e.key.toLowerCase()||$.fancybox.close()};$.fancybox.defaults.afterClose=function(){document.removeEventListener("keydown",a)},r&&document.addEventListener("keydown",a)})),window.addEventListener("openPopup",(function(){new Re(".click-roll",{wrapperClass:"click-roll",dropdownClass:"click-roll__block",btnClass:"click-roll__toggle",closeOnOutsideClick:!1,openTypeSlide:!0,isWrapContent:!0})})),document.createElement("picture");new Re;var e=document.querySelector(".mnv-menu");if(e)new ot(e,{menu:{type:"default",closeAllChildren:!0},submenusHandler:{closeAllBeforeOpen:!0,breakpoints:["desktop"]}});ft();new dn(".js-direction");if(document.querySelector("#filter-dropdown-toggle"))new Re(".filters__container",{wrapperClass:"filters__container",dropdownClass:"filters__dropdown",outsideToggle:!0,outsideToggleId:"filter-dropdown-toggle",closeOnOutsideClick:!1,focusTrap:!1,opened:["desktop","tablet"],disabledClose:["desktop","tablet"]}
2);new Re(".menu-floating",{wrapperClass:"menu-floating",dropdownClass:"menu-floating__list",closeOnOutsideClick:!1,btnClass:"menu-floating__btn",opened:["desktop"],focusTrap:!1,clickRoll:!0});var t=document.querySelector(".header-search__form"),n=document.querySelector(".header-search__toggle");if(t&&n)new Re(".header-search",{wrapperClass:"header-search",dropdownClass:"header-search__form",btnClass:"header-search__toggle",closeOnOutsideClick:!0});var i=document.querySelector(".same-category__wrapper");if(null!==i)new Re(i,{wrapperClass:"same-category__wrapper",dropdownClass:"same-category__list",outsideToggle:!0,outsideToggleId:"same-category__toggle",closeOnOutsideClick:!1,openTypeSlide:!1});new Re(".checkbox-dropdown",{wrapperClass:"checkbox-dropdown",dropdownClass:"checkbox-dropdown__block",btnClass:"checkbox-dropdown__toggle",closeOnOutsideClick:!1,focusTrap:!1,onInit:function(e){},afterOpen:function(e){}}),new Re(".one-click-panel",{wrapperClass:"one-click-panel",dropdownClass:"one-click-panel__section",closeBtn:!0,closeBtnClass:"one-click-panel__close",outsideToggle:!0,outsideToggleId:"js-one-click-toggle",focusTrap:["desktop"],beforeOpen:function(){"desktop"===window.responsive&&T(document.body,"-overflow-hidden")},afterClose:function(){"desktop"===window.responsive&&M(document.body,"-overflow-hidden")}});Mr(document.querySelectorAll("[data-sd-content]")).forEach((function(e){var t=e.dataset.sdContent,n=Mr(document.querySelectorAll('[data-sd-trigger="'.concat(t,'"]'))),i=n.length>0&&new Ie(e);i&&n.forEach((function(e){var t=e.getAttribute("data-sd-action")||"toggle";e.addEventListener("click",(function(){return _(i[t].bind(i))}))}))})),[].slice.call(document.querySelectorAll("[data-add-ancestor]")).forEach((function(e){var t=kr(e.getAttribute("data-add-ancestor").split(",",2),2),n=t[0],i=t[1],r=j(e,n);r&&T(r,i)})),[].slice.call(document.querySelectorAll("[data-remove-section]")).forEach((function(e){var t=e.getAttribute("data-remove-section"),n=j(e,t);n&&n.parentNode.removeChild(n)}));var o=document.querySelector(".hero__down");if(o){var a=document.querySelector(".site-main");o.addEventListener("click",(function(e){e.preventDefault(),scrollTo({top:a.offsetTop+120,behavior:"smooth"})}))}var s=document.querySelector(".vote__form");s&&Mr(s.querySelectorAll(".radio input[type=radio]")).forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),s.submit()}))}))})),window.addEventListener("load",(function(){_e(),Ni();new Vi;console.log("load"),$.fancybox.defaults.beforeLoad=function(e){"iframe"===e.current.type&&e.current.opts.$orig[0].hasAttribute("title")&&(e.current.opts.iframe.attr.title=e.current.opts.$orig[0].getAttribute("title"))};var e=Mr(document.querySelectorAll(".my-city__content-info")),t=!0,n=function(){e.length&&("tablet"===window.responsive?(e.forEach((function(e){e.parentElement.parentElement.appendChild(e)})),t=!1):t||(e.forEach((function(e){e.previousElementSibling.insertBefore(e,e.previousElementSibling.firstChild)})),t=!0))};n();var i=document.querySelector(".mnv-menu__search"),r=document.querySelector(".mnv-menu__quick"),o=document.querySelector(".mnv-menu__content"),a=["tablet","smartphone"],s=function(){a.includes(window.responsive)&&i&&r&&o&&(o.appendChild(i),o.appendChild(r))};s(),window.addEventListener("responsive",(function(){n(),s(),console.log("current breakpoint: ",window.responsive)})),[].slice.call(document.getElementsByTagName("img")).filter((function(e){return!e.hasAttribute("data-ofi-src")})).filter((function(e){return-1===e.src.indexOf(".svg")})).forEach((function(e){e.naturalHeight||(T(e,"-broken-img"),e.setAttribute("height",0))}));new Ln(".tabs.-responsive-accordion",{onlyState:null,titleSelector:".tabs__title",breakpoint:1280,onInit:function(){ri()}}),new Ln(".tabs:not(.-responsive-accordion)",{onlyState:"tabs",titleSelector:".tabs__title",breakpoint:1280,onInit:function(){ri()}}),new Tt,new Re(".click-roll",{wrapperClass:"click-roll",dropdownClass:"click-roll__block",btnClass:"click-roll__toggle",closeOnOutsideClick:!1,openTypeSlide:!0,isWrapContent:!0,clickRoll:!0,afterInit:function(e){Mr(e.querySelectorAll(".tabs")).forEac
2h((function(e){new Ln(e,{onlyState:"tabs",titleSelector:".tabs__title",onInit:function(){ri()}},"tabs",!0)}))}});var l=document.querySelector(".sites__title"),u=document.querySelector(".sites__form-wrapper select"),c=document.querySelector(".sites__btn");l&&l.addEventListener("click",(function(){u.focus()})),c&&c.addEventListener("click",(function(e){e.preventDefault(),u&&u.value&&window.open(u.value,"_blank")}));var d=Mr(document.querySelectorAll(".filters-home__toggle"));if(d.length>0)for(var h=function(e){d[e].addEventListener("change",(function(){d[e].parentElement.submit()}))},f=0;f<d.length;f++)h(f);window.location.pathname.split("/").includes("en")&&T(document.body,"-en-lang");new Se(".message");Object.values(window.dropdownList).forEach((function(e){e.toggler&&A(e.toggler.parentElement,"-is-open")&&e.open()}))}))}])})); 3
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.