main-es5.fdfde3e41b4dc5cc3156.js 1.9 MB

1
  1. function _defineProperty2(e,t,n){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _readOnlyError(e){throw new TypeError('"'+e+'" is read-only')}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){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 _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,a,r,o,s=[],l=!0,u=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){u=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw a}}return s}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){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 _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,r=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw r}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n={}.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)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function _construct(e,t,n){if(_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,t);var a=new(e.bind.apply(e,i));return n&&_setPrototypeOf(a,n.prototype),a}function _callSuper(e,t,n){return t=_getPrototypeOf(t),_possibleConstructorReturn(e,_isNativeReflectConstruct()?Reflect.construct(t,n||[],_getPrototypeOf(e).constructor):t.apply(e,n))}function _possibleConstructorReturn(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_isNativeReflectConstruct=function(){return!!e})()}function _superPropGet(e,t,n,i){var a=_get(_getPrototypeOf(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof a?function(e){return a.apply(n,e)}:a}function _get(){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=_superPropBase(e,t);if(i){var a=Object.getOwnPropertyDescriptor(i,t);return a.get?a.get.call(arguments.length<3?e:n):a.value}}).apply(null,arguments)}function _superPropBase(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _inherits(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&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(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,_toPropertyKey(i.key),i)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==typeof t?t:t+""}function _toPrimitive(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+s0g":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"//9w":function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/X5v":function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},0:function(e,t,n){e.exports=n("zUnb")},"0mo+":function(e,t,n){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(n("wd/R"))},"1ppg":function(e,t,n){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},"1xZ4":function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},"2fjn":function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n("wd/R"))},"2ykv":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],a=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"3/ER":function(e,t,n){"use strict";(function(e){var i=n("Ju5/"),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=r&&r.exports===a?i.a.Buffer:void 0,s=o?o.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,i=s?s(n):new e.constructor(n);return e.copy(i),i}}).call(this,n("3UD+")(e))},"3E1r":function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},i=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];e.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:i,longMonthsParse:i,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3UD+":function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},"4MV3":function(e,t,n){!function(e){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===t?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===t?e:"\u0aac\u0aaa\u0acb\u0ab0"===t?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4R65":function(e,t,n){!function(e){"use strict";function t(e){var t,n,i,a;for(n=1,i=arguments.length;n<i;n++)for(t in a=arguments[n])e[t]=a[t];return e}var n=Object.create||function(){function e(){}return function(t){return e.prototype=t,new e}}();function i(e,t){var n=Array.prototype.slice;if(e.bind)return e.bind.apply(e,n.call(arguments,1));var i=n.call(arguments,2);return function(){return e.apply(t,i.length?i.concat(n.call(arguments)):arguments)}}var a=0;function r(e){return"_leaflet_id"in e||(e._leaflet_id=++a),e._leaflet_id}function o(e,t,n){var i,a,r,o;return o=function(){i=!1,a&&(r.apply(n,a),a=!1)},r=function(){i?a=arguments:(e.apply(n,arguments),setTimeout(o,t),i=!0)}}function s(e,t,n){var i=t[1],a=t[0],r=i-a;return e===i&&n?e:((e-a)%r+r)%r+a}function l(){return!1}function u(e,t){if(!1===t)return e;var n=Math.pow(10,void 0===t?6:t);return Math.round(e*n)/n}function c(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function d(e){return c(e).split(/\s+/)}function h(e,t){for(var i in Object.prototype.hasOwnProperty.call(e,"options")||(e.options=e.options?n(e.options):{}),t)e.options[i]=t[i];return e.options}function f(e,t,n){var i=[];for(var a in e)i.push(encodeURIComponent(n?a.toUpperCase():a)+"="+encodeURIComponent(e[a]));return(t&&-1!==t.indexOf("?")?"&":"?")+i.join("&")}var m=/\{ *([\w_ -]+) *\}/g;function p(e,t){return e.replace(m,(function(e,n){var i=t[n];if(void 0===i)throw new Error("No value provided for variable "+e);return"function"==typeof i&&(i=i(t)),i}))}var _=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function v(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}var g="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function y(e){return window["webkit"+e]||window["moz"+e]||window["ms"+e]}var b=0;function k(e){var t=+new Date,n=Math.max(0,16-(t-b));return b=t+n,window.setTimeout(e,n)}var w=window.requestAnimationFrame||y("RequestAnimationFrame")||k,C=window.cancelAnimationFrame||y("CancelAnimationFrame")||y("CancelRequestAnimationFrame")||function(e){window.clearTimeout(e)};function x(e,t,n){if(!n||w!==k)return w.call(window,i(e,t));e.call(t)}function M(e){e&&C.call(window,e)}var D={__proto__:null,extend:t,create:n,bind:i,get lastId(){return a},stamp:r,throttle:o,wrapNum:s,falseFn:l,formatNum:u,trim:c,splitWords:d,setOptions:h,getParamString:f,template:p,isArray:_,indexOf:v,emptyImageUrl:g,requestFn:w,cancelFn:C,requestAnimFrame:x,cancelAnimFrame:M};function S(){}S.extend=function(e){var i=function(){h(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},a=i.__super__=this.prototype,r=n(a);for(var o in r.constructor=i,i.prototype=r,this)Object.prototype.hasOwnProperty.call(this,o)&&"prototype"!==o&&"__super__"!==o&&(i[o]=this[o]);return e.statics&&t(i,e.statics),e.includes&&(function(e){if("undefined"!=typeof L&&L&&L.Mixin){e=_(e)?e:[e];for(var t=0;t<e.length;t++)e[t]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(e.includes),t.apply(null,[r].concat(e.includes))),t(r,e),delete r.statics,delete r.includes,r.options&&(r.options=a.options?n(a.options):{},t(r.options,e.options)),r._initHooks=[],r.callInitHooks=function(){if(!this._initHooksCalled){a.callInitHooks&&a.callInitHooks.call(this),this._initHooksCalled=!0;for(var e=0,t=r._initHooks.length;e<t;e++)r._initHooks[e].call(this)}},i},S.include=function(e){var n=this.prototype.options;return t(this.prototype,e),e.options&&(this.prototype.options=n,this.mergeOptions(e.options)),this},S.mergeOptions=function(e){return t(this.prototype.options,e),this},S.addInitHook=function(e){var t=Array.prototype.slice.call(arguments,1),n="function"==typeof e?e:function(){this[e].apply(this,t)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};var T={on:function(e,t,n){if("object"==typeof e)for(var i in e)this._on(i,e[i],t);else for(var a=0,r=(e=d(e)).length;a<r;a++)this._on(e[a],t,n);return this},off:function(e,t,n){if(arguments.length)if("object"==typeof e)for(var i in e)this._off(i,e[i],t);else{e=d(e);for(var a=1===arguments.length,r=0,o=e.length;r<o;r++)a?this._off(e[r]):this._off(e[r],t,n)}else delete this._events;return this},_on:function(e,t,n,i){if("function"==typeof t){if(!1===this._listens(e,t,n)){n===this&&(n=void 0);var a={fn:t,ctx:n};i&&(a.once=!0),this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(a)}}else console.warn("wrong listener type: "+typeof t)},_off:function(e,t,n){var i,a,r;if(this._events&&(i=this._events[e]))if(1!==arguments.length)if("function"==typeof t){var o=this._listens(e,t,n);if(!1!==o){var s=i[o];this._firingCount&&(s.fn=l,this._events[e]=i=i.slice()),i.splice(o,1)}}else console.warn("wrong listener type: "+typeof t);else{if(this._firingCount)for(a=0,r=i.length;a<r;a++)i[a].fn=l;delete this._events[e]}},fire:function(e,n,i){if(!this.listens(e,i))return this;var a=t({},n,{type:e,target:this,sourceTarget:n&&n.sourceTarget||this});if(this._events){var r=this._events[e];if(r){this._firingCount=this._firingCount+1||1;for(var o=0,s=r.length;o<s;o++){var l=r[o],u=l.fn;l.once&&this.off(e,u,l.ctx),u.call(l.ctx||this,a)}this._firingCount--}}return i&&this._propagateEvent(a),this},listens:function(e,t,n,i){"string"!=typeof e&&console.warn('"string" type argument expected');var a=t;"function"!=typeof t&&(i=!!t,a=void 0,n=void 0);var r=this._events&&this._events[e];if(r&&r.length&&!1!==this._listens(e,a,n))return!0;if(i)for(var o in this._eventParents)if(this._eventParents[o].listens(e,t,n,i))return!0;return!1},_listens:function(e,t,n){if(!this._events)return!1;var i=this._events[e]||[];if(!t)return!!i.length;n===this&&(n=void 0);for(var a=0,r=i.length;a<r;a++)if(i[a].fn===t&&i[a].ctx===n)return a;return!1},once:function(e,t,n){if("object"==typeof e)for(var i in e)this._on(i,e[i],t,!0);else for(var a=0,r=(e=d(e)).length;a<r;a++)this._on(e[a],t,n,!0);return this},addEventParent:function(e){return this._eventParents=this._eventParents||{},this._eventParents[r(e)]=e,this},removeEventParent:function(e){return this._eventParents&&delete this._eventParents[r(e)],this},_propagateEvent:function(e){for(var n in this._eventParents)this._eventParents[n].fire(e.type,t({layer:e.target,propagatedFrom:e.target},e),!0)}};T.addEventListener=T.on,T.removeEventListener=T.clearAllEventListeners=T.off,T.addOneTimeEventListener=T.once,T.fireEvent=T.fire,T.hasEventListeners=T.listens;var A=S.extend(T);function E(e,t,n){this.x=n?Math.round(e):e,this.y=n?Math.round(t):t}var O=Math.trunc||function(e){return e>0?Math.floor(e):Math.ceil(e)};function Y(e,t,n){return e instanceof E?e:_(e)?new E(e[0],e[1]):null==e?e:"object"==typeof e&&"x"in e&&"y"in e?new E(e.x,e.y):new E(e,t,n)}function P(e,t){if(e)for(var n=t?[e,t]:e,i=0,a=n.length;i<a;i++)this.extend(n[i])}function I(e,t){return!e||e instanceof P?e:new P(e,t)}function R(e,t){if(e)for(var n=t?[e,t]:e,i=0,a=n.length;i<a;i++)this.extend(n[i])}function F(e,t){return e instanceof R?e:new R(e,t)}function j(e,t,n){if(isNaN(e)||isNaN(t))throw new Error("Invalid LatLng object: ("+e+", "+t+")");this.lat=+e,this.lng=+t,void 0!==n&&(this.alt=+n)}function H(e,t,n){return e instanceof j?e:_(e)&&"object"!=typeof e[0]?3===e.length?new j(e[0],e[1],e[2]):2===e.length?new j(e[0],e[1]):null:null==e?e:"object"==typeof e&&"lat"in e?new j(e.lat,"lng"in e?e.lng:e.lon,e.alt):void 0===t?null:new j(e,t,n)}E.prototype={clone:function(){return new E(this.x,this.y)},add:function(e){return this.clone()._add(Y(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(Y(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new E(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new E(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=O(this.x),this.y=O(this.y),this},distanceTo:function(e){var t=(e=Y(e)).x-this.x,n=e.y-this.y;return Math.sqrt(t*t+n*n)},equals:function(e){return(e=Y(e)).x===this.x&&e.y===this.y},contains:function(e){return e=Y(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+u(this.x)+", "+u(this.y)+")"}},P.prototype={extend:function(e){var t,n;if(!e)return this;if(e instanceof E||"number"==typeof e[0]||"x"in e)t=n=Y(e);else if(n=(e=I(e)).max,!(t=e.min)||!n)return this;return this.min||this.max?(this.min.x=Math.min(t.x,this.min.x),this.max.x=Math.max(n.x,this.max.x),this.min.y=Math.min(t.y,this.min.y),this.max.y=Math.max(n.y,this.max.y)):(this.min=t.clone(),this.max=n.clone()),this},getCenter:function(e){return Y((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,e)},getBottomLeft:function(){return Y(this.min.x,this.max.y)},getTopRight:function(){return Y(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(e){var t,n;return(e="number"==typeof e[0]||e instanceof E?Y(e):I(e))instanceof P?(t=e.min,n=e.max):t=n=e,t.x>=this.min.x&&n.x<=this.max.x&&t.y>=this.min.y&&n.y<=this.max.y},intersects:function(e){e=I(e);var t=this.min,n=this.max,i=e.min,a=e.max;return a.x>=t.x&&i.x<=n.x&&a.y>=t.y&&i.y<=n.y},overlaps:function(e){e=I(e);var t=this.min,n=this.max,i=e.min,a=e.max;return a.x>t.x&&i.x<n.x&&a.y>t.y&&i.y<n.y},isValid:function(){return!(!this.min||!this.max)},pad:function(e){var t=this.min,n=this.max,i=Math.abs(t.x-n.x)*e,a=Math.abs(t.y-n.y)*e;return I(Y(t.x-i,t.y-a),Y(n.x+i,n.y+a))},equals:function(e){return!!e&&(e=I(e),this.min.equals(e.getTopLeft())&&this.max.equals(e.getBottomRight()))}},R.prototype={extend:function(e){var t,n,i=this._southWest,a=this._northEast;if(e instanceof j)t=e,n=e;else{if(!(e instanceof R))return e?this.extend(H(e)||F(e)):this;if(n=e._northEast,!(t=e._southWest)||!n)return this}return i||a?(i.lat=Math.min(t.lat,i.lat),i.lng=Math.min(t.lng,i.lng),a.lat=Math.max(n.lat,a.lat),a.lng=Math.max(n.lng,a.lng)):(this._southWest=new j(t.lat,t.lng),this._northEast=new j(n.lat,n.lng)),this},pad:function(e){var t=this._southWest,n=this._northEast,i=Math.abs(t.lat-n.lat)*e,a=Math.abs(t.lng-n.lng)*e;return new R(new j(t.lat-i,t.lng-a),new j(n.lat+i,n.lng+a))},getCenter:function(){return new j((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new j(this.getNorth(),this.getWest())},getSouthEast:function(){return new j(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat},getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(e){e="number"==typeof e[0]||e instanceof j||"lat"in e?H(e):F(e);var t,n,i=this._southWest,a=this._northEast;return e instanceof R?(t=e.getSouthWest(),n=e.getNorthEast()):t=n=e,t.lat>=i.lat&&n.lat<=a.lat&&t.lng>=i.lng&&n.lng<=a.lng},intersects:function(e){e=F(e);var t=this._southWest,n=this._northEast,i=e.getSouthWest(),a=e.getNorthEast();return a.lat>=t.lat&&i.lat<=n.lat&&a.lng>=t.lng&&i.lng<=n.lng},overlaps:function(e){e=F(e);var t=this._southWest,n=this._northEast,i=e.getSouthWest(),a=e.getNorthEast();return a.lat>t.lat&&i.lat<n.lat&&a.lng>t.lng&&i.lng<n.lng},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(e,t){return!!e&&(e=F(e),this._southWest.equals(e.getSouthWest(),t)&&this._northEast.equals(e.getNorthEast(),t))},isValid:function(){return!(!this._southWest||!this._northEast)}},j.prototype={equals:function(e,t){return!!e&&(e=H(e),Math.max(Math.abs(this.lat-e.lat),Math.abs(this.lng-e.lng))<=(void 0===t?1e-9:t))},toString:function(e){return"LatLng("+u(this.lat,e)+", "+u(this.lng,e)+")"},distanceTo:function(e){return V.distance(this,H(e))},wrap:function(){return V.wrapLatLng(this)},toBounds:function(e){var t=180*e/40075017,n=t/Math.cos(Math.PI/180*this.lat);return F([this.lat-t,this.lng-n],[this.lat+t,this.lng+n])},clone:function(){return new j(this.lat,this.lng,this.alt)}};var N,z={latLngToPoint:function(e,t){var n=this.projection.project(e),i=this.scale(t);return this.transformation._transform(n,i)},pointToLatLng:function(e,t){var n=this.scale(t),i=this.transformation.untransform(e,n);return this.projection.unproject(i)},project:function(e){return this.projection.project(e)},unproject:function(e){return this.projection.unproject(e)},scale:function(e){return 256*Math.pow(2,e)},zoom:function(e){return Math.log(e/256)/Math.LN2},getProjectedBounds:function(e){if(this.infinite)return null;var t=this.projection.bounds,n=this.scale(e);return new P(this.transformation.transform(t.min,n),this.transformation.transform(t.max,n))},infinite:!1,wrapLatLng:function(e){var t=this.wrapLng?s(e.lng,this.wrapLng,!0):e.lng;return new j(this.wrapLat?s(e.lat,this.wrapLat,!0):e.lat,t,e.alt)},wrapLatLngBounds:function(e){var t=e.getCenter(),n=this.wrapLatLng(t),i=t.lat-n.lat,a=t.lng-n.lng;if(0===i&&0===a)return e;var r=e.getSouthWest(),o=e.getNorthEast();return new R(new j(r.lat-i,r.lng-a),new j(o.lat-i,o.lng-a))}},V=t({},z,{wrapLng:[-180,180],R:6371e3,distance:function(e,t){var n=Math.PI/180,i=e.lat*n,a=t.lat*n,r=Math.sin((t.lat-e.lat)*n/2),o=Math.sin((t.lng-e.lng)*n/2),s=r*r+Math.cos(i)*Math.cos(a)*o*o,l=2*Math.atan2(Math.sqrt(s),Math.sqrt(1-s));return this.R*l}}),B={R:6378137,MAX_LATITUDE:85.0511287798,project:function(e){var t=Math.PI/180,n=this.MAX_LATITUDE,i=Math.max(Math.min(n,e.lat),-n),a=Math.sin(i*t);return new E(this.R*e.lng*t,this.R*Math.log((1+a)/(1-a))/2)},unproject:function(e){var t=180/Math.PI;return new j((2*Math.atan(Math.exp(e.y/this.R))-Math.PI/2)*t,e.x*t/this.R)},bounds:(N=6378137*Math.PI,new P([-N,-N],[N,N]))};function W(e,t,n,i){if(_(e))return this._a=e[0],this._b=e[1],this._c=e[2],void(this._d=e[3]);this._a=e,this._b=t,this._c=n,this._d=i}function U(e,t,n,i){return new W(e,t,n,i)}W.prototype={transform:function(e,t){return this._transform(e.clone(),t)},_transform:function(e,t){return e.x=(t=t||1)*(this._a*e.x+this._b),e.y=t*(this._c*e.y+this._d),e},untransform:function(e,t){return new E((e.x/(t=t||1)-this._b)/this._a,(e.y/t-this._d)/this._c)}};var q,G=t({},V,{code:"EPSG:3857",projection:B,transformation:(q=.5/(Math.PI*B.R),U(q,.5,-q,.5))}),Z=t({},G,{code:"EPSG:900913"});function J(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function K(e,t){var n,i,a,r,o,s,l="";for(n=0,a=e.length;n<a;n++){for(i=0,r=(o=e[n]).length;i<r;i++)l+=(i?"L":"M")+(s=o[i]).x+" "+s.y;l+=t?Ye.svg?"z":"x":""}return l||"M0 0"}var Q,X=document.documentElement.style,$="ActiveXObject"in window,ee=$&&!document.addEventListener,te="msLaunchUri"in navigator&&!("documentMode"in document),ne=Oe("webkit"),ie=Oe("android"),ae=Oe("android 2")||Oe("android 3"),re=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),oe=ie&&Oe("Google")&&re<537&&!("AudioNode"in window),se=!!window.opera,le=!te&&Oe("chrome"),ue=Oe("gecko")&&!ne&&!se&&!$,ce=!le&&Oe("safari"),de=Oe("phantom"),he="OTransition"in X,fe=0===navigator.platform.indexOf("Win"),me=$&&"transition"in X,pe="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!ae,_e="MozPerspective"in X,ve=!window.L_DISABLE_3D&&(me||pe||_e)&&!he&&!de,ge="undefined"!=typeof orientation||Oe("mobile"),ye=ge&&ne,be=ge&&pe,ke=!window.PointerEvent&&window.MSPointerEvent,we=!(!window.PointerEvent&&!ke),Ce="ontouchstart"in window||!!window.TouchEvent,xe=!window.L_NO_TOUCH&&(Ce||we),Me=ge&&se,De=ge&&ue,Se=(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI)>1,Le=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",l,t),window.removeEventListener("testPassiveEventSupport",l,t)}catch(n){}return e}(),Te=!!document.createElement("canvas").getContext,Ae=!(!document.createElementNS||!J("svg").createSVGRect),Ee=!!Ae&&((Q=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(Q.firstChild&&Q.firstChild.namespaceURI));function Oe(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var Ye={ie:$,ielt9:ee,edge:te,webkit:ne,android:ie,android23:ae,androidStock:oe,opera:se,chrome:le,gecko:ue,safari:ce,phantom:de,opera12:he,win:fe,ie3d:me,webkit3d:pe,gecko3d:_e,any3d:ve,mobile:ge,mobileWebkit:ye,mobileWebkit3d:be,msPointer:ke,pointer:we,touch:xe,touchNative:Ce,mobileOpera:Me,mobileGecko:De,retina:Se,passiveEvents:Le,canvas:Te,svg:Ae,vml:!Ae&&function(){try{var e=document.createElement("div");e.innerHTML='<v:shape adj="1"/>';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&"object"==typeof t.adj}catch(n){return!1}}(),inlineSvg:Ee,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},Pe=Ye.msPointer?"MSPointerDown":"pointerdown",Ie=Ye.msPointer?"MSPointerMove":"pointermove",Re=Ye.msPointer?"MSPointerUp":"pointerup",Fe=Ye.msPointer?"MSPointerCancel":"pointercancel",je={touchstart:Pe,touchmove:Ie,touchend:Re,touchcancel:Fe},He={touchstart:function(e,t){t.MSPOINTER_TYPE_TOUCH&&t.pointerType===t.MSPOINTER_TYPE_TOUCH&&It(t),Ue(e,t)},touchmove:Ue,touchend:Ue,touchcancel:Ue},Ne={},ze=!1;function Ve(e){Ne[e.pointerId]=e}function Be(e){Ne[e.pointerId]&&(Ne[e.pointerId]=e)}function We(e){delete Ne[e.pointerId]}function Ue(e,t){if(t.pointerType!==(t.MSPOINTER_TYPE_MOUSE||"mouse")){for(var n in t.touches=[],Ne)t.touches.push(Ne[n]);t.changedTouches=[t],e(t)}}var qe,Ge,Ze,Je,Ke,Qe=ft(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Xe=ft(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),$e="webkitTransition"===Xe||"OTransition"===Xe?Xe+"End":"transitionend";function et(e){return"string"==typeof e?document.getElementById(e):e}function tt(e,t){var n=e.style[t]||e.currentStyle&&e.currentStyle[t];if((!n||"auto"===n)&&document.defaultView){var i=document.defaultView.getComputedStyle(e,null);n=i?i[t]:null}return"auto"===n?null:n}function nt(e,t,n){var i=document.createElement(e);return i.className=t||"",n&&n.appendChild(i),i}function it(e){var t=e.parentNode;t&&t.removeChild(e)}function at(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function rt(e){var t=e.parentNode;t&&t.lastChild!==e&&t.appendChild(e)}function ot(e){var t=e.parentNode;t&&t.firstChild!==e&&t.insertBefore(e,t.firstChild)}function st(e,t){if(void 0!==e.classList)return e.classList.contains(t);var n=dt(e);return n.length>0&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(n)}function lt(e,t){if(void 0!==e.classList)for(var n=d(t),i=0,a=n.length;i<a;i++)e.classList.add(n[i]);else if(!st(e,t)){var r=dt(e);ct(e,(r?r+" ":"")+t)}}function ut(e,t){void 0!==e.classList?e.classList.remove(t):ct(e,c((" "+dt(e)+" ").replace(" "+t+" "," ")))}function ct(e,t){void 0===e.className.baseVal?e.className=t:e.className.baseVal=t}function dt(e){return e.correspondingElement&&(e=e.correspondingElement),void 0===e.className.baseVal?e.className:e.className.baseVal}function ht(e,t){"opacity"in e.style?e.style.opacity=t:"filter"in e.style&&function(e,t){var n=!1,i="DXImageTransform.Microsoft.Alpha";try{n=e.filters.item(i)}catch(a){if(1===t)return}t=Math.round(100*t),n?(n.Enabled=100!==t,n.Opacity=t):e.style.filter+=" progid:"+i+"(opacity="+t+")"}(e,t)}function ft(e){for(var t=document.documentElement.style,n=0;n<e.length;n++)if(e[n]in t)return e[n];return!1}function mt(e,t,n){var i=t||new E(0,0);e.style[Qe]=(Ye.ie3d?"translate("+i.x+"px,"+i.y+"px)":"translate3d("+i.x+"px,"+i.y+"px,0)")+(n?" scale("+n+")":"")}function pt(e,t){e._leaflet_pos=t,Ye.any3d?mt(e,t):(e.style.left=t.x+"px",e.style.top=t.y+"px")}function _t(e){return e._leaflet_pos||new E(0,0)}if("onselectstart"in document)qe=function(){Mt(window,"selectstart",It)},Ge=function(){St(window,"selectstart",It)};else{var vt=ft(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]);qe=function(){if(vt){var e=document.documentElement.style;Ze=e[vt],e[vt]="none"}},Ge=function(){vt&&(document.documentElement.style[vt]=Ze,Ze=void 0)}}function gt(){Mt(window,"dragstart",It)}function yt(){St(window,"dragstart",It)}function bt(e){for(;-1===e.tabIndex;)e=e.parentNode;e.style&&(kt(),Je=e,Ke=e.style.outlineStyle,e.style.outlineStyle="none",Mt(window,"keydown",kt))}function kt(){Je&&(Je.style.outlineStyle=Ke,Je=void 0,Ke=void 0,St(window,"keydown",kt))}function wt(e){do{e=e.parentNode}while(!(e.offsetWidth&&e.offsetHeight||e===document.body));return e}function Ct(e){var t=e.getBoundingClientRect();return{x:t.width/e.offsetWidth||1,y:t.height/e.offsetHeight||1,boundingClientRect:t}}var xt={__proto__:null,TRANSFORM:Qe,TRANSITION:Xe,TRANSITION_END:$e,get:et,getStyle:tt,create:nt,remove:it,empty:at,toFront:rt,toBack:ot,hasClass:st,addClass:lt,removeClass:ut,setClass:ct,getClass:dt,setOpacity:ht,testProp:ft,setTransform:mt,setPosition:pt,getPosition:_t,get disableTextSelection(){return qe},get enableTextSelection(){return Ge},disableImageDrag:gt,enableImageDrag:yt,preventOutline:bt,restoreOutline:kt,getSizedParentNode:wt,getScale:Ct};function Mt(e,t,n,i){if(t&&"object"==typeof t)for(var a in t)At(e,a,t[a],n);else for(var r=0,o=(t=d(t)).length;r<o;r++)At(e,t[r],n,i);return this}var Dt="_leaflet_events";function St(e,t,n,i){if(1===arguments.length)Lt(e),delete e[Dt];else if(t&&"object"==typeof t)for(var a in t)Et(e,a,t[a],n);else if(t=d(t),2===arguments.length)Lt(e,(function(e){return-1!==v(t,e)}));else for(var r=0,o=t.length;r<o;r++)Et(e,t[r],n,i);return this}function Lt(e,t){for(var n in e[Dt]){var i=n.split(/\d/)[0];t&&!t(i)||Et(e,i,null,null,n)}}var Tt={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function At(e,t,n,i){var a=t+r(n)+(i?"_"+r(i):"");if(e[Dt]&&e[Dt][a])return this;var o=function(t){return n.call(i||e,t||window.event)},s=o;!Ye.touchNative&&Ye.pointer&&0===t.indexOf("touch")?o=function(e,t,n){return"touchstart"===t&&(ze||(document.addEventListener(Pe,Ve,!0),document.addEventListener(Ie,Be,!0),document.addEventListener(Re,We,!0),document.addEventListener(Fe,We,!0),ze=!0)),He[t]?(n=He[t].bind(this,n),e.addEventListener(je[t],n,!1),n):(console.warn("wrong event specified:",t),l)}(e,t,o):Ye.touch&&"dblclick"===t?o=function(e,t){e.addEventListener("dblclick",t);var n,i=0;function a(e){if(1===e.detail){if("mouse"!==e.pointerType&&(!e.sourceCapabilities||e.sourceCapabilities.firesTouchEvents)){var a=Ft(e);if(!a.some((function(e){return e instanceof HTMLLabelElement&&e.attributes.for}))||a.some((function(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement}))){var r=Date.now();r-i<=200?2==++n&&t(function(e){var t,n,i={};for(n in e)i[n]=(t=e[n])&&t.bind?t.bind(e):t;return e=i,i.type="dblclick",i.detail=2,i.isTrusted=!1,i._simulated=!0,i}(e)):n=1,i=r}}}else n=e.detail}return e.addEventListener("click",a),{dblclick:t,simDblclick:a}}(e,o):"addEventListener"in e?"touchstart"===t||"touchmove"===t||"wheel"===t||"mousewheel"===t?e.addEventListener(Tt[t]||t,o,!!Ye.passiveEvents&&{passive:!1}):"mouseenter"===t||"mouseleave"===t?e.addEventListener(Tt[t],o=function(t){t=t||window.event,zt(e,t)&&s(t)},!1):e.addEventListener(t,s,!1):e.attachEvent("on"+t,o),e[Dt]=e[Dt]||{},e[Dt][a]=o}function Et(e,t,n,i,a){a=a||t+r(n)+(i?"_"+r(i):"");var o=e[Dt]&&e[Dt][a];if(!o)return this;!Ye.touchNative&&Ye.pointer&&0===t.indexOf("touch")?function(e,t,n){je[t]?e.removeEventListener(je[t],n,!1):console.warn("wrong event specified:",t)}(e,t,o):Ye.touch&&"dblclick"===t?function(e,t){e.removeEventListener("dblclick",t.dblclick),e.removeEventListener("click",t.simDblclick)}(e,o):"removeEventListener"in e?e.removeEventListener(Tt[t]||t,o,!1):e.detachEvent("on"+t,o),e[Dt][a]=null}function Ot(e){return e.stopPropagation?e.stopPropagation():e.originalEvent?e.originalEvent._stopped=!0:e.cancelBubble=!0,this}function Yt(e){return At(e,"wheel",Ot),this}function Pt(e){return Mt(e,"mousedown touchstart dblclick contextmenu",Ot),e._leaflet_disable_click=!0,this}function It(e){return e.preventDefault?e.preventDefault():e.returnValue=!1,this}function Rt(e){return It(e),Ot(e),this}function Ft(e){if(e.composedPath)return e.composedPath();for(var t=[],n=e.target;n;)t.push(n),n=n.parentNode;return t}function jt(e,t){if(!t)return new E(e.clientX,e.clientY);var n=Ct(t),i=n.boundingClientRect;return new E((e.clientX-i.left)/n.x-t.clientLeft,(e.clientY-i.top)/n.y-t.clientTop)}var Ht=Ye.linux&&Ye.chrome?window.devicePixelRatio:Ye.mac?3*window.devicePixelRatio:window.devicePixelRatio>0?2*window.devicePixelRatio:1;function Nt(e){return Ye.edge?e.wheelDeltaY/2:e.deltaY&&0===e.deltaMode?-e.deltaY/Ht:e.deltaY&&1===e.deltaMode?20*-e.deltaY:e.deltaY&&2===e.deltaMode?60*-e.deltaY:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?20*-e.detail:e.detail?e.detail/-32765*60:0}function zt(e,t){var n=t.relatedTarget;if(!n)return!0;try{for(;n&&n!==e;)n=n.parentNode}catch(i){return!1}return n!==e}var Vt={__proto__:null,on:Mt,off:St,stopPropagation:Ot,disableScrollPropagation:Yt,disableClickPropagation:Pt,preventDefault:It,stop:Rt,getPropagationPath:Ft,getMousePosition:jt,getWheelDelta:Nt,isExternalTarget:zt,addListener:Mt,removeListener:St},Bt=A.extend({run:function(e,t,n,i){this.stop(),this._el=e,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(i||.5,.2),this._startPos=_t(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=x(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,n=1e3*this._duration;t<n?this._runFrame(this._easeOut(t/n),e):(this._runFrame(1),this._complete())},_runFrame:function(e,t){var n=this._startPos.add(this._offset.multiplyBy(e));t&&n._round(),pt(this._el,n),this.fire("step")},_complete:function(){M(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(e){return 1-Math.pow(1-e,this._easeOutPower)}}),Wt=A.extend({options:{crs:G,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(e,t){t=h(this,t),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(e),this._initLayout(),this._onResize=i(this._onResize,this),this._initEvents(),t.maxBounds&&this.setMaxBounds(t.maxBounds),void 0!==t.zoom&&(this._zoom=this._limitZoom(t.zoom)),t.center&&void 0!==t.zoom&&this.setView(H(t.center),t.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=Xe&&Ye.any3d&&!Ye.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),Mt(this._proxy,$e,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)},setView:function(e,n,i){return n=void 0===n?this._zoom:this._limitZoom(n),e=this._limitCenter(H(e),n,this.options.maxBounds),i=i||{},this._stop(),this._loaded&&!i.reset&&!0!==i&&(void 0!==i.animate&&(i.zoom=t({animate:i.animate},i.zoom),i.pan=t({animate:i.animate,duration:i.duration},i.pan)),this._zoom!==n?this._tryAnimatedZoom&&this._tryAnimatedZoom(e,n,i.zoom):this._tryAnimatedPan(e,i.pan))?(clearTimeout(this._sizeTimer),this):(this._resetView(e,n,i.pan&&i.pan.noMoveStart),this)},setZoom:function(e,t){return this._loaded?this.setView(this.getCenter(),e,{zoom:t}):(this._zoom=e,this)},zoomIn:function(e,t){return this.setZoom(this._zoom+(e=e||(Ye.any3d?this.options.zoomDelta:1)),t)},zoomOut:function(e,t){return this.setZoom(this._zoom-(e=e||(Ye.any3d?this.options.zoomDelta:1)),t)},setZoomAround:function(e,t,n){var i=this.getZoomScale(t),a=this.getSize().divideBy(2),r=(e instanceof E?e:this.latLngToContainerPoint(e)).subtract(a).multiplyBy(1-1/i),o=this.containerPointToLatLng(a.add(r));return this.setView(o,t,{zoom:n})},_getBoundsCenterZoom:function(e,t){t=t||{},e=e.getBounds?e.getBounds():F(e);var n=Y(t.paddingTopLeft||t.padding||[0,0]),i=Y(t.paddingBottomRight||t.padding||[0,0]),a=this.getBoundsZoom(e,!1,n.add(i));if((a="number"==typeof t.maxZoom?Math.min(t.maxZoom,a):a)===1/0)return{center:e.getCenter(),zoom:a};var r=i.subtract(n).divideBy(2),o=this.project(e.getSouthWest(),a),s=this.project(e.getNorthEast(),a);return{center:this.unproject(o.add(s).divideBy(2).add(r),a),zoom:a}},fitBounds:function(e,t){if(!(e=F(e)).isValid())throw new Error("Bounds are not valid.");var n=this._getBoundsCenterZoom(e,t);return this.setView(n.center,n.zoom,t)},fitWorld:function(e){return this.fitBounds([[-90,-180],[90,180]],e)},panTo:function(e,t){return this.setView(e,this._zoom,{pan:t})},panBy:function(e,t){if(t=t||{},!(e=Y(e).round()).x&&!e.y)return this.fire("moveend");if(!0!==t.animate&&!this.getSize().contains(e))return this._resetView(this.unproject(this.project(this.getCenter()).add(e)),this.getZoom()),this;if(this._panAnim||(this._panAnim=new Bt,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),t.noMoveStart||this.fire("movestart"),!1!==t.animate){lt(this._mapPane,"leaflet-pan-anim");var n=this._getMapPanePos().subtract(e).round();this._panAnim.run(this._mapPane,n,t.duration||.25,t.easeLinearity)}else this._rawPanBy(e),this.fire("move").fire("moveend");return this},flyTo:function(e,t,n){if(!1===(n=n||{}).animate||!Ye.any3d)return this.setView(e,t,n);this._stop();var i=this.project(this.getCenter()),a=this.project(e),r=this.getSize(),o=this._zoom;e=H(e),t=void 0===t?o:t;var s=Math.max(r.x,r.y),l=s*this.getZoomScale(o,t),u=a.distanceTo(i)||1;function c(e){var t=(l*l-s*s+2.0164*(e?-1:1)*2.0164*u*u)/(2*(e?l:s)*2.0164*u),n=Math.sqrt(t*t+1)-t;return n<1e-9?-18:Math.log(n)}function d(e){return(Math.exp(e)-Math.exp(-e))/2}function h(e){return(Math.exp(e)+Math.exp(-e))/2}var f=c(0),m=Date.now(),p=(c(1)-f)/1.42,_=n.duration?1e3*n.duration:1e3*p*.8;return this._moveStart(!0,n.noMoveStart),(function n(){var r=(Date.now()-m)/_,l=function(e){return 1-Math.pow(1-e,1.5)}(r)*p;r<=1?(this._flyToFrame=x(n,this),this._move(this.unproject(i.add(a.subtract(i).multiplyBy(function(e){return s*(h(f)*(d(t=f+1.42*e)/h(t))-d(f))/2.0164;var t}(l)/u)),o),this.getScaleZoom(s/function(e){return s*(h(f)/h(f+1.42*e))}(l),o),{flyTo:!0})):this._move(e,t)._moveEnd(!0)}).call(this),this},flyToBounds:function(e,t){var n=this._getBoundsCenterZoom(e,t);return this.flyTo(n.center,n.zoom,t)},setMaxBounds:function(e){return e=F(e),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),e.isValid()?(this.options.maxBounds=e,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(e){var t=this.options.minZoom;return this.options.minZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(e):this},setMaxZoom:function(e){var t=this.options.maxZoom;return this.options.maxZoom=e,this._loaded&&t!==e&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var n=this.getCenter(),i=this._limitCenter(n,this._zoom,F(e));return n.equals(i)||this.panTo(i,t),this._enforcingBounds=!1,this},panInside:function(e,t){var n=Y((t=t||{}).paddingTopLeft||t.padding||[0,0]),i=Y(t.paddingBottomRight||t.padding||[0,0]),a=this.project(this.getCenter()),r=this.project(e),o=this.getPixelBounds(),s=I([o.min.add(n),o.max.subtract(i)]),l=s.getSize();if(!s.contains(r)){this._enforcingBounds=!0;var u=r.subtract(s.getCenter()),c=s.extend(r).getSize().subtract(l);a.x+=u.x<0?-c.x:c.x,a.y+=u.y<0?-c.y:c.y,this.panTo(this.unproject(a),t),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=t({animate:!1,pan:!0},!0===e?{animate:!0}:e);var n=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var a=this.getSize(),r=n.divideBy(2).round(),o=a.divideBy(2).round(),s=r.subtract(o);return s.x||s.y?(e.animate&&e.pan?this.panBy(s):(e.pan&&this._rawPanBy(s),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(i(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:a})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=t({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var n=i(this._handleGeolocationResponse,this),a=i(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,a,e):navigator.geolocation.getCurrentPosition(n,a,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var t=e.code,n=e.message||(1===t?"permission denied":2===t?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+n+"."})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var t=new j(e.coords.latitude,e.coords.longitude),n=t.toBounds(2*e.coords.accuracy),i=this._locateOptions;if(i.setView){var a=this.getBoundsZoom(n);this.setView(t,i.maxZoom?Math.min(a,i.maxZoom):a)}var r={latlng:t,bounds:n,timestamp:e.timestamp};for(var o in e.coords)"number"==typeof e.coords[o]&&(r[o]=e.coords[o]);this.fire("locationfound",r)}},addHandler:function(e,t){if(!t)return this;var n=this[e]=new t(this);return this._handlers.push(n),this.options[e]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}var e;for(e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),it(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(M(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[e].remove();for(e in this._panes)it(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,t){var n=nt("div","leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),t||this._mapPane);return e&&(this._panes[e]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds();return new R(this.unproject(e.getBottomLeft()),this.unproject(e.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,n){e=F(e),n=Y(n||[0,0]);var i=this.getZoom()||0,a=this.getMinZoom(),r=this.getMaxZoom(),o=e.getNorthWest(),s=e.getSouthEast(),l=this.getSize().subtract(n),u=I(this.project(s,i),this.project(o,i)).getSize(),c=Ye.any3d?this.options.zoomSnap:1,d=l.x/u.x,h=l.y/u.y,f=t?Math.max(d,h):Math.min(d,h);return i=this.getScaleZoom(f,i),c&&(i=Math.round(i/(c/100))*(c/100),i=t?Math.ceil(i/c)*c:Math.floor(i/c)*c),Math.max(a,Math.min(r,i))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new E(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var n=this._getTopLeftPoint(e,t);return new P(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(void 0===e?this.getZoom():e)},getPane:function(e){return"string"==typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var n=this.options.crs;return t=void 0===t?this._zoom:t,n.scale(e)/n.scale(t)},getScaleZoom:function(e,t){var n=this.options.crs,i=n.zoom(e*n.scale(t=void 0===t?this._zoom:t));return isNaN(i)?1/0:i},project:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.latLngToPoint(H(e),t)},unproject:function(e,t){return t=void 0===t?this._zoom:t,this.options.crs.pointToLatLng(Y(e),t)},layerPointToLatLng:function(e){var t=Y(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(H(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(H(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(F(e))},distance:function(e,t){return this.options.crs.distance(H(e),H(t))},containerPointToLayerPoint:function(e){return Y(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return Y(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(Y(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(H(e)))},mouseEventToContainerPoint:function(e){return jt(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=et(e);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");Mt(t,"scroll",this._onScroll,this),this._containerId=r(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&Ye.any3d,lt(e,"leaflet-container"+(Ye.touch?" leaflet-touch":"")+(Ye.retina?" leaflet-retina":"")+(Ye.ielt9?" leaflet-oldie":"")+(Ye.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=tt(e,"position");"absolute"!==t&&"relative"!==t&&"fixed"!==t&&"sticky"!==t&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),pt(this._mapPane,new E(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(lt(e.markerPane,"leaflet-zoom-hide"),lt(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t,n){pt(this._mapPane,new E(0,0));var i=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var a=this._zoom!==t;this._moveStart(a,n)._move(e,t)._moveEnd(a),this.fire("viewreset"),i&&this.fire("load")},_moveStart:function(e,t){return e&&this.fire("zoomstart"),t||this.fire("movestart"),this},_move:function(e,t,n,i){void 0===t&&(t=this._zoom);var a=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),i?n&&n.pinch&&this.fire("zoom",n):((a||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return M(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){pt(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={},this._targets[r(this._container)]=this;var t=e?St:Mt;t(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&t(window,"resize",this._onResize,this),Ye.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){M(this._resizeRequest),this._resizeRequest=x((function(){this.invalidateSize({debounceMoveend:!0})}),this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var n,i=[],a="mouseout"===t||"mouseover"===t,o=e.target||e.srcElement,s=!1;o;){if((n=this._targets[r(o)])&&("click"===t||"preclick"===t)&&this._draggableMoved(n)){s=!0;break}if(n&&n.listens(t,!0)){if(a&&!zt(o,e))break;if(i.push(n),a)break}if(o===this._container)break;o=o.parentNode}return i.length||s||a||!this.listens(t,!0)||(i=[this]),i},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var t=e.target||e.srcElement;if(!(!this._loaded||t._leaflet_disable_events||"click"===e.type&&this._isClickDisabled(t))){var n=e.type;"mousedown"===n&&bt(t),this._fireDOMEvent(e,n)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,n,i){if("click"===e.type){var a=t({},e);a.type="preclick",this._fireDOMEvent(a,a.type,i)}var r=this._findEventTargets(e,n);if(i){for(var o=[],s=0;s<i.length;s++)i[s].listens(n,!0)&&o.push(i[s]);r=o.concat(r)}if(r.length){"contextmenu"===n&&It(e);var l=r[0],u={originalEvent:e};if("keypress"!==e.type&&"keydown"!==e.type&&"keyup"!==e.type){var c=l.getLatLng&&(!l._radius||l._radius<=10);u.containerPoint=c?this.latLngToContainerPoint(l.getLatLng()):this.mouseEventToContainerPoint(e),u.layerPoint=this.containerPointToLayerPoint(u.containerPoint),u.latlng=c?l.getLatLng():this.layerPointToLatLng(u.layerPoint)}for(s=0;s<r.length;s++)if(r[s].fire(n,u,!0),u.originalEvent._stopped||!1===r[s].options.bubblingMouseEvents&&-1!==v(this._mouseEvents,n))return}},_draggableMoved:function(e){return(e=e.dragging&&e.dragging.enabled()?e:this).dragging&&e.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var e=0,t=this._handlers.length;e<t;e++)this._handlers[e].disable()},whenReady:function(e,t){return this._loaded?e.call(t||this,{target:this}):this.on("load",e,t),this},_getMapPanePos:function(){return _t(this._mapPane)||new E(0,0)},_moved:function(){var e=this._getMapPanePos();return e&&!e.equals([0,0])},_getTopLeftPoint:function(e,t){return(e&&void 0!==t?this._getNewPixelOrigin(e,t):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(e,t){var n=this.getSize()._divideBy(2);return this.project(e,t)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(e,t,n){var i=this._getNewPixelOrigin(n,t);return this.project(e,t)._subtract(i)},_latLngBoundsToNewLayerBounds:function(e,t,n){var i=this._getNewPixelOrigin(n,t);return I([this.project(e.getSouthWest(),t)._subtract(i),this.project(e.getNorthWest(),t)._subtract(i),this.project(e.getSouthEast(),t)._subtract(i),this.project(e.getNorthEast(),t)._subtract(i)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(e){return this.latLngToLayerPoint(e).subtract(this._getCenterLayerPoint())},_limitCenter:function(e,t,n){if(!n)return e;var i=this.project(e,t),a=this.getSize().divideBy(2),r=new P(i.subtract(a),i.add(a)),o=this._getBoundsOffset(r,n,t);return Math.abs(o.x)<=1&&Math.abs(o.y)<=1?e:this.unproject(i.add(o),t)},_limitOffset:function(e,t){if(!t)return e;var n=this.getPixelBounds(),i=new P(n.min.add(e),n.max.add(e));return e.add(this._getBoundsOffset(i,t))},_getBoundsOffset:function(e,t,n){var i=I(this.project(t.getNorthEast(),n),this.project(t.getSouthWest(),n)),a=i.min.subtract(e.min),r=i.max.subtract(e.max);return new E(this._rebound(a.x,-r.x),this._rebound(a.y,-r.y))},_rebound:function(e,t){return e+t>0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),n=this.getMaxZoom(),i=Ye.any3d?this.options.zoomSnap:1;return i&&(e=Math.round(e/i)*i),Math.max(t,Math.min(n,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){ut(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var n=this._getCenterOffset(e)._trunc();return!(!0!==(t&&t.animate)&&!this.getSize().contains(n)||(this.panBy(n,t),0))},_createAnimProxy:function(){var e=this._proxy=nt("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",(function(e){var t=Qe,n=this._proxy.style[t];mt(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),n===this._proxy.style[t]&&this._animatingZoom&&this._onZoomTransitionEnd()}),this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){it(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),t=this.getZoom();mt(this._proxy,this.project(e,t),this.getZoomScale(t,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var i=this.getZoomScale(t),a=this._getCenterOffset(e)._divideBy(1-1/i);return!(!0!==n.animate&&!this.getSize().contains(a)||(x((function(){this._moveStart(!0,n.noMoveStart||!1)._animateZoom(e,t,!0)}),this),0))},_animateZoom:function(e,t,n,a){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,lt(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:a}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(i(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&ut(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}}),Ut=S.extend({options:{position:"topright"},initialize:function(e){h(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var t=this._map;return t&&t.removeControl(this),this.options.position=e,t&&t.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var t=this._container=this.onAdd(e),n=this.getPosition(),i=e._controlCorners[n];return lt(t,"leaflet-control"),-1!==n.indexOf("bottom")?i.insertBefore(t,i.firstChild):i.appendChild(t),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(it(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),qt=function(e){return new Ut(e)};Wt.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},t="leaflet-",n=this._controlContainer=nt("div",t+"control-container",this._container);function i(i,a){e[i+a]=nt("div",t+i+" "+t+a,n)}i("top","left"),i("top","right"),i("bottom","left"),i("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)it(this._controlCorners[e]);it(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var Gt=Ut.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,n,i){return n<i?-1:i<n?1:0}},initialize:function(e,t,n){for(var i in h(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,e)this._addLayer(e[i],i);for(i in t)this._addLayer(t[i],i,!0)},onAdd:function(e){this._initLayout(),this._update(),this._map=e,e.on("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(e){return Ut.prototype.addTo.call(this,e),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(e,t){return this._addLayer(e,t),this._map?this._update():this},addOverlay:function(e,t){return this._addLayer(e,t,!0),this._map?this._update():this},removeLayer:function(e){e.off("add remove",this._onLayerChange,this);var t=this._getLayer(r(e));return t&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){lt(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var e=this._map.getSize().y-(this._container.offsetTop+50);return e<this._section.clientHeight?(lt(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=e+"px"):ut(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return ut(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var e="leaflet-control-layers",t=this._container=nt("div",e),n=this.options.collapsed;t.setAttribute("aria-haspopup",!0),Pt(t),Yt(t);var i=this._section=nt("section",e+"-list");n&&(this._map.on("click",this.collapse,this),Mt(t,{mouseenter:this._expandSafely,mouseleave:this.collapse},this));var a=this._layersLink=nt("a",e+"-toggle",t);a.href="#",a.title="Layers",a.setAttribute("role","button"),Mt(a,{keydown:function(e){13===e.keyCode&&this._expandSafely()},click:function(e){It(e),this._expandSafely()}},this),n||this.expand(),this._baseLayersList=nt("div",e+"-base",i),this._separator=nt("div",e+"-separator",i),this._overlaysList=nt("div",e+"-overlays",i),t.appendChild(i)},_getLayer:function(e){for(var t=0;t<this._layers.length;t++)if(this._layers[t]&&r(this._layers[t].layer)===e)return this._layers[t]},_addLayer:function(e,t,n){this._map&&e.on("add remove",this._onLayerChange,this),this._layers.push({layer:e,name:t,overlay:n}),this.options.sortLayers&&this._layers.sort(i((function(e,t){return this.options.sortFunction(e.layer,t.layer,e.name,t.name)}),this)),this.options.autoZIndex&&e.setZIndex&&(this._lastZIndex++,e.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(!this._container)return this;at(this._baseLayersList),at(this._overlaysList),this._layerControlInputs=[];var e,t,n,i,a=0;for(n=0;n<this._layers.length;n++)this._addItem(i=this._layers[n]),t=t||i.overlay,e=e||!i.overlay,a+=i.overlay?0:1;return this.options.hideSingleBase&&(this._baseLayersList.style.display=(e=e&&a>1)?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(r(e.target)),n=t.overlay?"add"===e.type?"overlayadd":"overlayremove":"add"===e.type?"baselayerchange":null;n&&this._map.fire(n,t)},_createRadioElement:function(e,t){var n='<input type="radio" class="leaflet-control-layers-selector" name="'+e+'"'+(t?' checked="checked"':"")+"/>",i=document.createElement("div");return i.innerHTML=n,i.firstChild},_addItem:function(e){var t,n=document.createElement("label"),i=this._map.hasLayer(e.layer);e.overlay?((t=document.createElement("input")).type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=i):t=this._createRadioElement("leaflet-base-layers_"+r(this),i),this._layerControlInputs.push(t),t.layerId=r(e.layer),Mt(t,"click",this._onInputClick,this);var a=document.createElement("span");a.innerHTML=" "+e.name;var o=document.createElement("span");return n.appendChild(o),o.appendChild(t),o.appendChild(a),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){if(!this._preventClick){var e,t,n=this._layerControlInputs,i=[],a=[];this._handlingClick=!0;for(var r=n.length-1;r>=0;r--)t=this._getLayer((e=n[r]).layerId).layer,e.checked?i.push(t):e.checked||a.push(t);for(r=0;r<a.length;r++)this._map.hasLayer(a[r])&&this._map.removeLayer(a[r]);for(r=0;r<i.length;r++)this._map.hasLayer(i[r])||this._map.addLayer(i[r]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var e,t,n=this._layerControlInputs,i=this._map.getZoom(),a=n.length-1;a>=0;a--)t=this._getLayer((e=n[a]).layerId).layer,e.disabled=void 0!==t.options.minZoom&&i<t.options.minZoom||void 0!==t.options.maxZoom&&i>t.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,Mt(e,"click",It),this.expand();var t=this;setTimeout((function(){St(e,"click",It),t._preventClick=!1}))}}),Zt=Ut.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">&#x2212;</span>',zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",n=nt("div",t+" leaflet-bar"),i=this.options;return this._zoomInButton=this._createButton(i.zoomInText,i.zoomInTitle,t+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(i.zoomOutText,i.zoomOutTitle,t+"-out",n,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(e.shiftKey?3:1))},_zoomOut:function(e){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,n,i,a){var r=nt("a",n,i);return r.innerHTML=e,r.href="#",r.title=t,r.setAttribute("role","button"),r.setAttribute("aria-label",t),Pt(r),Mt(r,"click",Rt),Mt(r,"click",a,this),Mt(r,"click",this._refocusOnMap,this),r},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";ut(this._zoomInButton,t),ut(this._zoomOutButton,t),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(lt(this._zoomOutButton,t),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(lt(this._zoomInButton,t),this._zoomInButton.setAttribute("aria-disabled","true"))}});Wt.mergeOptions({zoomControl:!0}),Wt.addInitHook((function(){this.options.zoomControl&&(this.zoomControl=new Zt,this.addControl(this.zoomControl))}));var Jt=Ut.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t=nt("div","leaflet-control-scale"),n=this.options;return this._addScales(n,"leaflet-control-scale-line",t),e.on(n.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),t},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,n){e.metric&&(this._mScale=nt("div",t,n)),e.imperial&&(this._iScale=nt("div",t,n))},_update:function(){var e=this._map,t=e.getSize().y/2,n=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(n)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e);this._updateScale(this._mScale,t<1e3?t+" m":t/1e3+" km",t/e)},_updateImperial:function(e){var t,n,i,a=3.2808399*e;a>5280?(n=this._getRoundNum(t=a/5280),this._updateScale(this._iScale,n+" mi",n/t)):(i=this._getRoundNum(a),this._updateScale(this._iScale,i+" ft",i/a))},_updateScale:function(e,t,n){e.style.width=Math.round(this.options.maxWidth*n)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),n=e/t;return t*(n>=10?10:n>=5?5:n>=3?3:n>=2?2:1)}}),Kt=Ut.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(Ye.inlineSvg?'<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> ':"")+"Leaflet</a>"},initialize:function(e){h(this,e),this._attributions={}},onAdd:function(e){for(var t in e.attributionControl=this,this._container=nt("div","leaflet-control-attribution"),Pt(this._container),e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",(function(){this.removeAttribution(e.layer.getAttribution())}),this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(", ")),this._container.innerHTML=n.join(' <span aria-hidden="true">|</span> ')}}});Wt.mergeOptions({attributionControl:!0}),Wt.addInitHook((function(){this.options.attributionControl&&(new Kt).addTo(this)})),Ut.Layers=Gt,Ut.Zoom=Zt,Ut.Scale=Jt,Ut.Attribution=Kt,qt.layers=function(e,t,n){return new Gt(e,t,n)},qt.zoom=function(e){return new Zt(e)},qt.scale=function(e){return new Jt(e)},qt.attribution=function(e){return new Kt(e)};var Qt=S.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});Qt.addTo=function(e,t){return e.addHandler(t,this),this};var Xt={Events:T},$t=Ye.touch?"touchstart mousedown":"mousedown",en=A.extend({options:{clickTolerance:3},initialize:function(e,t,n,i){h(this,i),this._element=e,this._dragStartTarget=t||e,this._preventOutline=n},enable:function(){this._enabled||(Mt(this._dragStartTarget,$t,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(en._dragging===this&&this.finishDrag(!0),St(this._dragStartTarget,$t,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!st(this._element,"leaflet-zoom-anim")))if(e.touches&&1!==e.touches.length)en._dragging===this&&this.finishDrag();else if(!(en._dragging||e.shiftKey||1!==e.which&&1!==e.button&&!e.touches||(en._dragging=this,this._preventOutline&&bt(this._element),gt(),qe(),this._moving))){this.fire("down");var t=e.touches?e.touches[0]:e,n=wt(this._element);this._startPoint=new E(t.clientX,t.clientY),this._startPos=_t(this._element),this._parentScale=Ct(n);var i="mousedown"===e.type;Mt(document,i?"mousemove":"touchmove",this._onMove,this),Mt(document,i?"mouseup":"touchend touchcancel",this._onUp,this)}},_onMove:function(e){if(this._enabled)if(e.touches&&e.touches.length>1)this._moved=!0;else{var t=e.touches&&1===e.touches.length?e.touches[0]:e,n=new E(t.clientX,t.clientY)._subtract(this._startPoint);(n.x||n.y)&&(Math.abs(n.x)+Math.abs(n.y)<this.options.clickTolerance||(n.x/=this._parentScale.x,n.y/=this._parentScale.y,It(e),this._moved||(this.fire("dragstart"),this._moved=!0,lt(document.body,"leaflet-dragging"),this._lastTarget=e.target||e.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),lt(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(n),this._moving=!0,this._lastEvent=e,this._updatePosition()))}},_updatePosition:function(){var e={originalEvent:this._lastEvent};this.fire("predrag",e),pt(this._element,this._newPos),this.fire("drag",e)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(e){ut(document.body,"leaflet-dragging"),this._lastTarget&&(ut(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),St(document,"mousemove touchmove",this._onMove,this),St(document,"mouseup touchend touchcancel",this._onUp,this),yt(),Ge();var t=this._moved&&this._moving;this._moving=!1,en._dragging=!1,t&&this.fire("dragend",{noInertia:e,distance:this._newPos.distanceTo(this._startPos)})}});function tn(e,t,n){var i,a,r,o,s,l,u,c,d,h=[1,4,2,8];for(a=0,u=e.length;a<u;a++)e[a]._code=dn(e[a],t);for(o=0;o<4;o++){for(c=h[o],i=[],a=0,r=(u=e.length)-1;a<u;r=a++)l=e[r],(s=e[a])._code&c?l._code&c||((d=cn(l,s,c,t,n))._code=dn(d,t),i.push(d)):(l._code&c&&((d=cn(l,s,c,t,n))._code=dn(d,t),i.push(d)),i.push(s));e=i}return e}function nn(e,t){var n,i,a,r,o,s,l,u;if(!e||0===e.length)throw new Error("latlngs not passed");fn(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var c=H([0,0]),d=F(e);d.getNorthWest().distanceTo(d.getSouthWest())*d.getNorthEast().distanceTo(d.getNorthWest())<1700&&(c=an(e));var h=e.length,f=[];for(n=0;n<h;n++){var m=H(e[n]);f.push(t.project(H([m.lat-c.lat,m.lng-c.lng])))}for(s=l=u=0,n=0,i=h-1;n<h;i=n++)l+=((a=f[n]).x+(r=f[i]).x)*(o=a.y*r.x-r.y*a.x),u+=(a.y+r.y)*o,s+=3*o;var p=t.unproject(Y(0===s?f[0]:[l/s,u/s]));return H([p.lat+c.lat,p.lng+c.lng])}function an(e){for(var t=0,n=0,i=0,a=0;a<e.length;a++){var r=H(e[a]);t+=r.lat,n+=r.lng,i++}return H([t/i,n/i])}var rn,on={__proto__:null,clipPolygon:tn,polygonCenter:nn,centroid:an};function sn(e,t){if(!t||!e.length)return e.slice();var n=t*t;return function(e,t){var n=e.length,i=new(typeof Uint8Array!=void 0+""?Uint8Array:Array)(n);i[0]=i[n-1]=1,function e(t,n,i,a,r){var o,s,l,u=0;for(s=a+1;s<=r-1;s++)(l=hn(t[s],t[a],t[r],!0))>u&&(o=s,u=l);u>i&&(n[o]=1,e(t,n,i,a,o),e(t,n,i,o,r))}(e,i,t,0,n-1);var a,r=[];for(a=0;a<n;a++)i[a]&&r.push(e[a]);return r}(e=function(e,t){for(var n=[e[0]],i=1,a=0,r=e.length;i<r;i++)(l=(s=e[a]).x-(o=e[i]).x)*l+(u=s.y-o.y)*u>t&&(n.push(e[i]),a=i);var o,s,l,u;return a<r-1&&n.push(e[r-1]),n}(e,n),n)}function ln(e,t,n){return Math.sqrt(hn(e,t,n,!0))}function un(e,t,n,i,a){var r,o,s,l=i?rn:dn(e,n),u=dn(t,n);for(rn=u;;){if(!(l|u))return[e,t];if(l&u)return!1;s=dn(o=cn(e,t,r=l||u,n,a),n),r===l?(e=o,l=s):(t=o,u=s)}}function cn(e,t,n,i,a){var r,o,s=t.x-e.x,l=t.y-e.y,u=i.min,c=i.max;return 8&n?(r=e.x+s*(c.y-e.y)/l,o=c.y):4&n?(r=e.x+s*(u.y-e.y)/l,o=u.y):2&n?(r=c.x,o=e.y+l*(c.x-e.x)/s):1&n&&(r=u.x,o=e.y+l*(u.x-e.x)/s),new E(r,o,a)}function dn(e,t){var n=0;return e.x<t.min.x?n|=1:e.x>t.max.x&&(n|=2),e.y<t.min.y?n|=4:e.y>t.max.y&&(n|=8),n}function hn(e,t,n,i){var a,r=t.x,o=t.y,s=n.x-r,l=n.y-o,u=s*s+l*l;return u>0&&((a=((e.x-r)*s+(e.y-o)*l)/u)>1?(r=n.x,o=n.y):a>0&&(r+=s*a,o+=l*a)),s=e.x-r,l=e.y-o,i?s*s+l*l:new E(r,o)}function fn(e){return!_(e[0])||"object"!=typeof e[0][0]&&void 0!==e[0][0]}function mn(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),fn(e)}function pn(e,t){var n,i,a,r,o,s,l,u;if(!e||0===e.length)throw new Error("latlngs not passed");fn(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var c=H([0,0]),d=F(e);d.getNorthWest().distanceTo(d.getSouthWest())*d.getNorthEast().distanceTo(d.getNorthWest())<1700&&(c=an(e));var h=e.length,f=[];for(n=0;n<h;n++){var m=H(e[n]);f.push(t.project(H([m.lat-c.lat,m.lng-c.lng])))}for(n=0,i=0;n<h-1;n++)i+=f[n].distanceTo(f[n+1])/2;if(0===i)u=f[0];else for(n=0,r=0;n<h-1;n++)if((r+=a=(o=f[n]).distanceTo(s=f[n+1]))>i){u=[s.x-(l=(r-i)/a)*(s.x-o.x),s.y-l*(s.y-o.y)];break}var p=t.unproject(Y(u));return H([p.lat+c.lat,p.lng+c.lng])}var _n={__proto__:null,simplify:sn,pointToSegmentDistance:ln,closestPointOnSegment:function(e,t,n){return hn(e,t,n)},clipSegment:un,_getEdgeIntersection:cn,_getBitCode:dn,_sqClosestPointOnSegment:hn,isFlat:fn,_flat:mn,polylineCenter:pn},vn={project:function(e){return new E(e.lng,e.lat)},unproject:function(e){return new j(e.y,e.x)},bounds:new P([-180,-90],[180,90])},gn={R:6378137,R_MINOR:6356752.314245179,bounds:new P([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(e){var t=Math.PI/180,n=this.R,i=e.lat*t,a=this.R_MINOR/n,r=Math.sqrt(1-a*a),o=r*Math.sin(i),s=Math.tan(Math.PI/4-i/2)/Math.pow((1-o)/(1+o),r/2);return i=-n*Math.log(Math.max(s,1e-10)),new E(e.lng*t*n,i)},unproject:function(e){for(var t,n=180/Math.PI,i=this.R,a=this.R_MINOR/i,r=Math.sqrt(1-a*a),o=Math.exp(-e.y/i),s=Math.PI/2-2*Math.atan(o),l=0,u=.1;l<15&&Math.abs(u)>1e-7;l++)t=r*Math.sin(s),t=Math.pow((1-t)/(1+t),r/2),s+=u=Math.PI/2-2*Math.atan(o*t)-s;return new j(s*n,e.x*n/i)}},yn={__proto__:null,LonLat:vn,Mercator:gn,SphericalMercator:B},bn=t({},V,{code:"EPSG:3395",projection:gn,transformation:function(){var e=.5/(Math.PI*gn.R);return U(e,.5,-e,.5)}()}),kn=t({},V,{code:"EPSG:4326",projection:vn,transformation:U(1/180,1,-1/180,.5)}),wn=t({},z,{projection:vn,transformation:U(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,t){var n=t.lng-e.lng,i=t.lat-e.lat;return Math.sqrt(n*n+i*i)},infinite:!0});z.Earth=V,z.EPSG3395=bn,z.EPSG3857=G,z.EPSG900913=Z,z.EPSG4326=kn,z.Simple=wn;var Cn=A.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[r(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[r(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var n=this.getEvents();t.on(n,this),this.once("remove",(function(){t.off(n,this)}),this)}this.onAdd(t),this.fire("add"),t.fire("layeradd",{layer:this})}}});Wt.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var t=r(e);return this._layers[t]||(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e)),this},removeLayer:function(e){var t=r(e);return this._layers[t]?(this._loaded&&e.onRemove(this),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return r(e)in this._layers},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},_addLayers:function(e){for(var t=0,n=(e=e?_(e)?e:[e]:[]).length;t<n;t++)this.addLayer(e[t])},_addZoomLimit:function(e){isNaN(e.options.maxZoom)&&isNaN(e.options.minZoom)||(this._zoomBoundLayers[r(e)]=e,this._updateZoomLevels())},_removeZoomLimit:function(e){var t=r(e);this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var e=1/0,t=-1/0,n=this._getZoomSpan();for(var i in this._zoomBoundLayers){var a=this._zoomBoundLayers[i].options;e=void 0===a.minZoom?e:Math.min(e,a.minZoom),t=void 0===a.maxZoom?t:Math.max(t,a.maxZoom)}this._layersMaxZoom=t===-1/0?void 0:t,this._layersMinZoom=e===1/0?void 0:e,n!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}});var xn=Cn.extend({initialize:function(e,t){var n,i;if(h(this,t),this._layers={},e)for(n=0,i=e.length;n<i;n++)this.addLayer(e[n])},addLayer:function(e){var t=this.getLayerId(e);return this._layers[t]=e,this._map&&this._map.addLayer(e),this},removeLayer:function(e){var t=e in this._layers?e:this.getLayerId(e);return this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(e){return("number"==typeof e?e:this.getLayerId(e))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(e){var t,n,i=Array.prototype.slice.call(arguments,1);for(t in this._layers)(n=this._layers[t])[e]&&n[e].apply(n,i);return this},onAdd:function(e){this.eachLayer(e.addLayer,e)},onRemove:function(e){this.eachLayer(e.removeLayer,e)},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},getLayer:function(e){return this._layers[e]},getLayers:function(){var e=[];return this.eachLayer(e.push,e),e},setZIndex:function(e){return this.invoke("setZIndex",e)},getLayerId:function(e){return r(e)}}),Mn=xn.extend({addLayer:function(e){return this.hasLayer(e)?this:(e.addEventParent(this),xn.prototype.addLayer.call(this,e),this.fire("layeradd",{layer:e}))},removeLayer:function(e){return this.hasLayer(e)?(e in this._layers&&(e=this._layers[e]),e.removeEventParent(this),xn.prototype.removeLayer.call(this,e),this.fire("layerremove",{layer:e})):this},setStyle:function(e){return this.invoke("setStyle",e)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var e=new R;for(var t in this._layers){var n=this._layers[t];e.extend(n.getBounds?n.getBounds():n.getLatLng())}return e}}),Dn=S.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(e){h(this,e)},createIcon:function(e){return this._createIcon("icon",e)},createShadow:function(e){return this._createIcon("shadow",e)},_createIcon:function(e,t){var n=this._getIconUrl(e);if(!n){if("icon"===e)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var i=this._createImg(n,t&&"IMG"===t.tagName?t:null);return this._setIconStyles(i,e),(this.options.crossOrigin||""===this.options.crossOrigin)&&(i.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),i},_setIconStyles:function(e,t){var n=this.options,i=n[t+"Size"];"number"==typeof i&&(i=[i,i]);var a=Y(i),r=Y("shadow"===t&&n.shadowAnchor||n.iconAnchor||a&&a.divideBy(2,!0));e.className="leaflet-marker-"+t+" "+(n.className||""),r&&(e.style.marginLeft=-r.x+"px",e.style.marginTop=-r.y+"px"),a&&(e.style.width=a.x+"px",e.style.height=a.y+"px")},_createImg:function(e,t){return(t=t||document.createElement("img")).src=e,t},_getIconUrl:function(e){return Ye.retina&&this.options[e+"RetinaUrl"]||this.options[e+"Url"]}}),Sn=Dn.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return"string"!=typeof Sn.imagePath&&(Sn.imagePath=this._detectIconPath()),(this.options.imagePath||Sn.imagePath)+Dn.prototype._getIconUrl.call(this,e)},_stripUrl:function(e){var t=function(e,t,n){var i=t.exec(e);return i&&i[n]};return(e=t(e,/^url\((['"])?(.+)\1\)$/,2))&&t(e,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var e=nt("div","leaflet-default-icon-path",document.body),t=tt(e,"background-image")||tt(e,"backgroundImage");if(document.body.removeChild(e),t=this._stripUrl(t))return t;var n=document.querySelector('link[href$="leaflet.css"]');return n?n.href.substring(0,n.href.length-"leaflet.css".length-1):""}}),Ln=Qt.extend({initialize:function(e){this._marker=e},addHooks:function(){var e=this._marker._icon;this._draggable||(this._draggable=new en(e,e,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),lt(e,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&ut(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(e){var t=this._marker,n=t._map,i=this._marker.options.autoPanSpeed,a=this._marker.options.autoPanPadding,r=_t(t._icon),o=n.getPixelBounds(),s=n.getPixelOrigin(),l=I(o.min._subtract(s).add(a),o.max._subtract(s).subtract(a));if(!l.contains(r)){var u=Y((Math.max(l.max.x,r.x)-l.max.x)/(o.max.x-l.max.x)-(Math.min(l.min.x,r.x)-l.min.x)/(o.min.x-l.min.x),(Math.max(l.max.y,r.y)-l.max.y)/(o.max.y-l.max.y)-(Math.min(l.min.y,r.y)-l.min.y)/(o.min.y-l.min.y)).multiplyBy(i);n.panBy(u,{animate:!1}),this._draggable._newPos._add(u),this._draggable._startPos._add(u),pt(t._icon,this._draggable._newPos),this._onDrag(e),this._panRequest=x(this._adjustPan.bind(this,e))}},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(e){this._marker.options.autoPan&&(M(this._panRequest),this._panRequest=x(this._adjustPan.bind(this,e)))},_onDrag:function(e){var t=this._marker,n=t._shadow,i=_t(t._icon),a=t._map.layerPointToLatLng(i);n&&pt(n,i),t._latlng=a,e.latlng=a,e.oldLatLng=this._oldLatLng,t.fire("move",e).fire("drag",e)},_onDragEnd:function(e){M(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",e)}}),Tn=Cn.extend({options:{icon:new Sn,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(e,t){h(this,t),this._latlng=H(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&e.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=H(e),this.update(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},getIcon:function(){return this.options.icon},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon&&this._map){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,t="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=e.icon.createIcon(this._icon),i=!1;n!==this._icon&&(this._icon&&this._removeIcon(),i=!0,e.title&&(n.title=e.title),"IMG"===n.tagName&&(n.alt=e.alt||"")),lt(n,t),e.keyboard&&(n.tabIndex="0",n.setAttribute("role","button")),this._icon=n,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&Mt(n,"focus",this._panOnFocus,this);var a=e.icon.createShadow(this._shadow),r=!1;a!==this._shadow&&(this._removeShadow(),r=!0),a&&(lt(a,t),a.alt=""),this._shadow=a,e.opacity<1&&this._updateOpacity(),i&&this.getPane().appendChild(this._icon),this._initInteraction(),a&&r&&this.getPane(e.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&St(this._icon,"focus",this._panOnFocus,this),it(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&it(this._shadow),this._shadow=null},_setPos:function(e){this._icon&&pt(this._icon,e),this._shadow&&pt(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon&&(this._icon.style.zIndex=this._zIndex+e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(t)},_initInteraction:function(){if(this.options.interactive&&(lt(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),Ln)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new Ln(this),e&&this.dragging.enable()}},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;this._icon&&ht(this._icon,e),this._shadow&&ht(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var e=this._map;if(e){var t=this.options.icon.options,n=t.iconSize?Y(t.iconSize):Y(0,0),i=t.iconAnchor?Y(t.iconAnchor):Y(0,0);e.panInside(this._latlng,{paddingTopLeft:i,paddingBottomRight:n.subtract(i)})}},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),An=Cn.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(e){this._renderer=e.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(e){return h(this,e),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&e&&Object.prototype.hasOwnProperty.call(e,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),En=An.extend({options:{fill:!0,radius:10},initialize:function(e,t){h(this,t),this._latlng=H(e),this._radius=this.options.radius},setLatLng:function(e){var t=this._latlng;return this._latlng=H(e),this.redraw(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(e){return this.options.radius=this._radius=e,this.redraw()},getRadius:function(){return this._radius},setStyle:function(e){var t=e&&e.radius||this._radius;return An.prototype.setStyle.call(this,e),this.setRadius(t),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var e=this._radius,t=this._radiusY||e,n=this._clickTolerance(),i=[e+n,t+n];this._pxBounds=new P(this._point.subtract(i),this._point.add(i))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),On=En.extend({initialize:function(e,n,i){if("number"==typeof n&&(n=t({},i,{radius:n})),h(this,n),this._latlng=H(e),isNaN(this.options.radius))throw new Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(e){return this._mRadius=e,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var e=[this._radius,this._radiusY||this._radius];return new R(this._map.layerPointToLatLng(this._point.subtract(e)),this._map.layerPointToLatLng(this._point.add(e)))},setStyle:An.prototype.setStyle,_project:function(){var e=this._latlng.lng,t=this._latlng.lat,n=this._map,i=n.options.crs;if(i.distance===V.distance){var a=Math.PI/180,r=this._mRadius/V.R/a,o=n.project([t+r,e]),s=n.project([t-r,e]),l=o.add(s).divideBy(2),u=n.unproject(l).lat,c=Math.acos((Math.cos(r*a)-Math.sin(t*a)*Math.sin(u*a))/(Math.cos(t*a)*Math.cos(u*a)))/a;(isNaN(c)||0===c)&&(c=r/Math.cos(Math.PI/180*t)),this._point=l.subtract(n.getPixelOrigin()),this._radius=isNaN(c)?0:l.x-n.project([u,e-c]).x,this._radiusY=l.y-o.y}else{var d=i.unproject(i.project(this._latlng).subtract([this._mRadius,0]));this._point=n.latLngToLayerPoint(this._latlng),this._radius=this._point.x-n.latLngToLayerPoint(d).x}this._updateBounds()}}),Yn=An.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){h(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t,n,i=1/0,a=null,r=hn,o=0,s=this._parts.length;o<s;o++)for(var l=this._parts[o],u=1,c=l.length;u<c;u++){var d=r(e,t=l[u-1],n=l[u],!0);d<i&&(i=d,a=r(e,t,n))}return a&&(a.distance=Math.sqrt(i)),a},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return pn(this._defaultShape(),this._map.options.crs)},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t=t||this._defaultShape(),e=H(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new R,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return fn(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],n=fn(e),i=0,a=e.length;i<a;i++)n?(t[i]=H(e[i]),this._bounds.extend(t[i])):t[i]=this._convertLatLngs(e[i]);return t},_project:function(){var e=new P;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,e),this._bounds.isValid()&&e.isValid()&&(this._rawPxBounds=e,this._updateBounds())},_updateBounds:function(){var e=this._clickTolerance(),t=new E(e,e);this._rawPxBounds&&(this._pxBounds=new P([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)]))},_projectLatlngs:function(e,t,n){var i,a,r=e.length;if(e[0]instanceof j){for(a=[],i=0;i<r;i++)a[i]=this._map.latLngToLayerPoint(e[i]),n.extend(a[i]);t.push(a)}else for(i=0;i<r;i++)this._projectLatlngs(e[i],t,n)},_clipPoints:function(){var e=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else{var t,n,i,a,r,o,s,l=this._parts;for(t=0,i=0,a=this._rings.length;t<a;t++)for(n=0,r=(s=this._rings[t]).length;n<r-1;n++)(o=un(s[n],s[n+1],e,n,!0))&&(l[i]=l[i]||[],l[i].push(o[0]),o[1]===s[n+1]&&n!==r-2||(l[i].push(o[1]),i++))}},_simplifyPoints:function(){for(var e=this._parts,t=this.options.smoothFactor,n=0,i=e.length;n<i;n++)e[n]=sn(e[n],t)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(e,t){var n,i,a,r,o,s,l=this._clickTolerance();if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(n=0,r=this._parts.length;n<r;n++)for(i=0,a=(o=(s=this._parts[n]).length)-1;i<o;a=i++)if((t||0!==i)&&ln(e,s[a],s[i])<=l)return!0;return!1}});Yn._flat=mn;var Pn=Yn.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(!this._map)throw new Error("Must add layer to map before using getCenter()");return nn(this._defaultShape(),this._map.options.crs)},_convertLatLngs:function(e){var t=Yn.prototype._convertLatLngs.call(this,e),n=t.length;return n>=2&&t[0]instanceof j&&t[0].equals(t[n-1])&&t.pop(),t},_setLatLngs:function(e){Yn.prototype._setLatLngs.call(this,e),fn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return fn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,n=new E(t,t);if(e=new P(e.min.subtract(n),e.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e))if(this.options.noClip)this._parts=this._rings;else for(var i,a=0,r=this._rings.length;a<r;a++)(i=tn(this._rings[a],e,!0)).length&&this._parts.push(i)},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(e){var t,n,i,a,r,o,s,l,u=!1;if(!this._pxBounds||!this._pxBounds.contains(e))return!1;for(a=0,s=this._parts.length;a<s;a++)for(r=0,o=(l=(t=this._parts[a]).length)-1;r<l;o=r++)(n=t[r]).y>e.y!=(i=t[o]).y>e.y&&e.x<(i.x-n.x)*(e.y-n.y)/(i.y-n.y)+n.x&&(u=!u);return u||Yn.prototype._containsPoint.call(this,e,!0)}}),In=Mn.extend({initialize:function(e,t){h(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,n,i,a=_(e)?e:e.features;if(a){for(t=0,n=a.length;t<n;t++)((i=a[t]).geometries||i.geometry||i.features||i.coordinates)&&this.addData(i);return this}var r=this.options;if(r.filter&&!r.filter(e))return this;var o=Rn(e,r);return o?(o.feature=Bn(e),o.defaultOptions=o.options,this.resetStyle(o),r.onEachFeature&&r.onEachFeature(e,o),this.addLayer(o)):this},resetStyle:function(e){return void 0===e?this.eachLayer(this.resetStyle,this):(e.options=t({},e.defaultOptions),this._setLayerStyle(e,this.options.style),this)},setStyle:function(e){return this.eachLayer((function(t){this._setLayerStyle(t,e)}),this)},_setLayerStyle:function(e,t){e.setStyle&&("function"==typeof t&&(t=t(e.feature)),e.setStyle(t))}});function Rn(e,t){var n,i,a,r,o="Feature"===e.type?e.geometry:e,s=o?o.coordinates:null,l=[],u=t&&t.pointToLayer,c=t&&t.coordsToLatLng||jn;if(!s&&!o)return null;switch(o.type){case"Point":return Fn(u,e,n=c(s),t);case"MultiPoint":for(a=0,r=s.length;a<r;a++)n=c(s[a]),l.push(Fn(u,e,n,t));return new Mn(l);case"LineString":case"MultiLineString":return i=Hn(s,"LineString"===o.type?0:1,c),new Yn(i,t);case"Polygon":case"MultiPolygon":return i=Hn(s,"Polygon"===o.type?1:2,c),new Pn(i,t);case"GeometryCollection":for(a=0,r=o.geometries.length;a<r;a++){var d=Rn({geometry:o.geometries[a],type:"Feature",properties:e.properties},t);d&&l.push(d)}return new Mn(l);case"FeatureCollection":for(a=0,r=o.features.length;a<r;a++){var h=Rn(o.features[a],t);h&&l.push(h)}return new Mn(l);default:throw new Error("Invalid GeoJSON object.")}}function Fn(e,t,n,i){return e?e(t,n):new Tn(n,i&&i.markersInheritOptions&&i)}function jn(e){return new j(e[1],e[0],e[2])}function Hn(e,t,n){for(var i,a=[],r=0,o=e.length;r<o;r++)i=t?Hn(e[r],t-1,n):(n||jn)(e[r]),a.push(i);return a}function Nn(e,t){return void 0!==(e=H(e)).alt?[u(e.lng,t),u(e.lat,t),u(e.alt,t)]:[u(e.lng,t),u(e.lat,t)]}function zn(e,t,n,i){for(var a=[],r=0,o=e.length;r<o;r++)a.push(t?zn(e[r],fn(e[r])?0:t-1,n,i):Nn(e[r],i));return!t&&n&&a.length>0&&a.push(a[0].slice()),a}function Vn(e,n){return e.feature?t({},e.feature,{geometry:n}):Bn(n)}function Bn(e){return"Feature"===e.type||"FeatureCollection"===e.type?e:{type:"Feature",properties:{},geometry:e}}var Wn={toGeoJSON:function(e){return Vn(this,{type:"Point",coordinates:Nn(this.getLatLng(),e)})}};function Un(e,t){return new In(e,t)}Tn.include(Wn),On.include(Wn),En.include(Wn),Yn.include({toGeoJSON:function(e){var t=!fn(this._latlngs);return Vn(this,{type:(t?"Multi":"")+"LineString",coordinates:zn(this._latlngs,t?1:0,!1,e)})}}),Pn.include({toGeoJSON:function(e){var t=!fn(this._latlngs),n=t&&!fn(this._latlngs[0]),i=zn(this._latlngs,n?2:t?1:0,!0,e);return t||(i=[i]),Vn(this,{type:(n?"Multi":"")+"Polygon",coordinates:i})}}),xn.include({toMultiPoint:function(e){var t=[];return this.eachLayer((function(n){t.push(n.toGeoJSON(e).geometry.coordinates)})),Vn(this,{type:"MultiPoint",coordinates:t})},toGeoJSON:function(e){var t=this.feature&&this.feature.geometry&&this.feature.geometry.type;if("MultiPoint"===t)return this.toMultiPoint(e);var n="GeometryCollection"===t,i=[];return this.eachLayer((function(t){if(t.toGeoJSON){var a=t.toGeoJSON(e);if(n)i.push(a.geometry);else{var r=Bn(a);"FeatureCollection"===r.type?i.push.apply(i,r.features):i.push(r)}}})),n?Vn(this,{geometries:i,type:"GeometryCollection"}):{type:"FeatureCollection",features:i}}});var qn=Un,Gn=Cn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,t,n){this._url=e,this._bounds=F(t),h(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(lt(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){it(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&rt(this._image),this},bringToBack:function(){return this._map&&ot(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=F(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e="IMG"===this._url.tagName,t=this._image=e?this._url:nt("img");lt(t,"leaflet-image-layer"),this._zoomAnimated&&lt(t,"leaflet-zoom-animated"),this.options.className&&lt(t,this.options.className),t.onselectstart=l,t.onmousemove=l,t.onload=i(this.fire,this,"load"),t.onerror=i(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(t.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e?this._url=t.src:(t.src=this._url,t.alt=this.options.alt)},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;mt(this._image,n,t)},_reset:function(){var e=this._image,t=new P(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=t.getSize();pt(e,t.min),e.style.width=n.x+"px",e.style.height=n.y+"px"},_updateOpacity:function(){ht(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&null!=this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),Zn=Gn.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e="VIDEO"===this._url.tagName,t=this._image=e?this._url:nt("video");if(lt(t,"leaflet-image-layer"),this._zoomAnimated&&lt(t,"leaflet-zoom-animated"),this.options.className&&lt(t,this.options.className),t.onselectstart=l,t.onmousemove=l,t.onloadeddata=i(this.fire,this,"load"),e){for(var n=t.getElementsByTagName("source"),a=[],r=0;r<n.length;r++)a.push(n[r].src);this._url=n.length>0?a:[t.src]}else{_(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(t.style,"objectFit")&&(t.style.objectFit="fill"),t.autoplay=!!this.options.autoplay,t.loop=!!this.options.loop,t.muted=!!this.options.muted,t.playsInline=!!this.options.playsInline;for(var o=0;o<this._url.length;o++){var s=nt("source");s.src=this._url[o],t.appendChild(s)}}}}),Jn=Gn.extend({_initImage:function(){var e=this._image=this._url;lt(e,"leaflet-image-layer"),this._zoomAnimated&&lt(e,"leaflet-zoom-animated"),this.options.className&&lt(e,this.options.className),e.onselectstart=l,e.onmousemove=l}}),Kn=Cn.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(e,t){e&&(e instanceof j||_(e))?(this._latlng=H(e),h(this,t)):(h(this,e),this._source=t),this.options.content&&(this._content=this.options.content)},openOn:function(e){return(e=arguments.length?e:this._source._map).hasLayer(this)||e.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(e){return this._map?this.close():(arguments.length?this._source=e:e=this._source,this._prepareOpen(),this.openOn(e._map)),this},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&ht(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&ht(this._container,1),this.bringToFront(),this.options.interactive&&(lt(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(e){e._fadeAnimated?(ht(this._container,0),this._removeTimeout=setTimeout(i(it,void 0,this._container),200)):it(this._container),this.options.interactive&&(ut(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=H(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&rt(this._container),this},bringToBack:function(){return this._map&&ot(this._container),this},_prepareOpen:function(e){var t=this._source;if(!t._map)return!1;if(t instanceof Mn){t=null;var n=this._source._layers;for(var i in n)if(n[i]._map){t=n[i];break}if(!t)return!1;this._source=t}if(!e)if(t.getCenter)e=t.getCenter();else if(t.getLatLng)e=t.getLatLng();else{if(!t.getBounds)throw new Error("Unable to get source layer LatLng.");e=t.getBounds().getCenter()}return this.setLatLng(e),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var e=this._contentNode,t="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof t)e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),t=Y(this.options.offset),n=this._getAnchor();this._zoomAnimated?pt(this._container,e.add(n)):t=t.add(e).add(n);var i=this._containerBottom=-t.y,a=this._containerLeft=-Math.round(this._containerWidth/2)+t.x;this._container.style.bottom=i+"px",this._container.style.left=a+"px"}},_getAnchor:function(){return[0,0]}});Wt.include({_initOverlay:function(e,t,n,i){var a=t;return a instanceof e||(a=new e(i).setContent(t)),n&&a.setLatLng(n),a}}),Cn.include({_initOverlay:function(e,t,n,i){var a=n;return a instanceof e?(h(a,i),a._source=this):(a=t&&!i?t:new e(i,this)).setContent(n),a}});var Qn=Kn.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(e){return!(e=arguments.length?e:this._source._map).hasLayer(this)&&e._popup&&e._popup.options.autoClose&&e.removeLayer(e._popup),e._popup=this,Kn.prototype.openOn.call(this,e)},onAdd:function(e){Kn.prototype.onAdd.call(this,e),e.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof An||this._source.on("preclick",Ot))},onRemove:function(e){Kn.prototype.onRemove.call(this,e),e.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof An||this._source.off("preclick",Ot))},getEvents:function(){var e=Kn.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(e.preclick=this.close),this.options.keepInView&&(e.moveend=this._adjustPan),e},_initLayout:function(){var e="leaflet-popup",t=this._container=nt("div",e+" "+(this.options.className||"")+" leaflet-zoom-animated"),n=this._wrapper=nt("div",e+"-content-wrapper",t);if(this._contentNode=nt("div",e+"-content",n),Pt(t),Yt(this._contentNode),Mt(t,"contextmenu",Ot),this._tipContainer=nt("div",e+"-tip-container",t),this._tip=nt("div",e+"-tip",this._tipContainer),this.options.closeButton){var i=this._closeButton=nt("a",e+"-close-button",t);i.setAttribute("role","button"),i.setAttribute("aria-label","Close popup"),i.href="#close",i.innerHTML='<span aria-hidden="true">&#215;</span>',Mt(i,"click",(function(e){It(e),this.close()}),this)}},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width="",t.whiteSpace="nowrap";var n=e.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),t.width=n+1+"px",t.whiteSpace="",t.height="";var i=this.options.maxHeight;i&&e.offsetHeight>i?(t.height=i+"px",lt(e,"leaflet-popup-scrolled")):ut(e,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),n=this._getAnchor();pt(this._container,t.add(n))},_adjustPan:function(){if(this.options.autoPan)if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning)this._autopanning=!1;else{var e=this._map,t=parseInt(tt(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+t,i=this._containerWidth,a=new E(this._containerLeft,-n-this._containerBottom);a._add(_t(this._container));var r=e.layerPointToContainerPoint(a),o=Y(this.options.autoPanPadding),s=Y(this.options.autoPanPaddingTopLeft||o),l=Y(this.options.autoPanPaddingBottomRight||o),u=e.getSize(),c=0,d=0;r.x+i+l.x>u.x&&(c=r.x+i-u.x+l.x),r.x-c-s.x<0&&(c=r.x-s.x),r.y+n+l.y>u.y&&(d=r.y+n-u.y+l.y),r.y-d-s.y<0&&(d=r.y-s.y),(c||d)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([c,d]))}},_getAnchor:function(){return Y(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}});Wt.mergeOptions({closePopupOnClick:!0}),Wt.include({openPopup:function(e,t,n){return this._initOverlay(Qn,e,t,n).openOn(this),this},closePopup:function(e){return(e=arguments.length?e:this._popup)&&e.close(),this}}),Cn.include({bindPopup:function(e,t){return this._popup=this._initOverlay(Qn,this._popup,e,t),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e){return this._popup&&(this instanceof Mn||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(this._popup&&this._map){Rt(e);var t=e.layer||e.target;this._popup._source!==t||t instanceof An?(this._popup._source=t,this.openPopup(e.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){13===e.originalEvent.keyCode&&this._openPopup(e)}});var Xn=Kn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Kn.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){Kn.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=Kn.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){this._contentNode=this._container=nt("div","leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide")),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+r(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t,n,i=this._map,a=this._container,r=i.latLngToContainerPoint(i.getCenter()),o=i.layerPointToContainerPoint(e),s=this.options.direction,l=a.offsetWidth,u=a.offsetHeight,c=Y(this.options.offset),d=this._getAnchor();"top"===s?(t=l/2,n=u):"bottom"===s?(t=l/2,n=0):"center"===s?(t=l/2,n=u/2):"right"===s?(t=0,n=u/2):"left"===s?(t=l,n=u/2):o.x<r.x?(s="right",t=0,n=u/2):(s="left",t=l+2*(c.x+d.x),n=u/2),e=e.subtract(Y(t,n,!0)).add(c).add(d),ut(a,"leaflet-tooltip-right"),ut(a,"leaflet-tooltip-left"),ut(a,"leaflet-tooltip-top"),ut(a,"leaflet-tooltip-bottom"),lt(a,"leaflet-tooltip-"+s),pt(a,e)},_updatePosition:function(){var e=this._map.latLngToLayerPoint(this._latlng);this._setPosition(e)},setOpacity:function(e){this.options.opacity=e,this._container&&ht(this._container,e)},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center);this._setPosition(t)},_getAnchor:function(){return Y(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}});Wt.include({openTooltip:function(e,t,n){return this._initOverlay(Xn,e,t,n).openOn(this),this},closeTooltip:function(e){return e.close(),this}}),Cn.include({bindTooltip:function(e,t){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(Xn,this._tooltip,e,t),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(e){if(e||!this._tooltipHandlersAdded){var t=e?"off":"on",n={remove:this.closeTooltip,move:this._moveTooltip};this._tooltip.options.permanent?n.add=this._openTooltip:(n.mouseover=this._openTooltip,n.mouseout=this.closeTooltip,n.click=this._openTooltip,this._map?this._addFocusListeners():n.add=this._addFocusListeners),this._tooltip.options.sticky&&(n.mousemove=this._moveTooltip),this[t](n),this._tooltipHandlersAdded=!e}},openTooltip:function(e){return this._tooltip&&(this instanceof Mn||(this._tooltip._source=this),this._tooltip._prepareOpen(e)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(e){return this._tooltip&&this._tooltip.setContent(e),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(e){var t="function"==typeof e.getElement&&e.getElement();t&&(Mt(t,"focus",(function(){this._tooltip._source=e,this.openTooltip()}),this),Mt(t,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(e){var t="function"==typeof e.getElement&&e.getElement();t&&t.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(e){if(this._tooltip&&this._map)if(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag){this._openOnceFlag=!0;var t=this;this._map.once("moveend",(function(){t._openOnceFlag=!1,t._openTooltip(e)}))}else this._tooltip._source=e.layer||e.target,this.openTooltip(this._tooltip.options.sticky?e.latlng:void 0)},_moveTooltip:function(e){var t,n,i=e.latlng;this._tooltip.options.sticky&&e.originalEvent&&(t=this._map.mouseEventToContainerPoint(e.originalEvent),n=this._map.containerPointToLayerPoint(t),i=this._map.layerPointToLatLng(n)),this._tooltip.setLatLng(i)}});var $n=Dn.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(e){var t=e&&"DIV"===e.tagName?e:document.createElement("div"),n=this.options;if(n.html instanceof Element?(at(t),t.appendChild(n.html)):t.innerHTML=!1!==n.html?n.html:"",n.bgPos){var i=Y(n.bgPos);t.style.backgroundPosition=-i.x+"px "+-i.y+"px"}return this._setIconStyles(t,"icon"),t},createShadow:function(){return null}});Dn.Default=Sn;var ei=Cn.extend({options:{tileSize:256,opacity:1,updateWhenIdle:Ye.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(e){h(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),it(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(rt(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(ot(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){if(this._map){this._removeAllTiles();var e=this._clampZoom(this._map.getZoom());e!==this._tileZoom&&(this._tileZoom=e,this._updateLevels()),this._update()}return this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=o(this._onMoveEnd,this.options.updateInterval,this)),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return document.createElement("div")},getTileSize:function(){var e=this.options.tileSize;return e instanceof E?e:new E(e,e)},_updateZIndex:function(){this._container&&null!=this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t,n=this.getPane().children,i=-e(-1/0,1/0),a=0,r=n.length;a<r;a++)t=n[a].style.zIndex,n[a]!==this._container&&t&&(i=e(i,+t));isFinite(i)&&(this.options.zIndex=i+e(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!Ye.ielt9){ht(this._container,this.options.opacity);var e=+new Date,t=!1,n=!1;for(var i in this._tiles){var a=this._tiles[i];if(a.current&&a.loaded){var r=Math.min(1,(e-a.loaded)/200);ht(a.el,r),r<1?t=!0:(a.active?n=!0:this._onOpaqueTile(a),a.active=!0)}}n&&!this._noPrune&&this._pruneTiles(),t&&(M(this._fadeFrame),this._fadeFrame=x(this._updateOpacity,this))}},_onOpaqueTile:l,_initContainer:function(){this._container||(this._container=nt("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var e=this._tileZoom,t=this.options.maxZoom;if(void 0!==e){for(var n in this._levels)n=Number(n),this._levels[n].el.children.length||n===e?(this._levels[n].el.style.zIndex=t-Math.abs(e-n),this._onUpdateLevel(n)):(it(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var i=this._levels[e],a=this._map;return i||((i=this._levels[e]={}).el=nt("div","leaflet-tile-container leaflet-zoom-animated",this._container),i.el.style.zIndex=t,i.origin=a.project(a.unproject(a.getPixelOrigin()),e).round(),i.zoom=e,this._setZoomTransform(i,a.getCenter(),a.getZoom()),this._onCreateLevel(i)),this._level=i,i}},_onUpdateLevel:l,_onRemoveLevel:l,_onCreateLevel:l,_pruneTiles:function(){if(this._map){var e,t,n=this._map.getZoom();if(n>this.options.maxZoom||n<this.options.minZoom)this._removeAllTiles();else{for(e in this._tiles)(t=this._tiles[e]).retain=t.current;for(e in this._tiles)if((t=this._tiles[e]).current&&!t.active){var i=t.coords;this._retainParent(i.x,i.y,i.z,i.z-5)||this._retainChildren(i.x,i.y,i.z,i.z+2)}for(e in this._tiles)this._tiles[e].retain||this._removeTile(e)}}},_removeTilesAtZoom:function(e){for(var t in this._tiles)this._tiles[t].coords.z===e&&this._removeTile(t)},_removeAllTiles:function(){for(var e in this._tiles)this._removeTile(e)},_invalidateAll:function(){for(var e in this._levels)it(this._levels[e].el),this._onRemoveLevel(Number(e)),delete this._levels[e];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(e,t,n,i){var a=Math.floor(e/2),r=Math.floor(t/2),o=n-1,s=new E(+a,+r);s.z=+o;var l=this._tileCoordsToKey(s),u=this._tiles[l];return u&&u.active?(u.retain=!0,!0):(u&&u.loaded&&(u.retain=!0),o>i&&this._retainParent(a,r,o,i))},_retainChildren:function(e,t,n,i){for(var a=2*e;a<2*e+2;a++)for(var r=2*t;r<2*t+2;r++){var o=new E(a,r);o.z=n+1;var s=this._tileCoordsToKey(o),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1<i&&this._retainChildren(a,r,n+1,i))}},_resetView:function(e){var t=e&&(e.pinch||e.flyTo);this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(e){this._setView(e.center,e.zoom,!0,e.noUpdate)},_clampZoom:function(e){var t=this.options;return void 0!==t.minNativeZoom&&e<t.minNativeZoom?t.minNativeZoom:void 0!==t.maxNativeZoom&&t.maxNativeZoom<e?t.maxNativeZoom:e},_setView:function(e,t,n,i){var a=Math.round(t);a=void 0!==this.options.maxZoom&&a>this.options.maxZoom||void 0!==this.options.minZoom&&a<this.options.minZoom?void 0:this._clampZoom(a),i&&!(this.options.updateWhenZooming&&a!==this._tileZoom)||(this._tileZoom=a,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==a&&this._update(e),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(e,t)},_setZoomTransforms:function(e,t){for(var n in this._levels)this._setZoomTransform(this._levels[n],e,t)},_setZoomTransform:function(e,t,n){var i=this._map.getZoomScale(n,e.zoom),a=e.origin.multiplyBy(i).subtract(this._map._getNewPixelOrigin(t,n)).round();Ye.any3d?mt(e.el,a,i):pt(e.el,a)},_resetGrid:function(){var e=this._map,t=e.options.crs,n=this._tileSize=this.getTileSize(),i=this._tileZoom,a=this._map.getPixelWorldBounds(this._tileZoom);a&&(this._globalTileRange=this._pxBoundsToTileRange(a)),this._wrapX=t.wrapLng&&!this.options.noWrap&&[Math.floor(e.project([0,t.wrapLng[0]],i).x/n.x),Math.ceil(e.project([0,t.wrapLng[1]],i).x/n.y)],this._wrapY=t.wrapLat&&!this.options.noWrap&&[Math.floor(e.project([t.wrapLat[0],0],i).y/n.x),Math.ceil(e.project([t.wrapLat[1],0],i).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(e){var t=this._map,n=t._animatingZoom?Math.max(t._animateToZoom,t.getZoom()):t.getZoom(),i=t.getZoomScale(n,this._tileZoom),a=t.project(e,this._tileZoom).floor(),r=t.getSize().divideBy(2*i);return new P(a.subtract(r),a.add(r))},_update:function(e){var t=this._map;if(t){var n=this._clampZoom(t.getZoom());if(void 0===e&&(e=t.getCenter()),void 0!==this._tileZoom){var i=this._getTiledPixelBounds(e),a=this._pxBoundsToTileRange(i),r=a.getCenter(),o=[],s=this.options.keepBuffer,l=new P(a.getBottomLeft().subtract([s,-s]),a.getTopRight().add([s,-s]));if(!(isFinite(a.min.x)&&isFinite(a.min.y)&&isFinite(a.max.x)&&isFinite(a.max.y)))throw new Error("Attempted to load an infinite number of tiles");for(var u in this._tiles){var c=this._tiles[u].coords;c.z===this._tileZoom&&l.contains(new E(c.x,c.y))||(this._tiles[u].current=!1)}if(Math.abs(n-this._tileZoom)>1)this._setView(e,n);else{for(var d=a.min.y;d<=a.max.y;d++)for(var h=a.min.x;h<=a.max.x;h++){var f=new E(h,d);if(f.z=this._tileZoom,this._isValidTile(f)){var m=this._tiles[this._tileCoordsToKey(f)];m?m.current=!0:o.push(f)}}if(o.sort((function(e,t){return e.distanceTo(r)-t.distanceTo(r)})),0!==o.length){this._loading||(this._loading=!0,this.fire("loading"));var p=document.createDocumentFragment();for(h=0;h<o.length;h++)this._addTile(o[h],p);this._level.el.appendChild(p)}}}}},_isValidTile:function(e){var t=this._map.options.crs;if(!t.infinite){var n=this._globalTileRange;if(!t.wrapLng&&(e.x<n.min.x||e.x>n.max.x)||!t.wrapLat&&(e.y<n.min.y||e.y>n.max.y))return!1}if(!this.options.bounds)return!0;var i=this._tileCoordsToBounds(e);return F(this.options.bounds).overlaps(i)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var t=this._map,n=this.getTileSize(),i=e.scaleBy(n),a=i.add(n);return[t.unproject(i,e.z),t.unproject(a,e.z)]},_tileCoordsToBounds:function(e){var t=this._tileCoordsToNwSe(e),n=new R(t[0],t[1]);return this.options.noWrap||(n=this._map.wrapLatLngBounds(n)),n},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),n=new E(+t[0],+t[1]);return n.z=+t[2],n},_removeTile:function(e){var t=this._tiles[e];t&&(it(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){lt(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=l,e.onmousemove=l,Ye.ielt9&&this.options.opacity<1&&ht(e,this.options.opacity)},_addTile:function(e,t){var n=this._getTilePos(e),a=this._tileCoordsToKey(e),r=this.createTile(this._wrapCoords(e),i(this._tileReady,this,e));this._initTile(r),this.createTile.length<2&&x(i(this._tileReady,this,e,null,r)),pt(r,n),this._tiles[a]={el:r,coords:e,current:!0},t.appendChild(r),this.fire("tileloadstart",{tile:r,coords:e})},_tileReady:function(e,t,n){t&&this.fire("tileerror",{error:t,tile:n,coords:e});var a=this._tileCoordsToKey(e);(n=this._tiles[a])&&(n.loaded=+new Date,this._map._fadeAnimated?(ht(n.el,0),M(this._fadeFrame),this._fadeFrame=x(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),t||(lt(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Ye.ielt9||!this._map._fadeAnimated?x(this._pruneTiles,this):setTimeout(i(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new E(this._wrapX?s(e.x,this._wrapX):e.x,this._wrapY?s(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new P(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}}),ti=ei.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,t){this._url=e,(t=h(this,t)).detectRetina&&Ye.retina&&t.maxZoom>0?(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom=Math.min(t.maxZoom,t.minZoom+1)):(t.zoomOffset++,t.maxZoom=Math.max(t.minZoom,t.maxZoom-1)),t.minZoom=Math.max(0,t.minZoom)):t.zoomReverse?t.minZoom=Math.min(t.maxZoom,t.minZoom):t.maxZoom=Math.max(t.minZoom,t.maxZoom),"string"==typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url===e&&void 0===t&&(t=!0),this._url=e,t||this.redraw(),this},createTile:function(e,t){var n=document.createElement("img");return Mt(n,"load",i(this._tileOnLoad,this,t,n)),Mt(n,"error",i(this._tileOnError,this,t,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(n.referrerPolicy=this.options.referrerPolicy),n.alt="",n.src=this.getTileUrl(e),n},getTileUrl:function(e){var n={r:Ye.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-e.y;this.options.tms&&(n.y=i),n["-y"]=i}return p(this._url,t(n,this.options))},_tileOnLoad:function(e,t){Ye.ielt9?setTimeout(i(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,n){var i=this.options.errorTileUrl;i&&t.getAttribute("src")!==i&&(t.src=i),e(n,t)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom;return this.options.zoomReverse&&(e=this.options.maxZoom-e),e+this.options.zoomOffset},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&((t=this._tiles[e].el).onload=l,t.onerror=l,!t.complete)){t.src=g;var n=this._tiles[e].coords;it(t),delete this._tiles[e],this.fire("tileabort",{tile:t,coords:n})}},_removeTile:function(e){var t=this._tiles[e];if(t)return t.el.setAttribute("src",g),ei.prototype._removeTile.call(this,e)},_tileReady:function(e,t,n){if(this._map&&(!n||n.getAttribute("src")!==g))return ei.prototype._tileReady.call(this,e,t,n)}});function ni(e,t){return new ti(e,t)}var ii=ti.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,n){this._url=e;var i=t({},this.defaultWmsParams);for(var a in n)a in this.options||(i[a]=n[a]);var r=(n=h(this,n)).detectRetina&&Ye.retina?2:1,o=this.getTileSize();i.width=o.x*r,i.height=o.y*r,this.wmsParams=i},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version),this.wmsParams[this._wmsVersion>=1.3?"crs":"srs"]=this._crs.code,ti.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToNwSe(e),n=this._crs,i=I(n.project(t[0]),n.project(t[1])),a=i.min,r=i.max,o=(this._wmsVersion>=1.3&&this._crs===kn?[a.y,a.x,r.y,r.x]:[a.x,a.y,r.x,r.y]).join(","),s=ti.prototype.getTileUrl.call(this,e);return s+f(this.wmsParams,s,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+o},setParams:function(e,n){return t(this.wmsParams,e),n||this.redraw(),this}});ti.WMS=ii,ni.wms=function(e,t){return new ii(e,t)};var ai=Cn.extend({options:{padding:.1},initialize:function(e){h(this,e),r(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),lt(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,t){var n=this._map.getZoomScale(t,this._zoom),i=this._map.getSize().multiplyBy(.5+this.options.padding),a=this._map.project(this._center,t),r=i.multiplyBy(-n).add(a).subtract(this._map._getNewPixelOrigin(e,t));Ye.any3d?mt(this._container,r,n):pt(this._container,r)},_reset:function(){for(var e in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,t=this._map.getSize(),n=this._map.containerPointToLayerPoint(t.multiplyBy(-e)).round();this._bounds=new P(n,n.add(t.multiplyBy(1+2*e)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),ri=ai.extend({options:{tolerance:0},getEvents:function(){var e=ai.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ai.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");Mt(e,"mousemove",this._onMouseMove,this),Mt(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),Mt(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){M(this._redrawRequest),delete this._ctx,it(this._container),St(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var e in this._redrawBounds=null,this._layers)this._layers[e]._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){ai.prototype._update.call(this);var e=this._bounds,t=this._container,n=e.getSize(),i=Ye.retina?2:1;pt(t,e.min),t.width=i*n.x,t.height=i*n.y,t.style.width=n.x+"px",t.style.height=n.y+"px",Ye.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){ai.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[r(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,n=t.next,i=t.prev;n?n.prev=i:this._drawLast=i,i?i.next=n:this._drawFirst=n,delete e._order,delete this._layers[r(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if("string"==typeof e.options.dashArray){var t,n,i=e.options.dashArray.split(/[, ]+/),a=[];for(n=0;n<i.length;n++){if(t=Number(i[n]),isNaN(t))return;a.push(t)}e.options._dashArray=a}else e.options._dashArray=e.options.dashArray},_requestRedraw:function(e){this._map&&(this._extendRedrawBounds(e),this._redrawRequest=this._redrawRequest||x(this._redraw,this))},_extendRedrawBounds:function(e){if(e._pxBounds){var t=(e.options.weight||0)+1;this._redrawBounds=this._redrawBounds||new P,this._redrawBounds.extend(e._pxBounds.min.subtract([t,t])),this._redrawBounds.extend(e._pxBounds.max.add([t,t]))}},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var e=this._redrawBounds;if(e){var t=e.getSize();this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)}else this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore()},_draw:function(){var e,t=this._redrawBounds;if(this._ctx.save(),t){var n=t.getSize();this._ctx.beginPath(),this._ctx.rect(t.min.x,t.min.y,n.x,n.y),this._ctx.clip()}this._drawing=!0;for(var i=this._drawFirst;i;i=i.next)e=i.layer,(!t||e._pxBounds&&e._pxBounds.intersects(t))&&e._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(e,t){if(this._drawing){var n,i,a,r,o=e._parts,s=o.length,l=this._ctx;if(s){for(l.beginPath(),n=0;n<s;n++){for(i=0,a=o[n].length;i<a;i++)l[i?"lineTo":"moveTo"]((r=o[n][i]).x,r.y);t&&l.closePath()}this._fillStroke(l,e)}}},_updateCircle:function(e){if(this._drawing&&!e._empty()){var t=e._point,n=this._ctx,i=Math.max(Math.round(e._radius),1),a=(Math.max(Math.round(e._radiusY),1)||i)/i;1!==a&&(n.save(),n.scale(1,a)),n.beginPath(),n.arc(t.x,t.y/a,i,0,2*Math.PI,!1),1!==a&&n.restore(),this._fillStroke(n,e)}},_fillStroke:function(e,t){var n=t.options;n.fill&&(e.globalAlpha=n.fillOpacity,e.fillStyle=n.fillColor||n.color,e.fill(n.fillRule||"evenodd")),n.stroke&&0!==n.weight&&(e.setLineDash&&e.setLineDash(t.options&&t.options._dashArray||[]),e.globalAlpha=n.opacity,e.lineWidth=n.weight,e.strokeStyle=n.color,e.lineCap=n.lineCap,e.lineJoin=n.lineJoin,e.stroke())},_onClick:function(e){for(var t,n,i=this._map.mouseEventToLayerPoint(e),a=this._drawFirst;a;a=a.next)(t=a.layer).options.interactive&&t._containsPoint(i)&&("click"!==e.type&&"preclick"!==e.type||!this._map._draggableMoved(t))&&(n=t);this._fireEvent(!!n&&[n],e)},_onMouseMove:function(e){if(this._map&&!this._map.dragging.moving()&&!this._map._animatingZoom){var t=this._map.mouseEventToLayerPoint(e);this._handleMouseHover(e,t)}},_handleMouseOut:function(e){var t=this._hoveredLayer;t&&(ut(this._container,"leaflet-interactive"),this._fireEvent([t],e,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(e,t){if(!this._mouseHoverThrottled){for(var n,a,r=this._drawFirst;r;r=r.next)(n=r.layer).options.interactive&&n._containsPoint(t)&&(a=n);a!==this._hoveredLayer&&(this._handleMouseOut(e),a&&(lt(this._container,"leaflet-interactive"),this._fireEvent([a],e,"mouseover"),this._hoveredLayer=a)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],e),this._mouseHoverThrottled=!0,setTimeout(i((function(){this._mouseHoverThrottled=!1}),this),32)}},_fireEvent:function(e,t,n){this._map._fireDOMEvent(t,n||t.type,e)},_bringToFront:function(e){var t=e._order;if(t){var n=t.next,i=t.prev;n&&(n.prev=i,i?i.next=n:n&&(this._drawFirst=n),t.prev=this._drawLast,this._drawLast.next=t,t.next=null,this._drawLast=t,this._requestRedraw(e))}},_bringToBack:function(e){var t=e._order;if(t){var n=t.next,i=t.prev;i&&(i.next=n,n?n.prev=i:i&&(this._drawLast=i),t.prev=null,t.next=this._drawFirst,this._drawFirst.prev=t,this._drawFirst=t,this._requestRedraw(e))}}});function oi(e){return Ye.canvas?new ri(e):null}var si=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(e){return document.createElement("<lvml:"+e+' class="lvml">')}}catch(e){}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),li={_initContainer:function(){this._container=nt("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ai.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=si("shape");lt(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=si("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[r(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;it(t),e.removeInteractiveTarget(t),delete this._layers[r(e)]},_updateStyle:function(e){var t=e._stroke,n=e._fill,i=e.options,a=e._container;a.stroked=!!i.stroke,a.filled=!!i.fill,i.stroke?(t||(t=e._stroke=si("stroke")),a.appendChild(t),t.weight=i.weight+"px",t.color=i.color,t.opacity=i.opacity,t.dashStyle=i.dashArray?_(i.dashArray)?i.dashArray.join(" "):i.dashArray.replace(/( *, *)/g," "):"",t.endcap=i.lineCap.replace("butt","flat"),t.joinstyle=i.lineJoin):t&&(a.removeChild(t),e._stroke=null),i.fill?(n||(n=e._fill=si("fill")),a.appendChild(n),n.color=i.fillColor||i.color,n.opacity=i.fillOpacity):n&&(a.removeChild(n),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),n=Math.round(e._radius),i=Math.round(e._radiusY||n);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+n+","+i+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){rt(e._container)},_bringToBack:function(e){ot(e._container)}},ui=Ye.vml?si:J,ci=ai.extend({_initContainer:function(){this._container=ui("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=ui("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){it(this._container),St(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!this._map._animatingZoom||!this._bounds){ai.prototype._update.call(this);var e=this._bounds,t=e.getSize(),n=this._container;this._svgSize&&this._svgSize.equals(t)||(this._svgSize=t,n.setAttribute("width",t.x),n.setAttribute("height",t.y)),pt(n,e.min),n.setAttribute("viewBox",[e.min.x,e.min.y,t.x,t.y].join(" ")),this.fire("update")}},_initPath:function(e){var t=e._path=ui("path");e.options.className&&lt(t,e.options.className),e.options.interactive&&lt(t,"leaflet-interactive"),this._updateStyle(e),this._layers[r(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){it(e._path),e.removeInteractiveTarget(e._path),delete this._layers[r(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var t=e._path,n=e.options;t&&(n.stroke?(t.setAttribute("stroke",n.color),t.setAttribute("stroke-opacity",n.opacity),t.setAttribute("stroke-width",n.weight),t.setAttribute("stroke-linecap",n.lineCap),t.setAttribute("stroke-linejoin",n.lineJoin),n.dashArray?t.setAttribute("stroke-dasharray",n.dashArray):t.removeAttribute("stroke-dasharray"),n.dashOffset?t.setAttribute("stroke-dashoffset",n.dashOffset):t.removeAttribute("stroke-dashoffset")):t.setAttribute("stroke","none"),n.fill?(t.setAttribute("fill",n.fillColor||n.color),t.setAttribute("fill-opacity",n.fillOpacity),t.setAttribute("fill-rule",n.fillRule||"evenodd")):t.setAttribute("fill","none"))},_updatePoly:function(e,t){this._setPath(e,K(e._parts,t))},_updateCircle:function(e){var t=e._point,n=Math.max(Math.round(e._radius),1),i="a"+n+","+(Math.max(Math.round(e._radiusY),1)||n)+" 0 1,0 ",a=e._empty()?"M0 0":"M"+(t.x-n)+","+t.y+i+2*n+",0 "+i+2*-n+",0 ";this._setPath(e,a)},_setPath:function(e,t){e._path.setAttribute("d",t)},_bringToFront:function(e){rt(e._path)},_bringToBack:function(e){ot(e._path)}});function di(e){return Ye.svg||Ye.vml?new ci(e):null}Ye.vml&&ci.include(li),Wt.include({getRenderer:function(e){var t=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return t||(t=this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(e){if("overlayPane"===e||void 0===e)return!1;var t=this._paneRenderers[e];return void 0===t&&(t=this._createRenderer({pane:e}),this._paneRenderers[e]=t),t},_createRenderer:function(e){return this.options.preferCanvas&&oi(e)||di(e)}});var hi=Pn.extend({initialize:function(e,t){Pn.prototype.initialize.call(this,this._boundsToLatLngs(e),t)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return[(e=F(e)).getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});ci.create=ui,ci.pointsToPath=K,In.geometryToLayer=Rn,In.coordsToLatLng=jn,In.coordsToLatLngs=Hn,In.latLngToCoords=Nn,In.latLngsToCoords=zn,In.getFeature=Vn,In.asFeature=Bn,Wt.mergeOptions({boxZoom:!0});var fi=Qt.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){Mt(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){St(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){it(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._clearDeferredResetState(),this._resetState(),qe(),gt(),this._startPoint=this._map.mouseEventToContainerPoint(e),Mt(document,{contextmenu:Rt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=nt("div","leaflet-zoom-box",this._container),lt(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new P(this._point,this._startPoint),n=t.getSize();pt(this._box,t.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(it(this._box),ut(this._container,"leaflet-crosshair")),Ge(),yt(),St(document,{contextmenu:Rt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(i(this._resetState,this),0);var t=new R(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Wt.addInitHook("addHandler","boxZoom",fi),Wt.mergeOptions({doubleClickZoom:!0});var mi=Qt.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var t=this._map,n=t.getZoom(),i=t.options.zoomDelta,a=e.originalEvent.shiftKey?n-i:n+i;"center"===t.options.doubleClickZoom?t.setZoom(a):t.setZoomAround(e.containerPoint,a)}});Wt.addInitHook("addHandler","doubleClickZoom",mi),Wt.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var pi=Qt.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new en(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}lt(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){ut(this._map._container,"leaflet-grab"),ut(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var t=F(this._map.options.maxBounds);this._offsetLimit=I(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var t=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(n),this._times.push(t),this._prunePositions(t)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.x<t.min.x&&(e.x=this._viscousLimit(e.x,t.min.x)),e.y<t.min.y&&(e.y=this._viscousLimit(e.y,t.min.y)),e.x>t.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),n=this._initialWorldOffset,i=this._draggable._newPos.x,a=(i-t+n)%e+t-n,r=(i+t+n)%e-t-n,o=Math.abs(a+n)<Math.abs(r+n)?a:r;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=o},_onDragEnd:function(e){var t=this._map,n=t.options,i=!n.inertia||e.noInertia||this._times.length<2;if(t.fire("dragend",e),i)t.fire("moveend");else{this._prunePositions(+new Date);var a=this._lastPos.subtract(this._positions[0]),r=n.easeLinearity,o=a.multiplyBy(r/((this._lastTime-this._times[0])/1e3)),s=o.distanceTo([0,0]),l=Math.min(n.inertiaMaxSpeed,s),u=o.multiplyBy(l/s),c=l/(n.inertiaDeceleration*r),d=u.multiplyBy(-c/2).round();d.x||d.y?(d=t._limitOffset(d,t.options.maxBounds),x((function(){t.panBy(d,{duration:c,easeLinearity:r,noMoveStart:!0,animate:!0})}))):t.fire("moveend")}}});Wt.addInitHook("addHandler","dragging",pi),Wt.mergeOptions({keyboard:!0,keyboardPanDelta:80});var _i=Qt.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex="0"),Mt(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),St(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=document.body,t=document.documentElement,n=e.scrollTop||t.scrollTop,i=e.scrollLeft||t.scrollLeft;this._map._container.focus(),window.scrollTo(i,n)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(e){var t,n,i=this._panKeys={},a=this.keyCodes;for(t=0,n=a.left.length;t<n;t++)i[a.left[t]]=[-1*e,0];for(t=0,n=a.right.length;t<n;t++)i[a.right[t]]=[e,0];for(t=0,n=a.down.length;t<n;t++)i[a.down[t]]=[0,e];for(t=0,n=a.up.length;t<n;t++)i[a.up[t]]=[0,-1*e]},_setZoomDelta:function(e){var t,n,i=this._zoomKeys={},a=this.keyCodes;for(t=0,n=a.zoomIn.length;t<n;t++)i[a.zoomIn[t]]=e;for(t=0,n=a.zoomOut.length;t<n;t++)i[a.zoomOut[t]]=-e},_addHooks:function(){Mt(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){St(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(e){if(!(e.altKey||e.ctrlKey||e.metaKey)){var t,n=e.keyCode,i=this._map;if(n in this._panKeys){if(!i._panAnim||!i._panAnim._inProgress)if(t=this._panKeys[n],e.shiftKey&&(t=Y(t).multiplyBy(3)),i.options.maxBounds&&(t=i._limitOffset(Y(t),i.options.maxBounds)),i.options.worldCopyJump){var a=i.wrapLatLng(i.unproject(i.project(i.getCenter()).add(t)));i.panTo(a)}else i.panBy(t)}else if(n in this._zoomKeys)i.setZoom(i.getZoom()+(e.shiftKey?3:1)*this._zoomKeys[n]);else{if(27!==n||!i._popup||!i._popup.options.closeOnEscapeKey)return;i.closePopup()}Rt(e)}}});Wt.addInitHook("addHandler","keyboard",_i),Wt.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60});var vi=Qt.extend({addHooks:function(){Mt(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){St(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(e){var t=Nt(e),n=this._map.options.wheelDebounceTime;this._delta+=t,this._lastMousePos=this._map.mouseEventToContainerPoint(e),this._startTime||(this._startTime=+new Date);var a=Math.max(n-(+new Date-this._startTime),0);clearTimeout(this._timer),this._timer=setTimeout(i(this._performZoom,this),a),Rt(e)},_performZoom:function(){var e=this._map,t=e.getZoom(),n=this._map.options.zoomSnap||0;e._stop();var i=4*Math.log(2/(1+Math.exp(-Math.abs(this._delta/(4*this._map.options.wheelPxPerZoomLevel)))))/Math.LN2,a=n?Math.ceil(i/n)*n:i,r=e._limitZoom(t+(this._delta>0?a:-a))-t;this._delta=0,this._startTime=null,r&&("center"===e.options.scrollWheelZoom?e.setZoom(t+r):e.setZoomAround(this._lastMousePos,t+r))}});Wt.addInitHook("addHandler","scrollWheelZoom",vi),Wt.mergeOptions({tapHold:Ye.touchNative&&Ye.safari&&Ye.mobile,tapTolerance:15});var gi=Qt.extend({addHooks:function(){Mt(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){St(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),1===e.touches.length){var t=e.touches[0];this._startPos=this._newPos=new E(t.clientX,t.clientY),this._holdTimeout=setTimeout(i((function(){this._cancel(),this._isTapValid()&&(Mt(document,"touchend",It),Mt(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",t))}),this),600),Mt(document,"touchend touchcancel contextmenu",this._cancel,this),Mt(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){St(document,"touchend",It),St(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),St(document,"touchend touchcancel contextmenu",this._cancel,this),St(document,"touchmove",this._onMove,this)},_onMove:function(e){var t=e.touches[0];this._newPos=new E(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,t){var n=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:t.screenX,screenY:t.screenY,clientX:t.clientX,clientY:t.clientY});n._simulated=!0,t.target.dispatchEvent(n)}});Wt.addInitHook("addHandler","tapHold",gi),Wt.mergeOptions({touchZoom:Ye.touch,bounceAtZoomLimits:!0});var yi=Qt.extend({addHooks:function(){lt(this._map._container,"leaflet-touch-zoom"),Mt(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){ut(this._map._container,"leaflet-touch-zoom"),St(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var n=t.mouseEventToContainerPoint(e.touches[0]),i=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),"center"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(n.add(i)._divideBy(2))),this._startDist=n.distanceTo(i),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),Mt(document,"touchmove",this._onTouchMove,this),Mt(document,"touchend touchcancel",this._onTouchEnd,this),It(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,n=t.mouseEventToContainerPoint(e.touches[0]),a=t.mouseEventToContainerPoint(e.touches[1]),r=n.distanceTo(a)/this._startDist;if(this._zoom=t.getScaleZoom(r,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoom<t.getMinZoom()&&r<1||this._zoom>t.getMaxZoom()&&r>1)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1===r)return}else{var o=n._add(a)._divideBy(2)._subtract(this._centerPoint);if(1===r&&0===o.x&&0===o.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(o),this._zoom)}this._moved||(t._moveStart(!0,!1),this._moved=!0),M(this._animRequest);var s=i(t._move,t,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=x(s,this,!0),It(e)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,M(this._animRequest),St(document,"touchmove",this._onTouchMove,this),St(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}});Wt.addInitHook("addHandler","touchZoom",yi),Wt.BoxZoom=fi,Wt.DoubleClickZoom=mi,Wt.Drag=pi,Wt.Keyboard=_i,Wt.ScrollWheelZoom=vi,Wt.TapHold=gi,Wt.TouchZoom=yi,e.Bounds=P,e.Browser=Ye,e.CRS=z,e.Canvas=ri,e.Circle=On,e.CircleMarker=En,e.Class=S,e.Control=Ut,e.DivIcon=$n,e.DivOverlay=Kn,e.DomEvent=Vt,e.DomUtil=xt,e.Draggable=en,e.Evented=A,e.FeatureGroup=Mn,e.GeoJSON=In,e.GridLayer=ei,e.Handler=Qt,e.Icon=Dn,e.ImageOverlay=Gn,e.LatLng=j,e.LatLngBounds=R,e.Layer=Cn,e.LayerGroup=xn,e.LineUtil=_n,e.Map=Wt,e.Marker=Tn,e.Mixin=Xt,e.Path=An,e.Point=E,e.PolyUtil=on,e.Polygon=Pn,e.Polyline=Yn,e.Popup=Qn,e.PosAnimation=Bt,e.Projection=yn,e.Rectangle=hi,e.Renderer=ai,e.SVG=ci,e.SVGOverlay=Jn,e.TileLayer=ti,e.Tooltip=Xn,e.Transformation=W,e.Util=D,e.VideoOverlay=Zn,e.bind=i,e.bounds=I,e.canvas=oi,e.circle=function(e,t,n){return new On(e,t,n)},e.circleMarker=function(e,t){return new En(e,t)},e.control=qt,e.divIcon=function(e){return new $n(e)},e.extend=t,e.featureGroup=function(e,t){return new Mn(e,t)},e.geoJSON=Un,e.geoJson=qn,e.gridLayer=function(e){return new ei(e)},e.icon=function(e){return new Dn(e)},e.imageOverlay=function(e,t,n){return new Gn(e,t,n)},e.latLng=H,e.latLngBounds=F,e.layerGroup=function(e,t){return new xn(e,t)},e.map=function(e,t){return new Wt(e,t)},e.marker=function(e,t){return new Tn(e,t)},e.point=Y,e.polygon=function(e,t){return new Pn(e,t)},e.polyline=function(e,t){return new Yn(e,t)},e.popup=function(e,t){return new Qn(e,t)},e.rectangle=function(e,t){return new hi(e,t)},e.setOptions=h,e.stamp=r,e.svg=di,e.svgOverlay=function(e,t,n){return new Jn(e,t,n)},e.tileLayer=ni,e.tooltip=function(e,t){return new Xn(e,t)},e.transformation=U,e.version="1.9.4",e.videoOverlay=function(e,t,n){return new Zn(e,t,n)};var bi=window.L;e.noConflict=function(){return window.L=bi,this},window.L=e}(t)},"4dOw":function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"6+QB":function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(e,t,n){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,n){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"7BjC":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return t?a[n][2]?a[n][2]:a[n][1]:i?a[n][0]:a[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7aV9":function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,t,n){return e>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"8/+R":function(e,t,n){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"8mBD":function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"9rRi":function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},AQ68:function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},AvvY:function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===t&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},B55N:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(e,t){return"\u5143"===t[1]?1:parseInt(t[1]||e,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,n){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,t){switch(t){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n("wd/R"))},BOF4:function(e,t,n){"use strict";var i=n("evrj");function a(e){this.message=e}(a.prototype=new Error).name="InvalidTokenError",e.exports=function(e,t){if("string"!=typeof e)throw new a("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(i(e.split(".")[n]))}catch(r){throw new a("Invalid token specified: "+r.message)}},e.exports.InvalidTokenError=a},BVg3:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,i,a){var r=e+" ";switch(i){case"s":return n||a?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(e)?r+(n||a?"sek\xfandur":"sek\xfandum"):r+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?r+(n||a?"m\xedn\xfatur":"m\xedn\xfatum"):n?r+"m\xedn\xfata":r+"m\xedn\xfatu";case"hh":return t(e)?r+(n||a?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return n?"dagur":a?"dag":"degi";case"dd":return t(e)?n?r+"dagar":r+(a?"daga":"d\xf6gum"):n?r+"dagur":r+(a?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":a?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?n?r+"m\xe1nu\xf0ir":r+(a?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?r+"m\xe1nu\xf0ur":r+(a?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||a?"\xe1r":"\xe1ri";case"yy":return t(e)?r+(n||a?"\xe1r":"\xe1rum"):r+(n||a?"\xe1r":"\xe1ri")}}e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},ByF4:function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},CjzT:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},CoRJ:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},"D/JM":function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},"DKr+":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return i?a[n][0]:a[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n("wd/R"))},Dkky:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"\xf6\xf6":"\xd6\xd6":n?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(e){return"\xf6s"===e||"\xd6S"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(e,t,n){!function(e){"use strict";var t={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,i,a){var r,o=t.words[i];return 1===i.length?"y"===i&&n?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":a||n?o[0]:o[1]:(r=t.correctGrammaticalCase(e,o),"yy"===i&&n&&"\u0433\u043e\u0434\u0438\u043d\u0443"===r?e+" \u0433\u043e\u0434\u0438\u043d\u0430":e+" "+r)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},EOgW:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,n){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},Fnuy:function(e,t,n){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},G0Uy:function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},H8ED:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i,a;return"m"===n?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(i=+e,a={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2])}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},HP3h:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(e){return function(t,a,r,o){var s=n(t),l=i[e][n(t)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,t)}},r=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},Hfs6:function(e,t,n){var i,a,r;!function(o){if("object"==typeof e.exports){var s=o(0,t);void 0!==s&&(e.exports=s)}else a=[n,t],void 0===(r="function"==typeof(i=o)?i.apply(t,a):i)||(e.exports=r)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["fr",[["AM","PM"],n,n],n,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],n,[["av. J.-C.","ap. J.-C."],n,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1} '\xe0' {0}",n,n],[",","\u202f",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[n,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[n,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[n,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[n,"\xa5"],KMF:[n,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[n,"$C"],NZD:["$NZ","$"],RHD:["$RH"],RON:[n,"L"],RWF:[n,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[n,"$T"],TTD:["$TT","$"],TWD:[n,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[n,"$"],XPF:["FCFP"],ZMW:[n,"Kw"]},"ltr",function(e){var t=Math.floor(Math.abs(e));return 0===t||1===t?1:5}]}))},IBtZ:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,(function(e,t,n){return"\u10d8"===n?t+"\u10e8\u10d8":t+n+"\u10e8\u10d8"}))},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):e},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},"Ivi+":function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,t,n){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},"JCF/":function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];e.defineLocale("ku",{months:i,monthsShort:i,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,t,n){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},JVSJ:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return"jedan sat";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:function(e,t,n,i){switch(n){case"m":return t?"jedna minuta":i?"jednu minutu":"jedne minute"}},mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},"Ju5/":function(e,t,n){"use strict";var i=n("XqMk"),a="object"==typeof self&&self&&self.Object===Object&&self,r=i.a||a||Function("return this")();t.a=r},JvlW:function(e,t,n){!function(e){"use strict";var t={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(e,t,n,i){return t?a(n)[0]:i?a(n)[1]:a(n)[2]}function i(e){return e%10==0||e>10&&e<20}function a(e){return t[e].split("_")}function r(e,t,r,o){var s=e+" ";return 1===e?s+n(0,t,r[0],o):t?s+(i(e)?a(r)[1]:a(r)[0]):o?s+a(r)[1]:s+(i(e)?a(r)[1]:a(r)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,n,i){return t?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:r,m:n,mm:r,h:n,hh:r,d:n,dd:r,M:n,MM:r,y:n,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},KSF8:function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var a=t.words[i];return 1===i.length?n?a[0]:a[1]:e+" "+t.correctGrammaticalCase(e,a)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},L3Qv:function(e,t,n){"use strict";t.a=function(){return!1}},Loxo:function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},"MO+k":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,n){return function(e){var n={};for(var i in t)t.hasOwnProperty(i)&&(n[t[i]]=i);var a=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 r in a)if(a.hasOwnProperty(r)){if(!("channels"in a[r]))throw new Error("missing channels property: "+r);if(!("labels"in a[r]))throw new Error("missing channel labels property: "+r);if(a[r].labels.length!==a[r].channels)throw new Error("channel and label counts mismatch: "+r);var o=a[r].channels,s=a[r].labels;delete a[r].channels,delete a[r].labels,Object.defineProperty(a[r],"channels",{value:o}),Object.defineProperty(a[r],"labels",{value:s})}a.rgb.hsl=function(e){var t,n,i=e[0]/255,a=e[1]/255,r=e[2]/255,o=Math.min(i,a,r),s=Math.max(i,a,r),l=s-o;return s===o?t=0:i===s?t=(a-r)/l:a===s?t=2+(r-i)/l:r===s&&(t=4+(i-a)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s===o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]},a.rgb.hsv=function(e){var t,n,i,a,r,o=e[0]/255,s=e[1]/255,l=e[2]/255,u=Math.max(o,s,l),c=u-Math.min(o,s,l),d=function(e){return(u-e)/6/c+.5};return 0===c?a=r=0:(r=c/u,t=d(o),n=d(s),i=d(l),o===u?a=i-n:s===u?a=1/3+t-i:l===u&&(a=2/3+n-t),a<0?a+=1:a>1&&(a-=1)),[360*a,100*r,100*u]},a.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[a.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)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,i=e[1]/255,a=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-i,1-a)))/(1-t)||0),100*((1-i-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var i=n[e];if(i)return i;var a,r,o,s=1/0;for(var l in t)if(t.hasOwnProperty(l)){var u=(r=e,o=t[l],Math.pow(r[0]-o[0],2)+Math.pow(r[1]-o[1],2)+Math.pow(r[2]-o[2],2));u<s&&(s=u,a=l)}return a},a.keyword.rgb=function(e){return t[e]},a.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)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],i=t[1],r=t[2];return i/=100,r/=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-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.hsl.rgb=function(e){var t,n,i,a,r,o=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[r=255*l,r,r];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var u=0;u<3;u++)(i=o+1/3*-(u-1))<0&&i++,i>1&&i--,a[u]=255*(r=6*i<1?t+6*(n-t)*i:2*i<1?n:3*i<2?t+(n-t)*(2/3-i)*6:t);return a},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,i=e[2]/100,a=n,r=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,a*=r<=1?r:2-r,[t,100*(0===i?2*a/(r+a):2*n/(i+n)),(i+n)/2*100]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,a=Math.floor(t)%6,r=t-Math.floor(t),o=255*i*(1-n),s=255*i*(1-n*r),l=255*i*(1-n*(1-r));switch(i*=255,a){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}},a.hsv.hsl=function(e){var t,n,i,a=e[0],r=e[1]/100,o=e[2]/100,s=Math.max(o,.01);return i=(2-r)*o,n=r*s,[a,100*(n=(n/=(t=(2-r)*s)<=1?t:2-t)||0),100*(i/=2)]},a.hwb.rgb=function(e){var t,n,i,a,r,o,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),a=u+i*((n=1-c)-u),t){default:case 6:case 0:r=n,o=a,s=u;break;case 1:r=a,o=n,s=u;break;case 2:r=u,o=n,s=a;break;case 3:r=u,o=a,s=n;break;case 4:r=a,o=u,s=n;break;case 5:r=n,o=u,s=a}return[255*r,255*o,255*s]},a.cmyk.rgb=function(e){var t=e[1]/100,n=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,e[0]/100*(1-i)+i)),255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]},a.xyz.rgb=function(e){var t,n,i,a=e[0]/100,r=e[1]/100,o=e[2]/100;return n=-.9689*a+1.8758*r+.0415*o,i=.0557*a+-.204*r+1.057*o,t=(t=3.2406*a+-1.5372*r+-.4986*o)>.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))]},a.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))]},a.lab.xyz=function(e){var t,n,i;t=e[1]/500+(n=(e[0]+16)/116),i=n-e[2]/200;var a=Math.pow(n,3),r=Math.pow(t,3),o=Math.pow(i,3);return n=a>.008856?a:(n-16/116)/7.787,t=r>.008856?r:(t-16/116)/7.787,i=o>.008856?o:(i-16/116)/7.787,[t*=95.047,n*=100,i*=108.883]},a.lab.lch=function(e){var t,n=e[0],i=e[1],a=e[2];return(t=360*Math.atan2(a,i)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(i*i+a*a),t]},a.lch.lab=function(e){var t,n=e[1];return t=e[2]/360*2*Math.PI,[e[0],n*Math.cos(t),n*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],r=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(r=Math.round(r/50)))return 30;var o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===r&&(o+=60),o},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.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)},a.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]},a.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]},a.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},a.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]},a.rgb.hcg=function(e){var t,n=e[0]/255,i=e[1]/255,a=e[2]/255,r=Math.max(Math.max(n,i),a),o=Math.min(Math.min(n,i),a),s=r-o;return t=s<=0?0:r===n?(i-a)/s%6:r===i?2+(a-n)/s:4+(n-i)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?o/(1-s):0)]},a.hsl.hcg=function(e){var t,n=e[1]/100,i=e[2]/100,a=0;return(t=i<.5?2*n*i:2*n*(1-i))<1&&(a=(i-.5*t)/(1-t)),[e[0],100*t,100*a]},a.hsv.hcg=function(e){var t=e[2]/100,n=e[1]/100*t,i=0;return n<1&&(i=(t-n)/(1-n)),[e[0],100*n,100*i]},a.hcg.rgb=function(e){var t=e[1]/100,n=e[2]/100;if(0===t)return[255*n,255*n,255*n];var i,a=[0,0,0],r=e[0]/360%1*6,o=r%1,s=1-o;switch(Math.floor(r)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=s,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=s,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=s}return[255*(t*a[0]+(i=(1-t)*n)),255*(t*a[1]+i),255*(t*a[2]+i)]},a.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]},a.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]},a.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)]},a.hwb.hcg=function(e){var t=1-e[2]/100,n=t-e[1]/100,i=0;return n<1&&(i=(t-n)/(1-n)),[e[0],100*n,100*i]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.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},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}(n={exports:{}}),n.exports}();function i(e,t){return function(n){return t(e(n))}}function a(e,t){for(var a=[t[e].parent,e],r=n[t[e].parent][e],o=t[e].parent;t[o].parent;)a.unshift(t[o].parent),r=i(n[t[o].parent][o],r),o=t[o].parent;return r.conversion=a,r}var r={};Object.keys(n).forEach((function(e){r[e]={},Object.defineProperty(r[e],"channels",{value:n[e].channels}),Object.defineProperty(r[e],"labels",{value:n[e].labels});var t=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(n),i=t.length,a=0;a<i;a++)e[t[a]]={distance:-1,parent:null};return e}(),i=[e];for(t[e].distance=0;i.length;)for(var a=i.pop(),r=Object.keys(n[a]),o=r.length,s=0;s<o;s++){var l=r[s],u=t[l];-1===u.distance&&(u.distance=t[a].distance+1,u.parent=a,i.unshift(l))}return t}(e),i={},r=Object.keys(t),o=r.length,s=0;s<o;s++){var l=r[s];null!==t[l].parent&&(i[l]=a(l,t))}return i}(e);Object.keys(t).forEach((function(n){var i=t[n];r[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,a=0;a<i;a++)n[a]=Math.round(n[a]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(i),r[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 o=r,s={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]},l={getRgba:u,getHsla:c,getRgb:function(e){var t=u(e);return t&&t.slice(0,3)},getHsl:function(e){var t=c(e);return t&&t.slice(0,3)},getHwb:d,getAlpha:function(e){var t=u(e);return t||(t=c(e))||(t=d(e))?t[3]:void 0},hexString:function(e,t){return t=void 0!==t&&3===e.length?t:e[3],"#"+_(e[0])+_(e[1])+_(e[2])+(t>=0&&t<1?_(Math.round(255*t)):"")},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?h(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:h,percentString:function(e,t){return t<1||e[3]&&e[3]<1?f(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"},percentaString:f,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 v[e.slice(0,3)]}};function u(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3,4})$/i),a="";if(i){a=(i=i[1])[3];for(var r=0;r<t.length;r++)t[r]=parseInt(i[r]+i[r],16);a&&(n=Math.round(parseInt(a+a,16)/255*100)/100)}else if(i=e.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(a=i[2],i=i[1],r=0;r<t.length;r++)t[r]=parseInt(i.slice(2*r,2*r+2),16);a&&(n=Math.round(parseInt(a,16)/255*100)/100)}else if(i=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<t.length;r++)t[r]=parseInt(i[r+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(r=0;r<t.length;r++)t[r]=Math.round(2.55*parseFloat(i[r+1]));n=parseFloat(i[4])}else if(i=e.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(t=s[i[1]]))return}for(r=0;r<t.length;r++)t[r]=p(t[r],0,255);return n=n||0==n?p(n,0,1):1,t[3]=n,t}}function c(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[p(parseInt(t[1]),0,360),p(parseFloat(t[2]),0,100),p(parseFloat(t[3]),0,100),p(isNaN(n)?1:n,0,1)]}}}function d(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[p(parseInt(t[1]),0,360),p(parseFloat(t[2]),0,100),p(parseFloat(t[3]),0,100),p(isNaN(n)?1:n,0,1)]}}}function h(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function f(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 p(e,t,n){return Math.min(Math.max(t,e),n)}function _(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var v={};for(var g in s)v[s[g]]=g;var y=function(e){return e instanceof y?e:this instanceof y?(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=l.getRgba(e))?this.setValues("rgb",t):(t=l.getHsla(e))?this.setValues("hsl",t):(t=l.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 y(e);var t};y.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 l.hexString(this.values.rgb)},rgbString:function(){return l.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return l.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return l.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return l.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return l.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return l.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return l.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,a=2*i-1,r=this.alpha()-n.alpha(),o=((a*r==-1?a:(a+r)/(1+a*r))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*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 y,i=this.values,a=n.values;for(var r in i)i.hasOwnProperty(r)&&("[object Array]"===(t={}.toString.call(e=i[r]))?a[r]=e.slice(0):"[object Number]"===t?a[r]=e:console.error("unexpected color value:",e));return n}},y.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},y.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},y.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},y.prototype.setValues=function(e,t){var n,i,a=this.values,r=this.spaces,s=this.maxes,l=1;if(this.valid=!0,"alpha"===e)l=t;else if(t.length)a[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++)a[e][n]=t[e.charAt(n)];l=t.a}else if(void 0!==t[r[e][0]]){var u=r[e];for(n=0;n<e.length;n++)a[e][n]=t[u[n]];l=t.alpha}if(a.alpha=Math.max(0,Math.min(1,void 0===l?a.alpha:l)),"alpha"===e)return!1;for(n=0;n<e.length;n++)i=Math.max(0,Math.min(s[e][n],a[e][n])),a[e][n]=Math.round(i);for(var c in r)c!==e&&(a[c]=o[e][c](a[e]));return!0},y.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)},y.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=y);var b=y;function k(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}var w,C={noop:function(){},uid:(w=0,function(){return w++}),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){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((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 C.valueOrDefault(C.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 a,r,o;if(C.isArray(e))if(r=e.length,i)for(a=r-1;a>=0;a--)t.call(n,e[a],a);else for(a=0;a<r;a++)t.call(n,e[a],a);else if(C.isObject(e))for(r=(o=Object.keys(e)).length,a=0;a<r;a++)t.call(n,e[o[a]],o[a])},arrayEquals:function(e,t){var n,i,a,r;if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;n<i;++n)if(r=t[n],(a=e[n])instanceof Array&&r instanceof Array){if(!C.arrayEquals(a,r))return!1}else if(a!==r)return!1;return!0},clone:function(e){if(C.isArray(e))return e.map(C.clone);if(C.isObject(e)){for(var t=Object.create(e),n=Object.keys(e),i=n.length,a=0;a<i;++a)t[n[a]]=C.clone(e[n[a]]);return t}return e},_merger:function(e,t,n,i){if(k(e)){var a=t[e],r=n[e];C.isObject(a)&&C.isObject(r)?C.merge(a,r,i):t[e]=C.clone(r)}},_mergerIf:function(e,t,n){if(k(e)){var i=t[e],a=n[e];C.isObject(i)&&C.isObject(a)?C.mergeIf(i,a):t.hasOwnProperty(e)||(t[e]=C.clone(a))}},merge:function(e,t,n){var i,a,r,o,s,l=C.isArray(t)?t:[t],u=l.length;if(!C.isObject(e))return e;for(i=(n=n||{}).merger||C._merger,a=0;a<u;++a)if(C.isObject(t=l[a]))for(s=0,o=(r=Object.keys(t)).length;s<o;++s)i(r[s],e,t,n);return e},mergeIf:function(e,t){return C.merge(e,t,{merger:C._mergerIf})},extend:Object.assign||function(e){return C.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=C.inherits,e&&C.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')}},x=C;C.callCallback=C.callback,C.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},C.getValueOrDefault=C.valueOrDefault,C.getValueAtIndexOrDefault=C.valueAtIndexOrDefault;var M={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-M.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*M.easeInBounce(2*e):.5*M.easeOutBounce(2*e-1)+.5}},D={effects:M};x.easingEffects=M;var S=Math.PI,L=S/180,T=2*S,A=S/2,E=S/4,O=2*S/3,Y={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,i,a,r){if(r){var o=Math.min(r,a/2,i/2),s=t+o,l=n+o,u=t+i-o,c=n+a-o;e.moveTo(t,l),s<u&&l<c?(e.arc(s,l,o,-S,-A),e.arc(u,l,o,-A,0),e.arc(u,c,o,0,A),e.arc(s,c,o,A,S)):s<u?(e.moveTo(s,n),e.arc(u,l,o,-A,A),e.arc(s,l,o,A,S+A)):l<c?(e.arc(s,l,o,-S,0),e.arc(s,c,o,0,S)):e.arc(s,l,o,-S,S),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,i,a)},drawPoint:function(e,t,n,i,a,r){var o,s,l,u,c,d=(r||0)*L;if(t&&"object"==typeof t&&("[object HTMLImageElement]"===(o=t.toString())||"[object HTMLCanvasElement]"===o))return e.save(),e.translate(i,a),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,a,n,0,T),e.closePath();break;case"triangle":e.moveTo(i+Math.sin(d)*n,a-Math.cos(d)*n),d+=O,e.lineTo(i+Math.sin(d)*n,a-Math.cos(d)*n),d+=O,e.lineTo(i+Math.sin(d)*n,a-Math.cos(d)*n),e.closePath();break;case"rectRounded":u=n-(c=.516*n),s=Math.cos(d+E)*u,l=Math.sin(d+E)*u,e.arc(i-s,a-l,c,d-S,d-A),e.arc(i+l,a-s,c,d-A,d),e.arc(i+s,a+l,c,d,d+A),e.arc(i-l,a+s,c,d+A,d+S),e.closePath();break;case"rect":if(!r){u=Math.SQRT1_2*n,e.rect(i-u,a-u,2*u,2*u);break}d+=E;case"rectRot":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,a-l),e.lineTo(i+l,a-s),e.lineTo(i+s,a+l),e.lineTo(i-l,a+s),e.closePath();break;case"crossRot":d+=E;case"cross":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,a-l),e.lineTo(i+s,a+l),e.moveTo(i+l,a-s),e.lineTo(i-l,a+s);break;case"star":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,a-l),e.lineTo(i+s,a+l),e.moveTo(i+l,a-s),e.lineTo(i-l,a+s),d+=E,s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,a-l),e.lineTo(i+s,a+l),e.moveTo(i+l,a-s),e.lineTo(i-l,a+s);break;case"line":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(i-s,a-l),e.lineTo(i+s,a+l);break;case"dash":e.moveTo(i,a),e.lineTo(i+Math.cos(d)*n,a+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 a=n.steppedLine;if(a){if("middle"===a){var r=(t.x+n.x)/2;e.lineTo(r,i?n.y:t.y),e.lineTo(r,i?t.y:n.y)}else"after"===a&&!i||"after"!==a&&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)}},P=Y;x.clear=Y.clear,x.drawRoundedRectangle=function(e){e.beginPath(),Y.roundedRect.apply(Y,arguments)};var I={_set:function(e,t){return x.merge(this[e]||(this[e]={}),t)}};I._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 R=I,F=x.valueOrDefault,j={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,a;return x.isObject(e)?(t=+e.top||0,n=+e.right||0,i=+e.bottom||0,a=+e.left||0):t=n=i=a=+e||0,{top:t,right:n,bottom:i,left:a,height:t+i,width:a+n}},_parseFont:function(e){var t=R.global,n=F(e.fontSize,t.defaultFontSize),i={family:F(e.fontFamily,t.defaultFontFamily),lineHeight:x.options.toLineHeight(F(e.lineHeight,t.defaultLineHeight),n),size:n,style:F(e.fontStyle,t.defaultFontStyle),weight:null,string:""};return i.string=function(e){return!e||x.isNullOrUndef(e.size)||x.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 a,r,o,s=!0;for(a=0,r=e.length;a<r;++a)if(void 0!==(o=e[a])&&(void 0!==t&&"function"==typeof o&&(o=o(t),s=!1),void 0!==n&&x.isArray(o)&&(o=o[n],s=!1),void 0!==o))return i&&!s&&(i.cacheable=!1),o}},H={_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}},N=H;x.log10=H.log10;var z=x,V=P,B=j,W=N;z.easing=D,z.canvas=V,z.options=B,z.math=W,z.rtl={getRtlAdapter:function(e,t,n){return e?function(e,t){return{x:function(n){return e+e+t-n},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]))}};var U=function(e){z.extend(this,e),this.initialize.apply(this,arguments)};z.extend(U.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=z.extend({},e._model)),e._start={},e},transition:function(e){var t=this,n=t._model,i=t._start,a=t._view;return n&&1!==e?(a||(a=t._view={}),i||(i=t._start={}),function(e,t,n,i){var a,r,o,s,l,u,c,d,h,f=Object.keys(n);for(a=0,r=f.length;a<r;++a)if(u=n[o=f[a]],t.hasOwnProperty(o)||(t[o]=u),(s=t[o])!==u&&"_"!==o[0]){if(e.hasOwnProperty(o)||(e[o]=s),(c=typeof u)==typeof(l=e[o]))if("string"===c){if((d=b(l)).valid&&(h=b(u)).valid){t[o]=h.mix(d,i).rgbString();continue}}else if(z.isFinite(l)&&z.isFinite(u)){t[o]=l+(u-l)*i;continue}t[o]=u}}(i,a,n,e),t):(t._view=z.extend({},n),t._start=null,t)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return z.isNumber(this._model.x)&&z.isNumber(this._model.y)}}),U.extend=z.inherits;var q=U,G=q.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),Z=G;Object.defineProperty(G.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(G.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}}),R._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:z.noop,onComplete:z.noop}});var J={animations:[],request:null,addAnimation:function(e,t,n,i){var a,r,o=this.animations;for(t.chart=e,t.startTime=Date.now(),t.duration=n,i||(e.animating=!0),a=0,r=o.length;a<r;++a)if(o[a].chart===e)return void(o[a]=t);o.push(t),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=z.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=z.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,a=this.animations,r=0;r<a.length;)t=(e=a[r]).chart,n=e.numSteps,i=Math.floor((Date.now()-e.startTime)/e.duration*n)+1,e.currentStep=Math.min(i,n),z.callback(e.render,[t,e],t),z.callback(e.onAnimationProgress,[e],t),e.currentStep>=n?(z.callback(e.onAnimationComplete,[e],t),t.animating=!1,a.splice(r,1)):++r}},K=z.options.resolve,Q=["push","pop","shift","splice","unshift"];function X(e,t){var n=e._chartjs;if(n){var i=n.listeners,a=i.indexOf(t);-1!==a&&i.splice(a,1),i.length>0||(Q.forEach((function(t){delete e[t]})),delete e._chartjs)}}var $=function(e,t){this.initialize(e,t)};z.extend($.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(),a=t.options.scales;null!==e.xAxisID&&e.xAxisID in n&&!i.xAxisID||(e.xAxisID=i.xAxisID||a.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in n&&!i.yAxisID||(e.yAxisID=i.yAxisID||a.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&&X(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||[],a=n.data;for(e=0,t=i.length;e<t;++e)a[e]=a[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(),a=i.data||(i.data=[]);n._data!==a&&(n._data&&X(n._data,n),a&&Object.isExtensible(a)&&(t=n,(e=a)._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),Q.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),a=i.apply(this,t);return z.each(e._chartjs.listeners,(function(e){"function"==typeof e[n]&&e[n].apply(e,t)})),a}})})))),n._data=a),n.resyncElements()},_configure:function(){this._config=z.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(e,t,n){"_meta"!==e&&"data"!==e&&z._merger(e,t,n)}})},_update:function(e){this._configure(),this._cachedDataOpts=null,this.update(e)},update:z.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],i=n.length,a=0;a<i;++a)n[a].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(),!1!==(t=i&&void 0===e?this._resolveDatasetElementOptions(i||{}):this._resolveDataElementOptions(n.data[e=e||0]||{},e)).fill&&null!==t.fill||(t.backgroundColor=t.borderColor),t},_resolveDatasetElementOptions:function(e,t){var n,i,a,r,o=this,s=o.chart,l=o._config,u=e.custom||{},c=s.options.elements[o.datasetElementType.prototype._type]||{},d=o._datasetElementOptions,h={},f={chart:s,dataset:o.getDataset(),datasetIndex:o.index,hover:t};for(n=0,i=d.length;n<i;++n)a=d[n],r=t?"hover"+a.charAt(0).toUpperCase()+a.slice(1):a,h[a]=K([u[r],l[r],c[r]],f);return h},_resolveDataElementOptions:function(e,t){var n=this,i=e&&e.custom,a=n._cachedDataOpts;if(a&&!i)return a;var r,o,s,l,u=n.chart,c=n._config,d=u.options.elements[n.dataElementType.prototype._type]||{},h=n._dataElementOptions,f={},m={chart:u,dataIndex:t,dataset:n.getDataset(),datasetIndex:n.index},p={cacheable:!i};if(i=i||{},z.isArray(h))for(o=0,s=h.length;o<s;++o)f[l=h[o]]=K([i[l],c[l],d[l]],m,t,p);else for(o=0,s=(r=Object.keys(h)).length;o<s;++o)f[l=r[o]]=K([i[l],c[h[l]],c[l],d[l]],m,t,p);return p.cacheable&&(n._cachedDataOpts=Object.freeze(f)),f},removeHoverStyle:function(e){z.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||{},a=e._model,r=z.getHoverColor;e.$previousStyle={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderWidth:a.borderWidth},a.backgroundColor=K([i.hoverBackgroundColor,t.hoverBackgroundColor,r(a.backgroundColor)],void 0,n),a.borderColor=K([i.hoverBorderColor,t.hoverBorderColor,r(a.borderColor)],void 0,n),a.borderWidth=K([i.hoverBorderWidth,t.hoverBorderWidth,a.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var e=this.getMeta().dataset;e&&this.removeHoverStyle(e)},_setDatasetHoverStyle:function(){var e,t,n,i,a,r,o=this.getMeta().dataset,s={};if(o){for(r=o._model,a=this._resolveDatasetElementOptions(o,!0),e=0,t=(i=Object.keys(a)).length;e<t;++e)s[n=i[e]]=r[n],r[n]=a[n];o.$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)}}),$.extend=z.inherits;var ee=$,te=2*Math.PI;function ne(e,t){var n=t.startAngle,i=t.endAngle,a=t.pixelMargin,r=a/t.outerRadius,o=t.x,s=t.y;e.beginPath(),e.arc(o,s,t.outerRadius,n-r,i+r),t.innerRadius>a?e.arc(o,s,t.innerRadius-a,i+(r=a/t.innerRadius),n-r,!0):e.arc(o,s,a,i+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}R._set("global",{elements:{arc:{backgroundColor:R.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ie=q.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=z.getAngleFromPoint(n,{x:e,y:t}),a=i.angle,r=i.distance,o=n.startAngle,s=n.endAngle;s<o;)s+=te;for(;a>s;)a-=te;for(;a<o;)a+=te;return a>=o&&a<=s&&r>=n.innerRadius&&r<=n.outerRadius}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,a={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/te)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,a.fullCircles){for(a.endAngle=a.startAngle+te,t.beginPath(),t.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),t.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),t.closePath(),e=0;e<a.fullCircles;++e)t.fill();a.endAngle=a.startAngle+n.circumference%te}t.beginPath(),t.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),t.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),t.closePath(),t.fill(),n.borderWidth&&function(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 a,r=n.endAngle;for(i&&(n.endAngle=n.startAngle+te,ne(e,n),n.endAngle=r,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=te,n.fullCircles--)),e.beginPath(),e.arc(n.x,n.y,n.innerRadius,n.startAngle+te,n.startAngle,!0),a=0;a<n.fullCircles;++a)e.stroke();for(e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.startAngle+te),a=0;a<n.fullCircles;++a)e.stroke()}(e,t,n,i),i&&ne(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()}(t,n,a),t.restore()}}),ae=z.valueOrDefault,re=R.global.defaultColor;R._set("global",{elements:{line:{tension:.4,backgroundColor:re,borderWidth:3,borderColor:re,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var oe=q.extend({_type:"line",draw:function(){var e,t,n,i=this,a=i._view,r=i._chart.ctx,o=a.spanGaps,s=i._children.slice(),l=R.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=z.previousItem(s,e),!s[e]._view.skip&&t._view.skip){s=s.slice(e).concat(s.slice(0,e)),d=o;break}d&&s.push(s[0])}for(r.save(),r.lineCap=a.borderCapStyle||u.borderCapStyle,r.setLineDash&&r.setLineDash(a.borderDash||u.borderDash),r.lineDashOffset=ae(a.borderDashOffset,u.borderDashOffset),r.lineJoin=a.borderJoinStyle||u.borderJoinStyle,r.lineWidth=ae(a.borderWidth,u.borderWidth),r.strokeStyle=a.borderColor||l.defaultColor,r.beginPath(),(n=s[0]._view).skip||(r.moveTo(n.x,n.y),c=0),e=1;e<s.length;++e)n=s[e]._view,t=-1===c?z.previousItem(s,e):s[c],n.skip||(c!==e-1&&!o||-1===c?r.moveTo(n.x,n.y):z.canvas.lineTo(r,t._view,n),c=e);d&&r.closePath(),r.stroke(),r.restore()}}}),se=z.valueOrDefault,le=R.global.defaultColor;function ue(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}R._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:le,borderColor:le,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var ce=q.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:ue,inXRange:ue,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,a=t.rotation,r=t.radius,o=t.x,s=t.y,l=R.global,u=l.defaultColor;t.skip||(void 0===e||z.canvas._isPointInArea(t,e))&&(n.strokeStyle=t.borderColor||u,n.lineWidth=se(t.borderWidth,l.elements.point.borderWidth),n.fillStyle=t.backgroundColor||u,z.canvas.drawPoint(n,i,r,o,s,a))}}),de=R.global.defaultColor;function he(e){return e&&void 0!==e.width}function fe(e){var t,n,i,a,r;return he(e)?(t=e.x-(r=e.width/2),n=e.x+r,i=Math.min(e.y,e.base),a=Math.max(e.y,e.base)):(r=e.height/2,t=Math.min(e.x,e.base),n=Math.max(e.x,e.base),i=e.y-r,a=e.y+r),{left:t,top:i,right:n,bottom:a}}function me(e,t,n){return e===t?n:e===n?t:e}function pe(e,t,n){var i=null===t,a=null===n,r=!(!e||i&&a)&&fe(e);return r&&(i||t>=r.left&&t<=r.right)&&(a||n>=r.top&&n<=r.bottom)}R._set("global",{elements:{rectangle:{backgroundColor:de,borderColor:de,borderSkipped:"bottom",borderWidth:0}}});var _e=q.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,n=function(e){var t=fe(e),n=t.right-t.left,i=t.bottom-t.top,a=function(e,t,n){var i,a,r,o,s=e.borderWidth,l=function(e){var t=e.borderSkipped,n={};return t?(e.horizontal?e.base>e.x&&(t=me(t,"left","right")):e.base<e.y&&(t=me(t,"bottom","top")),n[t]=!0,n):n}(e);return z.isObject(s)?(i=+s.top||0,a=+s.right||0,r=+s.bottom||0,o=+s.left||0):i=a=r=o=+s||0,{t:l.top||i<0?0:i>n?n:i,r:l.right||a<0?0:a>t?t:a,b:l.bottom||r<0?0:r>n?n:r,l:l.left||o<0?0:o>t?t:o}}(e,n/2,i/2);return{outer:{x:t.left,y:t.top,w:n,h:i},inner:{x:t.left+a.l,y:t.top+a.t,w:n-a.l-a.r,h:i-a.t-a.b}}}(t),i=n.outer,a=n.inner;e.fillStyle=t.backgroundColor,e.fillRect(i.x,i.y,i.w,i.h),i.w===a.w&&i.h===a.h||(e.save(),e.beginPath(),e.rect(i.x,i.y,i.w,i.h),e.clip(),e.fillStyle=t.borderColor,e.rect(a.x,a.y,a.w,a.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return pe(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return he(n)?pe(n,e,null):pe(n,null,t)},inXRange:function(e){return pe(this._view,e,null)},inYRange:function(e){return pe(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return he(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 he(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}}}),ve={},ge=oe,ye=ce,be=_e;ve.Arc=ie,ve.Line=ge,ve.Point=ye,ve.Rectangle=be;var ke=z._deprecated,we=z.valueOrDefault;R._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),R._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Ce=ee.extend({dataElementType:ve.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,n=this;ee.prototype.initialize.apply(n,arguments),(e=n.getMeta()).stack=n.getDataset().stack,e.bar=!0,t=n._getIndexScale().options,ke("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),ke("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),ke("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),ke("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),ke("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,a=i.getMeta(),r=i.getDataset(),o=i._resolveDataElementOptions(e,t);e._xScale=i.getScaleForId(a.xAxisID),e._yScale=i.getScaleForId(a.yAxisID),e._datasetIndex=i.index,e._index=t,e._model={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:r.label,label:i.chart.data.labels[t]},z.isArray(r.data[t])&&(e._model.borderSkipped=null),i._updateElementGeometry(e,t,n,o),e.pivot()},_updateElementGeometry:function(e,t,n,i){var a=this,r=e._model,o=a._getValueScale(),s=o.getBasePixel(),l=o.isHorizontal(),u=a._ruler||a.getRuler(),c=a.calculateBarValuePixels(a.index,t,i),d=a.calculateBarIndexPixels(a.index,t,u,i);r.horizontal=l,r.base=n?s:c.base,r.x=l?n?s:c.head:d.center,r.y=l?d.center:n?s:c.head,r.height=l?d.size:void 0,r.width=l?void 0:d.size},_getStacks:function(e){var t,n,i=this._getIndexScale(),a=i._getMatchingVisibleMetas(this._type),r=i.options.stacked,o=a.length,s=[];for(t=0;t<o&&(n=a[t],(!1===r||-1===s.indexOf(n.stack)||void 0===r&&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,a,r,o,s,l,u,c=this.chart,d=this._getValueScale(),h=d.isHorizontal(),f=c.data.datasets,m=d._getMatchingVisibleMetas(this._type),p=d._parseValue(f[e].data[t]),_=n.minBarLength,v=d.options.stacked,g=this.getMeta().stack,y=void 0===p.start?0:p.max>=0&&p.min>=0?p.min:p.max,b=void 0===p.start?p.end:p.max>=0&&p.min>=0?p.max-p.min:p.min-p.max,k=m.length;if(v||void 0===v&&void 0!==g)for(i=0;i<k&&(a=m[i]).index!==e;++i)a.stack===g&&(r=void 0===(u=d._parseValue(f[a.index].data[t])).start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(p.min<0&&r<0||p.max>=0&&r>0)&&(y+=r));return o=d.getPixelForValue(y),l=(s=d.getPixelForValue(y+b))-o,void 0!==_&&Math.abs(l)<_&&(l=_,s=b>=0&&!h||b<0&&h?o-_:o+_),{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(e,t,n,i){var a="flex"===i.barThickness?function(e,t,n){var i,a=t.pixels,r=a[e],o=e>0?a[e-1]:null,s=e<a.length-1?a[e+1]:null,l=n.categoryPercentage;return null===o&&(o=r-(null===s?t.end-t.start:s-r)),null===s&&(s=r+r-o),i=r-(r-Math.min(o,s))/2*l,{chunk:Math.abs(s-o)/2*l/t.stackCount,ratio:n.barPercentage,start:i}}(t,n,i):function(e,t,n){var i,a,r=n.barThickness,o=t.stackCount,s=t.pixels[e],l=z.isNullOrUndef(r)?function(e,t){var n,i,a,r,o=e._length;for(a=1,r=t.length;a<r;++a)o=Math.min(o,Math.abs(t[a]-t[a-1]));for(a=0,r=e.getTicks().length;a<r;++a)i=e.getPixelForTick(a),o=a>0?Math.min(o,Math.abs(i-n)):o,n=i;return o}(t.scale,t.pixels):-1;return z.isNullOrUndef(r)?(i=l*n.categoryPercentage,a=n.barPercentage):(i=r*o,a=1),{chunk:i/o,ratio:a,start:s-i/2}}(t,n,i),r=this.getStackIndex(e,this.getMeta().stack),o=a.start+a.chunk*r+a.chunk/2,s=Math.min(we(i.maxBarThickness,1/0),a.chunk*a.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}},draw:function(){var e=this.chart,t=this._getValueScale(),n=this.getMeta().data,i=this.getDataset(),a=n.length,r=0;for(z.canvas.clipArea(e.ctx,e.chartArea);r<a;++r){var o=t._parseValue(i.data[r]);isNaN(o.min)||isNaN(o.max)||n[r].draw()}z.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var e=this,t=z.extend({},ee.prototype._resolveDataElementOptions.apply(e,arguments)),n=e._getIndexScale().options,i=e._getValueScale().options;return t.barPercentage=we(n.barPercentage,t.barPercentage),t.barThickness=we(n.barThickness,t.barThickness),t.categoryPercentage=we(n.categoryPercentage,t.categoryPercentage),t.maxBarThickness=we(n.maxBarThickness,t.maxBarThickness),t.minBarLength=we(i.minBarLength,t.minBarLength),t}}),xe=z.valueOrDefault,Me=z.options.resolve;R._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){return(t.datasets[e.datasetIndex].label||"")+": ("+e.xLabel+", "+e.yLabel+", "+t.datasets[e.datasetIndex].data[e.index].r+")"}}}});var De=ee.extend({dataElementType:ve.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(e){var t=this,n=t.getMeta();z.each(n.data,(function(n,i){t.updateElement(n,i,e)}))},updateElement:function(e,t,n){var i=this,a=i.getMeta(),r=e.custom||{},o=i.getScaleForId(a.xAxisID),s=i.getScaleForId(a.yAxisID),l=i._resolveDataElementOptions(e,t),u=i.getDataset().data[t],c=i.index,d=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof u?u:NaN,t,c),h=n?s.getBasePixel():s.getPixelForValue(u,t,c);e._xScale=o,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:r.skip||isNaN(d)||isNaN(h),x:d,y:h},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options,i=z.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=xe(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=xe(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=xe(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(e,t){var n=this,i=n.chart,a=n.getDataset(),r=e.custom||{},o=a.data[t]||{},s=ee.prototype._resolveDataElementOptions.apply(n,arguments),l={chart:i,dataIndex:t,dataset:a,datasetIndex:n.index};return n._cachedDataOpts===s&&(s=z.extend({},s)),s.radius=Me([r.radius,o.r,n._config.radius,i.options.elements.point.radius],l,t),s}}),Se=z.valueOrDefault,Le=Math.PI,Te=2*Le,Ae=Le/2;R._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t,n,i,a=document.createElement("ul"),r=e.data,o=r.datasets,s=r.labels;if(a.setAttribute("class",e.id+"-legend"),o.length)for(t=0,n=o[0].data.length;t<n;++t)(i=a.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[t],s[t]&&i.appendChild(document.createTextNode(s[t]));return a.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,i){var a=e.getDatasetMeta(0),r=a.controller.getStyle(i);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(t.datasets[0].data[i])||a.data[i].hidden,index:i}})):[]}},onClick:function(e,t){var n,i,a,r=t.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(a=o.getDatasetMeta(n)).data[r]&&(a.data[r].hidden=!a.data[r].hidden);o.update()}},cutoutPercentage:50,rotation:-Ae,circumference:Te,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],i=": "+t.datasets[e.datasetIndex].data[e.index];return z.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}});var Ee=ee.extend({dataElementType:ve.Arc,linkScales:z.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","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=this,a=i.chart,r=a.chartArea,o=a.options,s=1,l=1,u=0,c=0,d=i.getMeta(),h=d.data,f=o.cutoutPercentage/100||0,m=o.circumference,p=i._getRingWeight(i.index);if(m<Te){var _=o.rotation%Te,v=(_+=_>=Le?-Te:_<-Le?Te:0)+m,g=Math.cos(_),y=Math.sin(_),b=Math.cos(v),k=Math.sin(v),w=_<=0&&v>=0||v>=Te,C=_<=Ae&&v>=Ae||v>=Te+Ae,x=_<=-Ae&&v>=-Ae||v>=Le+Ae,M=_===-Le||v>=Le?-1:Math.min(g,g*f,b,b*f),D=x?-1:Math.min(y,y*f,k,k*f),S=w?1:Math.max(g,g*f,b,b*f),L=C?1:Math.max(y,y*f,k,k*f);s=(S-M)/2,l=(L-D)/2,u=-(S+M)/2,c=-(L+D)/2}for(t=0,n=h.length;t<n;++t)h[t]._options=i._resolveDataElementOptions(h[t],t);for(a.borderWidth=i.getMaxBorderWidth(),a.outerRadius=Math.max(Math.min((r.right-r.left-a.borderWidth)/s,(r.bottom-r.top-a.borderWidth)/l)/2,0),a.innerRadius=Math.max(a.outerRadius*f,0),a.radiusLength=(a.outerRadius-a.innerRadius)/(i._getVisibleDatasetWeightTotal()||1),a.offsetX=u*a.outerRadius,a.offsetY=c*a.outerRadius,d.total=i.calculateTotal(),i.outerRadius=a.outerRadius-a.radiusLength*i._getRingWeightOffset(i.index),i.innerRadius=Math.max(i.outerRadius-a.radiusLength*p,0),t=0,n=h.length;t<n;++t)i.updateElement(h[t],t,e)},updateElement:function(e,t,n){var i=this,a=i.chart,r=a.chartArea,o=a.options,s=o.animation,l=(r.left+r.right)/2,u=(r.top+r.bottom)/2,c=o.rotation,d=o.rotation,h=i.getDataset(),f=n&&s.animateRotate||e.hidden?0:i.calculateCircumference(h.data[t])*(o.circumference/Te),m=e._options||{};z.extend(e,{_datasetIndex:i.index,_index:t,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:l+a.offsetX,y:u+a.offsetY,startAngle:c,endAngle:d,circumference:f,outerRadius:n&&s.animateScale?0:i.outerRadius,innerRadius:n&&s.animateScale?0:i.innerRadius,label:z.valueAtIndexOrDefault(h.label,t,a.data.labels[t])}});var p=e._model;n&&s.animateRotate||(p.startAngle=0===t?o.rotation:i.getMeta().data[t-1]._model.endAngle,p.endAngle=p.startAngle+p.circumference),e.pivot()},calculateTotal:function(){var e,t=this.getDataset(),n=this.getMeta(),i=0;return z.each(n.data,(function(n,a){e=t.data[a],isNaN(e)||n.hidden||(i+=Math.abs(e))})),i},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?Te*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,i,a,r,o,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&&(r=i.controller);break}if(!e)return 0;for(t=0,n=e.length;t<n;++t)a=e[t],r?(r._configure(),o=r._resolveDataElementOptions(a,t)):o=a._options,"inner"!==o.borderAlign&&(u=(l=o.hoverBorderWidth)>(u=(s=o.borderWidth)>u?s:u)?l:u);return u},setHoverStyle:function(e){var t=e._model,n=e._options,i=z.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=Se(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Se(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Se(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(Se(this.chart.data.datasets[e].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});R._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"}}),R._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var Oe=Ce.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Ye=z.valueOrDefault,Pe=z.options.resolve,Ie=z.canvas._isPointInArea;function Re(e,t){var n=e&&e.options.ticks||{},i=n.reverse,a=void 0===n.min?t:0,r=void 0===n.max?t:0;return{start:i?r:a,end:i?a:r}}function Fe(e,t,n){var i=n/2,a=Re(e,i),r=Re(t,i);return{top:r.end,right:a.end,bottom:r.start,left:a.start}}function je(e){var t,n,i,a;return z.isObject(e)?(t=e.top,n=e.right,i=e.bottom,a=e.left):t=n=i=a=e,{top:t,right:n,bottom:i,left:a}}R._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 He=ee.extend({datasetElementType:ve.Line,dataElementType:ve.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",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,a=i.getMeta(),r=a.dataset,o=a.data||[],s=i._config,l=i._showLine=Ye(s.showLine,i.chart.options.showLines);for(i._xScale=i.getScaleForId(a.xAxisID),i._yScale=i.getScaleForId(a.yAxisID),l&&(void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),r._scale=i._yScale,r._datasetIndex=i.index,r._children=o,r._model=i._resolveDatasetElementOptions(r),r.pivot()),t=0,n=o.length;t<n;++t)i.updateElement(o[t],t,e);for(l&&0!==r._model.tension&&i.updateBezierControlPoints(),t=0,n=o.length;t<n;++t)o[t].pivot()},updateElement:function(e,t,n){var i,a,r=this,o=r.getMeta(),s=e.custom||{},l=r.getDataset(),u=r.index,c=l.data[t],d=r._xScale,h=r._yScale,f=o.dataset._model,m=r._resolveDataElementOptions(e,t);i=d.getPixelForValue("object"==typeof c?c:NaN,t,u),a=n?h.getBasePixel():r.calculatePointY(c,t,u),e._xScale=d,e._yScale=h,e._options=m,e._datasetIndex=u,e._index=t,e._model={x:i,y:a,skip:s.skip||isNaN(i)||isNaN(a),radius:m.radius,pointStyle:m.pointStyle,rotation:m.rotation,backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,tension:Ye(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:m.hitRadius}},_resolveDatasetElementOptions:function(e){var t=this,n=t._config,i=e.custom||{},a=t.chart.options,r=a.elements.line,o=ee.prototype._resolveDatasetElementOptions.apply(t,arguments);return o.spanGaps=Ye(n.spanGaps,a.spanGaps),o.tension=Ye(n.lineTension,r.tension),o.steppedLine=Pe([i.steppedLine,n.steppedLine,r.stepped]),o.clip=je(Ye(n.clip,Fe(t._xScale,t._yScale,o.borderWidth))),o},calculatePointY:function(e,t,n){var i,a,r,o,s,l,u=this.chart,c=this._yScale,d=0,h=0;if(c.options.stacked){for(o=+c.getRightValue(e),l=(s=u._getSortedVisibleDatasetMetas()).length,i=0;i<l&&(a=s[i]).index!==n;++i)"line"===a.type&&a.yAxisID===c.id&&((r=+c.getRightValue(u.data.datasets[a.index].data[t]))<0?h+=r||0:d+=r||0);return c.getPixelForValue(o<0?h+o:d+o)}return c.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,i,a=this.chart,r=this.getMeta(),o=r.dataset._model,s=a.chartArea,l=r.data||[];function u(e,t,n){return Math.max(Math.min(e,n),t)}if(o.spanGaps&&(l=l.filter((function(e){return!e._model.skip}))),"monotone"===o.cubicInterpolationMode)z.splineCurveMonotone(l);else for(e=0,t=l.length;e<t;++e)n=l[e]._model,i=z.splineCurve(z.previousItem(l,e)._model,n,z.nextItem(l,e)._model,o.tension),n.controlPointPreviousX=i.previous.x,n.controlPointPreviousY=i.previous.y,n.controlPointNextX=i.next.x,n.controlPointNextY=i.next.y;if(a.options.elements.line.capBezierPoints)for(e=0,t=l.length;e<t;++e)Ie(n=l[e]._model,s)&&(e>0&&Ie(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&&Ie(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||[],a=t.chartArea,r=t.canvas,o=0,s=i.length;for(this._showLine&&(z.canvas.clipArea(t.ctx,{left:!1===(e=n.dataset._model.clip).left?0:a.left-e.left,right:!1===e.right?r.width:a.right+e.right,top:!1===e.top?0:a.top-e.top,bottom:!1===e.bottom?r.height:a.bottom+e.bottom}),n.dataset.draw(),z.canvas.unclipArea(t.ctx));o<s;++o)i[o].draw(a)},setHoverStyle:function(e){var t=e._model,n=e._options,i=z.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Ye(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Ye(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Ye(n.hoverBorderWidth,n.borderWidth),t.radius=Ye(n.hoverRadius,n.radius)}}),Ne=z.options.resolve;R._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,a=document.createElement("ul"),r=e.data,o=r.datasets,s=r.labels;if(a.setAttribute("class",e.id+"-legend"),o.length)for(t=0,n=o[0].data.length;t<n;++t)(i=a.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[t],s[t]&&i.appendChild(document.createTextNode(s[t]));return a.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,i){var a=e.getDatasetMeta(0),r=a.controller.getStyle(i);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(t.datasets[0].data[i])||a.data[i].hidden,index:i}})):[]}},onClick:function(e,t){var n,i,a,r=t.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(a=o.getDatasetMeta(n)).data[r].hidden=!a.data[r].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}});var ze=ee.extend({dataElementType:ve.Arc,linkScales:z.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,i,a=this,r=a.getDataset(),o=a.getMeta(),s=a.chart.options.startAngle||0,l=a._starts=[],u=a._angles=[],c=o.data;for(a._updateRadius(),o.count=a.countVisibleElements(),t=0,n=r.data.length;t<n;t++)l[t]=s,i=a._computeAngle(t),u[t]=i,s+=i;for(t=0,n=c.length;t<n;++t)c[t]._options=a._resolveDataElementOptions(c[t],t),a.updateElement(c[t],t,e)},_updateRadius:function(){var e=this,t=e.chart,n=t.chartArea,i=t.options,a=Math.min(n.right-n.left,n.bottom-n.top);t.outerRadius=Math.max(a/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,a=i.chart,r=i.getDataset(),o=a.options,s=o.animation,l=a.scale,u=a.data.labels,c=l.xCenter,d=l.yCenter,h=o.startAngle,f=e.hidden?0:l.getDistanceFromCenterForValue(r.data[t]),m=i._starts[t],p=m+(e.hidden?0:i._angles[t]),_=s.animateScale?0:l.getDistanceFromCenterForValue(r.data[t]),v=e._options||{};z.extend(e,{_datasetIndex:i.index,_index:t,_scale:l,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:c,y:d,innerRadius:0,outerRadius:n?_:f,startAngle:n&&s.animateRotate?h:m,endAngle:n&&s.animateRotate?h:p,label:z.valueAtIndexOrDefault(u,t,u[t])}}),e.pivot()},countVisibleElements:function(){var e=this.getDataset(),t=this.getMeta(),n=0;return z.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=z.getHoverColor,a=z.valueOrDefault;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=a(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=a(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=a(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(e){var t=this,n=this.getMeta().count,i=t.getDataset(),a=t.getMeta();return isNaN(i.data[e])||a.data[e].hidden?0:Ne([t.chart.options.elements.arc.angle,2*Math.PI/n],{chart:t.chart,dataIndex:e,dataset:i,datasetIndex:t.index},e)}});R._set("pie",z.clone(R.doughnut)),R._set("pie",{cutoutPercentage:0});var Ve=Ee,Be=z.valueOrDefault;R._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var We=ee.extend({datasetElementType:ve.Line,dataElementType:ve.Point,linkScales:z.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",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,a=i.getMeta(),r=a.dataset,o=a.data||[],s=i.chart.scale,l=i._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),r._scale=s,r._datasetIndex=i.index,r._children=o,r._loop=!0,r._model=i._resolveDatasetElementOptions(r),r.pivot(),t=0,n=o.length;t<n;++t)i.updateElement(o[t],t,e);for(i.updateBezierControlPoints(),t=0,n=o.length;t<n;++t)o[t].pivot()},updateElement:function(e,t,n){var i=this,a=e.custom||{},r=i.getDataset(),o=i.chart.scale,s=o.getPointPositionForValue(t,r.data[t]),l=i._resolveDataElementOptions(e,t),u=i.getMeta().dataset._model,c=n?o.xCenter:s.x,d=n?o.yCenter:s.y;e._scale=o,e._options=l,e._datasetIndex=i.index,e._index=t,e._model={x:c,y:d,skip:a.skip||isNaN(c)||isNaN(d),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:Be(a.tension,u?u.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var e=this,t=e._config,n=e.chart.options,i=ee.prototype._resolveDatasetElementOptions.apply(e,arguments);return i.spanGaps=Be(t.spanGaps,n.spanGaps),i.tension=Be(t.lineTension,n.elements.line.tension),i},updateBezierControlPoints:function(){var e,t,n,i,a=this.getMeta(),r=this.chart.chartArea,o=a.data||[];function s(e,t,n){return Math.max(Math.min(e,n),t)}for(a.dataset._model.spanGaps&&(o=o.filter((function(e){return!e._model.skip}))),e=0,t=o.length;e<t;++e)n=o[e]._model,i=z.splineCurve(z.previousItem(o,e,!0)._model,n,z.nextItem(o,e,!0)._model,n.tension),n.controlPointPreviousX=s(i.previous.x,r.left,r.right),n.controlPointPreviousY=s(i.previous.y,r.top,r.bottom),n.controlPointNextX=s(i.next.x,r.left,r.right),n.controlPointNextY=s(i.next.y,r.top,r.bottom)},setHoverStyle:function(e){var t=e._model,n=e._options,i=z.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Be(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Be(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Be(n.hoverBorderWidth,n.borderWidth),t.radius=Be(n.hoverRadius,n.radius)}});R._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+")"}}}}),R._set("global",{datasets:{scatter:{showLine:!1}}});var Ue={bar:Ce,bubble:De,doughnut:Ee,horizontalBar:Oe,line:He,polarArea:ze,pie:Ve,radar:We,scatter:He};function qe(e,t){return e.native?{x:e.x,y:e.y}:z.getRelativePosition(e,t)}function Ge(e,t){var n,i,a,r,o,s,l=e._getSortedVisibleDatasetMetas();for(i=0,r=l.length;i<r;++i)for(a=0,o=(n=l[i].data).length;a<o;++a)(s=n[a])._view.skip||t(s)}function Ze(e,t){var n=[];return Ge(e,(function(e){e.inRange(t.x,t.y)&&n.push(e)})),n}function Je(e,t,n,i){var a=Number.POSITIVE_INFINITY,r=[];return Ge(e,(function(e){if(!n||e.inRange(t.x,t.y)){var o=e.getCenterPoint(),s=i(t,o);s<a?(r=[e],a=s):s===a&&r.push(e)}})),r}function Ke(e){var t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,i){var a=t?Math.abs(e.x-i.x):0,r=n?Math.abs(e.y-i.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(r,2))}}function Qe(e,t,n){var i=qe(t,e);n.axis=n.axis||"x";var a=Ke(n.axis),r=n.intersect?Ze(e,i):Je(e,i,!1,a),o=[];return r.length?(e._getSortedVisibleDatasetMetas().forEach((function(e){var t=e.data[r[0]._index];t&&!t._view.skip&&o.push(t)})),o):[]}var Xe={modes:{single:function(e,t){var n=qe(t,e),i=[];return Ge(e,(function(e){if(e.inRange(n.x,n.y))return i.push(e),i})),i.slice(0,1)},label:Qe,index:Qe,dataset:function(e,t,n){var i=qe(t,e);n.axis=n.axis||"xy";var a=Ke(n.axis),r=n.intersect?Ze(e,i):Je(e,i,!1,a);return r.length>0&&(r=e.getDatasetMeta(r[0]._datasetIndex).data),r},"x-axis":function(e,t){return Qe(e,t,{intersect:!1})},point:function(e,t){return Ze(e,qe(t,e))},nearest:function(e,t,n){var i=qe(t,e);n.axis=n.axis||"xy";var a=Ke(n.axis);return Je(e,i,n.intersect,a)},x:function(e,t,n){var i=qe(t,e),a=[],r=!1;return Ge(e,(function(e){e.inXRange(i.x)&&a.push(e),e.inRange(i.x,i.y)&&(r=!0)})),n.intersect&&!r&&(a=[]),a},y:function(e,t,n){var i=qe(t,e),a=[],r=!1;return Ge(e,(function(e){e.inYRange(i.y)&&a.push(e),e.inRange(i.x,i.y)&&(r=!0)})),n.intersect&&!r&&(a=[]),a}}},$e=z.extend;function et(e,t){return z.where(e,(function(e){return e.pos===t}))}function tt(e,t){return e.sort((function(e,n){var i=t?n:e,a=t?e:n;return i.weight===a.weight?i.index-a.index:i.weight-a.weight}))}function nt(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function it(e,t,n){var i,a,r=n.box,o=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?r.height:r.width,e[n.pos]+=n.size,r.getPadding){var s=r.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(i=t.outerWidth-nt(o,e,"left","right"),a=t.outerHeight-nt(o,e,"top","bottom"),i!==e.w||a!==e.h){e.w=i,e.h=a;var l=n.horizontal?[i,e.w]:[a,e.h];return!(l[0]===l[1]||isNaN(l[0])&&isNaN(l[1]))}}function at(e,t){var n,i=t.maxPadding;return n={left:0,top:0,right:0,bottom:0},(e?["left","right"]:["top","bottom"]).forEach((function(e){n[e]=Math.max(t[e],i[e])})),n}function rt(e,t,n){var i,a,r,o,s,l,u=[];for(i=0,a=e.length;i<a;++i)(o=(r=e[i]).box).update(r.width||t.w,r.height||t.h,at(r.horizontal,t)),it(t,n,r)&&(l=!0,u.length&&(s=!0)),o.fullWidth||u.push(r);return s&&rt(u,t,n)||l}function ot(e,t,n){var i,a,r,o,s=n.padding,l=t.x,u=t.y;for(i=0,a=e.length;i<a;++i)o=(r=e[i]).box,r.horizontal?(o.left=o.fullWidth?s.left:t.left,o.right=o.fullWidth?n.outerWidth-s.right:t.left+t.w,o.top=u,o.bottom=u+o.height,o.width=o.right-o.left,u=o.bottom):(o.left=l,o.right=l+o.width,o.top=t.top,o.bottom=t.top+t.h,o.height=o.bottom-o.top,l=o.right);t.x=l,t.y=u}R._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var st,lt={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,a=["fullWidth","position","weight"],r=a.length,o=0;o<r;++o)n.hasOwnProperty(i=a[o])&&(t[i]=n[i])},update:function(e,t,n){if(e){var i=z.options.toPadding((e.options.layout||{}).padding),a=t-i.width,r=n-i.height,o=function(e){var t=function(e){var t,n,i,a=[];for(t=0,n=(e||[]).length;t<n;++t)a.push({index:t,box:i=e[t],pos:i.position,horizontal:i.isHorizontal(),weight:i.weight});return a}(e),n=tt(et(t,"left"),!0),i=tt(et(t,"right")),a=tt(et(t,"top"),!0),r=tt(et(t,"bottom"));return{leftAndTop:n.concat(a),rightAndBottom:i.concat(r),chartArea:et(t,"chartArea"),vertical:n.concat(i),horizontal:a.concat(r)}}(e.boxes),s=o.vertical,l=o.horizontal,u=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:a,vBoxMaxWidth:a/2/s.length,hBoxMaxHeight:r/2}),c=$e({maxPadding:$e({},i),w:a,h:r,x:i.left,y:i.top},i);!function(e,t){var n,i,a;for(n=0,i=e.length;n<i;++n)(a=e[n]).width=a.horizontal?a.box.fullWidth&&t.availableWidth:t.vBoxMaxWidth,a.height=a.horizontal&&t.hBoxMaxHeight}(s.concat(l),u),rt(s,c,u),rt(l,c,u)&&rt(s,c,u),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")}(c),ot(o.leftAndTop,c,u),c.x+=c.w,c.y+=c.h,ot(o.rightAndBottom,c,u),e.chartArea={left:c.left,top:c.top,right:c.left+c.w,bottom:c.top+c.h},z.each(o.chartArea,(function(t){var n=t.box;$e(n,e.chartArea),n.update(c.w,c.h)}))}}},ut=(st=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"}))&&st.default||st,ct=["animationstart","webkitAnimationStart"],dt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ht(e,t){var n=z.getStyle(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var ft=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(n){}return e}()&&{passive:!0};function mt(e,t,n){e.addEventListener(t,n,ft)}function pt(e,t,n){e.removeEventListener(t,n,ft)}function _t(e,t,n,i,a){return{type:e,chart:t,native:a||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function vt(e){var t=document.createElement("div");return t.className=e||"",t}var gt={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,ut)}},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"),a=e.getAttribute("width");if(e.$chartjs={initial:{height:i,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===a||""===a){var r=ht(e,"width");void 0!==r&&(e.width=r)}if(null===i||""===i)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var o=ht(e,"height");void 0!==r&&(e.height=o)}}(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];z.isNullOrUndef(i)?t.removeAttribute(e):t.setAttribute(e,i)})),z.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 a=n.$chartjs||(n.$chartjs={});mt(i,t,(a.proxies||(a.proxies={}))[e.id+"_"+t]=function(t){n(function(e,t){var n=dt[e.type]||e.type,i=z.getRelativePosition(e,t);return _t(n,t,i.x,i.y,e)}(t,e))})}else!function(e,t,n){var i,a,r,o,s=e.$chartjs||(e.$chartjs={}),l=s.resizer=function(e){var t=vt("chartjs-size-monitor"),n=vt("chartjs-size-monitor-expand"),i=vt("chartjs-size-monitor-shrink");n.appendChild(vt()),i.appendChild(vt()),t.appendChild(n),t.appendChild(i),t._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6};var a=function(){t._reset(),e()};return mt(n,"scroll",a.bind(n,"expand")),mt(i,"scroll",a.bind(i,"shrink")),t}((i=function(){if(s.resizer){var i=n.options.maintainAspectRatio&&e.parentNode,a=i?i.clientWidth:0;t(_t("resize",n)),i&&i.clientWidth<a&&n.canvas&&t(_t("resize",n))}},r=!1,o=[],function(){o=Array.prototype.slice.call(arguments),a=a||this,r||(r=!0,z.requestAnimFrame.call(window,(function(){r=!1,i.apply(a,o)})))}));!function(e,t){var n=e.$chartjs||(e.$chartjs={}),i=n.renderProxy=function(e){"chartjs-render-animation"===e.animationName&&t()};z.each(ct,(function(t){mt(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()}}))}(i,n,e)},removeEventListener:function(e,t,n){var i,a,r,o=e.canvas;if("resize"!==t){var s=((n.$chartjs||{}).proxies||{})[e.id+"_"+t];s&&pt(o,t,s)}else r=(a=(i=o).$chartjs||{}).resizer,delete a.resizer,function(e){var t=e.$chartjs||{},n=t.renderProxy;n&&(z.each(ct,(function(t){pt(e,t,n)})),delete t.renderProxy),e.classList.remove("chartjs-render-monitor")}(i),r&&r.parentNode&&r.parentNode.removeChild(r)}};z.addEvent=mt,z.removeEvent=pt;var yt=z.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},gt._enabled?gt:{acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}});R._set("global",{plugins:{}});var bt={_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,a,r,o,s,l=this.descriptors(e),u=l.length;for(i=0;i<u;++i)if("function"==typeof(s=(r=(a=l[i]).plugin)[t])&&((o=[e].concat(n||[])).push(a.options),!1===s.apply(r,o)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var n=[],i=[],a=e&&e.config||{},r=a.options&&a.options.plugins||{};return this._plugins.concat(a.plugins||[]).forEach((function(e){if(-1===n.indexOf(e)){var t=e.id,a=r[t];!1!==a&&(!0===a&&(a=z.clone(R.global.plugins[t])),n.push(e),i.push({plugin:e,options:a||{}}))}})),t.descriptors=i,t.id=this._cacheId,i},_invalidate:function(e){delete e.$plugins}},kt={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=z.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?z.merge(Object.create(null),[R.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=z.extend(this.defaults[e],t))},addScalesToLayout:function(e){z.each(e.scales,(function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,lt.addBox(e,t)}))}},wt=z.valueOrDefault,Ct=z.rtl.getRtlAdapter;R._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:z.noop,title:function(e,t){var n="",i=t.labels,a=i?i.length:0;if(e.length>0){var r=e[0];r.label?n=r.label:r.xLabel?n=r.xLabel:a>0&&r.index<a&&(n=i[r.index])}return n},afterTitle:z.noop,beforeBody:z.noop,beforeLabel:z.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),z.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:z.noop,afterBody:z.noop,beforeFooter:z.noop,footer:z.noop,afterFooter:z.noop}}});var xt={average:function(e){if(!e.length)return!1;var t,n,i=0,a=0,r=0;for(t=0,n=e.length;t<n;++t){var o=e[t];if(o&&o.hasValue()){var s=o.tooltipPosition();i+=s.x,a+=s.y,++r}}return{x:i/r,y:a/r}},nearest:function(e,t){var n,i,a,r=t.x,o=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=z.distanceBetweenPoints(t,u);c<s&&(s=c,a=l)}}if(a){var d=a.tooltipPosition();r=d.x,o=d.y}return{x:r,y:o}}};function Mt(e,t){return t&&(z.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Dt(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function St(e){var t=R.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:wt(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:wt(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:wt(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:wt(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:wt(e.titleFontStyle,t.defaultFontStyle),titleFontSize:wt(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:wt(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:wt(e.footerFontStyle,t.defaultFontStyle),footerFontSize:wt(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 Lt(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Tt(e){return Mt([],Dt(e))}var At=q.extend({initialize:function(){this._model=St(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,n=t.callbacks,i=n.beforeTitle.apply(e,arguments),a=n.title.apply(e,arguments),r=n.afterTitle.apply(e,arguments),o=[];return o=Mt(o,Dt(i)),o=Mt(o,Dt(a)),Mt(o,Dt(r))},getBeforeBody:function(){return Tt(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,i=n._options.callbacks,a=[];return z.each(e,(function(e){var r={before:[],lines:[],after:[]};Mt(r.before,Dt(i.beforeLabel.call(n,e,t))),Mt(r.lines,i.label.call(n,e,t)),Mt(r.after,Dt(i.afterLabel.call(n,e,t))),a.push(r)})),a},getAfterBody:function(){return Tt(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),a=t.afterFooter.apply(e,arguments),r=[];return r=Mt(r,Dt(n)),r=Mt(r,Dt(i)),Mt(r,Dt(a))},update:function(e){var t,n,i,a,r,o,s,l,u,c,d=this,h=d._options,f=d._model,m=d._model=St(h),p=d._active,_=d._data,v={xAlign:f.xAlign,yAlign:f.yAlign},g={x:f.x,y:f.y},y={width:f.width,height:f.height},b={x:f.caretX,y:f.caretY};if(p.length){m.opacity=1;var k=[],w=[];b=xt[h.position].call(d,p,d._eventPosition);var C=[];for(t=0,n=p.length;t<n;++t)C.push((a=void 0,r=void 0,l=void 0,u=void 0,c=void 0,a=(i=p[t])._xScale,r=i._yScale||i._scale,o=i._index,u=(l=i._chart.getDatasetMeta(s=i._datasetIndex).controller)._getIndexScale(),c=l._getValueScale(),{xLabel:a?a.getLabelForIndex(o,s):"",yLabel:r?r.getLabelForIndex(o,s):"",label:u?""+u.getLabelForIndex(o,s):"",value:c?""+c.getLabelForIndex(o,s):"",index:o,datasetIndex:s,x:i._model.x,y:i._model.y}));h.filter&&(C=C.filter((function(e){return h.filter(e,_)}))),h.itemSort&&(C=C.sort((function(e,t){return h.itemSort(e,t,_)}))),z.each(C,(function(e){k.push(h.callbacks.labelColor.call(d,e,d._chart)),w.push(h.callbacks.labelTextColor.call(d,e,d._chart))})),m.title=d.getTitle(C,_),m.beforeBody=d.getBeforeBody(C,_),m.body=d.getBody(C,_),m.afterBody=d.getAfterBody(C,_),m.footer=d.getFooter(C,_),m.x=b.x,m.y=b.y,m.caretPadding=h.caretPadding,m.labelColors=k,m.labelTextColors=w,m.dataPoints=C,y=function(e,t){var n=e._chart.ctx,i=2*t.yPadding,a=0,r=t.body,o=r.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0),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+=(o+=t.beforeBody.length+t.afterBody.length)*c,i+=o?(o-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){a=Math.max(a,n.measureText(e).width+h)};return n.font=z.fontString(u,t._titleFontStyle,t._titleFontFamily),z.each(t.title,f),n.font=z.fontString(c,t._bodyFontStyle,t._bodyFontFamily),z.each(t.beforeBody.concat(t.afterBody),f),h=t.displayColors?c+2:0,z.each(r,(function(e){z.each(e.before,f),z.each(e.lines,f),z.each(e.after,f)})),h=0,n.font=z.fontString(d,t._footerFontStyle,t._footerFontFamily),z.each(t.footer,f),{width:a+=2*t.xPadding,height:i}}(this,m),g=function(e,t,n,i){var a=e.x,r=e.y,o=e.caretPadding,s=n.xAlign,l=n.yAlign,u=e.caretSize+o,c=e.cornerRadius+o;return"right"===s?a-=t.width:"center"===s&&((a-=t.width/2)+t.width>i.width&&(a=i.width-t.width),a<0&&(a=0)),"top"===l?r+=u:r-="bottom"===l?t.height+u:t.height/2,"center"===l?"left"===s?a+=u:"right"===s&&(a-=u):"left"===s?a-=c:"right"===s&&(a+=c),{x:a,y:r}}(m,y,v=function(e,t){var n,i,a,r,o,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}),a=function(e){return e+t.width+s.caretSize+s.caretPadding>l.width},r=function(e){return e-t.width-s.caretSize-s.caretPadding<0},o=function(e){return e<=f?"top":"bottom"},n(s.x)?(c="left",a(s.x)&&(c="center",d=o(s.y))):i(s.x)&&(c="right",r(s.x)&&(c="center",d=o(s.y)));var m=e._options;return{xAlign:m.xAlign?m.xAlign:c,yAlign:m.yAlign?m.yAlign:d}}(this,y),d._chart)}else m.opacity=0;return m.xAlign=v.xAlign,m.yAlign=v.yAlign,m.x=g.x,m.y=g.y,m.width=y.width,m.height=y.height,m.caretX=b.x,m.caretY=b.y,d._model=m,e&&h.custom&&h.custom.call(d,m),d},drawCaret:function(e,t){var n=this._chart.ctx,i=this.getCaretPosition(e,t,this._view);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(e,t,n){var i,a,r,o,s,l,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=e.x,m=e.y,p=t.width,_=t.height;if("center"===h)s=m+_/2,"left"===d?(a=(i=f)-u,r=i,o=s+u,l=s-u):(a=(i=f+p)+u,r=i,o=s-u,l=s+u);else if("left"===d?(i=(a=f+c+u)-u,r=a+u):"right"===d?(i=(a=f+p-c-u)-u,r=a+u):(i=(a=n.caretX)-u,r=a+u),"top"===h)s=(o=m)-u,l=o;else{s=(o=m+_)+u,l=o;var v=r;r=i,i=v}return{x1:i,x2:a,x3:r,y1:o,y2:s,y3:l}},drawTitle:function(e,t,n){var i,a,r,o=t.title,s=o.length;if(s){var l=Ct(t.rtl,t.x,t.width);for(e.x=Lt(t,t._titleAlign),n.textAlign=l.textAlign(t._titleAlign),n.textBaseline="middle",i=t.titleFontSize,a=t.titleSpacing,n.fillStyle=t.titleFontColor,n.font=z.fontString(i,t._titleFontStyle,t._titleFontFamily),r=0;r<s;++r)n.fillText(o[r],l.x(e.x),e.y+i/2),e.y+=i+a,r+1===s&&(e.y+=t.titleMarginBottom-a)}},drawBody:function(e,t,n){var i,a,r,o,s,l,u,c,d=t.bodyFontSize,h=t.bodySpacing,f=t._bodyAlign,m=t.body,p=t.displayColors,_=0,v=p?Lt(t,"left"):0,g=Ct(t.rtl,t.x,t.width),y=function(t){n.fillText(t,g.x(e.x+_),e.y+d/2),e.y+=d+h},b=g.textAlign(f);for(n.textAlign=f,n.textBaseline="middle",n.font=z.fontString(d,t._bodyFontStyle,t._bodyFontFamily),e.x=Lt(t,b),n.fillStyle=t.bodyFontColor,z.each(t.beforeBody,y),_=p&&"right"!==b?"center"===f?d/2+1:d+2:0,s=0,u=m.length;s<u;++s){for(i=m[s],r=t.labelColors[s],n.fillStyle=a=t.labelTextColors[s],z.each(i.before,y),l=0,c=(o=i.lines).length;l<c;++l){if(p){var k=g.x(v);n.fillStyle=t.legendColorBackground,n.fillRect(g.leftForLtr(k,d),e.y,d,d),n.lineWidth=1,n.strokeStyle=r.borderColor,n.strokeRect(g.leftForLtr(k,d),e.y,d,d),n.fillStyle=r.backgroundColor,n.fillRect(g.leftForLtr(g.xPlus(k,1),d-2),e.y+1,d-2,d-2),n.fillStyle=a}y(o[l])}z.each(i.after,y)}_=0,z.each(t.afterBody,y),e.y-=h},drawFooter:function(e,t,n){var i,a,r=t.footer,o=r.length;if(o){var s=Ct(t.rtl,t.x,t.width);for(e.x=Lt(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=z.fontString(i,t._footerFontStyle,t._footerFontFamily),a=0;a<o;++a)n.fillText(r[a],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 a=t.xAlign,r=t.yAlign,o=e.x,s=e.y,l=i.width,u=i.height,c=t.cornerRadius;n.beginPath(),n.moveTo(o+c,s),"top"===r&&this.drawCaret(e,i),n.lineTo(o+l-c,s),n.quadraticCurveTo(o+l,s,o+l,s+c),"center"===r&&"right"===a&&this.drawCaret(e,i),n.lineTo(o+l,s+u-c),n.quadraticCurveTo(o+l,s+u,o+l-c,s+u),"bottom"===r&&this.drawCaret(e,i),n.lineTo(o+c,s+u),n.quadraticCurveTo(o,s+u,o,s+u-c),"center"===r&&"left"===a&&this.drawCaret(e,i),n.lineTo(o,s+c),n.quadraticCurveTo(o,s,o+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},a=Math.abs(t.opacity<.001)?0:t.opacity;this._options.enabled&&(t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length)&&(e.save(),e.globalAlpha=a,this.drawBackground(i,t,e,n),i.y+=t.yPadding,z.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(i,t,e),this.drawBody(i,t,e),this.drawFooter(i,t,e),z.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=!z.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}});At.positioners=xt;var Et=z.valueOrDefault;function Ot(){return z.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,i){if("xAxes"===e||"yAxes"===e){var a,r,o,s=n[e].length;for(t[e]||(t[e]=[]),a=0;a<s;++a)r=Et((o=n[e][a]).type,"xAxes"===e?"category":"linear"),a>=t[e].length&&t[e].push({}),z.merge(t[e][a],!t[e][a].type||o.type&&o.type!==t[e][a].type?[kt.getScaleDefaults(r),o]:o)}else z._merger(e,t,n,i)}})}function Yt(){return z.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,i){var a=t[e]||Object.create(null),r=n[e];"scales"===e?t[e]=Ot(a,r):"scale"===e?t[e]=z.merge(a,[kt.getScaleDefaults(r.type),r]):z._merger(e,t,n,i)}})}function Pt(e){var t=e.options;z.each(e.scales,(function(t){lt.removeBox(e,t)})),t=Yt(R.global,R[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function It(e,t,n){var i,a=function(e){return e.id===i};do{i=t+n++}while(z.findIndex(e,a)>=0);return i}function Rt(e){return"top"===e||"bottom"===e}function Ft(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}R._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 jt=function(e,t){return this.construct(e,t),this};z.extend(jt.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=Yt(R.global,R[e.type],e.options||{}),e}(t);var i=yt.acquireContext(e,t),a=i&&i.canvas,r=a&&a.height,o=a&&a.width;n.id=z.uid(),n.ctx=i,n.canvas=a,n.config=t,n.width=o,n.height=r,n.aspectRatio=r?o/r:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,jt.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),i&&a?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return bt.notify(e,"beforeInit"),z.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),bt.notify(e,"afterInit"),e},clear:function(){return z.canvas.clear(this),this},stop:function(){return J.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,i=t.canvas,a=n.maintainAspectRatio&&t.aspectRatio||null,r=Math.max(0,Math.floor(z.getMaximumWidth(i))),o=Math.max(0,Math.floor(a?r/a:z.getMaximumHeight(i)));if((t.width!==r||t.height!==o)&&(i.width=t.width=r,i.height=t.height=o,i.style.width=r+"px",i.style.height=o+"px",z.retinaScale(t,n.devicePixelRatio),!e)){var s={width:r,height:o};bt.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;z.each(t.xAxes,(function(e,n){e.id||(e.id=It(t.xAxes,"x-axis-",n))})),z.each(t.yAxes,(function(e,n){e.id||(e.id=It(t.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,n=e.scales||{},i=[],a=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"}),z.each(i,(function(t){var i=t.options,r=i.id,o=Et(i.type,t.dtype);Rt(i.position)!==Rt(t.dposition)&&(i.position=t.dposition),a[r]=!0;var s=null;if(r in n&&n[r].type===o)(s=n[r]).options=i,s.ctx=e.ctx,s.chart=e;else{var l=kt.getScaleConstructor(o);if(!l)return;s=new l({id:r,type:o,options:i,ctx:e.ctx,chart:e}),n[s.id]=s}s.mergeTicksOptions(),t.isDefault&&(e.scale=s)})),z.each(a,(function(e,t){e||delete n[t]})),e.scales=n,kt.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=this,i=[],a=n.data.datasets;for(e=0,t=a.length;e<t;e++){var r=a[e],o=n.getDatasetMeta(e),s=r.type||n.config.type;if(o.type&&o.type!==s&&(n.destroyDatasetMeta(e),o=n.getDatasetMeta(e)),o.type=s,o.order=r.order||0,o.index=e,o.controller)o.controller.updateIndex(e),o.controller.linkScales();else{var l=Ue[o.type];if(void 0===l)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new l(n,e),i.push(o.controller)}}return i},resetElements:function(){var e=this;z.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]}),Pt(i),bt._invalidate(i),!1!==bt.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var a=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&&z.each(a,(function(e){e.reset()})),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],bt.notify(i,"afterUpdate"),i._layers.sort(Ft("z","_idx")),i._bufferedRender?i._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:i.render(e)}},updateLayout:function(){var e=this;!1!==bt.notify(e,"beforeLayout")&&(lt.update(this,this.width,this.height),e._layers=[],z.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})),bt.notify(e,"afterScaleUpdate"),bt.notify(e,"afterLayout"))},updateDatasets:function(){if(!1!==bt.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);bt.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),n={meta:t,index:e};!1!==bt.notify(this,"beforeDatasetUpdate",[n])&&(t.controller._update(),bt.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=Et(e.duration,n&&n.duration),a=e.lazy;if(!1!==bt.notify(t,"beforeRender")){var r=function(e){bt.notify(t,"afterRender"),z.callback(n&&n.onComplete,[e],t)};if(n&&i){var o=new Z({numSteps:i/16.66,easing:e.easing||n.easing,render:function(e,t){var n=t.currentStep,i=n/t.numSteps;e.draw((0,z.easing.effects[t.easing])(i),i,n)},onAnimationProgress:n.onProgress,onAnimationComplete:r});J.addAnimation(t,o,i,a)}else t.draw(),r(new Z({numSteps:0,chart:t}));return t}},draw:function(e){var t,n,i=this;if(i.clear(),z.isNullOrUndef(e)&&(e=1),i.transition(e),!(i.width<=0||i.height<=0)&&!1!==bt.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),bt.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(Ft("order","index")),i},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(e){var t,n;if(!1!==bt.notify(this,"beforeDatasetsDraw",[e])){for(n=(t=this._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)this.drawDataset(t[n],e);bt.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n={meta:e,index:e.index,easingValue:t};!1!==bt.notify(this,"beforeDatasetDraw",[n])&&(e.controller.draw(t),bt.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==bt.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),bt.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return Xe.modes.single(this,e)},getElementsAtEvent:function(e){return Xe.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return Xe.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var i=Xe.modes[t];return"function"==typeof i?i(this,e,n):[]},getDatasetAtEvent:function(e){return Xe.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(),z.canvas.clear(n),yt.releaseContext(n.ctx),n.canvas=null,n.ctx=null),bt.notify(n,"destroy"),delete jt.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new At({_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)};z.each(e.options.events,(function(i){yt.addEventListener(e,i,n),t[i]=n})),e.options.responsive&&(n=function(){e.resize()},yt.addEventListener(e,"resize",n),t.resize=n)},unbindEvents:function(){var e=this,t=e._listeners;t&&(delete e._listeners,z.each(t,(function(t,n){yt.removeEventListener(e,n,t)})))},updateHoverStyle:function(e,t,n){var i,a,r,o=n?"set":"remove";for(a=0,r=e.length;a<r;++a)(i=e[a])&&this.getDatasetMeta(i._datasetIndex).controller[o+"HoverStyle"](i);"dataset"===t&&this.getDatasetMeta(e[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==bt.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var i=t.handleEvent(e);n&&(i=n._start?n.handleEvent(e):i|n.handleEvent(e)),bt.notify(t,"afterEvent",[e]);var a=t._bufferedRequest;return a?t.render(a):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||{},a=i.hover;return n.lastActive=n.lastActive||[],n.active="mouseout"===e.type?[]:n.getElementsAtEventForMode(e,a.mode,a),z.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,a.mode,!1),n.active.length&&a.mode&&n.updateHoverStyle(n.active,a.mode,!0),t=!z.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,t}}),jt.instances={};var Ht=jt;function Nt(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function zt(e){this.options=e||{}}jt.Controller=jt,jt.types={},z.configMerge=Yt,z.scaleMerge=Ot,z.extend(zt.prototype,{formats:Nt,parse:Nt,format:Nt,add:Nt,diff:Nt,startOf:Nt,endOf:Nt,_create:function(e){return e}}),zt.override=function(e){z.extend(zt.prototype,e)};var Vt={_date:zt},Bt={formatters:{values:function(e){return z.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 a=z.log10(Math.abs(i)),r="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=z.log10(Math.abs(e)),s=Math.floor(o)-Math.floor(a);s=Math.max(Math.min(s,20),0),r=e.toExponential(s)}else{var l=-1*Math.floor(a);l=Math.max(Math.min(l,20),0),r=e.toFixed(l)}else r="0";return r},logarithmic:function(e,t,n){var i=e/Math.pow(10,Math.floor(z.log10(e)));return 0===e?"0":1===i||2===i||5===i||0===t||t===n.length-1?e.toExponential():""}}},Wt=z.isArray,Ut=z.isNullOrUndef,qt=z.valueOrDefault,Gt=z.valueAtIndexOrDefault;function Zt(e,t,n){var i,a=e.getTicks().length,r=Math.min(t,a-1),o=e.getPixelForTick(r),s=e._startPixel,l=e._endPixel;if(!(n&&(i=1===a?Math.max(o-s,l-o):0===t?(e.getPixelForTick(1)-o)/2:(o-e.getPixelForTick(r-1))/2,(o+=r<t?i:-i)<s-1e-6||o>l+1e-6)))return o}function Jt(e){return e.drawTicks?e.tickMarkLength:0}function Kt(e){var t,n;return e.display?(t=z.options._parseFont(e),n=z.options.toPadding(e.padding),t.lineHeight+n.height):0}function Qt(e,t){return z.extend(z.options._parseFont({fontFamily:qt(t.fontFamily,e.fontFamily),fontSize:qt(t.fontSize,e.fontSize),fontStyle:qt(t.fontStyle,e.fontStyle),lineHeight:qt(t.lineHeight,e.lineHeight)}),{color:z.options.resolve([t.fontColor,e.fontColor,R.global.defaultFontColor])})}function Xt(e){var t=Qt(e,e.minor);return{minor:t,major:e.major.enabled?Qt(e,e.major):t}}function $t(e){var t,n,i,a=[];for(n=0,i=e.length;n<i;++n)void 0!==(t=e[n])._index&&a.push(t);return a}function en(e,t,n,i){var a,r,o,s,l=qt(n,0),u=Math.min(qt(i,e.length),e.length),c=0;for(t=Math.ceil(t),i&&(t=(a=i-n)/Math.floor(a/t)),s=l;s<0;)c++,s=Math.round(l+c*t);for(r=Math.max(l,0);r<u;r++)o=e[r],r===s?(o._index=r,c++,s=Math.round(l+c*t)):delete o.label}R._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:Bt.formatters.values,minor:{},major:{}}});var tn=q.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(){z.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var i,a,r,o,s,l=this,u=l.options.ticks,c=u.sampleSize;if(l.beforeUpdate(),l.maxWidth=e,l.maxHeight=t,l.margins=z.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(),o=l.buildTicks()||[],(!(o=l.afterBuildTicks(o)||o)||!o.length)&&l.ticks)for(o=[],i=0,a=l.ticks.length;i<a;++i)o.push({value:l.ticks[i],major:!1});return l._ticks=o,r=l._convertTicksToLabels((s=c<o.length)?function(e,t){for(var n=[],i=e.length/t,a=0,r=e.length;a<r;a+=i)n.push(e[Math.floor(a)]);return n}(o,c):o),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(o):o,s&&(r=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=r,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(){z.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){z.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(){z.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){z.callback(this.options.beforeDataLimits,[this])},determineDataLimits:z.noop,afterDataLimits:function(){z.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){z.callback(this.options.beforeBuildTicks,[this])},buildTicks:z.noop,afterBuildTicks:function(e){var t=this;return Wt(e)&&e.length?z.callback(t.options.afterBuildTicks,[t,e]):(t.ticks=z.callback(t.options.afterBuildTicks,[t,t.ticks])||t.ticks,e)},beforeTickToLabelConversion:function(){z.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){z.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){z.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e,t,n,i,a,r,o,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>(a=l.offset?s.maxWidth/c:i/(c-1))&&(a=i/(c-(l.offset?.5:1)),r=s.maxHeight-Jt(l.gridLines)-u.padding-Kt(l.scaleLabel),o=Math.sqrt(t*t+n*n),f=z.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/a,1)),Math.asin(Math.min(r/o,1))-Math.asin(n/o))),f=Math.max(d,Math.min(h,f))),s.labelRotation=f)},afterCalculateTickRotation:function(){z.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){z.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,i=e.options,a=i.ticks,r=i.scaleLabel,o=i.gridLines,s=e._isVisible(),l="bottom"===i.position,u=e.isHorizontal();if(u?t.width=e.maxWidth:s&&(t.width=Jt(o)+Kt(r)),u?s&&(t.height=Jt(o)+Kt(r)):t.height=e.maxHeight,a.display&&s){var c=Xt(a),d=e._getLabelSizes(),h=d.first,f=d.last,m=d.widest,p=d.highest,_=.4*c.minor.lineHeight,v=a.padding;if(u){var g=0!==e.labelRotation,y=z.toRadians(e.labelRotation),b=Math.cos(y),k=Math.sin(y);t.height=Math.min(e.maxHeight,t.height+(k*m.width+b*(p.height-(g?p.offset:0))+(g?0:_))+v);var w,C,x=e.getPixelForTick(0)-e.left,M=e.right-e.getPixelForTick(e.getTicks().length-1);g?(w=l?b*h.width+k*h.offset:k*(h.height-h.offset),C=l?k*(f.height-f.offset):b*f.width+k*f.offset):(w=h.width/2,C=f.width/2),e.paddingLeft=Math.max((w-x)*e.width/(e.width-x),0)+3,e.paddingRight=Math.max((C-M)*e.width/(e.width-M),0)+3}else t.width=Math.min(e.maxWidth,t.width+(a.mirror?0:m.width+v+_)),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(){z.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(Ut(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,a=this;for(a.ticks=e.map((function(e){return e.value})),a.beforeTickToLabelConversion(),t=a.convertTicksToLabels(e)||a.ticks,a.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=function(e,t,n,i){var a,r,o,s,l,u,c,d,h,f,m,p,_,v=n.length,g=[],y=[],b=[],k=0,w=0;for(a=0;a<v;++a){if(s=n[a].label,e.font=u=(l=n[a].major?t.major:t.minor).string,c=i[u]=i[u]||{data:{},gc:[]},d=l.lineHeight,h=f=0,Ut(s)||Wt(s)){if(Wt(s))for(r=0,o=s.length;r<o;++r)Ut(m=s[r])||Wt(m)||(h=z.measureText(e,c.data,c.gc,h,m),f+=d)}else h=z.measureText(e,c.data,c.gc,h,s),f=d;g.push(h),y.push(f),b.push(d/2),k=Math.max(h,k),w=Math.max(f,w)}function C(e){return{width:g[e]||0,height:y[e]||0,offset:b[e]||0}}return function(e,t){z.each(e,(function(e){var n,i=e.gc,a=i.length/2;if(a>t){for(n=0;n<a;++n)delete e.data[i[n]];i.splice(0,a)}}))}(i,v),p=g.indexOf(k),_=y.indexOf(w),{first:C(0),last:C(v-1),widest:C(p),highest:C(_)}}(e.ctx,Xt(e.options.ticks),e.getTicks(),e.longestTextCache),e.longestLabelWidth=t.widest.width),t},_parseValue:function(e){var t,n,i,a;return Wt(e)?(t=+this.getRightValue(e[0]),n=+this.getRightValue(e[1]),i=Math.min(t,n),a=Math.max(t,n)):(t=void 0,n=e=+this.getRightValue(e),i=e,a=e),{min:i,max:a,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:z.noop,getPixelForValue:z.noop,getValueForPixel:z.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,a,r=this.options.ticks,o=r.maxTicksLimit||this._length/this._tickSize()+1,s=r.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):[],l=s.length,u=s[0],c=s[l-1];if(l>o)return function(e,t,n){var i,a,r=0,o=t[0];for(n=Math.ceil(n),i=0;i<e.length;i++)a=e[i],i===o?(a._index=i,o=t[++r*n]):delete a.label}(e,s,l/o),$t(e);if(i=function(e,t,n,i){var a,r,o,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(o=0,s=(a=z.math._factorize(l)).length-1;o<s;o++)if((r=a[o])>u)return r;return Math.max(u,1)}(s,e,0,o),l>0){for(t=0,n=l-1;t<n;t++)en(e,i,s[t],s[t+1]);return en(e,i,z.isNullOrUndef(a=l>1?(c-u)/(l-1):null)?0:u-a,u),en(e,i,c,z.isNullOrUndef(a)?e.length:c+a),$t(e)}return en(e,i),$t(e)},_tickSize:function(){var e=this.options.ticks,t=z.toRadians(this.labelRotation),n=Math.abs(Math.cos(t)),i=Math.abs(Math.sin(t)),a=this._getLabelSizes(),r=e.autoSkipPadding||0,o=a?a.widest.width+r:0,s=a?a.highest.height+r:0;return this.isHorizontal()?s*n>o*i?o/n:s/i:s*i<o*n?s/n:o/i},_isVisible:function(){var e,t,n,i=this.chart,a=this.options.display;if("auto"!==a)return!!a;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,a,r,o,s,l,u,c,d,h,f,m,p,_,v,g=this,y=g.chart,b=g.options,k=b.gridLines,w=b.position,C=k.offsetGridLines,x=g.isHorizontal(),M=g._ticksToDraw,D=M.length+(C?1:0),S=Jt(k),L=[],T=k.drawBorder?Gt(k.lineWidth,0,0):0,A=T/2,E=z._alignPixel,O=function(e){return E(y,e,T)};for("top"===w?(t=O(g.bottom),s=g.bottom-S,u=t-A,d=O(e.top)+A,f=e.bottom):"bottom"===w?(t=O(g.top),d=e.top,f=O(e.bottom)-A,s=t+A,u=g.top+S):"left"===w?(t=O(g.right),o=g.right-S,l=t-A,c=O(e.left)+A,h=e.right):(t=O(g.left),c=e.left,h=O(e.right)-A,o=t+A,l=g.left+S),n=0;n<D;++n)Ut((i=M[n]||{}).label)&&n<M.length||(n===g.zeroLineIndex&&b.offset===C?(m=k.zeroLineWidth,p=k.zeroLineColor,_=k.zeroLineBorderDash||[],v=k.zeroLineBorderDashOffset||0):(m=Gt(k.lineWidth,n,1),p=Gt(k.color,n,"rgba(0,0,0,0.1)"),_=k.borderDash||[],v=k.borderDashOffset||0),void 0!==(a=Zt(g,i._index||n,C))&&(r=E(y,a,m),x?o=l=c=h=r:s=u=d=f=r,L.push({tx1:o,ty1:s,tx2:l,ty2:u,x1:c,y1:d,x2:h,y2:f,width:m,color:p,borderDash:_,borderDashOffset:v})));return L.ticksLength=D,L.borderValue=t,L},_computeLabelItems:function(){var e,t,n,i,a,r,o,s,l,u,c,d,h=this,f=h.options,m=f.ticks,p=f.position,_=m.mirror,v=h.isHorizontal(),g=h._ticksToDraw,y=Xt(m),b=m.padding,k=Jt(f.gridLines),w=-z.toRadians(h.labelRotation),C=[];for("top"===p?(r=h.bottom-k-b,o=w?"left":"center"):"bottom"===p?(r=h.top+k+b,o=w?"right":"center"):"left"===p?(a=h.right-(_?0:k)-b,o=_?"left":"right"):(a=h.left+(_?0:k)+b,o=_?"right":"left"),e=0,t=g.length;e<t;++e)Ut(i=(n=g[e]).label)||(s=h.getPixelForTick(n._index||e)+m.labelOffset,u=(l=n.major?y.major:y.minor).lineHeight,c=Wt(i)?i.length:1,v?(a=s,d="top"===p?((w?1:.5)-c)*u:(w?0:.5)*u):(r=s,d=(1-c)*u/2),C.push({x:a,y:r,rotation:w,label:i,font:l,textOffset:d,textAlign:o}));return C},_drawGrid:function(e){var t=this,n=t.options.gridLines;if(n.display){var i,a,r,o,s,l=t.ctx,u=t.chart,c=z._alignPixel,d=n.drawBorder?Gt(n.lineWidth,0,0):0,h=t._gridLineItems||(t._gridLineItems=t._computeGridLineItems(e));for(r=0,o=h.length;r<o;++r)a=(s=h[r]).color,(i=s.width)&&a&&(l.save(),l.lineWidth=i,l.strokeStyle=a,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,m,p,_,v=d,g=Gt(n.lineWidth,h.ticksLength-1,1),y=h.borderValue;t.isHorizontal()?(f=c(u,t.left,v)-v/2,m=c(u,t.right,g)+g/2,p=_=y):(p=c(u,t.top,v)-v/2,_=c(u,t.bottom,g)+g/2,f=m=y),l.lineWidth=d,l.strokeStyle=Gt(n.color,0),l.beginPath(),l.moveTo(f,p),l.lineTo(m,_),l.stroke()}}},_drawLabels:function(){var e=this;if(e.options.ticks.display){var t,n,i,a,r,o,s,l,u=e.ctx,c=e._labelItems||(e._labelItems=e._computeLabelItems());for(t=0,i=c.length;t<i;++t){if(o=(r=c[t]).font,u.save(),u.translate(r.x,r.y),u.rotate(r.rotation),u.font=o.string,u.fillStyle=o.color,u.textBaseline="middle",u.textAlign=r.textAlign,l=r.textOffset,Wt(s=r.label))for(n=0,a=s.length;n<a;++n)u.fillText(""+s[n],0,l),l+=o.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 a,r,o=qt(i.fontColor,R.global.defaultFontColor),s=z.options._parseFont(i),l=z.options.toPadding(i.padding),u=s.lineHeight/2,c=n.position,d=0;if(e.isHorizontal())a=e.left+e.width/2,r="bottom"===c?e.bottom-u-l.bottom:e.top+u+l.top;else{var h="left"===c;a=h?e.left+u+l.top:e.right-u-l.top,r=e.top+e.height/2,d=h?-.5*Math.PI:.5*Math.PI}t.save(),t.translate(a,r),t.rotate(d),t.textAlign="center",t.textBaseline="middle",t.fillStyle=o,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._drawGrid.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)}))}});tn.prototype._draw=tn.prototype.draw;var nn=tn,an=z.isNullOrUndef,rn=nn.extend({determineDataLimits:function(){var e,t=this,n=t._getLabels(),i=t.options.ticks,a=i.min,r=i.max,o=0,s=n.length-1;void 0!==a&&(e=n.indexOf(a))>=0&&(o=e),void 0!==r&&(e=n.indexOf(r))>=0&&(s=e),t.minIndex=o,t.maxIndex=s,t.min=n[o],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;nn.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,a,r,o=this;return an(t)||an(n)||(e=o.chart.data.datasets[n].data[t]),an(e)||(i=o.isHorizontal()?e.x:e.y),(void 0!==i||void 0!==e&&isNaN(t))&&(a=o._getLabels(),e=z.valueOrDefault(i,e),t=-1!==(r=a.indexOf(e))?r:t,isNaN(t)&&(t=e)),o.getPixelForDecimal((t-o._startValue)/o._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}});rn._defaults={position:"bottom"};var on=z.isNullOrUndef,sn=nn.extend({getRightValue:function(e){return"string"==typeof e?+e:nn.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=z.sign(e.min),i=z.sign(e.max);n<0&&i<0?e.max=0:n>0&&i>0&&(e.min=0)}var a=void 0!==t.min||void 0!==t.suggestedMin,r=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(e.min=null===e.min?t.suggestedMin:Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(e.max=null===e.max?t.suggestedMax:Math.max(e.max,t.suggestedMax)),a!==r&&e.min>=e.max&&(a?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:z.noop,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:z.valueOrDefault(t.fixedStepSize,t.stepSize)},a=e.ticks=function(e,t){var n,i,a,r,o=[],s=e.stepSize,l=s||1,u=e.maxTicks-1,c=e.min,d=e.max,h=e.precision,f=t.min,m=t.max,p=z.niceNum((m-f)/u/l)*l;if(p<1e-14&&on(c)&&on(d))return[f,m];(r=Math.ceil(m/p)-Math.floor(f/p))>u&&(p=z.niceNum(r*p/u/l)*l),s||on(h)?n=Math.pow(10,z._decimalPlaces(p)):(n=Math.pow(10,h),p=Math.ceil(p*n)/n),i=Math.floor(f/p)*p,a=Math.ceil(m/p)*p,s&&(!on(c)&&z.almostWhole(c/p,p/1e3)&&(i=c),!on(d)&&z.almostWhole(d/p,p/1e3)&&(a=d)),r=z.almostEquals(r=(a-i)/p,Math.round(r),p/1e3)?Math.round(r):Math.ceil(r),i=Math.round(i*n)/n,a=Math.round(a*n)/n,o.push(on(c)?i:c);for(var _=1;_<r;++_)o.push(Math.round((i+_*p)*n)/n);return o.push(on(d)?a:d),o}(i,e);e.handleDirectionalChanges(),e.max=z.max(a),e.min=z.min(a),t.reverse?(a.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),nn.prototype.convertTicksToLabels.call(e)},_configure:function(){var e,t=this,n=t.getTicks(),i=t.min,a=t.max;nn.prototype._configure.call(t),t.options.offset&&n.length&&(i-=e=(a-i)/Math.max(n.length-1,1)/2,a+=e),t._startValue=i,t._endValue=a,t._valueRange=a-i}}),ln={position:"left",ticks:{callback:Bt.formatters.linear}};function un(e,t,n,i){var a,r,o=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,o.stacked,n),l=s.pos,u=s.neg,c=i.length;for(a=0;a<c;++a)r=e._parseValue(i[a]),isNaN(r.min)||isNaN(r.max)||n.data[a].hidden||(l[a]=l[a]||0,u[a]=u[a]||0,o.relativePoints?l[a]=100:r.min<0||r.max<0?u[a]+=r.min:l[a]+=r.max)}function cn(e,t,n){var i,a,r=n.length;for(i=0;i<r;++i)a=e._parseValue(n[i]),isNaN(a.min)||isNaN(a.max)||t.data[i].hidden||(e.min=Math.min(e.min,a.min),e.max=Math.max(e.max,a.max))}var dn=sn.extend({determineDataLimits:function(){var e,t,n,i,a=this,r=a.options,o=a.chart.data.datasets,s=a._getMatchingVisibleMetas(),l=r.stacked,u={},c=s.length;if(a.min=Number.POSITIVE_INFINITY,a.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=o[(t=s[e]).index].data,l?un(a,u,t,n):cn(a,t,n);z.each(u,(function(e){i=e.pos.concat(e.neg),a.min=Math.min(a.min,z.min(i)),a.max=Math.max(a.max,z.max(i))})),a.min=z.isFinite(a.min)&&!isNaN(a.min)?a.min:0,a.max=z.isFinite(a.max)&&!isNaN(a.max)?a.max:1,a.handleTickRangeOptions()},_computeTickLimit:function(){var e;return this.isHorizontal()?Math.ceil(this.width/40):(e=z.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])}});dn._defaults=ln;var hn=z.valueOrDefault,fn=z.math.log10,mn={position:"left",ticks:{callback:Bt.formatters.logarithmic}};function pn(e,t){return z.isFinite(e)&&e>=0?e:t}var _n=nn.extend({determineDataLimits:function(){var e,t,n,i,a,r,o=this,s=o.options,l=o.chart,u=l.data.datasets,c=o.isHorizontal();function d(e){return c?e.xAxisID===o.id:e.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.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 m=[(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[m]&&(f[m]=[]),a=0,r=(i=u[e].data).length;a<r;a++){var p=f[m];n=o._parseValue(i[a]),isNaN(n.min)||isNaN(n.max)||t.data[a].hidden||n.min<0||n.max<0||(p[a]=p[a]||0,p[a]+=n.max)}}z.each(f,(function(e){if(e.length>0){var t=z.min(e),n=z.max(e);o.min=Math.min(o.min,t),o.max=Math.max(o.max,n)}}))}else for(e=0;e<u.length;e++)if(t=l.getDatasetMeta(e),l.isDatasetVisible(e)&&d(t))for(a=0,r=(i=u[e].data).length;a<r;a++)n=o._parseValue(i[a]),isNaN(n.min)||isNaN(n.max)||t.data[a].hidden||n.min<0||n.max<0||(o.min=Math.min(n.min,o.min),o.max=Math.max(n.max,o.max),0!==n.min&&(o.minNotZero=Math.min(n.min,o.minNotZero)));o.min=z.isFinite(o.min)?o.min:null,o.max=z.isFinite(o.max)?o.max:null,o.minNotZero=z.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;e.min=pn(t.min,e.min),e.max=pn(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(fn(e.min))-1),e.max=Math.pow(10,Math.floor(fn(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(fn(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(fn(e.min))+1):10),null===e.minNotZero&&(e.minNotZero=e.min>0?e.min:e.max<1?Math.pow(10,Math.floor(fn(e.max))):1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),i={min:pn(t.min),max:pn(t.max)},a=e.ticks=function(e,t){var n,i,a=[],r=hn(e.min,Math.pow(10,Math.floor(fn(t.min)))),o=Math.floor(fn(t.max)),s=Math.ceil(t.max/Math.pow(10,o));0===r?(n=Math.floor(fn(t.minNotZero)),i=Math.floor(t.minNotZero/Math.pow(10,n)),a.push(r),r=i*Math.pow(10,n)):(n=Math.floor(fn(r)),i=Math.floor(r/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{a.push(r),10==++i&&(i=1,l=++n>=0?1:l),r=Math.round(i*Math.pow(10,n)*l)/l}while(n<o||n===o&&i<s);var u=hn(e.max,r);return a.push(u),a}(i,e);e.max=z.max(a),e.min=z.min(a),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&a.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),nn.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(fn(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;nn.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=hn(e.options.ticks.fontSize,R.global.defaultFontSize)/e._length),e._startValue=fn(t),e._valueOffset=n,e._valueRange=(fn(e.max)-fn(t))/(1-n)},getPixelForValue:function(e){var t=this,n=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(n=(fn(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)}});_n._defaults=mn;var vn=z.valueOrDefault,gn=z.valueAtIndexOrDefault,yn=z.options.resolve,bn={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:Bt.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function kn(e){var t=e.ticks;return t.display&&e.display?vn(t.fontSize,R.global.defaultFontSize)+2*t.backdropPaddingY:0}function wn(e,t,n,i,a){return e===i||e===a?{start:t-n/2,end:t+n/2}:e<i||e>a?{start:t-n,end:t}:{start:t,end:t+n}}function Cn(e){return 0===e||180===e?"center":e<180?"left":"right"}function xn(e,t,n,i){var a,r,o=n.y+i/2;if(z.isArray(t))for(a=0,r=t.length;a<r;++a)e.fillText(t[a],n.x,o),o+=i;else e.fillText(t,n.x,o)}function Mn(e,t,n){90===e||270===e?n.y-=t.h/2:(e>270||e<90)&&(n.y-=t.h)}function Dn(e){return z.isNumber(e)?e:0}var Sn=sn.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=kn(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;z.each(t.data.datasets,(function(a,r){if(t.isDatasetVisible(r)){var o=t.getDatasetMeta(r);z.each(a.data,(function(t,a){var r=+e.getRightValue(t);isNaN(r)||o.data[a].hidden||(n=Math.min(r,n),i=Math.max(r,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/kn(this.options))},convertTicksToLabels:function(){var e=this;sn.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map((function(){var t=z.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,a=z.options._parseFont(e.options.pointLabels),r={l:0,r:e.width,t:0,b:e.height-e.paddingTop},o={};e.ctx.font=a.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=a.lineHeight,n=z.isArray(u=e.pointLabels[t])?{w:z.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=z.toDegrees(d)%360,f=wn(h,i.x,n.w,0,180),m=wn(h,i.y,n.h,90,270);f.start<r.l&&(r.l=f.start,o.l=d),f.end>r.r&&(r.r=f.end,o.r=d),m.start<r.t&&(r.t=m.start,o.t=d),m.end>r.b&&(r.b=m.end,o.b=d)}e.setReductions(e.drawingArea,r,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,n){var i=this,a=t.l/Math.sin(n.l),r=Math.max(t.r-i.width,0)/Math.sin(n.r),o=-t.t/Math.cos(n.t),s=-Math.max(t.b-(i.height-i.paddingTop),0)/Math.cos(n.b);a=Dn(a),r=Dn(r),o=Dn(o),s=Dn(s),i.drawingArea=Math.min(Math.floor(e-(a+r)/2),Math.floor(e-(o+s)/2)),i.setCenterPoint(a,r,o,s)},setCenterPoint:function(e,t,n,i){var a=this,r=n+a.drawingArea,o=a.height-a.paddingTop-i-a.drawingArea;a.xCenter=Math.floor((e+a.drawingArea+(a.width-t-a.drawingArea))/2+a.left),a.yCenter=Math.floor((r+o)/2+a.top+a.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(z.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,a=i.ctx,r=i.options,o=r.gridLines,s=r.angleLines,l=vn(s.lineWidth,o.lineWidth),u=vn(s.color,o.color);if(r.pointLabels.display&&function(e){var t=e.ctx,n=e.options,i=n.pointLabels,a=kn(n),r=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),o=z.options._parseFont(i);t.save(),t.font=o.string,t.textBaseline="middle";for(var s=e.chart.data.labels.length-1;s>=0;s--){var l=e.getPointPosition(s,r+(0===s?a/2:0)+5),u=gn(i.fontColor,s,R.global.defaultFontColor);t.fillStyle=u;var c=e.getIndexAngle(s),d=z.toDegrees(c);t.textAlign=Cn(d),Mn(d,e._pointLabelSizes[s],l),xn(t,e.pointLabels[s],l,o.lineHeight)}t.restore()}(i),o.display&&z.each(i.ticks,(function(e,n){0!==n&&(t=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),function(e,t,n,i){var a,r=e.ctx,o=t.circular,s=e.chart.data.labels.length,l=gn(t.color,i-1),u=gn(t.lineWidth,i-1);if((o||s)&&l&&u){if(r.save(),r.strokeStyle=l,r.lineWidth=u,r.setLineDash&&(r.setLineDash(t.borderDash||[]),r.lineDashOffset=t.borderDashOffset||0),r.beginPath(),o)r.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{a=e.getPointPosition(0,n),r.moveTo(a.x,a.y);for(var c=1;c<s;c++)a=e.getPointPosition(c,n),r.lineTo(a.x,a.y)}r.closePath(),r.stroke(),r.restore()}}(i,o,t,n))})),s.display&&l&&u){for(a.save(),a.lineWidth=l,a.strokeStyle=u,a.setLineDash&&(a.setLineDash(yn([s.borderDash,o.borderDash,[]])),a.lineDashOffset=yn([s.borderDashOffset,o.borderDashOffset,0])),e=i.chart.data.labels.length-1;e>=0;e--)t=i.getDistanceFromCenterForValue(r.ticks.reverse?i.min:i.max),n=i.getPointPosition(e,t),a.beginPath(),a.moveTo(i.xCenter,i.yCenter),a.lineTo(n.x,n.y),a.stroke();a.restore()}},_drawLabels:function(){var e=this,t=e.ctx,n=e.options.ticks;if(n.display){var i,a,r=e.getIndexAngle(0),o=z.options._parseFont(n),s=vn(n.fontColor,R.global.defaultFontColor);t.save(),t.font=o.string,t.translate(e.xCenter,e.yCenter),t.rotate(r),t.textAlign="center",t.textBaseline="middle",z.each(e.ticks,(function(r,l){(0!==l||n.reverse)&&(i=e.getDistanceFromCenterForValue(e.ticksAsNumbers[l]),n.showLabelBackdrop&&(a=t.measureText(r).width,t.fillStyle=n.backdropColor,t.fillRect(-a/2-n.backdropPaddingX,-i-o.size/2-n.backdropPaddingY,a+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),t.fillStyle=s,t.fillText(r,0,-i))})),t.restore()}},_drawTitle:z.noop});Sn._defaults=bn;var Ln=z._deprecated,Tn=z.options.resolve,An=z.valueOrDefault,En=Number.MIN_SAFE_INTEGER||-9007199254740991,On=Number.MAX_SAFE_INTEGER||9007199254740991,Yn={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}},Pn=Object.keys(Yn);function In(e,t){return e-t}function Rn(e){return z.valueOrDefault(e.time.min,e.ticks.min)}function Fn(e){return z.valueOrDefault(e.time.max,e.ticks.max)}function jn(e,t,n,i){var a=function(e,t,n){for(var i,a,r,o=0,s=e.length-1;o>=0&&o<=s;){if(r=e[i=o+s>>1],!(a=e[i-1]||null))return{lo:null,hi:r};if(r[t]<n)o=i+1;else{if(!(a[t]>n))return{lo:a,hi:r};s=i-1}}return{lo:r,hi:null}}(e,t,n),r=a.lo?a.hi?a.lo:e[e.length-2]:e[0],o=a.lo?a.hi?a.hi:e[e.length-1]:e[1],s=o[t]-r[t];return r[i]+(o[i]-r[i])*(s?(n-r[t])/s:0)}function Hn(e,t){var n=e._adapter,i=e.options.time,a=i.parser,r=a||i.format,o=t;return"function"==typeof a&&(o=a(o)),z.isFinite(o)||(o="string"==typeof r?n.parse(o,r):n.parse(o)),null!==o?+o:(a||"function"!=typeof r||(o=r(t),z.isFinite(o)||(o=n.parse(o))),o)}function Nn(e,t){if(z.isNullOrUndef(t))return null;var n=e.options.time,i=Hn(e,e.getRightValue(t));return null===i||n.round&&(i=+e._adapter.startOf(i,n.round)),i}function zn(e,t,n,i){var a,r,o=Pn.length;for(a=Pn.indexOf(e);a<o-1;++a)if((r=Yn[Pn[a]]).common&&Math.ceil((n-t)/((r.steps?r.steps:On)*r.size))<=i)return Pn[a];return Pn[o-1]}function Vn(e,t,n){var i,a,r=[],o={},s=t.length;for(i=0;i<s;++i)o[a=t[i]]=i,r.push({value:a,major:!1});return 0!==s&&n?function(e,t,n,i){var a,r,o=e._adapter,s=+o.startOf(t[0].value,i),l=t[t.length-1].value;for(a=s;a<=l;a=+o.add(a,1,i))(r=n[a])>=0&&(t[r].major=!0);return t}(e,r,o,n):r}var Bn=nn.extend({initialize:function(){this.mergeTicksOptions(),nn.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,n=t.time||(t.time={}),i=e._adapter=new Vt._date(t.adapters.date);return Ln("time scale",n.format,"time.format","time.parser"),Ln("time scale",n.min,"time.min","ticks.min"),Ln("time scale",n.max,"time.max","ticks.max"),z.mergeIf(n.displayFormats,i.formats()),nn.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),nn.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,i,a,r,o,s=this,l=s.chart,u=s._adapter,c=s.options,d=c.time.unit||"day",h=On,f=En,m=[],p=[],_=[],v=s._getLabels();for(e=0,n=v.length;e<n;++e)_.push(Nn(s,v[e]));for(e=0,n=(l.data.datasets||[]).length;e<n;++e)if(l.isDatasetVisible(e))if(z.isObject((a=l.data.datasets[e].data)[0]))for(p[e]=[],t=0,i=a.length;t<i;++t)r=Nn(s,a[t]),m.push(r),p[e][t]=r;else p[e]=_.slice(0),o||(m=m.concat(_),o=!0);else p[e]=[];_.length&&(h=Math.min(h,_[0]),f=Math.max(f,_[_.length-1])),m.length&&(m=n>1?function(e){var t,n,i,a={},r=[];for(t=0,n=e.length;t<n;++t)a[i=e[t]]||(a[i]=!0,r.push(i));return r}(m).sort(In):m.sort(In),h=Math.min(h,m[0]),f=Math.max(f,m[m.length-1])),h=Nn(s,Rn(c))||h,f=Nn(s,Fn(c))||f,h=h===On?+u.startOf(Date.now(),d):h,f=f===En?+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:m,datasets:p,labels:_}},buildTicks:function(){var e,t,n,i=this,a=i.min,r=i.max,o=i.options,s=o.ticks,l=o.time,u=i._timestamps,c=[],d=i.getLabelCapacity(a),h=s.source,f=o.distribution;for(u="data"===h||"auto"===h&&"series"===f?u.data:"labels"===h?u.labels:function(e,t,n,i){var a,r=e._adapter,o=e.options,s=o.time,l=s.unit||zn(s.minUnit,t,n,i),u=Tn([s.stepSize,s.unitStepSize,1]),c="week"===l&&s.isoWeekday,d=t,h=[];if(c&&(d=+r.startOf(d,"isoWeek",c)),d=+r.startOf(d,c?"day":l),r.diff(n,t,l)>1e5*u)throw t+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(a=d;a<n;a=+r.add(a,u,l))h.push(a);return a!==n&&"ticks"!==o.bounds||h.push(a),h}(i,a,r,d),"ticks"===o.bounds&&u.length&&(a=u[0],r=u[u.length-1]),a=Nn(i,Rn(o))||a,r=Nn(i,Fn(o))||r,e=0,t=u.length;e<t;++e)(n=u[e])>=a&&n<=r&&c.push(n);return i.min=a,i.max=r,i._unit=l.unit||(s.autoSkip?zn(l.minUnit,i.min,i.max,d):function(e,t,n,i,a){var r,o;for(r=Pn.length-1;r>=Pn.indexOf(n);r--)if(Yn[o=Pn[r]].common&&e._adapter.diff(a,i,o)>=t-1)return o;return Pn[n?Pn.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=Pn.indexOf(e)+1,n=Pn.length;t<n;++t)if(Yn[Pn[t]].common)return Pn[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 a,r,o,s,l,u=[],c=[t];for(a=0,r=e.length;a<r;++a)(s=e[a])>t&&s<n&&c.push(s);for(c.push(n),a=0,r=c.length;a<r;++a)l=c[a+1],s=c[a],void 0!==(o=c[a-1])&&void 0!==l&&Math.round((l+o)/2)===s||u.push({time:s,pos:a/(r-1)});return u}(i._timestamps.data,a,r,f),i._offsets=function(e,t,n,i,a){var r,o,s=0,l=0;return a.offset&&t.length&&(r=jn(e,"time",t[0],"pos"),s=1===t.length?1-r:(jn(e,"time",t[1],"pos")-r)/2,o=jn(e,"time",t[t.length-1],"pos"),l=1===t.length?o:(o-jn(e,"time",t[t.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}(i._table,c,0,0,o),s.reverse&&c.reverse(),Vn(i,c,i._majorUnit)},getLabelForIndex:function(e,t){var n=this,i=n._adapter,a=n.chart.data,r=n.options.time,o=a.labels&&e<a.labels.length?a.labels[e]:"",s=a.datasets[t].data[e];return z.isObject(s)&&(o=n.getRightValue(s)),r.tooltipFormat?i.format(Hn(n,o),r.tooltipFormat):"string"==typeof o?o:i.format(Hn(n,o),r.displayFormats.datetime)},tickFormatFunction:function(e,t,n,i){var a=this.options,r=a.time.displayFormats,o=this._majorUnit,s=r[o],l=n[t],u=a.ticks,c=o&&s&&l&&l.major,d=this._adapter.format(e,i||(c?s:r[this._unit])),h=c?u.major:u.minor,f=Tn([h.callback,h.userCallback,u.callback,u.userCallback]);return f?f(d,t,n):d},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=jn(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=Nn(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=jn(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=z.toRadians(this.isHorizontal()?t.maxRotation:t.minRotation),a=Math.cos(i),r=Math.sin(i),o=An(t.fontSize,R.global.defaultFontSize);return{w:n*a+o*r,h:n*r+o*a}},getLabelWidth:function(e){return this._getLabelSize(e).w},getLabelCapacity:function(e){var t=this,n=t.options.time,i=n.displayFormats,a=i[n.unit]||i.millisecond,r=t.tickFormatFunction(e,0,Vn(t,[e],t._majorUnit),a),o=t._getLabelSize(r),s=Math.floor(t.isHorizontal()?t.width/o.w:t.height/o.h);return t.options.offset&&s--,s>0?s:1}});Bn._defaults={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}}};var Wn={category:rn,linear:dn,logarithmic:_n,radialLinear:Sn,time:Bn},Un={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"};Vt._date.override("function"==typeof e?{_id:"moment",formats:function(){return Un},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)}}:{}),R._set("global",{plugins:{filler:{propagate:!0}}});var qn={dataset:function(e){var t=e.fill,n=e.chart,i=n.getDatasetMeta(t),a=i&&n.isDatasetVisible(t)&&i.dataset._children||[],r=a.length||0;return r?function(e,t){return t<r&&a[t]._view||null}:null},boundary:function(e){var t=e.boundary,n=t?t.x:null,i=t?t.y:null;return z.isArray(t)?function(e,n){return t[n]}:function(e){return{x:null===n?e.x:n,y:null===i?e.y:i}}}};function Gn(e,t,n){var i,a=e._model||{},r=a.fill;if(void 0===r&&(r=!!a.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(i=parseFloat(r,10),isFinite(i)&&Math.floor(i)===i)return"-"!==r[0]&&"+"!==r[0]||(i=t+i),!(i===t||i<0||i>=n)&&i;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function Zn(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,n,i,a,r,o=e.el._scale,s=o.options,l=o.chart.data.labels.length,u=e.fill,c=[];if(!l)return null;for(n=s.ticks.reverse?o.min:o.max,i=o.getPointPositionForValue(0,t=s.ticks.reverse?o.max:o.min),a=0;a<l;++a)r="start"===u||"end"===u?o.getPointPositionForValue(a,"start"===u?t:n):o.getBasePosition(a),s.gridLines.circular&&(r.cx=i.x,r.cy=i.y,r.angle=o.getIndexAngle(a)-Math.PI/2),c.push(r);return c}(e):function(e){var t,n=e.el._model||{},i=e.el._scale||{},a=e.fill,r=null;if(isFinite(a))return null;if("start"===a?r=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===a?r=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?r=n.scaleZero:i.getBasePixel&&(r=i.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if(z.isFinite(r))return{x:(t=i.isHorizontal())?r:null,y:t?null:r}}return null}(e)}function Jn(e,t,n){var i,a=e[t].fill,r=[t];if(!n)return a;for(;!1!==a&&-1===r.indexOf(a);){if(!isFinite(a))return a;if(!(i=e[a]))return!1;if(i.visible)return a;r.push(a),a=i.fill}return!1}function Kn(e){var t=e.fill,n="dataset";return!1===t?null:(isFinite(t)||(n="boundary"),qn[n](e))}function Qn(e){return e&&!e.skip}function Xn(e,t,n,i,a){var r,o,s,l;if(i&&a){for(e.moveTo(t[0].x,t[0].y),r=1;r<i;++r)z.canvas.lineTo(e,t[r-1],t[r]);if(void 0===n[0].angle)for(e.lineTo(n[a-1].x,n[a-1].y),r=a-1;r>0;--r)z.canvas.lineTo(e,n[r],n[r-1],!0);else for(o=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),r=a-1;r>0;--r)e.arc(o,s,l,n[r].angle,n[r-1].angle,!0)}}function $n(e,t,n,i,a,r){var o,s,l,u,c,d,h,f,m=t.length,p=i.spanGaps,_=[],v=[],g=0,y=0;for(e.beginPath(),o=0,s=m;o<s;++o)c=n(u=t[l=o%m]._view,l,i),d=Qn(u),h=Qn(c),r&&void 0===f&&d&&(s=m+(f=o+1)),d&&h?(g=_.push(u),y=v.push(c)):g&&y&&(p?(d&&_.push(u),h&&v.push(c)):(Xn(e,_,v,g,y),g=y=0,_=[],v=[]));Xn(e,_,v,g,y),e.closePath(),e.fillStyle=a,e.fill()}var ei={id:"filler",afterDatasetsUpdate:function(e,t){var n,i,a,r,o=(e.data.datasets||[]).length,s=t.propagate,l=[];for(i=0;i<o;++i)r=null,(a=(n=e.getDatasetMeta(i)).dataset)&&a._model&&a instanceof ve.Line&&(r={visible:e.isDatasetVisible(i),fill:Gn(a,i,o),chart:e,el:a}),n.$filler=r,l.push(r);for(i=0;i<o;++i)(r=l[i])&&(r.fill=Jn(l,i,s),r.boundary=Zn(r),r.mapper=Kn(r))},beforeDatasetsDraw:function(e){var t,n,i,a,r,o,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)._children||[],s=(a=i._view).backgroundColor||R.global.defaultColor,(o=t.mapper)&&s&&r.length&&(z.canvas.clipArea(u,e.chartArea),$n(u,r,o,a,s,i._loop),z.canvas.unclipArea(u)))}},ti=z.rtl.getRtlAdapter,ni=z.noop,ii=z.valueOrDefault;function ai(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}R._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,a=i.getDatasetMeta(n);a.hidden=null===a.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 a=n.controller.getStyle(i?0:void 0);return{text:t[n.index].label,fillStyle:a.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:a.borderWidth,strokeStyle:a.borderColor,pointStyle:a.pointStyle,rotation:a.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(e){var t,n,i,a=document.createElement("ul"),r=e.data.datasets;for(a.setAttribute("class",e.id+"-legend"),t=0,n=r.length;t<n;t++)(i=a.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=r[t].backgroundColor,r[t].label&&i.appendChild(document.createTextNode(r[t].label));return a.outerHTML}});var ri=q.extend({initialize:function(e){z.extend(this,e),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:ni,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:ni,beforeSetDimensions:ni,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:ni,beforeBuildLabels:ni,buildLabels:function(){var e=this,t=e.options.labels||{},n=z.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:ni,beforeFit:ni,fit:function(){var e=this,t=e.options,n=t.labels,i=t.display,a=e.ctx,r=z.options._parseFont(n),o=r.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(a.font=r.string,u){var c=e.lineWidths=[0],d=0;a.textAlign="left",a.textBaseline="middle",z.each(e.legendItems,(function(e,t){var i=ai(n,o)+o/2+a.measureText(e.text).width;(0===t||c[c.length-1]+i+2*n.padding>l.width)&&(d+=o+n.padding,c[c.length-(t>0?0:1)]=0),s[t]={left:0,top:0,width:i,height:o},c[c.length-1]+=i+n.padding})),l.height+=d}else{var h=n.padding,f=e.columnWidths=[],m=e.columnHeights=[],p=n.padding,_=0,v=0;z.each(e.legendItems,(function(e,t){var i=ai(n,o)+o/2+a.measureText(e.text).width;t>0&&v+o+2*h>l.height&&(p+=_+n.padding,f.push(_),m.push(v),_=0,v=0),_=Math.max(_,i),v+=o+h,s[t]={left:0,top:0,width:i,height:o}})),p+=_,f.push(_),m.push(v),l.width+=p}e.width=l.width,e.height=l.height}else e.width=l.width=e.height=l.height=0},afterFit:ni,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,i=R.global,a=i.defaultColor,r=i.elements.line,o=e.height,s=e.columnHeights,l=e.width,u=e.lineWidths;if(t.display){var c,d=ti(t.rtl,e.left,e.minSize.width),h=e.ctx,f=ii(n.fontColor,i.defaultFontColor),m=z.options._parseFont(n),p=m.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=f,h.fillStyle=f,h.font=m.string;var _=ai(n,p),v=e.legendHitBoxes,g=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+g(l,u[0]),y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+g(o,s[0]),line:0},z.rtl.overrideTextDirection(e.ctx,t.textDirection);var b=p+n.padding;z.each(e.legendItems,(function(t,i){var f=h.measureText(t.text).width,m=_+p/2+f,k=c.x,w=c.y;d.setWidth(e.minSize.width),y?i>0&&k+m+n.padding>e.left+e.minSize.width&&(w=c.y+=b,c.line++,k=c.x=e.left+g(l,u[c.line])):i>0&&w+b>e.top+e.minSize.height&&(k=c.x=k+e.columnWidths[c.line]+n.padding,c.line++,w=c.y=e.top+g(o,s[c.line]));var C=d.x(k);!function(e,t,i){if(!(isNaN(_)||_<=0)){h.save();var o=ii(i.lineWidth,r.borderWidth);if(h.fillStyle=ii(i.fillStyle,a),h.lineCap=ii(i.lineCap,r.borderCapStyle),h.lineDashOffset=ii(i.lineDashOffset,r.borderDashOffset),h.lineJoin=ii(i.lineJoin,r.borderJoinStyle),h.lineWidth=o,h.strokeStyle=ii(i.strokeStyle,a),h.setLineDash&&h.setLineDash(ii(i.lineDash,r.borderDash)),n&&n.usePointStyle){var s=_*Math.SQRT2/2,l=d.xPlus(e,_/2);z.canvas.drawPoint(h,i.pointStyle,s,l,t+p/2,i.rotation)}else h.fillRect(d.leftForLtr(e,_),t,_,p),0!==o&&h.strokeRect(d.leftForLtr(e,_),t,_,p);h.restore()}}(C,w,t),v[i].left=d.leftForLtr(C,v[i].width),v[i].top=w,function(e,t,n,i){var a=p/2,r=d.xPlus(e,_+a),o=t+a;h.fillText(n.text,r,o),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(r,o),h.lineTo(d.xPlus(r,i),o),h.stroke())}(C,w,t,f),y?c.x+=m+n.padding:c.y+=b})),z.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var n,i,a,r=this;if(e>=r.left&&e<=r.right&&t>=r.top&&t<=r.bottom)for(a=r.legendHitBoxes,n=0;n<a.length;++n)if(e>=(i=a[n]).left&&e<=i.left+i.width&&t>=i.top&&t<=i.top+i.height)return r.legendItems[n];return null},handleEvent:function(e){var t,n=this,i=n.options,a="mouseup"===e.type?"click":e.type;if("mousemove"===a){if(!i.onHover&&!i.onLeave)return}else{if("click"!==a)return;if(!i.onClick)return}t=n._getLegendItemAt(e.x,e.y),"click"===a?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 oi(e,t){var n=new ri({ctx:e.ctx,options:t,chart:e});lt.configure(e,n,t),lt.addBox(e,n),e.legend=n}var si={id:"legend",_element:ri,beforeInit:function(e){var t=e.options.legend;t&&oi(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(z.mergeIf(t,R.global.legend),n?(lt.configure(e,n,t),n.options=t):oi(e,t)):n&&(lt.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},li=z.noop;R._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var ui=q.extend({initialize:function(e){z.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:li,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:li,beforeSetDimensions:li,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:li,beforeBuildLabels:li,buildLabels:li,afterBuildLabels:li,beforeFit:li,fit:function(){var e,t=this,n=t.options,i=t.minSize={},a=t.isHorizontal();n.display?(e=(z.isArray(n.text)?n.text.length:1)*z.options._parseFont(n).lineHeight+2*n.padding,t.width=i.width=a?t.maxWidth:e,t.height=i.height=a?e:t.maxHeight):t.width=i.width=t.height=i.height=0},afterFit:li,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,a,r,o=z.options._parseFont(n),s=o.lineHeight,l=s/2+n.padding,u=0,c=e.top,d=e.left,h=e.bottom,f=e.right;t.fillStyle=z.valueOrDefault(n.fontColor,R.global.defaultFontColor),t.font=o.string,e.isHorizontal()?(a=d+(f-d)/2,r=c+l,i=f-d):(a="left"===n.position?d+l:f-l,r=c+(h-c)/2,i=h-c,u=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(a,r),t.rotate(u),t.textAlign="center",t.textBaseline="middle";var m=n.text;if(z.isArray(m))for(var p=0,_=0;_<m.length;++_)t.fillText(m[_],0,p,i),p+=s;else t.fillText(m,0,0,i);t.restore()}}});function ci(e,t){var n=new ui({ctx:e.ctx,options:t,chart:e});lt.configure(e,n,t),lt.addBox(e,n),e.titleBlock=n}var di={},hi=ei,fi=si,mi={id:"title",_element:ui,beforeInit:function(e){var t=e.options.title;t&&ci(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?(z.mergeIf(t,R.global.title),n?(lt.configure(e,n,t),n.options=t):ci(e,t)):n&&(lt.removeBox(e,n),delete e.titleBlock)}};for(var pi in di.filler=hi,di.legend=fi,di.title=mi,Ht.helpers=z,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,a){var r=document.defaultView,o=z._getParentNode(n),s=r.getComputedStyle(n)[i],l=r.getComputedStyle(o)[i],u=t(s),c=t(l),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?e(s,n,a):d,c?e(l,o,a):d):"none"}z.where=function(e,t){if(z.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return z.each(e,(function(e){t(e)&&n.push(e)})),n},z.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,a=e.length;i<a;++i)if(t.call(n,e[i],i,e))return i;return-1},z.findNextWhere=function(e,t,n){z.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<e.length;i++){var a=e[i];if(t(a))return a}},z.findPreviousWhere=function(e,t,n){z.isNullOrUndef(n)&&(n=e.length);for(var i=n-1;i>=0;i--){var a=e[i];if(t(a))return a}},z.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},z.almostEquals=function(e,t,n){return Math.abs(e-t)<n},z.almostWhole=function(e,t){var n=Math.round(e);return n-t<=e&&n+t>=e},z.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},z.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},z.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},z.toRadians=function(e){return e*(Math.PI/180)},z.toDegrees=function(e){return e*(180/Math.PI)},z._decimalPlaces=function(e){if(z.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},z.getAngleFromPoint=function(e,t){var n=t.x-e.x,i=t.y-e.y,a=Math.sqrt(n*n+i*i),r=Math.atan2(i,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:a}},z.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},z.aliasPixel=function(e){return e%2==0?0:.5},z._alignPixel=function(e,t,n){var i=e.currentDevicePixelRatio,a=n/2;return Math.round((t-a)*i)/i+a},z.splineCurve=function(e,t,n,i){var a=e.skip?t:e,r=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.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:r.x-d*(o.x-a.x),y:r.y-d*(o.y-a.y)},next:{x:r.x+h*(o.x-a.x),y:r.y+h*(o.y-a.y)}}},z.EPSILON=Number.EPSILON||1e-14,z.splineCurveMonotone=function(e){var t,n,i,a,r,o,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,(a=t<d-1?c[t+1]:null)&&!a.model.skip){var h=a.model.x-i.model.x;i.deltaK=0!==h?(a.model.y-i.model.y)/h:0}i.mK=!n||n.model.skip?i.deltaK:!a||a.model.skip?n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?0:(n.deltaK+i.deltaK)/2}for(t=0;t<d-1;++t)a=c[t+1],(i=c[t]).model.skip||a.model.skip||(z.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=a.mK=0:(r=i.mK/i.deltaK,o=a.mK/i.deltaK,(l=Math.pow(r,2)+Math.pow(o,2))<=9||(s=3/Math.sqrt(l),i.mK=r*s*i.deltaK,a.mK=o*s*i.deltaK)));for(t=0;t<d;++t)(i=c[t]).model.skip||(a=t<d-1?c[t+1]:null,(n=t>0?c[t-1]:null)&&!n.model.skip&&(i.model.controlPointPreviousX=i.model.x-(u=(i.model.x-n.model.x)/3),i.model.controlPointPreviousY=i.model.y-u*i.mK),a&&!a.model.skip&&(i.model.controlPointNextX=i.model.x+(u=(a.model.x-i.model.x)/3),i.model.controlPointNextY=i.model.y+u*i.mK))},z.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]},z.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},z.niceNum=function(e,t){var n=Math.floor(z.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)},z.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)},z.getRelativePosition=function(e,t){var n,i,a=e.originalEvent||e,r=e.target||e.srcElement,o=r.getBoundingClientRect(),s=a.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=a.clientX,i=a.clientY);var l=parseFloat(z.getStyle(r,"padding-left")),u=parseFloat(z.getStyle(r,"padding-top")),c=parseFloat(z.getStyle(r,"padding-right")),d=parseFloat(z.getStyle(r,"padding-bottom")),h=o.bottom-o.top-u-d;return{x:n=Math.round((n-o.left-l)/(o.right-o.left-l-c)*r.width/t.currentDevicePixelRatio),y:i=Math.round((i-o.top-u)/h*r.height/t.currentDevicePixelRatio)}},z.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},z.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},z._calculatePadding=function(e,t,n){return(t=z.getStyle(e,t)).indexOf("%")>-1?n*parseInt(t,10)/100:parseInt(t,10)},z._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},z.getMaximumWidth=function(e){var t=z._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,i=n-z._calculatePadding(t,"padding-left",n)-z._calculatePadding(t,"padding-right",n),a=z.getConstraintWidth(e);return isNaN(a)?i:Math.min(i,a)},z.getMaximumHeight=function(e){var t=z._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,i=n-z._calculatePadding(t,"padding-top",n)-z._calculatePadding(t,"padding-bottom",n),a=z.getConstraintHeight(e);return isNaN(a)?i:Math.min(i,a)},z.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},z.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=e.canvas,a=e.height,r=e.width;i.height=a*n,i.width=r*n,e.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=a+"px",i.style.width=r+"px")}},z.fontString=function(e,t,n){return t+" "+e+"px "+n},z.longestText=function(e,t,n,i){var a=(i=i||{}).data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(a=i.data={},r=i.garbageCollect=[],i.font=t),e.font=t;var o,s,l,u,c,d=0,h=n.length;for(o=0;o<h;o++)if(null!=(u=n[o])&&!0!==z.isArray(u))d=z.measureText(e,a,r,d,u);else if(z.isArray(u))for(s=0,l=u.length;s<l;s++)null==(c=u[s])||z.isArray(c)||(d=z.measureText(e,a,r,d,c));var f=r.length/2;if(f>n.length){for(o=0;o<f;o++)delete a[r[o]];r.splice(0,f)}return d},z.measureText=function(e,t,n,i,a){var r=t[a];return r||(r=t[a]=e.measureText(a).width,n.push(a)),r>i&&(i=r),i},z.numberOfLabelLines=function(e){var t=1;return z.each(e,(function(e){z.isArray(e)&&e.length>t&&(t=e.length)})),t},z.color=b?function(e){return e instanceof CanvasGradient&&(e=R.global.defaultColor),b(e)}:function(e){return console.error("Color.js not found!"),e},z.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:z.color(e).saturate(.5).darken(.1).rgbString()}}(),Ht._adapters=Vt,Ht.Animation=Z,Ht.animationService=J,Ht.controllers=Ue,Ht.DatasetController=ee,Ht.defaults=R,Ht.Element=q,Ht.elements=ve,Ht.Interaction=Xe,Ht.layouts=lt,Ht.platform=yt,Ht.plugins=bt,Ht.Scale=nn,Ht.scaleService=kt,Ht.Ticks=Bt,Ht.Tooltip=At,Ht.helpers.each(Wn,(function(e,t){Ht.scaleService.registerScaleType(t,e,e._defaults)})),di)di.hasOwnProperty(pi)&&Ht.plugins.register(di[pi]);Ht.platform.initialize();var _i=Ht;return"undefined"!=typeof window&&(window.Chart=Ht),Ht.Chart=Ht,Ht.Legend=di.legend._element,Ht.Title=di.title._element,Ht.pluginService=Ht.plugins,Ht.PluginBase=Ht.Element.extend({}),Ht.canvasHelpers=Ht.helpers.canvas,Ht.layoutService=Ht.layouts,Ht.LinearScaleBase=sn,Ht.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(e){Ht[e]=function(t,n){return new Ht(t,Ht.helpers.merge(n||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}})),_i}(function(){try{return n("wd/R")}catch(e){}}())},OIYi:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},Oaa7:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function i(e,t,n,i){var a="";if(t)switch(n){case"s":a="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":a="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":a="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":a="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":a="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":a="%d \u0924\u093e\u0938";break;case"d":a="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":a="%d \u0926\u093f\u0935\u0938";break;case"M":a="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":a="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":a="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":a="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":a="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":a="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":a="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":a="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":a="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":a="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":a="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":a="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":a="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":a="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":a="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":a="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return a.replace(/%d/i,e)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===t||"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t||"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OjkT:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},OmwH:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},Oxv6:function(e,t,n){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},PA2r:function(e,t,n){!function(e){"use strict";var t={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),i=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],a=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function r(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||i?a+(r(e)?"sekundy":"sekund"):a+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?a+(r(e)?"minuty":"minut"):a+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?a+(r(e)?"hodiny":"hodin"):a+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?a+(r(e)?"dny":"dn\xed"):a+"dny";case"M":return t||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||i?a+(r(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):a+"m\u011bs\xedci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?a+(r(e)?"roky":"let"):a+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PeUW:function(e,t,n){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,n){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n("wd/R"))},PpIw:function(e,t,n){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},Qj4J:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},RAwQ:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?a[n][0]:a[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RnhZ:function(e,t,n){var i={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-ps":"TJgH","./ar-ps.js":"TJgH","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn-bd":"loYQ","./bn-bd.js":"loYQ","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-mx":"tbfe","./es-mx.js":"tbfe","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku-kmr":"dVgr","./ku-kmr.js":"dVgr","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function a(e){var t=r(e);return n(t)}function r(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=r,e.exports=a,a.id="RnhZ"},S6ln:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},SFxW:function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SatO:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1200?"\u4e0a\u5348":1200===i?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},TJgH:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return n[e]})).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,(function(e){return n[e]})).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},UDhR:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},USCx:function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},UpQW:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],n=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Vclq:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},WOAq:function(e,t,n){"use strict";(function(e){var i=n("Ju5/"),a=n("L3Qv"),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=r&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===r?i.a.Buffer:void 0;t.a=(s?s.isBuffer:void 0)||a.a}).call(this,n("3UD+")(e))},WYrj:function(e,t,n){!function(e){"use strict";var t=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],n=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,t,n){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n("wd/R"))},Wv91:function(e,t,n){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},WxRl:function(e,t,n){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(e,t,n,i){var a=e;switch(n){case"s":return i||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return a+(i||t)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return a+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return a+(i||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return a+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" h\xf3nap":" h\xf3napja");case"MM":return a+(i||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(i||t?" \xe9v":" \xe9ve");case"yy":return a+(i||t?" \xe9v":" \xe9ve")}return""}function i(e){return(e?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},X709:function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},XDpg:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XLvN:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XqMk:function(e,t,n){"use strict";var i="object"==typeof global&&global&&global.Object===Object&&global;t.a=i},YRex:function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===t||"\u0633\u06d5\u06be\u06d5\u0631"===t||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===t?e:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===t||"\u0643\u06d5\u0686"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},YuTi: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}},Z4QM:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},ZAMP:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},Zduo:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},aIdf:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}var n=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],i=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,a=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:a,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:a,monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},b1Dy:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},bOMt:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bXm7:function(e,t,n){!function(e){"use strict";var t={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},bpih:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},bxKX:function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},cRix:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},czMo:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},dNwA:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},dVgr:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[e+" san\xeeye",e+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[e+" deq\xeeqe",e+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[e+" saet",e+" saetan"],d:["rojek","rojek\xea"],dd:[e+" roj",e+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[e+" hefte",e+" hefteyan"],M:["mehek","mehek\xea"],MM:[e+" meh",e+" mehan"],y:["salek","salek\xea"],yy:[e+" sal",e+" salan"]};return t?a[n][0]:a[n][1]}e.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(e,t,n){return e<12?n?"bn":"BN":n?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,w:t,ww:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(e,t){var n=t.toLowerCase();return n.includes("w")||n.includes("m")?e+".":e+function(e){var t=(e=""+e).substring(e.length-1),n=e.length>1?e.substring(e.length-2):"";return 12==n||13==n||"2"!=t&&"3"!=t&&"50"!=n&&"70"!=t&&"80"!=t?"\xea":"y\xea"}(e)},week:{dow:1,doy:4}})}(n("wd/R"))},"e+ae":function(e,t,n){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function a(e,t,n,a){var r=e+" ";switch(n){case"s":return t||a?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||a?r+(i(e)?"sekundy":"sek\xfand"):r+"sekundami";case"m":return t?"min\xfata":a?"min\xfatu":"min\xfatou";case"mm":return t||a?r+(i(e)?"min\xfaty":"min\xfat"):r+"min\xfatami";case"h":return t?"hodina":a?"hodinu":"hodinou";case"hh":return t||a?r+(i(e)?"hodiny":"hod\xedn"):r+"hodinami";case"d":return t||a?"de\u0148":"d\u0148om";case"dd":return t||a?r+(i(e)?"dni":"dn\xed"):r+"d\u0148ami";case"M":return t||a?"mesiac":"mesiacom";case"MM":return t||a?r+(i(e)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return t||a?"rok":"rokom";case"yy":return t||a?r+(i(e)?"roky":"rokov"):r+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},evrj:function(e,t,n){var i=n("m4GZ");e.exports=function(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(i(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(n){return i(t)}}},fzPg:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n("wd/R"))},gVVK:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return a+(1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return a+(1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return a+(1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami");case"d":return t||i?"en dan":"enim dnem";case"dd":return a+(1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi");case"M":return t||i?"en mesec":"enim mesecem";case"MM":return a+(1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci");case"y":return t||i?"eno leto":"enim letom";case"yy":return a+(1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gekB:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function i(e,i,a,r){var o="";switch(a){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":o=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":o=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":o=r?"tunnin":"tuntia";break;case"d":return r?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=r?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return r?"kuukauden":"kuukausi";case"MM":o=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":o=r?"vuoden":"vuotta"}return function(e,i){return e<10?i?n[e]:t[e]:e}(e,r)+" "+o}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},hKrs:function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},honF:function(e,t,n){!function(e){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n("wd/R"))},iEDd:function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},iYuL:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},jUeY:function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,n){return e>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,i=this._calendarEl[e],a=t&&t.hours();return n=i,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(t)),i.replace("{}",a%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(e,t,n){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,n){var i=e+" ";switch(n){case"ss":return i+(a(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return i+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return i+(a(e)?"godziny":"godzin");case"ww":return i+(a(e)?"tygodnie":"tygodni");case"MM":return i+(a(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return i+(a(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:r,M:"miesi\u0105c",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jfSC:function(e,t,n){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,n){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jnO4:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(e){return function(t,n,r,o){var s=i(t),l=a[e][i(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},kEOa:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kOpN:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},l5ep:function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n("wd/R"))},lXzo:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i,a;return"m"===n?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(i=+e,a={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2])}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){switch(n){case"s":return t?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return e+(t?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(t?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(t?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(t?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(t?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(t?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e}}e.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(e){return"\u04ae\u0425"===e},meridiem:function(e,t,n){return e<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e}}})}(n("wd/R"))},lgnt:function(e,t,n){!function(e){"use strict";var t={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};e.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},loYQ:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t?e<4?e:e+12:"\u09ad\u09cb\u09b0"===t||"\u09b8\u0995\u09be\u09b2"===t?e:"\u09a6\u09c1\u09aa\u09c1\u09b0"===t?e>=3?e:e+12:"\u09ac\u09bf\u0995\u09be\u09b2"===t||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<6?"\u09ad\u09cb\u09b0":e<12?"\u09b8\u0995\u09be\u09b2":e<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<18?"\u09ac\u09bf\u0995\u09be\u09b2":e<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},lyxo:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n("wd/R"))},m4GZ:function(e,t){function n(e){this.message=e}(n.prototype=new Error).name="InvalidCharacterError",e.exports="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new n("'atob' failed: The string to be decoded is not correctly encoded.");for(var i,a,r=0,o=0,s="";a=t.charAt(o++);~a&&(i=r%4?64*i+a:a,r++%4)?s+=String.fromCharCode(255&i>>(-2*r&6)):0)a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a);return s}},nyYc:function(e,t,n){!function(e){"use strict";var t=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,n=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(e){return function(i,a,r,o){var s=t(i),l=n[e][t(i)];return 2===s&&(l=l[a?0:1]),l.replace(/%d/i,i)}},a=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-dz",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n("wd/R"))},"p/rL":function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},qvJo:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[e+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",e+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[e+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",e+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[e+" \u0935\u0930\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[e+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",e+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[e+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",e+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[e+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return i?a[n][0]:a[n][1]}e.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(e,t){switch(t){case"D":return e+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===t?e:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===t?e>12?e:e+12:"\u0938\u093e\u0902\u091c\u0947"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924\u0940":e<12?"\u0938\u0915\u093e\u0933\u0940\u0902":e<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":e<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(n("wd/R"))},raLr:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i,a;return"m"===n?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(i=+e,a={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:t?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n].split("_"),i%10==1&&i%100!=11?a[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?a[1]:a[2])}function n(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},"s+uk":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},sp3z:function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,t,n){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}})}(n("wd/R"))},"t+mt":function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},tGlX:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tT3J:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tbfe:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],a=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},u3GI:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uEye:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uXwI:function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function i(e,i,a){return e+" "+n(t[a],e,i)}function a(e,i,a){return n(t[a],e,i)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:i,m:a,mm:i,h:a,hh:i,d:a,dd:i,M:a,MM:i,y:a,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},wQk9:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n("wd/R"))},"wd/R":function(e,t,n){(function(e){e.exports=function(){"use strict";var t,i;function a(){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 s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function u(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,i=[],a=e.length;for(n=0;n<a;++n)i.push(t(e[n],n));return i}function f(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,n,i){return xt(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 _(e){var t=null,n=!1,a=e._d&&!isNaN(e._d.getTime());return a&&(t=p(e),n=i.call(t.parsedDateParts,(function(e){return null!=e})),a=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(a=a&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)),null!=Object.isFrozen&&Object.isFrozen(e)?a:(e._isValid=a,e._isValid)}function v(e){var t=m(NaN);return null!=e?f(p(t),e):p(t).userInvalidated=!0,t}i=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=a.momentProperties=[],y=!1;function b(e,t){var n,i,a,r=g.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=p(t)),u(t._locale)||(e._locale=t._locale),r>0)for(n=0;n<r;n++)u(a=t[i=g[n]])||(e[i]=a);return e}function k(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,a.updateOffset(this),y=!1)}function w(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function C(e){!1===a.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var n=!0;return f((function(){if(null!=a.deprecationHandler&&a.deprecationHandler(null,e),n){var i,r,o,l=[],u=arguments.length;for(r=0;r<u;r++){if(i="","object"==typeof arguments[r]){for(o in i+="\n["+r+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[r];l.push(i)}C(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var M,D={};function S(e,t){null!=a.deprecationHandler&&a.deprecationHandler(e,t),D[e]||(C(t),D[e]=!0)}function L(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var n,i=f({},e);for(n in t)s(t,n)&&(o(e[n])&&o(t[n])?(i[n]={},f(i[n],e[n]),f(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)s(e,n)&&!s(t,n)&&o(e[n])&&(i[n]=f({},i[n]));return i}function A(e){null!=e&&this.set(e)}function E(e,t,n){var i=""+Math.abs(e);return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,M=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(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,Y=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},I={};function R(e,t,n,i){var a=i;"string"==typeof i&&(a=function(){return this[i]()}),e&&(I[e]=a),t&&(I[t[0]]=function(){return E(a.apply(this,arguments),t[1],t[2])}),n&&(I[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function F(e,t){return e.isValid()?(t=j(t,e.localeData()),P[t]=P[t]||function(e){var t,n,i,a=e.match(O);for(t=0,n=a.length;t<n;t++)a[t]=I[a[t]]?I[a[t]]:(i=a[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,r="";for(i=0;i<n;i++)r+=L(a[i])?a[i].call(t,e):a[i];return r}}(t),P[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(Y.lastIndex=0;n>=0&&Y.test(e);)e=e.replace(Y,i),Y.lastIndex=0,n-=1;return e}var H={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function N(e){return"string"==typeof e?H[e]||H[e.toLowerCase()]:void 0}function z(e){var t,n,i={};for(n in e)s(e,n)&&(t=N(n))&&(i[t]=e[n]);return i}var V,B={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1},W=/\d/,U=/\d\d/,q=/\d{3}/,G=/\d{4}/,Z=/[+-]?\d{6}/,J=/\d\d?/,K=/\d\d\d\d?/,Q=/\d\d\d\d\d\d?/,X=/\d{1,3}/,$=/\d{1,4}/,ee=/[+-]?\d{1,6}/,te=/\d+/,ne=/[+-]?\d+/,ie=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,re=/[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,oe=/^[1-9]\d?/,se=/^([1-9]\d|\d)/;function le(e,t,n){V[e]=L(t)?t:function(e,i){return e&&n?n:t}}function ue(e,t){return s(V,e)?V[e](t._strict,t._locale):new RegExp(ce(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,a){return t||n||i||a}))))}function ce(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function de(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function he(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=de(t)),n}V={};var fe={};function me(e,t){var n,i,a=t;for("string"==typeof e&&(e=[e]),c(t)&&(a=function(e,n){n[t]=he(e)}),i=e.length,n=0;n<i;n++)fe[e[n]]=a}function pe(e,t){me(e,(function(e,n,i,a){i._w=i._w||{},t(e,i._w,i,a)}))}function _e(e,t,n){null!=t&&s(fe,e)&&fe[e](t,n._a,n,e)}function ve(e){return e%4==0&&e%100!=0||e%400==0}function ge(e){return ve(e)?366:365}R("Y",0,0,(function(){var e=this.year();return e<=9999?E(e,4):"+"+e})),R(0,["YY",2],0,(function(){return this.year()%100})),R(0,["YYYY",4],0,"year"),R(0,["YYYYY",5],0,"year"),R(0,["YYYYYY",6,!0],0,"year"),le("Y",ne),le("YY",J,U),le("YYYY",$,G),le("YYYYY",ee,Z),le("YYYYYY",ee,Z),me(["YYYYY","YYYYYY"],0),me("YYYY",(function(e,t){t[0]=2===e.length?a.parseTwoDigitYear(e):he(e)})),me("YY",(function(e,t){t[0]=a.parseTwoDigitYear(e)})),me("Y",(function(e,t){t[0]=parseInt(e,10)})),a.parseTwoDigitYear=function(e){return he(e)+(he(e)>68?1900:2e3)};var ye,be=ke("FullYear",!0);function ke(e,t){return function(n){return null!=n?(Ce(this,e,n),a.updateOffset(this,t),this):we(this,e)}}function we(e,t){if(!e.isValid())return NaN;var n=e._d,i=e._isUTC;switch(t){case"Milliseconds":return i?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return i?n.getUTCSeconds():n.getSeconds();case"Minutes":return i?n.getUTCMinutes():n.getMinutes();case"Hours":return i?n.getUTCHours():n.getHours();case"Date":return i?n.getUTCDate():n.getDate();case"Day":return i?n.getUTCDay():n.getDay();case"Month":return i?n.getUTCMonth():n.getMonth();case"FullYear":return i?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Ce(e,t,n){var i,a,r,o,s;if(e.isValid()&&!isNaN(n)){switch(i=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?i.setUTCMilliseconds(n):i.setMilliseconds(n));case"Seconds":return void(a?i.setUTCSeconds(n):i.setSeconds(n));case"Minutes":return void(a?i.setUTCMinutes(n):i.setMinutes(n));case"Hours":return void(a?i.setUTCHours(n):i.setHours(n));case"Date":return void(a?i.setUTCDate(n):i.setDate(n));case"FullYear":break;default:return}r=n,o=e.month(),s=29!==(s=e.date())||1!==o||ve(r)?s:28,a?i.setUTCFullYear(r,o,s):i.setFullYear(r,o,s)}}function xe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?ve(e)?29:28:31-n%7%2}ye=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},R("M",["MM",2],"Mo",(function(){return this.month()+1})),R("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),R("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),le("M",J,oe),le("MM",J,U),le("MMM",(function(e,t){return t.monthsShortRegex(e)})),le("MMMM",(function(e,t){return t.monthsRegex(e)})),me(["M","MM"],(function(e,t){t[1]=he(e)-1})),me(["MMM","MMMM"],(function(e,t,n,i){var a=n._locale.monthsParse(e,i,n._strict);null!=a?t[1]=a:p(n).invalidMonth=e}));var Me="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Se=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Le=re,Te=re;function Ae(e,t,n){var i,a,r,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=m([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(a=ye.call(this._shortMonthsParse,o))?a:null:-1!==(a=ye.call(this._longMonthsParse,o))?a:null:"MMM"===t?-1!==(a=ye.call(this._shortMonthsParse,o))||-1!==(a=ye.call(this._longMonthsParse,o))?a:null:-1!==(a=ye.call(this._longMonthsParse,o))||-1!==(a=ye.call(this._shortMonthsParse,o))?a:null}function Ee(e,t){if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=he(t);else if(!c(t=e.localeData().monthsParse(t)))return e;var n=t,i=e.date();return i=i<29?i:Math.min(i,xe(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,i):e._d.setMonth(n,i),e}function Oe(e){return null!=e?(Ee(this,e),a.updateOffset(this,!0),this):we(this,"Month")}function Ye(){function e(e,t){return t.length-e.length}var t,n,i,a,r=[],o=[],s=[];for(t=0;t<12;t++)n=m([2e3,t]),i=ce(this.monthsShort(n,"")),a=ce(this.months(n,"")),r.push(i),o.push(a),s.push(a),s.push(i);r.sort(e),o.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Pe(e,t,n,i,a,r,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,i,a,r,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,a,r,o),s}function Ie(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 Re(e,t,n){var i=7+t-n;return-(7+Ie(e,0,i).getUTCDay()-t)%7+i-1}function Fe(e,t,n,i,a){var r,o,s=1+7*(t-1)+(7+n-i)%7+Re(e,i,a);return s<=0?o=ge(r=e-1)+s:s>ge(e)?(r=e+1,o=s-ge(e)):(r=e,o=s),{year:r,dayOfYear:o}}function je(e,t,n){var i,a,r=Re(e.year(),t,n),o=Math.floor((e.dayOfYear()-r-1)/7)+1;return o<1?i=o+He(a=e.year()-1,t,n):o>He(e.year(),t,n)?(i=o-He(e.year(),t,n),a=e.year()+1):(a=e.year(),i=o),{week:i,year:a}}function He(e,t,n){var i=Re(e,t,n),a=Re(e+1,t,n);return(ge(e)-i+a)/7}function Ne(e,t){return e.slice(t,7).concat(e.slice(0,t))}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),le("w",J,oe),le("ww",J,U),le("W",J,oe),le("WW",J,U),pe(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=he(e)})),R("d",0,"do","day"),R("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),R("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),R("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),le("d",J),le("e",J),le("E",J),le("dd",(function(e,t){return t.weekdaysMinRegex(e)})),le("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),le("dddd",(function(e,t){return t.weekdaysRegex(e)})),pe(["dd","ddd","dddd"],(function(e,t,n,i){var a=n._locale.weekdaysParse(e,i,n._strict);null!=a?t.d=a:p(n).invalidWeekday=e})),pe(["d","e","E"],(function(e,t,n,i){t[i]=he(e)}));var ze="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Be="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),We=re,Ue=re,qe=re;function Ge(e,t,n){var i,a,r,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=m([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=ye.call(this._weekdaysParse,o))?a:null:"ddd"===t?-1!==(a=ye.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=ye.call(this._minWeekdaysParse,o))?a:null:"dddd"===t?-1!==(a=ye.call(this._weekdaysParse,o))||-1!==(a=ye.call(this._shortWeekdaysParse,o))||-1!==(a=ye.call(this._minWeekdaysParse,o))?a:null:"ddd"===t?-1!==(a=ye.call(this._shortWeekdaysParse,o))||-1!==(a=ye.call(this._weekdaysParse,o))||-1!==(a=ye.call(this._minWeekdaysParse,o))?a:null:-1!==(a=ye.call(this._minWeekdaysParse,o))||-1!==(a=ye.call(this._weekdaysParse,o))||-1!==(a=ye.call(this._shortWeekdaysParse,o))?a:null}function Ze(){function e(e,t){return t.length-e.length}var t,n,i,a,r,o=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),i=ce(this.weekdaysMin(n,"")),a=ce(this.weekdaysShort(n,"")),r=ce(this.weekdays(n,"")),o.push(i),s.push(a),l.push(r),u.push(i),u.push(a),u.push(r);o.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("^("+o.join("|")+")","i")}function Je(){return this.hours()%12||12}function Ke(e,t){R(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Qe(e,t){return t._meridiemParse}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,Je),R("k",["kk",2],0,(function(){return this.hours()||24})),R("hmm",0,0,(function(){return""+Je.apply(this)+E(this.minutes(),2)})),R("hmmss",0,0,(function(){return""+Je.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)})),R("Hmm",0,0,(function(){return""+this.hours()+E(this.minutes(),2)})),R("Hmmss",0,0,(function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),le("a",Qe),le("A",Qe),le("H",J,se),le("h",J,oe),le("k",J,oe),le("HH",J,U),le("hh",J,U),le("kk",J,U),le("hmm",K),le("hmmss",Q),le("Hmm",K),le("Hmmss",Q),me(["H","HH"],3),me(["k","kk"],(function(e,t,n){var i=he(e);t[3]=24===i?0:i})),me(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),me(["h","hh"],(function(e,t,n){t[3]=he(e),p(n).bigHour=!0})),me("hmm",(function(e,t,n){var i=e.length-2;t[3]=he(e.substr(0,i)),t[4]=he(e.substr(i)),p(n).bigHour=!0})),me("hmmss",(function(e,t,n){var i=e.length-4,a=e.length-2;t[3]=he(e.substr(0,i)),t[4]=he(e.substr(i,2)),t[5]=he(e.substr(a)),p(n).bigHour=!0})),me("Hmm",(function(e,t,n){var i=e.length-2;t[3]=he(e.substr(0,i)),t[4]=he(e.substr(i))})),me("Hmmss",(function(e,t,n){var i=e.length-4,a=e.length-2;t[3]=he(e.substr(0,i)),t[4]=he(e.substr(i,2)),t[5]=he(e.substr(a))}));var Xe,$e=ke("Hours",!0),et={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:Me,monthsShort:De,week:{dow:0,doy:6},weekdays:ze,weekdaysMin:Be,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function it(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 at(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var i=null;if(void 0===tt[t]&&void 0!==e&&e&&e.exports&&function(e){return!(!e||!e.match("^[^/\\\\]*$"))}(t))try{i=Xe._abbr,n("RnhZ")("./"+t),ot(i)}catch(a){tt[t]=null}return tt[t]}function ot(e,t){var n;return e&&((n=u(t)?lt(e):st(e,t))?Xe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Xe._abbr}function st(e,t){if(null!==t){var n,i=et;if(t.abbr=e,null!=tt[e])S("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=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])i=tt[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return tt[e]=new A(T(i,t)),nt[e]&&nt[e].forEach((function(e){st(e.name,e.config)})),ot(e),tt[e]}return delete tt[e],null}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Xe;if(!r(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,i,a,r=0;r<e.length;){for(t=(a=at(e[r]).split("-")).length,n=(n=at(e[r+1]))?n.split("-"):null;t>0;){if(i=rt(a.slice(0,t).join("-")))return i;if(n&&n.length>=t&&it(a,n)>=t-1)break;t--}r++}return Xe}(e)}function ut(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 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=/^\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)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,ft=[["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]],mt=[["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,_t=/^(?:(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,a,r,o,s=e._i,l=ct.exec(s)||dt.exec(s),u=ft.length,c=mt.length;if(l){for(p(e).iso=!0,t=0,n=u;t<n;t++)if(ft[t][1].exec(l[1])){a=ft[t][0],i=!1!==ft[t][2];break}if(null==a)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;t<n;t++)if(mt[t][1].exec(l[3])){r=(l[2]||" ")+mt[t][0];break}if(null==r)return void(e._isValid=!1)}if(!i&&null!=r)return void(e._isValid=!1);if(l[4]){if(!ht.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=a+(r||"")+(o||""),wt(e)}else e._isValid=!1}function yt(e){var t,n,i,a,r,o,s,l,u,c=_t.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[3],i=c[2],a=c[5],r=c[6],o=c[7],s=[(l=c[4],u=parseInt(l,10),u<=49?2e3+u:u<=999?1900+u:u),De.indexOf(n),parseInt(i,10),parseInt(a,10),parseInt(r,10)],o&&s.push(parseInt(o,10)),!function(e,t,n){return!e||Ve.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(p(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],t=s,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),a=i%100;return(i-a)/100*60+a}(c[8],c[9],c[10]),e._d=Ie.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0}else e._isValid=!1}function bt(e,t,n){return null!=e?e:null!=t?t:n}function kt(e){var t,n,i,r,o,s=[];if(!e._d){for(i=function(e){var t=new Date(a.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,a,r,o,s,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,o=4,n=bt(t.GG,e._a[0],je(Mt(),1,4).year),i=bt(t.W,1),((a=bt(t.E,1))<1||a>7)&&(l=!0)):(r=e._locale._week.dow,o=e._locale._week.doy,u=je(Mt(),r,o),n=bt(t.gg,e._a[0],u.year),i=bt(t.w,u.week),null!=t.d?((a=t.d)<0||a>6)&&(l=!0):null!=t.e?(a=t.e+r,(t.e<0||t.e>6)&&(l=!0)):a=r),i<1||i>He(n,r,o)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=Fe(n,i,a,r,o),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=bt(e._a[0],i[0]),(e._dayOfYear>ge(o)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Ie(o,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]=i[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?Ie:Pe).apply(null,s),r=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!==r&&(p(e).weekdayMismatch=!0)}}function wt(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],p(e).empty=!0;var t,n,i,r,o,s,l,u=""+e._i,c=u.length,d=0;for(l=(i=j(e._f,e._locale).match(O)||[]).length,t=0;t<l;t++)(n=(u.match(ue(r=i[t],e))||[])[0])&&((o=u.substr(0,u.indexOf(n))).length>0&&p(e).unusedInput.push(o),u=u.slice(u.indexOf(n)+n.length),d+=n.length),I[r]?(n?p(e).empty=!1:p(e).unusedTokens.push(r),_e(r,n,e)):e._strict&&!n&&p(e).unusedTokens.push(r);p(e).charsLeftOver=c-d,u.length>0&&p(e).unusedInput.push(u),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])),kt(e),ut(e)}else yt(e);else gt(e)}function Ct(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new k(ut(t)):(d(t)?e._d=t:r(n)?function(e){var t,n,i,a,r,o,s=!1,l=e._f.length;if(0===l)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;a<l;a++)r=0,o=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[a],wt(t),_(t)&&(o=!0),r+=p(t).charsLeftOver,r+=10*p(t).unusedTokens.length,p(t).score=r,s?r<i&&(i=r,n=t):(null==i||r<i||o)&&(i=r,n=t,o&&(s=!0));f(e,n||t)}(e):n?wt(e):function(e){var t=e._i;u(t)?e._d=new Date(a.now()):d(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:a.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):r(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),kt(e)):o(t)?function(e){if(!e._d){var t=z(e._i);e._a=h([t.year,t.month,void 0===t.day?t.date:t.day,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),kt(e)}}(e):c(t)?e._d=new Date(t):a.createFromInputFallback(e)}(e),_(e)||(e._d=null),e))}function xt(e,t,n,i,a){var s,u={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(o(e)&&l(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,(s=new k(ut(Ct(u))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Mt(e,t,n,i){return xt(e,t,n,i,!1)}a.createFromInputFallback=x("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":""))})),a.ISO_8601=function(){},a.RFC_2822=function(){};var Dt=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Mt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),St=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Mt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function Lt(e,t){var n,i;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Mt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Tt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function At(e){var t=z(e),n=t.year||0,i=t.quarter||0,a=t.month||0,r=t.week||t.isoWeek||0,o=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,a=Tt.length;for(t in e)if(s(e,t)&&(-1===ye.call(Tt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<a;++n)if(e[Tt[n]]){if(i)return!1;parseFloat(e[Tt[n]])!==he(e[Tt[n]])&&(i=!0)}return!0}(t),this._milliseconds=+d+1e3*c+6e4*u+1e3*l*60*60,this._days=+o+7*r,this._months=+a+3*i+12*n,this._data={},this._locale=lt(),this._bubble()}function Et(e){return e instanceof At}function Ot(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Yt(e,t){R(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+E(~~(e/60),2)+t+E(~~e%60,2)}))}Yt("Z",":"),Yt("ZZ",""),le("Z",ae),le("ZZ",ae),me(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=It(ae,e)}));var Pt=/([\+\-]|\d\d)/gi;function It(e,t){var n,i,a=(t||"").match(e);return null===a?null:0===(i=60*(n=((a[a.length-1]||[])+"").match(Pt)||["-",0,0])[1]+he(n[2]))?0:"+"===n[0]?i:-i}function Rt(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(w(e)||d(e)?e.valueOf():Mt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),a.updateOffset(n,!1),n):Mt(e).local()}function Ft(e){return-Math.round(e._d.getTimezoneOffset())}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}a.updateOffset=function(){};var Ht=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Nt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function zt(e,t){var n,i,a,r,o,l,u=e,d=null;return Et(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(u={},t?u[t]=+e:u.milliseconds=+e):(d=Ht.exec(e))?(n="-"===d[1]?-1:1,u={y:0,d:he(d[2])*n,h:he(d[3])*n,m:he(d[4])*n,s:he(d[5])*n,ms:he(Ot(1e3*d[6]))*n}):(d=Nt.exec(e))?u={y:Vt(d[2],n="-"===d[1]?-1:1),M:Vt(d[3],n),w:Vt(d[4],n),d:Vt(d[5],n),h:Vt(d[6],n),m:Vt(d[7],n),s:Vt(d[8],n)}:null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(r=Mt(u.from),o=Mt(u.to),a=r.isValid()&&o.isValid()?(o=Rt(o,r),r.isBefore(o)?l=Bt(r,o):((l=Bt(o,r)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(u={}).ms=a.milliseconds,u.M=a.months),i=new At(u),Et(e)&&s(e,"_locale")&&(i._locale=e._locale),Et(e)&&s(e,"_isValid")&&(i._isValid=e._isValid),i}function Vt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Bt(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 Wt(e,t){return function(n,i){var a;return null===i||isNaN(+i)||(S(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."),a=n,n=i,i=a),Ut(this,zt(n,i),e),this}}function Ut(e,t,n,i){var r=t._milliseconds,o=Ot(t._days),s=Ot(t._months);e.isValid()&&(i=null==i||i,s&&Ee(e,we(e,"Month")+s*n),o&&Ce(e,"Date",we(e,"Date")+o*n),r&&e._d.setTime(e._d.valueOf()+r*n),i&&a.updateOffset(e,o||s))}zt.fn=At.prototype,zt.invalid=function(){return zt(NaN)};var qt=Wt(1,"add"),Gt=Wt(-1,"subtract");function Zt(e){return"string"==typeof e||e instanceof String}function Jt(e){return w(e)||d(e)||Zt(e)||c(e)||function(e){var t=r(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&Zt(e)})).length),t&&n}(e)||function(e){var t,n=o(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r=a.length;for(t=0;t<r;t+=1)i=i||s(e,a[t]);return n&&i}(e)||null==e}function Kt(e){var t,n=o(e)&&!l(e),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)i=i||s(e,a[t]);return n&&i}function Qt(e,t){if(e.date()<t.date())return-Qt(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 Xt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",a.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var $t=x("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 an(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function rn(e,t){return t.erasAbbrRegex(e)}function on(){var e,t,n,i,a,r=[],o=[],s=[],l=[],u=this.eras();for(e=0,t=u.length;e<t;++e)n=ce(u[e].name),i=ce(u[e].abbr),a=ce(u[e].narrow),o.push(n),r.push(i),s.push(a),l.push(n),l.push(i),l.push(a);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function sn(e,t){R(0,[e,e.length],0,t)}function ln(e,t,n,i,a){var r;return null==e?je(this,i,a).year:(t>(r=He(e,i,a))&&(t=r),un.call(this,e,t,n,i,a))}function un(e,t,n,i,a){var r=Fe(e,t,n,i,a),o=Ie(r.year,0,r.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),le("N",rn),le("NN",rn),le("NNN",rn),le("NNNN",(function(e,t){return t.erasNameRegex(e)})),le("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),me(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,i){var a=n._locale.erasParse(e,i,n._strict);a?p(n).era=a:p(n).invalidEra=e})),le("y",te),le("yy",te),le("yyy",te),le("yyyy",te),le("yo",(function(e,t){return t._eraYearOrdinalRegex||te})),me(["y","yy","yyy","yyyy"],0),me(["yo"],(function(e,t,n,i){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),t[0]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(e,a):parseInt(e,10)})),R(0,["gg",2],0,(function(){return this.weekYear()%100})),R(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),le("G",ne),le("g",ne),le("GG",J,U),le("gg",J,U),le("GGGG",$,G),le("gggg",$,G),le("GGGGG",ee,Z),le("ggggg",ee,Z),pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=he(e)})),pe(["gg","GG"],(function(e,t,n,i){t[i]=a.parseTwoDigitYear(e)})),R("Q",0,"Qo","quarter"),le("Q",W),me("Q",(function(e,t){t[1]=3*(he(e)-1)})),R("D",["DD",2],"Do","date"),le("D",J,oe),le("DD",J,U),le("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),me(["D","DD"],2),me("Do",(function(e,t){t[2]=he(e.match(J)[0])}));var cn=ke("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear"),le("DDD",X),le("DDDD",q),me(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=he(e)})),R("m",["mm",2],0,"minute"),le("m",J,se),le("mm",J,U),me(["m","mm"],4);var dn=ke("Minutes",!1);R("s",["ss",2],0,"second"),le("s",J,se),le("ss",J,U),me(["s","ss"],5);var hn,fn,mn=ke("Seconds",!1);for(R("S",0,0,(function(){return~~(this.millisecond()/100)})),R(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),R(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),R(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),R(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),R(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),R(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),le("S",X,W),le("SS",X,U),le("SSS",X,q),hn="SSSS";hn.length<=9;hn+="S")le(hn,te);function pn(e,t){t[6]=he(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")me(hn,pn);fn=ke("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var _n=k.prototype;function vn(e){return e}_n.add=qt,_n.calendar=function(e,t){1===arguments.length&&(arguments[0]?Jt(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||Mt(),i=Rt(n,this).startOf("day"),r=a.calendarFormat(this,i)||"sameElse",o=t&&(L(t[r])?t[r].call(this,n):t[r]);return this.format(o||this.localeData().calendar(r,this,Mt(n)))},_n.clone=function(){return new k(this)},_n.diff=function(e,t,n){var i,a,r;if(!this.isValid())return NaN;if(!(i=Rt(e,this)).isValid())return NaN;switch(a=6e4*(i.utcOffset()-this.utcOffset()),t=N(t)){case"year":r=Qt(this,i)/12;break;case"month":r=Qt(this,i);break;case"quarter":r=Qt(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-a)/864e5;break;case"week":r=(this-i-a)/6048e5;break;default:r=this-i}return n?r:de(r)},_n.endOf=function(e){var t,n;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an: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),a.updateOffset(this,!0),this},_n.format=function(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=F(this,e);return this.localeData().postformat(t)},_n.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Mt(e).isValid())?zt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.fromNow=function(e){return this.from(Mt(),e)},_n.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||Mt(e).isValid())?zt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},_n.toNow=function(e){return this.to(Mt(),e)},_n.get=function(e){return L(this[e=N(e)])?this[e]():this},_n.invalidAt=function(){return p(this).overflow},_n.isAfter=function(e,t){var n=w(e)?e:Mt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},_n.isBefore=function(e,t){var n=w(e)?e:Mt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},_n.isBetween=function(e,t,n,i){var a=w(e)?e:Mt(e),r=w(t)?t:Mt(t);return!!(this.isValid()&&a.isValid()&&r.isValid())&&("("===(i=i||"()")[0]?this.isAfter(a,n):!this.isBefore(a,n))&&(")"===i[1]?this.isBefore(r,n):!this.isAfter(r,n))},_n.isSame=function(e,t){var n,i=w(e)?e:Mt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=N(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},_n.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},_n.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},_n.isValid=function(){return _(this)},_n.lang=$t,_n.locale=Xt,_n.localeData=en,_n.max=St,_n.min=Dt,_n.parsingFlags=function(){return f({},p(this))},_n.set=function(e,t){if("object"==typeof e){var n,i=function(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:B[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=z(e)),a=i.length;for(n=0;n<a;n++)this[i[n].unit](e[i[n].unit])}else if(L(this[e=N(e)]))return this[e](t);return this},_n.startOf=function(e){var t,n;if(void 0===(e=N(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an: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)}return this._d.setTime(t),a.updateOffset(this,!0),this},_n.subtract=Gt,_n.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},_n.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()}},_n.toDate=function(){return new Date(this.valueOf())},_n.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?F(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(n,"Z")):F(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},_n.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+n+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(_n[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),_n.toJSON=function(){return this.isValid()?this.toISOString():null},_n.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},_n.unix=function(){return Math.floor(this.valueOf()/1e3)},_n.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},_n.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},_n.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""},_n.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""},_n.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""},_n.eraYear=function(){var e,t,n,i,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=r[e].since<=r[e].until?1:-1,i=this.clone().startOf("day").valueOf(),r[e].since<=i&&i<=r[e].until||r[e].until<=i&&i<=r[e].since)return(this.year()-a(r[e].since).year())*n+r[e].offset;return this.year()},_n.year=be,_n.isLeapYear=function(){return ve(this.year())},_n.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},_n.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},_n.quarter=_n.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},_n.month=Oe,_n.daysInMonth=function(){return xe(this.year(),this.month())},_n.week=_n.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},_n.isoWeek=_n.isoWeeks=function(e){var t=je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},_n.weeksInYear=function(){var e=this.localeData()._week;return He(this.year(),e.dow,e.doy)},_n.weeksInWeekYear=function(){var e=this.localeData()._week;return He(this.weekYear(),e.dow,e.doy)},_n.isoWeeksInYear=function(){return He(this.year(),1,4)},_n.isoWeeksInISOWeekYear=function(){return He(this.isoWeekYear(),1,4)},_n.date=cn,_n.day=_n.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=we(this,"Day");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},_n.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")},_n.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},_n.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")},_n.hour=_n.hours=$e,_n.minute=_n.minutes=dn,_n.second=_n.seconds=mn,_n.millisecond=_n.milliseconds=fn,_n.utcOffset=function(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=It(ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Ft(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?Ut(this,zt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Ft(this)},_n.utc=function(e){return this.utcOffset(0,e)},_n.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ft(this),"m")),this},_n.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=It(ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},_n.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Mt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},_n.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},_n.isLocal=function(){return!!this.isValid()&&!this._isUTC},_n.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},_n.isUtc=jt,_n.isUTC=jt,_n.zoneAbbr=function(){return this._isUTC?"UTC":""},_n.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},_n.dates=x("dates accessor is deprecated. Use date instead.",cn),_n.months=x("months accessor is deprecated. Use month instead",Oe),_n.years=x("years accessor is deprecated. Use year instead",be),_n.zone=x("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()})),_n.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Ct(t))._a?(e=t._isUTC?m(t._a):Mt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var i,a=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0;for(i=0;i<a;i++)he(e[i])!==he(t[i])&&o++;return o+r}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var gn=A.prototype;function yn(e,t,n,i){var a=lt(),r=m().set(i,t);return a[n](r,e)}function bn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return yn(e,t,n,"month");var i,a=[];for(i=0;i<12;i++)a[i]=yn(e,i,n,"month");return a}function kn(e,t,n,i){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var a,r=lt(),o=e?r._week.dow:0,s=[];if(null!=n)return yn(t,(n+o)%7,i,"day");for(a=0;a<7;a++)s[a]=yn(t,(a+o)%7,i,"day");return s}gn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return L(i)?i.call(t,n):i},gn.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])},gn.invalidDate=function(){return this._invalidDate},gn.ordinal=function(e){return this._ordinal.replace("%d",e)},gn.preparse=vn,gn.postformat=vn,gn.relativeTime=function(e,t,n,i){var a=this._relativeTime[n];return L(a)?a(e,t,n,i):a.replace(/%d/i,e)},gn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return L(n)?n(t):n.replace(/%s/i,t)},gn.set=function(e){var t,n;for(n in e)s(e,n)&&(L(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)},gn.eras=function(e,t){var n,i,r,o=this._eras||lt("en")._eras;for(n=0,i=o.length;n<i;++n){switch(typeof o[n].since){case"string":r=a(o[n].since).startOf("day"),o[n].since=r.valueOf()}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":r=a(o[n].until).startOf("day").valueOf(),o[n].until=r.valueOf()}}return o},gn.erasParse=function(e,t,n){var i,a,r,o,s,l=this.eras();for(e=e.toUpperCase(),i=0,a=l.length;i<a;++i)if(r=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(r===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if([r,o,s].indexOf(e)>=0)return l[i]},gn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n},gn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||on.call(this),e?this._erasAbbrRegex:this._erasRegex},gn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||on.call(this),e?this._erasNameRegex:this._erasRegex},gn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||on.call(this),e?this._erasNarrowRegex:this._erasRegex},gn.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Se).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},gn.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Se.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},gn.monthsParse=function(e,t,n){var i,a,r;if(this._monthsParseExact)return Ae.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(a=m([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[i]=new RegExp(r.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}},gn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ye.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Te),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},gn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ye.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Le),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},gn.week=function(e){return je(e,this._week.dow,this._week.doy).week},gn.firstDayOfYear=function(){return this._week.doy},gn.firstDayOfWeek=function(){return this._week.dow},gn.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?Ne(n,this._week.dow):e?n[e.day()]:n},gn.weekdaysMin=function(e){return!0===e?Ne(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},gn.weekdaysShort=function(e){return!0===e?Ne(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},gn.weekdaysParse=function(e,t,n){var i,a,r;if(this._weekdaysParseExact)return Ge.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(a=m([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[i]=new RegExp(r.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}},gn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=We),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},gn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ue),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},gn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},gn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},gn.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===he(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),a.lang=x("moment.lang is deprecated. Use moment.locale instead.",ot),a.langData=x("moment.langData is deprecated. Use moment.localeData instead.",lt);var wn=Math.abs;function Cn(e,t,n,i){var a=zt(t,n);return e._milliseconds+=i*a._milliseconds,e._days+=i*a._days,e._months+=i*a._months,e._bubble()}function xn(e){return e<0?Math.floor(e):Math.ceil(e)}function Mn(e){return 4800*e/146097}function Dn(e){return 146097*e/4800}function Sn(e){return function(){return this.as(e)}}var Ln=Sn("ms"),Tn=Sn("s"),An=Sn("m"),En=Sn("h"),On=Sn("d"),Yn=Sn("w"),Pn=Sn("M"),In=Sn("Q"),Rn=Sn("y"),Fn=Ln;function jn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Hn=jn("milliseconds"),Nn=jn("seconds"),zn=jn("minutes"),Vn=jn("hours"),Bn=jn("days"),Wn=jn("months"),Un=jn("years"),qn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Zn(e,t,n,i,a){return a.relativeTime(t||1,!!n,e,i)}var Jn=Math.abs;function Kn(e){return(e>0)-(e<0)||+e}function Qn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,a,r,o,s,l=Jn(this._milliseconds)/1e3,u=Jn(this._days),c=Jn(this._months),d=this.asSeconds();return d?(e=de(l/60),t=de(e/60),l%=60,e%=60,n=de(c/12),c%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",r=Kn(this._months)!==Kn(d)?"-":"",o=Kn(this._days)!==Kn(d)?"-":"",s=Kn(this._milliseconds)!==Kn(d)?"-":"",a+"P"+(n?r+n+"Y":"")+(c?r+c+"M":"")+(u?o+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+i+"S":"")):"P0D"}var Xn=At.prototype;return Xn.isValid=function(){return this._isValid},Xn.abs=function(){var e=this._data;return this._milliseconds=wn(this._milliseconds),this._days=wn(this._days),this._months=wn(this._months),e.milliseconds=wn(e.milliseconds),e.seconds=wn(e.seconds),e.minutes=wn(e.minutes),e.hours=wn(e.hours),e.months=wn(e.months),e.years=wn(e.years),this},Xn.add=function(e,t){return Cn(this,e,t,1)},Xn.subtract=function(e,t){return Cn(this,e,t,-1)},Xn.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=N(e))||"quarter"===e||"year"===e)switch(n=this._months+Mn(t=this._days+i/864e5),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Dn(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)}},Xn.asMilliseconds=Ln,Xn.asSeconds=Tn,Xn.asMinutes=An,Xn.asHours=En,Xn.asDays=On,Xn.asWeeks=Yn,Xn.asMonths=Pn,Xn.asQuarters=In,Xn.asYears=Rn,Xn.valueOf=Fn,Xn._bubble=function(){var e,t,n,i,a,r=this._milliseconds,o=this._days,s=this._months,l=this._data;return r>=0&&o>=0&&s>=0||r<=0&&o<=0&&s<=0||(r+=864e5*xn(Dn(s)+o),o=0,s=0),l.milliseconds=r%1e3,e=de(r/1e3),l.seconds=e%60,t=de(e/60),l.minutes=t%60,n=de(t/60),l.hours=n%24,o+=de(n/24),s+=a=de(Mn(o)),o-=xn(Dn(a)),i=de(s/12),s%=12,l.days=o,l.months=s,l.years=i,this},Xn.clone=function(){return zt(this)},Xn.get=function(e){return e=N(e),this.isValid()?this[e+"s"]():NaN},Xn.milliseconds=Hn,Xn.seconds=Nn,Xn.minutes=zn,Xn.hours=Vn,Xn.days=Bn,Xn.weeks=function(){return de(this.days()/7)},Xn.months=Wn,Xn.years=Un,Xn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,a=!1,r=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(r=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),i=function(e,t,n,i){var a=zt(e).abs(),r=qn(a.as("s")),o=qn(a.as("m")),s=qn(a.as("h")),l=qn(a.as("d")),u=qn(a.as("M")),c=qn(a.as("w")),d=qn(a.as("y")),h=r<=n.ss&&["s",r]||r<n.s&&["ss",r]||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return 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,Zn.apply(null,h)}(this,!a,r,n=this.localeData()),a&&(i=n.pastFuture(+this,i)),n.postformat(i)},Xn.toISOString=Qn,Xn.toString=Qn,Xn.toJSON=Qn,Xn.locale=Xt,Xn.localeData=en,Xn.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qn),Xn.lang=$t,R("X",0,0,"unix"),R("x",0,0,"valueOf"),le("x",ne),le("X",/[+-]?\d+(\.\d{1,3})?/),me("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),me("x",(function(e,t,n){n._d=new Date(he(e))})),a.version="2.30.1",t=Mt,a.fn=_n,a.min=function(){var e=[].slice.call(arguments,0);return Lt("isBefore",e)},a.max=function(){var e=[].slice.call(arguments,0);return Lt("isAfter",e)},a.now=function(){return Date.now?Date.now():+new Date},a.utc=m,a.unix=function(e){return Mt(1e3*e)},a.months=function(e,t){return bn(e,t,"months")},a.isDate=d,a.locale=ot,a.invalid=v,a.duration=zt,a.isMoment=w,a.weekdays=function(e,t,n){return kn(e,t,n,"weekdays")},a.parseZone=function(){return Mt.apply(null,arguments).parseZone()},a.localeData=lt,a.isDuration=Et,a.monthsShort=function(e,t){return bn(e,t,"monthsShort")},a.weekdaysMin=function(e,t,n){return kn(e,t,n,"weekdaysMin")},a.defineLocale=st,a.updateLocale=function(e,t){if(null!=t){var n,i,a=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(T(tt[e]._config,t)):(null!=(i=rt(e))&&(a=i._config),t=T(a,t),null==i&&(t.abbr=e),(n=new A(t)).parentLocale=tt[e],tt[e]=n),ot(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===ot()&&ot(e)):null!=tt[e]&&delete tt[e]);return tt[e]},a.locales=function(){return M(tt)},a.weekdaysShort=function(e,t,n){return kn(e,t,n,"weekdaysShort")},a.normalizeUnits=N,a.relativeTimeRounding=function(e){return void 0===e?qn:"function"==typeof e&&(qn=e,!0)},a.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},a.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"},a.prototype=_n,a.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"},a}()}).call(this,n("YuTi")(e))},x6pH:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,n){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},xutz:function(e,t,n){"use strict";(function(e){var i=n("XqMk"),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=r&&r.exports===a&&i.a.process,s=function(){try{return r&&r.require&&r.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}();t.a=s}).call(this,n("3UD+")(e))},yPMs:function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z1FC:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var a={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i||t?a[n][0]:a[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(e,t,n){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,i,a){var r=function(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),a=e%10,r="";return n>0&&(r+=t[n]+"vatlh"),i>0&&(r+=(""!==r?" ":"")+t[i]+"maH"),a>0&&(r+=(""!==r?" ":"")+t[a]),""===r?"pagh":r}(e);switch(i){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},zUnb:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.r(t);var a=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else a&&console.log("RxJS: Back to a better error behavior. Thank you. <3");a=e},get useDeprecatedSynchronousErrorHandling(){return a}};function o(e){setTimeout((function(){throw e}),0)}var s={closed:!0,next:function(e){},error:function(e){if(r.useDeprecatedSynchronousErrorHandling)throw e;o(e)},complete:function(){}},l=Array.isArray||function(e){return e&&"number"==typeof e.length};function u(e){return null!==e&&"object"==typeof e}var c,d=function(){function e(e){return Error.call(this),this.message=e?"".concat(e.length," errors occurred during unsubscription:\n").concat(e.map((function(e,t){return"".concat(t+1,") ").concat(e.toString())})).join("\n ")):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),h=((c=function(){function e(t){_classCallCheck(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return _createClass(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var n=this._parentOrParents,a=this._unsubscribe,r=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var o=0;o<n.length;++o)n[o].remove(this);if(i(a))try{a.call(this)}catch(m){t=m instanceof d?f(m.errors):[m]}if(l(r))for(var s=-1,c=r.length;++s<c;){var h=r[s];if(u(h))try{h.unsubscribe()}catch(m){t=t||[],m instanceof d?t=t.concat(f(m.errors)):t.push(m)}}if(t)throw new d(t)}}},{key:"add",value:function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var i=n;(n=new e)._subscriptions=[i]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var a=n._parentOrParents;if(null===a)n._parentOrParents=this;else if(a instanceof e){if(a===this)return n;n._parentOrParents=[a,this]}else{if(-1!==a.indexOf(this))return n;a.push(this)}var r=this._subscriptions;return null===r?this._subscriptions=[n]:r.push(n),n}},{key:"remove",value:function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}])}()).EMPTY=function(e){return e.closed=!0,e}(new c),c);function f(e){return e.reduce((function(e,t){return e.concat(t instanceof d?t.errors:t)}),[])}var m="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),p=function(e){function t(e,n,i){var a;switch(_classCallCheck(this,t),(a=_callSuper(this,t)).syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,arguments.length){case 0:a.destination=s;break;case 1:if(!e){a.destination=s;break}if("object"==typeof e){e instanceof t?(a.syncErrorThrowable=e.syncErrorThrowable,a.destination=e,e.add(_assertThisInitialized(a))):(a.syncErrorThrowable=!0,a.destination=new _(_assertThisInitialized(a),e));break}default:a.syncErrorThrowable=!0,a.destination=new _(_assertThisInitialized(a),e,n,i)}return _assertThisInitialized(a)}return _inherits(t,e),_createClass(t,[{key:m,value:function(){return this}},{key:"next",value:function(e){this.isStopped||this._next(e)}},{key:"error",value:function(e){this.isStopped||(this.isStopped=!0,this._error(e))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,_superPropGet(t,"unsubscribe",this,3)([]))}},{key:"_next",value:function(e){this.destination.next(e)}},{key:"_error",value:function(e){this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}],[{key:"create",value:function(e,n,i){var a=new t(e,n,i);return a.syncErrorThrowable=!1,a}}])}(h),_=function(e){function t(e,n,a,r){var o,l;_classCallCheck(this,t),(o=_callSuper(this,t))._parentSubscriber=e;var u=o;return i(n)?l=n:n&&(l=n.next,a=n.error,r=n.complete,n!==s&&(i((u=Object.create(n)).unsubscribe)&&o.add(u.unsubscribe.bind(u)),u.unsubscribe=o.unsubscribe.bind(o))),o._context=u,o._next=l,o._error=a,o._complete=r,o}return _inherits(t,e),_createClass(t,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;r.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}},{key:"error",value:function(e){if(!this.isStopped){var t=this._parentSubscriber,n=r.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):o(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;o(e)}}}},{key:"complete",value:function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};r.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),r.useDeprecatedSynchronousErrorHandling)throw n;o(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!r.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return r.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(o(i),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}])}(p),v="function"==typeof Symbol&&Symbol.observable||"@@observable";function g(e){return e}function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b(t)}function b(e){return 0===e.length?g:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var k,w=((k=function(){function e(t){_classCallCheck(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return _createClass(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var i=this.operator,a=function(e,t,n){if(e){if(e instanceof p)return e;if(e[m])return e[m]()}return e||t||n?new p(e,t,n):new p(s)}(e,t,n);if(a.add(i?i.call(a,this.source):this.source||r.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),r.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){r.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,i=t.destination,a=t.isStopped;if(n||a)return!1;e=i&&i instanceof p?i:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=C(t))((function(t,i){var a;a=n.subscribe((function(t){try{e(t)}catch(n){i(n),a&&a.unsubscribe()}}),i,t)}))}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:v,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?this:b(t)(this)}},{key:"toPromise",value:function(e){var t=this;return new(e=C(e))((function(e,n){var i;t.subscribe((function(e){return i=e}),(function(e){return n(e)}),(function(){return e(i)}))}))}}])}()).create=function(e){return new k(e)},k);function C(e){if(e||(e=r.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var x,M=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),D=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t)).subject=e,i.subscriber=n,i.closed=!1,i}return _inherits(t,e),_createClass(t,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}}}])}(h),S=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t,[e])).destination=e,n}return _inherits(t,e),_createClass(t)}(p),L=((x=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return _inherits(t,e),_createClass(t,[{key:m,value:function(){return new S(this)}},{key:"lift",value:function(e){var t=new T(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new M;if(!this.isStopped)for(var t=this.observers,n=t.length,i=t.slice(),a=0;a<n;a++)i[a].next(e)}},{key:"error",value:function(e){if(this.closed)throw new M;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,i=t.slice(),a=0;a<n;a++)i[a].error(e);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new M;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),i=0;i<t;i++)n[i].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(e){if(this.closed)throw new M;return _superPropGet(t,"_trySubscribe",this,3)([e])}},{key:"_subscribe",value:function(e){if(this.closed)throw new M;return this.hasError?(e.error(this.thrownError),h.EMPTY):this.isStopped?(e.complete(),h.EMPTY):(this.observers.push(e),new D(this,e))}},{key:"asObservable",value:function(){var e=new w;return e.source=this,e}}])}(w)).create=function(e,t){return new T(e,t)},x),T=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t)).destination=e,i.source=n,i}return _inherits(t,e),_createClass(t,[{key:"next",value:function(e){var t=this.destination;t&&t.next&&t.next(e)}},{key:"error",value:function(e){var t=this.destination;t&&t.error&&this.destination.error(e)}},{key:"complete",value:function(){var e=this.destination;e&&e.complete&&this.destination.complete()}},{key:"_subscribe",value:function(e){return this.source?this.source.subscribe(e):h.EMPTY}}])}(L);function A(e){return e&&"function"==typeof e.schedule}var E=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t)).parent=e,a.outerValue=n,a.outerIndex=i,a.index=0,a}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}])}(p),O=function(e){return function(t){for(var n=0,i=e.length;n<i&&!t.closed;n++)t.next(e[n]);t.complete()}};var Y="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",P=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function I(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var R=function(e){if(e&&"function"==typeof e[v])return i=e,function(e){var t=i[v]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(P(e))return O(e);if(I(e))return n=e,function(e){return n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,o),e};if(e&&"function"==typeof e[Y])return t=e,function(e){for(var n=t[Y]();;){var i=n.next();if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e};var t,n,i,a=u(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(a," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))};function F(e,t,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new E(e,n,i);if(!a.closed)return t instanceof w?t.subscribe(a):R(t)(a)}var j=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"notifyNext",value:function(e,t,n,i,a){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}])}(p);function H(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new N(e,t))}}var N=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.project=t,this.thisArg=n}),[{key:"call",value:function(e,t){return t.subscribe(new z(e,this.project,this.thisArg))}}])}(),z=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t,[e])).project=n,a.count=0,a.thisArg=i||_assertThisInitialized(a),a}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}])}(p);function V(e,t){return new w((function(n){var i=new h,a=0;return i.add(t.schedule((function(){a!==e.length?(n.next(e[a++]),n.closed||i.add(this.schedule())):n.complete()}))),i}))}function B(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[v]}(e))return function(e,t){return new w((function(n){var i=new h;return i.add(t.schedule((function(){var a=e[v]();i.add(a.subscribe({next:function(e){i.add(t.schedule((function(){return n.next(e)})))},error:function(e){i.add(t.schedule((function(){return n.error(e)})))},complete:function(){i.add(t.schedule((function(){return n.complete()})))}}))}))),i}))}(e,t);if(I(e))return function(e,t){return new w((function(n){var i=new h;return i.add(t.schedule((function(){return e.then((function(e){i.add(t.schedule((function(){n.next(e),i.add(t.schedule((function(){return n.complete()})))})))}),(function(e){i.add(t.schedule((function(){return n.error(e)})))}))}))),i}))}(e,t);if(P(e))return V(e,t);if(function(e){return e&&"function"==typeof e[Y]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new w((function(n){var i,a=new h;return a.add((function(){i&&"function"==typeof i.return&&i.return()})),a.add(t.schedule((function(){i=e[Y](),a.add(t.schedule((function(){if(!n.closed){var e,t;try{var a=i.next();e=a.value,t=a.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())}})))}))),a}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof w?e:new w(R(e))}function W(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(i){return i.pipe(W((function(n,i){return B(e(n,i)).pipe(H((function(e,a){return t(n,e,i,a)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new U(e,n))})}var U=function(){return _createClass((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}),[{key:"call",value:function(e,t){return t.subscribe(new q(e,this.project,this.concurrent))}}])}(),q=function(e){function t(e,n){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,t),(i=_callSuper(this,t,[e])).project=n,i.concurrent=a,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var i=new E(this,t,n),a=this.destination;a.add(i);var r=F(this,e,void 0,void 0,i);r!==i&&a.add(r)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e,t,n,i,a){this.destination.next(t)}},{key:"notifyComplete",value:function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}])}(j);function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return W(g,e)}function Z(e,t){return t?V(e,t):new w(O(e))}function J(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=Number.POSITIVE_INFINITY,a=null,r=t[t.length-1];return A(r)?(a=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(i=t.pop())):"number"==typeof r&&(i=t.pop()),null===a&&1===t.length&&t[0]instanceof w?t[0]:G(i)(Z(t,a))}function K(){return function(e){return e.lift(new X(e))}}var Q,X=function(){return _createClass((function e(t){_classCallCheck(this,e),this.connectable=t}),[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var i=new $(e,n),a=t.subscribe(i);return i.closed||(i.connection=n.connect()),a}}])}(),$=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e])).connectable=n,i}return _inherits(t,e),_createClass(t,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}])}(p),ee={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(Q=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t)).source=e,i.subjectFactory=n,i._refCount=0,i._isComplete=!1,i}return _inherits(t,e),_createClass(t,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new h).add(this.source.subscribe(new te(this.getSubject(),this))),e.closed&&(this._connection=null,e=h.EMPTY)),e}},{key:"refCount",value:function(){return K()(this)}}])}(w).prototype)._subscribe},_isComplete:{value:Q._isComplete,writable:!0},getSubject:{value:Q.getSubject},connect:{value:Q.connect},refCount:{value:Q.refCount}},te=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e])).connectable=n,i}return _inherits(t,e),_createClass(t,[{key:"_error",value:function(e){this._unsubscribe(),_superPropGet(t,"_error",this,3)([e])}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),_superPropGet(t,"_complete",this,3)([])}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}])}(S);function ne(){return new L}function ie(){return function(e){return K()((t=ne,function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,ee);return i.source=e,i.subjectFactory=n,i})(e));var t}}function ae(e){return{toString:e}.toString()}function re(e,t,n){return ae((function(){var i=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(t);function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof a)return i.apply(this,t),this;var r=_construct(a,t);return o.annotation=r,o;function o(e,t,n){for(var i=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(r),e}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a}))}var oe=re("Inject",(function(e){return{token:e}})),se=re("Optional"),le=re("Self"),ue=re("SkipSelf"),ce=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function de(e){for(var t in e)if(e[t]===de)return t;throw Error("Could not find renamed property on target object.")}function he(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function fe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function me(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function pe(e){return _e(e,e[ge])||_e(e,e[ke])}function _e(e,t){return t&&t.token===e?t:null}function ve(e){return e&&(e.hasOwnProperty(ye)||e.hasOwnProperty(we))?e[ye]:null}var ge=de({"\u0275prov":de}),ye=de({"\u0275inj":de}),be=de({"\u0275provFallback":de}),ke=de({ngInjectableDef:de}),we=de({ngInjectorDef:de});function Ce(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Ce).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function xe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var Me=de({__forward_ref__:de});function De(e){return e.__forward_ref__=De,e.toString=function(){return Ce(this())},e}function Se(e){return Le(e)?e():e}function Le(e){return"function"==typeof e&&e.hasOwnProperty(Me)&&e.__forward_ref__===De}var Te,Ae="undefined"!=typeof globalThis&&globalThis,Ee="undefined"!=typeof window&&window,Oe="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ye="undefined"!=typeof global&&global,Pe=Ae||Ye||Ee||Oe,Ie=de({"\u0275cmp":de}),Re=de({"\u0275dir":de}),Fe=de({"\u0275pipe":de}),je=de({"\u0275mod":de}),He=de({"\u0275loc":de}),Ne=de({"\u0275fac":de}),ze=de({__NG_ELEMENT_ID__:de}),Ve=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=fe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}),[{key:"toString",value:function(){return"InjectionToken "+this._desc}}])}(),Be=new Ve("INJECTOR",-1),We={},Ue=/\n/gm,qe=de({provide:String,useValue:de}),Ge=void 0;function Ze(e){var t=Ge;return Ge=e,t}function Je(e){var t=Te;return Te=e,t}function Ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ce.Default;if(void 0===Ge)throw new Error("inject() must be called from an injection context");return null===Ge?$e(e,void 0,t):Ge.get(e,t&ce.Optional?null:void 0,t)}function Qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ce.Default;return(Te||Ke)(Se(e),t)}var Xe=Qe;function $e(e,t,n){var i=pe(e);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&ce.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(Ce(e),"]"))}function et(e){for(var t=[],n=0;n<e.length;n++){var i=Se(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");for(var a=void 0,r=ce.Default,o=0;o<i.length;o++){var s=i[o];s instanceof se||"Optional"===s.ngMetadataName||s===se?r|=ce.Optional:s instanceof ue||"SkipSelf"===s.ngMetadataName||s===ue?r|=ce.SkipSelf:s instanceof le||"Self"===s.ngMetadataName||s===le?r|=ce.Self:a=s instanceof oe||s===oe?s.token:s}t.push(Qe(a,r))}else t.push(Qe(i))}return t}var tt=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:We;if(t===We){var n=new Error("NullInjectorError: No provider for ".concat(Ce(e),"!"));throw n.name="NullInjectorError",n}return t}}])}(),nt=_createClass((function e(){_classCallCheck(this,e)})),it=_createClass((function e(){_classCallCheck(this,e)}));function at(e,t){e.forEach((function(e){return Array.isArray(e)?at(e,t):t(e)}))}function rt(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ot(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function st(e,t){for(var n=[],i=0;i<e;i++)n.push(t);return n}function lt(e,t,n){var i=ct(e,t);return i>=0?e[1|i]=n:function(e,t,n,i){var a=e.length;if(a==t)e.push(n,i);else if(1===a)e.push(i,e[0]),e[0]=n;else{for(a--,e.push(e[a-1],e[a]);a>t;)e[a]=e[a-2],a--;e[t]=n,e[t+1]=i}}(e,i=~i,t,n),i}function ut(e,t){var n=ct(e,t);if(n>=0)return e[1|n]}function ct(e,t){return function(e,t,n){for(var i=0,a=e.length>>1;a!==i;){var r=i+(a-i>>1),o=e[r<<1];if(t===o)return r<<1;o>t?a=r:i=r+1}return~(a<<1)}(e,t)}var dt=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),ht=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),ft={},mt=[],pt=0;function _t(e){return ae((function(){var t=e.type,n=t.prototype,i={},a={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===dt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||mt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ht.Emulated,id:"c",styles:e.styles||mt,_:null,setInput:null,schemas:e.schemas||null,tView:null},r=e.directives,o=e.features,s=e.pipes;return a.id+=pt++,a.inputs=kt(e.inputs,i),a.outputs=kt(e.outputs),o&&o.forEach((function(e){return e(a)})),a.directiveDefs=r?function(){return("function"==typeof r?r():r).map(vt)}:null,a.pipeDefs=s?function(){return("function"==typeof s?s():s).map(gt)}:null,a}))}function vt(e){return xt(e)||function(e){return e[Re]||null}(e)}function gt(e){return function(e){return e[Fe]||null}(e)}var yt={};function bt(e){var t={type:e.type,bootstrap:e.bootstrap||mt,declarations:e.declarations||mt,imports:e.imports||mt,exports:e.exports||mt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&ae((function(){yt[e.id]=e.type})),t}function kt(e,t){if(null==e)return ft;var n={};for(var i in e)if(e.hasOwnProperty(i)){var a=e[i],r=a;Array.isArray(a)&&(r=a[1],a=a[0]),n[a]=i,t&&(t[a]=r)}return n}var wt=_t;function Ct(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function xt(e){return e[Ie]||null}function Mt(e,t){return e.hasOwnProperty(Ne)?e[Ne]:null}function Dt(e,t){var n=e[je]||null;if(!n&&!0===t)throw new Error("Type ".concat(Ce(e)," does not have '\u0275mod' property."));return n}function St(e){return Array.isArray(e)&&"object"==typeof e[1]}function Lt(e){return Array.isArray(e)&&!0===e[1]}function Tt(e){return 0!=(8&e.flags)}function At(e){return 2==(2&e.flags)}function Et(e){return 1==(1&e.flags)}function Ot(e){return null!==e.template}function Yt(e){return 0!=(512&e[2])}var Pt=void 0;function It(e){return!!e.listen}var Rt={createRenderer:function(e,t){return void 0!==Pt?Pt:"undefined"!=typeof document?document:void 0}};function Ft(e){for(;Array.isArray(e);)e=e[0];return e}function jt(e,t){return Ft(t[e+20])}function Ht(e,t){return Ft(t[e.index])}function Nt(e,t){return e.data[t+20]}function zt(e,t){return e[t+20]}function Vt(e,t){var n=t[e];return St(n)?n:n[0]}function Bt(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Wt(e){return 4==(4&e[2])}function Ut(e){return 128==(128&e[2])}function qt(e,t){return null===e||null==t?null:e[t]}function Gt(e){e[18]=0}function Zt(e,t){e[5]+=t;for(var n=e,i=e[3];null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}var Jt={lFrame:yn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Kt(){return Jt.bindingsEnabled}function Qt(){return Jt.lFrame.lView}function Xt(){return Jt.lFrame.tView}function $t(e){Jt.lFrame.contextLView=e}function en(){return Jt.lFrame.previousOrParentTNode}function tn(e,t){Jt.lFrame.previousOrParentTNode=e,Jt.lFrame.isParent=t}function nn(){return Jt.lFrame.isParent}function an(){Jt.lFrame.isParent=!1}function rn(){return Jt.checkNoChangesMode}function on(e){Jt.checkNoChangesMode=e}function sn(){var e=Jt.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ln(){return Jt.lFrame.bindingIndex}function un(){return Jt.lFrame.bindingIndex++}function cn(e){var t=Jt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function dn(e,t){var n=Jt.lFrame;n.bindingIndex=n.bindingRootIndex=e,hn(t)}function hn(e){Jt.lFrame.currentDirectiveIndex=e}function fn(e){var t=Jt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function mn(){return Jt.lFrame.currentQueryIndex}function pn(e){Jt.lFrame.currentQueryIndex=e}function _n(e,t){var n=gn();Jt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function vn(e,t){var n=gn(),i=e[1];Jt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=i,n.contextLView=e,n.bindingIndex=i.bindingStartIndex}function gn(){var e=Jt.lFrame,t=null===e?null:e.child;return null===t?yn(e):t}function yn(e){var t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function bn(){var e=Jt.lFrame;return Jt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}var kn=bn;function wn(){var e=bn();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Cn(){return Jt.lFrame.selectedIndex}function xn(e){Jt.lFrame.selectedIndex=e}function Mn(){var e=Jt.lFrame;return Nt(e.tView,e.selectedIndex)}function Dn(){Jt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Sn(){Jt.lFrame.currentNamespace=null}function Ln(e,t){for(var n=t.directiveStart,i=t.directiveEnd;n<i;n++){var a=e.data[n];a.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,a.afterContentInit),a.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,a.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a.afterContentChecked)),a.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,a.afterViewInit),a.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,a.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,a.afterViewChecked)),null!=a.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,a.onDestroy)}}function Tn(e,t,n){On(e,t,3,n)}function An(e,t,n,i){(3&e[2])===n&&On(e,t,n,i)}function En(e,t){var n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function On(e,t,n,i){for(var a=null!=i?i:-1,r=0,o=void 0!==i?65535&e[18]:0;o<t.length;o++)if("number"==typeof t[o+1]){if(r=t[o],null!=i&&r>=i)break}else t[o]<0&&(e[18]+=65536),(r<a||-1==a)&&(Yn(e,n,t,o),e[18]=(4294901760&e[18])+o+2),o++}function Yn(e,t,n,i){var a=n[i]<0,r=n[i+1],o=e[a?-n[i]:n[i]];a?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,r.call(o)):r.call(o)}var Pn=_createClass((function e(t,n,i){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i}));function In(e,t,n){for(var i=It(e),a=0;a<n.length;){var r=n[a];if("number"==typeof r){if(0!==r)break;a++;var o=n[a++],s=n[a++],l=n[a++];i?e.setAttribute(t,s,l,o):t.setAttributeNS(o,s,l)}else{var u=r,c=n[++a];Fn(u)?i&&e.setProperty(t,u,c):i?e.setAttribute(t,u,c):t.setAttribute(u,c),a++}}return a}function Rn(e){return 3===e||4===e||6===e}function Fn(e){return 64===e.charCodeAt(0)}function jn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else for(var n=-1,i=0;i<t.length;i++){var a=t[i];"number"==typeof a?n=a:0===n||Hn(e,n,a,null,-1===n||2===n?t[++i]:null)}return e}function Hn(e,t,n,i,a){var r=0,o=e.length;if(-1===t)o=-1;else for(;r<e.length;){var s=e[r++];if("number"==typeof s){if(s===t){o=-1;break}if(s>t){o=r-1;break}}}for(;r<e.length;){var l=e[r];if("number"==typeof l)break;if(l===n){if(null===i)return void(null!==a&&(e[r+1]=a));if(i===e[r+1])return void(e[r+2]=a)}r++,null!==i&&r++,null!==a&&r++}-1!==o&&(e.splice(o,0,t),r=o+1),e.splice(r++,0,n),null!==i&&e.splice(r++,0,i),null!==a&&e.splice(r++,0,a)}function Nn(e){return-1!==e}function zn(e){return 32767&e}function Vn(e){return e>>16}function Bn(e,t){for(var n=Vn(e),i=t;n>0;)i=i[15],n--;return i}function Wn(e){return"string"==typeof e?e:null==e?"":""+e}function Un(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Wn(e)}var qn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Pe);function Gn(e){return{name:"body",target:e.ownerDocument.body}}function Zn(e){return e instanceof Function?e():e}var Jn=!0;function Kn(e){var t=Jn;return Jn=e,t}var Qn=0;function Xn(e,t){var n=ei(e,t);if(-1!==n)return n;var i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,$n(i.data,e),$n(t,null),$n(i.blueprint,null));var a=ti(e,t),r=e.injectorIndex;if(Nn(a))for(var o=zn(a),s=Bn(a,t),l=s[1].data,u=0;u<8;u++)t[r+u]=s[o+u]|l[o+u];return t[r+8]=a,r}function $n(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ei(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function ti(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[6],i=1;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,i++;return n?n.injectorIndex|i<<16:-1}function ni(e,t,n){!function(e,t,n){var i="string"!=typeof n?n[ze]:n.charCodeAt(0)||0;null==i&&(i=n[ze]=Qn++);var a=255&i,r=1<<a,o=64&a,s=32&a,l=t.data;128&a?o?s?l[e+7]|=r:l[e+6]|=r:s?l[e+5]|=r:l[e+4]|=r:o?s?l[e+3]|=r:l[e+2]|=r:s?l[e+1]|=r:l[e]|=r}(e,t,n)}function ii(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ce.Default,a=arguments.length>4?arguments[4]:void 0;if(null!==e){var r=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[ze];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof r){_n(t,e);try{var o=r();if(null!=o||i&ce.Optional)return o;throw new Error("No provider for ".concat(Un(n),"!"))}finally{kn()}}else if("number"==typeof r){if(-1===r)return new ci(e,t);var s=null,l=ei(e,t),u=-1,c=i&ce.Host?t[16][6]:null;for((-1===l||i&ce.SkipSelf)&&(u=-1===l?ti(e,t):t[l+8],ui(i,!1)?(s=t[1],l=zn(u),t=Bn(u,t)):l=-1);-1!==l;){u=t[l+8];var d=t[1];if(li(r,l,d.data)){var h=ri(l,t,n,s,i,c);if(h!==ai)return h}ui(i,t[1].data[l+8]===c)&&li(r,l,t)?(s=d,l=zn(u),t=Bn(u,t)):l=-1}}}if(i&ce.Optional&&void 0===a&&(a=null),0==(i&(ce.Self|ce.Host))){var f=t[9],m=Je(void 0);try{return f?f.get(n,a,i&ce.Optional):$e(n,a,i&ce.Optional)}finally{Je(m)}}if(i&ce.Optional)return a;throw new Error("NodeInjector: NOT_FOUND [".concat(Un(n),"]"))}var ai={};function ri(e,t,n,i,a,r){var o=t[1],s=o.data[e+8],l=oi(s,o,n,null==i?At(s)&&Jn:i!=o&&3===s.type,a&ce.Host&&r===s);return null!==l?si(t,o,l,s):ai}function oi(e,t,n,i,a){for(var r=e.providerIndexes,o=t.data,s=65535&r,l=e.directiveStart,u=r>>16,c=a?s+u:e.directiveEnd,d=i?s:s+u;d<c;d++){var h=o[d];if(d<l&&n===h||d>=l&&h.type===n)return d}if(a){var f=o[l];if(f&&Ot(f)&&f.type===n)return l}return null}function si(e,t,n,i){var a=e[n],r=t.data;if(a instanceof Pn){var o=a;if(o.resolving)throw new Error("Circular dep for "+Un(r[n]));var s,l=Kn(o.canSeeViewProviders);o.resolving=!0,o.injectImpl&&(s=Je(o.injectImpl)),_n(e,i);try{a=e[n]=o.factory(void 0,r,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){var i=t.onChanges,a=t.onInit,r=t.doCheck;i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i)),a&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,a),r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r))}(n,r[n],t)}finally{o.injectImpl&&Je(s),Kn(l),o.resolving=!1,kn()}}return a}function li(e,t,n){var i=64&e,a=32&e;return!!((128&e?i?a?n[t+7]:n[t+6]:a?n[t+5]:n[t+4]:i?a?n[t+3]:n[t+2]:a?n[t+1]:n[t])&1<<e)}function ui(e,t){return!(e&ce.Self||e&ce.Host&&t)}var ci=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._tNode=t,this._lView=n}),[{key:"get",value:function(e,t){return ii(this._tNode,this._lView,e,void 0,t)}}])}();function di(e){var t=e;if(Le(e))return function(){var e=di(Se(t));return e?e():null};var n=Mt(t);if(null===n){var i=ve(t);n=i&&i.factory}return n||null}function hi(e){return ae((function(){for(var t=e.prototype.constructor,n=t[Ne]||di(t),i=Object.prototype,a=Object.getPrototypeOf(e.prototype).constructor;a&&a!==i;){var r=a[Ne]||di(a);if(r&&r!==n)return r;a=Object.getPrototypeOf(a)}return function(e){return new e}}))}function fi(e){return e.ngDebugContext}function mi(e){return e.ngOriginalError}function pi(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];e.error.apply(e,n)}var _i=function(){return _createClass((function e(){_classCallCheck(this,e),this._console=console}),[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e.ngErrorLogger||pi}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(e){return e?fi(e)?fi(e):this._findContext(mi(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=mi(e);t&&mi(t);)t=mi(t);return t}}])}(),vi=function(){return _createClass((function e(t){_classCallCheck(this,e),this.changingThisBreaksApplicationSecurity=t}),[{key:"toString",value:function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}])}(),gi=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"getTypeName",value:function(){return"HTML"}}])}(vi),yi=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"getTypeName",value:function(){return"Style"}}])}(vi),bi=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"getTypeName",value:function(){return"Script"}}])}(vi),ki=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"getTypeName",value:function(){return"URL"}}])}(vi),wi=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"getTypeName",value:function(){return"ResourceURL"}}])}(vi);function Ci(e){return e instanceof vi?e.changingThisBreaksApplicationSecurity:e}function xi(e,t){var n=Mi(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see http://g.co/ng/security#xss)"))}return n===t}function Mi(e){return e instanceof vi&&e.getTypeName()||null}var Di=!0,Si=!1;function Li(){return Si=!0,Di}var Ti=function(){return _createClass((function e(t){_classCallCheck(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");var n=this.inertDocument.body;if(null==n){var i=this.inertDocument.createElement("html");this.inertDocument.appendChild(i),n=this.inertDocument.createElement("body"),i.appendChild(n)}n.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!n.querySelector||n.querySelector("svg")?(n.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=n.querySelector&&n.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}),[{key:"getInertBodyElement_XHR",value:function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(i){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n}},{key:"getInertBodyElement_DOMParser",value:function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}}},{key:"getInertBodyElement_InertDocument",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var i=t.item(n).name;"xmlns:ns1"!==i&&0!==i.indexOf("ns1:")||e.removeAttribute(i)}for(var a=e.firstChild;a;)a.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(a),a=a.nextSibling}}])}(),Ai=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ei=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Oi(e){return(e=String(e)).match(Ai)||e.match(Ei)?e:(Li()&&console.warn("WARNING: sanitizing unsafe URL value ".concat(e," (see http://g.co/ng/security#xss)")),"unsafe:"+e)}function Yi(e){var t,n={},i=_createForOfIteratorHelper(e.split(","));try{for(i.s();!(t=i.n()).done;){n[t.value]=!0}}catch(a){i.e(a)}finally{i.f()}return n}function Pi(){for(var e={},t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];for(var a=0,r=n;a<r.length;a++){var o=r[a];for(var s in o)o.hasOwnProperty(s)&&(e[s]=!0)}return e}var Ii,Ri=Yi("area,br,col,hr,img,wbr"),Fi=Yi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),ji=Yi("rp,rt"),Hi=Pi(ji,Fi),Ni=Pi(Ri,Pi(Fi,Yi("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Pi(ji,Yi("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Hi),zi=Yi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vi=Yi("srcset"),Bi=Pi(zi,Vi,Yi("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Yi("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Wi=Yi("script,style,template"),Ui=function(){return _createClass((function e(){_classCallCheck(this,e),this.sanitizedSomething=!1,this.buf=[]}),[{key:"sanitizeChildren",value:function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(e){var t=e.nodeName.toLowerCase();if(!Ni.hasOwnProperty(t))return this.sanitizedSomething=!0,!Wi.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n,i=e.attributes,a=0;a<i.length;a++){var r=i.item(a),o=r.name,s=o.toLowerCase();if(Bi.hasOwnProperty(s)){var l=r.value;zi[s]&&(l=Oi(l)),Vi[s]&&(n=l,l=(n=String(n)).split(",").map((function(e){return Oi(e.trim())})).join(", ")),this.buf.push(" ",o,'="',Zi(l),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();Ni.hasOwnProperty(t)&&!Ri.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(Zi(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}])}(),qi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Gi=/([^\#-~ |!])/g;function Zi(e){return e.replace(/&/g,"&amp;").replace(qi,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Gi,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Ji(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ki=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),Qi=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Xi=/^url\(([^)]+)\)$/;function $i(e){var t,n=(t=Qt())&&t[12];return n?n.sanitize(Ki.URL,e)||"":xi(e,"URL")?Ci(e):Oi(Wn(e))}function ea(e,t){e.__ngContext__=t}function ta(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function na(){throw new Error("Cannot mix multi providers and regular providers")}function ia(e,t,n){for(var i=e.length;;){var a=e.indexOf(t,n);if(-1===a)return a;if(0===a||e.charCodeAt(a-1)<=32){var r=t.length;if(a+r===i||e.charCodeAt(a+r)<=32)return a}n=a+1}}function aa(e,t,n){for(var i=0;i<e.length;){var a=e[i++];if(n&&"class"===a){if(-1!==ia((a=e[i]).toLowerCase(),t,0))return!0}else if(1===a){for(;i<e.length&&"string"==typeof(a=e[i++]);)if(a.toLowerCase()===t)return!0;return!1}}return!1}function ra(e){return 0===e.type&&"ng-template"!==e.tagName}function oa(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function sa(e,t,n){for(var i=4,a=e.attrs||[],r=function(e){for(var t=0;t<e.length;t++)if(Rn(e[t]))return t;return e.length}(a),o=!1,s=0;s<t.length;s++){var l=t[s];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!oa(e,l,n)||""===l&&1===t.length){if(la(i))return!1;o=!0}}else{var u=8&i?l:t[++s];if(8&i&&null!==e.attrs){if(!aa(e.attrs,u,n)){if(la(i))return!1;o=!0}continue}var c=ua(8&i?"class":l,a,ra(e),n);if(-1===c){if(la(i))return!1;o=!0;continue}if(""!==u){var d;d=c>r?"":a[c+1].toLowerCase();var h=8&i?d:null;if(h&&-1!==ia(h,u,0)||2&i&&u!==d){if(la(i))return!1;o=!0}}}}else{if(!o&&!la(i)&&!la(l))return!1;if(o&&la(l))continue;o=!1,i=l|1&i}}return la(i)||o}function la(e){return 0==(1&e)}function ua(e,t,n,i){if(null===t)return-1;var a=0;if(i||!n){for(var r=!1;a<t.length;){var o=t[a];if(o===e)return a;if(3===o||6===o)r=!0;else{if(1===o||2===o){for(var s=t[++a];"string"==typeof s;)s=t[++a];continue}if(4===o)break;if(0===o){a+=4;continue}}a+=r?1:2}return-1}return function(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function ca(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=0;i<t.length;i++)if(sa(e,t[i],n))return!0;return!1}function da(e,t){e:for(var n=0;n<t.length;n++){var i=t[n];if(e.length===i.length){for(var a=0;a<e.length;a++)if(e[a]!==i[a])continue e;return!0}}return!1}function ha(e,t){return e?":not("+t.trim()+")":t}function fa(e){for(var t=e[0],n=1,i=2,a="",r=!1;n<e.length;){var o=e[n];if("string"==typeof o)if(2&i){var s=e[++n];a+="["+o+(s.length>0?'="'+s+'"':"")+"]"}else 8&i?a+="."+o:4&i&&(a+=" "+o);else""===a||la(o)||(t+=ha(r,a),a=""),i=o,r=r||!la(i);n++}return""!==a&&(t+=ha(r,a)),t}var ma={};function pa(e){var t=e[3];return Lt(t)?t[3]:t}function _a(e){return ga(e[13])}function va(e){return ga(e[4])}function ga(e){for(;null!==e&&!Lt(e);)e=e[4];return e}function ya(e){ba(Xt(),Qt(),Cn()+e,rn())}function ba(e,t,n,i){if(!i)if(3==(3&t[2])){var a=e.preOrderCheckHooks;null!==a&&Tn(t,a,n)}else{var r=e.preOrderHooks;null!==r&&An(t,r,0,n)}xn(n)}function ka(e,t){return e<<17|t<<2}function wa(e){return e>>17&32767}function Ca(e){return 2|e}function xa(e){return(131068&e)>>2}function Ma(e,t){return-131069&e|t<<2}function Da(e){return 1|e}function Sa(e,t){var n=e.contentQueries;if(null!==n)for(var i=0;i<n.length;i+=2){var a=n[i],r=n[i+1];if(-1!==r){var o=e.data[r];pn(a),o.contentQueries(2,t[r],r)}}}function La(e,t,n){return It(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Ta(e,t,n,i,a,r,o,s,l,u){var c=t.blueprint.slice();return c[0]=a,c[2]=140|i,Gt(c),c[3]=c[15]=e,c[8]=n,c[10]=o||e&&e[10],c[11]=s||e&&e[11],c[12]=l||e&&e[12]||null,c[9]=u||e&&e[9]||null,c[6]=r,c[16]=2==t.type?e[16]:c,c}function Aa(e,t,n,i,a,r){var o=n+20,s=e.data[o]||function(e,t,n,i,a,r){var o=en(),s=nn(),l=s?o:o&&o.parent,u=e.data[n]=Na(0,l&&l!==t?l:null,i,n,a,r);return null===e.firstChild&&(e.firstChild=u),o&&(!s||null!=o.child||null===u.parent&&2!==o.type?s||(o.next=u):o.child=u),u}(e,t,o,i,a,r);return tn(s,!0),s}function Ea(e,t,n){vn(t,t[6]);try{var i=e.viewQuery;null!==i&&lr(1,i,n);var a=e.template;null!==a&&Pa(e,t,a,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Sa(e,t),e.staticViewQueries&&lr(2,e.viewQuery,n);var r=e.components;null!==r&&function(e,t){for(var n=0;n<t.length;n++)ir(e,t[n])}(t,r)}catch(o){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),o}finally{t[2]&=-5,wn()}}function Oa(e,t,n,i){var a=t[2];if(256!=(256&a)){vn(t,t[6]);var r=rn();try{Gt(t),Jt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Pa(e,t,n,2,i);var o=3==(3&a);if(!r)if(o){var s=e.preOrderCheckHooks;null!==s&&Tn(t,s,null)}else{var l=e.preOrderHooks;null!==l&&An(t,l,0,null),En(t,0)}if(function(e){for(var t=_a(e);null!==t;t=va(t))if(t[2])for(var n=t[9],i=0;i<n.length;i++){var a=n[i],r=a[3];0==(1024&a[2])&&Zt(r,1),a[2]|=1024}}(t),function(e){for(var t=_a(e);null!==t;t=va(t))for(var n=10;n<t.length;n++){var i=t[n],a=i[1];Ut(i)&&Oa(a,i,a.template,i[8])}}(t),null!==e.contentQueries&&Sa(e,t),!r)if(o){var u=e.contentCheckHooks;null!==u&&Tn(t,u)}else{var c=e.contentHooks;null!==c&&An(t,c,1),En(t,1)}!function(e,t){try{var n=e.expandoInstructions;if(null!==n)for(var i=e.expandoStartIndex,a=-1,r=0;r<n.length;r++){var o=n[r];"number"==typeof o?o<=0?(xn(0-o),a=i+=9+n[++r]):i+=o:(null!==o&&(dn(i,a),o(2,t[a])),a++)}}finally{xn(-1)}}(e,t);var d=e.components;null!==d&&function(e,t){for(var n=0;n<t.length;n++)nr(e,t[n])}(t,d);var h=e.viewQuery;if(null!==h&&lr(2,h,i),!r)if(o){var f=e.viewCheckHooks;null!==f&&Tn(t,f)}else{var m=e.viewHooks;null!==m&&An(t,m,2),En(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),r||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Zt(t[3],-1))}finally{wn()}}}function Ya(e,t,n,i){var a=t[10],r=!rn(),o=Wt(t);try{r&&!o&&a.begin&&a.begin(),o&&Ea(e,t,i),Oa(e,t,n,i)}finally{r&&!o&&a.end&&a.end()}}function Pa(e,t,n,i,a){var r=Cn();try{xn(-1),2&i&&t.length>20&&ba(e,t,0,rn()),n(i,a)}finally{xn(r)}}function Ia(e,t,n){if(Tt(t))for(var i=t.directiveEnd,a=t.directiveStart;a<i;a++){var r=e.data[a];r.contentQueries&&r.contentQueries(1,n[a],a)}}function Ra(e,t,n){Kt()&&(function(e,t,n,i){var a=n.directiveStart,r=n.directiveEnd;e.firstCreatePass||Xn(n,t),ea(i,t);for(var o=n.initialInputs,s=a;s<r;s++){var l=e.data[s],u=Ot(l);u&&Xa(t,n,l);var c=si(t,e,s,n);ea(c,t),null!==o&&$a(0,s-a,c,l,0,o),u&&(Vt(n.index,t)[8]=c)}}(e,t,n,Ht(n,t)),128==(128&n.flags)&&function(e,t,n){var i=n.directiveStart,a=n.directiveEnd,r=e.expandoInstructions,o=e.firstCreatePass,s=n.index-20,l=Jt.lFrame.currentDirectiveIndex;try{xn(s);for(var u=i;u<a;u++){var c=e.data[u],d=t[u];hn(u),null!==c.hostBindings||0!==c.hostVars||null!==c.hostAttrs?qa(c,d):o&&r.push(null)}}finally{xn(-1),hn(l)}}(e,t,n))}function Fa(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ht,i=t.localNames;if(null!==i)for(var a=t.index+1,r=0;r<i.length;r+=2){var o=i[r+1],s=-1===o?n(t,e):e[o];e[a++]=s}}function ja(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ha(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Ha(e,t,n,i,a,r,o,s,l,u){var c=20+i,d=c+a,h=function(e,t){for(var n=[],i=0;i<t;i++)n.push(i<e?null:ma);return n}(c,d);return h[1]={type:e,id:t,blueprint:h,template:n,queries:null,viewQuery:s,node:null,data:h.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:u,incompleteFirstPass:!1}}function Na(e,t,n,i,a,r){return{type:n,index:i,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:a,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function za(e,t,n){for(var i in e)if(e.hasOwnProperty(i)){var a=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,a):n[i]=[t,a]}return n}function Va(e,t,n,i,a,r,o,s){var l,u,c=Ht(t,n),d=t.inputs;!s&&null!=d&&(l=d[i])?(mr(e,n,l,i,a),At(t)&&function(e,t){var n=Vt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3===t.type&&(i="class"===(u=i)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,a=null!=o?o(a,t.tagName||"",i):a,It(r)?r.setProperty(c,i,a):Fn(i)||(c.setProperty?c.setProperty(i,a):c[i]=a))}function Ba(e,t,n,i){var a=!1;if(Kt()){var r=function(e,t,n){var i=e.directiveRegistry,a=null;if(i)for(var r=0;r<i.length;r++){var o=i[r];ca(n,o.selectors,!1)&&(a||(a=[]),ni(Xn(n,t),e,o.type),Ot(o)?(2&n.flags&&ta(n),Za(e,n),a.unshift(o)):a.push(o))}return a}(e,t,n),o=null===i?null:{"":-1};if(null!==r){var s=0;a=!0,Ka(n,e.data.length,r.length);for(var l=0;l<r.length;l++){var u=r[l];u.providersResolver&&u.providersResolver(u)}Ga(e,n,r.length);for(var c=!1,d=!1,h=0;h<r.length;h++){var f=r[h];n.mergedAttrs=jn(n.mergedAttrs,f.hostAttrs),Qa(e,t,f),Ja(e.data.length-1,f,o),null!==f.contentQueries&&(n.flags|=8),null===f.hostBindings&&null===f.hostAttrs&&0===f.hostVars||(n.flags|=128),!c&&(f.onChanges||f.onInit||f.doCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-20),c=!0),d||!f.onChanges&&!f.doCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-20),d=!0),Wa(e,f),s+=f.hostVars}!function(e,t){for(var n=t.directiveEnd,i=e.data,a=t.attrs,r=[],o=null,s=null,l=t.directiveStart;l<n;l++){var u=i[l],c=u.inputs,d=null===a||ra(t)?null:er(c,a);r.push(d),o=za(c,l,o),s=za(u.outputs,l,s)}null!==o&&(o.hasOwnProperty("class")&&(t.flags|=16),o.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=r,t.inputs=o,t.outputs=s}(e,n),Ua(e,t,s)}o&&function(e,t,n){if(t)for(var i=e.localNames=[],a=0;a<t.length;a+=2){var r=n[t[a+1]];if(null==r)throw new Error("Export of name '".concat(t[a+1],"' not found!"));i.push(t[a],r)}}(n,i,o)}return n.mergedAttrs=jn(n.mergedAttrs,n.attrs),a}function Wa(e,t){var n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Ua(e,t,n){for(var i=0;i<n;i++)t.push(ma),e.blueprint.push(ma),e.data.push(null)}function qa(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Ga(e,t,n){var i=20-t.index,a=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(i,a,n)}function Za(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ja(e,t,n){if(n){if(t.exportAs)for(var i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Ot(t)&&(n[""]=e)}}function Ka(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Qa(e,t,n){e.data.push(n);var i=n.factory||(n.factory=Mt(n.type)),a=new Pn(i,Ot(n),null);e.blueprint.push(a),t.push(a)}function Xa(e,t,n){var i=Ht(t,e),a=ja(n),r=e[10],o=ar(e,Ta(e,a,null,n.onPush?64:16,i,t,r,r.createRenderer(i,n)));e[t.index]=o}function $a(e,t,n,i,a,r){var o=r[t];if(null!==o)for(var s=i.setInput,l=0;l<o.length;){var u=o[l++],c=o[l++],d=o[l++];null!==s?i.setInput(n,d,u,c):n[c]=d}}function er(e,t){for(var n=null,i=0;i<t.length;){var a=t[i];if(0!==a)if(5!==a){if("number"==typeof a)break;e.hasOwnProperty(a)&&(null===n&&(n=[]),n.push(a,e[a],t[i+1])),i+=2}else i+=2;else i+=4}return n}function tr(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function nr(e,t){var n=Vt(t,e);if(Ut(n)){var i=n[1];80&n[2]?Oa(i,n,i.template,n[8]):n[5]>0&&function e(t){for(var n=_a(t);null!==n;n=va(n))for(var i=10;i<n.length;i++){var a=n[i];if(1024&a[2]){var r=a[1];Oa(r,a,r.template,a[8])}else a[5]>0&&e(a)}var o=t[1].components;if(null!==o)for(var s=0;s<o.length;s++){var l=Vt(o[s],t);Ut(l)&&l[5]>0&&e(l)}}(n)}}function ir(e,t){var n=Vt(t,e),i=n[1];!function(e,t){for(var n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n),Ea(i,n,n[8])}function ar(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function rr(e){for(;e;){e[2]|=64;var t=pa(e);if(Yt(e)&&!t)return e;e=t}return null}function or(e,t,n){var i=t[10];i.begin&&i.begin();try{Oa(e,t,e.template,n)}catch(a){throw fr(t,a),a}finally{i.end&&i.end()}}function sr(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],i=Bt(n),a=i[1];Ya(a,i,a.template,n)}}(e[8])}function lr(e,t,n){pn(0),t(e,n)}var ur=Promise.resolve(null);function cr(e){return e[7]||(e[7]=[])}function dr(e){return e.cleanup||(e.cleanup=[])}function hr(e,t,n){return(null===e||Ot(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function fr(e,t){var n=e[9],i=n?n.get(_i,null):null;i&&i.handleError(t)}function mr(e,t,n,i,a){for(var r=0;r<n.length;){var o=n[r++],s=n[r++],l=t[o],u=e.data[o];null!==u.setInput?u.setInput(l,a,i,s):l[s]=a}}function pr(e,t,n){var i=jt(t,e),a=e[11];It(a)?a.setValue(i,n):i.textContent=n}function _r(e,t){var n=t[3];return-1===e.index?Lt(n)?n:null:n}function vr(e,t){var n=_r(e,t);return n?Tr(t[11],n[7]):null}function gr(e,t,n,i,a){if(null!=i){var r,o=!1;Lt(i)?r=i:St(i)&&(o=!0,i=i[0]);var s=Ft(i);0===e&&null!==n?null==a?Sr(t,n,s):Dr(t,n,s,a||null):1===e&&null!==n?Dr(t,n,s,a||null):2===e?function(e,t,n){var i=Tr(e,t);i&&function(e,t,n,i){It(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}(t,s,o):3===e&&t.destroyNode(s),null!=r&&function(e,t,n,i,a){var r=n[7];r!==Ft(n)&&gr(t,e,i,r,a);for(var o=10;o<n.length;o++){var s=n[o];Pr(s[1],s,e,t,i,r)}}(t,e,r,n,a)}}function yr(e,t,n,i){var a=vr(e.node,t);a&&Pr(e,t,t[11],n?1:2,a,i)}function br(e,t){var n=e[9],i=n.indexOf(t);1024&t[2]&&Zt(t[3],-1),n.splice(i,1)}function kr(e,t){if(!(e.length<=10)){var n=10+t,i=e[n];if(i){var a=i[17];null!==a&&a!==e&&br(a,i),t>0&&(e[n-1][4]=i[4]);var r=ot(e,10+t);yr(i[1],i,!1,null);var o=r[19];null!==o&&o.detachView(r[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function wr(e,t){if(!(256&t[2])){var n=t[11];It(n)&&n.destroyNode&&Pr(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return xr(e[1],e);for(;t;){var n=null;if(St(t))n=t[13];else{var i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)St(t)&&xr(t[1],t),t=Cr(t,e);null===t&&(t=e),St(t)&&xr(t[1],t),n=t&&t[4]}t=n}}(t)}}function Cr(e,t){var n;return St(e)&&(n=e[6])&&2===n.type?_r(n,e):e[3]===t?null:e[3]}function xr(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var i=0;i<n.length;i+=2){var a=t[n[i]];if(!(a instanceof Pn)){var r=n[i+1];if(Array.isArray(r))for(var o=0;o<r.length;o+=2)r[o+1].call(a[r[o]]);else r.call(a)}}}(e,t),function(e,t){var n=e.cleanup;if(null!==n){for(var i=t[7],a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){var r=n[a+1],o="function"==typeof r?r(t):Ft(t[r]),s=i[n[a+2]],l=n[a+3];"boolean"==typeof l?o.removeEventListener(n[a],s,l):l>=0?i[l]():i[-l].unsubscribe(),a+=2}else n[a].call(i[n[a+1]]);t[7]=null}}(e,t);var n=t[6];n&&3===n.type&&It(t[11])&&t[11].destroy();var i=t[17];if(null!==i&&Lt(t[3])){i!==t[3]&&br(i,t);var a=t[19];null!==a&&a.detachView(e)}}}function Mr(e,t,n){for(var i=t.parent;null!=i&&(4===i.type||5===i.type);)i=(t=i).parent;if(null==i){var a=n[6];return 2===a.type?vr(a,n):n[0]}if(t&&5===t.type&&4&t.flags)return Ht(t,n).parentNode;if(2&i.flags){var r=e.data,o=r[r[i.index].directiveStart].encapsulation;if(o!==ht.ShadowDom&&o!==ht.Native)return null}return Ht(i,n)}function Dr(e,t,n,i){It(e)?e.insertBefore(t,n,i):t.insertBefore(n,i,!0)}function Sr(e,t,n){It(e)?e.appendChild(t,n):t.appendChild(n)}function Lr(e,t,n,i){null!==i?Dr(e,t,n,i):Sr(e,t,n)}function Tr(e,t){return It(e)?e.parentNode(t):t.parentNode}function Ar(e,t){if(2===e.type){var n=_r(e,t);return null===n?null:Or(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?Ht(e,t):null}function Er(e,t,n,i){var a=Mr(e,i,t);if(null!=a){var r=t[11],o=Ar(i.parent||t[6],t);if(Array.isArray(n))for(var s=0;s<n.length;s++)Lr(r,a,n[s],o);else Lr(r,a,n,o)}}function Or(e,t){var n=10+e+1;if(n<t.length){var i=t[n],a=i[1].firstChild;if(null!==a)return function e(t,n){if(null!==n){var i=n.type;if(3===i)return Ht(n,t);if(0===i)return Or(-1,t[n.index]);if(4===i||5===i){var a=n.child;if(null!==a)return e(t,a);var r=t[n.index];return Lt(r)?Or(-1,r):Ft(r)}var o=t[16],s=o[6],l=pa(o),u=s.projection[n.projection];return null!=u?e(l,u):e(t,n.next)}return null}(i,a)}return t[7]}function Yr(e,t,n,i,a,r,o){for(;null!=n;){var s=i[n.index],l=n.type;o&&0===t&&(s&&ea(Ft(s),i),n.flags|=4),64!=(64&n.flags)&&(4===l||5===l?(Yr(e,t,n.child,i,a,r,!1),gr(t,e,a,s,r)):1===l?Ir(e,t,i,n,a,r):gr(t,e,a,s,r)),n=o?n.projectionNext:n.next}}function Pr(e,t,n,i,a,r){Yr(n,i,e.node.child,t,a,r,!1)}function Ir(e,t,n,i,a,r){var o=n[16],s=o[6].projection[i.projection];if(Array.isArray(s))for(var l=0;l<s.length;l++)gr(t,e,a,s[l],r);else Yr(e,t,s,o[3],a,r,!0)}function Rr(e,t,n){It(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Fr(e,t,n){It(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}var jr,Hr,Nr,zr=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._viewContainerRef=null}),[{key:"rootNodes",get:function(){var e=this._lView;return null==e[0]?function e(t,n,i,a){for(var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==i;){var o=n[i.index];if(null!==o&&a.push(Ft(o)),Lt(o))for(var s=10;s<o.length;s++){var l=o[s],u=l[1].firstChild;null!==u&&e(l[1],l,u,a)}var c=i.type;if(4===c||5===c)e(t,n,i.child,a);else if(1===c){var d=n[16],h=d[6].projection[i.projection];if(Array.isArray(h))a.push.apply(a,_toConsumableArray(h));else{var f=pa(d);e(f[1],f,h,a,!0)}}i=r?i.projectionNext:i.next}return a}(e[1],e,e[6].child,[]):[]}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}wr(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){var t,n,i;t=this._lView[1],i=e,cr(n=this._lView).push(i),t.firstCreatePass&&dr(t).push(n[7].length-1,null)}},{key:"markForCheck",value:function(){rr(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){or(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){on(!0);try{or(e,t,n)}finally{on(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,Pr(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}])}(),Vr=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t,[e]))._view=e,n}return _inherits(t,e),_createClass(t,[{key:"detectChanges",value:function(){sr(this._view)}},{key:"checkNoChanges",value:function(){!function(e){on(!0);try{sr(e)}finally{on(!1)}}(this._view)}},{key:"context",get:function(){return null}}])}(zr);function Br(e,t,n){return jr||(jr=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(e)),new jr(Ht(t,n))}function Wr(e,t,n,i){return Hr||(Hr=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t))._declarationView=e,a._declarationTContainer=n,a.elementRef=i,a}return _inherits(t,e),_createClass(t,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=Ta(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];var i=this._declarationView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),Ea(t,n,e),new zr(n)}}])}(e)),0===n.type?new Hr(i,n,Br(t,n,i)):null}function Ur(e,t,n,i){var a;Nr||(Nr=function(e){function n(e,t,i){var a;return _classCallCheck(this,n),(a=_callSuper(this,n))._lContainer=e,a._hostTNode=t,a._hostView=i,a}return _inherits(n,e),_createClass(n,[{key:"element",get:function(){return Br(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new ci(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=ti(this._hostTNode,this._hostView),t=Bn(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var i=n.parent.injectorIndex,a=n.parent;null!=a.parent&&i==a.parent.injectorIndex;)a=a.parent;return a}for(var r=Vn(e),o=t,s=t[6];r>1;)s=(o=o[15])[6],r--;return s}(e,this._hostView,this._hostTNode);return Nn(e)&&null!=n?new ci(n,t):new ci(null,this._hostView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,a){var r=n||this.parentInjector;if(!a&&null==e.ngModule&&r){var o=r.get(nt,null);o&&(a=o)}var s=e.create(r,i,void 0,a);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var n=e._lView,i=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Lt(n[3])){var a=this.indexOf(e);if(-1!==a)this.detach(a);else{var r=n[3],o=new Nr(r,r[6],r[3]);o.detach(o.indexOf(e))}}var s=this._adjustIndex(t);return function(e,t,n,i){var a=10+i,r=n.length;i>0&&(n[a-1][4]=t),i<r-10?(t[4]=n[a],rt(n,10+i,t)):(n.push(t),t[4]=null),t[3]=n;var o=t[17];null!==o&&n!==o&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);var s=t[19];null!==s&&s.insertView(e),t[2]|=128}(i,n,this._lContainer,s),yr(i,n,!0,Or(s,this._lContainer)),e.attachToViewContainerRef(this),rt(this._lContainer[8],s,e),e}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}},{key:"indexOf",value:function(e){var t=this._lContainer[8];return null!==t?t.indexOf(e):-1}},{key:"remove",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1);!function(e,t){var n=kr(e,t);n&&wr(n[1],n)}(this._lContainer,t),ot(this._lContainer[8],t)}},{key:"detach",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=kr(this._lContainer,t);return n&&null!=ot(this._lContainer[8],t)?new zr(n):null}},{key:"_adjustIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}}])}(e));var r=i[n.index];if(Lt(r))a=r;else{var o;if(4===n.type)o=Ft(r);else if(o=i[11].createComment(""),Yt(i)){var s=i[11],l=Ht(n,i);Dr(s,Tr(s,l),o,function(e,t){return It(e)?e.nextSibling(t):t.nextSibling}(s,l))}else Er(i[1],i,o,n);i[n.index]=a=tr(r,i,o,n),ar(i,a)}return new Nr(a,n,i)}function qr(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(!n&&At(e)){var i=Vt(e.index,t);return new zr(i,i)}return 3===e.type||0===e.type||4===e.type||5===e.type?new zr(t[16],t):null}(en(),Qt(),e)}var Gr=function(){var e=_createClass((function e(){_classCallCheck(this,e)}));return e.__NG_ELEMENT_ID__=function(){return Zr()},e}(),Zr=qr,Jr=new Ve("Set Injector scope."),Kr={},Qr={},Xr=[],$r=void 0;function eo(){return void 0===$r&&($r=new tt),$r}function to(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new no(e,n,t||eo(),i)}var no=function(){return _createClass((function e(t,n,i){var a=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&at(n,(function(e){return a.processProvider(e,t,n)})),at([t],(function(e){return a.processInjectorType(e,[],o)})),this.records.set(Be,ro(void 0,this));var s=this.records.get(Jr);this.scope=null!=s?s.value:null,this.source=r||("object"==typeof t?null:Ce(t))}),[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:We,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ce.Default;this.assertNotDestroyed();var i,a=Ze(this);try{if(!(n&ce.SkipSelf)){var r=this.records.get(e);if(void 0===r){var o=("function"==typeof(i=e)||"object"==typeof i&&i instanceof Ve)&&pe(e);r=o&&this.injectableDefInScope(o)?ro(io(e),Kr):null,this.records.set(e,r)}if(null!=r)return this.hydrate(e,r)}return(n&ce.Self?eo():this.parent).get(e,t=n&ce.Optional&&t===We?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(Ce(e)),a)throw s;return function(e,t,n,i){var a=e.ngTempTokenPath;throw t.__source&&a.unshift(t.__source),e.message=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var a=Ce(t);if(Array.isArray(t))a=t.map(Ce).join(" -> ");else if("object"==typeof t){var r=[];for(var o in t)if(t.hasOwnProperty(o)){var s=t[o];r.push(o+":"+("string"==typeof s?JSON.stringify(s):Ce(s)))}a="{".concat(r.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(a,"]: ").concat(e.replace(Ue,"\n "))}("\n"+e.message,a,"R3InjectorError",i),e.ngTokenPath=a,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{Ze(a)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach((function(t){return e.get(t)}))}},{key:"toString",value:function(){var e=[];return this.records.forEach((function(t,n){return e.push(Ce(n))})),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var i=this;if(!(e=Se(e)))return!1;var a=ve(e),r=null==a&&e.ngModule||void 0,o=void 0===r?e:r,s=-1!==n.indexOf(o);if(void 0!==r&&(a=ve(r)),null==a)return!1;if(null!=a.imports&&!s){var l;n.push(o);try{at(a.imports,(function(e){i.processInjectorType(e,t,n)&&(void 0===l&&(l=[]),l.push(e))}))}finally{}if(void 0!==l)for(var u=function(){var e=l[c],t=e.ngModule,n=e.providers;at(n,(function(e){return i.processProvider(e,t,n||Xr)}))},c=0;c<l.length;c++)u()}this.injectorDefTypes.add(o),this.records.set(o,ro(a.factory,Kr));var d=a.providers;if(null!=d&&!s){var h=e;at(d,(function(e){return i.processProvider(e,h,d)}))}return void 0!==r&&void 0!==e.providers}},{key:"processProvider",value:function(e,t,n){var i=so(e=Se(e))?e:Se(e&&e.provide),a=function(e,t,n){return oo(e)?ro(void 0,e.useValue):ro(ao(e,t,n),Kr)}(e,t,n);if(so(e)||!0!==e.multi){var r=this.records.get(i);r&&void 0!==r.multi&&na()}else{var o=this.records.get(i);o?void 0===o.multi&&na():((o=ro(void 0,Kr,!0)).factory=function(){return et(o.multi)},this.records.set(i,o)),i=e,o.multi.push(e)}this.records.set(i,a)}},{key:"hydrate",value:function(e,t){var n;return t.value===Qr?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(Ce(e)):t.value===Kr&&(t.value=Qr,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}},{key:"injectableDefInScope",value:function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}])}();function io(e){var t=pe(e),n=null!==t?t.factory:Mt(e);if(null!==n)return n;var i=ve(e);if(null!==i)return i.factory;if(e instanceof Ve)throw new Error("Token ".concat(Ce(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=st(t,"?");throw new Error("Can't resolve all parameters for ".concat(Ce(e),": (").concat(n.join(", "),")."))}var i=function(e){var t=e&&(e[ge]||e[ke]||e[be]&&e[be]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "').concat(n,'" class.')),t}return null}(e);return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function ao(e,t,n){var i,a=void 0;if(so(e)){var r=Se(e);return Mt(r)||io(r)}if(oo(e))a=function(){return Se(e.useValue)};else if((i=e)&&i.useFactory)a=function(){return e.useFactory.apply(e,_toConsumableArray(et(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))a=function(){return Qe(Se(e.useExisting))};else{var o=Se(e&&(e.useClass||e.provide));if(o||function(e,t,n){var i="";throw e&&t&&(i=" - only instances of Provider and Type are allowed, got: [".concat(t.map((function(e){return e==n?"?"+n+"?":"..."})).join(", "),"]")),new Error("Invalid provider for the NgModule '".concat(Ce(e),"'")+i)}(t,n,e),!function(e){return!!e.deps}(e))return Mt(o)||io(o);a=function(){return _construct(o,_toConsumableArray(et(e.deps)))}}return a}function ro(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function oo(e){return null!==e&&"object"==typeof e&&qe in e}function so(e){return"function"==typeof e}var lo=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,a=to(e,t,n,i);return a._resolveInjectorDefTypes(),a}({name:n},t,e,n)},uo=function(){var e=function(){return _createClass((function e(){_classCallCheck(this,e)}),null,[{key:"create",value:function(e,t){return Array.isArray(e)?lo(e,t,""):lo(e.providers,e.parent,e.name||"")}}])}();return e.THROW_IF_NOT_FOUND=We,e.NULL=new tt,e.\u0275prov=fe({token:e,providedIn:"any",factory:function(){return Qe(Be)}}),e.__NG_ELEMENT_ID__=-1,e}(),co=new Ve("AnalyzeForEntryComponents"),ho=new Map,fo=new Set;function mo(e){return"string"==typeof e?e:e.text()}function po(e,t,n){var i=n?e.styles:null,a=n?e.classes:null,r=0;if(null!==t)for(var o=0;o<t.length;o++){var s=t[o];"number"==typeof s?r=s:1==r?a=xe(a,s):2==r&&(i=xe(i,s+": "+t[++o]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=a:e.classesWithoutHost=a}var _o=null;function vo(){if(!_o){var e=Pe.Symbol;if(e&&e.iterator)_o=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(_o=i)}}return _o}function go(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}var yo=function(){function e(t){_classCallCheck(this,e),this.wrapped=t}return _createClass(e,null,[{key:"wrap",value:function(t){return new e(t)}},{key:"unwrap",value:function(t){return e.isWrapped(t)?t.wrapped:t}},{key:"isWrapped",value:function(t){return t instanceof e}}])}();function bo(e){return!!ko(e)&&(Array.isArray(e)||!(e instanceof Map)&&vo()in e)}function ko(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function wo(e,t,n){return e[t]=n}function Co(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function xo(e,t,n,i){var a=Co(e,t,n);return Co(e,t+1,i)||a}function Mo(e,t,n,i){var a=Qt();return Co(a,un(),t)&&(Xt(),function(e,t,n,i,a,r){var o=Ht(e,t),s=t[11];if(null==i)It(s)?s.removeAttribute(o,n,r):o.removeAttribute(n);else{var l=null==a?Wn(i):a(i,e.tagName||"",n);It(s)?s.setAttribute(o,n,l,r):r?o.setAttributeNS(r,n,l):o.setAttribute(n,l)}}(Mn(),a,e,t,n,i)),Mo}function Do(e,t,n,i){return Co(e,un(),n)?t+Wn(n)+i:ma}function So(e,t,n,i,a,r,o,s){var l=Qt(),u=Xt(),c=e+20,d=u.firstCreatePass?function(e,t,n,i,a,r,o,s,l){var u=t.consts,c=Aa(t,n[6],e,0,o||null,qt(u,s));Ba(t,n,c,qt(u,l)),Ln(t,c);var d=c.tViews=Ha(2,-1,i,a,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u),h=Na(0,null,2,-1,null,null);return h.injectorIndex=c.injectorIndex,d.node=h,null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(e,u,l,t,n,i,a,r,o):u.data[c];tn(d,!1);var h=l[11].createComment("");Er(u,l,h,d),ea(h,l),ar(l,l[c]=tr(h,l,h,d)),Et(d)&&Ra(u,l,d),null!=o&&Fa(l,d,s)}function Lo(e){return zt(Jt.lFrame.contextLView,e)}function To(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ce.Default,n=Qt();return null==n?Qe(e,t):ii(en(),n,Se(e),t)}function Ao(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var i=n.length,a=0;a<i;){var r=n[a];if(Rn(r))break;if(0===r)a+=2;else if("number"==typeof r)for(a++;a<i&&"string"==typeof n[a];)a++;else{if(r===t)return n[a+1];a+=2}}return null}(en(),e)}function Eo(){throw new Error("invalid")}function Oo(e,t,n){var i=Qt();return Co(i,un(),t)&&Va(Xt(),Mn(),i,e,t,i[11],n,!1),Oo}function Yo(e,t,n,i,a){var r=a?"class":"style";mr(e,n,t.inputs[r],r,i)}function Po(e,t,n,i){var a=Qt(),r=Xt(),o=20+e,s=a[11],l=a[o]=La(t,s,Jt.lFrame.currentNamespace),u=r.firstCreatePass?function(e,t,n,i,a,r,o){var s=t.consts,l=qt(s,r),u=Aa(t,n[6],e,3,a,l);return Ba(t,n,u,qt(s,o)),null!==u.attrs&&po(u,u.attrs,!1),null!==u.mergedAttrs&&po(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(e,r,a,0,t,n,i):r.data[o];tn(u,!0);var c=u.mergedAttrs;null!==c&&In(s,l,c);var d=u.classes;null!==d&&Fr(s,l,d);var h=u.styles;null!==h&&Rr(s,l,h),Er(r,a,l,u),0===Jt.lFrame.elementDepthCount&&ea(l,a),Jt.lFrame.elementDepthCount++,Et(u)&&(Ra(r,a,u),Ia(r,u,a)),null!==i&&Fa(a,u)}function Io(){var e=en();nn()?an():tn(e=e.parent,!1);var t=e;Jt.lFrame.elementDepthCount--;var n=Xt();n.firstCreatePass&&(Ln(n,e),Tt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Yo(n,t,Qt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Yo(n,t,Qt(),t.stylesWithoutHost,!1)}function Ro(e,t,n,i){Po(e,t,n,i),Io()}function Fo(e,t,n){var i=Qt(),a=Xt(),r=e+20,o=a.firstCreatePass?function(e,t,n,i,a){var r=t.consts,o=qt(r,i),s=Aa(t,n[6],e,4,"ng-container",o);return null!==o&&po(s,o,!0),Ba(t,n,s,qt(r,a)),null!==t.queries&&t.queries.elementStart(t,s),s}(e,a,i,t,n):a.data[r];tn(o,!0);var s=i[r]=i[11].createComment("");Er(a,i,s,o),ea(s,i),Et(o)&&(Ra(a,i,o),Ia(a,o,i)),null!=n&&Fa(i,o)}function jo(){var e=en(),t=Xt();nn()?an():tn(e=e.parent,!1),t.firstCreatePass&&(Ln(t,e),Tt(e)&&t.queries.elementEnd(e))}function Ho(e,t,n){Fo(e,t,n),jo()}function No(){return Qt()}function zo(e){return!!e&&"function"==typeof e.then}function Vo(e){return!!e&&"function"==typeof e.subscribe}function Bo(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,a=Qt(),r=Xt(),o=en();return Uo(r,a,a[11],o,e,t,n,i),Bo}function Wo(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,a=en(),r=Qt(),o=Xt();return Uo(o,r,hr(fn(o.data),a,r),a,e,t,n,i),Wo}function Uo(e,t,n,i,a,r){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,l=Et(i),u=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),c=cr(t),d=!0;if(3===i.type){var h=Ht(i,t),f=s?s(h):ft,m=f.target||h,p=c.length,_=s?function(e){return s(Ft(e[i.index])).target}:i.index;if(It(n)){var v=null;if(!s&&l&&(v=function(e,t,n,i){var a=e.cleanup;if(null!=a)for(var r=0;r<a.length-1;r+=2){var o=a[r];if(o===n&&a[r+1]===i){var s=t[7],l=a[r+2];return s.length>l?s[l]:null}"string"==typeof o&&(r+=2)}return null}(e,t,a,i.index)),null!==v)(v.__ngLastListenerFn__||v).__ngNextListenerFn__=r,v.__ngLastListenerFn__=r,d=!1;else{r=Go(i,t,r,!1);var g=n.listen(f.name||m,a,r);c.push(r,g),u&&u.push(a,_,p,p+1)}}else r=Go(i,t,r,!0),m.addEventListener(a,r,o),c.push(r),u&&u.push(a,_,p,o)}var y,b=i.outputs;if(d&&null!==b&&(y=b[a])){var k=y.length;if(k)for(var w=0;w<k;w+=2){var C=t[y[w]][y[w+1]].subscribe(r),x=c.length;c.push(r,C),u&&u.push(a,i.index,x,-(x+1))}}}function qo(e,t,n){try{return!1!==t(n)}catch(i){return fr(e,i),!1}}function Go(e,t,n,i){return function a(r){if(r===Function)return n;var o=2&e.flags?Vt(e.index,t):t;0==(32&t[2])&&rr(o);for(var s=qo(t,n,r),l=a.__ngNextListenerFn__;l;)s=qo(t,l,r)&&s,l=l.__ngNextListenerFn__;return i&&!1===s&&(r.preventDefault(),r.returnValue=!1),s}}function Zo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(Jt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Jt.lFrame.contextLView))[8]}(e)}function Jo(e,t){for(var n=null,i=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),a=0;a<t.length;a++){var r=t[a];if("*"!==r){if(null===i?ca(e,r,!0):da(i,r))return a}else n=a}return n}function Ko(e){var t=Qt()[16][6];if(!t.projection)for(var n=t.projection=st(e?e.length:1,null),i=n.slice(),a=t.child;null!==a;){var r=e?Jo(a,e):0;null!==r&&(i[r]?i[r].projectionNext=a:n[r]=a,i[r]=a),a=a.next}}function Qo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=Qt(),a=Xt(),r=Aa(a,i[6],e,1,null,n||null);null===r.projection&&(r.projection=t),an(),function(e,t,n){Ir(t[11],0,t,n,Mr(e,n,t),Ar(n.parent||t[6],t))}(a,i,r)}function Xo(e,t,n){return $o(e,"",t,"",n),Xo}function $o(e,t,n,i,a){var r=Qt(),o=Do(r,t,n,i);return o!==ma&&Va(Xt(),Mn(),r,e,o,r[11],a,!1),$o}var es=[];function ts(e,t,n,i,a){for(var r=e[n+1],o=null===t,s=i?wa(r):xa(r),l=!1;0!==s&&(!1===l||o);){var u=e[s+1];ns(e[s],t)&&(l=!0,e[s+1]=i?Da(u):Ca(u)),s=i?wa(u):xa(u)}l&&(e[n+1]=i?Ca(r):Da(r))}function ns(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ct(e,t)>=0}var is={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function as(e){return e.substring(is.key,is.keyEnd)}function rs(e,t){var n=is.textEnd;return n===t?-1:(t=is.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,is.key=t,n),os(e,t,n))}function os(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ss(e,t,n){return cs(e,t,n,!1),ss}function ls(e,t){return cs(e,t,null,!0),ls}function us(e,t){for(var n=function(e){return function(e){is.key=0,is.keyEnd=0,is.value=0,is.valueEnd=0,is.textEnd=e.length}(e),rs(e,os(e,0,is.textEnd))}(t);n>=0;n=rs(t,n))lt(e,as(t),!0)}function cs(e,t,n,i){var a,r,o=Qt(),s=Xt(),l=cn(2);(s.firstUpdatePass&&hs(s,e,l,i),t!==ma&&Co(o,l,t))&&(null==n&&(a=null===(r=Jt.lFrame)?null:r.currentSanitizer)&&(n=a),ps(s,s.data[Cn()+20],o,o[11],e,o[l+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=Ce(Ci(e)))),e}(t,n),i,l))}function ds(e,t){return t>=e.expandoStartIndex}function hs(e,t,n,i){var a=e.data;if(null===a[n+1]){var r=a[Cn()+20],o=ds(e,n);gs(r,i)&&null===t&&!o&&(t=!1),t=function(e,t,n,i){var a=fn(e),r=i?t.residualClasses:t.residualStyles;if(null===a)0===(i?t.classBindings:t.styleBindings)&&(n=ms(n=fs(null,e,t,n,i),t.attrs,i),r=null);else{var o=t.directiveStylingLast;if(-1===o||e[o]!==a)if(n=fs(a,e,t,n,i),null===r){var s=function(e,t,n){var i=n?t.classBindings:t.styleBindings;if(0!==xa(i))return e[wa(i)]}(e,t,i);void 0!==s&&Array.isArray(s)&&function(e,t,n,i){e[wa(n?t.classBindings:t.styleBindings)]=i}(e,t,i,s=ms(s=fs(null,e,t,s[1],i),t.attrs,i))}else r=function(e,t,n){for(var i=void 0,a=t.directiveEnd,r=1+t.directiveStylingLast;r<a;r++)i=ms(i,e[r].hostAttrs,n);return ms(i,t.attrs,n)}(e,t,i)}return void 0!==r&&(i?t.residualClasses=r:t.residualStyles=r),n}(a,r,t,i),function(e,t,n,i,a,r){var o=r?t.classBindings:t.styleBindings,s=wa(o),l=xa(o);e[i]=n;var u,c=!1;if(Array.isArray(n)){var d=n;(null===(u=d[1])||ct(d,u)>0)&&(c=!0)}else u=n;if(a)if(0!==l){var h=wa(e[s+1]);e[i+1]=ka(h,s),0!==h&&(e[h+1]=Ma(e[h+1],i)),e[s+1]=131071&e[s+1]|i<<17}else e[i+1]=ka(s,0),0!==s&&(e[s+1]=Ma(e[s+1],i)),s=i;else e[i+1]=ka(l,0),0===s?s=i:e[l+1]=Ma(e[l+1],i),l=i;c&&(e[i+1]=Ca(e[i+1])),ts(e,u,i,!0),ts(e,u,i,!1),function(e,t,n,i,a){var r=a?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof t&&ct(r,t)>=0&&(n[i+1]=Da(n[i+1]))}(t,u,e,i,r),o=ka(s,l),r?t.classBindings=o:t.styleBindings=o}(a,r,t,n,o,i)}}function fs(e,t,n,i,a){var r=null,o=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<o&&(i=ms(i,(r=t[s]).hostAttrs,a),r!==e);)s++;return null!==e&&(n.directiveStylingLast=s),i}function ms(e,t,n){var i=n?1:2,a=-1;if(null!==t)for(var r=0;r<t.length;r++){var o=t[r];"number"==typeof o?a=o:a===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),lt(e,o,!!n||t[++r]))}return void 0===e?null:e}function ps(e,t,n,i,a,r,o,s){if(3===t.type){var l=e.data,u=l[s+1];vs(1==(1&u)?_s(l,t,n,a,xa(u),o):void 0)||(vs(r)||2==(2&u)&&(r=_s(l,null,n,a,s,o)),function(e,t,n,i,a){var r=It(e);if(t)a?r?e.addClass(n,i):n.classList.add(i):r?e.removeClass(n,i):n.classList.remove(i);else{var o=-1==i.indexOf("-")?void 0:2;null==a?r?e.removeStyle(n,i,o):n.style.removeProperty(i):r?e.setStyle(n,i,a,o):n.style.setProperty(i,a)}}(i,o,jt(Cn(),n),a,r))}}function _s(e,t,n,i,a,r){for(var o=null===t,s=void 0;a>0;){var l=e[a],u=Array.isArray(l),c=u?l[1]:l,d=null===c,h=n[a+1];h===ma&&(h=d?es:void 0);var f=d?ut(h,i):c===i?h:void 0;if(u&&!vs(f)&&(f=ut(l,i)),vs(f)&&(s=f,o))return s;var m=e[a+1];a=o?wa(m):xa(m)}if(null!==t){var p=r?t.residualClasses:t.residualStyles;null!=p&&(s=ut(p,i))}return s}function vs(e){return void 0!==e}function gs(e,t){return 0!=(e.flags&(t?16:32))}function ys(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Qt(),i=Xt(),a=e+20,r=i.firstCreatePass?Aa(i,n[6],e,3,null,null):i.data[a],o=n[a]=function(e,t){return It(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);Er(i,n,o,r),tn(r,!1)}function bs(e){return ks("",e,""),bs}function ks(e,t,n){var i=Qt(),a=Do(i,e,t,n);return a!==ma&&pr(i,Cn(),a),ks}function ws(e,t,n,i,a){var r=Qt(),o=function(e,t,n,i,a,r){var o=xo(e,ln(),n,a);return cn(2),o?t+Wn(n)+i+Wn(a)+r:ma}(r,e,t,n,i,a);return o!==ma&&pr(r,Cn(),o),ws}function Cs(e,t,n){var i=Qt();return Co(i,un(),t)&&Va(Xt(),Mn(),i,e,t,i[11],n,!0),Cs}function xs(e,t,n){var i=Qt();if(Co(i,un(),t)){var a=Xt(),r=Mn();Va(a,r,i,e,t,hr(fn(a.data),r,i),n,!0)}return xs}function Ms(e,t){var n=Bt(e)[1],i=n.data.length-1;Ln(n,{directiveStart:i,directiveEnd:i+1})}function Ds(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,i=[e];t;){var a=void 0;if(Ot(e))a=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");a=t.\u0275dir}if(a){if(n){i.push(a);var r=e;r.inputs=Ss(e.inputs),r.declaredInputs=Ss(e.declaredInputs),r.outputs=Ss(e.outputs);var o=a.hostBindings;o&&As(e,o);var s=a.viewQuery,l=a.contentQueries;if(s&&Ls(e,s),l&&Ts(e,l),he(e.inputs,a.inputs),he(e.declaredInputs,a.declaredInputs),he(e.outputs,a.outputs),Ot(a)&&a.data.animation){var u=e.data;u.animation=(u.animation||[]).concat(a.data.animation)}r.afterContentChecked=r.afterContentChecked||a.afterContentChecked,r.afterContentInit=e.afterContentInit||a.afterContentInit,r.afterViewChecked=e.afterViewChecked||a.afterViewChecked,r.afterViewInit=e.afterViewInit||a.afterViewInit,r.doCheck=e.doCheck||a.doCheck,r.onDestroy=e.onDestroy||a.onDestroy,r.onInit=e.onInit||a.onInit}var c=a.features;if(c)for(var d=0;d<c.length;d++){var h=c[d];h&&h.ngInherit&&h(e),h===Ds&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){for(var t=0,n=null,i=e.length-1;i>=0;i--){var a=e[i];a.hostVars=t+=a.hostVars,a.hostAttrs=jn(a.hostAttrs,n=jn(n,a.hostAttrs))}}(i)}function Ss(e){return e===ft?{}:e===mt?[]:e}function Ls(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,i){t(e,i),n(e,i)}:t}function Ts(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,i,a){t(e,i,a),n(e,i,a)}:t}function As(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,i){t(e,i),n(e,i)}:t}var Es=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=i}),[{key:"isFirstChange",value:function(){return this.firstChange}}])}();function Os(e){e.type.prototype.ngOnChanges&&(e.setInput=Ys,e.onChanges=function(){var e=Ps(this),t=e&&e.current;if(t){var n=e.previous;if(n===ft)e.previous=t;else for(var i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}})}function Ys(e,t,n,i){var a=Ps(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:ft,current:null}),r=a.current||(a.current={}),o=a.previous,s=this.declaredInputs[n],l=o[s];r[s]=new Es(l&&l.currentValue,t,o===ft),e[i]=t}function Ps(e){return e.__ngSimpleChanges__||null}function Is(e,t,n,i,a){if(e=Se(e),Array.isArray(e))for(var r=0;r<e.length;r++)Is(e[r],t,n,i,a);else{var o=Xt(),s=Qt(),l=so(e)?e:Se(e.provide),u=ao(e),c=en(),d=65535&c.providerIndexes,h=c.directiveStart,f=c.providerIndexes>>16;if(so(e)||!e.multi){var m=new Pn(u,a,To),p=js(l,t,a?d:d+f,h);-1===p?(ni(Xn(c,s),o,l),Rs(o,e,t.length),t.push(l),c.directiveStart++,c.directiveEnd++,a&&(c.providerIndexes+=65536),n.push(m),s.push(m)):(n[p]=m,s[p]=m)}else{var _=js(l,t,d+f,h),v=js(l,t,d,d+f),g=_>=0&&n[_],y=v>=0&&n[v];if(a&&!y||!a&&!g){ni(Xn(c,s),o,l);var b=function(e,t,n,i,a){var r=new Pn(e,n,To);return r.multi=[],r.index=t,r.componentProviders=0,Fs(r,a,i&&!n),r}(a?Ns:Hs,n.length,a,i,u);!a&&y&&(n[v].providerFactory=b),Rs(o,e,t.length,0),t.push(l),c.directiveStart++,c.directiveEnd++,a&&(c.providerIndexes+=65536),n.push(b),s.push(b)}else Rs(o,e,_>-1?_:v,Fs(n[a?v:_],u,!a&&i));!a&&i&&y&&n[v].componentProviders++}}}function Rs(e,t,n,i){var a=so(t);if(a||t.useClass){var r=(t.useClass||t).prototype.ngOnDestroy;if(r){var o=e.destroyHooks||(e.destroyHooks=[]);if(!a&&t.multi){var s=o.indexOf(n);-1===s?o.push(n,[i,r]):o[s+1].push(i,r)}else o.push(n,r)}}}function Fs(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function js(e,t,n,i){for(var a=n;a<i;a++)if(t[a]===e)return a;return-1}function Hs(e,t,n,i){return zs(this.multi,[])}function Ns(e,t,n,i){var a,r=this.multi;if(this.providerFactory){var o=this.providerFactory.componentProviders,s=si(n,n[1],this.providerFactory.index,i);zs(r,a=s.slice(0,o));for(var l=o;l<s.length;l++)a.push(s[l])}else zs(r,a=[]);return a}function zs(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function Vs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return function(e,t,n){var i=Xt();if(i.firstCreatePass){var a=Ot(e);Is(n,i.data,i.blueprint,a,!0),Is(t,i.data,i.blueprint,a,!1)}}(n,i?i(e):e,t)}}}Os.ngInherit=!0;var Bs=_createClass((function e(){_classCallCheck(this,e)})),Ws=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(Ce(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}])}(),Us=function(){var e=_createClass((function e(){_classCallCheck(this,e)}));return e.NULL=new Ws,e}(),qs=function(){var e=_createClass((function e(t){_classCallCheck(this,e),this.nativeElement=t}));return e.__NG_ELEMENT_ID__=function(){return Gs(e)},e}(),Gs=function(e){return Br(e,en(),Qt())},Zs=_createClass((function e(){_classCallCheck(this,e)})),Js=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),Ks=function(){var e=_createClass((function e(){_classCallCheck(this,e)}));return e.__NG_ELEMENT_ID__=function(){return Qs()},e}(),Qs=function(){var e=Qt(),t=Vt(en().index,e);return function(e){var t=e[11];if(It(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(St(t)?t:e)},Xs=function(){var e=_createClass((function e(){_classCallCheck(this,e)}));return e.\u0275prov=fe({token:e,providedIn:"root",factory:function(){return null}}),e}(),$s=_createClass((function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")})),el=new $s("9.1.13"),tl=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"supports",value:function(e){return bo(e)}},{key:"create",value:function(e){return new il(e)}}])}(),nl=function(e,t){return t},il=function(){return _createClass((function e(t){_classCallCheck(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||nl}),[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,i=0,a=null;t||n;){var r=!n||t&&t.currentIndex<sl(n,i,a)?t:n,o=sl(r,i,a),s=r.currentIndex;if(r===n)i--,n=n._nextRemoved;else if(t=t._next,null==r.previousIndex)i++;else{a||(a=[]);var l=o-i,u=s-i;if(l!=u){for(var c=0;c<l;c++){var d=c<a.length?a[c]:a[c]=0,h=d+c;u<=h&&h<l&&(a[c]=d+1)}a[r.previousIndex]=u-l}}o!==s&&e(r,o,s)}}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachMovedItem",value:function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"forEachIdentityChange",value:function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!bo(e))throw new Error("Error trying to diff '".concat(Ce(e),"'. Only arrays and iterables are allowed"));return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n,i,a,r=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)i=e[s],a=this._trackByFn(s,i),null!==r&&go(r.trackById,a)?(o&&(r=this._verifyReinsertion(r,i,a,s)),go(r.item,i)||this._addIdentityChange(r,i)):(r=this._mismatch(r,i,a,s),o=!0),r=r._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var i,a=e[vo()]();!(i=a.next()).done;)t(i.value)}(e,(function(e){a=t._trackByFn(n,e),null!==r&&go(r.trackById,a)?(o&&(r=t._verifyReinsertion(r,e,a,n)),go(r.item,e)||t._addIdentityChange(r,e)):(r=t._mismatch(r,e,a,n),o=!0),r=r._next,n++})),this.length=n;return this._truncate(r),this.collection=e,this.isDirty}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}},{key:"_reset",value:function(){if(this.isDirty){var e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,t,n,i){var a;return null===e?a=this._itTail:(a=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(go(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,a,i)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(go(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,a,i)):e=this._addAfter(new al(t,n),a,i),e}},{key:"_verifyReinsertion",value:function(e,t,n,i){var a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==a?e=this._reinsertAfter(a,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}},{key:"_truncate",value:function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var i=e._prevRemoved,a=e._nextRemoved;return null===i?this._removalsHead=a:i._nextRemoved=a,null===a?this._removalsTail=i:a._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_moveAfter",value:function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_addAfter",value:function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}},{key:"_insertAfter",value:function(e,t,n){var i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new ol),this._linkedRecords.put(e),e.currentIndex=n,e}},{key:"_remove",value:function(e){return this._addToRemovals(this._unlink(e))}},{key:"_unlink",value:function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}},{key:"_addToMoves",value:function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}},{key:"_addToRemovals",value:function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new ol),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}},{key:"_addIdentityChange",value:function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}])}(),al=_createClass((function e(t,n){_classCallCheck(this,e),this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null})),rl=function(){return _createClass((function e(){_classCallCheck(this,e),this._head=null,this._tail=null}),[{key:"add",value:function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}},{key:"get",value:function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&go(n.trackById,e))return n;return null}},{key:"remove",value:function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}])}(),ol=function(){return _createClass((function e(){_classCallCheck(this,e),this.map=new Map}),[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new rl,this.map.set(t,n)),n.add(e)}},{key:"get",value:function(e,t){var n=this.map.get(e);return n?n.get(e,t):null}},{key:"remove",value:function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}},{key:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}])}();function sl(e,t,n){var i=e.previousIndex;if(null===i)return i;var a=0;return n&&i<n.length&&(a=n[i]),i+t+a}var ll=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"supports",value:function(e){return e instanceof Map||ko(e)}},{key:"create",value:function(){return new ul}}])}(),ul=function(){return _createClass((function e(){_classCallCheck(this,e),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}),[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{key:"forEachItem",value:function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachChangedItem",value:function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"diff",value:function(e){if(e){if(!(e instanceof Map||ko(e)))throw new Error("Error trying to diff '".concat(Ce(e),"'. Only maps and objects are allowed"))}else e=new Map;return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(function(e,i){if(n&&n.key===i)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var a=t._getOrCreateRecordForKey(i,e);n=t._insertBeforeOrAppend(n,a)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}},{key:"_getOrCreateRecordForKey",value:function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var i=n._prev,a=n._next;return i&&(i._next=a),a&&(a._prev=i),n._next=null,n._prev=null,n}var r=new cl(e);return this._records.set(e,r),r.currentValue=t,this._addToAdditions(r),r}},{key:"_reset",value:function(){if(this.isDirty){var e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(e,t){go(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}},{key:"_addToAdditions",value:function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}},{key:"_addToChanges",value:function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}},{key:"_forEach",value:function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach((function(n){return t(e[n],n)}))}}])}(),cl=_createClass((function e(t){_classCallCheck(this,e),this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null})),dl=function(){var e=function(){function e(t){_classCallCheck(this,e),this.factories=t}return _createClass(e,[{key:"find",value:function(e){var t,n=this.factories.find((function(t){return t.supports(e)}));if(null!=n)return n;throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'"))}}],[{key:"create",value:function(t,n){if(null!=n){var i=n.factories.slice();t=t.concat(i)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ue,new se]]}}}])}();return e.\u0275prov=fe({token:e,providedIn:"root",factory:function(){return new e([new tl])}}),e}(),hl=function(){var e=function(){function e(t){_classCallCheck(this,e),this.factories=t}return _createClass(e,[{key:"find",value:function(e){var t=this.factories.find((function(t){return t.supports(e)}));if(t)return t;throw new Error("Cannot find a differ supporting object '".concat(e,"'"))}}],[{key:"create",value:function(t,n){if(n){var i=n.factories.slice();t=t.concat(i)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ue,new se]]}}}])}();return e.\u0275prov=fe({token:e,providedIn:"root",factory:function(){return new e([new ll])}}),e}(),fl=[new ll],ml=new dl([new tl]),pl=new hl(fl),_l=function(){var e=_createClass((function e(){_classCallCheck(this,e)}));return e.__NG_ELEMENT_ID__=function(){return vl(e,qs)},e}(),vl=function(e,t){return Wr(e,t,en(),Qt())},gl=function(){var e=_createClass((function e(){_classCallCheck(this,e)}));return e.__NG_ELEMENT_ID__=function(){return yl(e,qs)},e}(),yl=function(e,t){return Ur(e,t,en(),Qt())},bl={},kl=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t)).ngModule=e,n}return _inherits(t,e),_createClass(t,[{key:"resolveComponentFactory",value:function(e){var t=xt(e);return new xl(t,this.ngModule)}}])}(Us);function wl(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var Cl=new Ve("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return qn}}),xl=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t)).componentDef=e,i.ngModule=n,i.componentType=e.type,i.selector=e.selectors.map(fa).join(","),i.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],i.isBoundToModule=!!n,i}return _inherits(t,e),_createClass(t,[{key:"inputs",get:function(){return wl(this.componentDef.inputs)}},{key:"outputs",get:function(){return wl(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,i){var a,r,o=(i=i||this.ngModule)?function(e,t){return{get:function(n,i,a){var r=e.get(n,bl,a);return r!==bl||i===bl?r:t.get(n,i,a)}}}(e,i.injector):e,s=o.get(Zs,Rt),l=o.get(Xs,null),u=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=n?function(e,t,n){if(It(e))return e.selectRootElement(t,n===ht.ShadowDom);var i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}(u,n,this.componentDef.encapsulation):La(c,s.createRenderer(null,this.componentDef),function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),h=this.componentDef.onPush?576:528,f="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),m={components:[],scheduler:qn,clean:ur,playerHandler:null,flags:0},p=Ha(0,-1,null,1,0,null,null,null,null,null),_=Ta(null,p,m,h,null,null,s,u,l,o);vn(_,null);try{var v=function(e,t,n,i,a,r){var o=n[1];n[20]=e;var s=Aa(o,null,0,3,null,null),l=s.mergedAttrs=t.hostAttrs;null!==l&&(po(s,l,!0),null!==e&&(In(a,e,l),null!==s.classes&&Fr(a,e,s.classes),null!==s.styles&&Rr(a,e,s.styles)));var u=i.createRenderer(e,t),c=Ta(n,ja(t),null,t.onPush?64:16,n[20],s,i,u,void 0);return o.firstCreatePass&&(ni(Xn(s,n),o,t.type),Za(o,s),Ka(s,n.length,1)),ar(n,c),n[20]=c}(d,this.componentDef,_,s,u);if(d)if(n)In(u,d,["ng-version",el.full]);else{var g=function(e){for(var t=[],n=[],i=1,a=2;i<e.length;){var r=e[i];if("string"==typeof r)2===a?""!==r&&t.push(r,e[++i]):8===a&&n.push(r);else{if(!la(a))break;a=r}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),y=g.attrs,b=g.classes;y&&In(u,d,y),b&&b.length>0&&Fr(u,d,b.join(" "))}if(r=Nt(p,0),void 0!==t)for(var k=r.projection=[],w=0;w<this.ngContentSelectors.length;w++){var C=t[w];k.push(null!=C?Array.from(C):null)}a=function(e,t,n,i,a){var r=n[1],o=function(e,t,n){var i=en();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Ga(e,i,1),Qa(e,t,n));var a=si(t,e,t.length-1,i);ea(a,t);var r=Ht(i,t);return r&&ea(r,t),a}(r,n,t);i.components.push(o),e[8]=o,a&&a.forEach((function(e){return e(o,t)})),t.contentQueries&&t.contentQueries(1,o,n.length-1);var s=en();if(r.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){xn(s.index-20);var l=n[1];Wa(l,t),Ua(l,n,t.hostVars),qa(t,o)}return o}(v,this.componentDef,_,m,[Ms]),Ea(p,_,null)}finally{wn()}var x=new Ml(this.componentType,a,Br(qs,r,_),_,r);return n&&!f||(p.node.child=r),x}}])}(Bs),Ml=function(e){function t(e,n,i,a,r){var o,s,l,u;return _classCallCheck(this,t),(o=_callSuper(this,t)).location=i,o._rootLView=a,o._tNode=r,o.destroyCbs=[],o.instance=n,o.hostView=o.changeDetectorRef=new Vr(a),s=a[1],l=a,null==(u=s.node)&&(s.node=u=Na(0,null,2,-1,null,null)),l[6]=u,o.componentType=e,o}return _inherits(t,e),_createClass(t,[{key:"injector",get:function(){return new ci(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.destroyCbs&&(this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}},{key:"onDestroy",value:function(e){this.destroyCbs&&this.destroyCbs.push(e)}}])}(_createClass((function e(){_classCallCheck(this,e)}))),Dl=void 0,Sl=["en",[["a","p"],["AM","PM"],Dl],[["AM","PM"],Dl,Dl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Dl,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Dl,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Dl,"{1} 'at' {0}",Dl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Ll={};function Tl(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=Al(t);if(n)return n;var i=t.split("-")[0];if(n=Al(i))return n;if("en"===i)return Sl;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function Al(e){return e in Ll||(Ll[e]=Pe.ng&&Pe.ng.common&&Pe.ng.common.locales&&Pe.ng.common.locales[e]),Ll[e]}var El=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.Directionality]="Directionality",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}();function Ol(e){var t;null==(t=e)&&function(e,t,n,i){throw new Error("ASSERTION ERROR: Expected localeId to be defined"+" [Expected=> null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}var Yl=new Map,Pl=function(e){function t(e,n){var i;_classCallCheck(this,t),(i=_callSuper(this,t))._parent=n,i._bootstrapComponents=[],i.injector=_assertThisInitialized(i),i.destroyCbs=[],i.componentFactoryResolver=new kl(_assertThisInitialized(i));var a=Dt(e),r=e[He]||null;return r&&Ol(r),i._bootstrapComponents=Zn(a.bootstrap),i._r3Injector=to(e,n,[{provide:nt,useValue:i},{provide:Us,useValue:i.componentFactoryResolver}],Ce(e)),i._r3Injector._resolveInjectorDefTypes(),i.instance=i.get(e),i}return _inherits(t,e),_createClass(t,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:uo.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ce.Default;return e===uo||e===nt||e===Be?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}])}(nt),Il=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t)).moduleType=e,null!==Dt(e)&&function e(t){if(null!==t.\u0275mod.id){var n=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(Ce(t)," vs ").concat(Ce(t.name)))})(n,Yl.get(n),t),Yl.set(n,t)}var i=t.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach((function(t){return e(t)}))}(e),n}return _inherits(t,e),_createClass(t,[{key:"create",value:function(e){return new Pl(this.moduleType,e)}}])}(it);function Rl(e,t,n){var i=sn()+e,a=Qt();return a[i]===ma?wo(a,i,n?t.call(n):t()):function(e,t){return e[t]}(a,i)}function Fl(e,t,n,i,a){return Hl(Qt(),sn(),e,t,n,i,a)}function jl(e,t){var n=e[t];return n===ma?void 0:n}function Hl(e,t,n,i,a,r,o){var s=t+n;return xo(e,s,a,r)?wo(e,s+2,o?i.call(o,a,r):i(a,r)):jl(e,s+2)}function Nl(e,t){var n,i=Xt(),a=e+20;i.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n];if(e===i.name)return i}throw new Error("The pipe '".concat(e,"' could not be found!"))}(t,i.pipeRegistry),i.data[a]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(a,n.onDestroy)):n=i.data[a];var r=n.factory||(n.factory=Mt(n.type)),o=Je(To),s=Kn(!1),l=r();return Kn(s),Je(o),function(e,t,n,i){var a=n+20;a>=e.data.length&&(e.data[a]=null,e.blueprint[a]=null),t[a]=i}(i,Qt(),e,l),l}function zl(e,t,n,i){var a=Qt(),r=zt(a,e);return Bl(a,Vl(a,e)?Hl(a,sn(),t,r.transform,n,i,r):r.transform(n,i))}function Vl(e,t){return e[1].data[t+20].pure}function Bl(e,t){return yo.isWrapped(t)&&(t=yo.unwrap(t),e[ln()]=ma),t}var Wl=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,t),(e=_callSuper(this,t)).__isAsync=n,e}return _inherits(t,e),_createClass(t,[{key:"emit",value:function(e){_superPropGet(t,"next",this,3)([e])}},{key:"subscribe",value:function(e,n,i){var a,r=function(e){return null},o=function(){return null};e&&"object"==typeof e?(a=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(r=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(o=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(a=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},n&&(r=this.__isAsync?function(e){setTimeout((function(){return n(e)}))}:function(e){n(e)}),i&&(o=this.__isAsync?function(){setTimeout((function(){return i()}))}:function(){i()}));var s=_superPropGet(t,"subscribe",this,3)([a,r,o]);return e instanceof h&&e.add(s),s}}])}(L);function Ul(){return this._results[vo()]()}var ql=function(){return _createClass((function e(){_classCallCheck(this,e),this.dirty=!0,this._results=[],this.changes=new Wl,this.length=0;var t=vo(),n=e.prototype;n[t]||(n[t]=Ul)}),[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var i=0;i<t.length;i++){var a=t[i];Array.isArray(a)?(n===t&&(n=t.slice(0,i)),e(a,n)):n!==t&&n.push(a)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}},{key:"notifyOnChanges",value:function(){this.changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}])}(),Gl=function(){function e(t){_classCallCheck(this,e),this.queryList=t,this.matches=null}return _createClass(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}])}(),Zl=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var i=null!==t.contentQueries?t.contentQueries[0]:n.length,a=[],r=0;r<i;r++){var o=n.getByIndex(r);a.push(this.queries[o.indexInDeclarationView].clone())}return new e(a)}return null}},{key:"insertView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"detachView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"dirtyQueriesWithMatches",value:function(e){for(var t=0;t<this.queries.length;t++)null!==du(e,t).matches&&this.queries[t].setDirty()}}])}(),Jl=_createClass((function e(t,n,i){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.predicate=t,this.descendants=n,this.isStatic=i,this.read=a})),Kl=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}},{key:"elementEnd",value:function(e){for(var t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}},{key:"embeddedTView",value:function(t){for(var n=null,i=0;i<this.length;i++){var a=null!==n?n.length:0,r=this.getByIndex(i).embeddedTView(t,a);r&&(r.indexInDeclarationView=i,null!==n?n.push(r):n=[r])}return null!==n?new e(n):null}},{key:"template",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}},{key:"getByIndex",value:function(e){return this.queries[e]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(e){this.queries.push(e)}}])}(),Ql=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,i=0;i<n.length;i++)this.matchTNodeWithReadOption(e,t,Xl(t,n[i]));else{var a=this.metadata.predicate;a===_l?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,oi(t,e,a,!1,!1))}}},{key:"matchTNodeWithReadOption",value:function(e,t,n){if(null!==n){var i=this.metadata.read;if(null!==i)if(i===qs||i===gl||i===_l&&0===t.type)this.addMatch(t.index,-2);else{var a=oi(t,e,i,!1,!1);null!==a&&this.addMatch(t.index,a)}else this.addMatch(t.index,n)}}},{key:"addMatch",value:function(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}])}();function Xl(e,t){var n=e.localNames;if(null!==n)for(var i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function $l(e,t,n,i){return-1===n?function(e,t){return 3===e.type||4===e.type?Br(qs,e,t):0===e.type?Wr(_l,qs,e,t):null}(t,e):-2===n?function(e,t,n){return n===qs?Br(qs,t,e):n===_l?Wr(_l,qs,t,e):n===gl?Ur(gl,qs,t,e):void 0}(e,t,i):si(e,e[1],n,t)}function eu(e,t,n,i){var a=t[19].queries[i];if(null===a.matches){for(var r=e.data,o=n.matches,s=[],l=0;l<o.length;l+=2){var u=o[l];s.push(u<0?null:$l(t,r[u],o[l+1],n.metadata.read))}a.matches=s}return a.matches}function tu(e){var t=Qt(),n=Xt(),i=mn();pn(i+1);var a=du(n,i);if(e.dirty&&Wt(t)===a.metadata.isStatic){if(null===a.matches)e.reset([]);else{var r=a.crossesNgTemplate?function e(t,n,i,a){var r=t.queries.getByIndex(i),o=r.matches;if(null!==o)for(var s=eu(t,n,r,i),l=0;l<o.length;l+=2){var u=o[l];if(u>0)a.push(s[l/2]);else{for(var c=o[l+1],d=n[-u],h=10;h<d.length;h++){var f=d[h];f[17]===f[3]&&e(f[1],f,c,a)}if(null!==d[9])for(var m=d[9],p=0;p<m.length;p++){var _=m[p];e(_[1],_,c,a)}}}return a}(n,t,i,[]):eu(n,t,a,i);e.reset(r),e.notifyOnChanges()}return!0}return!1}function nu(e,t,n){au(Xt(),Qt(),e,t,n,!0)}function iu(e,t,n){au(Xt(),Qt(),e,t,n,!1)}function au(e,t,n,i,a,r){e.firstCreatePass&&(cu(e,new Jl(n,i,r,a),-1),r&&(e.staticViewQueries=!0)),uu(e,t)}function ru(e,t,n,i){su(Xt(),Qt(),t,n,i,!1,en(),e)}function ou(e,t,n,i){su(Xt(),Qt(),t,n,i,!0,en(),e)}function su(e,t,n,i,a,r,o,s){e.firstCreatePass&&(cu(e,new Jl(n,i,r,a),o.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,s),r&&(e.staticContentQueries=!0)),uu(e,t)}function lu(){return e=Qt(),t=mn(),e[19].queries[t].queryList;var e,t}function uu(e,t){var n=new ql;!function(e,t,n,i){var a=cr(t);a.push(n),e.firstCreatePass&&dr(e).push(i,a.length-1)}(e,t,n,n.destroy),null===t[19]&&(t[19]=new Zl),t[19].queries.push(new Gl(n))}function cu(e,t,n){null===e.queries&&(e.queries=new Kl),e.queries.track(new Ql(t,n))}function du(e,t){return e.queries.getByIndex(t)}var hu=new Ve("Application Initializer"),fu=function(){var e=function(){return _createClass((function e(t){var n=this;_classCallCheck(this,e),this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,t){n.resolve=e,n.reject=t}))}),[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var i=0;i<this.appInits.length;i++){var a=this.appInits[i]();zo(a)&&t.push(a)}Promise.all(t).then((function(){n()})).catch((function(t){e.reject(t)})),0===t.length&&n(),this.initialized=!0}}}])}();return e.\u0275fac=function(t){return new(t||e)(Qe(hu,8))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),mu=new Ve("AppId"),pu={provide:mu,useFactory:function(){return"".concat(_u()).concat(_u()).concat(_u())},deps:[]};function _u(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var vu=new Ve("Platform Initializer"),gu=new Ve("Platform ID"),yu=new Ve("appBootstrapListener"),bu=function(){var e=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}])}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),ku=new Ve("LocaleId"),wu=new Ve("DefaultCurrencyCode"),Cu=_createClass((function e(t,n){_classCallCheck(this,e),this.ngModuleFactory=t,this.componentFactories=n})),xu=function(e){return new Il(e)},Mu=xu,Du=function(e){return Promise.resolve(xu(e))},Su=function(e){var t=xu(e),n=Zn(Dt(e).declarations).reduce((function(e,t){var n=xt(t);return n&&e.push(new xl(n)),e}),[]);return new Cu(t,n)},Lu=Su,Tu=function(e){return Promise.resolve(Su(e))},Au=function(){var e=function(){return _createClass((function e(){_classCallCheck(this,e),this.compileModuleSync=Mu,this.compileModuleAsync=Du,this.compileModuleAndAllComponentsSync=Lu,this.compileModuleAndAllComponentsAsync=Tu}),[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}])}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),Eu=new Ve("compilerOptions"),Ou=Promise.resolve(0);function Yu(e){"undefined"==typeof Zone?Ou.then((function(){e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var Pu=function(){function e(t){var n,i,a=t.enableLongStackTrace,r=void 0!==a&&a,o=t.shouldCoalesceEventChangeDetection,s=void 0!==o&&o;if(_classCallCheck(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Wl(!1),this.onMicrotaskEmpty=new Wl(!1),this.onStable=new Wl(!1),this.onError=new Wl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=s,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var e=Pe.requestAnimationFrame,t=Pe.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){var n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);var i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,i=!!(n=this).shouldCoalesceEventChangeDetection&&n.nativeRequestAnimationFrame&&function(){!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Pe,(function(){e.lastRequestAnimationFrameId=-1,ju(e),Fu(e)})),ju(e))}(n)},n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:i},onInvokeTask:function(e,t,a,r,o,s){try{return Hu(n),e.invokeTask(a,r,o,s)}finally{i&&"eventTask"===r.type&&i(),Nu(n)}},onInvoke:function(e,t,i,a,r,o,s){try{return Hu(n),e.invoke(i,a,r,o,s)}finally{Nu(n)}},onHasTask:function(e,t,i,a){e.hasTask(i,a),t===i&&("microTask"==a.change?(n._hasPendingMicrotasks=a.microTask,ju(n),Fu(n)):"macroTask"==a.change&&(n.hasPendingMacrotasks=a.macroTask))},onHandleError:function(e,t,i,a){return e.handleError(i,a),n.runOutsideAngular((function(){return n.onError.emit(a)})),!1}})}return _createClass(e,[{key:"run",value:function(e,t,n){return this._inner.run(e,t,n)}},{key:"runTask",value:function(e,t,n,i){var a=this._inner,r=a.scheduleEventTask("NgZoneEvent: "+i,e,Ru,Iu,Iu);try{return a.runTask(r,t,n)}finally{a.cancelTask(r)}}},{key:"runGuarded",value:function(e,t,n){return this._inner.runGuarded(e,t,n)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}])}();function Iu(){}var Ru={};function Fu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular((function(){return e.onStable.emit(null)}))}finally{e.isStable=!0}}}function ju(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Hu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Nu(e){e._nesting--,Fu(e)}var zu,Vu=function(){return _createClass((function e(){_classCallCheck(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Wl,this.onMicrotaskEmpty=new Wl,this.onStable=new Wl,this.onError=new Wl}),[{key:"run",value:function(e,t,n){return e.apply(t,n)}},{key:"runGuarded",value:function(e,t,n){return e.apply(t,n)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,t,n,i){return e.apply(t,n)}}])}(),Bu=function(){var e=function(){return _createClass((function e(t){var n=this;_classCallCheck(this,e),this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run((function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}),[{key:"_watchAngularEvents",value:function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.subscribe({next:function(){Pu.assertNotInAngularZone(),Yu((function(){e._isZoneStable=!0,e._runCallbacksIfReady()}))}})}))}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var e=this;if(this.isStable())Yu((function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1}));else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)})),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}})):[]}},{key:"addCallback",value:function(e,t,n){var i=this,a=-1;t&&t>0&&(a=setTimeout((function(){i._callbacks=i._callbacks.filter((function(e){return e.timeoutId!==a})),e(i._didWork,i.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:a,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}])}();return e.\u0275fac=function(t){return new(t||e)(Qe(Pu))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),Wu=function(){var e=function(){return _createClass((function e(){_classCallCheck(this,e),this._applications=new Map,Uu.addToWindow(this)}),[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Uu.findTestabilityInTree(this,e,t)}}])}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),Uu=new(function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}])}()),qu=function(e,t,n){var i=e.get(Eu,[]).concat(t),a=new Il(n);if(0===ho.size)return Promise.resolve(a);var r,o,s=(r=i.map((function(e){return e.providers})),o=[],r.forEach((function(e){return e&&o.push.apply(o,_toConsumableArray(e))})),o);if(0===s.length)return Promise.resolve(a);var l=function(){var e=Pe.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),u=uo.create({providers:s}).get(l.ResourceLoader);return function(e){var t=[],n=new Map;function i(e){var t=n.get(e);if(!t){var i=function(e){return Promise.resolve(u.get(e))}(e);n.set(e,t=i.then(mo))}return t}return ho.forEach((function(e,n){var a=[];e.templateUrl&&a.push(i(e.templateUrl).then((function(t){e.template=t})));var r=e.styleUrls,o=e.styles||(e.styles=[]),s=e.styles.length;r&&r.forEach((function(t,n){o.push(""),a.push(i(t).then((function(i){o[s+n]=i,r.splice(r.indexOf(t),1),0==r.length&&(e.styleUrls=void 0)})))}));var l=Promise.all(a).then((function(){return function(e){fo.delete(e)}(n)}));t.push(l)})),ho=new Map,Promise.all(t).then((function(){}))}().then((function(){return a}))},Gu=new Ve("AllowMultipleToken"),Zu=_createClass((function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n}));function Ju(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: "+t,a=new Ve(i);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=Ku();if(!r||r.injector.get(Gu,!1))if(e)e(n.concat(t).concat({provide:a,useValue:!0}));else{var o=n.concat(t).concat({provide:a,useValue:!0},{provide:Jr,useValue:"platform"});!function(e){if(zu&&!zu.destroyed&&!zu.injector.get(Gu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");zu=e.get(Qu);var t=e.get(vu,null);t&&t.forEach((function(e){return e()}))}(uo.create({providers:o,name:i}))}return function(e){var t=Ku();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(a)}}function Ku(){return zu&&!zu.destroyed?zu:null}var Qu=function(){var e=function(){return _createClass((function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}),[{key:"bootstrapModuleFactory",value:function(e,t){var n,i,a=this,r=(n=t?t.ngZone:void 0,i=t&&t.ngZoneEventCoalescing||!1,"noop"===n?new Vu:("zone.js"===n?void 0:n)||new Pu({enableLongStackTrace:Li(),shouldCoalesceEventChangeDetection:i})),o=[{provide:Pu,useValue:r}];return r.run((function(){var t=uo.create({providers:o,parent:a.injector,name:e.moduleType.name}),n=e.create(t),i=n.injector.get(_i,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return tc(a._modules,n)})),r.runOutsideAngular((function(){return r.onError.subscribe({next:function(e){i.handleError(e)}})})),function(e,t,i){try{var r=((o=n.injector.get(fu)).runInitializers(),o.donePromise.then((function(){return Ol(n.injector.get(ku,"en-US")||"en-US"),a._moduleDoBootstrap(n),n})));return zo(r)?r.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):r}catch(s){throw t.runOutsideAngular((function(){return e.handleError(s)})),s}var o}(i,r)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=Xu({},n);return qu(this.injector,i,e).then((function(e){return t.bootstrapModuleFactory(e,i)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(ec);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(Ce(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}])}();return e.\u0275fac=function(t){return new(t||e)(Qe(uo))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}();function Xu(e,t){return Array.isArray(t)?t.reduce(Xu,e):Object.assign(Object.assign({},e),t)}var $u,ec=(($u=function(){return _createClass((function e(t,n,i,a,r,o){var s=this;_classCallCheck(this,e),this._zone=t,this._console=n,this._injector=i,this._exceptionHandler=a,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Li(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var l=new w((function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){e.next(s._stable),e.complete()}))})),u=new w((function(e){var t;s._zone.runOutsideAngular((function(){t=s._zone.onStable.subscribe((function(){Pu.assertNotInAngularZone(),Yu((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))}))}))}));var n=s._zone.onUnstable.subscribe((function(){Pu.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=J(l,u.pipe(ie()))}),[{key:"bootstrap",value:function(e,t){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Bs?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var a=n.isBoundToModule?void 0:this._injector.get(nt),r=n.create(uo.NULL,[],t||n.selector,a);r.onDestroy((function(){i._unloadComponent(r)}));var o=r.injector.get(Bu,null);return o&&r.injector.get(Wu).registerApplication(r.location.nativeElement,o),this._loadComponent(r),Li()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=_createForOfIteratorHelper(this._views);try{for(n.s();!(t=n.n()).done;)t.value.detectChanges()}catch(r){n.e(r)}finally{n.f()}if(this._enforceNoNewChanges){var i,a=_createForOfIteratorHelper(this._views);try{for(a.s();!(i=a.n()).done;)i.value.checkNoChanges()}catch(r){a.e(r)}finally{a.f()}}}catch(o){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(o)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;tc(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(yu,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),tc(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}])}()).\u0275fac=function(e){return new(e||$u)(Qe(Pu),Qe(bu),Qe(uo),Qe(_i),Qe(Us),Qe(fu))},$u.\u0275prov=fe({token:$u,factory:$u.\u0275fac}),$u);function tc(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var nc=_createClass((function e(){_classCallCheck(this,e)})),ic=_createClass((function e(){_classCallCheck(this,e)})),ac={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},rc=function(){var e=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._compiler=t,this._config=n||ac}),[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,i=_slicedToArray(e.split("#"),2),a=i[0],r=i[1];return void 0===r&&(r="default"),n("zn8P")(a).then((function(e){return e[r]})).then((function(e){return oc(e,a,r)})).then((function(e){return t._compiler.compileModuleAsync(e)}))}},{key:"loadFactory",value:function(e){var t=_slicedToArray(e.split("#"),2),i=t[0],a=t[1],r="NgFactory";return void 0===a&&(a="default",r=""),n("zn8P")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then((function(e){return e[a+r]})).then((function(e){return oc(e,i,a)}))}}])}();return e.\u0275fac=function(t){return new(t||e)(Qe(Au),Qe(ic,8))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}();function oc(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var sc=Ju(null,"core",[{provide:gu,useValue:"unknown"},{provide:Qu,deps:[uo]},{provide:Wu,deps:[]},{provide:bu,deps:[]}]),lc=[{provide:ec,useClass:ec,deps:[Pu,bu,uo,_i,Us,fu]},{provide:Cl,deps:[Pu],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:fu,useClass:fu,deps:[[new se,hu]]},{provide:Au,useClass:Au,deps:[]},pu,{provide:dl,useFactory:function(){return ml},deps:[]},{provide:hl,useFactory:function(){return pl},deps:[]},{provide:ku,useFactory:function(e){return Ol(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new oe(ku),new se,new ue]]},{provide:wu,useValue:"USD"}],uc=function(){var e=_createClass((function e(t){_classCallCheck(this,e)}));return e.\u0275mod=bt({type:e}),e.\u0275inj=me({factory:function(t){return new(t||e)(Qe(ec))},providers:lc}),e}(),cc="https://api-preprod.foodgame.fr",dc=null;function hc(){return dc}var fc,mc=new Ve("DocumentToken"),pc=((fc=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||fc)},fc.\u0275prov=fe({factory:_c,token:fc,providedIn:"platform"}),fc);function _c(){return Qe(yc)}var vc,gc=new Ve("Location Initialized"),yc=((vc=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t))._doc=e,n._init(),n}return _inherits(t,e),_createClass(t,[{key:"_init",value:function(){this.location=hc().getLocation(),this._history=hc().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return hc().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){hc().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){hc().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(e,t,n){bc()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){bc()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}}])}(pc)).\u0275fac=function(e){return new(e||vc)(Qe(mc))},vc.\u0275prov=fe({factory:kc,token:vc,providedIn:"platform"}),vc);function bc(){return!!window.history.pushState}function kc(){return new yc(Qe(mc))}function wc(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function Cc(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function xc(e){return e&&"?"!==e[0]?"?"+e:e}var Mc,Dc=((Mc=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||Mc)},Mc.\u0275prov=fe({factory:Sc,token:Mc,providedIn:"root"}),Mc);function Sc(e){var t=Qe(mc).location;return new Oc(Qe(pc),t&&t.origin||"")}var Lc,Tc,Ac,Ec=new Ve("appBaseHref"),Oc=((Ac=function(e){function t(e,n){var i;if(_classCallCheck(this,t),(i=_callSuper(this,t))._platformLocation=e,null==n&&(n=i._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return i._baseHref=n,i}return _inherits(t,e),_createClass(t,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return wc(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+xc(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,i){var a=this.prepareExternalUrl(n+xc(i));this._platformLocation.pushState(e,t,a)}},{key:"replaceState",value:function(e,t,n,i){var a=this.prepareExternalUrl(n+xc(i));this._platformLocation.replaceState(e,t,a)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}])}(Dc)).\u0275fac=function(e){return new(e||Ac)(Qe(pc),Qe(Ec,8))},Ac.\u0275prov=fe({token:Ac,factory:Ac.\u0275fac}),Ac),Yc=((Tc=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t))._platformLocation=e,i._baseHref="",null!=n&&(i._baseHref=n),i}return _inherits(t,e),_createClass(t,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=wc(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,i){var a=this.prepareExternalUrl(n+xc(i));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.pushState(e,t,a)}},{key:"replaceState",value:function(e,t,n,i){var a=this.prepareExternalUrl(n+xc(i));0==a.length&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,a)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}])}(Dc)).\u0275fac=function(e){return new(e||Tc)(Qe(pc),Qe(Ec,8))},Tc.\u0275prov=fe({token:Tc,factory:Tc.\u0275fac}),Tc),Pc=((Lc=function(){function e(t,n){var i=this;_classCallCheck(this,e),this._subject=new Wl,this._urlChangeListeners=[],this._platformStrategy=t;var a=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=Cc(Rc(a)),this._platformStrategy.onPopState((function(e){i._subject.emit({url:i.path(!0),pop:!0,state:e.state,type:e.type})}))}return _createClass(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+xc(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Rc(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xc(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xc(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(e,t)}))}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}])}()).\u0275fac=function(e){return new(e||Lc)(Qe(Dc),Qe(pc))},Lc.normalizeQueryParams=xc,Lc.joinWithSlash=wc,Lc.stripTrailingSlash=Cc,Lc.\u0275prov=fe({factory:Ic,token:Lc,providedIn:"root"}),Lc);function Ic(){return new Pc(Qe(Dc),Qe(pc))}function Rc(e){return e.replace(/\/index.html$/,"")}var Fc=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),jc=function(){var e={Format:0,Standalone:1};return e[e.Format]="Format",e[e.Standalone]="Standalone",e}(),Hc=function(){var e={Narrow:0,Abbreviated:1,Wide:2,Short:3};return e[e.Narrow]="Narrow",e[e.Abbreviated]="Abbreviated",e[e.Wide]="Wide",e[e.Short]="Short",e}(),Nc=function(){var e={Short:0,Medium:1,Long:2,Full:3};return e[e.Short]="Short",e[e.Medium]="Medium",e[e.Long]="Long",e[e.Full]="Full",e}(),zc=function(){var e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return e[e.Decimal]="Decimal",e[e.Group]="Group",e[e.List]="List",e[e.PercentSign]="PercentSign",e[e.PlusSign]="PlusSign",e[e.MinusSign]="MinusSign",e[e.Exponential]="Exponential",e[e.SuperscriptingExponent]="SuperscriptingExponent",e[e.PerMille]="PerMille",e[e.Infinity]="Infinity",e[e.NaN]="NaN",e[e.TimeSeparator]="TimeSeparator",e[e.CurrencyDecimal]="CurrencyDecimal",e[e.CurrencyGroup]="CurrencyGroup",e}();function Vc(e,t){return Gc(Tl(e)[El.DateFormat],t)}function Bc(e,t){return Gc(Tl(e)[El.TimeFormat],t)}function Wc(e,t){return Gc(Tl(e)[El.DateTimeFormat],t)}function Uc(e,t){var n=Tl(e),i=n[El.NumberSymbols][t];if(void 0===i){if(t===zc.CurrencyDecimal)return n[El.NumberSymbols][zc.Decimal];if(t===zc.CurrencyGroup)return n[El.NumberSymbols][zc.Group]}return i}function qc(e){if(!e[El.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[El.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function Gc(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function Zc(e){var t=_slicedToArray(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}var Jc=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Kc={},Qc=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Xc=function(){var e={Short:0,ShortGMT:1,Long:2,Extended:3};return e[e.Short]="Short",e[e.ShortGMT]="ShortGMT",e[e.Long]="Long",e[e.Extended]="Extended",e}(),$c=function(){var e={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return e[e.FullYear]="FullYear",e[e.Month]="Month",e[e.Date]="Date",e[e.Hours]="Hours",e[e.Minutes]="Minutes",e[e.Seconds]="Seconds",e[e.FractionalSeconds]="FractionalSeconds",e[e.Day]="Day",e}(),ed=function(){var e={DayPeriods:0,Days:1,Months:2,Eras:3};return e[e.DayPeriods]="DayPeriods",e[e.Days]="Days",e[e.Months]="Months",e[e.Eras]="Eras",e}();function td(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function nd(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,r="";(e<0||a&&e<=0)&&(a?e=1-e:(e=-e,r=n));for(var o=String(e);o.length<t;)o="0"+o;return i&&(o=o.substr(o.length-t)),r+o}function id(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(r,o){var s,l=function(e,t){switch(e){case $c.FullYear:return t.getFullYear();case $c.Month:return t.getMonth();case $c.Date:return t.getDate();case $c.Hours:return t.getHours();case $c.Minutes:return t.getMinutes();case $c.Seconds:return t.getSeconds();case $c.FractionalSeconds:return t.getMilliseconds();case $c.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}(e,r);if((n>0||l>-n)&&(l+=n),e===$c.Hours)0===l&&-12===n&&(l=12);else if(e===$c.FractionalSeconds)return s=t,nd(l,3).substr(0,s);var u=Uc(o,zc.MinusSign);return nd(l,t,u,i,a)}}function ad(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:jc.Format,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(a,r){return function(e,t,n,i,a,r){switch(n){case ed.Months:return function(e,t,n){var i=Tl(e),a=Gc([i[El.MonthsFormat],i[El.MonthsStandalone]],t);return Gc(a,n)}(t,a,i)[e.getMonth()];case ed.Days:return function(e,t,n){var i=Tl(e),a=Gc([i[El.DaysFormat],i[El.DaysStandalone]],t);return Gc(a,n)}(t,a,i)[e.getDay()];case ed.DayPeriods:var o=e.getHours(),s=e.getMinutes();if(r){var l,u=function(e){var t=Tl(e);return qc(t),(t[El.ExtraData][2]||[]).map((function(e){return"string"==typeof e?Zc(e):[Zc(e[0]),Zc(e[1])]}))}(t),c=function(e,t,n){var i=Tl(e);qc(i);var a=Gc([i[El.ExtraData][0],i[El.ExtraData][1]],t)||[];return Gc(a,n)||[]}(t,a,i);if(u.forEach((function(e,t){if(Array.isArray(e)){var n=e[0],i=n.hours,a=n.minutes,r=e[1],u=r.hours,d=r.minutes;o>=i&&s>=a&&(o<u||o===u&&s<d)&&(l=c[t])}else{var h=e.hours,f=e.minutes;h===o&&f===s&&(l=c[t])}})),l)return l}return function(e,t,n){var i=Tl(e),a=Gc([i[El.DayPeriodsFormat],i[El.DayPeriodsStandalone]],t);return Gc(a,n)}(t,a,i)[o<12?0:1];case ed.Eras:return function(e,t){return Gc(Tl(e)[El.Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(a,r,e,t,n,i)}}function rd(e){return function(t,n,i){var a=-1*i,r=Uc(n,zc.MinusSign),o=a>0?Math.floor(a/60):Math.ceil(a/60);switch(e){case Xc.Short:return(a>=0?"+":"")+nd(o,2,r)+nd(Math.abs(a%60),2,r);case Xc.ShortGMT:return"GMT"+(a>=0?"+":"")+nd(o,1,r);case Xc.Long:return"GMT"+(a>=0?"+":"")+nd(o,2,r)+":"+nd(Math.abs(a%60),2,r);case Xc.Extended:return 0===i?"Z":(a>=0?"+":"")+nd(o,2,r)+":"+nd(Math.abs(a%60),2,r);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function od(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var a,r,o,s;if(t){var l=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,u=n.getDate();a=1+Math.floor((u+l)/7)}else{var c=(r=n.getFullYear(),o=new Date(r,0,1).getDay(),new Date(r,0,1+(o<=4?4:11)-o)),d=(s=n,new Date(s.getFullYear(),s.getMonth(),s.getDate()+(4-s.getDay()))).getTime()-c.getTime();a=1+Math.round(d/6048e5)}return nd(a,e,Uc(i,zc.MinusSign))}}var sd={};function ld(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ud(e){return e instanceof Date&&!isNaN(e.valueOf())}var cd,dd=_createClass((function e(){_classCallCheck(this,e)})),hd=((cd=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t)).locale=e,n}return _inherits(t,e),_createClass(t,[{key:"getPluralCategory",value:function(e,t){switch(function(e){return Tl(e)[El.PluralCase]}(t||this.locale)(e)){case Fc.Zero:return"zero";case Fc.One:return"one";case Fc.Two:return"two";case Fc.Few:return"few";case Fc.Many:return"many";default:return"other"}}}])}(dd)).\u0275fac=function(e){return new(e||cd)(Qe(ku))},cd.\u0275prov=fe({token:cd,factory:cd.\u0275fac}),cd);function fd(e,t){t=encodeURIComponent(t);var n,i=_createForOfIteratorHelper(e.split(";"));try{for(i.s();!(n=i.n()).done;){var a=n.value,r=a.indexOf("="),o=_slicedToArray(-1==r?[a,""]:[a.slice(0,r),a.slice(r+1)],2),s=o[0],l=o[1];if(s.trim()===t)return decodeURIComponent(l)}}catch(u){i.e(u)}finally{i.f()}return null}var md,pd,_d,vd=((md=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=i,this._renderer=a,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}),[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(bo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Ce(e.item));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))}}])}()).\u0275fac=function(e){return new(e||md)(To(dl),To(hl),To(qs),To(Ks))},md.\u0275dir=wt({type:md,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),md),gd=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=n,this.index=i,this.count=a}),[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}])}(),yd=((pd=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this._viewContainer=t,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}),[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){Li()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received ".concat(JSON.stringify(e),". See https://angular.io/api/common/NgForOf#change-propagation for more information.")),this._trackByFn=e}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation((function(e,i,a){if(null==e.previousIndex){var r=t._viewContainer.createEmbeddedView(t._template,new gd(null,t._ngForOf,-1,-1),null===a?void 0:a),o=new bd(e,r);n.push(o)}else if(null==a)t._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=t._viewContainer.get(i);t._viewContainer.move(s,a);var l=new bd(e,s);n.push(l)}}));for(var i=0;i<n.length;i++)this._perViewChange(n[i].view,n[i].record);for(var a=0,r=this._viewContainer.length;a<r;a++){var o=this._viewContainer.get(a);o.context.index=a,o.context.count=r,o.context.ngForOf=this._ngForOf}e.forEachIdentityChange((function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item}))}},{key:"_perViewChange",value:function(e,t){e.context.$implicit=t.item}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}])}()).\u0275fac=function(e){return new(e||pd)(To(gl),To(_l),To(dl))},pd.\u0275dir=wt({type:pd,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),pd),bd=_createClass((function e(t,n){_classCallCheck(this,e),this.record=t,this.view=n})),kd=((_d=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._viewContainer=t,this._context=new wd,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}),[{key:"ngIf",set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}},{key:"ngIfThen",set:function(e){Cd("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){Cd("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}},{key:"_updateView",value:function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}])}()).\u0275fac=function(e){return new(e||_d)(To(gl),To(_l))},_d.\u0275dir=wt({type:_d,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),_d),wd=_createClass((function e(){_classCallCheck(this,e),this.$implicit=null,this.ngIf=null}));function Cd(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(Ce(t),"'."))}var xd,Md,Dd,Sd,Ld=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._viewContainerRef=t,this._templateRef=n,this._created=!1}),[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}])}(),Td=((Sd=function(){return _createClass((function e(){_classCallCheck(this,e),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}),[{key:"ngSwitch",set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}},{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}},{key:"_matchCase",value:function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}},{key:"_updateDefaultCases",value:function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}])}()).\u0275fac=function(e){return new(e||Sd)},Sd.\u0275dir=wt({type:Sd,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),Sd),Ad=((Dd=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.ngSwitch=i,i._addCase(),this._view=new Ld(t,n)}),[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}])}()).\u0275fac=function(e){return new(e||Dd)(To(gl),To(_l),To(Td,1))},Dd.\u0275dir=wt({type:Dd,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),Dd),Ed=((Md=_createClass((function e(t,n,i){_classCallCheck(this,e),i._addDefault(new Ld(t,n))}))).\u0275fac=function(e){return new(e||Md)(To(gl),To(_l),To(Td,1))},Md.\u0275dir=wt({type:Md,selectors:[["","ngSwitchDefault",""]]}),Md),Od=((xd=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this._ngEl=t,this._differs=n,this._renderer=i,this._ngStyle=null,this._differ=null}),[{key:"ngStyle",set:function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}},{key:"ngDoCheck",value:function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}},{key:"_setStyle",value:function(e,t){var n=_slicedToArray(e.split("."),2),i=n[0],a=n[1];null!=(t=null!=t&&a?"".concat(t).concat(a):t)?this._renderer.setStyle(this._ngEl.nativeElement,i,t):this._renderer.removeStyle(this._ngEl.nativeElement,i)}},{key:"_applyChanges",value:function(e){var t=this;e.forEachRemovedItem((function(e){return t._setStyle(e.key,null)})),e.forEachAddedItem((function(e){return t._setStyle(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._setStyle(e.key,e.currentValue)}))}}])}()).\u0275fac=function(e){return new(e||xd)(To(qs),To(hl),To(Ks))},xd.\u0275dir=wt({type:xd,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),xd);function Yd(e,t){return Error("InvalidPipeArgument: '".concat(t,"' for pipe '").concat(Ce(e),"'"))}var Pd,Id,Rd,Fd=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"createSubscription",value:function(e,t){return e.subscribe({next:t,error:function(e){throw e}})}},{key:"dispose",value:function(e){e.unsubscribe()}},{key:"onDestroy",value:function(e){e.unsubscribe()}}])}(),jd=new(function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"createSubscription",value:function(e,t){return e.then(t,(function(e){throw e}))}},{key:"dispose",value:function(e){}},{key:"onDestroy",value:function(e){}}])}()),Hd=new Fd,Nd=((Rd=function(){function e(t){_classCallCheck(this,e),this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):go(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,yo.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)}},{key:"_subscribe",value:function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,(function(n){return t._updateLatestValue(e,n)}))}},{key:"_selectStrategy",value:function(t){if(zo(t))return jd;if(Vo(t))return Hd;throw Yd(e,t)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}])}()).\u0275fac=function(e){return new(e||Rd)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ce.Default,t=qr(!0);if(null!=t||e&ce.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}())},Rd.\u0275pipe=Ct({name:"async",type:Rd,pure:!1}),Rd),zd=((Id=function(){function e(t){_classCallCheck(this,e),this.locale=t}return _createClass(e,[{key:"transform",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mediumDate",i=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return function(e,t,n,i){var a=function(e){if(ud(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var t,n=parseFloat(e);if(!isNaN(e-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var i=_slicedToArray(e.split("-").map((function(e){return+e})),3),a=i[0],r=i[1],o=i[2];return new Date(a,r-1,o)}if(t=e.match(Jc))return function(e){var t=new Date(0),n=0,i=0,a=e[8]?t.setUTCFullYear:t.setFullYear,r=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),a.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var o=Number(e[4]||0)-n,s=Number(e[5]||0)-i,l=Number(e[6]||0),u=Math.round(1e3*parseFloat("0."+(e[7]||0)));return r.call(t,o,s,l,u),t}(t)}var s=new Date(e);if(!ud(s))throw new Error('Unable to convert "'.concat(e,'" into a date'));return s}(e);t=function e(t,n){var i=function(e){return Tl(e)[El.LocaleId]}(t);if(Kc[i]=Kc[i]||{},Kc[i][n])return Kc[i][n];var a="";switch(n){case"shortDate":a=Vc(t,Nc.Short);break;case"mediumDate":a=Vc(t,Nc.Medium);break;case"longDate":a=Vc(t,Nc.Long);break;case"fullDate":a=Vc(t,Nc.Full);break;case"shortTime":a=Bc(t,Nc.Short);break;case"mediumTime":a=Bc(t,Nc.Medium);break;case"longTime":a=Bc(t,Nc.Long);break;case"fullTime":a=Bc(t,Nc.Full);break;case"short":var r=e(t,"shortTime"),o=e(t,"shortDate");a=td(Wc(t,Nc.Short),[r,o]);break;case"medium":var s=e(t,"mediumTime"),l=e(t,"mediumDate");a=td(Wc(t,Nc.Medium),[s,l]);break;case"long":var u=e(t,"longTime"),c=e(t,"longDate");a=td(Wc(t,Nc.Long),[u,c]);break;case"full":var d=e(t,"fullTime"),h=e(t,"fullDate");a=td(Wc(t,Nc.Full),[d,h])}return a&&(Kc[i][n]=a),a}(n,t)||t;for(var r,o=[];t;){if(!(r=Qc.exec(t))){o.push(t);break}var s=(o=o.concat(r.slice(1))).pop();if(!s)break;t=s}var l=a.getTimezoneOffset();i&&(l=ld(i,l),a=function(e,t,n){var i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(ld(t,i)-i))}(a,i));var u="";return o.forEach((function(e){var t=function(e){if(sd[e])return sd[e];var t;switch(e){case"G":case"GG":case"GGG":t=ad(ed.Eras,Hc.Abbreviated);break;case"GGGG":t=ad(ed.Eras,Hc.Wide);break;case"GGGGG":t=ad(ed.Eras,Hc.Narrow);break;case"y":t=id($c.FullYear,1,0,!1,!0);break;case"yy":t=id($c.FullYear,2,0,!0,!0);break;case"yyy":t=id($c.FullYear,3,0,!1,!0);break;case"yyyy":t=id($c.FullYear,4,0,!1,!0);break;case"M":case"L":t=id($c.Month,1,1);break;case"MM":case"LL":t=id($c.Month,2,1);break;case"MMM":t=ad(ed.Months,Hc.Abbreviated);break;case"MMMM":t=ad(ed.Months,Hc.Wide);break;case"MMMMM":t=ad(ed.Months,Hc.Narrow);break;case"LLL":t=ad(ed.Months,Hc.Abbreviated,jc.Standalone);break;case"LLLL":t=ad(ed.Months,Hc.Wide,jc.Standalone);break;case"LLLLL":t=ad(ed.Months,Hc.Narrow,jc.Standalone);break;case"w":t=od(1);break;case"ww":t=od(2);break;case"W":t=od(1,!0);break;case"d":t=id($c.Date,1);break;case"dd":t=id($c.Date,2);break;case"E":case"EE":case"EEE":t=ad(ed.Days,Hc.Abbreviated);break;case"EEEE":t=ad(ed.Days,Hc.Wide);break;case"EEEEE":t=ad(ed.Days,Hc.Narrow);break;case"EEEEEE":t=ad(ed.Days,Hc.Short);break;case"a":case"aa":case"aaa":t=ad(ed.DayPeriods,Hc.Abbreviated);break;case"aaaa":t=ad(ed.DayPeriods,Hc.Wide);break;case"aaaaa":t=ad(ed.DayPeriods,Hc.Narrow);break;case"b":case"bb":case"bbb":t=ad(ed.DayPeriods,Hc.Abbreviated,jc.Standalone,!0);break;case"bbbb":t=ad(ed.DayPeriods,Hc.Wide,jc.Standalone,!0);break;case"bbbbb":t=ad(ed.DayPeriods,Hc.Narrow,jc.Standalone,!0);break;case"B":case"BB":case"BBB":t=ad(ed.DayPeriods,Hc.Abbreviated,jc.Format,!0);break;case"BBBB":t=ad(ed.DayPeriods,Hc.Wide,jc.Format,!0);break;case"BBBBB":t=ad(ed.DayPeriods,Hc.Narrow,jc.Format,!0);break;case"h":t=id($c.Hours,1,-12);break;case"hh":t=id($c.Hours,2,-12);break;case"H":t=id($c.Hours,1);break;case"HH":t=id($c.Hours,2);break;case"m":t=id($c.Minutes,1);break;case"mm":t=id($c.Minutes,2);break;case"s":t=id($c.Seconds,1);break;case"ss":t=id($c.Seconds,2);break;case"S":t=id($c.FractionalSeconds,1);break;case"SS":t=id($c.FractionalSeconds,2);break;case"SSS":t=id($c.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=rd(Xc.Short);break;case"ZZZZZ":t=rd(Xc.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=rd(Xc.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=rd(Xc.Long);break;default:return null}return sd[e]=t,t}(e);u+=t?t(a,n,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),u}(t,n,a||this.locale,i)}catch(r){throw Yd(e,r.message)}}}])}()).\u0275fac=function(e){return new(e||Id)(To(ku))},Id.\u0275pipe=Ct({name:"date",type:Id,pure:!0}),Id),Vd=((Pd=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:Pd}),Pd.\u0275inj=me({factory:function(e){return new(e||Pd)},providers:[{provide:dd,useClass:hd}]}),Pd);function Bd(e){return"browser"===e}function Wd(e){return"server"===e}var Ud,qd,Gd=((Ud=_createClass((function e(){_classCallCheck(this,e)}))).\u0275prov=fe({token:Ud,providedIn:"root",factory:function(){return new Zd(Qe(mc),window,Qe(_i))}}),Ud),Zd=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.document=t,this.window=n,this.errorHandler=i,this.offset=function(){return[0,0]}}),[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='".concat(e,"']"));if(n)return void this.scrollToElement(n)}catch(i){this.errorHandler.handleError(i)}}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(n-a[0],i-a[1])}},{key:"supportScrollRestoration",value:function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}])}(),Jd=n("Hfs6"),Kd=n.n(Jd);try{qd="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(LW){qd=!1}var Qd,Xd,$d,eh,th,nh,ih=(($d=_createClass((function e(t){_classCallCheck(this,e),this._platformId=t,this.isBrowser=this._platformId?Bd(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!qd)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}))).\u0275fac=function(e){return new(e||$d)(Qe(gu,8))},$d.\u0275prov=fe({factory:function(){return new $d(Qe(gu,8))},token:$d,providedIn:"root"}),$d),ah=((Xd=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:Xd}),Xd.\u0275inj=me({factory:function(e){return new(e||Xd)}}),Xd),rh=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function oh(){if(Qd)return Qd;if("object"!=typeof document||!document)return Qd=new Set(rh);var e=document.createElement("input");return Qd=new Set(rh.filter((function(t){return e.setAttribute("type",t),e.type===t})))}function sh(e){return function(){if(null==eh&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return eh=!0}}))}finally{eh=eh||!1}return eh}()?e:!!e.capture}function lh(){if("object"!=typeof document||!document)return 0;if(null==th){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),th=0,0===e.scrollLeft&&(e.scrollLeft=1,th=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return th}function uh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t[t.length-1];return A(i)?(t.pop(),V(t,i)):Z(t)}function ch(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.length?n.some((function(t){return e[t]})):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}function dh(){}function hh(e,t,n){return function(i){return i.lift(new fh(e,t,n))}}var fh=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.nextOrObserver=t,this.error=n,this.complete=i}),[{key:"call",value:function(e,t){return t.subscribe(new mh(e,this.nextOrObserver,this.error,this.complete))}}])}(),mh=function(e){function t(e,n,a,r){var o;return _classCallCheck(this,t),(o=_callSuper(this,t,[e]))._tapNext=dh,o._tapError=dh,o._tapComplete=dh,o._tapError=a||dh,o._tapComplete=r||dh,i(n)?(o._context=_assertThisInitialized(o),o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||dh,o._tapError=n.error||dh,o._tapComplete=n.complete||dh),o}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}])}(p),ph=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e,n])).scheduler=e,i.work=n,i.pending=!1,i}return _inherits(t,e),_createClass(t,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,i=void 0;try{this.work(e)}catch(a){n=!0,i=!!a&&a||new Error(a)}if(n)return this.unsubscribe(),i}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}])}(function(e){function t(e,n){return _classCallCheck(this,t),_callSuper(this,t)}return _inherits(t,e),_createClass(t,[{key:"schedule",value:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this}}])}(h)),_h=function(){var e=function(){return _createClass((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_classCallCheck(this,e),this.SchedulerAction=t,this.now=n}),[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}])}();return e.now=function(){return Date.now()},e}(),vh=new(function(e){function t(e){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_h.now;return _classCallCheck(this,t),(n=_callSuper(this,t,[e,function(){return t.delegate&&t.delegate!==_assertThisInitialized(n)?t.delegate.now():i()}])).actions=[],n.active=!1,n.scheduled=void 0,n}return _inherits(t,e),_createClass(t,[{key:"schedule",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return t.delegate&&t.delegate!==this?t.delegate.schedule(e,n,i):_superPropGet(t,"schedule",this,3)([e,n,i])}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}])}(_h))(ph);function gh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vh;return function(n){return n.lift(new yh(e,t))}}var yh=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.dueTime=t,this.scheduler=n}),[{key:"call",value:function(e,t){return t.subscribe(new bh(e,this.dueTime,this.scheduler))}}])}(),bh=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t,[e])).dueTime=n,a.scheduler=i,a.debouncedSubscription=null,a.lastValue=null,a.hasValue=!1,a}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(kh,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}])}(p);function kh(e){e.debouncedNext()}function wh(e,t){return function(n){return n.lift(new Ch(e,t))}}var Ch=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.predicate=t,this.thisArg=n}),[{key:"call",value:function(e,t){return t.subscribe(new xh(e,this.predicate,this.thisArg))}}])}(),xh=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t,[e])).predicate=n,a.thisArg=i,a.count=0,a}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}])}(p),Mh=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}(),Dh=new w((function(e){return e.complete()}));function Sh(e){return e?function(e){return new w((function(t){return e.schedule((function(){return t.complete()}))}))}(e):Dh}function Lh(e){return function(t){return 0===e?Sh():t.lift(new Th(e))}}var Th=function(){return _createClass((function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new Mh}),[{key:"call",value:function(e,t){return t.subscribe(new Ah(e,this.total))}}])}(),Ah=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e])).total=n,i.count=0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}])}(p);function Eh(e){return null!=e&&""+e!="false"}function Oh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Yh(e)?Number(e):t}function Yh(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Ph(e){return Array.isArray(e)?e:[e]}function Ih(e){return null==e?"":"string"==typeof e?e:e+"px"}function Rh(e){return e instanceof qs?e.nativeElement:e}var Fh,jh,Hh,Nh,zh=((Nh=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}])}()).\u0275fac=function(e){return new(e||Nh)},Nh.\u0275prov=fe({factory:function(){return new Nh},token:Nh,providedIn:"root"}),Nh),Vh=((Hh=function(){return _createClass((function e(t){_classCallCheck(this,e),this._mutationObserverFactory=t,this._observedElements=new Map}),[{key:"ngOnDestroy",value:function(){var e=this;this._observedElements.forEach((function(t,n){return e._cleanupObserver(n)}))}},{key:"observe",value:function(e){var t=this,n=Rh(e);return new w((function(e){var i=t._observeElement(n).subscribe(e);return function(){i.unsubscribe(),t._unobserveElement(n)}}))}},{key:"_observeElement",value:function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new L,n=this._mutationObserverFactory.create((function(e){return t.next(e)}));n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}},{key:"_unobserveElement",value:function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}},{key:"_cleanupObserver",value:function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,i=t.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(e)}}}])}()).\u0275fac=function(e){return new(e||Hh)(Qe(zh))},Hh.\u0275prov=fe({factory:function(){return new Hh(Qe(zh))},token:Hh,providedIn:"root"}),Hh),Bh=((jh=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this._contentObserver=t,this._elementRef=n,this._ngZone=i,this.event=new Wl,this._disabled=!1,this._currentSubscription=null}),[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Eh(e),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(e){this._debounce=Oh(e),this._subscribe()}},{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){e._currentSubscription=(e.debounce?t.pipe(gh(e.debounce)):t).subscribe(e.event)}))}},{key:"_unsubscribe",value:function(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}])}()).\u0275fac=function(e){return new(e||jh)(To(Vh),To(qs),To(Pu))},jh.\u0275dir=wt({type:jh,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),jh),Wh=((Fh=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:Fh}),Fh.\u0275inj=me({factory:function(e){return new(e||Fh)},providers:[zh]}),Fh);function Uh(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var qh,Gh,Zh=0,Jh=new Map,Kh=null,Qh=((qh=function(){return _createClass((function e(t){_classCallCheck(this,e),this._document=t}),[{key:"describe",value:function(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),Jh.set(t,{messageElement:t,referenceCount:0})):Jh.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))}},{key:"removeDescription",value:function(e,t){if(this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){var n=Jh.get(t);n&&0===n.referenceCount&&this._deleteMessageElement(t)}Kh&&0===Kh.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var e=this._document.querySelectorAll("[cdk-describedby-host]"),t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute("cdk-describedby-host");Kh&&this._deleteMessagesContainer(),Jh.clear()}},{key:"_createMessageElement",value:function(e){var t=this._document.createElement("div");this._setMessageId(t),t.textContent=e,this._createMessagesContainer(),Kh.appendChild(t),Jh.set(e,{messageElement:t,referenceCount:0})}},{key:"_setMessageId",value:function(e){e.id||(e.id="cdk-describedby-message-"+Zh++)}},{key:"_deleteMessageElement",value:function(e){var t=Jh.get(e),n=t&&t.messageElement;Kh&&n&&Kh.removeChild(n),Jh.delete(e)}},{key:"_createMessagesContainer",value:function(){if(!Kh){var e=this._document.getElementById("cdk-describedby-message-container");e&&e.parentNode.removeChild(e),(Kh=this._document.createElement("div")).id="cdk-describedby-message-container",Kh.setAttribute("aria-hidden","true"),Kh.style.display="none",this._document.body.appendChild(Kh)}}},{key:"_deleteMessagesContainer",value:function(){Kh&&Kh.parentNode&&(Kh.parentNode.removeChild(Kh),Kh=null)}},{key:"_removeCdkDescribedByReferenceIds",value:function(e){var t=Uh(e,"aria-describedby").filter((function(e){return 0!=e.indexOf("cdk-describedby-message")}));e.setAttribute("aria-describedby",t.join(" "))}},{key:"_addMessageReference",value:function(e,t){var n,i,a,r,o=Jh.get(t);n=e,i="aria-describedby",a=o.messageElement.id,(r=Uh(n,i)).some((function(e){return e.trim()==a.trim()}))||(r.push(a.trim()),n.setAttribute(i,r.join(" "))),e.setAttribute("cdk-describedby-host",""),o.referenceCount++}},{key:"_removeMessageReference",value:function(e,t){var n,i,a,r,o=Jh.get(t);o.referenceCount--,n=e,i="aria-describedby",a=o.messageElement.id,(r=Uh(n,i).filter((function(e){return e!=a.trim()}))).length?n.setAttribute(i,r.join(" ")):n.removeAttribute(i),e.removeAttribute("cdk-describedby-host")}},{key:"_isElementDescribedByMessage",value:function(e,t){var n=Uh(e,"aria-describedby"),i=Jh.get(t),a=i&&i.messageElement.id;return!!a&&-1!=n.indexOf(a)}},{key:"_canBeDescribed",value:function(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;var n=null==t?"":(""+t).trim(),i=e.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}},{key:"_isElementNode",value:function(e){return e.nodeType===this._document.ELEMENT_NODE}}])}()).\u0275fac=function(e){return new(e||qh)(Qe(mc))},qh.\u0275prov=fe({factory:function(){return new qh(Qe(mc))},token:qh,providedIn:"root"}),qh),Xh=function(){return _createClass((function e(t){var n=this;_classCallCheck(this,e),this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new L,this._typeaheadSubscription=h.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new L,this.change=new L,t instanceof ql&&t.changes.subscribe((function(e){if(n._activeItem){var t=e.toArray().indexOf(n._activeItem);t>-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}}))}),[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;if(this._items.length&&this._items.some((function(e){return"function"!=typeof e.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(hh((function(t){return e._pressedLetters.push(t)})),gh(t),wh((function(){return e._pressedLetters.length>0})),H((function(){return e._pressedLetters.join("")}))).subscribe((function(t){for(var n=e._getItemsArray(),i=1;i<n.length+1;i++){var a=(e._activeItemIndex+i)%n.length,r=n[a];if(!e._skipPredicateFn(r)&&0===r.getLabel().toUpperCase().trim().indexOf(t)){e.setActiveItem(a);break}}e._pressedLetters=[]})),this}},{key:"setActiveItem",value:function(e){var t=this._activeItemIndex;this.updateActiveItem(e),this._activeItemIndex!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every((function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1}));switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((i||ch(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof ql?this._items.toArray():this._items}}])}(),$h=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),_superPropGet(t,"setActiveItem",this,3)([e]),this.activeItem&&this.activeItem.setActiveStyles()}}])}(Xh),ef=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments))._origin="program",e}return _inherits(t,e),_createClass(t,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){_superPropGet(t,"setActiveItem",this,3)([e]),this.activeItem&&this.activeItem.focus(this._origin)}}])}(Xh),tf=((Gh=function(){return _createClass((function e(t){_classCallCheck(this,e),this._platform=t}),[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(LW){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){var i=n&&n.nodeName.toLowerCase();if(-1===af(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===i)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var a=e.nodeName.toLowerCase(),r=af(e);if(e.hasAttribute("contenteditable"))return-1!==r;if("iframe"===a)return!1;if("audio"===a){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===a){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==a||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0}},{key:"isFocusable",value:function(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||nf(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)}}])}()).\u0275fac=function(e){return new(e||Gh)(Qe(ih))},Gh.\u0275prov=fe({factory:function(){return new Gh(Qe(ih))},token:Gh,providedIn:"root"}),Gh);function nf(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function af(e){if(!nf(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var rf,of,sf=function(){return _createClass((function e(t,n,i,a){var r=this,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck(this,e),this._element=t,this._checker=n,this._ngZone=i,this._document=a,this._hasAttached=!1,this.startAnchorListener=function(){return r.focusLastTabbableElement()},this.endAnchorListener=function(){return r.focusFirstTabbableElement()},this._enabled=!0,o||this.attachAnchors()}),[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusInitialElement())}))}))}},{key:"focusFirstTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusFirstTabbableElement())}))}))}},{key:"focusLastTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusLastTabbableElement())}))}))}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], [cdkFocusRegion").concat(e,"], [cdk-focus-").concat(e,"]")),n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(e,"', use 'cdkFocusRegion").concat(e,"' instead. The deprecated attribute will be removed in 8.0.0."),t[n]):t[n].hasAttribute("cdk-focus-region-"+e)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(e,"', use 'cdkFocusRegion").concat(e,"' instead. The deprecated attribute will be removed in 8.0.0."),t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return e?(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),Li()&&!this._checker.isFocusable(e)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",e),e.focus(),!0):this.focusFirstTabbableElement()}},{key:"focusFirstTabbableElement",value:function(){var e=this._getRegionBoundary("start");return e&&e.focus(),!!e}},{key:"focusLastTabbableElement",value:function(){var e=this._getRegionBoundary("end");return e&&e.focus(),!!e}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=0;n<t.length;n++){var i=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(i)return i}return null}},{key:"_getLastTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=t.length-1;n>=0;n--){var i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(Lh(1)).subscribe(e)}}])}(),lf=((of=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this._checker=t,this._ngZone=n,this._document=i}),[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new sf(e,this._checker,this._ngZone,this._document,t)}}])}()).\u0275fac=function(e){return new(e||of)(Qe(tf),Qe(Pu),Qe(mc))},of.\u0275prov=fe({factory:function(){return new of(Qe(tf),Qe(Pu),Qe(mc))},token:of,providedIn:"root"}),of),uf=((rf=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this._elementRef=t,this._focusTrapFactory=n,this._previouslyFocusedElement=null,this._document=i,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}),[{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(e){this.focusTrap.enabled=Eh(e)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(e){this._autoCapture=Eh(e)}},{key:"ngOnDestroy",value:function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}},{key:"ngAfterContentInit",value:function(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())}},{key:"ngDoCheck",value:function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}}])}()).\u0275fac=function(e){return new(e||rf)(To(qs),To(lf),To(mc))},rf.\u0275dir=wt({type:rf,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"]}),rf);"undefined"!=typeof Element&&Element;var cf,df,hf=new Ve("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),ff=new Ve("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),mf=((df=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this._ngZone=n,this._defaultOptions=a,this._document=i,this._liveElement=t||this._createLiveElement()}),[{key:"announce",value:function(e){for(var t,n,i,a=this,r=this._defaultOptions,o=arguments.length,s=new Array(o>1?o-1:0),l=1;l<o;l++)s[l-1]=arguments[l];return 1===s.length&&"number"==typeof s[0]?i=s[0]:(n=(t=_slicedToArray(s,2))[0],i=t[1]),this.clear(),clearTimeout(this._previousTimeout),n||(n=r&&r.politeness?r.politeness:"polite"),null==i&&r&&(i=r.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular((function(){return new Promise((function(t){clearTimeout(a._previousTimeout),a._previousTimeout=setTimeout((function(){a._liveElement.textContent=e,t(),"number"==typeof i&&(a._previousTimeout=setTimeout((function(){return a.clear()}),i))}),100)}))}))}},{key:"clear",value:function(){this._liveElement&&(this._liveElement.textContent="")}},{key:"ngOnDestroy",value:function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}},{key:"_createLiveElement",value:function(){for(var e=this._document.getElementsByClassName("cdk-live-announcer-element"),t=this._document.createElement("div"),n=0;n<e.length;n++)e[n].parentNode.removeChild(e[n]);return t.classList.add("cdk-live-announcer-element"),t.classList.add("cdk-visually-hidden"),t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),t}}])}()).\u0275fac=function(e){return new(e||df)(Qe(hf,8),Qe(Pu),Qe(mc),Qe(ff,8))},df.\u0275prov=fe({factory:function(){return new df(Qe(hf,8),Qe(Pu),Qe(mc),Qe(ff,8))},token:df,providedIn:"root"}),df),pf=((cf=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this._elementRef=t,this._liveAnnouncer=n,this._contentObserver=i,this._ngZone=a,this._politeness="off"}),[{key:"politeness",get:function(){return this._politeness},set:function(e){var t=this;this._politeness="polite"===e||"assertive"===e?e:"off","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular((function(){return t._contentObserver.observe(t._elementRef).subscribe((function(){var e=t._elementRef.nativeElement.textContent;e!==t._previousAnnouncedText&&(t._liveAnnouncer.announce(e,t._politeness),t._previousAnnouncedText=e)}))})))}},{key:"ngOnDestroy",value:function(){this._subscription&&this._subscription.unsubscribe()}}])}()).\u0275fac=function(e){return new(e||cf)(To(qs),To(mf),To(Vh),To(Pu))},cf.\u0275dir=wt({type:cf,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),cf);function _f(e){return 0===e.buttons}var vf,gf=new Ve("cdk-focus-monitor-default-options"),yf=sh({passive:!0,capture:!0}),bf=((vf=function(){return _createClass((function e(t,n,i,a){var r=this;_classCallCheck(this,e),this._ngZone=t,this._platform=n,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=function(){r._lastTouchTarget=null,r._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(e){if(!r._lastTouchTarget){var t=_f(e)?"keyboard":"mouse";r._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=function(e){null!=r._touchTimeoutId&&clearTimeout(r._touchTimeoutId),r._lastTouchTarget=kf(e),r._touchTimeoutId=setTimeout((function(){return r._lastTouchTarget=null}),650)},this._windowFocusListener=function(){r._windowFocused=!0,r._windowFocusTimeoutId=setTimeout((function(){return r._windowFocused=!1}))},this._rootNodeFocusAndBlurListener=function(e){for(var t=kf(e),n="focus"===e.type?r._onFocus:r._onBlur,i=t;i;i=i.parentElement)n.call(r,e,i)},this._document=i,this._detectionMode=(null==a?void 0:a.detectionMode)||0}),[{key:"monitor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this._platform.isBrowser)return uh(null);var n=Rh(e),i=function(e){if(function(){if(null==nh){var e="undefined"!=typeof document?document.head:null;nh=!(!e||!e.createShadowRoot&&!e.attachShadow)}return nh}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(n)||this._getDocument(),a=this._elementInfo.get(n);if(a)return t&&(a.checkChildren=!0),a.subject.asObservable();var r={checkChildren:t,subject:new L,rootNode:i};return this._elementInfo.set(n,r),this._registerGlobalListeners(r),r.subject.asObservable()}},{key:"stopMonitoring",value:function(e){var t=Rh(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var i=Rh(e);this._setOriginForCurrentEventQueue(t),"function"==typeof i.focus&&i.focus(n)}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach((function(t,n){return e.stopMonitoring(n)}))}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular((function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout((function(){return t._origin=null}),1))}))}},{key:"_wasCausedByTouch",value:function(e){var t=kf(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===kf(e))){var i=this._getFocusOrigin(e);this._setClasses(t,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run((function(){return e.next(t)}))}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular((function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,yf),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,yf)})),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular((function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,yf),e.addEventListener("mousedown",t._documentMousedownListener,yf),e.addEventListener("touchstart",t._documentTouchstartListener,yf),n.addEventListener("focus",t._windowFocusListener)}))}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,yf),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,yf),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var i=this._getDocument(),a=this._getWindow();i.removeEventListener("keydown",this._documentKeydownListener,yf),i.removeEventListener("mousedown",this._documentMousedownListener,yf),i.removeEventListener("touchstart",this._documentTouchstartListener,yf),a.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}])}()).\u0275fac=function(e){return new(e||vf)(Qe(Pu),Qe(ih),Qe(mc,8),Qe(gf,8))},vf.\u0275prov=fe({factory:function(){return new vf(Qe(Pu),Qe(ih),Qe(mc,8),Qe(gf,8))},token:vf,providedIn:"root"}),vf);function kf(e){return e.composedPath?e.composedPath()[0]:e.target}var wf,Cf,xf,Mf=((xf=function(){return _createClass((function e(t,n){var i=this;_classCallCheck(this,e),this._elementRef=t,this._focusMonitor=n,this.cdkFocusChange=new Wl,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe((function(e){return i.cdkFocusChange.emit(e)}))}),[{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}])}()).\u0275fac=function(e){return new(e||xf)(To(qs),To(bf))},xf.\u0275dir=wt({type:xf,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),xf),Df=((Cf=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._platform=t,this._document=n}),[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}])}()).\u0275fac=function(e){return new(e||Cf)(Qe(ih),Qe(mc))},Cf.\u0275prov=fe({factory:function(){return new Cf(Qe(ih),Qe(mc))},token:Cf,providedIn:"root"}),Cf),Sf=((wf=_createClass((function e(t){_classCallCheck(this,e),t._applyBodyHighContrastModeCssClasses()}))).\u0275mod=bt({type:wf}),wf.\u0275inj=me({factory:function(e){return new(e||wf)(Qe(Df))},imports:[[ah,Wh]]}),wf);function Lf(e,t,n,a){return i(n)&&(a=n,n=void 0),a?Lf(e,t,n).pipe(H((function(e){return l(e)?a.apply(void 0,_toConsumableArray(e)):a(e)}))):new w((function(i){!function e(t,n,i,a,r){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var s=t;t.addEventListener(n,i,r),o=function(){return s.removeEventListener(n,i,r)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var l=t;t.on(n,i),o=function(){return l.off(n,i)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var u=t;t.addListener(n,i),o=function(){return u.removeListener(n,i)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var c=0,d=t.length;c<d;c++)e(t[c],n,i,a,r)}a.add(o)}(e,t,(function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),i,n)}))}function Tf(e,t){return function(n){return n.lift(new Af(e,t))}}var Af=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.compare=t,this.keySelector=n}),[{key:"call",value:function(e,t){return t.subscribe(new Ef(e,this.compare,this.keySelector))}}])}(),Ef=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t,[e])).keySelector=i,a.hasKey=!1,"function"==typeof n&&(a.compare=n),a}return _inherits(t,e),_createClass(t,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(a){return this.destination.error(a)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,t)}catch(a){return this.destination.error(a)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}])}(p),Of=function(){return _createClass((function e(t){_classCallCheck(this,e),this.durationSelector=t}),[{key:"call",value:function(e,t){return t.subscribe(new Yf(e,this.durationSelector))}}])}(),Yf=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e])).durationSelector=n,i.hasValue=!1,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t;try{t=(0,this.durationSelector)(e)}catch(i){return this.destination.error(i)}var n=F(this,t);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},{key:"clearThrottle",value:function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}},{key:"notifyNext",value:function(e,t,n,i){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}])}(j);function Pf(e){return!l(e)&&e-parseFloat(e)+1>=0}function If(e){var t=e.index,n=e.period,i=e.subscriber;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}function Rf(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vh;return t=function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=-1;return Pf(t)?i=Number(t)<1?1:Number(t):A(t)&&(n=t),A(n)||(n=vh),new w((function(t){var a=Pf(e)?e:+e-n.now();return n.schedule(If,a,{index:0,period:i,subscriber:t})}))}(e,n)},function(e){return e.lift(new Of(t))}}function Ff(e){return function(t){return t.lift(new jf(e))}}var jf=function(){return _createClass((function e(t){_classCallCheck(this,e),this.notifier=t}),[{key:"call",value:function(e,t){var n=new Hf(e),i=F(n,this.notifier);return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}])}(),Hf=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t,[e])).seenValue=!1,n}return _inherits(t,e),_createClass(t,[{key:"notifyNext",value:function(e,t,n,i,a){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}])}(j);function Nf(){return G(1)}function zf(){return Nf()(uh.apply(void 0,arguments))}function Vf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t[t.length-1];return A(i)?(t.pop(),function(e){return zf(t,e,i)}):function(e){return zf(t,e)}}function Bf(e,t){return"function"==typeof t?function(n){return n.pipe(Bf((function(n,i){return B(e(n,i)).pipe(H((function(e,a){return t(n,e,i,a)})))})))}:function(t){return t.lift(new qf(e))}}var Wf,Uf,qf=function(){return _createClass((function e(t){_classCallCheck(this,e),this.project=t}),[{key:"call",value:function(e,t){return t.subscribe(new Gf(e,this.project))}}])}(),Gf=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e])).project=n,i.index=0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var i=this.innerSubscription;i&&i.unsubscribe();var a=new E(this,t,n),r=this.destination;r.add(a),this.innerSubscription=F(this,e,void 0,void 0,a),this.innerSubscription!==a&&r.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||_superPropGet(t,"_complete",this,3)([]),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&_superPropGet(t,"_complete",this,3)([])}},{key:"notifyNext",value:function(e,t,n,i,a){this.destination.next(t)}}])}(j),Zf=new Ve("cdk-dir-doc",{providedIn:"root",factory:function(){return Xe(mc)}}),Jf=((Uf=function(){return _createClass((function e(t){if(_classCallCheck(this,e),this.value="ltr",this.change=new Wl,t){var n=t.documentElement?t.documentElement.dir:null,i=(t.body?t.body.dir:null)||n;this.value="ltr"===i||"rtl"===i?i:"ltr"}}),[{key:"ngOnDestroy",value:function(){this.change.complete()}}])}()).\u0275fac=function(e){return new(e||Uf)(Qe(Zf,8))},Uf.\u0275prov=fe({factory:function(){return new Uf(Qe(Zf,8))},token:Uf,providedIn:"root"}),Uf),Kf=((Wf=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:Wf}),Wf.\u0275inj=me({factory:function(e){return new(e||Wf)}}),Wf);function Qf(e){return e&&"function"==typeof e.connect}var Xf,$f,em,tm,nm,im,am=function(){return _createClass((function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_classCallCheck(this,e),this._multiple=n,this._emitChanges=a,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new L,i&&i.length&&(n?i.forEach((function(e){return t._markSelected(e)})):this._markSelected(i[0]),this._selectedToEmit.length=0)}),[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach((function(t){return e._markSelected(t)})),this._emitChangeEvent()}},{key:"deselect",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach((function(t){return e._unmarkSelected(t)})),this._emitChangeEvent()}},{key:"toggle",value:function(e){this.isSelected(e)?this.deselect(e):this.select(e)}},{key:"clear",value:function(){this._unmarkAll(),this._emitChangeEvent()}},{key:"isSelected",value:function(e){return this._selection.has(e)}},{key:"isEmpty",value:function(){return 0===this._selection.size}},{key:"hasValue",value:function(){return!this.isEmpty()}},{key:"sort",value:function(e){this._multiple&&this.selected&&this._selected.sort(e)}},{key:"isMultipleSelection",value:function(){return this._multiple}},{key:"_emitChangeEvent",value:function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}},{key:"_markSelected",value:function(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}},{key:"_unmarkSelected",value:function(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}},{key:"_unmarkAll",value:function(){var e=this;this.isEmpty()||this._selection.forEach((function(t){return e._unmarkSelected(t)}))}},{key:"_verifyValueAssignment",value:function(e){if(e.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}}])}(),rm=((im=function(){return _createClass((function e(){_classCallCheck(this,e),this._listeners=[]}),[{key:"notify",value:function(e,t){var n,i=_createForOfIteratorHelper(this._listeners);try{for(i.s();!(n=i.n()).done;)(0,n.value)(e,t)}catch(a){i.e(a)}finally{i.f()}}},{key:"listen",value:function(e){var t=this;return this._listeners.push(e),function(){t._listeners=t._listeners.filter((function(t){return e!==t}))}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}])}()).\u0275fac=function(e){return new(e||im)},im.\u0275prov=fe({factory:function(){return new im},token:im,providedIn:"root"}),im),om=((nm=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this._ngZone=t,this._platform=n,this._scrolled=new L,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}),[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe((function(){return t._scrolled.next(e)})))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new w((function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe(Rf(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):uh()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(t,n){return e.deregister(n)})),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(wh((function(e){return!e||n.indexOf(e)>-1})))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach((function(i,a){t._scrollableContainsElement(a,e)&&n.push(a)})),n}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=t.nativeElement,i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return Lf(e._getWindow().document,"scroll").subscribe((function(){return e._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}])}()).\u0275fac=function(e){return new(e||nm)(Qe(Pu),Qe(ih),Qe(mc,8))},nm.\u0275prov=fe({factory:function(){return new nm(Qe(Pu),Qe(ih),Qe(mc,8))},token:nm,providedIn:"root"}),nm),sm=((tm=function(){return _createClass((function e(t,n,i,a){var r=this;_classCallCheck(this,e),this.elementRef=t,this.scrollDispatcher=n,this.ngZone=i,this.dir=a,this._destroyed=new L,this._elementScrolled=new w((function(e){return r.ngZone.runOutsideAngular((function(){return Lf(r.elementRef.nativeElement,"scroll").pipe(Ff(r._destroyed)).subscribe(e)}))}))}),[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=lh()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==lh()?e.left=e.right:1==lh()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}},{key:"_applyScrollToOptions",value:function(e){var t=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}},{key:"measureScrollOffset",value:function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&2==lh()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==lh()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}])}()).\u0275fac=function(e){return new(e||tm)(To(qs),To(om),To(Pu),To(Jf,8))},tm.\u0275dir=wt({type:tm,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),tm),lm=((em=function(){return _createClass((function e(t,n,i){var a=this;_classCallCheck(this,e),this._platform=t,this._document=i,n.runOutsideAngular((function(){var e=a._getWindow();a._change=t.isBrowser?J(Lf(e,"resize"),Lf(e,"orientationchange")):uh(),a._invalidateCache=a.change().subscribe((function(){return a._updateViewportSize()}))}))}),[{key:"ngOnDestroy",value:function(){this._invalidateCache.unsubscribe()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._getDocument(),t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(Rf(e)):this._change}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}])}()).\u0275fac=function(e){return new(e||em)(Qe(ih),Qe(Pu),Qe(mc,8))},em.\u0275prov=fe({factory:function(){return new em(Qe(ih),Qe(Pu),Qe(mc,8))},token:em,providedIn:"root"}),em),um=(($f=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:$f}),$f.\u0275inj=me({factory:function(e){return new(e||$f)}}),$f),cm=((Xf=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:Xf}),Xf.\u0275inj=me({factory:function(e){return new(e||Xf)},imports:[[Kf,ah,um],Kf,um]}),Xf);function dm(){throw Error("Host already has a portal attached")}var hm,fm,mm=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"attach",value:function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&dm(),this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}])}(),pm=function(e){function t(e,n,i,a){var r;return _classCallCheck(this,t),(r=_callSuper(this,t)).component=e,r.viewContainerRef=n,r.injector=i,r.componentFactoryResolver=a,r}return _inherits(t,e),_createClass(t)}(mm),_m=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t)).templateRef=e,a.viewContainerRef=n,a.context=i,a}return _inherits(t,e),_createClass(t,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=n,_superPropGet(t,"attach",this,3)([e])}},{key:"detach",value:function(){return this.context=void 0,_superPropGet(t,"detach",this,3)([])}}])}(mm),vm=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t)).element=e instanceof qs?e.nativeElement:e,n}return _inherits(t,e),_createClass(t)}(mm),gm=function(){return _createClass((function e(){_classCallCheck(this,e),this._isDisposed=!1,this.attachDomPortal=null}),[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&dm(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof pm?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof _m?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof vm?(this._attachedPortal=e,this.attachDomPortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}])}(),ym=function(e){function t(e,n,i,a,r){var o;return _classCallCheck(this,t),(o=_callSuper(this,t)).outletElement=e,o._componentFactoryResolver=n,o._appRef=i,o._defaultInjector=a,o.attachDomPortal=function(e){if(!o._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var n=e.element;if(!n.parentNode)throw Error("DOM portal content must be attached to a parent node.");var i=o._document.createComment("dom-portal");n.parentNode.insertBefore(i,n),o.outletElement.appendChild(n),_superPropGet((_assertThisInitialized(o),t),"setDisposeFn",o,3)([function(){i.parentNode&&i.parentNode.replaceChild(n,i)}])},o._document=r,o}return _inherits(t,e),_createClass(t,[{key:"attachComponentPortal",value:function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn((function(){return t.destroy()}))):(t=i.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn((function(){n._appRef.detachView(t.hostView),t.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(t)),t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,i=n.createEmbeddedView(e.templateRef,e.context);return i.detectChanges(),i.rootNodes.forEach((function(e){return t.outletElement.appendChild(e)})),this.setDisposeFn((function(){var e=n.indexOf(i);-1!==e&&n.remove(e)})),i}},{key:"dispose",value:function(){_superPropGet(t,"dispose",this,3)([]),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}])}(gm),bm=((fm=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t))._componentFactoryResolver=e,a._viewContainerRef=n,a._isInitialized=!1,a.attached=new Wl,a.attachDomPortal=function(e){if(!a._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var n=e.element;if(!n.parentNode)throw Error("DOM portal content must be attached to a parent node.");var i=a._document.createComment("dom-portal");e.setAttachedHost(_assertThisInitialized(a)),n.parentNode.insertBefore(i,n),a._getRootNode().appendChild(n),_superPropGet((_assertThisInitialized(a),t),"setDisposeFn",a,3)([function(){i.parentNode&&i.parentNode.replaceChild(n,i)}])},a._document=i,a}return _inherits(t,e),_createClass(t,[{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&_superPropGet(t,"detach",this,3)([]),e&&_superPropGet(t,"attach",this,3)([e]),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){_superPropGet(t,"dispose",this,3)([]),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),a=n.createComponent(i,n.length,e.injector||n.injector);return n!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),_superPropGet(t,"setDisposeFn",this,3)([function(){return a.destroy()}]),this._attachedPortal=e,this._attachedRef=a,this.attached.emit(a),a}},{key:"attachTemplatePortal",value:function(e){var n=this;e.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return _superPropGet(t,"setDisposeFn",this,3)([function(){return n._viewContainerRef.clear()}]),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}])}(gm)).\u0275fac=function(e){return new(e||fm)(To(Us),To(gl),To(mc))},fm.\u0275dir=wt({type:fm,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ds]}),fm),km=((hm=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:hm}),hm.\u0275inj=me({factory:function(e){return new(e||hm)}}),hm),wm=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._parentInjector=t,this._customTokens=n}),[{key:"get",value:function(e,t){var n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)}}])}(),Cm=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}),[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Ih(-this._previousScrollPosition.left),e.style.top=Ih(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,i=t.scrollBehavior||"",a=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=i,n.scrollBehavior=a}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}])}();function xm(){return Error("Scroll strategy has already been attached.")}var Mm=function(){return _createClass((function e(t,n,i,a){var r=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=a,this._scrollSubscription=null,this._detach=function(){r.disable(),r._overlayRef.hasAttached()&&r._ngZone.run((function(){return r._overlayRef.detach()}))}}),[{key:"attach",value:function(e){if(this._overlayRef)throw xm();this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe((function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()}))):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}])}(),Dm=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}])}();function Sm(e,t){return t.some((function(t){return e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right}))}function Lm(e,t){return t.some((function(t){return e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right}))}var Tm,Am=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=a,this._scrollSubscription=null}),[{key:"attach",value:function(e){if(this._overlayRef)throw xm();this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),i=n.width,a=n.height;Sm(t,[{width:i,height:a,bottom:a,right:i,top:0,left:0}])&&(e.disable(),e._ngZone.run((function(){return e._overlayRef.detach()})))}})))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}])}(),Em=((Tm=_createClass((function e(t,n,i,a){var r=this;_classCallCheck(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new Dm},this.close=function(e){return new Mm(r._scrollDispatcher,r._ngZone,r._viewportRuler,e)},this.block=function(){return new Cm(r._viewportRuler,r._document)},this.reposition=function(e){return new Am(r._scrollDispatcher,r._viewportRuler,r._ngZone,e)},this._document=a}))).\u0275fac=function(e){return new(e||Tm)(Qe(om),Qe(lm),Qe(Pu),Qe(mc))},Tm.\u0275prov=fe({factory:function(){return new Tm(Qe(om),Qe(lm),Qe(Pu),Qe(mc))},token:Tm,providedIn:"root"}),Tm),Om=_createClass((function e(t){if(_classCallCheck(this,e),this.scrollStrategy=new Dm,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,i=Object.keys(t);n<i.length;n++){var a=i[n];void 0!==t[a]&&(this[a]=t[a])}})),Ym=_createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this.offsetX=i,this.offsetY=a,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY})),Pm=_createClass((function e(t,n){_classCallCheck(this,e),this.connectionPair=t,this.scrollableViewProperties=n}));function Im(e,t){if("top"!==t&&"bottom"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid ".concat(e,' "').concat(t,'". Expected "top", "bottom" or "center".'))}function Rm(e,t){if("start"!==t&&"end"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid ".concat(e,' "').concat(t,'". Expected "start", "end" or "center".'))}var Fm,jm,Hm=((Fm=function(){return _createClass((function e(t){var n=this;_classCallCheck(this,e),this._attachedOverlays=[],this._keydownListener=function(e){for(var t=n._attachedOverlays,i=t.length-1;i>-1;i--)if(t[i]._keydownEvents.observers.length>0){t[i]._keydownEvents.next(e);break}},this._document=t}),[{key:"ngOnDestroy",value:function(){this._detach()}},{key:"add",value:function(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(e)}},{key:"remove",value:function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()}},{key:"_detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}])}()).\u0275fac=function(e){return new(e||Fm)(Qe(mc))},Fm.\u0275prov=fe({factory:function(){return new Fm(Qe(mc))},token:Fm,providedIn:"root"}),Fm),Nm=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),zm=((jm=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._platform=n,this._document=t}),[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var e=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(e||Nm)for(var t=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]'),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);var i=this._document.createElement("div");i.classList.add("cdk-overlay-container"),Nm?i.setAttribute("platform","test"):e||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}])}()).\u0275fac=function(e){return new(e||jm)(Qe(mc),Qe(ih))},jm.\u0275prov=fe({factory:function(){return new jm(Qe(mc),Qe(ih))},token:jm,providedIn:"root"}),jm),Vm=function(){return _createClass((function e(t,n,i,a,r,o,s,l){var u=this;_classCallCheck(this,e),this._portalOutlet=t,this._host=n,this._pane=i,this._config=a,this._ngZone=r,this._keyboardDispatcher=o,this._document=s,this._location=l,this._backdropElement=null,this._backdropClick=new L,this._attachments=new L,this._detachments=new L,this._locationChanges=h.EMPTY,this._backdropClickHandler=function(e){return u._backdropClick.next(e)},this._keydownEvents=new L,a.scrollStrategy&&(this._scrollStrategy=a.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=a.positionStrategy}),[{key:"overlayElement",get:function(){return this._pane}},{key:"backdropElement",get:function(){return this._backdropElement}},{key:"hostElement",get:function(){return this._host}},{key:"attach",value:function(e){var t=this,n=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Lh(1)).subscribe((function(){t.hasAttached()&&t.updatePosition()})),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe((function(){return t.dispose()}))),n}},{key:"detach",value:function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),e}}},{key:"dispose",value:function(){var e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}},{key:"hasAttached",value:function(){return this._portalOutlet.hasAttached()}},{key:"backdropClick",value:function(){return this._backdropClick.asObservable()}},{key:"attachments",value:function(){return this._attachments.asObservable()}},{key:"detachments",value:function(){return this._detachments.asObservable()}},{key:"keydownEvents",value:function(){return this._keydownEvents.asObservable()}},{key:"getConfig",value:function(){return this._config}},{key:"updatePosition",value:function(){this._positionStrategy&&this._positionStrategy.apply()}},{key:"updatePositionStrategy",value:function(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}},{key:"updateSize",value:function(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}},{key:"setDirection",value:function(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}},{key:"addPanelClass",value:function(e){this._pane&&this._toggleClasses(this._pane,e,!0)}},{key:"removePanelClass",value:function(e){this._pane&&this._toggleClasses(this._pane,e,!1)}},{key:"getDirection",value:function(){var e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}},{key:"updateScrollStrategy",value:function(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}},{key:"_updateElementDirection",value:function(){this._host.setAttribute("dir",this.getDirection())}},{key:"_updateElementSize",value:function(){if(this._pane){var e=this._pane.style;e.width=Ih(this._config.width),e.height=Ih(this._config.height),e.minWidth=Ih(this._config.minWidth),e.minHeight=Ih(this._config.minHeight),e.maxWidth=Ih(this._config.maxWidth),e.maxHeight=Ih(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(e){this._pane.style.pointerEvents=e?"auto":"none"}},{key:"_attachBackdrop",value:function(){var e=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){e._backdropElement&&e._backdropElement.classList.add("cdk-overlay-backdrop-showing")}))})):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}},{key:"_updateStackingOrder",value:function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}},{key:"detachBackdrop",value:function(){var e,t=this,n=this._backdropElement;if(n){var i=function(){n&&(n.removeEventListener("click",t._backdropClickHandler),n.removeEventListener("transitionend",i),n.parentNode&&n.parentNode.removeChild(n)),t._backdropElement==n&&(t._backdropElement=null),t._config.backdropClass&&t._toggleClasses(n,t._config.backdropClass,!1),clearTimeout(e)};n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular((function(){n.addEventListener("transitionend",i)})),n.style.pointerEvents="none",e=this._ngZone.runOutsideAngular((function(){return setTimeout(i,500)}))}}},{key:"_toggleClasses",value:function(e,t,n){var i=e.classList;Ph(t).forEach((function(e){e&&(n?i.add(e):i.remove(e))}))}},{key:"_detachContentWhenStable",value:function(){var e=this;this._ngZone.runOutsideAngular((function(){var t=e._ngZone.onStable.asObservable().pipe(Ff(J(e._attachments,e._detachments))).subscribe((function(){e._pane&&e._host&&0!==e._pane.children.length||(e._pane&&e._config.panelClass&&e._toggleClasses(e._pane,e._config.panelClass,!1),e._host&&e._host.parentElement&&(e._previousHostParent=e._host.parentElement,e._previousHostParent.removeChild(e._host)),t.unsubscribe())}))}))}},{key:"_disposeScrollStrategy",value:function(){var e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}])}(),Bm=/([A-Za-z%]+)$/,Wm=function(){return _createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this._viewportRuler=n,this._document=i,this._platform=a,this._overlayContainer=r,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new L,this._resizeSubscription=h.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(t)}),[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(e){var t=this;if(this._overlayRef&&e!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe((function(){t._isInitialRender=!0,t.apply()}))}},{key:"apply",value:function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var e,t,n=this._originRect,i=this._overlayRect,a=this._viewportRect,r=[],o=_createForOfIteratorHelper(this._preferredPositions);try{for(o.s();!(t=o.n()).done;){var s=t.value,l=this._getOriginPoint(n,s),u=this._getOverlayPoint(l,i,s),c=this._getOverlayFit(u,i,a,s);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,l);this._canFitWithFlexibleDimensions(c,u,a)?r.push({position:s,origin:l,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(l,s)}):(!e||e.overlayFit.visibleArea<c.visibleArea)&&(e={overlayFit:c,overlayPoint:u,originPoint:l,position:s,overlayRect:i})}}catch(v){o.e(v)}finally{o.f()}if(r.length){var d,h=null,f=-1,m=_createForOfIteratorHelper(r);try{for(m.s();!(d=m.n()).done;){var p=d.value,_=p.boundingBoxRect.width*p.boundingBoxRect.height*(p.position.weight||1);_>f&&(f=_,h=p)}}catch(v){m.e(v)}finally{m.f()}return this._isPushed=!1,void this._applyPosition(h.position,h.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&Um(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var i=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;n="start"==t.originX?i:a}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var i,a;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,a="center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height,{x:e.x+i,y:e.y+a}}},{key:"_getOverlayFit",value:function(e,t,n,i){var a=e.x,r=e.y,o=this._getOffset(i,"x"),s=this._getOffset(i,"y");o&&(a+=o),s&&(r+=s);var l=0-r,u=r+t.height-n.height,c=this._subtractOverflows(t.width,0-a,a+t.width-n.width),d=this._subtractOverflows(t.height,l,u),h=c*d;return{visibleArea:h,isCompletelyWithinViewport:t.width*t.height===h,fitsInViewportVertically:d===t.height,fitsInViewportHorizontally:c==t.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,a=n.right-t.x,r=qm(this._overlayRef.getConfig().minHeight),o=qm(this._overlayRef.getConfig().minWidth),s=e.fitsInViewportHorizontally||null!=o&&o<=a;return(e.fitsInViewportVertically||null!=r&&r<=i)&&s}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var i,a,r=this._viewportRect,o=Math.max(e.x+t.width-r.right,0),s=Math.max(e.y+t.height-r.bottom,0),l=Math.max(r.top-n.top-e.y,0),u=Math.max(r.left-n.left-e.x,0);return i=t.width<=r.width?u||-o:e.x<this._viewportMargin?r.left-n.left-e.x:0,a=t.height<=r.height?l||-s:e.y<this._viewportMargin?r.top-n.top-e.y:0,this._previousPushAmount={x:i,y:a},{x:e.x+i,y:e.y+a}}},{key:"_applyPosition",value:function(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){var n=this._getScrollVisibility(),i=new Pm(e,n);this._positionChanges.next(i)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(e){if(this._transformOriginSelector){var t,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),i=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var a=0;a<n.length;a++)n[a].style.transformOrigin="".concat(t," ").concat(i)}}},{key:"_calculateBoundingBoxRect",value:function(e,t){var n,i,a,r,o,s,l=this._viewportRect,u=this._isRtl();if("top"===t.overlayY)i=e.y,n=l.height-i+this._viewportMargin;else if("bottom"===t.overlayY)a=l.height-e.y+2*this._viewportMargin,n=l.height-a+this._viewportMargin;else{var c=Math.min(l.bottom-e.y+l.top,e.y),d=this._lastBoundingBoxSize.height;n=2*c,i=e.y-c,n>d&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-d/2)}if("end"===t.overlayX&&!u||"start"===t.overlayX&&u)s=l.width-e.x+this._viewportMargin,r=e.x-this._viewportMargin;else if("start"===t.overlayX&&!u||"end"===t.overlayX&&u)o=e.x,r=l.right-e.x;else{var h=Math.min(l.right-e.x+l.left,e.x),f=this._lastBoundingBoxSize.width;r=2*h,o=e.x-h,r>f&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.x-f/2)}return{top:i,left:o,bottom:a,right:s,width:r,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var a=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=Ih(n.height),i.top=Ih(n.top),i.bottom=Ih(n.bottom),i.width=Ih(n.width),i.left=Ih(n.left),i.right=Ih(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",a&&(i.maxHeight=Ih(a)),r&&(i.maxWidth=Ih(r))}this._lastBoundingBoxSize=n,Um(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){Um(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){Um(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},i=this._hasExactPosition(),a=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(i){var o=this._viewportRuler.getViewportScrollPosition();Um(n,this._getExactOverlayY(t,e,o)),Um(n,this._getExactOverlayX(t,e,o))}else n.position="static";var s="",l=this._getOffset(t,"x"),u=this._getOffset(t,"y");l&&(s+="translateX(".concat(l,"px) ")),u&&(s+="translateY(".concat(u,"px)")),n.transform=s.trim(),r.maxHeight&&(i?n.maxHeight=Ih(r.maxHeight):a&&(n.maxHeight="")),r.maxWidth&&(i?n.maxWidth=Ih(r.maxWidth):a&&(n.maxWidth="")),Um(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var i={top:"",bottom:""},a=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n));var r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return a.y-=r,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(a.y+this._overlayRect.height)+"px":i.top=Ih(a.y),i}},{key:"_getExactOverlayX",value:function(e,t,n){var i={left:"",right:""},a=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(a=this._pushOverlayOnScreen(a,this._overlayRect,n)),"right"===(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(a.x+this._overlayRect.width)+"px":i.left=Ih(a.x),i}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(e){return e.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:Lm(e,n),isOriginOutsideView:Sm(e,n),isOverlayClipped:Lm(t,n),isOverlayOutsideView:Sm(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.reduce((function(e,t){return e-Math.max(t,0)}),e)}},{key:"_getNarrowedViewportRect",value:function(){var e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}},{key:"_isRtl",value:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"_hasExactPosition",value:function(){return!this._hasFlexibleDimensions||this._isPushed}},{key:"_getOffset",value:function(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}},{key:"_validatePositions",value:function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach((function(e){Rm("originX",e.originX),Im("originY",e.originY),Rm("overlayX",e.overlayX),Im("overlayY",e.overlayY)}))}},{key:"_addPanelClasses",value:function(e){var t=this;this._pane&&Ph(e).forEach((function(e){""!==e&&-1===t._appliedPanelClasses.indexOf(e)&&(t._appliedPanelClasses.push(e),t._pane.classList.add(e))}))}},{key:"_clearPanelClasses",value:function(){var e=this;this._pane&&(this._appliedPanelClasses.forEach((function(t){e._pane.classList.remove(t)})),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var e=this._origin;if(e instanceof qs)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();var t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}}])}();function Um(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function qm(e){if("number"!=typeof e&&null!=e){var t=_slicedToArray(e.split(Bm),2),n=t[0],i=t[1];return i&&"px"!==i?null:parseFloat(n)}return e||null}var Gm,Zm,Jm,Km,Qm,Xm,$m,ep,tp,np=function(){return _createClass((function e(t,n,i,a,r,o,s){_classCallCheck(this,e),this._preferredPositions=[],this._positionStrategy=new Wm(i,a,r,o,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,n)}),[{key:"_isRtl",get:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"onPositionChange",get:function(){return this._positionStrategy.positionChanges}},{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}},{key:"dispose",value:function(){this._positionStrategy.dispose()}},{key:"detach",value:function(){this._positionStrategy.detach()}},{key:"apply",value:function(){this._positionStrategy.apply()}},{key:"recalculateLastPosition",value:function(){this._positionStrategy.reapplyLastPosition()}},{key:"withScrollableContainers",value:function(e){this._positionStrategy.withScrollableContainers(e)}},{key:"withFallbackPosition",value:function(e,t,n,i){var a=new Ym(e,t,n,i);return this._preferredPositions.push(a),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"withDirection",value:function(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}},{key:"withOffsetX",value:function(e){return this._positionStrategy.withDefaultOffsetX(e),this}},{key:"withOffsetY",value:function(e){return this._positionStrategy.withDefaultOffsetY(e),this}},{key:"withLockedPosition",value:function(e){return this._positionStrategy.withLockedPosition(e),this}},{key:"withPositions",value:function(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"setOrigin",value:function(e){return this._positionStrategy.setOrigin(e),this}}])}(),ip=function(){return _createClass((function e(){_classCallCheck(this,e),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}),[{key:"attach",value:function(e){var t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}},{key:"top",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,a=n.height,r=n.maxWidth,o=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||r&&"100%"!==r&&"100vw"!==r),l=!("100%"!==a&&"100vh"!==a||o&&"100%"!==o&&"100vh"!==o);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=l?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}])}(),ap=((Zm=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=a}),[{key:"global",value:function(){return new ip}},{key:"connectedTo",value:function(e,t,n){return new np(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new Wm(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}])}()).\u0275fac=function(e){return new(e||Zm)(Qe(lm),Qe(mc),Qe(ih),Qe(zm))},Zm.\u0275prov=fe({factory:function(){return new Zm(Qe(lm),Qe(mc),Qe(ih),Qe(zm))},token:Zm,providedIn:"root"}),Zm),rp=0,op=((Gm=function(){return _createClass((function e(t,n,i,a,r,o,s,l,u,c){_classCallCheck(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=a,this._keyboardDispatcher=r,this._injector=o,this._ngZone=s,this._document=l,this._directionality=u,this._location=c}),[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),a=new Om(e);return a.direction=a.direction||this._directionality.value,new Vm(i,t,n,a,this._ngZone,this._keyboardDispatcher,this._document,this._location)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+rp++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(ec)),new ym(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}])}()).\u0275fac=function(e){return new(e||Gm)(Qe(Em),Qe(zm),Qe(Us),Qe(ap),Qe(Hm),Qe(uo),Qe(Pu),Qe(mc),Qe(Jf),Qe(Pc,8))},Gm.\u0275prov=fe({token:Gm,factory:Gm.\u0275fac}),Gm),sp=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],lp=new Ve("cdk-connected-overlay-scroll-strategy"),up=((Km=_createClass((function e(t){_classCallCheck(this,e),this.elementRef=t}))).\u0275fac=function(e){return new(e||Km)(To(qs))},Km.\u0275dir=wt({type:Km,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),Km),cp=((Jm=function(){return _createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this._overlay=t,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new Wl,this.positionChange=new Wl,this.attach=new Wl,this.detach=new Wl,this.overlayKeydown=new Wl,this._templatePortal=new _m(n,i),this._scrollStrategyFactory=a,this.scrollStrategy=this._scrollStrategyFactory()}),[{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=Eh(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=Eh(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=Eh(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=Eh(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=Eh(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}},{key:"ngOnChanges",value:function(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var e=this;this.positions&&this.positions.length||(this.positions=sp),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe((function(t){e.overlayKeydown.next(t),27!==t.keyCode||ch(t)||(t.preventDefault(),e._detachOverlay())}))}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new Om({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}},{key:"_updatePositionStrategy",value:function(e){var t=this,n=this.positions.map((function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}}));return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this,t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe((function(t){return e.positionChange.emit(t)})),t}},{key:"_attachOverlay",value:function(){var e=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((function(t){e.backdropClick.emit(t)})):this._backdropSubscription.unsubscribe()}},{key:"_detachOverlay",value:function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}])}()).\u0275fac=function(e){return new(e||Jm)(To(op),To(_l),To(gl),To(lp),To(Jf,8))},Jm.\u0275dir=wt({type:Jm,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown"},exportAs:["cdkConnectedOverlay"],features:[Os]}),Jm),dp={provide:lp,deps:[op],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},hp=((Qm=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:Qm}),Qm.\u0275inj=me({factory:function(e){return new(e||Qm)},providers:[op,dp],imports:[[Kf,km,cm],cm]}),Qm),fp=new $s("9.2.4"),mp=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"getProperty",value:function(e,t){return e[t]}},{key:"log",value:function(e){window.console&&window.console.log&&window.console.log(e)}},{key:"logGroup",value:function(e){window.console&&window.console.group&&window.console.group(e)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"getValue",value:function(e){return e.value}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(e){var t,n=pp||(pp=document.querySelector("base"))?pp.getAttribute("href"):null;return null==n?null:(t=n,Xm||(Xm=document.createElement("a")),Xm.setAttribute("href",t),"/"===Xm.pathname.charAt(0)?Xm.pathname:"/"+Xm.pathname)}},{key:"resetBaseElement",value:function(){pp=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(e){return fd(document.cookie,e)}}],[{key:"makeCurrent",value:function(){var e;e=new t,dc||(dc=e)}}])}(function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t)}return _inherits(t,e),_createClass(t,[{key:"supportsDOMEvents",value:function(){return!0}}])}(_createClass((function e(){_classCallCheck(this,e)})))),pp=null,_p=new Ve("TRANSITION_ID"),vp=[{provide:hu,useFactory:function(e,t,n){return function(){n.get(fu).donePromise.then((function(){var n=hc();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter((function(t){return t.getAttribute("ng-transition")===e})).forEach((function(e){return n.remove(e)}))}))}},deps:[_p,mc,uo],multi:!0}],gp=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){Pe.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},Pe.getAllAngularTestabilities=function(){return e.getAllTestabilities()},Pe.getAllAngularRootElements=function(){return e.getAllRootElements()},Pe.frameworkStabilizers||(Pe.frameworkStabilizers=[]),Pe.frameworkStabilizers.push((function(e){var t=Pe.getAllAngularTestabilities(),n=t.length,i=!1,a=function(t){i=i||t,0==--n&&e(i)};t.forEach((function(e){e.whenStable(a)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?hc().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){var t;t=new e,Uu=t}}])}(),yp=new Ve("EventManagerPlugins"),bp=(($m=function(){return _createClass((function e(t,n){var i=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=i})),this._plugins=t.slice().reverse()}),[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,i=0;i<n.length;i++){var a=n[i];if(a.supports(e))return this._eventNameToPlugin.set(e,a),a}throw new Error("No event manager plugin found for event "+e)}}])}()).\u0275fac=function(e){return new(e||$m)(Qe(yp),Qe(Pu))},$m.\u0275prov=fe({token:$m,factory:$m.\u0275fac}),$m),kp=function(){return _createClass((function e(t){_classCallCheck(this,e),this._doc=t}),[{key:"addGlobalEventListener",value:function(e,t,n){var i=hc().getGlobalEventTarget(this._doc,e);if(!i)throw new Error("Unsupported event target ".concat(i," for event ").concat(t));return this.addEventListener(i,t,n)}}])}(),wp=((tp=function(){return _createClass((function e(){_classCallCheck(this,e),this._stylesSet=new Set}),[{key:"addStyles",value:function(e){var t=this,n=new Set;e.forEach((function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))})),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(e){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}])}()).\u0275fac=function(e){return new(e||tp)},tp.\u0275prov=fe({token:tp,factory:tp.\u0275fac}),tp),Cp=((ep=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t))._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return _inherits(t,e),_createClass(t,[{key:"_addStylesToHost",value:function(e,t){var n=this;e.forEach((function(e){var i=n._doc.createElement("style");i.textContent=e,n._styleNodes.add(t.appendChild(i))}))}},{key:"addHost",value:function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}},{key:"removeHost",value:function(e){this._hostNodes.delete(e)}},{key:"onStylesAdded",value:function(e){var t=this;this._hostNodes.forEach((function(n){return t._addStylesToHost(e,n)}))}},{key:"ngOnDestroy",value:function(){this._styleNodes.forEach((function(e){return hc().remove(e)}))}}])}(wp)).\u0275fac=function(e){return new(e||ep)(Qe(mc))},ep.\u0275prov=fe({token:ep,factory:ep.\u0275fac}),ep),xp={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Mp=/%COMP%/g;function Dp(e,t,n){for(var i=0;i<t.length;i++){var a=t[i];Array.isArray(a)?Dp(e,a,n):(a=a.replace(Mp,e),n.push(a))}return n}function Sp(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var Lp,Tp,Ap,Ep,Op,Yp,Pp=((Lp=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Ip(t)}),[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case ht.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Rp(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case ht.Native:case ht.ShadowDom:return new Fp(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var i=Dp(t.id,t.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}])}()).\u0275fac=function(e){return new(e||Lp)(Qe(bp),Qe(Cp),Qe(mu))},Lp.\u0275prov=fe({token:Lp,factory:Lp.\u0275fac}),Lp),Ip=function(){return _createClass((function e(t){_classCallCheck(this,e),this.eventManager=t,this.data=Object.create(null)}),[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(xp[t]||t,e):document.createElement(e)}},{key:"createComment",value:function(e){return document.createComment(e)}},{key:"createText",value:function(e){return document.createTextNode(e)}},{key:"appendChild",value:function(e,t){e.appendChild(t)}},{key:"insertBefore",value:function(e,t,n){e&&e.insertBefore(t,n)}},{key:"removeChild",value:function(e,t){e&&e.removeChild(t)}},{key:"selectRootElement",value:function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'.concat(e,'" did not match any elements'));return t||(n.textContent=""),n}},{key:"parentNode",value:function(e){return e.parentNode}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"setAttribute",value:function(e,t,n,i){if(i){t=i+":"+t;var a=xp[i];a?e.setAttributeNS(a,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}},{key:"removeAttribute",value:function(e,t,n){if(n){var i=xp[n];i?e.removeAttributeNS(i,t):e.removeAttribute("".concat(n,":").concat(t))}else e.removeAttribute(t)}},{key:"addClass",value:function(e,t){e.classList.add(t)}},{key:"removeClass",value:function(e,t){e.classList.remove(t)}},{key:"setStyle",value:function(e,t,n,i){i&Js.DashCase?e.style.setProperty(t,n,i&Js.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&Js.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Sp(n)):this.eventManager.addEventListener(e,t,Sp(n))}}])}(),Rp=function(e){function t(e,n,i,a){var r;_classCallCheck(this,t),(r=_callSuper(this,t,[e])).component=i;var o,s=Dp(a+"-"+i.id,i.styles,[]);return n.addStyles(s),r.contentAttr="_ngcontent-%COMP%".replace(Mp,a+"-"+i.id),r.hostAttr=(o=a+"-"+i.id,"_nghost-%COMP%".replace(Mp,o)),r}return _inherits(t,e),_createClass(t,[{key:"applyToHost",value:function(e){_superPropGet(t,"setAttribute",this,3)([e,this.hostAttr,""])}},{key:"createElement",value:function(e,n){var i=_superPropGet(t,"createElement",this,3)([e,n]);return _superPropGet(t,"setAttribute",this,3)([i,this.contentAttr,""]),i}}])}(Ip),Fp=function(e){function t(e,n,i,a){var r;_classCallCheck(this,t),(r=_callSuper(this,t,[e])).sharedStylesHost=n,r.hostEl=i,r.component=a,r.shadowRoot=a.encapsulation===ht.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),r.sharedStylesHost.addHost(r.shadowRoot);for(var o=Dp(a.id,a.styles,[]),s=0;s<o.length;s++){var l=document.createElement("style");l.textContent=o[s],r.shadowRoot.appendChild(l)}return r}return _inherits(t,e),_createClass(t,[{key:"nodeOrShadowRoot",value:function(e){return e===this.hostEl?this.shadowRoot:e}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(e,n){return _superPropGet(t,"appendChild",this,3)([this.nodeOrShadowRoot(e),n])}},{key:"insertBefore",value:function(e,n,i){return _superPropGet(t,"insertBefore",this,3)([this.nodeOrShadowRoot(e),n,i])}},{key:"removeChild",value:function(e,n){return _superPropGet(t,"removeChild",this,3)([this.nodeOrShadowRoot(e),n])}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(_superPropGet(t,"parentNode",this,3)([this.nodeOrShadowRoot(e)]))}}])}(Ip),jp=((Tp=function(e){function t(e){return _classCallCheck(this,t),_callSuper(this,t,[e])}return _inherits(t,e),_createClass(t,[{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var i=this;return e.addEventListener(t,n,!1),function(){return i.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){return e.removeEventListener(t,n)}}])}(kp)).\u0275fac=function(e){return new(e||Tp)(Qe(mc))},Tp.\u0275prov=fe({token:Tp,factory:Tp.\u0275fac}),Tp),Hp=["alt","control","meta","shift"],Np={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},zp={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Vp={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Bp=((Op=function(e){function t(e){return _classCallCheck(this,t),_callSuper(this,t,[e])}return _inherits(t,e),_createClass(t,[{key:"supports",value:function(e){return null!=t.parseEventName(e)}},{key:"addEventListener",value:function(e,n,i){var a=t.parseEventName(n),r=t.eventCallback(a.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return hc().onAndCancel(e,a.domEventName,r)}))}}],[{key:"parseEventName",value:function(e){var n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;var a=t._normalizeKey(n.pop()),r="";if(Hp.forEach((function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r+=e+".")})),r+=a,0!=n.length||0===a.length)return null;var o={};return o.domEventName=i,o.fullKey=r,o}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&zp.hasOwnProperty(t)&&(t=zp[t]))}return Np[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Hp.forEach((function(i){i!=n&&(0,Vp[i])(e)&&(t+=i+".")})),t+=n}},{key:"eventCallback",value:function(e,n,i){return function(a){t.getEventFullKey(a)===e&&i.runGuarded((function(){return n(a)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}])}(kp)).\u0275fac=function(e){return new(e||Op)(Qe(mc))},Op.\u0275prov=fe({token:Op,factory:Op.\u0275fac}),Op),Wp=((Ep=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||Ep)},Ep.\u0275prov=fe({factory:function(){return Qe(Up)},token:Ep,providedIn:"root"}),Ep),Up=((Ap=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t))._doc=e,n}return _inherits(t,e),_createClass(t,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case Ki.NONE:return t;case Ki.HTML:return xi(t,"HTML")?Ci(t):function(e,t){var n=null;try{Ii=Ii||new Ti(e);var i=t?String(t):"";n=Ii.getInertBodyElement(i);var a=5,r=i;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,i=r,r=n.innerHTML,n=Ii.getInertBodyElement(i)}while(i!==r);var o=new Ui,s=o.sanitizeChildren(Ji(n)||n);return Li()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var l=Ji(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}(this._doc,String(t));case Ki.STYLE:return xi(t,"Style")?Ci(t):function(e){if(!(e=String(e).trim()))return"";var t=e.match(Xi);return t&&Oi(t[1])===t[1]||e.match(Qi)&&function(e){for(var t=!0,n=!0,i=0;i<e.length;i++){var a=e.charAt(i);"'"===a&&n?t=!t:'"'===a&&t&&(n=!n)}return t&&n}(e)?e:(Li()&&console.warn("WARNING: sanitizing unsafe style value ".concat(e," (see http://g.co/ng/security#xss).")),"unsafe")}(t);case Ki.SCRIPT:if(xi(t,"Script"))return Ci(t);throw new Error("unsafe value used in a script context");case Ki.URL:return Mi(t),xi(t,"URL")?Ci(t):Oi(String(t));case Ki.RESOURCE_URL:if(xi(t,"ResourceURL"))return Ci(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return new gi(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return new yi(e)}},{key:"bypassSecurityTrustScript",value:function(e){return new bi(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return new ki(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return new wi(e)}}])}(Wp)).\u0275fac=function(e){return new(e||Ap)(Qe(mc))},Ap.\u0275prov=fe({factory:function(){return e=Qe(Be),new Up(e.get(mc));var e},token:Ap,providedIn:"root"}),Ap),qp=Ju(sc,"browser",[{provide:gu,useValue:"browser"},{provide:vu,useValue:function(){mp.makeCurrent(),gp.init()},multi:!0},{provide:mc,useFactory:function(){return function(e){Pt=e}(document),document},deps:[]}]),Gp=[[],{provide:Jr,useValue:"root"},{provide:_i,useFactory:function(){return new _i},deps:[]},{provide:yp,useClass:jp,multi:!0,deps:[mc,Pu,gu]},{provide:yp,useClass:Bp,multi:!0,deps:[mc]},[],{provide:Pp,useClass:Pp,deps:[bp,Cp,mu]},{provide:Zs,useExisting:Pp},{provide:wp,useExisting:Cp},{provide:Cp,useClass:Cp,deps:[mc]},{provide:Bu,useClass:Bu,deps:[Pu]},{provide:bp,useClass:bp,deps:[yp,Pu]},[]],Zp=((Yp=function(){function e(t){if(_classCallCheck(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:mu,useValue:t.appId},{provide:_p,useExisting:mu},vp]}}}])}()).\u0275mod=bt({type:Yp}),Yp.\u0275inj=me({factory:function(e){return new(e||Yp)(Qe(Yp,12))},providers:Gp,imports:[Vd,uc]}),Yp);function Jp(){return new Qp(Qe(mc))}var Kp,Qp=((Kp=function(){return _createClass((function e(t){_classCallCheck(this,e),this._doc=t,this._dom=hc()}),[{key:"addTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?this._getOrCreateElement(e,t):null}},{key:"addTags",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?e.reduce((function(e,i){return i&&e.push(t._getOrCreateElement(i,n)),e}),[]):[]}},{key:"getTag",value:function(e){return e&&this._doc.querySelector("meta[".concat(e,"]"))||null}},{key:"getTags",value:function(e){if(!e)return[];var t=this._doc.querySelectorAll("meta[".concat(e,"]"));return t?[].slice.call(t):[]}},{key:"updateTag",value:function(e,t){if(!e)return null;t=t||this._parseSelector(e);var n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}},{key:"removeTag",value:function(e){this.removeTagElement(this.getTag(e))}},{key:"removeTagElement",value:function(e){e&&this._dom.remove(e)}},{key:"_getOrCreateElement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t){var n=this._parseSelector(e),i=this.getTag(n);if(i&&this._containsAttributes(e,i))return i}var a=this._dom.createElement("meta");return this._setMetaElementAttributes(e,a),this._doc.getElementsByTagName("head")[0].appendChild(a),a}},{key:"_setMetaElementAttributes",value:function(e,t){return Object.keys(e).forEach((function(n){return t.setAttribute(n,e[n])})),t}},{key:"_parseSelector",value:function(e){var t=e.name?"name":"property";return"".concat(t,'="').concat(e[t],'"')}},{key:"_containsAttributes",value:function(e,t){return Object.keys(e).every((function(n){return t.getAttribute(n)===e[n]}))}}])}()).\u0275fac=function(e){return new(e||Kp)(Qe(mc))},Kp.\u0275prov=fe({factory:Jp,token:Kp,providedIn:"root"}),Kp);function Xp(){return new e_(Qe(mc))}var $p,e_=(($p=function(){return _createClass((function e(t){_classCallCheck(this,e),this._doc=t}),[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(e){this._doc.title=e||""}}])}()).\u0275fac=function(e){return new(e||$p)(Qe(mc))},$p.\u0275prov=fe({factory:Xp,token:$p,providedIn:"root"}),$p);"undefined"!=typeof window&&window;var t_=_createClass((function e(){_classCallCheck(this,e)}));function n_(e,t){return{type:7,name:e,definitions:t,options:{}}}function i_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function a_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function r_(e){return{type:6,styles:e,offset:null}}function o_(e,t,n){return{type:0,name:e,styles:t,options:n}}function s_(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function l_(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function u_(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:n}}function c_(e){Promise.resolve(null).then(e)}var d_=function(){return _createClass((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+n}),[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;c_((function(){return e._onFinish()}))}},{key:"_onStart",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(e){}},{key:"getPosition",value:function(){return 0}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}])}(),h_=function(){return _createClass((function e(t){var n=this;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var i=0,a=0,r=0,o=this.players.length;0==o?c_((function(){return n._onFinish()})):this.players.forEach((function(e){e.onDone((function(){++i==o&&n._onFinish()})),e.onDestroy((function(){++a==o&&n._onDestroy()})),e.onStart((function(){++r==o&&n._onStart()}))})),this.totalTime=this.players.reduce((function(e,t){return Math.max(e,t.totalTime)}),0)}),[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach((function(e){return e.init()}))}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(e){return e.play()}))}},{key:"pause",value:function(){this.players.forEach((function(e){return e.pause()}))}},{key:"restart",value:function(){this.players.forEach((function(e){return e.restart()}))}},{key:"finish",value:function(){this._onFinish(),this.players.forEach((function(e){return e.finish()}))}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(e){return e.destroy()})),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach((function(e){return e.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach((function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)}))}},{key:"getPosition",value:function(){var e=0;return this.players.forEach((function(t){var n=t.getPosition();e=Math.min(n,e)})),e}},{key:"beforeDestroy",value:function(){this.players.forEach((function(e){e.beforeDestroy&&e.beforeDestroy()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}])}();function f_(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function m_(e){switch(e.length){case 0:return new d_;case 1:return e[0];default:return new h_(e)}}function p_(e,t,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=[],s=[],l=-1,u=null;if(i.forEach((function(e){var n=e.offset,i=n==l,c=i&&u||{};Object.keys(e).forEach((function(n){var i=n,s=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,o),s){case"!":s=a[n];break;case"*":s=r[n];break;default:s=t.normalizeStyleValue(n,i,s,o)}c[i]=s})),i||s.push(c),u=c,l=n})),o.length){var c="\n - ";throw new Error("Unable to animate due to the following errors:".concat(c).concat(o.join(c)))}return s}function __(e,t,n,i){switch(t){case"start":e.onStart((function(){return i(n&&v_(n,"start",e))}));break;case"done":e.onDone((function(){return i(n&&v_(n,"done",e))}));break;case"destroy":e.onDestroy((function(){return i(n&&v_(n,"destroy",e))}))}}function v_(e,t,n){var i=n.totalTime,a=g_(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),r=e._data;return null!=r&&(a._data=r),a}function g_(e,t,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:i,phaseName:a,totalTime:r,disabled:!!o}}function y_(e,t,n){var i;return e instanceof Map?(i=e.get(t))||e.set(t,i=n):(i=e[t])||(i=e[t]=n),i}function b_(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var k_=function(e,t){return!1},w_=function(e,t){return!1},C_=function(e,t,n){return[]},x_=f_();(x_||"undefined"!=typeof Element)&&(k_=function(e,t){return e.contains(t)},w_=function(){if(x_||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:w_}(),C_=function(e,t,n){var i=[];if(n)i.push.apply(i,_toConsumableArray(e.querySelectorAll(t)));else{var a=e.querySelector(t);a&&i.push(a)}return i});var M_=null,D_=!1;function S_(e){M_||(M_=("undefined"!=typeof document?document.body:null)||{},D_=!!M_.style&&"WebkitAppearance"in M_.style);var t=!0;return M_.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in M_.style)&&D_)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in M_.style),t}var L_=w_,T_=k_,A_=C_;function E_(e){var t={};return Object.keys(e).forEach((function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]})),t}var O_,Y_=((O_=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"validateStyleProperty",value:function(e){return S_(e)}},{key:"matchesElement",value:function(e,t){return L_(e,t)}},{key:"containsElement",value:function(e,t){return T_(e,t)}},{key:"query",value:function(e,t,n){return A_(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,i,a){return arguments.length>5&&void 0!==arguments[5]&&arguments[5],arguments.length>6&&arguments[6],new d_(n,i)}}])}()).\u0275fac=function(e){return new(e||O_)},O_.\u0275prov=fe({token:O_,factory:O_.\u0275fac}),O_),P_=function(){var e=_createClass((function e(){_classCallCheck(this,e)}));return e.NOOP=new Y_,e}();function I_(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:R_(parseFloat(t[1]),t[2])}function R_(e,t){switch(t){case"s":return 1e3*e;default:return e}}function F_(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var i,a=0,r="";if("string"==typeof e){var o=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};i=R_(parseFloat(o[1]),o[2]);var s=o[3];null!=s&&(a=R_(parseFloat(s),o[4]));var l=o[5];l&&(r=l)}else i=e;if(!n){var u=!1,c=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),a<0&&(t.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&t.splice(c,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:i,delay:a,easing:r}}(e,t,n)}function j_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}function H_(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var i in e)n[i]=e[i];else j_(e,n);return n}function N_(e,t,n){return n?t+":"+n+";":""}function z_(e){for(var t="",n=0;n<e.style.length;n++){var i=e.style.item(n);t+=N_(0,i,e.style.getPropertyValue(i))}for(var a in e.style)e.style.hasOwnProperty(a)&&!a.startsWith("_")&&(t+=N_(0,a.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[a]));e.setAttribute("style",t)}function V_(e,t,n){e.style&&(Object.keys(t).forEach((function(i){var a=K_(i);n&&!n.hasOwnProperty(i)&&(n[i]=e.style[a]),e.style[a]=t[i]})),f_()&&z_(e))}function B_(e,t){e.style&&(Object.keys(t).forEach((function(t){var n=K_(t);e.style[n]=""})),f_()&&z_(e))}function W_(e){return Array.isArray(e)?1==e.length?e[0]:a_(e):e}var U_=new RegExp("{{\\s*(.+?)\\s*}}","g");function q_(e){var t=[];if("string"==typeof e){for(var n;n=U_.exec(e);)t.push(n[1]);U_.lastIndex=0}return t}function G_(e,t,n){var i=e.toString(),a=i.replace(U_,(function(e,i){var a=t[i];return t.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),a=""),a.toString()}));return a==i?e:a}function Z_(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var J_=/-+([a-z0-9])/g;function K_(e){return e.replace(J_,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()}))}function Q_(e,t){return 0===e||0===t}function X_(e,t,n){var i=Object.keys(n);if(i.length&&t.length){var a=t[0],r=[];if(i.forEach((function(e){a.hasOwnProperty(e)||r.push(e),a[e]=n[e]})),r.length)for(var o=function(){var n=t[s];r.forEach((function(t){n[t]=ev(e,t)}))},s=1;s<t.length;s++)o()}return t}function $_(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function ev(e,t){return window.getComputedStyle(e)[t]}var tv=new Set(["true","1"]),nv=new Set(["false","0"]);function iv(e,t){var n=tv.has(e)||nv.has(e),i=tv.has(t)||nv.has(t);return function(a,r){var o="*"==e||e==a,s="*"==t||t==r;return!o&&n&&"boolean"==typeof a&&(o=a?tv.has(e):nv.has(e)),!s&&i&&"boolean"==typeof r&&(s=r?tv.has(t):nv.has(t)),o&&s}}var av=new RegExp("s*:selfs*,?","g");function rv(e,t,n){return new ov(e).build(t,n)}var ov=function(){return _createClass((function e(t){_classCallCheck(this,e),this._driver=t}),[{key:"build",value:function(e,t){var n=new sv(t);return this._resetContextStyleTimingState(n),$_(this,W_(e),n)}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}},{key:"visitTrigger",value:function(e,t){var n=this,i=t.queryCount=0,a=t.depCount=0,r=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach((function(e){if(n._resetContextStyleTimingState(t),0==e.type){var s=e,l=s.name;l.toString().split(/\s*,\s*/).forEach((function(e){s.name=e,r.push(n.visitState(s,t))})),s.name=l}else if(1==e.type){var u=n.visitTransition(e,t);i+=u.queryCount,a+=u.depCount,o.push(u)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:e.name,states:r,transitions:o,queryCount:i,depCount:a,options:null}}},{key:"visitState",value:function(e,t){var n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){var a=new Set,r=i||{};if(n.styles.forEach((function(e){if(lv(e)){var t=e;Object.keys(t).forEach((function(e){q_(t[e]).forEach((function(e){r.hasOwnProperty(e)||a.add(e)}))}))}})),a.size){var o=Z_(a.values());t.errors.push('state("'.concat(e.name,'", ...) must define default values for all the following style substitutions: ').concat(o.join(", ")))}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var n,i,a,r=$_(this,W_(e.animation),t);return{type:1,matchers:(n=e.expr,i=t.errors,a=[],"string"==typeof n?n.split(/\s*,\s*/).forEach((function(e){return function(e,t,n){if(":"==e[0]){var i=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};default:return t.push('The transition alias value "'.concat(e,'" is not supported')),"* => *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}var a=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==a||a.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var r=a[1],o=a[2],s=a[3];t.push(iv(r,s)),"<"!=o[0]||"*"==r&&"*"==s||t.push(iv(s,r))}(e,a,i)})):a.push(n),a),animation:r,queryCount:t.queryCount,depCount:t.depCount,options:uv(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return $_(n,e,t)})),options:uv(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,i=t.currentTime,a=0,r=e.steps.map((function(e){t.currentTime=i;var r=$_(n,e,t);return a=Math.max(a,t.currentTime),r}));return t.currentTime=a,{type:3,steps:r,options:uv(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,i=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return cv(F_(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var a=cv(0,0,"");return a.dynamic=!0,a.strValue=i,a}return cv((n=n||F_(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;var a=e.styles?e.styles:r_({});if(5==a.type)n=this.visitKeyframes(a,t);else{var r=e.styles,o=!1;if(!r){o=!0;var s={};i.easing&&(s.easing=i.easing),r=r_(s)}t.currentTime+=i.duration+i.delay;var l=this.visitStyle(r,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach((function(e){"string"==typeof e?"*"==e?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)})):n.push(e.styles);var i=!1,a=null;return n.forEach((function(e){if(lv(e)){var t=e,n=t.easing;if(n&&(a=n,delete t.easing),!i)for(var r in t)if(t[r].toString().indexOf("{{")>=0){i=!0;break}}})),{type:6,styles:n,easing:a,offset:e.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,i=t.currentAnimateTimings,a=t.currentTime,r=t.currentTime;i&&r>0&&(r-=i.duration+i.delay),e.styles.forEach((function(e){"string"!=typeof e&&Object.keys(e).forEach((function(i){if(n._driver.validateStyleProperty(i)){var o,s,l,u,c,d=t.collectedStyles[t.currentQuerySelector],h=d[i],f=!0;h&&(r!=a&&r>=h.startTime&&a<=h.endTime&&(t.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(h.startTime,'ms" and "').concat(h.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(r,'ms" and "').concat(a,'ms"')),f=!1),r=h.startTime),f&&(d[i]={startTime:r,endTime:a}),t.options&&(o=e[i],s=t.options,l=t.errors,u=s.params||{},(c=q_(o)).length&&c.forEach((function(e){u.hasOwnProperty(e)||l.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))})))}else t.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))}))}))}},{key:"visitKeyframes",value:function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var a=0,r=[],o=!1,s=!1,l=0,u=e.steps.map((function(e){var i=n._makeStyleAst(e,t),u=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach((function(e){if(lv(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(lv(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(i.styles),c=0;return null!=u&&(a++,c=i.offset=u),s=s||c<0||c>1,o=o||c<l,l=c,r.push(c),i}));s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&t.errors.push("Please ensure that all keyframe offsets are in order");var c=e.steps.length,d=0;a>0&&a<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==a&&(d=1/(c-1));var h=c-1,f=t.currentTime,m=t.currentAnimateTimings,p=m.duration;return u.forEach((function(e,a){var o=d>0?a==h?1:d*a:r[a],s=o*p;t.currentTime=f+m.delay+s,m.duration=s,n._validateStyleAst(e,t),e.offset=o,i.styles.push(e)})),i}},{key:"visitReference",value:function(e,t){return{type:8,animation:$_(this,W_(e.animation),t),options:uv(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:uv(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:uv(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;var a=_slicedToArray(function(e){var t=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));return t&&(e=e.replace(av,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(e){return".ng-trigger-"+e.substr(1)})).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),r=a[0],o=a[1];t.currentQuerySelector=n.length?n+" "+r:r,y_(t.collectedStyles,t.currentQuerySelector,{});var s=$_(this,W_(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:e.selector,options:uv(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:F_(e.timings,t.errors,!0);return{type:12,animation:$_(this,W_(e.animation),t),timings:n,options:null}}}])}(),sv=_createClass((function e(t){_classCallCheck(this,e),this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}));function lv(e){return!Array.isArray(e)&&"object"==typeof e}function uv(e){var t;return e?(e=j_(e)).params&&(e.params=(t=e.params)?j_(t):null):e={},e}function cv(e,t,n){return{duration:e,delay:t,easing:n}}function dv(e,t,n,i,a,r){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:a,delay:r,totalTime:a+r,easing:o,subTimeline:s}}var hv=function(){return _createClass((function e(){_classCallCheck(this,e),this._map=new Map}),[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,i=this._map.get(e);i||this._map.set(e,i=[]),(n=i).push.apply(n,_toConsumableArray(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}])}(),fv=new RegExp(":enter","g"),mv=new RegExp(":leave","g");function pv(e,t,n,i,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new _v).buildKeyframes(e,t,n,i,a,r,o,s,l,u)}var _v=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"buildKeyframes",value:function(e,t,n,i,a,r,o,s,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];l=l||new hv;var c=new gv(e,t,l,i,a,u,[]);c.options=s,c.currentTimeline.setStyles([r],null,c.errors,s),$_(this,n,c);var d=c.timelines.filter((function(e){return e.containsAnimation()}));if(d.length&&Object.keys(o).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([o],null,c.errors,s)}return d.length?d.map((function(e){return e.buildKeyframes()})):[dv(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var i=t.createSubContext(e.options),a=t.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);a!=r&&t.transformIntoNewTimeline(r)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var i=t.currentTimeline.currentTime,a=null!=n.duration?I_(n.duration):null,r=null!=n.delay?I_(n.delay):null;return 0!==a&&e.forEach((function(e){var n=t.appendInstructionToTimeline(e,a,r);i=Math.max(i,n.duration+n.delay)})),i}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),$_(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,i=t.subContextCount,a=t,r=e.options;if(r&&(r.params||r.delay)&&((a=t.createSubContext(r)).transformIntoNewTimeline(),null!=r.delay)){6==a.previousNode.type&&(a.currentTimeline.snapshotCurrentStyles(),a.previousNode=vv);var o=I_(r.delay);a.delayNextStep(o)}e.steps.length&&(e.steps.forEach((function(e){return $_(n,e,a)})),a.currentTimeline.applyStylesToKeyframe(),a.subContextCount>i&&a.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,i=[],a=t.currentTimeline.currentTime,r=e.options&&e.options.delay?I_(e.options.delay):0;e.steps.forEach((function(o){var s=t.createSubContext(e.options);r&&s.delayNextStep(r),$_(n,o,s),a=Math.max(a,s.currentTimeline.currentTime),i.push(s.currentTimeline)})),i.forEach((function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)})),t.transformIntoNewTimeline(a),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return F_(t.params?G_(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var a=e.style;5==a.type?this.visitKeyframes(a,t):(t.incrementTime(n.duration),this.visitStyle(a,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var a=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(a):n.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,a=n.duration,r=t.createSubContext().currentTimeline;r.easing=n.easing,e.styles.forEach((function(e){r.forwardTime((e.offset||0)*a),r.setStyles(e.styles,e.easing,t.errors,t.options),r.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(i+a),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,i=t.currentTimeline.currentTime,a=e.options||{},r=a.delay?I_(a.delay):0;r&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=vv);var o=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!a.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach((function(i,a){t.currentQueryIndex=a;var s=t.createSubContext(e.options,i);r&&s.delayNextStep(r),i===t.element&&(l=s.currentTimeline),$_(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,i=t.currentTimeline,a=e.timings,r=Math.abs(a.duration),o=r*(t.currentQueryTotal-1),s=r*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;$_(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)}}])}(),vv={},gv=function(){function e(t,n,i,a,r,o,s,l){_classCallCheck(this,e),this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=a,this._leaveClassName=r,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=vv,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new yv(this._driver,n,0),s.push(this.currentTimeline)}return _createClass(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var n=this;if(e){var i=e,a=this.options;null!=i.duration&&(a.duration=I_(i.duration)),null!=i.delay&&(a.delay=I_(i.delay));var r=i.params;if(r){var o=a.params;o||(o=this.options.params={}),Object.keys(r).forEach((function(e){t&&o.hasOwnProperty(e)||(o[e]=G_(r[e],o,n.errors))}))}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach((function(e){n[e]=t[e]}))}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,a=n||this.element,r=new e(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=vv,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},a=new bv(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(a),i}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,i,a,r){var o=[];if(i&&o.push(this.element),e.length>0){e=(e=e.replace(fv,"."+this._enterClassName)).replace(mv,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),o.push.apply(o,_toConsumableArray(s))}return a||0!=o.length||r.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),o}}])}(),yv=function(){function e(t,n,i,a){_classCallCheck(this,e),this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=a,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return _createClass(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((function(e){t._backFill[e]=t._globalTimelineStyles[e]||"*",t._currentKeyframe[e]="*"})),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,i){var a=this;t&&(this._previousKeyframe.easing=t);var r=i&&i.params||{},o=function(e,t){var n,i={};return e.forEach((function(e){"*"===e?(n=n||Object.keys(t)).forEach((function(e){i[e]="*"})):H_(e,!1,i)})),i}(e,this._globalTimelineStyles);Object.keys(o).forEach((function(e){var t=G_(o[e],r,n);a._pendingStyles[e]=t,a._localTimelineStyles.hasOwnProperty(e)||(a._backFill[e]=a._globalTimelineStyles.hasOwnProperty(e)?a._globalTimelineStyles[e]:"*"),a._updateStyle(e,t)}))}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){e._currentKeyframe[n]=t[n]})),Object.keys(this._localTimelineStyles).forEach((function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])})))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach((function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)}))}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach((function(n){var i=t._styleSummary[n],a=e._styleSummary[n];(!i||a.time>i.time)&&t._updateStyle(n,a.value)}))}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,a=[];this._keyframes.forEach((function(r,o){var s=H_(r,!0);Object.keys(s).forEach((function(e){var i=s[e];"!"==i?t.add(e):"*"==i&&n.add(e)})),i||(s.offset=o/e.duration),a.push(s)}));var r=t.size?Z_(t.values()):[],o=n.size?Z_(n.values()):[];if(i){var s=a[0],l=j_(s);s.offset=0,l.offset=1,a=[s,l]}return dv(this.element,a,r,o,this.duration,this.startTime,this.easing,!1)}}])}(),bv=function(e){function t(e,n,i,a,r,o){var s,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _classCallCheck(this,t),(s=_callSuper(this,t,[e,n,o.delay])).element=n,s.keyframes=i,s.preStyleProps=a,s.postStyleProps=r,s._stretchStartingKeyframe=l,s.timings={duration:o.duration,delay:o.delay,easing:o.easing},s}return _inherits(t,e),_createClass(t,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,i=t.duration,a=t.easing;if(this._stretchStartingKeyframe&&n){var r=[],o=i+n,s=n/o,l=H_(e[0],!1);l.offset=0,r.push(l);var u=H_(e[0],!1);u.offset=kv(s),r.push(u);for(var c=e.length-1,d=1;d<=c;d++){var h=H_(e[d],!1);h.offset=kv((n+h.offset*i)/o),r.push(h)}i=o,n=0,a="",e=r}return dv(this.element,e,this.preStyleProps,this.postStyleProps,i,n,a,!0)}}])}(yv);function kv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var wv,Cv,xv=_createClass((function e(){_classCallCheck(this,e)})),Mv=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"normalizePropertyName",value:function(e,t){return K_(e)}},{key:"normalizeStyleValue",value:function(e,t,n,i){var a="",r=n.toString().trim();if(Dv[t]&&0!==n&&"0"!==n)if("number"==typeof n)a="px";else{var o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&i.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return r+a}}])}(xv),Dv=(wv="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),Cv={},wv.forEach((function(e){return Cv[e]=!0})),Cv);function Sv(e,t,n,i,a,r,o,s,l,u,c,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:n,fromStyles:r,toState:i,toStyles:o,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}var Lv={},Tv=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this._triggerName=t,this.ast=n,this._stateStyles=i}),[{key:"match",value:function(e,t,n,i){return function(e,t,n,i,a){return e.some((function(e){return e(t,n,i,a)}))}(this.ast.matchers,e,t,n,i)}},{key:"buildStyles",value:function(e,t,n){var i=this._stateStyles["*"],a=this._stateStyles[e],r=i?i.buildStyles(t,n):{};return a?a.buildStyles(t,n):r}},{key:"build",value:function(e,t,n,i,a,r,o,s,l,u){var c=[],d=this.ast.options&&this.ast.options.params||Lv,h=this.buildStyles(n,o&&o.params||Lv,c),f=s&&s.params||Lv,m=this.buildStyles(i,f,c),p=new Set,_=new Map,v=new Map,g="void"===i,y={params:Object.assign(Object.assign({},d),f)},b=u?[]:pv(e,t,this.ast.animation,a,r,h,m,y,l,c),k=0;if(b.forEach((function(e){k=Math.max(e.duration+e.delay,k)})),c.length)return Sv(t,this._triggerName,n,i,g,h,m,[],[],_,v,k,c);b.forEach((function(e){var n=e.element,i=y_(_,n,{});e.preStyleProps.forEach((function(e){return i[e]=!0}));var a=y_(v,n,{});e.postStyleProps.forEach((function(e){return a[e]=!0})),n!==t&&p.add(n)}));var w=Z_(p.values());return Sv(t,this._triggerName,n,i,g,h,m,b,w,_,v,k)}}])}(),Av=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.styles=t,this.defaultParams=n}),[{key:"buildStyles",value:function(e,t){var n={},i=j_(this.defaultParams);return Object.keys(e).forEach((function(t){var n=e[t];null!=n&&(i[t]=n)})),this.styles.styles.forEach((function(e){if("string"!=typeof e){var a=e;Object.keys(a).forEach((function(e){var r=a[e];r.length>1&&(r=G_(r,i,t)),n[e]=r}))}})),n}}])}(),Ev=function(){return _createClass((function e(t,n){var i=this;_classCallCheck(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach((function(e){i.states[e.name]=new Av(e.style,e.options&&e.options.params||{})})),Ov(this.states,"true","1"),Ov(this.states,"false","0"),n.transitions.forEach((function(e){i.transitionFactories.push(new Tv(t,e,i.states))})),this.fallbackTransition=new Tv(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}),[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,n,i){return this.transitionFactories.find((function(a){return a.match(e,t,n,i)}))||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}])}();function Ov(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Yv=new hv,Pv=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}),[{key:"register",value:function(e,t){var n=[],i=rv(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=i}},{key:"_buildPlayer",value:function(e,t,n){var i=e.element,a=p_(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,a,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=[],o=this._animations[e],s=new Map;if(o?(n=pv(this._driver,t,o,"ng-enter","ng-leave",{},{},a,Yv,r)).forEach((function(e){var t=y_(s,e.element,{});e.postStyleProps.forEach((function(e){return t[e]=null}))})):(r.push("The requested animation doesn't exist or has already been destroyed"),n=[]),r.length)throw new Error("Unable to create the animation due to the following errors: "+r.join("\n"));s.forEach((function(e,t){Object.keys(e).forEach((function(n){e[n]=i._driver.computeStyle(t,n,"*")}))}));var l=m_(n.map((function(e){var t=s.get(e.element);return i._buildPlayer(e,{},t)})));return this._playersById[e]=l,l.onDestroy((function(){return i.destroy(e)})),this.players.push(l),l}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}},{key:"listen",value:function(e,t,n,i){var a=g_(t,"","","");return __(this._getPlayer(e),n,a,i),function(){}}},{key:"command",value:function(e,t,n,i){if("register"!=n)if("create"!=n){var a=this._getPlayer(e);switch(n){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])}}])}(),Iv=[],Rv={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Fv={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},jv=function(){return _createClass((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.namespaceId=n;var i,a=t&&t.hasOwnProperty("value");if(this.value=null!=(i=a?t.value:t)?i:null,a){var r=j_(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}),[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach((function(e){null==n[e]&&(n[e]=t[e])}))}}}])}(),Hv=new jv("void"),Nv=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.id=t,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Gv(n,this._hostClassName)}),[{key:"listen",value:function(e,t,n,i){var a,r=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(a=n)&&"done"!=a)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var o=y_(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};o.push(s);var l=y_(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(Gv(e,"ng-trigger"),Gv(e,"ng-trigger-"+t),l[t]=Hv),function(){r._engine.afterFlush((function(){var e=o.indexOf(s);e>=0&&o.splice(e,1),r._triggers[t]||delete l[t]}))}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var i=this,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=this._getTrigger(t),o=new Vv(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Gv(e,"ng-trigger"),Gv(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],u=new jv(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[t]=u,l||(l=Hv),"void"===u.value||l.value!==u.value){var c=y_(this._engine.playersByElement,e,[]);c.forEach((function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()}));var d=r.matchTransition(l.value,u.value,e,u.params),h=!1;if(!d){if(!a)return;d=r.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:o,isFallbackTransition:h}),h||(Gv(e,"ng-animate-queued"),o.onStart((function(){Zv(e,"ng-animate-queued")}))),o.onDone((function(){var t=i.players.indexOf(o);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var a=n.indexOf(o);a>=0&&n.splice(a,1)}})),this.players.push(o),c.push(o),o}if(!function(e,t){var n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(var a=0;a<n.length;a++){var r=n[a];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}(l.params,u.params)){var f=[],m=r.matchStyles(l.value,l.params,f),p=r.matchStyles(u.value,u.params,f);f.length?this._engine.reportError(f):this._engine.afterFlush((function(){B_(e,m),V_(e,p)}))}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach((function(t,n){delete t[e]})),this._elementListeners.forEach((function(n,i){t._elementListeners.set(i,n.filter((function(t){return t.name!=e})))}))}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach((function(e){return e.destroy()})),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var n=this,i=this._engine.driver.query(e,".ng-trigger",!0);i.forEach((function(e){if(!e.__ng_removed){var i=n._engine.fetchNamespacesByElement(e);i.size?i.forEach((function(n){return n.triggerLeaveAnimation(e,t,!1,!0)})):n.clearElementCache(e)}})),this._engine.afterFlushAnimationsDone((function(){return i.forEach((function(e){return n.clearElementCache(e)}))}))}},{key:"triggerLeaveAnimation",value:function(e,t,n,i){var a=this,r=this._engine.statesByElement.get(e);if(r){var o=[];if(Object.keys(r).forEach((function(t){if(a._triggers[t]){var n=a.trigger(e,t,"void",i);n&&o.push(n)}})),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&m_(o).onDone((function(){return a._engine.processLeaveNode(e)})),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,n=this._elementListeners.get(e);if(n){var i=new Set;n.forEach((function(n){var a=n.name;if(!i.has(a)){i.add(a);var r=t._triggers[a].fallbackTransition,o=t._engine.statesByElement.get(e)[a]||Hv,s=new jv("void"),l=new Vv(t.id,a,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:a,transition:r,fromState:o,toState:s,player:l,isFallbackTransition:!0})}}))}}},{key:"removeNode",value:function(e,t){var n=this,i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var a=!1;if(i.totalAnimations){var r=i.players.length?i.playersByQueriedElement.get(e):[];if(r&&r.length)a=!0;else for(var o=e;o=o.parentNode;)if(i.statesByElement.get(o)){a=!0;break}}if(this.prepareLeaveAnimationListeners(e),a)i.markElementAsRemoved(this.id,e,!1,t);else{var s=e.__ng_removed;s&&s!==Rv||(i.afterFlush((function(){return n.clearElementCache(e)})),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){Gv(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,n=[];return this._queue.forEach((function(i){var a=i.player;if(!a.destroyed){var r=i.element,o=t._elementListeners.get(r);o&&o.forEach((function(t){if(t.name==i.triggerName){var n=g_(r,i.triggerName,i.fromState.value,i.toState.value);n._data=e,__(i.player,t.phase,n,t.callback)}})),a.markedForDestroy?t._engine.afterFlush((function(){a.destroy()})):n.push(i)}})),this._queue=[],n.sort((function(e,n){var i=e.transition.ast.depCount,a=n.transition.ast.depCount;return 0==i||0==a?i-a:t._engine.driver.containsElement(e.element,n.element)?1:-1}))}},{key:"destroy",value:function(e){this.players.forEach((function(e){return e.destroy()})),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find((function(t){return t.element===e}))||t}}])}(),zv=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.bodyNode=t,this.driver=n,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}),[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach((function(t){t.players.forEach((function(t){t.queued&&e.push(t)}))})),e}},{key:"createNamespace",value:function(e,t){var n=new Nv(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}},{key:"_balanceNamespaceList",value:function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var i=!1,a=n;a>=0;a--)if(this.driver.containsElement(this._namespaceList[a].hostElement,t)){this._namespaceList.splice(a+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush((function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((function(){return i.destroy(t)}))}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var i=Object.keys(n),a=0;a<i.length;a++){var r=n[i[a]].namespaceId;if(r){var o=this._fetchNamespace(r);o&&t.add(o)}}return t}},{key:"trigger",value:function(e,t,n,i){if(Bv(t)){var a=this._fetchNamespace(e);if(a)return a.trigger(t,n,i),!0}return!1}},{key:"insertNode",value:function(e,t,n,i){if(Bv(t)){var a=t.__ng_removed;if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;var r=this.collectedLeaveElements.indexOf(t);r>=0&&this.collectedLeaveElements.splice(r,1)}if(e){var o=this._fetchNamespace(e);o&&o.insertNode(t,n)}i&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Gv(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Zv(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,i){if(Bv(t)){var a=e?this._fetchNamespace(e):null;if(a?a.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){var r=this.namespacesByHostElement.get(t);r&&r.id!==e&&r.removeNode(t,i)}}else this._onRemovalComplete(t,i)}},{key:"markElementAsRemoved",value:function(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,i,a){return Bv(t)?this._fetchNamespace(e).listen(t,n,i,a):function(){}}},{key:"_buildInstruction",value:function(e,t,n,i,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,a)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach((function(e){return t.destroyActiveAnimationsForElement(e)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach((function(e){return t.finishActiveQueriedAnimationOnElement(e)}))}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach((function(e){e.queued?e.markedForDestroy=!0:e.destroy()}))}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach((function(e){return e.finish()}))}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise((function(t){if(e.players.length)return m_(e.players).onDone((function(){return t()}));t()}))}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=Rv,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((function(e){t.markElementAsDisabled(e,!1)}))}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i<this.collectedEnterElements.length;i++)Gv(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var a=[];try{n=this._flushAnimations(a,t)}finally{for(var r=0;r<a.length;r++)a[r]()}}else for(var o=0;o<this.collectedLeaveElements.length;o++)this.processLeaveNode(this.collectedLeaveElements[o]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((function(e){return e()})),this._flushFns=[],this._whenQuietFns.length){var s=this._whenQuietFns;this._whenQuietFns=[],n.length?m_(n).onDone((function(){s.forEach((function(e){return e()}))})):s.forEach((function(e){return e()}))}}},{key:"reportError",value:function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}},{key:"_flushAnimations",value:function(e,t){var n=this,i=new hv,a=[],r=new Map,o=[],s=new Map,l=new Map,u=new Map,c=new Set;this.disabledNodes.forEach((function(e){c.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),i=0;i<t.length;i++)c.add(t[i])}));var d=this.bodyNode,h=Array.from(this.statesByElement.keys()),f=qv(h,this.collectedEnterElements),m=new Map,p=0;f.forEach((function(e,t){var n="ng-enter"+p++;m.set(t,n),e.forEach((function(e){return Gv(e,n)}))}));for(var _=[],v=new Set,g=new Set,y=0;y<this.collectedLeaveElements.length;y++){var b=this.collectedLeaveElements[y],k=b.__ng_removed;k&&k.setForRemoval&&(_.push(b),v.add(b),k.hasAnimation?this.driver.query(b,".ng-star-inserted",!0).forEach((function(e){return v.add(e)})):g.add(b))}var w=new Map,C=qv(h,Array.from(v));C.forEach((function(e,t){var n="ng-leave"+p++;w.set(t,n),e.forEach((function(e){return Gv(e,n)}))})),e.push((function(){f.forEach((function(e,t){var n=m.get(t);e.forEach((function(e){return Zv(e,n)}))})),C.forEach((function(e,t){var n=w.get(t);e.forEach((function(e){return Zv(e,n)}))})),_.forEach((function(e){n.processLeaveNode(e)}))}));for(var x=[],M=[],D=this._namespaceList.length-1;D>=0;D--)this._namespaceList[D].drainQueuedTransitions(t).forEach((function(e){var t=e.player,r=e.element;if(x.push(t),n.collectedEnterElements.length){var c=r.__ng_removed;if(c&&c.setForMove)return void t.destroy()}var h=!d||!n.driver.containsElement(d,r),f=w.get(r),p=m.get(r),_=n._buildInstruction(e,i,p,f,h);if(_.errors&&_.errors.length)M.push(_);else{if(h)return t.onStart((function(){return B_(r,_.fromStyles)})),t.onDestroy((function(){return V_(r,_.toStyles)})),void a.push(t);if(e.isFallbackTransition)return t.onStart((function(){return B_(r,_.fromStyles)})),t.onDestroy((function(){return V_(r,_.toStyles)})),void a.push(t);_.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),i.append(r,_.timelines),o.push({instruction:_,player:t,element:r}),_.queriedElements.forEach((function(e){return y_(s,e,[]).push(t)})),_.preStyleProps.forEach((function(e,t){var n=Object.keys(e);if(n.length){var i=l.get(t);i||l.set(t,i=new Set),n.forEach((function(e){return i.add(e)}))}})),_.postStyleProps.forEach((function(e,t){var n=Object.keys(e),i=u.get(t);i||u.set(t,i=new Set),n.forEach((function(e){return i.add(e)}))}))}}));if(M.length){var S=[];M.forEach((function(e){S.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach((function(e){return S.push("- ".concat(e,"\n"))}))})),x.forEach((function(e){return e.destroy()})),this.reportError(S)}var L=new Map,T=new Map;o.forEach((function(e){var t=e.element;i.has(t)&&(T.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,L))})),a.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){y_(L,t,[]).push(e),e.destroy()}))}));var A=_.filter((function(e){return Kv(e,l,u)})),E=new Map;Uv(E,this.driver,g,u,"*").forEach((function(e){Kv(e,l,u)&&A.push(e)}));var O=new Map;f.forEach((function(e,t){Uv(O,n.driver,new Set(e),l,"!")})),A.forEach((function(e){var t=E.get(e),n=O.get(e);E.set(e,Object.assign(Object.assign({},t),n))}));var Y=[],P=[],I={};o.forEach((function(e){var t=e.element,o=e.player,s=e.instruction;if(i.has(t)){if(c.has(t))return o.onDestroy((function(){return V_(t,s.toStyles)})),o.disabled=!0,o.overrideTotalTime(s.totalTime),void a.push(o);var l=I;if(T.size>1){for(var u=t,d=[];u=u.parentNode;){var h=T.get(u);if(h){l=h;break}d.push(u)}d.forEach((function(e){return T.set(e,l)}))}var f=n._buildAnimation(o.namespaceId,s,L,r,O,E);if(o.setRealPlayer(f),l===I)Y.push(o);else{var m=n.playersByElement.get(l);m&&m.length&&(o.parentPlayer=m_(m)),a.push(o)}}else B_(t,s.fromStyles),o.onDestroy((function(){return V_(t,s.toStyles)})),P.push(o),c.has(t)&&a.push(o)})),P.forEach((function(e){var t=r.get(e.element);if(t&&t.length){var n=m_(t);e.setRealPlayer(n)}})),a.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var R=0;R<_.length;R++){var F=_[R],j=F.__ng_removed;if(Zv(F,"ng-leave"),!j||!j.hasAnimation){var H=[];if(s.size){var N=s.get(F);N&&N.length&&H.push.apply(H,_toConsumableArray(N));for(var z=this.driver.query(F,".ng-animating",!0),V=0;V<z.length;V++){var B=s.get(z[V]);B&&B.length&&H.push.apply(H,_toConsumableArray(B))}}var W=H.filter((function(e){return!e.destroyed}));W.length?Jv(this,F,W):this.processLeaveNode(F)}}return _.length=0,Y.forEach((function(e){n.players.push(e),e.onDone((function(){e.destroy();var t=n.players.indexOf(e);n.players.splice(t,1)})),e.play()})),Y}},{key:"elementContainsData",value:function(e,t){var n=!1,i=t.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}},{key:"afterFlush",value:function(e){this._flushFns.push(e)}},{key:"afterFlushAnimationsDone",value:function(e){this._whenQuietFns.push(e)}},{key:"_getPreviousPlayers",value:function(e,t,n,i,a){var r=[];if(t){var o=this.playersByQueriedElement.get(e);o&&(r=o)}else{var s=this.playersByElement.get(e);if(s){var l=!a||"void"==a;s.forEach((function(e){e.queued||(l||e.triggerName==i)&&r.push(e)}))}}return(n||i)&&(r=r.filter((function(e){return!(n&&n!=e.namespaceId||i&&i!=e.triggerName)}))),r}},{key:"_beforeAnimationBuild",value:function(e,t,n){var i,a=this,r=t.element,o=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName,l=_createForOfIteratorHelper(t.timelines);try{var u=function(){var e=i.value.element,l=e!==r,u=y_(n,e,[]);a._getPreviousPlayers(e,l,o,s,t.toState).forEach((function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),u.push(e)}))};for(l.s();!(i=l.n()).done;)u()}catch(c){l.e(c)}finally{l.f()}B_(r,t.fromStyles)}},{key:"_buildAnimation",value:function(e,t,n,i,a,r){var o=this,s=t.triggerName,l=t.element,u=[],c=new Set,d=new Set,h=t.timelines.map((function(t){var h=t.element;c.add(h);var f=h.__ng_removed;if(f&&f.removedBeforeQueried)return new d_(t.duration,t.delay);var m,p,_=h!==l,v=(m=(n.get(h)||Iv).map((function(e){return e.getRealPlayer()})),p=[],function e(t,n){for(var i=0;i<t.length;i++){var a=t[i];a instanceof h_?e(a.players,n):n.push(a)}}(m,p),p).filter((function(e){return!!e.element&&e.element===h})),g=a.get(h),y=r.get(h),b=p_(0,o._normalizer,0,t.keyframes,g,y),k=o._buildPlayer(t,b,v);if(t.subTimeline&&i&&d.add(h),_){var w=new Vv(e,s,h);w.setRealPlayer(k),u.push(w)}return k}));u.forEach((function(e){y_(o.playersByQueriedElement,e.element,[]).push(e),e.onDone((function(){return function(e,t,n){var i;if(e instanceof Map){if(i=e.get(t)){if(i.length){var a=i.indexOf(n);i.splice(a,1)}0==i.length&&e.delete(t)}}else if(i=e[t]){if(i.length){var r=i.indexOf(n);i.splice(r,1)}0==i.length&&delete e[t]}return i}(o.playersByQueriedElement,e.element,e)}))})),c.forEach((function(e){return Gv(e,"ng-animating")}));var f=m_(h);return f.onDestroy((function(){c.forEach((function(e){return Zv(e,"ng-animating")})),V_(l,t.toStyles)})),d.forEach((function(e){y_(i,e,[]).push(f)})),f}},{key:"_buildPlayer",value:function(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new d_(e.duration,e.delay)}}])}(),Vv=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.namespaceId=t,this.triggerName=n,this.element=i,this._player=new d_,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}),[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((function(n){t._queuedCallbacks[n].forEach((function(t){return __(e,n,void 0,t)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart((function(){return n.triggerCallback("start")})),e.onDone((function(){return t.finish()})),e.onDestroy((function(){return t.destroy()}))}},{key:"_queueEvent",value:function(e,t){y_(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}])}();function Bv(e){return e&&1===e.nodeType}function Wv(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Uv(e,t,n,i,a){var r=[];n.forEach((function(e){return r.push(Wv(e))}));var o=[];i.forEach((function(n,i){var r={};n.forEach((function(e){var n=r[e]=t.computeStyle(i,e,a);n&&0!=n.length||(i.__ng_removed=Fv,o.push(i))})),e.set(i,r)}));var s=0;return n.forEach((function(e){return Wv(e,r[s++])})),o}function qv(e,t){var n=new Map;if(e.forEach((function(e){return n.set(e,[])})),0==t.length)return n;var i=new Set(t),a=new Map;return t.forEach((function(e){var t=function e(t){if(!t)return 1;var r=a.get(t);if(r)return r;var o=t.parentNode;return r=n.has(o)?o:i.has(o)?1:e(o),a.set(t,r),r}(e);1!==t&&n.get(t).push(e)})),n}function Gv(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Zv(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function Jv(e,t,n){m_(n).onDone((function(){return e.processLeaveNode(t)}))}function Kv(e,t,n){var i=n.get(e);if(!i)return!1;var a=t.get(e);return a?i.forEach((function(e){return a.add(e)})):t.set(e,i),n.delete(e),!0}var Qv=function(){return _createClass((function e(t,n,i){var a=this;_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new zv(t,n,i),this._timelineEngine=new Pv(t,n,i),this._transitionEngine.onRemovalComplete=function(e,t){return a.onRemovalComplete(e,t)}}),[{key:"registerTrigger",value:function(e,t,n,i,a){var r=e+"-"+i,o=this._triggerCache[r];if(!o){var s=[],l=rv(this._driver,a,s);if(s.length)throw new Error('The animation trigger "'.concat(i,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));o=function(e,t){return new Ev(e,t)}(i,l),this._triggerCache[r]=o}this._transitionEngine.registerTrigger(t,i,o)}},{key:"register",value:function(e,t){this._transitionEngine.register(e,t)}},{key:"destroy",value:function(e,t){this._transitionEngine.destroy(e,t)}},{key:"onInsert",value:function(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}},{key:"onRemove",value:function(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,t,n,i){if("@"==n.charAt(0)){var a=_slicedToArray(b_(n),2),r=a[0],o=a[1];this._timelineEngine.command(r,t,o,i)}else this._transitionEngine.trigger(e,t,n,i)}},{key:"listen",value:function(e,t,n,i,a){if("@"==n.charAt(0)){var r=_slicedToArray(b_(n),2),o=r[0],s=r[1];return this._timelineEngine.listen(o,t,s,a)}return this._transitionEngine.listen(e,t,n,i,a)}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}])}();function Xv(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=eg(t[0]),t.length>1&&(i=eg(t[t.length-1]))):t&&(n=eg(t)),n||i?new $v(e,n,i):null}var $v=function(){var e=function(){function e(t,n,i){_classCallCheck(this,e),this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var a=e.initialStylesByElement.get(t);a||e.initialStylesByElement.set(t,a={}),this._initialStyles=a}return _createClass(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&V_(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(V_(this._element,this._initialStyles),this._endStyles&&(V_(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(B_(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(B_(this._element,this._endStyles),this._endStyles=null),V_(this._element,this._initialStyles),this._state=3)}}])}();return e.initialStylesByElement=new WeakMap,e}();function eg(e){for(var t=null,n=Object.keys(e),i=0;i<n.length;i++){var a=n[i];tg(a)&&((t=t||{})[a]=e[a])}return t}function tg(e){return"display"===e||"position"===e}var ng=function(){return _createClass((function e(t,n,i,a,r,o,s){var l=this;_classCallCheck(this,e),this._element=t,this._name=n,this._duration=i,this._delay=a,this._easing=r,this._fillMode=o,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return l._handleCallback(e)}}),[{key:"apply",value:function(){var e,t,n;e=this._element,t="".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name),(n=lg(e,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)e.charAt(n)}(n),t="".concat(n,", ").concat(t)),sg(e,"",t),og(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){ig(this._element,this._name,"paused")}},{key:"resume",value:function(){ig(this._element,this._name,"running")}},{key:"setPosition",value:function(e){var t=ag(this._element,this._name);this._position=e*this._duration,sg(this._element,"Delay","-".concat(this._position,"ms"),t)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(e){var t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),og(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=lg(e,"").split(","),(i=rg(n,t))>=0&&(n.splice(i,1),sg(e,"",n.join(","))))}}])}();function ig(e,t,n){sg(e,"PlayState",n,ag(e,t))}function ag(e,t){var n=lg(e,"");return n.indexOf(",")>0?rg(n.split(","),t):rg([n],t)}function rg(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function og(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function sg(e,t,n,i){var a="animation"+t;if(null!=i){var r=e.style[a];if(r.length){var o=r.split(",");o[i]=n,n=o.join(",")}}e.style[a]=n}function lg(e,t){return e.style["animation"+t]}var ug=function(){return _createClass((function e(t,n,i,a,r,o,s,l){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.animationName=i,this._duration=a,this._delay=r,this._finalStyles=s,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=a+r,this._buildStyler()}),[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new ng(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return e.finish()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:ev(e.element,i))}))}this.currentSnapshot=t}}])}(),cg=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t)).element=e,i._startingStyles={},i.__initialized=!1,i._styles=E_(n),i}return _inherits(t,e),_createClass(t,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),_superPropGet(t,"init",this,3)([]))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),_superPropGet(t,"play",this,3)([]))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,_superPropGet(t,"destroy",this,3)([]))}}])}(d_),dg=function(){return _createClass((function e(){_classCallCheck(this,e),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}),[{key:"validateStyleProperty",value:function(e){return S_(e)}},{key:"matchesElement",value:function(e,t){return L_(e,t)}},{key:"containsElement",value:function(e,t){return T_(e,t)}},{key:"query",value:function(e,t,n){return A_(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map((function(e){return E_(e)}));var i="@keyframes ".concat(t," {\n"),a="";n.forEach((function(e){a=" ";var t=parseFloat(e.offset);i+="".concat(a).concat(100*t,"% {\n"),a+=" ",Object.keys(e).forEach((function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+="".concat(a,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(a).concat(t,": ").concat(n,";\n"))}})),i+=a+"}\n"})),i+="}\n";var r=document.createElement("style");return r.innerHTML=i,r}},{key:"animate",value:function(e,t,n,i,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0;o&&this._notifyFaultyScrubber();var s=r.filter((function(e){return e instanceof ug})),l={};Q_(n,i)&&s.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return l[e]=t[e]}))}));var u=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach((function(e){Object.keys(e).forEach((function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])}))})),t}(t=X_(e,t,l));if(0==n)return new cg(e,u);var c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(d);var h=Xv(e,t),f=new ug(e,t,c,n,i,a,u,h);return f.onDestroy((function(){var e;(e=d).parentNode.removeChild(e)})),f}},{key:"_notifyFaultyScrubber",value:function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}])}(),hg=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.options=i,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}),[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return e._onFinish()}))}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:ev(e.element,n))})),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}])}(),fg=function(){return _createClass((function e(){_classCallCheck(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(mg().toString()),this._cssKeyframesDriver=new dg}),[{key:"validateStyleProperty",value:function(e){return S_(e)}},{key:"matchesElement",value:function(e,t){return L_(e,t)}},{key:"containsElement",value:function(e,t){return T_(e,t)}},{key:"query",value:function(e,t,n){return A_(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,i,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0;if(!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,a,r);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};a&&(s.easing=a);var l={},u=r.filter((function(e){return e instanceof hg}));Q_(n,i)&&u.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return l[e]=t[e]}))}));var c=Xv(e,t=X_(e,t=t.map((function(e){return H_(e,!1)})),l));return new hg(e,t,s,c)}}])}();function mg(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var pg,_g=((pg=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t))._nextAnimationId=0,i._renderer=e.createRenderer(n.body,{id:"0",encapsulation:ht.None,styles:[],data:{animation:[]}}),i}return _inherits(t,e),_createClass(t,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?a_(e):e;return yg(this._renderer,null,t,"register",[n]),new vg(t,this._renderer)}}])}(t_)).\u0275fac=function(e){return new(e||pg)(Qe(Zs),Qe(mc))},pg.\u0275prov=fe({token:pg,factory:pg.\u0275fac}),pg),vg=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t))._id=e,i._renderer=n,i}return _inherits(t,e),_createClass(t,[{key:"create",value:function(e,t){return new gg(this._id,e,t||{},this._renderer)}}])}(_createClass((function e(){_classCallCheck(this,e)}))),gg=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this.id=t,this.element=n,this._renderer=a,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}),[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return yg(this._renderer,this.element,this.id,e,n)}},{key:"onDone",value:function(e){this._listen("done",e)}},{key:"onStart",value:function(e){this._listen("start",e)}},{key:"onDestroy",value:function(e){this._listen("destroy",e)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset")}},{key:"setPosition",value:function(e){this._command("setPosition",e)}},{key:"getPosition",value:function(){return 0}}])}();function yg(e,t,n,i,a){return e.setProperty(t,"@@".concat(n,":").concat(i),a)}var bg,kg,wg,Cg=((bg=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.delegate=t,this.engine=n,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}),[{key:"createRenderer",value:function(e,t){var n=this,i=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var a=this._rendererCache.get(i);return a||(a=new xg("",i,this.engine),this._rendererCache.set(i,a)),a}var r=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);var s=function(t){Array.isArray(t)?t.forEach(s):n.engine.registerTrigger(r,o,e,t.name,t)};return t.data.animation.forEach(s),new Mg(this,o,i,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var e=this;this.promise.then((function(){e._microtaskId++}))}},{key:"scheduleListenerCallback",value:function(e,t,n){var i=this;e>=0&&e<this._microtaskId?this._zone.run((function(){return t(n)})):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((function(){i._zone.run((function(){i._animationCallbacksBuffer.forEach((function(e){var t=_slicedToArray(e,2);(0,t[0])(t[1])})),i._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([t,n]))}},{key:"end",value:function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)})),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}])}()).\u0275fac=function(e){return new(e||bg)(Qe(Zs),Qe(Qv),Qe(Pu))},bg.\u0275prov=fe({token:bg,factory:bg.\u0275fac}),bg),xg=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.namespaceId=t,this.delegate=n,this.engine=i,this.destroyNode=this.delegate.destroyNode?function(e){return n.destroyNode(e)}:null}),[{key:"data",get:function(){return this.delegate.data}},{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(e,t){return this.delegate.createElement(e,t)}},{key:"createComment",value:function(e){return this.delegate.createComment(e)}},{key:"createText",value:function(e){return this.delegate.createText(e)}},{key:"appendChild",value:function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}},{key:"insertBefore",value:function(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,i){this.delegate.setStyle(e,t,n,i)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}])}(),Mg=function(e){function t(e,n,i,a){var r;return _classCallCheck(this,t),(r=_callSuper(this,t,[n,i,a])).factory=e,r.namespaceId=n,r}return _inherits(t,e),_createClass(t,[{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var i,a,r=this;if("@"==t.charAt(0)){var o,s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),l=t.substr(1),u="";return"@"!=l.charAt(0)&&(a=(i=l).indexOf("."),l=(o=_slicedToArray([i.substring(0,a),i.substr(a+1)],2))[0],u=o[1]),this.engine.listen(this.namespaceId,s,l,u,(function(e){r.factory.scheduleListenerCallback(e._data||-1,n,e)}))}return this.delegate.listen(e,t,n)}}])}(xg),Dg=((kg=function(e){function t(e,n,i){return _classCallCheck(this,t),_callSuper(this,t,[e.body,n,i])}return _inherits(t,e),_createClass(t)}(Qv)).\u0275fac=function(e){return new(e||kg)(Qe(mc),Qe(P_),Qe(xv))},kg.\u0275prov=fe({token:kg,factory:kg.\u0275fac}),kg),Sg=new Ve("AnimationModuleType"),Lg=[{provide:P_,useFactory:function(){return"function"==typeof mg()?new fg:new dg}},{provide:Sg,useValue:"BrowserAnimations"},{provide:t_,useClass:_g},{provide:xv,useFactory:function(){return new Mv}},{provide:Qv,useClass:Dg},{provide:Zs,useFactory:function(e,t,n){return new Cg(e,t,n)},deps:[Pp,Qv,Pu]}],Tg=((wg=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:wg}),wg.\u0275inj=me({factory:function(e){return new(e||wg)},providers:Lg,imports:[Zp]}),wg),Ag=["*",[["mat-option"],["ng-container"]]],Eg=["*","mat-option, ng-container"];function Og(e,t){if(1&e&&Ro(0,"mat-pseudo-checkbox",3),2&e){var n=Zo();Oo("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}var Yg,Pg=["*"],Ig=new $s("9.2.4"),Rg=new Ve("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Fg=((Yg=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}),[{key:"_getDocument",value:function(){var e=this._document||document;return"object"==typeof e&&e?e:null}},{key:"_getWindow",value:function(){var e=this._getDocument(),t=(null==e?void 0:e.defaultView)||window;return"object"==typeof t&&t?t:null}},{key:"_checksAreEnabled",value:function(){return Li()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._getWindow();return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){var e=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),t=this._getDocument();e&&t&&!t.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){var e=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,t=this._getDocument();if(!e&&t&&t.body&&"function"==typeof getComputedStyle){var n=t.createElement("div");n.classList.add("mat-theme-loaded-marker"),t.body.appendChild(n);var i=getComputedStyle(n);i&&"none"!==i.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),t.body.removeChild(n)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&Ig.full!==fp.full&&console.warn("The Angular Material version ("+Ig.full+") does not match the Angular CDK version ("+fp.full+").\nPlease ensure the versions of these two packages exactly match.")}}])}()).\u0275mod=bt({type:Yg}),Yg.\u0275inj=me({factory:function(e){return new(e||Yg)(Qe(Df),Qe(Rg,8),Qe(mc,8))},imports:[[Kf],Kf]}),Yg);function jg(e){return function(e){function t(){var e;_classCallCheck(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return(e=_callSuper(this,t,[].concat(i)))._disabled=!1,e}return _inherits(t,e),_createClass(t,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Eh(e)}}])}(e)}function Hg(e,t){return function(e){function n(){var e;_classCallCheck(this,n);for(var i=arguments.length,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];return(e=_callSuper(this,n,[].concat(a))).color=t,e}return _inherits(n,e),_createClass(n,[{key:"color",get:function(){return this._color},set:function(e){var n=e||t;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-"+n),this._color=n)}}])}(e)}function Ng(e){return function(e){function t(){var e;_classCallCheck(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return(e=_callSuper(this,t,[].concat(i)))._disableRipple=!1,e}return _inherits(t,e),_createClass(t,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(e){this._disableRipple=Eh(e)}}])}(e)}function zg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){function n(){var e;_classCallCheck(this,n);for(var i=arguments.length,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];return(e=_callSuper(this,n,[].concat(a)))._tabIndex=t,e}return _inherits(n,e),_createClass(n,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(e){this._tabIndex=null!=e?e:t}}])}(e)}function Vg(e){return function(e){function t(){var e;_classCallCheck(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return(e=_callSuper(this,t,[].concat(i))).errorState=!1,e.stateChanges=new L,e}return _inherits(t,e),_createClass(t,[{key:"updateErrorState",value:function(){var e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())}}])}(e)}var Bg,Wg=new Ve("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Xe(ku)}}),Ug=function(){return _createClass((function e(){_classCallCheck(this,e),this._localeChanges=new L}),[{key:"localeChanges",get:function(){return this._localeChanges}},{key:"deserialize",value:function(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}},{key:"setLocale",value:function(e){this.locale=e,this._localeChanges.next()}},{key:"compareDate",value:function(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}},{key:"sameDate",value:function(e,t){if(e&&t){var n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareDate(e,t):n==i}return e==t}},{key:"clampDate",value:function(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}}])}(),qg=new Ve("mat-date-formats");try{Bg="undefined"!=typeof Intl}catch(LW){Bg=!1}var Gg={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},Zg=Qg(31,(function(e){return String(e+1)})),Jg={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},Kg=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Qg(e,t){for(var n=Array(e),i=0;i<e;i++)n[i]=t(i);return n}var Xg,$g,ey,ty,ny,iy=(($g=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t)).useUtcForDisplay=!0,_superPropGet((_assertThisInitialized(i),t),"setLocale",i,3)([e]),i.useUtcForDisplay=!n.TRIDENT,i._clampDate=n.TRIDENT||n.EDGE,i}return _inherits(t,e),_createClass(t,[{key:"getYear",value:function(e){return e.getFullYear()}},{key:"getMonth",value:function(e){return e.getMonth()}},{key:"getDate",value:function(e){return e.getDate()}},{key:"getDayOfWeek",value:function(e){return e.getDay()}},{key:"getMonthNames",value:function(e){var t=this;if(Bg){var n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return Qg(12,(function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,e,1)))}))}return Gg[e]}},{key:"getDateNames",value:function(){var e=this;if(Bg){var t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Qg(31,(function(n){return e._stripDirectionalityCharacters(e._format(t,new Date(2017,0,n+1)))}))}return Zg}},{key:"getDayOfWeekNames",value:function(e){var t=this;if(Bg){var n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return Qg(7,(function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,0,e+1)))}))}return Jg[e]}},{key:"getYearName",value:function(e){if(Bg){var t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(t,e))}return String(this.getYear(e))}},{key:"getFirstDayOfWeek",value:function(){return 0}},{key:"getNumDaysInMonth",value:function(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}},{key:"clone",value:function(e){return new Date(e.getTime())}},{key:"createDate",value:function(e,t,n){if(t<0||t>11)throw Error('Invalid month index "'.concat(t,'". Month index has to be between 0 and 11.'));if(n<1)throw Error('Invalid date "'.concat(n,'". Date has to be greater than 0.'));var i=this._createDateWithOverflow(e,t,n);if(i.getMonth()!=t)throw Error('Invalid date "'.concat(n,'" for month with index "').concat(t,'".'));return i}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}},{key:"format",value:function(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(Bg){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign(Object.assign({},t),{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(n,e))}return this._stripDirectionalityCharacters(e.toDateString())}},{key:"addCalendarYears",value:function(e,t){return this.addCalendarMonths(e,12*t)}},{key:"addCalendarMonths",value:function(e,t){var n=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(n)!=((this.getMonth(e)+t)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}},{key:"addCalendarDays",value:function(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}},{key:"toIso8601",value:function(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}},{key:"deserialize",value:function(e){if("string"==typeof e){if(!e)return null;if(Kg.test(e)){var n=new Date(e);if(this.isValid(n))return n}}return _superPropGet(t,"deserialize",this,3)([e])}},{key:"isDateInstance",value:function(e){return e instanceof Date}},{key:"isValid",value:function(e){return!isNaN(e.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(e,t,n){var i=new Date(e,t,n);return e>=0&&e<100&&i.setFullYear(this.getYear(i)-1900),i}},{key:"_2digit",value:function(e){return("00"+e).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(e){return e.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(e,t){var n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.format(n)}}])}(Ug)).\u0275fac=function(e){return new(e||$g)(Qe(Wg,8),Qe(ih))},$g.\u0275prov=fe({token:$g,factory:$g.\u0275fac}),$g),ay=((Xg=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:Xg}),Xg.\u0275inj=me({factory:function(e){return new(e||Xg)},providers:[{provide:Ug,useClass:iy}],imports:[[ah]]}),Xg),ry={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},oy=((ny=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:ny}),ny.\u0275inj=me({factory:function(e){return new(e||ny)},providers:[{provide:qg,useValue:ry}],imports:[[ay]]}),ny),sy=((ty=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"isErrorState",value:function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}])}()).\u0275fac=function(e){return new(e||ty)},ty.\u0275prov=fe({factory:function(){return new ty},token:ty,providedIn:"root"}),ty),ly=((ey=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||ey)},ey.\u0275dir=wt({type:ey,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),ey);function uy(e,t,n){var i=e.nativeElement.classList;n?i.add(t):i.remove(t)}var cy,dy,hy,fy,my,py,_y,vy=((cy=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:cy}),cy.\u0275inj=me({factory:function(e){return new(e||cy)},imports:[[Fg],Fg]}),cy),gy=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this._renderer=t,this.element=n,this.config=i,this.state=3}),[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}])}(),yy={enterDuration:450,exitDuration:400},by=sh({passive:!0}),ky=["mousedown","touchstart"],wy=["mouseup","mouseleave","touchend","touchcancel"],Cy=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this._target=t,this._ngZone=n,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,a.isBrowser&&(this._containerElement=Rh(i))}),[{key:"fadeInRipple",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},yy),i.animation);i.centered&&(e=a.left+a.width/2,t=a.top+a.height/2);var o=i.radius||function(e,t,n){var i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),a=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+a*a)}(e,t,a),s=e-a.left,l=t-a.top,u=r.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=s-o+"px",c.style.top=l-o+"px",c.style.height=2*o+"px",c.style.width=2*o+"px",null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration=u+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";var d=new gy(this,c,i);return d.state=0,this._activeRipples.add(d),i.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone((function(){var e=d===n._mostRecentTransientRipple;d.state=1,i.persistent||e&&n._isPointerDown||d.fadeOut()}),u),d}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,i=Object.assign(Object.assign({},yy),e.config.animation);n.style.transitionDuration=i.exitDuration+"ms",n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone((function(){e.state=3,n.parentNode.removeChild(n)}),i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach((function(e){return e.fadeOut()}))}},{key:"setupTriggerEvents",value:function(e){var t=Rh(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(ky))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(wy),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=_f(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||t||n||(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(e){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var t=e.changedTouches,n=0;n<t.length;n++)this.fadeInRipple(t[n].clientX,t[n].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach((function(e){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()})))}},{key:"_runTimeoutOutsideZone",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular((function(){return setTimeout(e,t)}))}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular((function(){e.forEach((function(e){t._triggerElement.addEventListener(e,t,by)}))}))}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(ky.forEach((function(t){e._triggerElement.removeEventListener(t,e,by)})),this._pointerUpEventsRegistered&&wy.forEach((function(t){e._triggerElement.removeEventListener(t,e,by)})))}}])}(),xy=new Ve("mat-ripple-global-options"),My=((my=function(){return _createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this._elementRef=t,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new Cy(this,n,t,i)}),[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}])}()).\u0275fac=function(e){return new(e||my)(To(qs),To(Pu),To(ih),To(xy,8),To(Sg,8))},my.\u0275dir=wt({type:my,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&ls("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),my),Dy=((fy=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:fy}),fy.\u0275inj=me({factory:function(e){return new(e||fy)},imports:[[Fg,ah],Fg]}),fy),Sy=((hy=_createClass((function e(t){_classCallCheck(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1}))).\u0275fac=function(e){return new(e||hy)(To(Sg,8))},hy.\u0275cmp=_t({type:hy,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&ls("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),hy),Ly=((dy=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:dy}),dy.\u0275inj=me({factory:function(e){return new(e||dy)}}),dy),Ty=jg(_createClass((function e(){_classCallCheck(this,e)}))),Ay=0,Ey=((py=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments))._labelId="mat-optgroup-label-"+Ay++,e}return _inherits(t,e),_createClass(t)}(Ty)).\u0275fac=function(e){return Oy(e||py)},py.\u0275cmp=_t({type:py,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(e,t){2&e&&(Mo("aria-disabled",t.disabled.toString())("aria-labelledby",t._labelId),ls("mat-optgroup-disabled",t.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[Ds],ngContentSelectors:Eg,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(e,t){1&e&&(Ko(Ag),Po(0,"label",0),ys(1),Qo(2),Io(),Qo(3,1)),2&e&&(Oo("id",t._labelId),ya(1),ks("",t.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),py),Oy=hi(Ey),Yy=0,Py=_createClass((function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_classCallCheck(this,e),this.source=t,this.isUserInput=n})),Iy=new Ve("MAT_OPTION_PARENT_COMPONENT"),Ry=((_y=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this._element=t,this._changeDetectorRef=n,this._parent=i,this.group=a,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Yy++,this.onSelectionChange=new Wl,this._stateChanges=new L}),[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=Eh(e)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(e){13!==e.keyCode&&32!==e.keyCode||ch(e)||(this._selectViaInteraction(),e.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new Py(this,e))}}])}()).\u0275fac=function(e){return new(e||_y)(To(qs),To(Gr),To(Iy,8),To(Ey,8))},_y.\u0275cmp=_t({type:_y,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&Bo("click",(function(){return t._selectViaInteraction()}))("keydown",(function(e){return t._handleKeydown(e)})),2&e&&(Cs("id",t.id),Mo("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),ls("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:Pg,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(e,t){1&e&&(Ko(),So(0,Og,1,2,"mat-pseudo-checkbox",0),Po(1,"span",1),Qo(2),Io(),Ro(3,"div",2)),2&e&&(Oo("ngIf",t.multiple),ya(3),Oo("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[kd,My,Sy],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),_y);function Fy(e,t,n){if(n.length){for(var i=t.toArray(),a=n.toArray(),r=0,o=0;o<e+1;o++)i[o].group&&i[o].group===a[r]&&r++;return r}return 0}var jy,Hy,Ny,zy,Vy=((jy=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:jy}),jy.\u0275inj=me({factory:function(e){return new(e||jy)},imports:[[Dy,Vd,Ly]]}),jy),By=new Ve("mat-label-global-options"),Wy=["mat-button",""],Uy=["*"],qy=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Gy=Hg(jg(Ng(_createClass((function e(t){_classCallCheck(this,e),this._elementRef=t}))))),Zy=((zy=function(e){function t(e,n,i){var a;_classCallCheck(this,t),(a=_callSuper(this,t,[e]))._focusMonitor=n,a._animationMode=i,a.isRoundButton=a._hasHostAttributes("mat-fab","mat-mini-fab"),a.isIconButton=a._hasHostAttributes("mat-icon-button");var r,o=_createForOfIteratorHelper(qy);try{for(o.s();!(r=o.n()).done;){var s=r.value;a._hasHostAttributes(s)&&a._getHostElement().classList.add(s)}}catch(l){o.e(l)}finally{o.f()}return e.nativeElement.classList.add("mat-button-base"),a._focusMonitor.monitor(a._elementRef,!0),a.isRoundButton&&(a.color="accent"),a}return _inherits(t,e),_createClass(t,[{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._getHostElement(),e,t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return n.some((function(t){return e._getHostElement().hasAttribute(t)}))}}])}(Gy)).\u0275fac=function(e){return new(e||zy)(To(qs),To(bf),To(Sg,8))},zy.\u0275cmp=_t({type:zy,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){var n;1&e&&iu(My,!0),2&e&&tu(n=lu())&&(t.ripple=n.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:3,hostBindings:function(e,t){2&e&&(Mo("disabled",t.disabled||null),ls("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Ds],attrs:Wy,ngContentSelectors:Uy,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(Ko(),Po(0,"span",0),Qo(1),Io(),Ro(2,"div",1),Ro(3,"div",2)),2&e&&(ya(2),ls("mat-button-ripple-round",t.isRoundButton||t.isIconButton),Oo("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[My],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),zy),Jy=((Ny=function(e){function t(e,n,i){return _classCallCheck(this,t),_callSuper(this,t,[n,e,i])}return _inherits(t,e),_createClass(t,[{key:"_haltDisabledEvents",value:function(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}}])}(Zy)).\u0275fac=function(e){return new(e||Ny)(To(bf),To(qs),To(Sg,8))},Ny.\u0275cmp=_t({type:Ny,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){1&e&&Bo("click",(function(e){return t._haltDisabledEvents(e)})),2&e&&(Mo("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),ls("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[Ds],attrs:Wy,ngContentSelectors:Uy,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(Ko(),Po(0,"span",0),Qo(1),Io(),Ro(2,"div",1),Ro(3,"div",2)),2&e&&(ya(2),ls("mat-button-ripple-round",t.isRoundButton||t.isIconButton),Oo("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[My],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),Ny),Ky=((Hy=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:Hy}),Hy.\u0275inj=me({factory:function(e){return new(e||Hy)},imports:[[Dy,Fg],Fg]}),Hy);function Qy(e){return new w((function(t){var n;try{n=e()}catch(i){return void t.error(i)}return(n?B(n):Sh()).subscribe(t)}))}function Xy(e,t){}var $y=_createClass((function e(){_classCallCheck(this,e),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0})),eb={dialogContainer:n_("dialogContainer",[o_("void, exit",r_({opacity:0,transform:"scale(0.7)"})),o_("enter",r_({transform:"none"})),s_("* => enter",i_("150ms cubic-bezier(0, 0, 0.2, 1)",r_({transform:"none",opacity:1}))),s_("* => void, * => exit",i_("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",r_({opacity:0})))])};function tb(){throw Error("Attempting to attach dialog content after content is already attached")}var nb,ib,ab,rb,ob,sb,lb=((nb=function(e){function t(e,n,i,a,r){var o;return _classCallCheck(this,t),(o=_callSuper(this,t))._elementRef=e,o._focusTrapFactory=n,o._changeDetectorRef=i,o._config=r,o._elementFocusedBeforeDialogWasOpened=null,o._state="enter",o._animationStateChanged=new Wl,o.attachDomPortal=function(e){return o._portalOutlet.hasAttached()&&tb(),o._setupFocusTrap(),o._portalOutlet.attachDomPortal(e)},o._ariaLabelledBy=r.ariaLabelledBy||null,o._document=a,o}return _inherits(t,e),_createClass(t,[{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached()&&tb(),this._setupFocusTrap(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached()&&tb(),this._setupFocusTrap(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||this._focusTrap.focusInitialElement()||this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=this._document.activeElement,n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||e.focus()}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){var e=this;this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return e._elementRef.nativeElement.focus()})))}},{key:"_containsFocus",value:function(){var e=this._elementRef.nativeElement,t=this._document.activeElement;return e===t||e.contains(t)}},{key:"_onAnimationDone",value:function(e){"enter"===e.toState?this._trapFocus():"exit"===e.toState&&this._restoreFocus(),this._animationStateChanged.emit(e)}},{key:"_onAnimationStart",value:function(e){this._animationStateChanged.emit(e)}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}])}(gm)).\u0275fac=function(e){return new(e||nb)(To(qs),To(lf),To(Gr),To(mc,8),To($y))},nb.\u0275cmp=_t({type:nb,selectors:[["mat-dialog-container"]],viewQuery:function(e,t){var n;1&e&&nu(bm,!0),2&e&&tu(n=lu())&&(t._portalOutlet=n.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&Wo("@dialogContainer.start",(function(e){return t._onAnimationStart(e)}))("@dialogContainer.done",(function(e){return t._onAnimationDone(e)})),2&e&&(Mo("id",t._id)("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),xs("@dialogContainer",t._state))},features:[Ds],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&So(0,Xy,0,0,"ng-template",0)},directives:[bm],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[eb.dialogContainer]}}),nb),ub=0,cb=function(){return _createClass((function e(t,n){var i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-"+ub++;_classCallCheck(this,e),this._overlayRef=t,this._containerInstance=n,this.id=a,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new L,this._afterClosed=new L,this._beforeClosed=new L,this._state=0,n._id=a,n._animationStateChanged.pipe(wh((function(e){return"done"===e.phaseName&&"enter"===e.toState})),Lh(1)).subscribe((function(){i._afterOpened.next(),i._afterOpened.complete()})),n._animationStateChanged.pipe(wh((function(e){return"done"===e.phaseName&&"exit"===e.toState})),Lh(1)).subscribe((function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()})),t.detachments().subscribe((function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()})),t.keydownEvents().pipe(wh((function(e){return 27===e.keyCode&&!i.disableClose&&!ch(e)}))).subscribe((function(e){e.preventDefault(),i.close()})),t.backdropClick().subscribe((function(){i.disableClose?i._containerInstance._recaptureFocus():i.close()}))}),[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(wh((function(e){return"start"===e.phaseName})),Lh(1)).subscribe((function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout((function(){return t._finishDialogClose()}),n.totalTime+100)})),this._containerInstance._startExitAnimation(),this._state=1}},{key:"afterOpened",value:function(){return this._afterOpened.asObservable()}},{key:"afterClosed",value:function(){return this._afterClosed.asObservable()}},{key:"beforeClosed",value:function(){return this._beforeClosed.asObservable()}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}])}(),db=new Ve("MatDialogData"),hb=new Ve("mat-dialog-default-options"),fb=new Ve("mat-dialog-scroll-strategy"),mb={provide:fb,deps:[op],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},pb=((sb=function(){return _createClass((function e(t,n,i,a,r,o,s){var l=this;_classCallCheck(this,e),this._overlay=t,this._injector=n,this._defaultOptions=a,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new L,this._afterOpenedAtThisLevel=new L,this._ariaHiddenElements=new Map,this.afterAllClosed=Qy((function(){return l.openDialogs.length?l._afterAllClosed:l._afterAllClosed.pipe(Vf(void 0))})),this._scrollStrategy=r}),[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_afterAllClosed",get:function(){var e=this._parentDialog;return e?e._afterAllClosed:this._afterAllClosedAtThisLevel}},{key:"open",value:function(e,t){var n=this;if((t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new $y)).id&&this.getDialogById(t.id))throw Error('Dialog with id "'.concat(t.id,'" exists already. The dialog id must be unique.'));var i=this._createOverlay(t),a=this._attachDialogContainer(i,t),r=this._attachDialogContent(e,a,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe((function(){return n._removeOpenDialog(r)})),this.afterOpened.next(r),r}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(e){return this.openDialogs.find((function(t){return t.id===e}))}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)}},{key:"_getOverlayConfig",value:function(e){var t=new Om({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}},{key:"_attachDialogContainer",value:function(e,t){var n=uo.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:$y,useValue:t}]}),i=new pm(lb,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}},{key:"_attachDialogContent",value:function(e,t,n,i){var a=new cb(n,t,i.id);if(e instanceof _l)t.attachTemplatePortal(new _m(e,null,{$implicit:i.data,dialogRef:a}));else{var r=this._createInjector(i,a,t),o=t.attachComponentPortal(new pm(e,i.viewContainerRef,r));a.componentInstance=o.instance}return a.updateSize(i.width,i.height).updatePosition(i.position),a}},{key:"_createInjector",value:function(e,t,n){var i=e&&e.viewContainerRef&&e.viewContainerRef.injector,a=[{provide:lb,useValue:n},{provide:db,useValue:e.data},{provide:cb,useValue:t}];return!e.direction||i&&i.get(Jf,null)||a.push({provide:Jf,useValue:{value:e.direction,change:uh()}}),uo.create({parent:i||this._injector,providers:a})}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;n>-1;n--){var i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}}])}()).\u0275fac=function(e){return new(e||sb)(Qe(op),Qe(uo),Qe(Pc,8),Qe(hb,8),Qe(fb),Qe(sb,12),Qe(zm))},sb.\u0275prov=fe({token:sb,factory:sb.\u0275fac}),sb),_b=0,vb=((ob=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.dialogRef=t,this._elementRef=n,this._dialog=i,this.type="button"}),[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=kb(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(e){var t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}}])}()).\u0275fac=function(e){return new(e||ob)(To(cb,8),To(qs),To(pb))},ob.\u0275dir=wt({type:ob,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&Bo("click",(function(){return t.dialogRef.close(t.dialogResult)})),2&e&&Mo("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Os]}),ob),gb=((rb=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this._dialogRef=t,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-"+_b++}),[{key:"ngOnInit",value:function(){var e=this;this._dialogRef||(this._dialogRef=kb(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)}))}}])}()).\u0275fac=function(e){return new(e||rb)(To(cb,8),To(qs),To(pb))},rb.\u0275dir=wt({type:rb,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&Cs("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),rb),yb=((ab=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||ab)},ab.\u0275dir=wt({type:ab,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),ab),bb=((ib=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||ib)},ib.\u0275dir=wt({type:ib,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),ib);function kb(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find((function(e){return e.id===n.id})):null}var wb,Cb=((wb=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:wb}),wb.\u0275inj=me({factory:function(e){return new(e||wb)},providers:[pb,mb],imports:[[hp,km,Fg],Fg]}),wb);function xb(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){var i=t[0];if(l(i))return Mb(i,null);if(u(i)&&Object.getPrototypeOf(i)===Object.prototype){var a=Object.keys(i);return Mb(a.map((function(e){return i[e]})),a)}}if("function"==typeof t[t.length-1]){var r=t.pop();return Mb(t=1===t.length&&l(t[0])?t[0]:t,null).pipe(H((function(e){return r.apply(void 0,_toConsumableArray(e))})))}return Mb(t,null)}function Mb(e,t){return new w((function(n){var i=e.length;if(0!==i)for(var a=new Array(i),r=0,o=0,s=function(s){var l=B(e[s]),u=!1;n.add(l.subscribe({next:function(e){u||(u=!0,o++),a[s]=e},error:function(e){return n.error(e)},complete:function(){++r!==i&&u||(o===i&&n.next(t?t.reduce((function(e,t,n){return e[t]=a[n],e}),{}):a),n.complete())}}))},l=0;l<i;l++)s(l);else n.complete()}))}var Db,Sb,Lb,Tb,Ab=new Ve("NgValueAccessor"),Eb={provide:Ab,useExisting:De((function(){return Ob})),multi:!0},Ob=((Db=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}),[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}])}()).\u0275fac=function(e){return new(e||Db)(To(Ks),To(qs))},Db.\u0275dir=wt({type:Db,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&Bo("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[Vs([Eb])]}),Db),Yb={provide:Ab,useExisting:De((function(){return Ib})),multi:!0},Pb=new Ve("CompositionEventMode"),Ib=((Tb=function(){return _createClass((function e(t,n,i){var a;_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._compositionMode=i,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(a=hc()?hc().getUserAgent():"",!/android (\d+)/.test(a.toLowerCase())))}),[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}])}()).\u0275fac=function(e){return new(e||Tb)(To(Ks),To(qs),To(Pb,8))},Tb.\u0275dir=wt({type:Tb,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&Bo("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[Vs([Yb])]}),Tb),Rb=((Lb=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"reset",value:function(e){this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}}])}()).\u0275fac=function(e){return new(e||Lb)},Lb.\u0275dir=wt({type:Lb}),Lb),Fb=((Sb=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}])}(Rb)).\u0275fac=function(e){return jb(e||Sb)},Sb.\u0275dir=wt({type:Sb,features:[Ds]}),Sb),jb=hi(Fb);function Hb(){throw new Error("unimplemented")}var Nb,zb,Vb=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments))._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return _inherits(t,e),_createClass(t,[{key:"validator",get:function(){return Hb()}},{key:"asyncValidator",get:function(){return Hb()}}])}(Rb),Bb=function(){return _createClass((function e(t){_classCallCheck(this,e),this._cd=t}),[{key:"ngClassUntouched",get:function(){return!!this._cd.control&&this._cd.control.untouched}},{key:"ngClassTouched",get:function(){return!!this._cd.control&&this._cd.control.touched}},{key:"ngClassPristine",get:function(){return!!this._cd.control&&this._cd.control.pristine}},{key:"ngClassDirty",get:function(){return!!this._cd.control&&this._cd.control.dirty}},{key:"ngClassValid",get:function(){return!!this._cd.control&&this._cd.control.valid}},{key:"ngClassInvalid",get:function(){return!!this._cd.control&&this._cd.control.invalid}},{key:"ngClassPending",get:function(){return!!this._cd.control&&this._cd.control.pending}}])}(),Wb=((zb=function(e){function t(e){return _classCallCheck(this,t),_callSuper(this,t,[e])}return _inherits(t,e),_createClass(t)}(Bb)).\u0275fac=function(e){return new(e||zb)(To(Vb,2))},zb.\u0275dir=wt({type:zb,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&ls("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[Ds]}),zb),Ub=((Nb=function(e){function t(e){return _classCallCheck(this,t),_callSuper(this,t,[e])}return _inherits(t,e),_createClass(t)}(Bb)).\u0275fac=function(e){return new(e||Nb)(To(Fb,2))},Nb.\u0275dir=wt({type:Nb,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&ls("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[Ds]}),Nb);function qb(e){return null==e||0===e.length}var Gb=new Ve("NgValidators"),Zb=new Ve("NgAsyncValidators"),Jb=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Kb=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"min",value:function(e){return function(t){if(qb(t.value)||qb(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}},{key:"max",value:function(e){return function(t){if(qb(t.value)||qb(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}},{key:"required",value:function(e){return qb(e.value)?{required:!0}:null}},{key:"requiredTrue",value:function(e){return!0===e.value?null:{required:!0}}},{key:"email",value:function(e){return qb(e.value)||Jb.test(e.value)?null:{email:!0}}},{key:"minLength",value:function(e){return function(t){if(qb(t.value))return null;var n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}},{key:"maxLength",value:function(e){return function(t){var n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}},{key:"pattern",value:function(t){return t?("string"==typeof t?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),n=new RegExp(i)):(i=t.toString(),n=t),function(e){if(qb(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:i,actualValue:t}}}):e.nullValidator;var n,i}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){if(!e)return null;var t=e.filter(Qb);return 0==t.length?null:function(e){return $b(function(e,t){return t.map((function(t){return t(e)}))}(e,t))}}},{key:"composeAsync",value:function(e){if(!e)return null;var t=e.filter(Qb);return 0==t.length?null:function(e){return xb(function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(Xb)).pipe(H($b))}}}])}();function Qb(e){return null!=e}function Xb(e){var t=zo(e)?B(e):e;if(!Vo(t))throw new Error("Expected validator to return Promise or Observable.");return t}function $b(e){var t={};return e.forEach((function(e){t=null!=e?Object.assign(Object.assign({},t),e):t})),0===Object.keys(t).length?null:t}function ek(e){return e.validate?function(t){return e.validate(t)}:e}function tk(e){return e.validate?function(t){return e.validate(t)}:e}var nk,ik,ak,rk,ok,sk,lk={provide:Ab,useExisting:De((function(){return uk})),multi:!0},uk=((nk=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}),[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}])}()).\u0275fac=function(e){return new(e||nk)(To(Ks),To(qs))},nk.\u0275dir=wt({type:nk,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&Bo("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[Vs([lk])]}),nk),ck={provide:Ab,useExisting:De((function(){return hk})),multi:!0},dk=((ak=function(){return _createClass((function e(){_classCallCheck(this,e),this._accessors=[]}),[{key:"add",value:function(e,t){this._accessors.push([e,t])}},{key:"remove",value:function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}},{key:"select",value:function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))}},{key:"_isSameGroup",value:function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}])}()).\u0275fac=function(e){return new(e||ak)},ak.\u0275prov=fe({token:ak,factory:ak.\u0275fac}),ak),hk=((ik=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._registry=i,this._injector=a,this.onChange=function(){},this.onTouched=function(){}}),[{key:"ngOnInit",value:function(){this._control=this._injector.get(Vb),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}}},{key:"fireUncheck",value:function(e){this.writeValue(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_checkName",value:function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}},{key:"_throwNameError",value:function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')}}])}()).\u0275fac=function(e){return new(e||ik)(To(Ks),To(qs),To(dk),To(uo))},ik.\u0275dir=wt({type:ik,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&Bo("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Vs([ck])]}),ik),fk={provide:Ab,useExisting:De((function(){return mk})),multi:!0},mk=((rk=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}),[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}])}()).\u0275fac=function(e){return new(e||rk)(To(Ks),To(qs))},rk.\u0275dir=wt({type:rk,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&Bo("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[Vs([fk])]}),rk),pk='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',_k='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',vk='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',gk=function(){return _createClass((function e(){_classCallCheck(this,e)}),null,[{key:"controlParentException",value:function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+pk)}},{key:"ngModelGroupException",value:function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '.concat(_k,"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ").concat(vk))}},{key:"missingFormException",value:function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+pk)}},{key:"groupParentException",value:function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+_k)}},{key:"arrayParentException",value:function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <div formArrayName="cities">\n <div *ngFor="let city of cityArray.controls; index as i">\n <input [formControlName]="i">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')}},{key:"disabledAttrWarning",value:function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}},{key:"ngModelWarning",value:function(e){console.warn("\n It looks like you're using ngModel on the same form field as ".concat(e,". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/").concat("formControl"===e?"FormControlDirective":"FormControlName","#use-with-ngmodel\n "))}}])}(),yk={provide:Ab,useExisting:De((function(){return bk})),multi:!0},bk=((ok=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=go}),[{key:"compareWith",set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}},{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var i=n[t];if(this._compareWith(this._optionMap.get(i),e))return i}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}])}()).\u0275fac=function(e){return new(e||ok)(To(Ks),To(qs))},ok.\u0275dir=wt({type:ok,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&Bo("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Vs([yk])]}),ok),kk={provide:Ab,useExisting:De((function(){return wk})),multi:!0},wk=((sk=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=go}),[{key:"compareWith",set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}},{key:"writeValue",value:function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var i=e.map((function(e){return n._getOptionId(e)}));t=function(e,t){e._setSelected(i.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){var i=[];if(n.hasOwnProperty("selectedOptions"))for(var a=n.selectedOptions,r=0;r<a.length;r++){var o=a.item(r),s=t._getOptionValue(o.value);i.push(s)}else for(var l=n.options,u=0;u<l.length;u++){var c=l.item(u);if(c.selected){var d=t._getOptionValue(c.value);i.push(d)}}t.value=i,e(i)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var i=n[t];if(this._compareWith(this._optionMap.get(i)._value,e))return i}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}])}()).\u0275fac=function(e){return new(e||sk)(To(Ks),To(qs))},sk.\u0275dir=wt({type:sk,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&Bo("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Vs([kk])]}),sk);function Ck(e,t){return[].concat(_toConsumableArray(t.path),[e])}function xk(e,t){e||Lk(t,"Cannot find control with"),t.valueAccessor||Lk(t,"No value accessor for form control with"),e.validator=Kb.compose([e.validator,t.validator]),e.asyncValidator=Kb.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange((function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Mk(e,t)}))}(e,t),function(e,t){e.registerOnChange((function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)}))}(e,t),function(e,t){t.valueAccessor.registerOnTouched((function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Mk(e,t),"submit"!==e.updateOn&&e.markAsTouched()}))}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange((function(e){t.valueAccessor.setDisabledState(e)})),t._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))})),t._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))}))}function Mk(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Dk(e,t){null==e&&Lk(t,"Cannot find control with"),e.validator=Kb.compose([e.validator,t.validator]),e.asyncValidator=Kb.composeAsync([e.asyncValidator,t.asyncValidator])}function Sk(e){return Lk(e,"There is no FormControl instance attached to form control element with")}function Lk(e,t){var n;throw n=e.path.length>1?"path: '".concat(e.path.join(" -> "),"'"):e.path[0]?"name: '".concat(e.path,"'"):"unspecified name attribute",new Error("".concat(t," ").concat(n))}function Tk(e){return null!=e?Kb.compose(e.map(ek)):null}function Ak(e){return null!=e?Kb.composeAsync(e.map(tk)):null}function Ek(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!go(t,n.currentValue)}var Ok=[Ob,mk,uk,bk,wk,hk];function Yk(e,t){e._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}))}function Pk(e,t){if(!t)return null;Array.isArray(t)||Lk(e,"Value accessor was not provided as an array for form control with");var n=void 0,i=void 0,a=void 0;return t.forEach((function(t){var r;t.constructor===Ib?n=t:(r=t,Ok.some((function(e){return r.constructor===e}))?(i&&Lk(e,"More than one built-in value accessor matches form control with"),i=t):(a&&Lk(e,"More than one custom value accessor matches form control with"),a=t))})),a||i||n||(Lk(e,"No valid value accessor for form control with"),null)}function Ik(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function Rk(e,t,n,i){Li()&&"never"!==i&&((null!==i&&"once"!==i||t._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(gk.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function Fk(e){var t=Hk(e)?e.validators:e;return Array.isArray(t)?Tk(t):t||null}function jk(e,t){var n=Hk(t)?t.asyncValidators:e;return Array.isArray(n)?Ak(n):n||null}function Hk(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var Nk,zk,Vk,Bk,Wk,Uk,qk,Gk,Zk,Jk=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.validator=t,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}),[{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(e){this.validator=Fk(e)}},{key:"setAsyncValidators",value:function(e){this.asyncValidator=jk(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(e){return e.markAllAsTouched()}))}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!0)}))}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild((function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!1)}))}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=Xb(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return t.setErrors(n,{emitEvent:e})}))}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var i=e;return t.forEach((function(e){i=i instanceof Qk?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof Xk&&i.at(e)||null})),i}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new Wl,this.statusChanges=new Wl}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls((function(t){return t.status===e}))}},{key:"_anyControlsDirty",value:function(){return this._anyControls((function(e){return e.dirty}))}},{key:"_anyControlsTouched",value:function(){return this._anyControls((function(e){return e.touched}))}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){Hk(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}])}(),Kk=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,t),(e=_callSuper(this,t,[Fk(i),jk(a,i)]))._onChange=[],e._applyFormState(n),e._setUpdateStrategy(i),e.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),e._initObservables(),e}return _inherits(t,e),_createClass(t,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(e){return e(t.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}])}(Jk),Qk=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t,[Fk(n),jk(i,n)])).controls=e,a._initObservables(),a._setUpdateStrategy(n),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return _inherits(t,e),_createClass(t,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach((function(i){t._throwIfControlMissing(i),t.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(e).forEach((function(i){t.controls[i]&&t.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof Kk?t.value:t.getRawValue(),e}))}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){var t=this,n=!1;return this._forEachChild((function(i,a){n=n||t.contains(a)&&e(i)})),n}},{key:"_reduceValue",value:function(){var e=this;return this._reduceChildren({},(function(t,n,i){return(n.enabled||e.disabled)&&(t[i]=n.value),t}))}},{key:"_reduceChildren",value:function(e,t){var n=e;return this._forEachChild((function(e,i){n=t(n,e,i)})),n}},{key:"_allControlsDisabled",value:function(){for(var e=0,t=Object.keys(this.controls);e<t.length;e++){var n=t[e];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))}))}}])}(Jk),Xk=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t,[Fk(n),jk(i,n)])).controls=e,a._initObservables(),a._setUpdateStrategy(n),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return _inherits(t,e),_createClass(t,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}},{key:"removeAt",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach((function(e,i){t._throwIfControlMissing(i),t.at(i).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach((function(e,i){t.at(i)&&t.at(i).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map((function(e){return e instanceof Kk?e.value:e.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(e){return e._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}},{key:"_forEachChild",value:function(e){this.controls.forEach((function(t,n){e(t,n)}))}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))}},{key:"_anyControls",value:function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var e,t=_createForOfIteratorHelper(this.controls);try{for(t.s();!(e=t.n()).done;){if(e.value.enabled)return!1}}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}])}(Jk),$k={provide:Fb,useExisting:De((function(){return tw}))},ew=Promise.resolve(null),tw=((zk=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t)).submitted=!1,i._directives=[],i.ngSubmit=new Wl,i.form=new Qk({},Tk(e),Ak(n)),i}return _inherits(t,e),_createClass(t,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(e){var t=this;ew.then((function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),xk(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)}))}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;ew.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),Ik(t._directives,e)}))}},{key:"addFormGroup",value:function(e){var t=this;ew.then((function(){var n=t._findContainer(e.path),i=new Qk({});Dk(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(e){var t=this;ew.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)}))}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;ew.then((function(){n.form.get(e.path).setValue(t)}))}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,Yk(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}}])}(Fb)).\u0275fac=function(e){return new(e||zk)(To(Gb,10),To(Zb,10))},zk.\u0275dir=wt({type:zk,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&Bo("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Vs([$k]),Ds]}),zk),nw=((Nk=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return Ck(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return Tk(this._validators)}},{key:"asyncValidator",get:function(){return Ak(this._asyncValidators)}},{key:"_checkParentType",value:function(){}}])}(Fb)).\u0275fac=function(e){return iw(e||Nk)},Nk.\u0275dir=wt({type:Nk,features:[Ds]}),Nk),iw=hi(nw),aw=function(){return _createClass((function e(){_classCallCheck(this,e)}),null,[{key:"modelParentException",value:function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '.concat(pk,'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n '))}},{key:"formGroupNameException",value:function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ".concat(_k,"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ").concat(vk))}},{key:"missingNameException",value:function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}},{key:"modelGroupParentException",value:function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ".concat(_k,"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ").concat(vk))}}])}(),rw={provide:Fb,useExisting:De((function(){return ow}))},ow=((Vk=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t))._parent=e,a._validators=n,a._asyncValidators=i,a}return _inherits(t,e),_createClass(t,[{key:"_checkParentType",value:function(){this._parent instanceof t||this._parent instanceof tw||aw.modelGroupParentException()}}])}(nw)).\u0275fac=function(e){return new(e||Vk)(To(Fb,5),To(Gb,10),To(Zb,10))},Vk.\u0275dir=wt({type:Vk,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[Vs([rw]),Ds]}),Vk),sw={provide:Vb,useExisting:De((function(){return uw}))},lw=Promise.resolve(null),uw=((Wk=function(e){function t(e,n,i,a){var r;return _classCallCheck(this,t),(r=_callSuper(this,t)).control=new Kk,r._registered=!1,r.update=new Wl,r._parent=e,r._rawValidators=n||[],r._rawAsyncValidators=i||[],r.valueAccessor=Pk(_assertThisInitialized(r),a),r}return _inherits(t,e),_createClass(t,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),Ek(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?Ck(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return Tk(this._rawValidators)}},{key:"asyncValidator",get:function(){return Ak(this._rawAsyncValidators)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){xk(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){!(this._parent instanceof ow)&&this._parent instanceof nw?aw.formGroupNameException():this._parent instanceof ow||this._parent instanceof tw||aw.modelParentException()}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||aw.missingNameException()}},{key:"_updateValue",value:function(e){var t=this;lw.then((function(){t.control.setValue(e,{emitViewToModelChange:!1})}))}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,i=""===n||n&&"false"!==n;lw.then((function(){i&&!t.control.disabled?t.control.disable():!i&&t.control.disabled&&t.control.enable()}))}}])}(Vb)).\u0275fac=function(e){return new(e||Wk)(To(Fb,9),To(Gb,10),To(Zb,10),To(Ab,10))},Wk.\u0275dir=wt({type:Wk,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Vs([sw]),Ds,Os]}),Wk),cw=((Bk=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||Bk)},Bk.\u0275dir=wt({type:Bk,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),Bk),dw=new Ve("NgModelWithFormControlWarning"),hw={provide:Vb,useExisting:De((function(){return fw}))},fw=((Uk=function(e){function t(e,n,i,a){var r;return _classCallCheck(this,t),(r=_callSuper(this,t))._ngModelWarningConfig=a,r.update=new Wl,r._ngModelWarningSent=!1,r._rawValidators=e||[],r._rawAsyncValidators=n||[],r.valueAccessor=Pk(_assertThisInitialized(r),i),r}return _inherits(t,e),_createClass(t,[{key:"isDisabled",set:function(e){gk.disabledAttrWarning()}},{key:"ngOnChanges",value:function(e){this._isControlChanged(e)&&(xk(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),Ek(e,this.viewModel)&&(Rk("formControl",t,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}},{key:"path",get:function(){return[]}},{key:"validator",get:function(){return Tk(this._rawValidators)}},{key:"asyncValidator",get:function(){return Ak(this._rawAsyncValidators)}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_isControlChanged",value:function(e){return e.hasOwnProperty("form")}}])}(Vb)).\u0275fac=function(e){return new(e||Uk)(To(Gb,10),To(Zb,10),To(Ab,10),To(dw,8))},Uk.\u0275dir=wt({type:Uk,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Vs([hw]),Ds,Os]}),Uk._ngModelWarningSentOnce=!1,Uk),mw={provide:Fb,useExisting:De((function(){return pw}))},pw=((qk=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t))._validators=e,i._asyncValidators=n,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new Wl,i}return _inherits(t,e),_createClass(t,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return xk(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){Ik(this.directives,e)}},{key:"addFormGroup",value:function(e){var t=this.form.get(e.path);Dk(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(e){}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){var t=this.form.get(e.path);Dk(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(e){}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,Yk(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach((function(t){var n=e.form.get(t.path);t.control!==n&&(function(e,t){t.valueAccessor.registerOnChange((function(){return Sk(t)})),t.valueAccessor.registerOnTouched((function(){return Sk(t)})),t._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),t._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(t.control,t),n&&xk(n,t),t.control=n)})),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form}},{key:"_updateValidators",value:function(){var e=Tk(this._validators);this.form.validator=Kb.compose([this.form.validator,e]);var t=Ak(this._asyncValidators);this.form.asyncValidator=Kb.composeAsync([this.form.asyncValidator,t])}},{key:"_checkFormPresent",value:function(){this.form||gk.missingFormException()}}])}(Fb)).\u0275fac=function(e){return new(e||qk)(To(Gb,10),To(Zb,10))},qk.\u0275dir=wt({type:qk,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&Bo("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Vs([mw]),Ds,Os]}),qk),_w={provide:Fb,useExisting:De((function(){return vw}))},vw=((Gk=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t))._parent=e,a._validators=n,a._asyncValidators=i,a}return _inherits(t,e),_createClass(t,[{key:"_checkParentType",value:function(){bw(this._parent)&&gk.groupParentException()}}])}(nw)).\u0275fac=function(e){return new(e||Gk)(To(Fb,13),To(Gb,10),To(Zb,10))},Gk.\u0275dir=wt({type:Gk,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[Vs([_w]),Ds]}),Gk),gw={provide:Fb,useExisting:De((function(){return yw}))},yw=((Zk=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t))._parent=e,a._validators=n,a._asyncValidators=i,a}return _inherits(t,e),_createClass(t,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormArray(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormArray(this)}},{key:"control",get:function(){return this.formDirective.getFormArray(this)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"path",get:function(){return Ck(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"validator",get:function(){return Tk(this._validators)}},{key:"asyncValidator",get:function(){return Ak(this._asyncValidators)}},{key:"_checkParentType",value:function(){bw(this._parent)&&gk.arrayParentException()}}])}(Fb)).\u0275fac=function(e){return new(e||Zk)(To(Fb,13),To(Gb,10),To(Zb,10))},Zk.\u0275dir=wt({type:Zk,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[Vs([gw]),Ds]}),Zk);function bw(e){return!(e instanceof vw||e instanceof pw||e instanceof yw)}var kw,ww,Cw,xw,Mw,Dw,Sw,Lw,Tw,Aw={provide:Vb,useExisting:De((function(){return Ew}))},Ew=((kw=function(e){function t(e,n,i,a,r){var o;return _classCallCheck(this,t),(o=_callSuper(this,t))._ngModelWarningConfig=r,o._added=!1,o.update=new Wl,o._ngModelWarningSent=!1,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=i||[],o.valueAccessor=Pk(_assertThisInitialized(o),a),o}return _inherits(t,e),_createClass(t,[{key:"isDisabled",set:function(e){gk.disabledAttrWarning()}},{key:"ngOnChanges",value:function(e){this._added||this._setUpControl(),Ek(e,this.viewModel)&&(Rk("formControlName",t,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"path",get:function(){return Ck(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return Tk(this._rawValidators)}},{key:"asyncValidator",get:function(){return Ak(this._rawAsyncValidators)}},{key:"_checkParentType",value:function(){!(this._parent instanceof vw)&&this._parent instanceof nw?gk.ngModelGroupException():this._parent instanceof vw||this._parent instanceof pw||this._parent instanceof yw||gk.controlParentException()}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}])}(Vb)).\u0275fac=function(e){return new(e||kw)(To(Fb,13),To(Gb,10),To(Zb,10),To(Ab,10),To(dw,8))},kw.\u0275dir=wt({type:kw,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Vs([Aw]),Ds,Os]}),kw._ngModelWarningSentOnce=!1,kw),Ow={provide:Gb,useExisting:De((function(){return Yw})),multi:!0},Yw=((ww=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}},{key:"validate",value:function(e){return this.required?Kb.required(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}}])}()).\u0275fac=function(e){return new(e||ww)},ww.\u0275dir=wt({type:ww,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&Mo("required",t.required?"":null)},inputs:{required:"required"},features:[Vs([Ow])]}),ww),Pw={provide:Gb,useExisting:De((function(){return Iw})),multi:!0},Iw=((Sw=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"ngOnChanges",value:function(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return this._validator(e)}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=Kb.pattern(this.pattern)}}])}()).\u0275fac=function(e){return new(e||Sw)},Sw.\u0275dir=wt({type:Sw,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&Mo("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[Vs([Pw]),Os]}),Sw),Rw=((Dw=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:Dw}),Dw.\u0275inj=me({factory:function(e){return new(e||Dw)}}),Dw),Fw=((Mw=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"group",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(e),i=null,a=null,r=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(i=null!=t.validators?t.validators:null,a=null!=t.asyncValidators?t.asyncValidators:null,r=null!=t.updateOn?t.updateOn:void 0):(i=null!=t.validator?t.validator:null,a=null!=t.asyncValidator?t.asyncValidator:null)),new Qk(n,{asyncValidators:a,updateOn:r,validators:i})}},{key:"control",value:function(e,t,n){return new Kk(e,t,n)}},{key:"array",value:function(e,t,n){var i=this,a=e.map((function(e){return i._createControl(e)}));return new Xk(a,t,n)}},{key:"_reduceControls",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(i){n[i]=t._createControl(e[i])})),n}},{key:"_createControl",value:function(e){return e instanceof Kk||e instanceof Qk||e instanceof Xk?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}])}()).\u0275fac=function(e){return new(e||Mw)},Mw.\u0275prov=fe({token:Mw,factory:Mw.\u0275fac}),Mw),jw=((xw=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:xw}),xw.\u0275inj=me({factory:function(e){return new(e||xw)},providers:[dk],imports:[Rw]}),xw),Hw=((Cw=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:dw,useValue:t.warnOnNgModelWithFormControl}]}}}])}()).\u0275mod=bt({type:Cw}),Cw.\u0275inj=me({factory:function(e){return new(e||Cw)},providers:[Fw,dk],imports:[Rw]}),Cw),Nw=sh({passive:!0}),zw=((Tw=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._platform=t,this._ngZone=n,this._monitoredElements=new Map}),[{key:"monitor",value:function(e){var t=this;if(!this._platform.isBrowser)return Dh;var n=Rh(e),i=this._monitoredElements.get(n);if(i)return i.subject.asObservable();var a=new L,r="cdk-text-field-autofilled",o=function(e){"cdk-text-field-autofill-start"!==e.animationName||n.classList.contains(r)?"cdk-text-field-autofill-end"===e.animationName&&n.classList.contains(r)&&(n.classList.remove(r),t._ngZone.run((function(){return a.next({target:e.target,isAutofilled:!1})}))):(n.classList.add(r),t._ngZone.run((function(){return a.next({target:e.target,isAutofilled:!0})})))};return this._ngZone.runOutsideAngular((function(){n.addEventListener("animationstart",o,Nw),n.classList.add("cdk-text-field-autofill-monitored")})),this._monitoredElements.set(n,{subject:a,unlisten:function(){n.removeEventListener("animationstart",o,Nw)}}),a.asObservable()}},{key:"stopMonitoring",value:function(e){var t=Rh(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}},{key:"ngOnDestroy",value:function(){var e=this;this._monitoredElements.forEach((function(t,n){return e.stopMonitoring(n)}))}}])}()).\u0275fac=function(e){return new(e||Tw)(Qe(ih),Qe(Pu))},Tw.\u0275prov=fe({factory:function(){return new Tw(Qe(ih),Qe(Pu))},token:Tw,providedIn:"root"}),Tw),Vw=((Lw=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:Lw}),Lw.\u0275inj=me({factory:function(e){return new(e||Lw)},imports:[[ah]]}),Lw),Bw=["underline"],Ww=["connectionContainer"],Uw=["inputContainer"],qw=["label"];function Gw(e,t){1&e&&(Fo(0),Po(1,"div",14),Ro(2,"div",15),Ro(3,"div",16),Ro(4,"div",17),Io(),Po(5,"div",18),Ro(6,"div",15),Ro(7,"div",16),Ro(8,"div",17),Io(),jo())}function Zw(e,t){1&e&&(Po(0,"div",19),Qo(1,1),Io())}function Jw(e,t){if(1&e&&(Fo(0),Qo(1,2),Po(2,"span"),ys(3),Io(),jo()),2&e){var n=Zo(2);ya(3),bs(n._control.placeholder)}}function Kw(e,t){1&e&&Qo(0,3,["*ngSwitchCase","true"])}function Qw(e,t){1&e&&(Po(0,"span",23),ys(1," *"),Io())}function Xw(e,t){if(1&e){var n=No();Po(0,"label",20,21),Bo("cdkObserveContent",(function(){return $t(n),Zo().updateOutlineGap()})),So(2,Jw,4,1,"ng-container",12),So(3,Kw,1,0,void 0,12),So(4,Qw,2,0,"span",22),Io()}if(2&e){var i=Zo();ls("mat-empty",i._control.empty&&!i._shouldAlwaysFloat)("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat)("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),Oo("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),Mo("for",i._control.id)("aria-owns",i._control.id),ya(2),Oo("ngSwitchCase",!1),ya(1),Oo("ngSwitchCase",!0),ya(1),Oo("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function $w(e,t){1&e&&(Po(0,"div",24),Qo(1,4),Io())}function eC(e,t){if(1&e&&(Po(0,"div",25,26),Ro(2,"span",27),Io()),2&e){var n=Zo();ya(2),ls("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function tC(e,t){1&e&&(Po(0,"div"),Qo(1,5),Io()),2&e&&Oo("@transitionMessages",Zo()._subscriptAnimationState)}function nC(e,t){if(1&e&&(Po(0,"div",31),ys(1),Io()),2&e){var n=Zo(2);Oo("id",n._hintLabelId),ya(1),bs(n.hintLabel)}}function iC(e,t){if(1&e&&(Po(0,"div",28),So(1,nC,2,2,"div",29),Qo(2,6),Ro(3,"div",30),Qo(4,7),Io()),2&e){var n=Zo();Oo("@transitionMessages",n._subscriptAnimationState),ya(1),Oo("ngIf",n.hintLabel)}}var aC,rC,oC=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],sC=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],lC=0,uC=((aC=_createClass((function e(){_classCallCheck(this,e),this.id="mat-error-"+lC++}))).\u0275fac=function(e){return new(e||aC)},aC.\u0275dir=wt({type:aC,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&Mo("id",t.id)},inputs:{id:"id"}}),aC),cC={transitionMessages:n_("transitionMessages",[o_("enter",r_({opacity:1,transform:"translateY(0%)"})),s_("void => enter",[r_({opacity:0,transform:"translateY(-100%)"}),i_("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},dC=((rC=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||rC)},rC.\u0275dir=wt({type:rC}),rC);function hC(e){return Error("A hint was already declared for 'align=\"".concat(e,"\"'."))}var fC,mC,pC,_C,vC,gC,yC,bC,kC,wC=0,CC=((vC=_createClass((function e(){_classCallCheck(this,e),this.align="start",this.id="mat-hint-"+wC++}))).\u0275fac=function(e){return new(e||vC)},vC.\u0275dir=wt({type:vC,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(Mo("id",t.id)("align",null),ls("mat-right","end"==t.align))},inputs:{align:"align",id:"id"}}),vC),xC=((_C=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||_C)},_C.\u0275dir=wt({type:_C,selectors:[["mat-label"]]}),_C),MC=((pC=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||pC)},pC.\u0275dir=wt({type:pC,selectors:[["mat-placeholder"]]}),pC),DC=((mC=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||mC)},mC.\u0275dir=wt({type:mC,selectors:[["","matPrefix",""]]}),mC),SC=((fC=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||fC)},fC.\u0275dir=wt({type:fC,selectors:[["","matSuffix",""]]}),fC),LC=0,TC=Hg(_createClass((function e(t){_classCallCheck(this,e),this._elementRef=t})),"primary"),AC=new Ve("MAT_FORM_FIELD_DEFAULT_OPTIONS"),EC=new Ve("MatFormField"),OC=((yC=function(e){function t(e,n,i,a,r,o,s,l){var u;return _classCallCheck(this,t),(u=_callSuper(this,t,[e]))._elementRef=e,u._changeDetectorRef=n,u._dir=a,u._defaults=r,u._platform=o,u._ngZone=s,u._outlineGapCalculationNeededImmediately=!1,u._outlineGapCalculationNeededOnStable=!1,u._destroyed=new L,u._showAlwaysAnimate=!1,u._subscriptAnimationState="",u._hintLabel="",u._hintLabelId="mat-hint-"+LC++,u._labelId="mat-form-field-label-"+LC++,u._labelOptions=i||{},u.floatLabel=u._getDefaultFloatLabelState(),u._animationsEnabled="NoopAnimations"!==l,u.appearance=r&&r.appearance?r.appearance:"legacy",u._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker,u}return _inherits(t,e),_createClass(t,[{key:"appearance",get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=Eh(e)}},{key:"_shouldAlwaysFloat",get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",get:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e}},{key:"_labelChild",get:function(){return this._labelChildNonStatic||this._labelChildStatic}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(Vf(null)).subscribe((function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Ff(this._destroyed)).subscribe((function(){return e._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.asObservable().pipe(Ff(e._destroyed)).subscribe((function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()}))})),J(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Vf(null)).subscribe((function(){e._processHints(),e._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Vf(null)).subscribe((function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(Ff(this._destroyed)).subscribe((function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return e.updateOutlineGap()}))})):e.updateOutlineGap()}))}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!!this._labelChild}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Lf(this._label.nativeElement,"transitionend").pipe(Lh(1)).subscribe((function(){e._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){var e,t,n=this;this._hintChildren&&this._hintChildren.forEach((function(i){if("start"===i.align){if(e||n.hintLabel)throw hC("start");e=i}else if("end"===i.align){if(t)throw hC("end");t=i}}))}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if("hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find((function(e){return"start"===e.align})):null,n=this._hintChildren?this._hintChildren.find((function(e){return"end"===e.align})):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&(e=this._errorChildren.map((function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,a=i.querySelectorAll(".mat-form-field-outline-start"),r=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var o=i.getBoundingClientRect();if(0===o.width&&0===o.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);var s,l=this._getStartEnd(o),u=this._getStartEnd(e.children[0].getBoundingClientRect()),c=0,d=_createForOfIteratorHelper(e.children);try{for(d.s();!(s=d.n()).done;)c+=s.value.offsetWidth}catch(m){d.e(m)}finally{d.f()}t=Math.abs(u-l)-5,n=c>0?.75*c+10:0}for(var h=0;h<a.length;h++)a[h].style.width=t+"px";for(var f=0;f<r.length;f++)r[f].style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0}},{key:"_getStartEnd",value:function(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}},{key:"_isAttachedToDOM",value:function(){var e=this._elementRef.nativeElement;if(e.getRootNode){var t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}}])}(TC)).\u0275fac=function(e){return new(e||yC)(To(qs),To(Gr),To(By,8),To(Jf,8),To(AC,8),To(ih),To(Pu),To(Sg,8))},yC.\u0275cmp=_t({type:yC,selectors:[["mat-form-field"]],contentQueries:function(e,t,n){var i;1&e&&(ru(n,dC,!0),ou(n,dC,!0),ru(n,xC,!0),ou(n,xC,!0),ru(n,MC,!0),ru(n,uC,!0),ru(n,CC,!0),ru(n,DC,!0),ru(n,SC,!0)),2&e&&(tu(i=lu())&&(t._controlNonStatic=i.first),tu(i=lu())&&(t._controlStatic=i.first),tu(i=lu())&&(t._labelChildNonStatic=i.first),tu(i=lu())&&(t._labelChildStatic=i.first),tu(i=lu())&&(t._placeholderChild=i.first),tu(i=lu())&&(t._errorChildren=i),tu(i=lu())&&(t._hintChildren=i),tu(i=lu())&&(t._prefixChildren=i),tu(i=lu())&&(t._suffixChildren=i))},viewQuery:function(e,t){var n;1&e&&(iu(Bw,!0),nu(Ww,!0),iu(Uw,!0),iu(qw,!0)),2&e&&(tu(n=lu())&&(t.underlineRef=n.first),tu(n=lu())&&(t._connectionContainerRef=n.first),tu(n=lu())&&(t._inputContainerRef=n.first),tu(n=lu())&&(t._label=n.first))},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(e,t){2&e&&ls("mat-form-field-appearance-standard","standard"==t.appearance)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-appearance-legacy","legacy"==t.appearance)("mat-form-field-invalid",t._control.errorState)("mat-form-field-can-float",t._canLabelFloat)("mat-form-field-should-float",t._shouldLabelFloat())("mat-form-field-has-label",t._hasFloatingLabel())("mat-form-field-hide-placeholder",t._hideControlPlaceholder())("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-focused",t._control.focused)("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))("_mat-animation-noopable",!t._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Vs([{provide:EC,useExisting:yC}]),Ds],ngContentSelectors:sC,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,t){1&e&&(Ko(oC),Po(0,"div",0),Po(1,"div",1,2),Bo("click",(function(e){return t._control.onContainerClick&&t._control.onContainerClick(e)})),So(3,Gw,9,0,"ng-container",3),So(4,Zw,2,0,"div",4),Po(5,"div",5,6),Qo(7),Po(8,"span",7),So(9,Xw,5,16,"label",8),Io(),Io(),So(10,$w,2,0,"div",9),Io(),So(11,eC,3,4,"div",10),Po(12,"div",11),So(13,tC,2,1,"div",12),So(14,iC,5,2,"div",13),Io(),Io()),2&e&&(ya(3),Oo("ngIf","outline"==t.appearance),ya(1),Oo("ngIf",t._prefixChildren.length),ya(5),Oo("ngIf",t._hasFloatingLabel()),ya(1),Oo("ngIf",t._suffixChildren.length),ya(1),Oo("ngIf","outline"!=t.appearance),ya(1),Oo("ngSwitch",t._getDisplayedMessages()),ya(1),Oo("ngSwitchCase","error"),ya(1),Oo("ngSwitchCase","hint"))},directives:[kd,Td,Ad,Bh],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[cC.transitionMessages]},changeDetection:0}),yC),YC=((gC=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:gC}),gC.\u0275inj=me({factory:function(e){return new(e||gC)},imports:[[Vd,Fg,Wh],Fg]}),gC),PC=new Ve("MAT_INPUT_VALUE_ACCESSOR"),IC=["button","checkbox","file","hidden","image","radio","range","reset","submit"],RC=0,FC=Vg(_createClass((function e(t,n,i,a){_classCallCheck(this,e),this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=a}))),jC=((kC=function(e){function t(e,n,i,a,r,o,s,l,u){var c;_classCallCheck(this,t),(c=_callSuper(this,t,[o,a,r,i]))._elementRef=e,c._platform=n,c.ngControl=i,c._autofillMonitor=l,c._uid="mat-input-"+RC++,c.focused=!1,c.stateChanges=new L,c.controlType="mat-input",c.autofilled=!1,c._disabled=!1,c._required=!1,c._type="text",c._readonly=!1,c._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(e){return oh().has(e)}));var d=c._elementRef.nativeElement,h=d.nodeName.toLowerCase();return c._inputValueAccessor=s||d,c._previousNativeValue=c.value,c.id=c.id,n.IOS&&u.runOutsideAngular((function(){e.nativeElement.addEventListener("keyup",(function(e){var t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))}))})),c._isServer=!c._platform.isBrowser,c._isNativeSelect="select"===h,c._isTextarea="textarea"===h,c._isNativeSelect&&(c.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select"),c}return _inherits(t,e),_createClass(t,[{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(e){this._disabled=Eh(e),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid}},{key:"required",get:function(){return this._required},set:function(e){this._required=Eh(e)}},{key:"type",get:function(){return this._type},set:function(e){this._type=e||"text",this._validateType(),!this._isTextarea&&oh().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(e){this._readonly=Eh(e)}},{key:"ngOnInit",value:function(){var e=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(t){e.autofilled=t.isAutofilled,e.stateChanges.next()}))}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_focusChanged",value:function(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckNativeValue",value:function(){var e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}},{key:"_validateType",value:function(){if(IC.indexOf(this._type)>-1)throw Error('Input type "'.concat(this._type,"\" isn't supported by matInput."))}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}}])}(FC)).\u0275fac=function(e){return new(e||kC)(To(qs),To(ih),To(Vb,10),To(tw,8),To(pw,8),To(sy),To(PC,10),To(zw),To(Pu))},kC.\u0275dir=wt({type:kC,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(e,t){1&e&&Bo("focus",(function(){return t._focusChanged(!0)}))("blur",(function(){return t._focusChanged(!1)}))("input",(function(){return t._onInput()})),2&e&&(Cs("disabled",t.disabled)("required",t.required),Mo("id",t.id)("placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-describedby",t._ariaDescribedby||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),ls("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[Vs([{provide:dC,useExisting:kC}]),Ds,Os]}),kC),HC=((bC=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:bC}),bC.\u0275inj=me({factory:function(e){return new(e||bC)},providers:[sy],imports:[[Vw,YC],Vw,YC]}),bC),NC=["sat-calendar-body",""];function zC(e,t){if(1&e&&(Po(0,"tr",2),Po(1,"td",3),ys(2),Io(),Io()),2&e){var n=Zo();ya(1),ss("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),Mo("colspan",n.numCols),ya(1),ks(" ",n.label," ")}}function VC(e,t){if(1&e&&(Po(0,"td",7),ys(1),Io()),2&e){var n=Zo(2);ss("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),Mo("colspan",n._firstRowOffset),ya(1),ks(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function BC(e,t){if(1&e){var n=No();Po(0,"td",8),Bo("click",(function(){$t(n);var e=t.$implicit;return Zo(2)._cellClicked(e)}))("mouseover",(function(){$t(n);var e=t.$implicit;return Zo(2)._mouseOverCell(e)})),Po(1,"div",9),ys(2),Io(),Io()}if(2&e){var i=t.$implicit,a=t.index,r=Zo().index,o=Zo();ss("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),ls("mat-calendar-body-disabled",!i.enabled)("mat-calendar-body-active",o._isActiveCell(r,a))("mat-calendar-body-begin-range",o._isBegin(i.value))("mat-calendar-body-end-range",o._isEnd(i.value))("mat-calendar-cell-semi-selected",o._isSemiSelected(i.value)||o._isBetweenOverAndBegin(i.value))("mat-calendar-cell-over",o._previewCellOver(i.value)),Oo("ngClass",i.cssClasses)("tabindex",o._isActiveCell(r,a)?0:-1),Mo("aria-label",i.ariaLabel)("aria-disabled",!i.enabled||null)("aria-selected",o.selectedValue===i.value),ya(1),ls("mat-calendar-body-selected",o.begin===i.value||o.end===i.value||o.selectedValue===i.value)("mat-calendar-body-semi-selected",o._isSemiSelected(i.value))("mat-calendar-body-today",o.todayValue===i.value),ya(1),ks(" ",i.displayValue," ")}}function WC(e,t){if(1&e&&(Po(0,"tr",4),So(1,VC,2,6,"td",5),So(2,BC,3,30,"td",6),Io()),2&e){var n=t.$implicit,i=t.index,a=Zo();ya(1),Oo("ngIf",0===i&&a._firstRowOffset),ya(1),Oo("ngForOf",n)}}function UC(e,t){if(1&e&&(Po(0,"th"),ys(1),Io()),2&e){var n=t.$implicit;Mo("aria-label",n.long),ya(1),bs(n.narrow)}}var qC=["*"];function GC(e,t){}function ZC(e,t){if(1&e){var n=No();Po(0,"sat-month-view",5),Bo("activeDateChange",(function(e){return $t(n),Zo().activeDate=e}))("selectedChange",(function(e){return $t(n),Zo()._dateSelected(e)}))("_userSelection",(function(){return $t(n),Zo()._userSelected()})),Io()}if(2&e){var i=Zo();Oo("activeDate",i.activeDate)("selected",i.selected)("beginDate",i.beginDate)("endDate",i.endDate)("rangeMode",i.rangeMode)("closeAfterSelection",i.closeAfterSelection)("rangeHoverEffect",i.rangeHoverEffect)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)("beginDateSelected",i.beginDateSelected)}}function JC(e,t){if(1&e){var n=No();Po(0,"sat-year-view",6),Bo("activeDateChange",(function(e){return $t(n),Zo().activeDate=e}))("monthSelected",(function(e){return $t(n),Zo()._monthSelectedInYearView(e)}))("selectedChange",(function(e){return $t(n),Zo()._goToDateInView(e,"month")})),Io()}if(2&e){var i=Zo();Oo("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)}}function KC(e,t){if(1&e){var n=No();Po(0,"sat-multi-year-view",7),Bo("activeDateChange",(function(e){return $t(n),Zo().activeDate=e}))("yearSelected",(function(e){return $t(n),Zo()._yearSelectedInMultiYearView(e)}))("selectedChange",(function(e){return $t(n),Zo()._goToDateInView(e,"year")})),Io()}if(2&e){var i=Zo();Oo("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)}}function QC(e,t){}var XC=["button"];function $C(e,t){1&e&&(Dn(),Po(0,"svg",3),Ro(1,"path",4),Io())}var ex,tx=[[["","matDatepickerToggleIcon",""]]],nx=["[matDatepickerToggleIcon]"],ix=new Ve("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Xe(ku)}}),ax=function(){return _createClass((function e(){_classCallCheck(this,e),this._localeChanges=new L}),[{key:"localeChanges",get:function(){return this._localeChanges}},{key:"deserialize",value:function(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}},{key:"setLocale",value:function(e){this.locale=e,this._localeChanges.next()}},{key:"compareDate",value:function(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}},{key:"sameDate",value:function(e,t){if(e&&t){var n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareDate(e,t):n==i}return e==t}},{key:"clampDate",value:function(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}}])}(),rx=new Ve("mat-date-formats");try{ex="undefined"!=typeof Intl}catch(LW){ex=!1}var ox={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},sx=dx(31,(function(e){return String(e+1)})),lx={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},ux={af:1,ar:6,"ar-ly":6,"ar-ma":6,"ar-tn":1,az:1,be:1,bg:1,bm:1,br:1,bs:1,ca:1,cs:1,cv:1,cy:1,da:1,de:1,"de-at":1,"de-ch":1,el:1,"en-au":1,"en-gb":1,"en-ie":1,"en-nz":1,eo:1,es:1,"es-do":1,et:1,eu:1,fa:6,fi:1,fo:1,fr:1,"fr-ch":1,fy:1,gd:1,gl:1,"gom-latn":1,hr:1,hu:1,"hy-am":1,id:1,is:1,it:1,jv:1,ka:1,kk:1,km:1,ky:1,lb:1,lt:1,lv:1,me:1,mi:1,mk:1,ms:1,"ms-my":1,mt:1,my:1,nb:1,nl:1,"nl-be":1,nn:1,pl:1,pt:1,"pt-BR":0,ro:1,ru:1,sd:1,se:1,sk:1,sl:1,sq:1,sr:1,"sr-cyrl":1,ss:1,sv:1,sw:1,tet:1,tg:1,"tl-ph":1,tlh:1,tr:1,tzl:1,tzm:6,"tzm-latn":6,"ug-cn":1,uk:1,ur:1,uz:1,"uz-latn":1,vi:1,"x-pseudo":1,yo:1,"zh-cn":1},cx=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function dx(e,t){for(var n=Array(e),i=0;i<e;i++)n[i]=t(i);return n}var hx,fx=function(){var e=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t)).useUtcForDisplay=!0,_superPropGet((_assertThisInitialized(i),t),"setLocale",i,3)([e]),i.useUtcForDisplay=!n.TRIDENT,i._clampDate=n.TRIDENT||n.EDGE,i}return _inherits(t,e),_createClass(t,[{key:"getYear",value:function(e){return e.getFullYear()}},{key:"getMonth",value:function(e){return e.getMonth()}},{key:"getDate",value:function(e){return e.getDate()}},{key:"getDayOfWeek",value:function(e){return e.getDay()}},{key:"getMonthNames",value:function(e){var t=this;if(ex){var n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return dx(12,(function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,e,1)))}))}return ox[e]}},{key:"getDateNames",value:function(){var e=this;if(ex){var t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return dx(31,(function(n){return e._stripDirectionalityCharacters(e._format(t,new Date(2017,0,n+1)))}))}return sx}},{key:"getDayOfWeekNames",value:function(e){var t=this;if(ex){var n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return dx(7,(function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,0,e+1)))}))}return lx[e]}},{key:"getYearName",value:function(e){if(ex){var t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(t,e))}return String(this.getYear(e))}},{key:"getFirstDayOfWeek",value:function(){var e=this.locale.toLowerCase();return ux[e]||ux[e.substr(0,2)]||0}},{key:"getNumDaysInMonth",value:function(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}},{key:"clone",value:function(e){return new Date(e.getTime())}},{key:"createDate",value:function(e,t,n){if(t<0||t>11)throw Error('Invalid month index "'.concat(t,'". Month index has to be between 0 and 11.'));if(n<1)throw Error('Invalid date "'.concat(n,'". Date has to be greater than 0.'));var i=this._createDateWithOverflow(e,t,n);if(i.getMonth()!=t)throw Error('Invalid date "'.concat(n,'" for month with index "').concat(t,'".'));return i}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}},{key:"format",value:function(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(ex){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign({},t,{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(n,e))}return this._stripDirectionalityCharacters(e.toDateString())}},{key:"addCalendarYears",value:function(e,t){return this.addCalendarMonths(e,12*t)}},{key:"addCalendarMonths",value:function(e,t){var n=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(n)!=((this.getMonth(e)+t)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}},{key:"addCalendarDays",value:function(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}},{key:"toIso8601",value:function(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}},{key:"deserialize",value:function(e){if("string"==typeof e){if(!e)return null;if(cx.test(e)){var n=new Date(e);if(this.isValid(n))return n}}return _superPropGet(t,"deserialize",this,3)([e])}},{key:"isDateInstance",value:function(e){return e instanceof Date}},{key:"isValid",value:function(e){return!isNaN(e.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(e,t,n){var i=new Date(e,t,n);return e>=0&&e<100&&i.setFullYear(this.getYear(i)-1900),i}},{key:"_2digit",value:function(e){return("00"+e).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(e){return e.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(e,t){var n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.format(n)}}])}(ax);return e.\u0275fac=function(t){return new(t||e)(Qe(ix,8),Qe(ih))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),mx=function(){var e=_createClass((function e(){_classCallCheck(this,e)}));return e.\u0275mod=bt({type:e}),e.\u0275inj=me({factory:function(t){return new(t||e)},providers:[{provide:ax,useClass:fx}],imports:[[ah]]}),e}(),px={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},_x=((hx=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:hx}),hx.\u0275inj=me({factory:function(e){return new(e||hx)},providers:[{provide:rx,useValue:px}],imports:[[mx]]}),hx);function vx(e){return Error("SatDatepicker: No provider found for ".concat(e,". You must import one of the following modules at your application root: SatNativeDateModule, MatMomentDateModule, or provide a custom implementation."))}var gx,yx,bx,kx,wx=((gx=_createClass((function e(){_classCallCheck(this,e),this.changes=new L,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}))).\u0275fac=function(e){return new(e||gx)},gx.\u0275prov=fe({token:gx,factory:gx.\u0275fac,providedIn:"root"}),gx.ngInjectableDef=fe({factory:function(){return new gx},token:gx,providedIn:"root"}),gx),Cx=_createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this.value=t,this.displayValue=n,this.ariaLabel=i,this.enabled=a,this.cssClasses=r})),xx=((kx=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._elementRef=t,this._ngZone=n,this.rangeHoverEffect=!0,this.rangeMode=!1,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new Wl}),[{key:"_cellClicked",value:function(e){e.enabled&&this.selectedValueChange.emit(e.value)}},{key:"_mouseOverCell",value:function(e){this.rangeHoverEffect&&(this._cellOver=e.value)}},{key:"ngOnChanges",value:function(e){var t=e.numCols,n=this.rows,i=this.numCols;(e.rows||t)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),!t&&this._cellWidth||(this._cellWidth=100/i+"%"),e.activeCell&&(this._cellOver=this.activeCell+1)}},{key:"_isActiveCell",value:function(e,t){var n=e*this.numCols+t;return e&&(n-=this._firstRowOffset),n==this.activeCell}},{key:"_isSemiSelected",value:function(e){return!!this.rangeMode&&(!!this.rangeFull||e!==this.begin&&e!==this.end&&(this.begin&&!this.end?e>this.begin:(this.end&&!this.begin||e>this.begin)&&e<this.end))}},{key:"_isBetweenOverAndBegin",value:function(e){return!!(this._cellOver&&this.rangeMode&&this.beginSelected)&&(this.isBeforeSelected&&!this.begin?e>this._cellOver:this._cellOver>this.begin?e>this.begin&&e<this._cellOver:this._cellOver<this.begin&&e<this.begin&&e>this._cellOver)}},{key:"_isBegin",value:function(e){return this.rangeMode&&this.beginSelected&&this._cellOver?this.isBeforeSelected&&!this.begin?this._cellOver===e:this.begin===e&&!(this._cellOver<this.begin)||this._cellOver===e&&this._cellOver<this.begin:this.begin===e}},{key:"_isEnd",value:function(e){return this.rangeMode&&this.beginSelected&&this._cellOver?!(this.isBeforeSelected&&!this.begin)&&(this.end===e&&!(this._cellOver>this.begin)||this._cellOver===e&&this._cellOver>this.begin):this.end===e}},{key:"_focusActiveCell",value:function(){var e=this;this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.asObservable().pipe(Lh(1)).subscribe((function(){var t=e._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&t.focus()}))}))}},{key:"_previewCellOver",value:function(e){return this._cellOver===e&&this.rangeMode&&this.beginSelected}}])}()).\u0275fac=function(e){return new(e||kx)(To(qs),To(Pu))},kx.\u0275cmp=_t({type:kx,selectors:[["","sat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{rangeHoverEffect:"rangeHoverEffect",rangeMode:"rangeMode",numCols:"numCols",activeCell:"activeCell",cellAspectRatio:"cellAspectRatio",label:"label",rows:"rows",todayValue:"todayValue",selectedValue:"selectedValue",begin:"begin",end:"end",beginSelected:"beginSelected",isBeforeSelected:"isBeforeSelected",rangeFull:"rangeFull",labelMinRequiredCells:"labelMinRequiredCells"},outputs:{selectedValueChange:"selectedValueChange"},exportAs:["matCalendarBody"],features:[Os],attrs:NC,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-begin-range","mat-calendar-body-end-range","mat-calendar-cell-semi-selected","mat-calendar-cell-over","width","paddingTop","paddingBottom","click","mouseover",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","mouseover"],[1,"mat-calendar-body-cell-content"]],template:function(e,t){1&e&&(So(0,zC,3,6,"tr",0),So(1,WC,3,2,"tr",1)),2&e&&(Oo("ngIf",t._firstRowOffset<t.labelMinRequiredCells),ya(1),Oo("ngForOf",t.rows))},directives:[kd,yd,vd],styles:[".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.71429%;padding-right:4.71429%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:0;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}[dir=rtl] .mat-calendar-body-label{text-align:right}"],encapsulation:2,changeDetection:0}),kx),Mx=((bx=function(){return _createClass((function e(t,n,i,a){if(_classCallCheck(this,e),this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=i,this._dir=a,this.rangeMode=!1,this.rangeHoverEffect=!0,this.closeAfterSelection=!0,this._rangeFull=!1,this.selectedChange=new Wl,this._userSelection=new Wl,this.activeDateChange=new Wl,!this._dateAdapter)throw vx("DateAdapter");if(!this._dateFormats)throw vx("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}),[{key:"beginDate",get:function(){return this._beginDate},set:function(e){this._beginDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this.updateRangeSpecificValues()}},{key:"endDate",get:function(){return this._endDate},set:function(e){this._endDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this.updateRangeSpecificValues()}},{key:"beginDateSelected",set:function(e){this._beginDateSelected=e}},{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"ngAfterContentInit",value:function(){this._init()}},{key:"_dateSelected",value:function(e){if(this.rangeMode){var t=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.createDate(t,n,e);this._beginDateSelected?(this._beginDateSelected=null,this.selectedChange.emit(i),this._userSelection.emit()):(this._beginDateSelected=i,this.selectedChange.emit(i)),this._createWeekCells(),this.activeDate=i,this._focusActiveCell()}else if(this._selectedDate!=e){var a=this._dateAdapter.getYear(this.activeDate),r=this._dateAdapter.getMonth(this.activeDate),o=this._dateAdapter.createDate(a,r,e);this.selectedChange.emit(o),this._userSelection.emit(),this._createWeekCells()}}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._beginDateSelected||this._userSelection.emit(),!this._beginDateSelected&&this.closeAfterSelection||this._focusActiveCell(),e.preventDefault()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_init",value:function(){this.updateRangeSpecificValues(),this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_initWeekdays",value:function(){var e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow"),n=this._dateAdapter.getDayOfWeekNames("long").map((function(e,n){return{long:e,narrow:t[n]}}));this._weekdays=n.slice(e).concat(n.slice(0,e))}},{key:"_createWeekCells",value:function(){var e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(var n=0,i=this._firstWeekOffset;n<e;n++,i++){7==i&&(this._weeks.push([]),i=0);var a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),r=this._shouldEnableDate(a),o=this._dateAdapter.format(a,this._dateFormats.display.dateA11yLabel),s=this.dateClass?this.dateClass(a):void 0;this._weeks[this._weeks.length-1].push(new Cx(n+1,t[n],o,r,s))}}},{key:"_shouldEnableDate",value:function(e){return!!e&&(!this.dateFilter||this.dateFilter(e))&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)}},{key:"_getDateInCurrentMonth",value:function(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}},{key:"_hasSameMonthAndYear",value:function(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"updateRangeSpecificValues",value:function(){this.rangeMode?(this._beginDateNumber=this._getDateInCurrentMonth(this._beginDate),this._endDateNumber=this._getDateInCurrentMonth(this._endDate),this._rangeFull=this.beginDate&&this.endDate&&!this._beginDateNumber&&!this._endDateNumber&&this._dateAdapter.compareDate(this.beginDate,this.activeDate)<=0&&this._dateAdapter.compareDate(this.activeDate,this.endDate)<=0):(this._beginDateNumber=this._endDateNumber=null,this._rangeFull=!1)}}])}()).\u0275fac=function(e){return new(e||bx)(To(Gr),To(rx,8),To(ax,8),To(Jf,8))},bx.\u0275cmp=_t({type:bx,selectors:[["sat-month-view"]],viewQuery:function(e,t){var n;1&e&&iu(xx,!0),2&e&&tu(n=lu())&&(t._matCalendarBody=n.first)},inputs:{rangeMode:"rangeMode",rangeHoverEffect:"rangeHoverEffect",closeAfterSelection:"closeAfterSelection",beginDate:"beginDate",endDate:"endDate",beginDateSelected:"beginDateSelected",activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],decls:7,vars:14,consts:[[1,"mat-calendar-table"],[1,"mat-calendar-table-header"],[4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["sat-calendar-body","",3,"label","rows","todayValue","selectedValue","begin","end","beginSelected","isBeforeSelected","rangeFull","rangeMode","rangeHoverEffect","labelMinRequiredCells","activeCell","selectedValueChange","keydown"]],template:function(e,t){1&e&&(Po(0,"table",0),Po(1,"thead",1),Po(2,"tr"),So(3,UC,2,2,"th",2),Io(),Po(4,"tr"),Ro(5,"th",3),Io(),Io(),Po(6,"tbody",4),Bo("selectedValueChange",(function(e){return t._dateSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),Io(),Io()),2&e&&(ya(3),Oo("ngForOf",t._weekdays),ya(3),Oo("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("selectedValue",t._selectedDate)("begin",t._beginDateNumber)("end",t._endDateNumber)("beginSelected",t._beginDateSelected)("isBeforeSelected",t._beginDateSelected&&t._dateAdapter.compareDate(t.activeDate,t._beginDateSelected)<0)("rangeFull",t._rangeFull)("rangeMode",t.rangeMode)("rangeHoverEffect",t.rangeHoverEffect)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[yd,xx],encapsulation:2,changeDetection:0}),bx),Dx=((yx=function(){return _createClass((function e(t,n,i){if(_classCallCheck(this,e),this._changeDetectorRef=t,this._dateAdapter=n,this._dir=i,this.selectedChange=new Wl,this.yearSelected=new Wl,this.activeDateChange=new Wl,!this._dateAdapter)throw vx("DateAdapter");this._activeDate=this._dateAdapter.today()}),[{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),Sx(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"ngAfterContentInit",value:function(){this._init()}},{key:"_init",value:function(){var e=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var t=this._dateAdapter.getYear(this._activeDate)-Lx(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var n=0,i=[];n<24;n++)i.push(t+n),4==i.length&&(this._years.push(i.map((function(t){return e._createCellForYear(t)}))),i=[]);this._changeDetectorRef.markForCheck()}},{key:"_yearSelected",value:function(e){this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));var t=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,t,1));this.selectedChange.emit(this._dateAdapter.createDate(e,t,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Lx(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-Lx(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case 13:case 32:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_getActiveCell",value:function(){return Lx(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_createCellForYear",value:function(e){var t=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return new Cx(e,t,t,this._shouldEnableYear(e))}},{key:"_shouldEnableYear",value:function(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var t=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(t)==e;t=this._dateAdapter.addCalendarDays(t,1))if(this.dateFilter(t))return!0;return!1}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}}])}()).\u0275fac=function(e){return new(e||yx)(To(Gr),To(ax,8),To(Jf,8))},yx.\u0275cmp=_t({type:yx,selectors:[["sat-multi-year-view"]],viewQuery:function(e,t){var n;1&e&&iu(xx,!0),2&e&&tu(n=lu())&&(t._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:6,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["sat-calendar-body","",3,"rows","todayValue","selectedValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(e,t){1&e&&(Po(0,"table",0),Po(1,"thead",1),Po(2,"tr"),Ro(3,"th",2),Io(),Io(),Po(4,"tbody",3),Bo("selectedValueChange",(function(e){return t._yearSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),Io(),Io()),2&e&&(ya(4),Oo("rows",t._years)("todayValue",t._todayYear)("selectedValue",t._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",t._getActiveCell()))},directives:[xx],encapsulation:2,changeDetection:0}),yx);function Sx(e,t,n,i,a){var r=e.getYear(t),o=e.getYear(n),s=Tx(e,i,a);return Math.floor((r-s)/24)===Math.floor((o-s)/24)}function Lx(e,t,n,i){return((e.getYear(t)-Tx(e,n,i))%24+24)%24}function Tx(e,t,n){var i=0;return n?i=e.getYear(n)-24+1:t&&(i=e.getYear(t)),i}var Ax,Ex,Ox,Yx,Px,Ix,Rx,Fx,jx,Hx,Nx,zx=((Yx=function(){return _createClass((function e(t,n,i,a){if(_classCallCheck(this,e),this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=i,this._dir=a,this.selectedChange=new Wl,this.monthSelected=new Wl,this.activeDateChange=new Wl,!this._dateAdapter)throw vx("DateAdapter");if(!this._dateFormats)throw vx("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}),[{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"ngAfterContentInit",value:function(){this._init()}},{key:"_monthSelected",value:function(e){var t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(t);var n=this._dateAdapter.getNumDaysInMonth(t);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_init",value:function(){var e=this;this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);var t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map((function(n){return n.map((function(n){return e._createCellForMonth(n,t[n])}))})),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_getMonthInCurrentYear",value:function(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}},{key:"_createCellForMonth",value:function(e,t){var n=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),this._dateFormats.display.monthYearA11yLabel);return new Cx(e,t.toLocaleUpperCase(),n,this._shouldEnableMonth(e))}},{key:"_shouldEnableMonth",value:function(e){var t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(var n=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(n)==e;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}},{key:"_isYearAndMonthAfterMaxDate",value:function(e,t){if(this.maxDate){var n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return e>n||e===n&&t>i}return!1}},{key:"_isYearAndMonthBeforeMinDate",value:function(e,t){if(this.minDate){var n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return e<n||e===n&&t<i}return!1}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}}])}()).\u0275fac=function(e){return new(e||Yx)(To(Gr),To(rx,8),To(ax,8),To(Jf,8))},Yx.\u0275cmp=_t({type:Yx,selectors:[["sat-year-view"]],viewQuery:function(e,t){var n;1&e&&iu(xx,!0),2&e&&tu(n=lu())&&(t._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:8,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["sat-calendar-body","",3,"label","rows","todayValue","selectedValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(e,t){1&e&&(Po(0,"table",0),Po(1,"thead",1),Po(2,"tr"),Ro(3,"th",2),Io(),Io(),Po(4,"tbody",3),Bo("selectedValueChange",(function(e){return t._monthSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),Io(),Io()),2&e&&(ya(4),Oo("label",t._yearLabel)("rows",t._months)("todayValue",t._todayMonth)("selectedValue",t._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",t._dateAdapter.getMonth(t.activeDate)))},directives:[xx],encapsulation:2,changeDetection:0}),Yx),Vx=((Ox=function(){return _createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this._intl=t,this.calendar=n,this._dateAdapter=i,this._dateFormats=a,this.calendar.stateChanges.subscribe((function(){return r.markForCheck()}))}),[{key:"periodButtonText",get:function(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);var e=this._dateAdapter.getYear(this.calendar.activeDate)-Lx(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate);return"".concat(e," \u2013 ").concat(e+24-1)}},{key:"periodButtonLabel",get:function(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}},{key:"prevButtonLabel",get:function(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}},{key:"nextButtonLabel",get:function(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}},{key:"currentPeriodClicked",value:function(){var e="month"===this.calendar.orderPeriodLabel?["month","year","multi-year"]:["month","multi-year","month"];switch(this.calendar.currentView){case"month":this.calendar.currentView=e[1];break;case"year":this.calendar.currentView=e[2];break;default:this.calendar.currentView=e[0]}}},{key:"previousClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}},{key:"nextClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}},{key:"previousEnabled",value:function(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}},{key:"nextEnabled",value:function(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}},{key:"_isSameView",value:function(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):Sx(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}])}()).\u0275fac=function(e){return new(e||Ox)(To(wx),To(De((function(){return Wx}))),To(ax,8),To(rx,8),To(Gr))},Ox.\u0275cmp=_t({type:Ox,selectors:[["sat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:qC,decls:9,vars:8,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(Ko(),Po(0,"div",0),Po(1,"div",1),Po(2,"button",2),Bo("click",(function(){return t.currentPeriodClicked()})),ys(3),Ro(4,"div",3),Io(),Ro(5,"div",4),Qo(6),Po(7,"button",5),Bo("click",(function(){return t.previousClicked()})),Io(),Po(8,"button",6),Bo("click",(function(){return t.nextClicked()})),Io(),Io(),Io()),2&e&&(ya(2),Mo("aria-label",t.periodButtonLabel),ya(1),ks(" ",t.periodButtonText," "),ya(1),ls("mat-calendar-invert","month"!=t.calendar.currentView),ya(3),Oo("disabled",!t.previousEnabled()),Mo("aria-label",t.prevButtonLabel),ya(1),Oo("disabled",!t.nextEnabled()),Mo("aria-label",t.nextButtonLabel))},directives:[Zy,pf],encapsulation:2,changeDetection:0}),Ox),Bx=((Ex=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||Ex)},Ex.\u0275cmp=_t({type:Ex,selectors:[["sat-calendar-footer"]],exportAs:["matCalendarFooter"],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),Ex),Wx=((Ax=function(){return _createClass((function e(t,n,i,a){var r=this;if(_classCallCheck(this,e),this._dateAdapter=n,this._dateFormats=i,this._changeDetectorRef=a,this.rangeMode=!1,this.rangeHoverEffect=!0,this.closeAfterSelection=!0,this.dateRangesChange=new Wl,this.beginDateSelected=!1,this.beginDateSelectedChange=new Wl,this._moveFocusOnNextTick=!1,this.startView="month",this.orderPeriodLabel="multi-year",this.selectedChange=new Wl,this.yearSelected=new Wl,this.monthSelected=new Wl,this._userSelection=new Wl,this.stateChanges=new L,!this._dateAdapter)throw vx("DateAdapter");if(!this._dateFormats)throw vx("MAT_DATE_FORMATS");this._intlChanges=t.changes.subscribe((function(){a.markForCheck(),r.stateChanges.next()}))}),[{key:"beginDate",get:function(){return this._beginDate},set:function(e){this._beginDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"endDate",get:function(){return this._endDate},set:function(e){this._endDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"startAt",get:function(){return this._startAt},set:function(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"activeDate",get:function(){return this._clampedActiveDate},set:function(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}},{key:"currentView",get:function(){return this._currentView},set:function(e){this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}},{key:"ngAfterContentInit",value:function(){this._calendarHeaderPortal=new pm(this.headerComponent||Vx),this._calendarFooterPortal=new pm(this.footerComponent||Bx),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}},{key:"ngAfterViewChecked",value:function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}},{key:"ngOnChanges",value:function(e){var t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){var n=this._getCurrentViewComponent();n&&(this._changeDetectorRef.detectChanges(),n._init())}this.stateChanges.next()}},{key:"focusActiveCell",value:function(){this._getCurrentViewComponent()._focusActiveCell()}},{key:"updateTodaysDate",value:function(){("month"==this.currentView?this.monthView:"year"==this.currentView?this.yearView:this.multiYearView).ngAfterContentInit()}},{key:"_dateSelected",value:function(e){this.rangeMode?this.beginDateSelected?(this.beginDateSelected=!1,this._dateAdapter.compareDate(this.beginDate,e)<=0?this.endDate=e:(this.endDate=this.beginDate,this.beginDate=e),this.dateRangesChange.emit({begin:this.beginDate,end:this.endDate})):(this.beginDateSelected=e,this.beginDate=e,this.endDate=e,this.beginDateSelectedChange.emit(e)):this._dateAdapter.sameDate(e,this.selected)||this.selectedChange.emit(e)}},{key:"_yearSelectedInMultiYearView",value:function(e){this.yearSelected.emit(e)}},{key:"_monthSelectedInYearView",value:function(e){this.monthSelected.emit(e)}},{key:"_userSelected",value:function(){this._userSelection.emit()}},{key:"_goToDateInView",value:function(e,t){this.activeDate=e,this.currentView=t}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_getCurrentViewComponent",value:function(){return this.monthView||this.yearView||this.multiYearView}}])}()).\u0275fac=function(e){return new(e||Ax)(To(wx),To(ax,8),To(rx,8),To(Gr))},Ax.\u0275cmp=_t({type:Ax,selectors:[["sat-calendar"]],viewQuery:function(e,t){var n;1&e&&(iu(Mx,!0),iu(zx,!0),iu(Dx,!0)),2&e&&(tu(n=lu())&&(t.monthView=n.first),tu(n=lu())&&(t.yearView=n.first),tu(n=lu())&&(t.multiYearView=n.first))},hostAttrs:[1,"mat-calendar"],inputs:{rangeMode:"rangeMode",rangeHoverEffect:"rangeHoverEffect",closeAfterSelection:"closeAfterSelection",startView:"startView",orderPeriodLabel:"orderPeriodLabel",beginDate:"beginDate",endDate:"endDate",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",footerComponent:"footerComponent",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{dateRangesChange:"dateRangesChange",beginDateSelectedChange:"beginDateSelectedChange",selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[Os],decls:6,vars:6,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","beginDate","endDate","rangeMode","closeAfterSelection","rangeHoverEffect","dateFilter","maxDate","minDate","dateClass","beginDateSelected","activeDateChange","selectedChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","beginDate","endDate","rangeMode","closeAfterSelection","rangeHoverEffect","dateFilter","maxDate","minDate","dateClass","beginDateSelected","activeDateChange","selectedChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(So(0,GC,0,0,"ng-template",0),Po(1,"div",1),So(2,ZC,1,12,"sat-month-view",2),So(3,JC,1,5,"sat-year-view",3),So(4,KC,1,5,"sat-multi-year-view",4),Io(),So(5,QC,0,0,"ng-template",0)),2&e&&(Oo("cdkPortalOutlet",t._calendarHeaderPortal),ya(1),Oo("ngSwitch",t.currentView),ya(1),Oo("ngSwitchCase","month"),ya(1),Oo("ngSwitchCase","year"),ya(1),Oo("ngSwitchCase","multi-year"),ya(1),Oo("cdkPortalOutlet",t._calendarFooterPortal))},directives:[bm,Mf,Td,Ad,Mx,zx,Dx],styles:[".mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0}.mat-calendar-content{padding:0 8px 8px;outline:0}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-next-button,.mat-calendar-previous-button{position:relative}.mat-calendar-next-button::after,.mat-calendar-previous-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:'';margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-next-button,[dir=rtl] .mat-calendar-previous-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:'';position:absolute;top:0;left:-8px;right:-8px;height:1px}"],encapsulation:2,changeDetection:0}),Ax),Ux={transformPanel:n_("transformPanel",[o_("void",r_({opacity:0,transform:"scale(1, 0.8)"})),s_("void => enter",i_("120ms cubic-bezier(0, 0, 0.2, 1)",r_({opacity:1,transform:"scale(1, 1)"}))),s_("* => void",i_("100ms linear",r_({opacity:0})))]),fadeInCalendar:n_("fadeInCalendar",[o_("void",r_({opacity:0})),o_("enter",r_({opacity:1})),s_("void => *",i_("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},qx=0,Gx=new Ve("sat-datepicker-scroll-strategy"),Zx={provide:Gx,deps:[op],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Jx=Hg(_createClass((function e(t){_classCallCheck(this,e),this._elementRef=t}))),Kx=((Ix=function(e){function t(e){return _classCallCheck(this,t),_callSuper(this,t,[e])}return _inherits(t,e),_createClass(t,[{key:"ngAfterViewInit",value:function(){this._calendar.focusActiveCell()}},{key:"close",value:function(){this.datepicker.closeAfterSelection&&this.datepicker.close()}}])}(Jx)).\u0275fac=function(e){return new(e||Ix)(To(qs))},Ix.\u0275cmp=_t({type:Ix,selectors:[["sat-datepicker-content"]],viewQuery:function(e,t){var n;1&e&&iu(Wx,!0),2&e&&tu(n=lu())&&(t._calendar=n.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){2&e&&(xs("@transformPanel","enter"),ls("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[Ds],decls:1,vars:18,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","rangeHoverEffect","headerComponent","footerComponent","selected","dateClass","beginDate","endDate","rangeMode","closeAfterSelection","orderPeriodLabel","selectedChange","yearSelected","monthSelected","dateRangesChange","beginDateSelectedChange","_userSelection"]],template:function(e,t){1&e&&(Po(0,"sat-calendar",0),Bo("selectedChange",(function(e){return t.datepicker.select(e)}))("yearSelected",(function(e){return t.datepicker._selectYear(e)}))("monthSelected",(function(e){return t.datepicker._selectMonth(e)}))("dateRangesChange",(function(e){return t.datepicker._selectRange(e)}))("beginDateSelectedChange",(function(e){return t.datepicker.setBeginDateSelected(e)}))("_userSelection",(function(){return t.close()})),Io()),2&e&&Oo("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._minDate)("maxDate",t.datepicker._maxDate)("dateFilter",t.datepicker._dateFilter)("rangeHoverEffect",t.datepicker.rangeHoverEffect)("headerComponent",t.datepicker.calendarHeaderComponent)("footerComponent",t.datepicker.calendarFooterComponent)("selected",t.datepicker._selected)("dateClass",t.datepicker.dateClass)("@fadeInCalendar","enter")("beginDate",t.datepicker._beginDate)("endDate",t.datepicker._endDate)("rangeMode",t.datepicker.rangeMode)("closeAfterSelection",t.datepicker.closeAfterSelection)("orderPeriodLabel",t.datepicker.orderPeriodLabel)},directives:[Wx,uf,vd],styles:[".mat-datepicker-content{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);display:block}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12);display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation:landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation:portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}"],encapsulation:2,data:{animation:[Ux.transformPanel,Ux.fadeInCalendar]},changeDetection:0}),Ix),Qx=((Px=function(){return _createClass((function e(t,n,i,a,r,o,s,l){if(_classCallCheck(this,e),this._dialog=t,this._overlay=n,this._ngZone=i,this._viewContainerRef=a,this._dateAdapter=o,this._dir=s,this._document=l,this.startView="month",this._touchUi=!1,this.yearSelected=new Wl,this.monthSelected=new Wl,this.openedStream=new Wl,this.closedStream=new Wl,this.closeAfterSelection=!0,this.rangeHoverEffect=!0,this.selectFirstDateOnClose=!1,this.orderPeriodLabel="multi-year",this._opened=!1,this.id="sat-datepicker-"+qx++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=h.EMPTY,this._disabledChange=new L,this._selectedChanged=new L,!this._dateAdapter)throw vx("DateAdapter");this._scrollStrategy=r}),[{key:"rangeMode",get:function(){return this._rangeMode},set:function(e){this._rangeMode=e,this.rangeMode?this._validSelected=null:this._beginDate=this._endDate=null}},{key:"beginDate",get:function(){return this._beginDate},set:function(e){this._validSelected=null,this._beginDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"endDate",get:function(){return this._endDate},set:function(e){this._validSelected=null,this._endDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"startAt",get:function(){return this.rangeMode?this._startAt||(this._datepickerInput&&this._datepickerInput.value?this._datepickerInput.value.begin:null):this._startAt||(this._datepickerInput?this._datepickerInput.value:null)},set:function(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"color",get:function(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)},set:function(e){this._color=e}},{key:"touchUi",get:function(){return this._touchUi},set:function(e){this._touchUi=Eh(e)}},{key:"disabled",get:function(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled},set:function(e){var t=Eh(e);t!==this._disabled&&(this._disabled=t,this._disabledChange.next(t))}},{key:"opened",get:function(){return this._opened},set:function(e){e?this.open():this.close()}},{key:"_selected",get:function(){return this._validSelected},set:function(e){this._validSelected=e}},{key:"_minDate",get:function(){return this._datepickerInput&&this._datepickerInput.min}},{key:"_maxDate",get:function(){return this._datepickerInput&&this._datepickerInput.max}},{key:"_dateFilter",get:function(){return this._datepickerInput&&this._datepickerInput._dateFilter}},{key:"ngOnDestroy",value:function(){this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete(),this._popupRef&&(this._popupRef.dispose(),this._popupComponentRef=null)}},{key:"select",value:function(e){var t=this._selected;this._selected=e,this._dateAdapter.sameDate(t,this._selected)||this._selectedChanged.next(e)}},{key:"_selectRange",value:function(e){this._beginDateSelected=null,this._dateAdapter.sameDate(e.begin,this.beginDate)&&this._dateAdapter.sameDate(e.end,this.endDate)||this._selectedChanged.next(e),this._beginDate=e.begin,this._endDate=e.end}},{key:"_selectYear",value:function(e){this.yearSelected.emit(e)}},{key:"_selectMonth",value:function(e){this.monthSelected.emit(e)}},{key:"_registerInput",value:function(e){var t=this;if(this._datepickerInput)throw Error("A SatDatepicker can only be associated with a single input.");this._datepickerInput=e,this._inputSubscription=this._datepickerInput._valueChange.subscribe((function(e){null!==e?e&&e.hasOwnProperty("begin")&&e.hasOwnProperty("end")?(e=e).begin&&e.end&&t._dateAdapter.compareDate(e.begin,e.end)<=0?(t.beginDate=e.begin,t.endDate=e.end):t.beginDate=t.endDate=null:t._selected=e:t.beginDate=t.endDate=t._selected=null}))}},{key:"open",value:function(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an SatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}},{key:"close",value:function(){var e=this;if(this._opened){this._popupRef&&this._popupRef.hasAttached()&&this._popupRef.detach(),this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null),this._calendarPortal&&this._calendarPortal.isAttached&&this._calendarPortal.detach(),this._beginDateSelected&&this.selectFirstDateOnClose&&this._selectRange({begin:this._beginDateSelected,end:this._beginDateSelected});var t=function(){e._opened&&(e._opened=!1,e.closedStream.emit(),e._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}}},{key:"setBeginDateSelected",value:function(e){this._beginDateSelected=e}},{key:"_openAsDialog",value:function(){var e=this;this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(Kx,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog"}),this._dialogRef.afterClosed().subscribe((function(){return e.close()})),this._dialogRef.componentInstance.datepicker=this,this._setColor()}},{key:"_openAsPopup",value:function(){var e=this;this._calendarPortal||(this._calendarPortal=new pm(Kx,this._viewContainerRef)),this._popupRef||this._createPopup(),this._popupRef.hasAttached()||(this._popupComponentRef=this._popupRef.attach(this._calendarPortal),this._popupComponentRef.instance.datepicker=this,this._setColor(),this._ngZone.onStable.asObservable().pipe(Lh(1)).subscribe((function(){e._popupRef.updatePosition()})))}},{key:"_createPopup",value:function(){var e=this,t=new Om({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute("role","dialog"),J(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(wh((function(t){return 27===t.keyCode||e._datepickerInput&&t.altKey&&38===t.keyCode})))).subscribe((function(t){t&&t.preventDefault(),e.close()}))}},{key:"_createPopupPositionStrategy",value:function(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_setColor",value:function(){var e=this.color;this._popupComponentRef&&(this._popupComponentRef.instance.color=e),this._dialogRef&&(this._dialogRef.componentInstance.color=e)}}])}()).\u0275fac=function(e){return new(e||Px)(To(pb),To(op),To(Pu),To(gl),To(Gx),To(ax,8),To(Jf,8),To(mc,8))},Px.\u0275cmp=_t({type:Px,selectors:[["sat-datepicker"]],inputs:{startView:"startView",closeAfterSelection:"closeAfterSelection",rangeHoverEffect:"rangeHoverEffect",selectFirstDateOnClose:"selectFirstDateOnClose",orderPeriodLabel:"orderPeriodLabel",rangeMode:"rangeMode",beginDate:"beginDate",endDate:"endDate",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",calendarFooterComponent:"calendarFooterComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["matDatepicker"],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),Px),Xx={provide:Ab,useExisting:De((function(){return tM})),multi:!0},$x={provide:Gb,useExisting:De((function(){return tM})),multi:!0},eM=_createClass((function e(t,n){_classCallCheck(this,e),this.target=t,this.targetElement=n,this.value=this.target.value})),tM=((Nx=Rx=function(){return _createClass((function e(t,n,i,a){var r=this;if(_classCallCheck(this,e),this._elementRef=t,this._dateAdapter=n,this._dateFormats=i,this._formField=a,this.dateChange=new Wl,this.dateInput=new Wl,this._valueChange=new Wl,this._disabledChange=new Wl,this._onTouched=function(){},this._cvaOnChange=function(){},this._validatorOnChange=function(){},this._datepickerSubscription=h.EMPTY,this._localeSubscription=h.EMPTY,this._parseValidator=function(){return r._lastValueValid?null:{matDatepickerParse:{text:r._elementRef.nativeElement.value}}},this._minValidator=function(e){if(r._datepicker.rangeMode&&e.value){var t=r._getValidDateOrNull(r._dateAdapter.deserialize(e.value.begin)),n=r._getValidDateOrNull(r._dateAdapter.deserialize(e.value.end));if(r.min){if(t&&r._dateAdapter.compareDate(r.min,t)>0)return{matDatepickerMin:{min:r.min,actual:t}};if(n&&r._dateAdapter.compareDate(r.min,n)>0)return{matDatepickerMin:{min:r.min,actual:n}}}return null}var i=r._getValidDateOrNull(r._dateAdapter.deserialize(e.value));return!r.min||!i||r._dateAdapter.compareDate(r.min,i)<=0?null:{matDatepickerMin:{min:r.min,actual:i}}},this._maxValidator=function(e){if(r._datepicker.rangeMode&&e.value){var t=r._getValidDateOrNull(r._dateAdapter.deserialize(e.value.begin)),n=r._getValidDateOrNull(r._dateAdapter.deserialize(e.value.end));if(r.max){if(t&&r._dateAdapter.compareDate(r.max,t)<0)return{matDatepickerMax:{max:r.max,actual:t}};if(n&&r._dateAdapter.compareDate(r.max,n)<0)return{matDatepickerMax:{max:r.max,actual:n}}}return null}var i=r._getValidDateOrNull(r._dateAdapter.deserialize(e.value));return!r.max||!i||r._dateAdapter.compareDate(r.max,i)>=0?null:{matDatepickerMax:{max:r.max,actual:i}}},this._filterValidator=function(e){if(r._datepicker.rangeMode&&e.value){var t=r._getValidDateOrNull(r._dateAdapter.deserialize(e.value.begin)),n=r._getValidDateOrNull(r._dateAdapter.deserialize(e.value.end));return!r._dateFilter||!t&&!n||r._dateFilter(t)&&r._dateFilter(n)?null:{matDatepickerFilter:!0}}var i=r._getValidDateOrNull(r._dateAdapter.deserialize(e.value));return r._dateFilter&&i&&!r._dateFilter(i)?{matDatepickerFilter:!0}:null},this._rangeValidator=function(e){if(r._datepicker.rangeMode&&e.value){var t=r._getValidDateOrNull(r._dateAdapter.deserialize(e.value.begin)),n=r._getValidDateOrNull(r._dateAdapter.deserialize(e.value.end));return!t||!n||r._dateAdapter.compareDate(t,n)<=0?null:{matDatepickerRange:!0}}return null},this._validator=Kb.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator,this._rangeValidator]),this._lastValueValid=!1,!this._dateAdapter)throw vx("DateAdapter");if(!this._dateFormats)throw vx("MAT_DATE_FORMATS");this._localeSubscription=n.localeChanges.subscribe((function(){r.value=r.value}))}),[{key:"satDatepicker",set:function(e){var t=this;e&&(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe((function(e){t.value=e,t._cvaOnChange(e),t._onTouched(),t.dateInput.emit(new eM(t,t._elementRef.nativeElement)),t.dateChange.emit(new eM(t,t._elementRef.nativeElement))})))}},{key:"matDatepickerFilter",set:function(e){this._dateFilter=e,this._validatorOnChange()}},{key:"value",get:function(){return this._value},set:function(e){if(e&&e.hasOwnProperty("begin")&&e.hasOwnProperty("end")){var t=e;t.begin=this._dateAdapter.deserialize(t.begin),t.end=this._dateAdapter.deserialize(t.end),this._lastValueValid=!t.begin||!t.end||this._dateAdapter.isValid(t.begin)&&this._dateAdapter.isValid(t.end),t.begin=this._getValidDateOrNull(t.begin),t.end=this._getValidDateOrNull(t.end);var n=this.value;this._elementRef.nativeElement.value=t&&t.begin&&t.end?this._dateAdapter.format(t.begin,this._dateFormats.display.dateInput)+" - "+this._dateAdapter.format(t.end,this._dateFormats.display.dateInput):"",(null==n&&null!=t||null!=n&&null==t||!this._dateAdapter.sameDate(n.begin,t.begin)||!this._dateAdapter.sameDate(n.end,t.end))&&(t.end&&t.begin&&this._dateAdapter.compareDate(t.begin,t.end)>0&&(e=null),this._value=e,this._valueChange.emit(e))}else{e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);var i=this.value;this._value=e,this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):"",this._dateAdapter.sameDate(i,e)||this._valueChange.emit(e)}}},{key:"min",get:function(){return this._min},set:function(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}},{key:"max",get:function(){return this._max},set:function(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}},{key:"disabled",get:function(){return!!this._disabled},set:function(e){var t=Eh(e),n=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this._disabledChange.emit(t)),t&&n.blur&&n.blur()}},{key:"ngOnDestroy",value:function(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}},{key:"registerOnValidatorChange",value:function(e){this._validatorOnChange=e}},{key:"validate",value:function(e){return this._validator?this._validator(e):null}},{key:"getPopupConnectionElementRef",value:function(){return this.getConnectedOverlayOrigin()}},{key:"getConnectedOverlayOrigin",value:function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._cvaOnChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_onKeydown",value:function(e){this._datepicker&&e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}},{key:"_onInput",value:function(e){var t=null;if(this._datepicker.rangeMode){var n=e.split("-");if(n.length>1){var i=Math.floor(n.length/2),a=n.slice(0,i).join("-"),r=n.slice(i).join("-"),o=this._dateAdapter.parse(a,this._dateFormats.parse.dateInput),s=this._dateAdapter.parse(r,this._dateFormats.parse.dateInput);this._lastValueValid=!o||!s||this._dateAdapter.isValid(o)&&this._dateAdapter.isValid(s),o=this._getValidDateOrNull(o),s=this._getValidDateOrNull(s),o&&s&&(t={begin:o,end:s})}}else t=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput),this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._getValidDateOrNull(t);this._value=t,this._cvaOnChange(t),this._valueChange.emit(t),this.dateInput.emit(new eM(this,this._elementRef.nativeElement))}},{key:"_onChange",value:function(){this.dateChange.emit(new eM(this,this._elementRef.nativeElement))}},{key:"_getThemePalette",value:function(){return this._formField?this._formField.color:void 0}},{key:"_onBlur",value:function(){this.value&&this._formatValue(this.value),this._onTouched()}},{key:"_formatValue",value:function(e){this._elementRef.nativeElement.value=e&&e.hasOwnProperty("begin")&&e.hasOwnProperty("end")?(e=e)&&e.begin&&e.end?this._dateAdapter.format(e.begin,this._dateFormats.display.dateInput)+" - "+this._dateAdapter.format(e.end,this._dateFormats.display.dateInput):"":(e=e)?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}])}()).\u0275fac=function(e){return new(e||Nx)(To(qs),To(ax,8),To(rx,8),To(OC,8))},Nx.\u0275dir=wt({type:Nx,selectors:[["input","satDatepicker",""]],hostVars:5,hostBindings:function(e,t){1&e&&Bo("input",(function(e){return t._onInput(e.target.value)}))("change",(function(){return t._onChange()}))("blur",(function(){return t._onBlur()}))("keydown",(function(e){return t._onKeydown(e)})),2&e&&(Cs("disabled",t.disabled),Mo("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null))},inputs:{value:"value",satDatepicker:"satDatepicker",matDatepickerFilter:"matDatepickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["matDatepickerInput"],features:[Vs([Xx,$x,{provide:PC,useExisting:Rx}])]}),Nx),nM=((Hx=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||Hx)},Hx.\u0275dir=wt({type:Hx,selectors:[["","matDatepickerToggleIcon",""]]}),Hx),iM=((jx=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this._intl=t,this._changeDetectorRef=n,this._stateChanges=h.EMPTY;var a=Number(i);this.tabIndex=a||0===a?a:null}),[{key:"disabled",get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(e){this._disabled=Eh(e)}},{key:"ngOnChanges",value:function(e){e.datepicker&&this._watchStateChanges()}},{key:"ngOnDestroy",value:function(){this._stateChanges.unsubscribe()}},{key:"ngAfterContentInit",value:function(){this._watchStateChanges()}},{key:"_open",value:function(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}},{key:"_watchStateChanges",value:function(){var e=this,t=this.datepicker?this.datepicker._disabledChange:uh(),n=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:uh(),i=this.datepicker?J(this.datepicker.openedStream,this.datepicker.closedStream):uh();this._stateChanges.unsubscribe(),this._stateChanges=J(this._intl.changes,t,n,i).subscribe((function(){return e._changeDetectorRef.markForCheck()}))}}])}()).\u0275fac=function(e){return new(e||jx)(To(wx),To(Gr),Ao("tabindex"))},jx.\u0275cmp=_t({type:jx,selectors:[["sat-datepicker-toggle"]],contentQueries:function(e,t,n){var i;1&e&&ru(n,nM,!0),2&e&&tu(i=lu())&&(t._customIcon=i.first)},viewQuery:function(e,t){var n;1&e&&iu(XC,!0),2&e&&tu(n=lu())&&(t._button=n.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:7,hostBindings:function(e,t){1&e&&Bo("focus",(function(){return t._button.focus()})),2&e&&(Mo("tabindex",-1),ls("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Os],ngContentSelectors:nx,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(Ko(tx),Po(0,"button",0,1),Bo("click",(function(e){return t._open(e)})),So(2,$C,2,0,"svg",2),Qo(3),Io()),2&e&&(Oo("disabled",t.disabled)("disableRipple",t.disableRipple),Mo("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),ya(2),Oo("ngIf",!t._customIcon))},directives:[Zy,kd],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}"],encapsulation:2,changeDetection:0}),jx),aM=((Fx=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:Fx}),Fx.\u0275inj=me({factory:function(e){return new(e||Fx)},providers:[wx,Zx],imports:[[Vd,Ky,Cb,hp,Sf,km]]}),Fx),rM=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t))._value=e,n}return _inherits(t,e),_createClass(t,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(e){var n=_superPropGet(t,"_subscribe",this,3)([e]);return n&&!n.closed&&e.next(this._value),n}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new M;return this._value}},{key:"next",value:function(e){_superPropGet(t,"next",this,3)([this._value=e])}}])}(L),oM={};function sM(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=null,a=null;return A(t[t.length-1])&&(a=t.pop()),"function"==typeof t[t.length-1]&&(i=t.pop()),1===t.length&&l(t[0])&&(t=t[0]),Z(t,a).lift(new cM(i))}var lM,uM,cM=function(){return _createClass((function e(t){_classCallCheck(this,e),this.resultSelector=t}),[{key:"call",value:function(e,t){return t.subscribe(new dM(e,this.resultSelector))}}])}(),dM=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e])).resultSelector=n,i.active=0,i.values=[],i.observables=[],i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.values.push(oM),this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var i=e[n];this.add(F(this,i,i,n))}}}},{key:"notifyComplete",value:function(e){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(e,t,n,i,a){var r=this.values,o=this.toRespond?r[n]===oM?--this.toRespond:this.toRespond:0;r[n]=t,0===o&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}},{key:"_tryResultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}])}(j),hM=function(){return _createClass((function e(t){_classCallCheck(this,e),this.total=t}),[{key:"call",value:function(e,t){return t.subscribe(new fM(e,this.total))}}])}(),fM=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e])).total=n,i.count=0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}])}(p),mM=new Set,pM=((uM=function(){return _createClass((function e(t){_classCallCheck(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):_M}),[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!mM.has(e))try{lM||((lM=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(lM)),lM.sheet&&(lM.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),mM.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}])}()).\u0275fac=function(e){return new(e||uM)(Qe(ih))},uM.\u0275prov=fe({factory:function(){return new uM(Qe(ih))},token:uM,providedIn:"root"}),uM);function _M(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var vM,gM=((vM=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new L}),[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return yM(Ph(e)).some((function(e){return t._registerQuery(e).mql.matches}))}},{key:"observe",value:function(e){var t=this,n=sM(yM(Ph(e)).map((function(e){return t._registerQuery(e).observable})));return(n=zf(n.pipe(Lh(1)),n.pipe((function(e){return e.lift(new hM(1))}),gh(0)))).pipe(H((function(e){var t={matches:!1,breakpoints:{}};return e.forEach((function(e){t.matches=t.matches||e.matches,t.breakpoints[e.query]=e.matches})),t})))}},{key:"_registerQuery",value:function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n=this._mediaMatcher.matchMedia(e),i={observable:new w((function(e){var i=function(n){return t._zone.run((function(){return e.next(n)}))};return n.addListener(i),function(){n.removeListener(i)}})).pipe(Vf(n),H((function(t){return{query:e,matches:t.matches}})),Ff(this._destroySubject)),mql:n};return this._queries.set(e,i),i}}])}()).\u0275fac=function(e){return new(e||vM)(Qe(pM),Qe(Pu))},vM.\u0275prov=fe({factory:function(){return new vM(Qe(pM),Qe(Pu))},token:vM,providedIn:"root"}),vM);function yM(e){return e.map((function(e){return e.split(",")})).reduce((function(e,t){return e.concat(t)})).map((function(e){return e.trim()}))}function bM(e,t){if(1&e){var n=No();Po(0,"div",1),Po(1,"button",2),Bo("click",(function(){return $t(n),Zo().action()})),ys(2),Io(),Io()}if(2&e){var i=Zo();ya(2),bs(i.data.action)}}function kM(e,t){}var wM,CM,xM,MM,DM,SM=Math.pow(2,31)-1,LM=function(){return _createClass((function e(t,n){var i=this;_classCallCheck(this,e),this._overlayRef=n,this._afterDismissed=new L,this._afterOpened=new L,this._onAction=new L,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe((function(){return i.dismiss()})),t._onExit.subscribe((function(){return i._finishDismiss()}))}),[{key:"dismiss",value:function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}},{key:"dismissWithAction",value:function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}},{key:"closeWithAction",value:function(){this.dismissWithAction()}},{key:"_dismissAfter",value:function(e){var t=this;this._durationTimeoutId=setTimeout((function(){return t.dismiss()}),Math.min(e,SM))}},{key:"_open",value:function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}},{key:"_finishDismiss",value:function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}},{key:"afterDismissed",value:function(){return this._afterDismissed.asObservable()}},{key:"afterOpened",value:function(){return this.containerInstance._onEnter}},{key:"onAction",value:function(){return this._onAction.asObservable()}}])}(),TM=new Ve("MatSnackBarData"),AM=_createClass((function e(){_classCallCheck(this,e),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"})),EM=((wM=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.snackBarRef=t,this.data=n}),[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}])}()).\u0275fac=function(e){return new(e||wM)(To(LM),To(TM))},wM.\u0275cmp=_t({type:wM,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(Po(0,"span"),ys(1),Io(),So(2,bM,3,1,"div",0)),2&e&&(ya(1),bs(t.data.message),ya(1),Oo("ngIf",t.hasAction))},directives:[kd,Zy],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),wM),OM={snackBarState:n_("state",[o_("void, hidden",r_({transform:"scale(0.8)",opacity:0})),o_("visible",r_({transform:"scale(1)",opacity:1})),s_("* => visible",i_("150ms cubic-bezier(0, 0, 0.2, 1)")),s_("* => void, * => hidden",i_("75ms cubic-bezier(0.4, 0.0, 1, 1)",r_({opacity:0})))])},YM=((xM=function(e){function t(e,n,i,a){var r;return _classCallCheck(this,t),(r=_callSuper(this,t))._ngZone=e,r._elementRef=n,r._changeDetectorRef=i,r.snackBarConfig=a,r._destroyed=!1,r._onExit=new L,r._onEnter=new L,r._animationState="void",r.attachDomPortal=function(e){return r._assertNotAttached(),r._applySnackBarClasses(),r._portalOutlet.attachDomPortal(e)},r._role="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?null:"status":"alert",r}return _inherits(t,e),_createClass(t,[{key:"attachComponentPortal",value:function(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(e)}},{key:"onAnimationEnd",value:function(e){var t=e.fromState,n=e.toState;if(("void"===n&&"void"!==t||"hidden"===n)&&this._completeExit(),"visible"===n){var i=this._onEnter;this._ngZone.run((function(){i.next(),i.complete()}))}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var e=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(Lh(1)).subscribe((function(){e._onExit.next(),e._onExit.complete()}))}},{key:"_applySnackBarClasses",value:function(){var e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach((function(t){return e.classList.add(t)})):e.classList.add(t)),"center"===this.snackBarConfig.horizontalPosition&&e.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&e.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")}}])}(gm)).\u0275fac=function(e){return new(e||xM)(To(Pu),To(qs),To(Gr),To(AM))},xM.\u0275cmp=_t({type:xM,selectors:[["snack-bar-container"]],viewQuery:function(e,t){var n;1&e&&nu(bm,!0),2&e&&tu(n=lu())&&(t._portalOutlet=n.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(e,t){1&e&&Wo("@state.done",(function(e){return t.onAnimationEnd(e)})),2&e&&(Mo("role",t._role),xs("@state",t._animationState))},features:[Ds],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&So(0,kM,0,0,"ng-template",0)},directives:[bm],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[OM.snackBarState]}}),xM),PM=((CM=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:CM}),CM.\u0275inj=me({factory:function(e){return new(e||CM)},imports:[[hp,km,Vd,Ky,Fg],Fg]}),CM),IM=new Ve("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new AM}}),RM=((DM=function(){return _createClass((function e(t,n,i,a,r,o){_classCallCheck(this,e),this._overlay=t,this._live=n,this._injector=i,this._breakpointObserver=a,this._parentSnackBar=r,this._defaultConfig=o,this._snackBarRefAtThisLevel=null}),[{key:"_openedSnackBarRef",get:function(){var e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}},{key:"openFromComponent",value:function(e,t){return this._attach(e,t)}},{key:"openFromTemplate",value:function(e,t){return this._attach(e,t)}},{key:"open",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:e,action:t},i.announcementMessage||(i.announcementMessage=e),this.openFromComponent(EM,i)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(e,t){var n=new wm(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[AM,t]])),i=new pm(YM,t.viewContainerRef,n),a=e.attach(i);return a.instance.snackBarConfig=t,a.instance}},{key:"_attach",value:function(e,t){var n=Object.assign(Object.assign(Object.assign({},new AM),this._defaultConfig),t),i=this._createOverlay(n),a=this._attachSnackBarContainer(i,n),r=new LM(a,i);if(e instanceof _l){var o=new _m(e,null,{$implicit:n.data,snackBarRef:r});r.instance=a.attachTemplatePortal(o)}else{var s=this._createInjector(n,r),l=new pm(e,void 0,s),u=a.attachComponentPortal(l);r.instance=u.instance}return this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait)").pipe(Ff(i.detachments())).subscribe((function(e){var t=i.overlayElement.classList;e.matches?t.add("mat-snack-bar-handset"):t.remove("mat-snack-bar-handset")})),this._animateSnackBar(r,n),this._openedSnackBarRef=r,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(e,t){var n=this;e.afterDismissed().subscribe((function(){n._openedSnackBarRef==e&&(n._openedSnackBarRef=null),t.announcementMessage&&n._live.clear()})),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe((function(){e.containerInstance.enter()})),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&t.duration>0&&e.afterOpened().subscribe((function(){return e._dismissAfter(t.duration)})),t.announcementMessage&&this._live.announce(t.announcementMessage,t.politeness)}},{key:"_createOverlay",value:function(e){var t=new Om;t.direction=e.direction;var n=this._overlay.position().global(),i="rtl"===e.direction,a="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!i||"end"===e.horizontalPosition&&i,r=!a&&"center"!==e.horizontalPosition;return a?n.left("0"):r?n.right("0"):n.centerHorizontally(),"top"===e.verticalPosition?n.top("0"):n.bottom("0"),t.positionStrategy=n,this._overlay.create(t)}},{key:"_createInjector",value:function(e,t){return new wm(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[LM,t],[TM,e.data]]))}}])}()).\u0275fac=function(e){return new(e||DM)(Qe(op),Qe(mf),Qe(uo),Qe(gM),Qe(DM,12),Qe(IM))},DM.\u0275prov=fe({factory:function(){return new DM(Qe(op),Qe(mf),Qe(Be),Qe(gM),Qe(DM,12),Qe(IM))},token:DM,providedIn:PM}),DM),FM=((MM=_createClass((function e(t,n){_classCallCheck(this,e),this.snackBarRef=t,this.data=n}))).\u0275fac=function(e){return new(e||MM)(To(LM),To(TM))},MM.\u0275cmp=_t({type:MM,selectors:[["app-alert-message"]],decls:8,vars:1,consts:[[1,""],[1,"row"],[1,"col-10"],[1,"col-1","text-right"],[3,"click"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"div",1),Po(2,"div",2),Po(3,"p"),ys(4),Io(),Io(),Po(5,"div",3),Po(6,"p",4),Bo("click",(function(){return t.snackBarRef.dismiss()})),ys(7,"X"),Io(),Io(),Io(),Io()),2&e&&(ya(4),bs(t.data))},styles:[""]}),MM),jM=n("BOF4");function HM(e,t){return W(e,t,1)}var NM=_createClass((function e(){_classCallCheck(this,e)})),zM=_createClass((function e(){_classCallCheck(this,e)})),VM=function(){function e(t){var n=this;_classCallCheck(this,e),this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){n.headers=new Map,t.split("\n").forEach((function(e){var t=e.indexOf(":");if(t>0){var i=e.slice(0,t),a=i.toLowerCase(),r=e.slice(t+1).trim();n.maybeSetNormalizedName(i,a),n.headers.has(a)?n.headers.get(a).push(r):n.headers.set(a,[r])}}))}:function(){n.headers=new Map,Object.keys(t).forEach((function(e){var i=t[e],a=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(a,i),n.maybeSetNormalizedName(e,a))}))}:this.headers=new Map}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(e){return t.applyUpdate(e)})),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach((function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))}))}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,_toConsumableArray(n)),this.headers.set(t,i);break;case"d":var a=e.value;if(a){var r=this.headers.get(t);if(!r)return;0===(r=r.filter((function(e){return-1===a.indexOf(e)}))).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,r)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return e(t.normalizedNames.get(n),t.headers.get(n))}))}}])}(),BM=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"encodeKey",value:function(e){return WM(e)}},{key:"encodeValue",value:function(e){return WM(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}])}();function WM(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var UM=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,e),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new BM,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){var n=new Map;return e.length>0&&e.split("&").forEach((function(e){var i=e.indexOf("="),a=_slicedToArray(-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],2),r=a[0],o=a[1],s=n.get(r)||[];s.push(o),n.set(r,s)})),n}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach((function(e){var i=n.fromObject[e];t.map.set(e,Array.isArray(i)?i:[i])}))):this.map=null}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map((function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map((function(t){return n+"="+e.encoder.encodeValue(t)})).join("&")})).filter((function(e){return""!==e})).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(t){return e.map.set(t,e.cloneFrom.map.get(t))})),this.updates.forEach((function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],a=i.indexOf(t.value);-1!==a&&i.splice(a,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}})),this.cloneFrom=this.updates=null)}}])}();function qM(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function GM(e){return"undefined"!=typeof Blob&&e instanceof Blob}function ZM(e){return"undefined"!=typeof FormData&&e instanceof FormData}var JM=function(){function e(t,n,i,a){var r;if(_classCallCheck(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||a?(this.body=void 0!==i?i:null,r=a):r=i,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new VM),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s<n.length-1?"&":"")+o}}else this.params=new UM,this.urlWithParams=n}return _createClass(e,[{key:"serializeBody",value:function(){return null===this.body?null:qM(this.body)||GM(this.body)||ZM(this.body)||"string"==typeof this.body?this.body:this.body instanceof UM?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||ZM(this.body)?null:GM(this.body)?this.body.type||null:qM(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof UM?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}},{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.method||this.method,i=t.url||this.url,a=t.responseType||this.responseType,r=void 0!==t.body?t.body:this.body,o=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,l=t.headers||this.headers,u=t.params||this.params;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce((function(e,n){return e.set(n,t.setHeaders[n])}),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((function(e,n){return e.set(n,t.setParams[n])}),u)),new e(n,i,r,{params:u,headers:l,reportProgress:s,responseType:a,withCredentials:o})}}])}(),KM=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}(),QM=_createClass((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_classCallCheck(this,e),this.headers=t.headers||new VM,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300})),XM=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,t),(e=_callSuper(this,t,[n])).type=KM.ResponseHeader,e}return _inherits(t,e),_createClass(t,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}])}(QM),$M=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,t),(e=_callSuper(this,t,[n])).type=KM.Response,e.body=void 0!==n.body?n.body:null,e}return _inherits(t,e),_createClass(t,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}])}(QM),eD=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t,[e,0,"Unknown Error"])).name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),n.error=e.error||null,n}return _inherits(t,e),_createClass(t)}(QM);function tD(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var nD,iD,aD,rD,oD,sD,lD,uD,cD,dD=((nD=function(){return _createClass((function e(t){_classCallCheck(this,e),this.handler=t}),[{key:"request",value:function(e,t){var n,i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof JM)n=e;else{var r=void 0;r=a.headers instanceof VM?a.headers:new VM(a.headers);var o=void 0;a.params&&(o=a.params instanceof UM?a.params:new UM({fromObject:a.params})),n=new JM(e,t,void 0!==a.body?a.body:null,{headers:r,params:o,reportProgress:a.reportProgress,responseType:a.responseType||"json",withCredentials:a.withCredentials})}var s=uh(n).pipe(HM((function(e){return i.handler.handle(e)})));if(e instanceof JM||"events"===a.observe)return s;var l=s.pipe(wh((function(e){return e instanceof $M})));switch(a.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return l.pipe(H((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return l.pipe(H((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return l.pipe(H((function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));case"json":default:return l.pipe(H((function(e){return e.body})))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type ".concat(a.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new UM).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,tD(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,tD(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,tD(n,t))}}])}()).\u0275fac=function(e){return new(e||nD)(Qe(NM))},nD.\u0275prov=fe({token:nD,factory:nD.\u0275fac}),nD),hD=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.next=t,this.interceptor=n}),[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}])}(),fD=new Ve("HTTP_INTERCEPTORS"),mD=((iD=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"intercept",value:function(e,t){return t.handle(e)}}])}()).\u0275fac=function(e){return new(e||iD)},iD.\u0275prov=fe({token:iD,factory:iD.\u0275fac}),iD),pD=/^\)\]\}',?\n/,_D=_createClass((function e(){_classCallCheck(this,e)})),vD=((rD=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"build",value:function(){return new XMLHttpRequest}}])}()).\u0275fac=function(e){return new(e||rD)},rD.\u0275prov=fe({token:rD,factory:rD.\u0275fac}),rD),gD=((aD=function(){return _createClass((function e(t){_classCallCheck(this,e),this.xhrFactory=t}),[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new w((function(n){var i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((function(e,t){return i.setRequestHeader(e,t.join(","))})),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var a=e.detectContentTypeHeader();null!==a&&i.setRequestHeader("Content-Type",a)}if(e.responseType){var r=e.responseType.toLowerCase();i.responseType="json"!==r?r:"text"}var o=e.serializeBody(),s=null,l=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",a=new VM(i.getAllResponseHeaders()),r=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new XM({headers:a,status:t,statusText:n,url:r})},u=function(){var t=l(),a=t.headers,r=t.status,o=t.statusText,s=t.url,u=null;204!==r&&(u=void 0===i.response?i.responseText:i.response),0===r&&(r=u?200:0);var c=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof u){var d=u;u=u.replace(pD,"");try{u=""!==u?JSON.parse(u):null}catch(h){u=d,c&&(c=!1,u={error:h,text:u})}}c?(n.next(new $M({body:u,headers:a,status:r,statusText:o,url:s||void 0})),n.complete()):n.error(new eD({error:u,headers:a,status:r,statusText:o,url:s||void 0}))},c=function(e){var t=l().url,a=new eD({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(a)},d=!1,h=function(t){d||(n.next(l()),d=!0);var a={type:KM.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(a.total=t.total),"text"===e.responseType&&i.responseText&&(a.partialText=i.responseText),n.next(a)},f=function(e){var t={type:KM.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",u),i.addEventListener("error",c),e.reportProgress&&(i.addEventListener("progress",h),null!==o&&i.upload&&i.upload.addEventListener("progress",f)),i.send(o),n.next({type:KM.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("load",u),e.reportProgress&&(i.removeEventListener("progress",h),null!==o&&i.upload&&i.upload.removeEventListener("progress",f)),i.abort()}}))}}])}()).\u0275fac=function(e){return new(e||aD)(Qe(_D))},aD.\u0275prov=fe({token:aD,factory:aD.\u0275fac}),aD),yD=new Ve("XSRF_COOKIE_NAME"),bD=new Ve("XSRF_HEADER_NAME"),kD=_createClass((function e(){_classCallCheck(this,e)})),wD=((cD=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.doc=t,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}),[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=fd(e,this.cookieName),this.lastCookieString=e),this.lastToken}}])}()).\u0275fac=function(e){return new(e||cD)(Qe(mc),Qe(gu),Qe(yD))},cD.\u0275prov=fe({token:cD,factory:cD.\u0275fac}),cD),CD=((uD=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.tokenService=t,this.headerName=n}),[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}])}()).\u0275fac=function(e){return new(e||uD)(Qe(kD),Qe(bD))},uD.\u0275prov=fe({token:uD,factory:uD.\u0275fac}),uD),xD=((lD=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.backend=t,this.injector=n,this.chain=null}),[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(fD,[]);this.chain=t.reduceRight((function(e,t){return new hD(e,t)}),this.backend)}return this.chain.handle(e)}}])}()).\u0275fac=function(e){return new(e||lD)(Qe(zM),Qe(uo))},lD.\u0275prov=fe({token:lD,factory:lD.\u0275fac}),lD),MD=((sD=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:CD,useClass:mD}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:yD,useValue:t.cookieName}:[],t.headerName?{provide:bD,useValue:t.headerName}:[]]}}}])}()).\u0275mod=bt({type:sD}),sD.\u0275inj=me({factory:function(e){return new(e||sD)},providers:[CD,{provide:fD,useExisting:CD,multi:!0},{provide:kD,useClass:wD},{provide:yD,useValue:"XSRF-TOKEN"},{provide:bD,useValue:"X-XSRF-TOKEN"}]}),sD),DD=((oD=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:oD}),oD.\u0275inj=me({factory:function(e){return new(e||oD)},providers:[dD,{provide:NM,useClass:xD},gD,{provide:zM,useExisting:gD},vD,{provide:_D,useExisting:vD}],imports:[[MD.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),oD),SD=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}();function LD(e){return function(t){return 0===e?Sh():t.lift(new TD(e))}}var TD=function(){return _createClass((function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new Mh}),[{key:"call",value:function(e,t){return t.subscribe(new AD(e,this.total))}}])}(),AD=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e])).total=n,i.ring=new Array,i.count=0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){var t=this.ring,n=this.total,i=this.count++;t.length<n?t.push(e):t[i%n]=e}},{key:"_complete",value:function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,a=0;a<n;a++){var r=t++%n;e.next(i[r])}e.complete()}}])}(p);function ED(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:PD;return function(t){return t.lift(new OD(e))}}var OD=function(){return _createClass((function e(t){_classCallCheck(this,e),this.errorFactory=t}),[{key:"call",value:function(e,t){return t.subscribe(new YD(e,this.errorFactory))}}])}(),YD=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e])).errorFactory=n,i.hasValue=!1,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}])}(p);function PD(){return new SD}function ID(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new RD(e))}}var RD=function(){return _createClass((function e(t){_classCallCheck(this,e),this.defaultValue=t}),[{key:"call",value:function(e,t){return t.subscribe(new FD(e,this.defaultValue))}}])}(),FD=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e])).defaultValue=n,i.isEmpty=!0,i}return _inherits(t,e),_createClass(t,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}])}(p);function jD(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?wh((function(t,n){return e(t,n,i)})):g,LD(1),n?ID(t):ED((function(){return new SD})))}}function HD(e){return function(t){var n=new ND(e),i=t.lift(n);return n.caught=i}}var ND=function(){return _createClass((function e(t){_classCallCheck(this,e),this.selector=t}),[{key:"call",value:function(e,t){return t.subscribe(new zD(e,this.selector,this.caught))}}])}(),zD=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t,[e])).selector=n,a.caught=i,a}return _inherits(t,e),_createClass(t,[{key:"error",value:function(e){if(!this.isStopped){var n;try{n=this.selector(e,this.caught)}catch(r){return void _superPropGet(t,"error",this,3)([r])}this._unsubscribeAndRecycle();var i=new E(this,void 0,void 0);this.add(i);var a=F(this,n,void 0,void 0,i);a!==i&&this.add(a)}}}])}(j);function VD(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?wh((function(t,n){return e(t,n,i)})):g,Lh(1),n?ID(t):ED((function(){return new SD})))}}var BD=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.predicate=t,this.thisArg=n,this.source=i}),[{key:"call",value:function(e,t){return t.subscribe(new WD(e,this.predicate,this.thisArg,this.source))}}])}(),WD=function(e){function t(e,n,i,a){var r;return _classCallCheck(this,t),(r=_callSuper(this,t,[e])).predicate=n,r.thisArg=i,r.source=a,r.index=0,r.thisArg=i||_assertThisInitialized(r),r}return _inherits(t,e),_createClass(t,[{key:"notifyComplete",value:function(e){this.destination.next(e),this.destination.complete()}},{key:"_next",value:function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}])}(p);function UD(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new qD(e,t,n))}}var qD=function(){return _createClass((function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.accumulator=t,this.seed=n,this.hasSeed=i}),[{key:"call",value:function(e,t){return t.subscribe(new GD(e,this.accumulator,this.seed,this.hasSeed))}}])}(),GD=function(e){function t(e,n,i,a){var r;return _classCallCheck(this,t),(r=_callSuper(this,t,[e])).accumulator=n,r._seed=i,r.hasSeed=a,r.index=0,r}return _inherits(t,e),_createClass(t,[{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}},{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(i){this.destination.error(i)}this.seed=t,this.destination.next(t)}}])}(p);function ZD(e){return function(t){return t.lift(new KD(e))}}var JD,KD=function(){return _createClass((function e(t){_classCallCheck(this,e),this.callback=t}),[{key:"call",value:function(e,t){return t.subscribe(new QD(e,this.callback))}}])}(),QD=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e])).add(new h(n)),i}return _inherits(t,e),_createClass(t)}(p),XD=_createClass((function e(t,n){_classCallCheck(this,e),this.id=t,this.url=n})),$D=function(e){function t(e,n){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,t),(i=_callSuper(this,t,[e,n])).navigationTrigger=a,i.restoredState=r,i}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}])}(XD),eS=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t,[e,n])).urlAfterRedirects=i,a}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}])}(XD),tS=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t,[e,n])).reason=i,a}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}])}(XD),nS=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t,[e,n])).error=i,a}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}])}(XD),iS=function(e){function t(e,n,i,a){var r;return _classCallCheck(this,t),(r=_callSuper(this,t,[e,n])).urlAfterRedirects=i,r.state=a,r}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}])}(XD),aS=function(e){function t(e,n,i,a){var r;return _classCallCheck(this,t),(r=_callSuper(this,t,[e,n])).urlAfterRedirects=i,r.state=a,r}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}])}(XD),rS=function(e){function t(e,n,i,a,r){var o;return _classCallCheck(this,t),(o=_callSuper(this,t,[e,n])).urlAfterRedirects=i,o.state=a,o.shouldActivate=r,o}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}])}(XD),oS=function(e){function t(e,n,i,a){var r;return _classCallCheck(this,t),(r=_callSuper(this,t,[e,n])).urlAfterRedirects=i,r.state=a,r}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}])}(XD),sS=function(e){function t(e,n,i,a){var r;return _classCallCheck(this,t),(r=_callSuper(this,t,[e,n])).urlAfterRedirects=i,r.state=a,r}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}])}(XD),lS=function(){return _createClass((function e(t){_classCallCheck(this,e),this.route=t}),[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}])}(),uS=function(){return _createClass((function e(t){_classCallCheck(this,e),this.route=t}),[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}])}(),cS=function(){return _createClass((function e(t){_classCallCheck(this,e),this.snapshot=t}),[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}])}(),dS=function(){return _createClass((function e(t){_classCallCheck(this,e),this.snapshot=t}),[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}])}(),hS=function(){return _createClass((function e(t){_classCallCheck(this,e),this.snapshot=t}),[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}])}(),fS=function(){return _createClass((function e(t){_classCallCheck(this,e),this.snapshot=t}),[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}])}(),mS=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.routerEvent=t,this.position=n,this.anchor=i}),[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}])}(),pS=((JD=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||JD)},JD.\u0275cmp=_t({type:JD,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&Ro(0,"router-outlet")},directives:function(){return[DT]},encapsulation:2}),JD),_S=function(){return _createClass((function e(t){_classCallCheck(this,e),this.params=t||{}}),[{key:"has",value:function(e){return this.params.hasOwnProperty(e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}])}();function vS(e){return new _S(e)}function gS(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function yS(e,t,n){var i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length<e.length))return null;for(var a={},r=0;r<i.length;r++){var o=i[r],s=e[r];if(o.startsWith(":"))a[o.substring(1)]=s;else if(o!==s.path)return null}return{consumed:e.slice(0,i.length),posParams:a}}var bS=_createClass((function e(t,n){_classCallCheck(this,e),this.routes=t,this.module=n}));function kS(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<e.length;n++){var i=e[n];wS(i,CS(t,i))}}function wS(e,t){if(!e)throw new Error("\n Invalid configuration of route '".concat(t,"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n "));if(Array.isArray(e))throw new Error("Invalid configuration of route '".concat(t,"': Array cannot be specified"));if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&"primary"!==e.outlet)throw new Error("Invalid configuration of route '".concat(t,"': a componentless route without children or loadChildren cannot have a named outlet set"));if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and children cannot be used together"));if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and loadChildren cannot be used together"));if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"': children and loadChildren cannot be used together"));if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and component cannot be used together"));if(e.path&&e.matcher)throw new Error("Invalid configuration of route '".concat(t,"': path and matcher cannot be used together"));if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"'. One of the following must be provided: component, redirectTo, children or loadChildren"));if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '".concat(t,"': routes must have either a path or a matcher specified"));if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '".concat(t,"': path cannot start with a slash"));if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error("Invalid configuration of route '{path: \"".concat(t,'", redirectTo: "').concat(e.redirectTo,"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'."));if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '".concat(t,"': pathMatch can only be set to 'prefix' or 'full'"));e.children&&kS(e.children,t)}function CS(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:"".concat(e,"/").concat(t.path):"":e}function xS(e){var t=e.children&&e.children.map(xS),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=pS),n}function MS(e,t){var n,i=Object.keys(e),a=Object.keys(t);if(!i||!a||i.length!=a.length)return!1;for(var r=0;r<i.length;r++)if(!DS(e[n=i[r]],t[n]))return!1;return!0}function DS(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length==t.length&&e.every((function(e){return t.indexOf(e)>-1})):e===t}function SS(e){return Array.prototype.concat.apply([],e)}function LS(e){return e.length>0?e[e.length-1]:null}function TS(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function AS(e){return Vo(e)?e:zo(e)?B(Promise.resolve(e)):uh(e)}function ES(e,t,n){return n?function(e,t){return MS(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!IS(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children){if(!t.children[i])return!1;if(!e(t.children[i],n.children[i]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(n){return DS(e[n],t[n])}))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,i,a){if(n.segments.length>a.length)return!!IS(n.segments.slice(0,a.length),a)&&!i.hasChildren();if(n.segments.length===a.length){if(!IS(n.segments,a))return!1;for(var r in i.children){if(!n.children[r])return!1;if(!e(n.children[r],i.children[r]))return!1}return!0}var o=a.slice(0,n.segments.length),s=a.slice(n.segments.length);return!!IS(n.segments,o)&&!!n.children.primary&&t(n.children.primary,i,s)}(t,n,n.segments)}(e.root,t.root)}var OS=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.root=t,this.queryParams=n,this.fragment=i}),[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=vS(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return HS.serialize(this)}}])}(),YS=function(){return _createClass((function e(t,n){var i=this;_classCallCheck(this,e),this.segments=t,this.children=n,this.parent=null,TS(n,(function(e,t){return e.parent=i}))}),[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return NS(this)}}])}(),PS=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.path=t,this.parameters=n}),[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=vS(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return qS(this)}}])}();function IS(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function RS(e,t){var n=[];return TS(e.children,(function(e,i){"primary"===i&&(n=n.concat(t(e,i)))})),TS(e.children,(function(e,i){"primary"!==i&&(n=n.concat(t(e,i)))})),n}var FS=_createClass((function e(){_classCallCheck(this,e)})),jS=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"parse",value:function(e){var t=new QS(e);return new OS(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){return"".concat("/"+function e(t,n){if(!t.hasChildren())return NS(t);if(n){var i=t.children.primary?e(t.children.primary,!1):"",a=[];return TS(t.children,(function(t,n){"primary"!==n&&a.push("".concat(n,":").concat(e(t,!1)))})),a.length>0?"".concat(i,"(").concat(a.join("//"),")"):i}var r=RS(t,(function(n,i){return"primary"===i?[e(t.children.primary,!1)]:["".concat(i,":").concat(e(n,!1))]}));return"".concat(NS(t),"/(").concat(r.join("//"),")")}(e.root,!0)).concat((t=e.queryParams,n=Object.keys(t).map((function(e){var n=t[e];return Array.isArray(n)?n.map((function(t){return"".concat(VS(e),"=").concat(VS(t))})).join("&"):"".concat(VS(e),"=").concat(VS(n))})),n.length?"?"+n.join("&"):"")).concat("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"");var t,n}}])}(),HS=new jS;function NS(e){return e.segments.map((function(e){return qS(e)})).join("/")}function zS(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function VS(e){return zS(e).replace(/%3B/gi,";")}function BS(e){return zS(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function WS(e){return decodeURIComponent(e)}function US(e){return WS(e.replace(/\+/g,"%20"))}function qS(e){return"".concat(BS(e.path)).concat((t=e.parameters,Object.keys(t).map((function(e){return";".concat(BS(e),"=").concat(BS(t[e]))})).join("")));var t}var GS=/^[^\/()?;=#]+/;function ZS(e){var t=e.match(GS);return t?t[0]:""}var JS=/^[^=?&#]+/,KS=/^[^?&#]+/,QS=function(){return _createClass((function e(t){_classCallCheck(this,e),this.url=t,this.remaining=t}),[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new YS([],{}):new YS([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new YS(e,t)),n}},{key:"parseSegment",value:function(){var e=ZS(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new PS(WS(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=ZS(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=ZS(this.remaining);i&&(n=i,this.capture(n))}e[WS(t)]=WS(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(JS);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=function(e){var t=e.match(KS);return t?t[0]:""}(this.remaining);i&&(n=i,this.capture(n))}var a=US(t),r=US(n);if(e.hasOwnProperty(a)){var o=e[a];Array.isArray(o)||(o=[o],e[a]=o),o.push(r)}else e[a]=r}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=ZS(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var a=void 0;n.indexOf(":")>-1?(a=n.substr(0,n.indexOf(":")),this.capture(a),this.capture(":")):e&&(a="primary");var r=this.parseChildren();t[a]=1===Object.keys(r).length?r.primary:new YS([],r),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}])}(),XS=function(){return _createClass((function e(t){_classCallCheck(this,e),this._root=t}),[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=$S(e,this._root);return t?t.children.map((function(e){return e.value})):[]}},{key:"firstChild",value:function(e){var t=$S(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=eL(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))}},{key:"pathFromRoot",value:function(e){return eL(e,this._root).map((function(e){return e.value}))}}])}();function $S(e,t){if(e===t.value)return t;var n,i=_createForOfIteratorHelper(t.children);try{for(i.s();!(n=i.n()).done;){var a=$S(e,n.value);if(a)return a}}catch(r){i.e(r)}finally{i.f()}return null}function eL(e,t){if(e===t.value)return[t];var n,i=_createForOfIteratorHelper(t.children);try{for(i.s();!(n=i.n()).done;){var a=eL(e,n.value);if(a.length)return a.unshift(t),a}}catch(r){i.e(r)}finally{i.f()}return[]}var tL=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.value=t,this.children=n}),[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}])}();function nL(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var iL=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e])).snapshot=n,uL(_assertThisInitialized(i),e),i}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return this.snapshot.toString()}}])}(XS);function aL(e,t){var n=function(e,t){var n=new sL([],{},{},"",{},"primary",t,null,e.root,-1,{});return new lL("",new tL(n,[]))}(e,t),i=new rM([new PS("",{})]),a=new rM({}),r=new rM({}),o=new rM({}),s=new rM(""),l=new rL(i,a,o,s,r,"primary",t,n.root);return l.snapshot=n.root,new iL(new tL(l,[]),n)}var rL=function(){return _createClass((function e(t,n,i,a,r,o,s,l){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=a,this.data=r,this.outlet=o,this.component=s,this._futureSnapshot=l}),[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(H((function(e){return vS(e)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(H((function(e){return vS(e)})))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}])}();function oL(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var a=n[i],r=n[i-1];if(a.routeConfig&&""===a.routeConfig.path)i--;else{if(r.component)break;i--}}return function(e){return e.reduce((function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(i))}var sL=function(){return _createClass((function e(t,n,i,a,r,o,s,l,u,c,d){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=a,this.data=r,this.outlet=o,this.component=s,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._resolve=d}),[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=vS(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=vS(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(e){return e.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}}])}(),lL=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[n])).url=e,uL(_assertThisInitialized(i),n),i}return _inherits(t,e),_createClass(t,[{key:"toString",value:function(){return cL(this._root)}}])}(XS);function uL(e,t){t.value._routerState=e,t.children.forEach((function(t){return uL(e,t)}))}function cL(e){var t=e.children.length>0?" { ".concat(e.children.map(cL).join(", ")," } "):"";return"".concat(e.value).concat(t)}function dL(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,MS(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),MS(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!MS(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),MS(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function hL(e,t){var n,i;return MS(e.params,t.params)&&IS(n=e.url,i=t.url)&&n.every((function(e,t){return MS(e.parameters,i[t].parameters)}))&&!(!e.parent!=!t.parent)&&(!e.parent||hL(e.parent,t.parent))}function fL(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function mL(e,t,n,i,a){var r={};return i&&TS(i,(function(e,t){r[t]=Array.isArray(e)?e.map((function(e){return""+e})):""+e})),new OS(n.root===e?t:function e(t,n,i){var a={};return TS(t.children,(function(t,r){a[r]=t===n?i:e(t,n,i)})),new YS(t.segments,a)}(n.root,e,t),r,a)}var pL=function(){return _createClass((function e(t,n,i){if(_classCallCheck(this,e),this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=i,t&&i.length>0&&fL(i[0]))throw new Error("Root segment cannot have matrix parameters");var a=i.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(a&&a!==LS(i))throw new Error("{outlets:{}} has to be the last command")}),[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}])}(),_L=_createClass((function e(t,n,i){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=n,this.index=i}));function vL(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function gL(e,t,n){if(e||(e=new YS([],{})),0===e.segments.length&&e.hasChildren())return yL(e,t,n);var i=function(e,t,n){for(var i=0,a=t,r={match:!1,pathIndex:0,commandIndex:0};a<e.segments.length;){if(i>=n.length)return r;var o=e.segments[a],s=vL(n[i]),l=i<n.length-1?n[i+1]:null;if(a>0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!CL(s,l,o))return r;i+=2}else{if(!CL(s,{},o))return r;i++}a++}return{match:!0,pathIndex:a,commandIndex:i}}(e,t,n),a=n.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){var r=new YS(e.segments.slice(0,i.pathIndex),{});return r.children.primary=new YS(e.segments.slice(i.pathIndex),e.children),yL(r,0,a)}return i.match&&0===a.length?new YS(e.segments,{}):i.match&&!e.hasChildren()?bL(e,t,n):i.match?yL(e,0,a):bL(e,t,n)}function yL(e,t,n){if(0===n.length)return new YS(e.segments,{});var i=function(e){return"object"!=typeof e[0]||void 0===e[0].outlets?{primary:e}:e[0].outlets}(n),a={};return TS(i,(function(n,i){null!==n&&(a[i]=gL(e.children[i],t,n))})),TS(e.children,(function(e,t){void 0===i[t]&&(a[t]=e)})),new YS(e.segments,a)}function bL(e,t,n){for(var i=e.segments.slice(0,t),a=0;a<n.length;){if("object"==typeof n[a]&&void 0!==n[a].outlets){var r=kL(n[a].outlets);return new YS(i,r)}if(0===a&&fL(n[0]))i.push(new PS(e.segments[t].path,n[0])),a++;else{var o=vL(n[a]),s=a<n.length-1?n[a+1]:null;o&&s&&fL(s)?(i.push(new PS(o,wL(s))),a+=2):(i.push(new PS(o,{})),a++)}}return new YS(i,{})}function kL(e){var t={};return TS(e,(function(e,n){null!==e&&(t[n]=bL(new YS([],{}),0,e))})),t}function wL(e){var t={};return TS(e,(function(e,n){return t[n]=""+e})),t}function CL(e,t,n){return e==n.path&&MS(t,n.parameters)}var xL=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this.routeReuseStrategy=t,this.futureState=n,this.currState=i,this.forwardEvent=a}),[{key:"activate",value:function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),dL(this.futureState.root),this.activateChildRoutes(t,n,e)}},{key:"deactivateChildRoutes",value:function(e,t,n){var i=this,a=nL(t);e.children.forEach((function(e){var t=e.value.outlet;i.deactivateRoutes(e,a[t],n),delete a[t]})),TS(a,(function(e,t){i.deactivateRouteAndItsChildren(e,n)}))}},{key:"deactivateRoutes",value:function(e,t,n){var i=e.value,a=t?t.value:null;if(i===a)if(i.component){var r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(e,t,r.children)}else this.deactivateChildRoutes(e,t,n);else a&&this.deactivateRouteAndItsChildren(t,n)}},{key:"deactivateRouteAndItsChildren",value:function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}},{key:"detachAndStoreRouteSubtree",value:function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var i=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:i,route:e,contexts:a})}}},{key:"deactivateRouteAndOutlet",value:function(e,t){var n=this,i=t.getContext(e.value.outlet);if(i){var a=nL(e),r=e.value.component?i.children:t;TS(a,(function(e,t){return n.deactivateRouteAndItsChildren(e,r)})),i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated())}}},{key:"activateChildRoutes",value:function(e,t,n){var i=this,a=nL(t);e.children.forEach((function(e){i.activateRoutes(e,a[e.value.outlet],n),i.forwardEvent(new fS(e.value.snapshot))})),e.children.length&&this.forwardEvent(new dS(e.value.snapshot))}},{key:"activateRoutes",value:function(e,t,n){var i=e.value,a=t?t.value:null;if(dL(i),i===a)if(i.component){var r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,r.children)}else this.activateChildRoutes(e,t,n);else if(i.component){var o=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){var s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),ML(s.route)}else{var l=function(e){for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),u=l?l.module.componentFactoryResolver:null;o.attachRef=null,o.route=i,o.resolver=u,o.outlet&&o.outlet.activateWith(i,u),this.activateChildRoutes(e,null,o.children)}}else this.activateChildRoutes(e,null,n)}}])}();function ML(e){dL(e.value),e.children.forEach(ML)}function DL(e){return"function"==typeof e}function SL(e){return e instanceof OS}var LL=_createClass((function e(t){_classCallCheck(this,e),this.segmentGroup=t||null})),TL=_createClass((function e(t){_classCallCheck(this,e),this.urlTree=t}));function AL(e){return new w((function(t){return t.error(new LL(e))}))}function EL(e){return new w((function(t){return t.error(new TL(e))}))}function OL(e){return new w((function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))}))}var YL=function(){return _createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this.configLoader=n,this.urlSerializer=i,this.urlTree=a,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(nt)}),[{key:"apply",value:function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(H((function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)}))).pipe(HD((function(t){if(t instanceof TL)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof LL)throw e.noMatchError(t);throw t})))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(H((function(n){return t.createUrlTree(n,e.queryParams,e.fragment)}))).pipe(HD((function(e){if(e instanceof LL)throw t.noMatchError(e);throw e})))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var i=e.segments.length>0?new YS([],{primary:e}):e;return new OS(i,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(H((function(e){return new YS([],e)}))):this.expandSegment(e,n,t,n.segments,i,!0)}},{key:"expandChildren",value:function(e,t,n){var i=this;return function(n,a){if(0===Object.keys(n).length)return uh({});var r=[],o=[],s={};return TS(n,(function(n,a){var l,u,c=(l=a,u=n,i.expandSegmentGroup(e,t,u,l)).pipe(H((function(e){return s[a]=e})));"primary"===a?r.push(c):o.push(c)})),uh.apply(null,r.concat(o)).pipe(Nf(),jD(),H((function(){return s})))}(n.children)}},{key:"expandSegment",value:function(e,t,n,i,a,r){var o=this;return uh.apply(void 0,_toConsumableArray(n)).pipe(H((function(s){return o.expandSegmentAgainstRoute(e,t,n,s,i,a,r).pipe(HD((function(e){if(e instanceof LL)return uh(null);throw e})))})),Nf(),VD((function(e){return!!e})),HD((function(e,n){if(e instanceof SD||"EmptyError"===e.name){if(o.noLeftoversInUrl(t,i,a))return uh(new YS([],{}));throw new LL(t)}throw e})))}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,i,a,r,o){return FL(i)!==r?AL(t):void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,a):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,a,r):AL(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,a,r){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,r):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,a,r)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,i){var a=this,r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?EL(r):this.lineralizeSegments(n,r).pipe(W((function(n){var r=new YS(n,{});return a.expandSegment(e,r,t,n,i,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,a,r){var o=this,s=PL(t,i,a),l=s.matched,u=s.consumedSegments,c=s.lastChild,d=s.positionalParamSegments;if(!l)return AL(t);var h=this.applyRedirectCommands(u,i.redirectTo,d);return i.redirectTo.startsWith("/")?EL(h):this.lineralizeSegments(i,h).pipe(W((function(i){return o.expandSegment(e,t,n,i.concat(a.slice(c)),r,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,i){var a=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(H((function(e){return n._loadedConfig=e,new YS(i,{})}))):uh(new YS(i,{}));var r=PL(t,n,i),o=r.matched,s=r.consumedSegments,l=r.lastChild;if(!o)return AL(t);var u=i.slice(l);return this.getChildConfig(e,n,i).pipe(W((function(e){var n=e.module,i=e.routes,r=function(e,t,n,i){return n.length>0&&function(e,t,n){return n.some((function(n){return RL(e,t,n)&&"primary"!==FL(n)}))}(e,n,i)?{segmentGroup:IL(new YS(t,function(e,t){var n={};n.primary=t;var i,a=_createForOfIteratorHelper(e);try{for(a.s();!(i=a.n()).done;){var r=i.value;""===r.path&&"primary"!==FL(r)&&(n[FL(r)]=new YS([],{}))}}catch(o){a.e(o)}finally{a.f()}return n}(i,new YS(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return RL(e,t,n)}))}(e,n,i)?{segmentGroup:IL(new YS(e.segments,function(e,t,n,i){var a,r={},o=_createForOfIteratorHelper(n);try{for(o.s();!(a=o.n()).done;){var s=a.value;RL(e,t,s)&&!i[FL(s)]&&(r[FL(s)]=new YS([],{}))}}catch(l){o.e(l)}finally{o.f()}return Object.assign(Object.assign({},i),r)}(e,n,i,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,s,u,i),o=r.segmentGroup,l=r.slicedSegments;return 0===l.length&&o.hasChildren()?a.expandChildren(n,i,o).pipe(H((function(e){return new YS(s,e)}))):0===i.length&&0===l.length?uh(new YS(s,{})):a.expandSegment(n,o,i,l,"primary",!0).pipe(H((function(e){return new YS(s.concat(e.segments),e.children)})))})))}},{key:"getChildConfig",value:function(e,t,n){var i=this;return t.children?uh(new bS(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?uh(t._loadedConfig):function(e,t,n){var i,a=t.canLoad;return a&&0!==a.length?B(a).pipe(H((function(i){var a,r=e.get(i);if(function(e){return e&&DL(e.canLoad)}(r))a=r.canLoad(t,n);else{if(!DL(r))throw new Error("Invalid CanLoad guard");a=r(t,n)}return AS(a)}))).pipe(Nf(),(i=function(e){return!0===e},function(e){return e.lift(new BD(i,void 0,e))})):uh(!0)}(e.injector,t,n).pipe(W((function(n){return n?i.configLoader.load(e.injector,t).pipe(H((function(e){return t._loadedConfig=e,e}))):function(e){return new w((function(t){return t.error(gS("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))}))}(t)}))):uh(new bS([],e))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return uh(n);if(i.numberOfChildren>1||!i.children.primary)return OL(e.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,i){var a=this.createSegmentGroup(e,t.root,n,i);return new OS(a,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return TS(e,(function(e,i){if("string"==typeof e&&e.startsWith(":")){var a=e.substring(1);n[i]=t[a]}else n[i]=e})),n}},{key:"createSegmentGroup",value:function(e,t,n,i){var a=this,r=this.createSegments(e,t.segments,n,i),o={};return TS(t.children,(function(t,r){o[r]=a.createSegmentGroup(e,t,n,i)})),new YS(r,o)}},{key:"createSegments",value:function(e,t,n,i){var a=this;return t.map((function(t){return t.path.startsWith(":")?a.findPosParam(e,t,i):a.findOrReturn(t,n)}))}},{key:"findPosParam",value:function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return i}},{key:"findOrReturn",value:function(e,t){var n,i=0,a=_createForOfIteratorHelper(t);try{for(a.s();!(n=a.n()).done;){var r=n.value;if(r.path===e.path)return t.splice(i),r;i++}}catch(o){a.e(o)}finally{a.f()}return e}}])}();function PL(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var i=(t.matcher||yS)(n,e,t);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function IL(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new YS(e.segments.concat(t.segments),t.children)}return e}function RL(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function FL(e){return e.outlet||"primary"}var jL=_createClass((function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]})),HL=_createClass((function e(t,n){_classCallCheck(this,e),this.component=t,this.route=n}));function NL(e,t,n){var i=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function zL(e,t,n){var i=nL(e),a=e.value;TS(i,(function(e,i){zL(e,a.component?t?t.children.getContext(i):null:t,n)})),n.canDeactivateChecks.push(new HL(a.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,a))}var VL=Symbol("INITIAL_VALUE");function BL(){return Bf((function(e){return sM.apply(void 0,_toConsumableArray(e.map((function(e){return e.pipe(Lh(1),Vf(VL))})))).pipe(UD((function(e,t){var n=!1;return t.reduce((function(e,i,a){if(e!==VL)return e;if(i===VL&&(n=!0),!n){if(!1===i)return i;if(a===t.length-1||SL(i))return i}return e}),e)}),VL),wh((function(e){return e!==VL})),H((function(e){return SL(e)?e:!0===e})),Lh(1))}))}function WL(e,t){return null!==e&&t&&t(new hS(e)),uh(!0)}function UL(e,t){return null!==e&&t&&t(new cS(e)),uh(!0)}function qL(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;return i&&0!==i.length?uh(i.map((function(i){return Qy((function(){var a,r=NL(i,t,n);if(function(e){return e&&DL(e.canActivate)}(r))a=AS(r.canActivate(t,e));else{if(!DL(r))throw new Error("Invalid CanActivate guard");a=AS(r(t,e))}return a.pipe(VD())}))}))).pipe(BL()):uh(!0)}function GL(e,t,n){var i=t[t.length-1],a=t.slice(0,t.length-1).reverse().map((function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)})).filter((function(e){return null!==e})).map((function(t){return Qy((function(){return uh(t.guards.map((function(a){var r,o=NL(a,t.node,n);if(function(e){return e&&DL(e.canActivateChild)}(o))r=AS(o.canActivateChild(i,e));else{if(!DL(o))throw new Error("Invalid CanActivateChild guard");r=AS(o(i,e))}return r.pipe(VD())}))).pipe(BL())}))}));return uh(a).pipe(BL())}var ZL=_createClass((function e(){_classCallCheck(this,e)})),JL=function(){return _createClass((function e(t,n,i,a,r,o){_classCallCheck(this,e),this.rootComponentType=t,this.config=n,this.urlTree=i,this.url=a,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}),[{key:"recognize",value:function(){try{var e=XL(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new sL([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new tL(n,t),a=new lL(this.url,i);return this.inheritParamsAndData(a._root),uh(a)}catch(r){return new w((function(e){return e.error(r)}))}}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,i=oL(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){var n,i=this,a=RS(t,(function(t,n){return i.processSegmentGroup(e,t,n)}));return n={},a.forEach((function(e){var t=n[e.value.outlet];if(t){var i=t.url.map((function(e){return e.toString()})).join("/"),a=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(i,"' and '").concat(a,"'."))}n[e.value.outlet]=e.value})),a.sort((function(e,t){return"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)})),a}},{key:"processSegment",value:function(e,t,n,i){var a,r=_createForOfIteratorHelper(e);try{for(r.s();!(a=r.n()).done;){var o=a.value;try{return this.processSegmentAgainstRoute(o,t,n,i)}catch(s){if(!(s instanceof ZL))throw s}}}catch(l){r.e(l)}finally{r.f()}if(this.noLeftoversInUrl(t,n,i))return[];throw new ZL}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"processSegmentAgainstRoute",value:function(e,t,n,i){if(e.redirectTo)throw new ZL;if((e.outlet||"primary")!==i)throw new ZL;var a,r=[],o=[];if("**"===e.path){var s=n.length>0?LS(n).parameters:{};a=new sL(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,tT(e),i,e.component,e,KL(t),QL(t)+n.length,nT(e))}else{var l=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new ZL;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(t.matcher||yS)(n,e,t);if(!i)throw new ZL;var a={};TS(i.posParams,(function(e,t){a[t]=e.path}));var r=i.consumed.length>0?Object.assign(Object.assign({},a),i.consumed[i.consumed.length-1].parameters):a;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:r}}(t,e,n);r=l.consumedSegments,o=n.slice(l.lastChild),a=new sL(r,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,tT(e),i,e.component,e,KL(t),QL(t)+r.length,nT(e))}var u=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),c=XL(t,r,o,u,this.relativeLinkResolution),d=c.segmentGroup,h=c.slicedSegments;if(0===h.length&&d.hasChildren()){var f=this.processChildren(u,d);return[new tL(a,f)]}if(0===u.length&&0===h.length)return[new tL(a,[])];var m=this.processSegment(u,d,h,"primary");return[new tL(a,m)]}}])}();function KL(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function QL(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function XL(e,t,n,i,a){if(n.length>0&&function(e,t,n){return n.some((function(n){return $L(e,t,n)&&"primary"!==eT(n)}))}(e,n,i)){var r=new YS(t,function(e,t,n,i){var a={};a.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;var r,o=_createForOfIteratorHelper(n);try{for(o.s();!(r=o.n()).done;){var s=r.value;if(""===s.path&&"primary"!==eT(s)){var l=new YS([],{});l._sourceSegment=e,l._segmentIndexShift=t.length,a[eT(s)]=l}}}catch(u){o.e(u)}finally{o.f()}return a}(e,t,i,new YS(n,e.children)));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return $L(e,t,n)}))}(e,n,i)){var o=new YS(e.segments,function(e,t,n,i,a,r){var o,s={},l=_createForOfIteratorHelper(i);try{for(l.s();!(o=l.n()).done;){var u=o.value;if($L(e,n,u)&&!a[eT(u)]){var c=new YS([],{});c._sourceSegment=e,c._segmentIndexShift="legacy"===r?e.segments.length:t.length,s[eT(u)]=c}}}catch(d){l.e(d)}finally{l.f()}return Object.assign(Object.assign({},a),s)}(e,t,n,i,e.children,a));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}var s=new YS(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function $L(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function eT(e){return e.outlet||"primary"}function tT(e){return e.data||{}}function nT(e){return e.resolve||{}}function iT(e,t,n,i){var a=NL(e,t,i);return AS(a.resolve?a.resolve(t,n):a(t,n))}function aT(e){return function(t){return t.pipe(Bf((function(t){var n=e(t);return n?B(n).pipe(H((function(){return t}))):B([t])})))}}var rT=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}])}(),oT=new Ve("ROUTES"),sT=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=a}),[{key:"load",value:function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(H((function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var a=i.create(e);return new bS(SS(a.injector.get(oT)).map(xS),a)})))}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?B(this.loader.load(e)):AS(e()).pipe(W((function(e){return e instanceof it?uh(e):B(t.compiler.compileModuleAsync(e))})))}}])}(),lT=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}])}();function uT(e){throw e}function cT(e,t,n){return t.parse("/")}function dT(e,t){return uh(null)}var hT,fT,mT,pT=((mT=function(){return _createClass((function e(t,n,i,a,r,o,s,l){var u=this;_classCallCheck(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=i,this.location=a,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new L,this.errorHandler=uT,this.malformedUriErrorHandler=cT,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:dT,afterPreactivation:dT},this.urlHandlingStrategy=new lT,this.routeReuseStrategy=new rT,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(nt),this.console=r.get(bu);var c=r.get(Pu);this.isNgZoneEnabled=c instanceof Pu,this.resetConfig(l),this.currentUrlTree=new OS(new YS([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new sT(o,s,(function(e){return u.triggerEvent(new lS(e))}),(function(e){return u.triggerEvent(new uS(e))})),this.routerState=aL(this.currentUrlTree,this.rootComponentType),this.transitions=new rM({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}),[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(wh((function(e){return 0!==e.id})),H((function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),Bf((function(e){var i,a,r,o=!1,s=!1;return uh(e).pipe(hh((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Bf((function(e){var i,a,r,o,s=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||s)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return uh(e).pipe(Bf((function(e){var i=t.transitions.getValue();return n.next(new $D(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?Dh:[e]})),Bf((function(e){return Promise.resolve(e)})),(i=t.ngModule.injector,a=t.configLoader,r=t.urlSerializer,o=t.config,function(e){return e.pipe(Bf((function(e){return function(e,t,n,i,a){return new YL(e,t,n,i,a).apply()}(i,a,r,e.extractedUrl,o).pipe(H((function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})})))})))}),hh((function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})})),function(e,n,i,a,r){return function(i){return i.pipe(W((function(i){return function(e,t,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new JL(e,t,n,i,a,r).recognize()}(e,n,i.urlAfterRedirects,(o=i.urlAfterRedirects,t.serializeUrl(o)),a,r).pipe(H((function(e){return Object.assign(Object.assign({},i),{targetSnapshot:e})})));var o})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),hh((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),hh((function(e){var i=new iS(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)})));if(s&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var l=e.id,u=e.extractedUrl,c=e.source,d=e.restoredState,h=e.extras,f=new $D(l,t.serializeUrl(u),c,d);n.next(f);var m=aL(u,t.rootComponentType).snapshot;return uh(Object.assign(Object.assign({},e),{targetSnapshot:m,urlAfterRedirects:u,extras:Object.assign(Object.assign({},h),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),Dh})),aT((function(e){var n=e.targetSnapshot,i=e.id,a=e.extractedUrl,r=e.rawUrl,o=e.extras,s=o.skipLocationChange,l=o.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:i,appliedUrlTree:a,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!l})})),hh((function(e){var n=new aS(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),H((function(e){return Object.assign(Object.assign({},e),{guards:(n=e.targetSnapshot,i=e.currentSnapshot,a=t.rootContexts,r=n._root,function e(t,n,i,a){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=nL(n);return t.children.forEach((function(t){!function(t,n,i,a){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=t.value,s=n?n.value:null,l=i?i.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!IS(e.url,t.url);case"pathParamsOrQueryParamsChange":return!IS(e.url,t.url)||!MS(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!hL(e,t)||!MS(e.queryParams,t.queryParams);case"paramsChange":default:return!hL(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);u?r.canActivateChecks.push(new jL(a)):(o.data=s.data,o._resolvedData=s._resolvedData),e(t,n,o.component?l?l.children:null:i,a,r),u&&r.canDeactivateChecks.push(new HL(l&&l.outlet&&l.outlet.component||null,s))}else s&&zL(n,l,r),r.canActivateChecks.push(new jL(a)),e(t,null,o.component?l?l.children:null:i,a,r)}(t,o[t.value.outlet],i,a.concat([t.value]),r),delete o[t.value.outlet]})),TS(o,(function(e,t){return zL(e,i.getContext(t),r)})),r}(r,i?i._root:null,a,[r.value]))});var n,i,a,r})),function(e,t){return function(n){return n.pipe(W((function(n){var i=n.targetSnapshot,a=n.currentSnapshot,r=n.guards,o=r.canActivateChecks,s=r.canDeactivateChecks;return 0===s.length&&0===o.length?uh(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return B(e).pipe(W((function(e){return function(e,t,n,i,a){var r=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return r&&0!==r.length?uh(r.map((function(r){var o,s=NL(r,t,a);if(function(e){return e&&DL(e.canDeactivate)}(s))o=AS(s.canDeactivate(e,t,n,i));else{if(!DL(s))throw new Error("Invalid CanDeactivate guard");o=AS(s(e,t,n,i))}return o.pipe(VD())}))).pipe(BL()):uh(!0)}(e.component,e.route,n,t,i)})),VD((function(e){return!0!==e}),!0))}(s,i,a,e).pipe(W((function(n){return n&&"boolean"==typeof n?function(e,t,n,i){return B(t).pipe(HM((function(t){return B([UL(t.route.parent,i),WL(t.route,i),GL(e,t.path,n),qL(e,t.route,n)]).pipe(Nf(),VD((function(e){return!0!==e}),!0))})),VD((function(e){return!0!==e}),!0))}(i,o,e,t):uh(n)})),H((function(e){return Object.assign(Object.assign({},n),{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),hh((function(e){if(SL(e.guardsResult)){var n=gS('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}})),hh((function(e){var n=new rS(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),wh((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var i=new tS(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(i),e.resolve(!1),!1}return!0})),aT((function(e){if(e.guards.canActivateChecks.length)return uh(e).pipe(hh((function(e){var n=new oS(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),(n=t.paramsInheritanceStrategy,i=t.ngModule.injector,function(e){return e.pipe(W((function(e){var t=e.targetSnapshot,a=e.guards.canActivateChecks;return a.length?B(a).pipe(HM((function(e){return function(e,t,n,i){return function(e,t,n,i){var a=Object.keys(e);if(0===a.length)return uh({});if(1===a.length){var r=a[0];return iT(e[r],t,n,i).pipe(H((function(e){return _defineProperty2({},r,e)})))}var o={};return B(a).pipe(W((function(a){return iT(e[a],t,n,i).pipe(H((function(e){return o[a]=e,e})))}))).pipe(jD(),H((function(){return o})))}(e._resolve,e,t,i).pipe(H((function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),oL(e,n).resolve),null})))}(e.route,t,n,i)})),function(e,t){return arguments.length>=2?function(n){return y(UD(e,t),LD(1),ID(t))(n)}:function(t){return y(UD((function(t,n,i){return e(t,n,i+1)})),LD(1))(t)}}((function(e,t){return e})),H((function(t){return e}))):uh(e)})))}),hh((function(e){var n=new sS(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})));var n,i})),aT((function(e){var n=e.targetSnapshot,i=e.id,a=e.extractedUrl,r=e.rawUrl,o=e.extras,s=o.skipLocationChange,l=o.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:i,appliedUrlTree:a,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!l})})),H((function(e){var n=function(e,t,n){var i=function e(t,n,i){if(i&&t.shouldReuseRoute(n.value,i.value.snapshot)){var a=i.value;a._futureSnapshot=n.value;var r=function(t,n,i){return n.children.map((function(n){var a,r=_createForOfIteratorHelper(i.children);try{for(r.s();!(a=r.n()).done;){var o=a.value;if(t.shouldReuseRoute(o.value.snapshot,n.value))return e(t,n,o)}}catch(s){r.e(s)}finally{r.f()}return e(t,n)}))}(t,n,i);return new tL(a,r)}var o=t.retrieve(n.value);if(o){var s=o.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var i=0;i<t.children.length;++i)e(t.children[i],n.children[i])}(n,s),s}var l,u=new rL(new rM((l=n.value).url),new rM(l.params),new rM(l.queryParams),new rM(l.fragment),new rM(l.data),l.outlet,l.component,l),c=n.children.map((function(n){return e(t,n)}));return new tL(u,c)}(e,t._root,n?n._root:void 0);return new iL(i,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})})),hh((function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),(i=t.rootContexts,a=t.routeReuseStrategy,r=function(e){return t.triggerEvent(e)},H((function(e){return new xL(a,e.targetRouterState,e.currentRouterState,r).activate(i),e}))),hh({next:function(){o=!0},complete:function(){o=!0}}),ZD((function(){if(!o&&!s){t.resetUrlToCurrentUrlTree();var i=new tS(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId));n.next(i),e.resolve(!1)}t.currentNavigation=null})),HD((function(i){if(s=!0,(l=i)&&l.ngNavigationCancelingError){var a=SL(i.url);a||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var r=new tS(e.id,t.serializeUrl(e.extractedUrl),i.message);n.next(r),a?setTimeout((function(){var n=t.urlHandlingStrategy.merge(i.url,t.rawUrlTree);return t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})}),0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var o=new nS(e.id,t.serializeUrl(e.extractedUrl),i);n.next(o);try{e.resolve(t.errorHandler(i))}catch(u){e.reject(u)}}var l;return Dh})))})))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(t){var n=e.parseUrl(t.url),i="popstate"===t.type?"popstate":"hashchange",a=t.state&&t.state.navigationId?t.state:null;setTimeout((function(){e.scheduleNavigation(n,i,a,{replaceUrl:!0})}),0)})))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){kS(e),this.config=e.map(xS),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,i=t.queryParams,a=t.fragment,r=t.preserveQueryParams,o=t.queryParamsHandling,s=t.preserveFragment;Li()&&r&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,u=s?this.currentUrlTree.fragment:a,c=null;if(o)switch(o){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}else c=r?this.currentUrlTree.queryParams:i||null;return null!==c&&(c=this.removeEmptyProps(c)),function(e,t,n,i,a){if(0===n.length)return mL(t.root,t.root,t,i,a);var r=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new pL(!0,0,e);var t=0,n=!1,i=e.reduce((function(e,i,a){if("object"==typeof i&&null!=i){if(i.outlets){var r={};return TS(i.outlets,(function(e,t){r[t]="string"==typeof e?e.split("/"):e})),[].concat(_toConsumableArray(e),[{outlets:r}])}if(i.segmentPath)return[].concat(_toConsumableArray(e),[i.segmentPath])}return"string"!=typeof i?[].concat(_toConsumableArray(e),[i]):0===a?(i.split("/").forEach((function(i,a){0==a&&"."===i||(0==a&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))})),e):[].concat(_toConsumableArray(e),[i])}),[]);return new pL(n,t,i)}(n);if(r.toRoot())return mL(t.root,new YS([],{}),t,i,a);var o=function(e,t,n){if(e.isAbsolute)return new _L(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new _L(n.snapshot._urlSegment,!0,0);var i=fL(e.commands[0])?0:1;return function(e,t,n){for(var i=e,a=t,r=n;r>a;){if(r-=a,!(i=i.parent))throw new Error("Invalid number of '../'");a=i.segments.length}return new _L(i,!1,a-r)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,e.numberOfDoubleDots)}(r,t,e),s=o.processChildren?yL(o.segmentGroup,o.index,r.commands):gL(o.segmentGroup,o.index,r.commands);return mL(o.segmentGroup,s,t,i,a)}(l,this.currentUrlTree,e,c,u)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Li()&&this.isNgZoneEnabled&&!Pu.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=SL(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains ".concat(n," segment at index ").concat(t))}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}},{key:"serializeUrl",value:function(e){return this.urlSerializer.serialize(e)}},{key:"parseUrl",value:function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}},{key:"isActive",value:function(e,t){if(SL(e))return ES(this.currentUrlTree,e,t);var n=this.parseUrl(e);return ES(this.currentUrlTree,n,t)}},{key:"removeEmptyProps",value:function(e){return Object.keys(e).reduce((function(t,n){var i=e[n];return null!=i&&(t[n]=i),t}),{})}},{key:"processNavigations",value:function(){var e=this;this.navigations.subscribe((function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new eS(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),e.lastSuccessfulNavigation=e.currentNavigation,e.currentNavigation=null,t.resolve(!0)}),(function(t){e.console.warn("Unhandled Navigation Error: ")}))}},{key:"scheduleNavigation",value:function(e,t,n,i,a){var r,o,s,l=this.getTransition();if(l&&"imperative"!==t&&"imperative"===l.source&&l.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(l&&"hashchange"==t&&"popstate"===l.source&&l.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(l&&"popstate"==t&&"hashchange"===l.source&&l.rawUrl.toString()===e.toString())return Promise.resolve(!0);a?(r=a.resolve,o=a.reject,s=a.promise):s=new Promise((function(e,t){r=e,o=t}));var u=++this.navigationId;return this.setTransition({id:u,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:r,reject:o,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch((function(e){return Promise.reject(e)}))}},{key:"setBrowserUrl",value:function(e,t,n,i){var a=this.urlSerializer.serialize(e);i=i||{},this.location.isCurrentPathEqualTo(a)||t?this.location.replaceState(a,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(a,"",Object.assign(Object.assign({},i),{navigationId:n}))}},{key:"resetStateAndUrl",value:function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}])}()).\u0275fac=function(e){Eo()},mT.\u0275dir=wt({type:mT}),mT),_T=((fT=function(){return _createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this.router=t,this.route=n,this.commands=[],null==i&&a.setAttribute(r.nativeElement,"tabindex","0")}),[{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"preserveQueryParams",set:function(e){Li()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}},{key:"onClick",value:function(){var e={skipLocationChange:gT(this.skipLocationChange),replaceUrl:gT(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:gT(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:gT(this.preserveFragment)})}}])}()).\u0275fac=function(e){return new(e||fT)(To(pT),To(rL),Ao("tabindex"),To(Ks),To(qs))},fT.\u0275dir=wt({type:fT,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&Bo("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),fT),vT=((hT=function(){return _createClass((function e(t,n,i){var a=this;_classCallCheck(this,e),this.router=t,this.route=n,this.locationStrategy=i,this.commands=[],this.subscription=t.events.subscribe((function(e){e instanceof eS&&a.updateTargetUrlAndHref()}))}),[{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"preserveQueryParams",set:function(e){Li()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}},{key:"ngOnChanges",value:function(e){this.updateTargetUrlAndHref()}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(e,t,n,i){if(0!==e||t||n||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var a={skipLocationChange:gT(this.skipLocationChange),replaceUrl:gT(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,a),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:gT(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:gT(this.preserveFragment)})}}])}()).\u0275fac=function(e){return new(e||hT)(To(pT),To(rL),To(Dc))},hT.\u0275dir=wt({type:hT,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&Bo("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(Cs("href",t.href,$i),Mo("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[Os]}),hT);function gT(e){return""===e||!!e}var yT,bT,kT,wT,CT=((yT=function(){return _createClass((function e(t,n,i,a,r){var o=this;_classCallCheck(this,e),this.router=t,this.element=n,this.renderer=i,this.link=a,this.linkWithHref=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe((function(e){e instanceof eS&&o.update()}))}),[{key:"ngAfterContentInit",value:function(){var e=this;this.links.changes.subscribe((function(t){return e.update()})),this.linksWithHrefs.changes.subscribe((function(t){return e.update()})),this.update()}},{key:"routerLinkActive",set:function(e){var t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter((function(e){return!!e}))}},{key:"ngOnChanges",value:function(e){this.update()}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"update",value:function(){var e=this;this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then((function(){var t=e.hasActiveLinks();e.isActive!==t&&(e.isActive=t,e.classes.forEach((function(n){t?e.renderer.addClass(e.element.nativeElement,n):e.renderer.removeClass(e.element.nativeElement,n)})))}))}},{key:"isLinkActive",value:function(e){var t=this;return function(n){return e.isActive(n.urlTree,t.routerLinkActiveOptions.exact)}}},{key:"hasActiveLinks",value:function(){var e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}])}()).\u0275fac=function(e){return new(e||yT)(To(pT),To(qs),To(Ks),To(_T,8),To(vT,8))},yT.\u0275dir=wt({type:yT,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){var i;1&e&&(ru(n,_T,!0),ru(n,vT,!0)),2&e&&(tu(i=lu())&&(t.links=i),tu(i=lu())&&(t.linksWithHrefs=i))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[Os]}),yT),xT=_createClass((function e(){_classCallCheck(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new MT,this.attachRef=null})),MT=function(){return _createClass((function e(){_classCallCheck(this,e),this.contexts=new Map}),[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new xT,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}])}(),DT=((bT=function(){return _createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this.parentContexts=t,this.location=n,this.resolver=i,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new Wl,this.deactivateEvents=new Wl,this.name=a||"primary",t.onChildOutletCreated(this.name,this)}),[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e}},{key:"attach",value:function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}},{key:"deactivate",value:function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}},{key:"activateWith",value:function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,a=new ST(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,a),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}])}()).\u0275fac=function(e){return new(e||bT)(To(MT),To(gl),To(Us),Ao("name"),To(Gr))},bT.\u0275dir=wt({type:bT,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),bT),ST=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.route=t,this.childContexts=n,this.parent=i}),[{key:"get",value:function(e,t){return e===rL?this.route:e===MT?this.childContexts:this.parent.get(e,t)}}])}(),LT=_createClass((function e(){_classCallCheck(this,e)})),TT=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"preload",value:function(e,t){return uh(null)}}])}(),AT=((wT=function(){return _createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this.router=t,this.injector=a,this.preloadingStrategy=r,this.loader=new sT(n,i,(function(e){return t.triggerEvent(new lS(e))}),(function(e){return t.triggerEvent(new uS(e))}))}),[{key:"setUpPreloading",value:function(){var e=this;this.subscription=this.router.events.pipe(wh((function(e){return e instanceof eS})),HM((function(){return e.preload()}))).subscribe((function(){}))}},{key:"preload",value:function(){var e=this.injector.get(nt);return this.processRoutes(e,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"processRoutes",value:function(e,t){var n,i=[],a=_createForOfIteratorHelper(t);try{for(a.s();!(n=a.n()).done;){var r=n.value;if(r.loadChildren&&!r.canLoad&&r._loadedConfig){var o=r._loadedConfig;i.push(this.processRoutes(o.module,o.routes))}else r.loadChildren&&!r.canLoad?i.push(this.preloadConfig(e,r)):r.children&&i.push(this.processRoutes(e,r.children))}}catch(s){a.e(s)}finally{a.f()}return B(i).pipe(G(),H((function(e){})))}},{key:"preloadConfig",value:function(e,t){var n=this;return this.preloadingStrategy.preload(t,(function(){return n.loader.load(e.injector,t).pipe(W((function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)})))}))}}])}()).\u0275fac=function(e){return new(e||wT)(Qe(pT),Qe(nc),Qe(Au),Qe(uo),Qe(LT))},wT.\u0275prov=fe({token:wT,factory:wT.\u0275fac}),wT),ET=((kT=function(){return _createClass((function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,e),this.router=t,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}),[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof $D?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof eS&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))}))}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof mS&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))}))}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new mS(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}])}()).\u0275fac=function(e){Eo()},kT.\u0275dir=wt({type:kT}),kT),OT=new Ve("ROUTER_CONFIGURATION"),YT=new Ve("ROUTER_FORROOT_GUARD"),PT=[Pc,{provide:FS,useClass:jS},{provide:pT,useFactory:function(e,t,n,i,a,r,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0,c=new pT(null,e,t,n,i,a,r,SS(o));if(l&&(c.urlHandlingStrategy=l),u&&(c.routeReuseStrategy=u),s.errorHandler&&(c.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(c.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var d=hc();c.events.subscribe((function(e){d.logGroup("Router Event: "+e.constructor.name),d.log(e.toString()),d.log(e),d.logGroupEnd()}))}return s.onSameUrlNavigation&&(c.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(c.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(c.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(c.relativeLinkResolution=s.relativeLinkResolution),c},deps:[FS,MT,Pc,uo,nc,Au,oT,OT,[_createClass((function e(){_classCallCheck(this,e)})),new se],[_createClass((function e(){_classCallCheck(this,e)})),new se]]},MT,{provide:rL,useFactory:function(e){return e.routerState.root},deps:[pT]},{provide:nc,useClass:rc},AT,TT,function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"preload",value:function(e,t){return t().pipe(HD((function(){return uh(null)})))}}])}(),{provide:OT,useValue:{enableTracing:!1}}];function IT(){return new Zu("Router",pT)}var RT,FT=((RT=function(){function e(t,n){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[PT,zT(t),{provide:YT,useFactory:NT,deps:[[pT,new se,new ue]]},{provide:OT,useValue:n||{}},{provide:Dc,useFactory:HT,deps:[pc,[new oe(Ec),new se],OT]},{provide:ET,useFactory:jT,deps:[pT,Gd,OT]},{provide:LT,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:TT},{provide:Zu,multi:!0,useFactory:IT},[BT,{provide:hu,multi:!0,useFactory:WT,deps:[BT]},{provide:KT,useFactory:UT,deps:[BT]},{provide:yu,multi:!0,useExisting:KT}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[zT(t)]}}}])}()).\u0275mod=bt({type:RT}),RT.\u0275inj=me({factory:function(e){return new(e||RT)(Qe(YT,8),Qe(pT,8))}}),RT);function jT(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new ET(e,t,n)}function HT(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new Yc(e,t):new Oc(e,t)}function NT(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function zT(e){return[{provide:co,multi:!0,useValue:e},{provide:oT,multi:!0,useValue:e}]}var VT,BT=((VT=function(){return _createClass((function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new L}),[{key:"appInitializer",value:function(){var e=this;return this.injector.get(gc,Promise.resolve(null)).then((function(){var t=null,n=new Promise((function(e){return t=e})),i=e.injector.get(pT),a=e.injector.get(OT);if(e.isLegacyDisabled(a)||e.isLegacyEnabled(a))t(!0);else if("disabled"===a.initialNavigation)i.setUpLocationChangeListener(),t(!0);else{if("enabled"!==a.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(a.initialNavigation,"'"));i.hooks.afterPreactivation=function(){return e.initNavigation?uh(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},i.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(OT),n=this.injector.get(AT),i=this.injector.get(ET),a=this.injector.get(pT),r=this.injector.get(ec);e===r.components[0]&&(this.isLegacyEnabled(t)?a.initialNavigation():this.isLegacyDisabled(t)&&a.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),a.resetRootComponentType(r.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}},{key:"isLegacyDisabled",value:function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}])}()).\u0275fac=function(e){return new(e||VT)(Qe(uo))},VT.\u0275prov=fe({token:VT,factory:VT.\u0275fac}),VT);function WT(e){return e.appInitializer.bind(e)}function UT(e){return e.bootstrapListener.bind(e)}var qT,GT,ZT,JT,KT=new Ve("Router Initializer"),QT=((JT=function(){return _createClass((function e(t){_classCallCheck(this,e),this.platformId=t,this.storage=Bd(this.platformId)?localStorage:{getItem:function(e){return null},setItem:function(e,t){},removeItem:function(e){},length:0,clear:function(){},key:function(e){return null}}}),[{key:"getItem",value:function(e){return this.storage.getItem(e)}},{key:"setItem",value:function(e,t){this.storage.setItem(e,t)}},{key:"removeItem",value:function(e){this.storage.removeItem(e)}}])}()).\u0275fac=function(e){return new(e||JT)(Qe(gu))},JT.\u0275prov=fe({token:JT,factory:JT.\u0275fac,providedIn:"root"}),JT),XT=((ZT=function(){return _createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this.http=t,this.router=n,this.snackBar=i,this.storageService=a,this.platformId=r,this.apiUrl=cc,this.currentUserSubject=new rM(null),this.currentUser=this.currentUserSubject.asObservable(),this.messageSource=new rM("default message"),this.currentMessage=this.messageSource.asObservable(),this.tokenSubject=new rM(JSON.parse(this.storageService.getItem("token"))),this.token=this.tokenSubject.asObservable(),this.user_infoSubject=new rM(JSON.parse(this.storageService.getItem("user"))),this.user_info=this.user_infoSubject.asObservable()}),[{key:"changeMessage",value:function(e){this.messageSource.next(e)}},{key:"tokenValue",get:function(){return this.tokenSubject.value}},{key:"userValue",get:function(){return this.user_infoSubject.value}},{key:"signIn",value:function(e){var t=this;return this.http.post("https://api-preprod.foodgame.fr/api/auth/login",e).pipe(H((function(e){return t.storageService.setItem("token",JSON.stringify(e)),t.tokenSubject.next(e),e})))}},{key:"signInWithGoogle",value:function(){var e=this;return this.http.get(this.apiUrl+"/api/auth/google").pipe(H((function(t){return console.log("je suis present",t),e.storageService.setItem("user",JSON.stringify(t)),t})))}},{key:"signInAdmin",value:function(e){var t=this;return this.http.post("https://api-preprod.foodgame.fr/api/auth/admin",e).pipe(H((function(e){return t.storageService.setItem("token",JSON.stringify(e)),t.tokenSubject.next(e),e})))}},{key:"signUP",value:function(e){var t=this;return this.http.post("https://api-preprod.foodgame.fr/api/auth/signup",e).pipe(H((function(e){return t.storageService.setItem("token",JSON.stringify(e)),t.tokenSubject.next(e),e})))}},{key:"lostPassword",value:function(e){return this.http.put("https://api-preprod.foodgame.fr/api/auth/forgot-password",e)}},{key:"resetPassword",value:function(e){return this.http.put("https://api-preprod.foodgame.fr/api/auth/reset-password",e)}},{key:"isLoggedIn",value:function(){return null!==this.storageService.getItem("token")}},{key:"getCurrentUser",value:function(){var e=this;return this.http.get("/api/auth/user").pipe(hh((function(t){e.currentUserSubject.next(t)})))}},{key:"logout",value:function(){this.storageService.removeItem("token"),this.tokenSubject.next(null),this.storageService.removeItem("user"),this.user_infoSubject.next(null),this.router.navigate(["/login"]),Bd(this.platformId)&&setTimeout((function(){document.location.reload()}),1e3)}},{key:"getUserInfo",value:function(){var e=this,t=jM(this.tokenSubject.value.token);return this.http.get("https://api-preprod.foodgame.fr/api/users/"+t.userId).pipe(H((function(t){return e.storageService.setItem("user",JSON.stringify(t)),e.user_infoSubject.next(t),t})))}},{key:"openSnackBar",value:function(e){this.snackBar.openFromComponent(FM,{data:e,panelClass:["blue-snackbar"],duration:1e4})}}])}()).\u0275fac=function(e){return new(e||ZT)(Qe(dD),Qe(pT),Qe(RM),Qe(QT),Qe(gu))},ZT.\u0275prov=fe({token:ZT,factory:ZT.\u0275fac,providedIn:"root"}),ZT),$T=((GT=function(){return _createClass((function e(t){_classCallCheck(this,e),this.authService=t}),[{key:"intercept",value:function(e,t){var n=this.authService.tokenValue;return n&&n.token&&(e=e.clone({setHeaders:{Authorization:"Bearer "+n.token}})),t.handle(e)}}])}()).\u0275fac=function(e){return new(e||GT)(Qe(XT))},GT.\u0275prov=fe({token:GT,factory:GT.\u0275fac}),GT),eA=((qT=_createClass((function e(t){_classCallCheck(this,e),this.data=t}))).\u0275fac=function(e){return new(e||qT)(To(db))},qT.\u0275cmp=_t({type:qT,selectors:[["app-confirm-message"]],decls:8,vars:2,consts:[[1,"container"],[1,"justify-content-center","mb-2"],["mat-dialog-content","",1,"row","justify-content-center","my-2"],[1,"text-center"],["mat-dialog-actions","",1,"row","justify-content-center","mt-2","mb-1"],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(e,t){1&e&&(Po(0,"div",0),Ro(1,"div",1),Po(2,"div",2),Po(3,"h3",3),ys(4),Io(),Io(),Po(5,"div",4),Po(6,"button",5),ys(7,"Ok"),Io(),Io(),Io()),2&e&&(ya(4),bs(t.data.response.message),ya(2),Oo("mat-dialog-close",!0))},directives:[yb,bb,Zy,vb],styles:[""]}),qT);function tA(e,t){return function(n){var i=n.controls[t];i.errors&&!i.errors.mustMatch||i.setErrors(n.controls[e].value!==i.value?{mustMatch:!0}:null)}}var nA,iA,aA,rA,oA=["*",[["mat-card-footer"]]],sA=["*","mat-card-footer"],lA=((aA=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||aA)},aA.\u0275dir=wt({type:aA,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),aA),uA=((iA=_createClass((function e(t){_classCallCheck(this,e),this._animationMode=t}))).\u0275fac=function(e){return new(e||iA)(To(Sg,8))},iA.\u0275cmp=_t({type:iA,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&ls("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:sA,decls:2,vars:0,template:function(e,t){1&e&&(Ko(oA),Qo(0),Qo(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),iA),cA=((nA=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:nA}),nA.\u0275inj=me({factory:function(e){return new(e||nA)},imports:[[Fg],Fg]}),nA),dA=["primaryValueBar"],hA=Hg(_createClass((function e(t){_classCallCheck(this,e),this._elementRef=t})),"primary"),fA=new Ve("mat-progress-bar-location",{providedIn:"root",factory:function(){var e=Xe(mc),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}}),mA=0,pA=((rA=function(e){function t(e,n,i,a){var r;_classCallCheck(this,t),(r=_callSuper(this,t,[e]))._elementRef=e,r._ngZone=n,r._animationMode=i,r._isNoopAnimation=!1,r._value=0,r._bufferValue=0,r.animationEnd=new Wl,r._animationEndSubscription=h.EMPTY,r.mode="determinate",r.progressbarId="mat-progress-bar-"+mA++;var o=a?a.getPathname().split("#")[0]:"";return r._rectangleFillValue="url('".concat(o,"#").concat(r.progressbarId,"')"),r._isNoopAnimation="NoopAnimations"===i,r}return _inherits(t,e),_createClass(t,[{key:"value",get:function(){return this._value},set:function(e){this._value=_A(Oh(e)||0)}},{key:"bufferValue",get:function(){return this._bufferValue},set:function(e){this._bufferValue=_A(e||0)}},{key:"_primaryTransform",value:function(){return{transform:"scaleX(".concat(this.value/100,")")}}},{key:"_bufferTransform",value:function(){return"buffer"===this.mode?{transform:"scaleX(".concat(this.bufferValue/100,")")}:null}},{key:"ngAfterViewInit",value:function(){var e=this;this._ngZone.runOutsideAngular((function(){var t=e._primaryValueBar.nativeElement;e._animationEndSubscription=Lf(t,"transitionend").pipe(wh((function(e){return e.target===t}))).subscribe((function(){"determinate"!==e.mode&&"buffer"!==e.mode||e._ngZone.run((function(){return e.animationEnd.next({value:e.value})}))}))}))}},{key:"ngOnDestroy",value:function(){this._animationEndSubscription.unsubscribe()}}])}(hA)).\u0275fac=function(e){return new(e||rA)(To(qs),To(Pu),To(Sg,8),To(fA,8))},rA.\u0275cmp=_t({type:rA,selectors:[["mat-progress-bar"]],viewQuery:function(e,t){var n;1&e&&iu(dA,!0),2&e&&tu(n=lu())&&(t._primaryValueBar=n.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"mat-progress-bar"],hostVars:4,hostBindings:function(e,t){2&e&&(Mo("aria-valuenow","indeterminate"===t.mode||"query"===t.mode?null:t.value)("mode",t.mode),ls("_mat-animation-noopable",t._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[Ds],decls:9,vars:4,consts:[["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(e,t){1&e&&(Dn(),Po(0,"svg",0),Po(1,"defs"),Po(2,"pattern",1),Ro(3,"circle",2),Io(),Io(),Ro(4,"rect",3),Io(),Sn(),Ro(5,"div",4),Ro(6,"div",5,6),Ro(8,"div",7)),2&e&&(ya(2),Oo("id",t.progressbarId),ya(2),Mo("fill",t._rectangleFillValue),ya(1),Oo("ngStyle",t._bufferTransform()),ya(1),Oo("ngStyle",t._primaryTransform()))},directives:[Od],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),rA);function _A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(t,Math.min(n,e))}var vA,gA=((vA=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:vA}),vA.\u0275inj=me({factory:function(e){return new(e||vA)},imports:[[Vd,Fg],Fg]}),vA);function yA(e,t){1&e&&Ro(0,"mat-progress-bar",13)}function bA(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorPassword()," ")}}function kA(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorConfirmPassword()," ")}}var wA,CA=((wA=function(){return _createClass((function e(t,n,i,a,r,o){_classCallCheck(this,e),this.router=t,this.snackBar=n,this.activatedRoute=i,this.authService=a,this.formBuilder=r,this.dialog=o,this.submitted=!1,this.loading=!1}),[{key:"ngOnInit",value:function(){var e=this;this.createForm(),this.subscription=this.activatedRoute.params.subscribe((function(t){e.token=t.token}))}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"createForm",value:function(){this.formGroup=this.formBuilder.group({password:["",[Kb.required,this.checkPassword]],confirmPassword:["",Kb.required]},{validator:tA("password","confirmPassword")})}},{key:"checkPassword",value:function(e){var t=e.value;return!/^(?=.*[a-z])(?=.{6,})/.test(t)&&t?{requirements:!0}:null}},{key:"getErrorPassword",value:function(){return this.formGroup.get("password").hasError("required")?"Mot de passe requis":this.formGroup.get("password").hasError("requirements")?"Le mot de passe doit comporter au moins 8 caract\xe8res, une lettre majuscule":""}},{key:"getErrorConfirmPassword",value:function(){return this.formGroup.get("confirmPassword").hasError("required")?"Confirmation mot de passe requise":this.formGroup.hasError("MustMatch")?"":"Les mots de passe saisis ne sont pas identiques"}},{key:"f",get:function(){return this.formGroup.controls}},{key:"ResetPassword",value:function(){var e=this;this.submitted=!0,this.formGroup.invalid||(this.loading=!0,this.authService.resetPassword({password:this.formGroup.value.password,resetLink:this.token}).subscribe((function(t){console.log(t),e.loading=!1,e.openDialog(t)}),(function(t){e.loading=!1,e.authService.openSnackBar(t.error.message)})))}},{key:"openDialog",value:function(e){var t=this;this.dialog.open(eA,{width:"38%",data:{response:e}}).afterClosed().subscribe((function(){t.router.navigate(["/login"])}))}}])}()).\u0275fac=function(e){return new(e||wA)(To(pT),To(RM),To(rL),To(XT),To(Fw),To(pb))},wA.\u0275cmp=_t({type:wA,selectors:[["app-reset-password"]],decls:22,vars:4,consts:[[1,"container","navtop"],[1,"row","justify-content-center"],[1,"col-10","col-lg-7",2,"border-radius","30px"],["class","col-12","mode","indeterminate",4,"ngIf"],[3,"formGroup","ngSubmit"],[1,"row","justify-content-center","mt-2"],[1,"text-center"],[1,"col-10"],["matInput","","placeholder","Nouveau mot de passe","type","password","formControlName","password","required",""],[4,"ngIf"],["matInput","","placeholder","Confirmer votre mot de passe","type","password","formControlName","confirmPassword","required",""],[1,"row","justify-content-center","my-3"],["mat-raised-button","","color","primary","type","submit",1,"col-8","col-md-4","color-theme"],["mode","indeterminate",1,"col-12"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"div",1),Po(2,"mat-card",2),So(3,yA,1,0,"mat-progress-bar",3),Po(4,"mat-card-content"),Po(5,"form",4),Bo("ngSubmit",(function(){return t.ResetPassword()})),Po(6,"h1",5),Po(7,"b"),ys(8,"R\xe9initialiser votre mot de passe"),Io(),Io(),Po(9,"h3",6),ys(10,"Renseignez votre nouveau mot de passe ci-dessous."),Io(),Po(11,"div",1),Po(12,"mat-form-field",7),Ro(13,"input",8),So(14,bA,2,1,"mat-error",9),Io(),Io(),Po(15,"div",1),Po(16,"mat-form-field",7),Ro(17,"input",10),So(18,kA,2,1,"mat-error",9),Io(),Io(),Po(19,"div",11),Po(20,"button",12),ys(21," Envoyer"),Io(),Io(),Io(),Io(),Io(),Io(),Io()),2&e&&(ya(3),Oo("ngIf",t.loading),ya(2),Oo("formGroup",t.formGroup),ya(9),Oo("ngIf",!t.formGroup.controls.password.valid||t.formGroup.controls.password.touched),ya(4),Oo("ngIf",!t.formGroup.controls.password.valid||t.formGroup.controls.password.touched))},directives:[uA,kd,lA,cw,Ub,pw,OC,jC,Ib,Wb,Ew,Yw,Zy,pA,uC],styles:[".navtop[_ngcontent-%COMP%]{margin-top:9em;margin-bottom:3.8em}.marginButton[_ngcontent-%COMP%]{margin-bottom:0!important}"]}),wA);function xA(e,t){1&e&&Ro(0,"mat-progress-bar",12)}function MA(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorEmail()," ")}}var DA,SA,LA=((SA=function(){return _createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this.router=t,this.snackBar=n,this.dialog=i,this.authService=a,this.formBuilder=r,this.submitted=!1,this.loading=!1}),[{key:"ngOnInit",value:function(){this.createForm()}},{key:"createForm",value:function(){this.formGroup=this.formBuilder.group({email:[null,[Kb.required,Kb.pattern(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)]]})}},{key:"getErrorEmail",value:function(){return this.formGroup.get("email").hasError("required")?"Adresse email requise":this.formGroup.get("email").hasError("pattern")?"Adresse email non valide":""}},{key:"f",get:function(){return this.formGroup.controls}},{key:"lostPassword",value:function(){var e=this;this.submitted=!0,this.formGroup.invalid||(this.loading=!0,this.authService.lostPassword(this.formGroup.value).subscribe((function(t){console.log(JSON.stringify(t)),e.loading=!1,e.openDialog(t)}),(function(t){e.loading=!1,e.authService.openSnackBar(t.error.message)})))}},{key:"openDialog",value:function(e){var t=this;this.dialog.open(eA,{width:"38%",data:{response:e}}).afterClosed().subscribe((function(){t.router.navigate(["/login"])}))}}])}()).\u0275fac=function(e){return new(e||SA)(To(pT),To(RM),To(pb),To(XT),To(Fw))},SA.\u0275cmp=_t({type:SA,selectors:[["app-lost-password"]],decls:18,vars:3,consts:[[1,"container","navtop"],[1,"row","justify-content-center"],[1,"col-10","col-lg-7",2,"border-radius","30px"],["class","col-12","mode","indeterminate",4,"ngIf"],[3,"formGroup","ngSubmit"],[1,"row","justify-content-center","mt-2"],[1,"text-center"],[1,"col-10"],["matInput","","placeholder","Adresse email","formControlName","email","required",""],[4,"ngIf"],[1,"row","justify-content-center","my-3"],["mat-raised-button","","color","primary","type","submit",1,"col-8","col-md-4","color-theme"],["mode","indeterminate",1,"col-12"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"div",1),Po(2,"mat-card",2),So(3,xA,1,0,"mat-progress-bar",3),Po(4,"mat-card-content"),Po(5,"form",4),Bo("ngSubmit",(function(){return t.lostPassword()})),Po(6,"h1",5),Po(7,"b"),ys(8,"Mot de passe oubli\xe9 ?"),Io(),Io(),Po(9,"h3",6),ys(10,"Pas de probl\xe8me ! Renseignez votre adresse e-mail ci-dessous, nous vous enverrons un lien pour r\xe9initialiser votre mot de passe."),Io(),Po(11,"div",1),Po(12,"mat-form-field",7),Ro(13,"input",8),So(14,MA,2,1,"mat-error",9),Io(),Io(),Po(15,"div",10),Po(16,"button",11),ys(17," Envoyer"),Io(),Io(),Io(),Io(),Io(),Io(),Io()),2&e&&(ya(3),Oo("ngIf",t.loading),ya(2),Oo("formGroup",t.formGroup),ya(9),Oo("ngIf",!t.formGroup.controls.email.valid||t.formGroup.controls.email.touched))},directives:[uA,kd,lA,cw,Ub,pw,OC,jC,Ib,Wb,Ew,Yw,Zy,pA,uC],styles:[".navtop[_ngcontent-%COMP%]{margin-top:10em;margin-bottom:5.2em}.marginButton[_ngcontent-%COMP%]{margin-bottom:0!important}"]}),SA),TA=((DA=function(){return _createClass((function e(t){_classCallCheck(this,e),this.http=t,this.apiUrl=cc}),[{key:"sendMsgContact",value:function(e){return this.http.post(this.apiUrl+"/api/contact",e)}},{key:"getOpenMessage",value:function(){return this.http.get(this.apiUrl+"/api/contact/open")}},{key:"getColseMessage",value:function(){return this.http.get(this.apiUrl+"/api/contact/closed")}},{key:"closeContact",value:function(e){return this.http.patch(this.apiUrl+"/api/contact",e)}},{key:"responseContact",value:function(e,t){return this.http.post("".concat(this.apiUrl,"/api/contact/response?id=").concat(e),t)}}])}()).\u0275fac=function(e){return new(e||DA)(Qe(dD))},DA.\u0275prov=fe({token:DA,factory:DA.\u0275fac,providedIn:"root"}),DA);function AA(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorMessage()," ")}}var EA,OA,YA,PA,IA=((PA=function(){return _createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this.element=t,this.dialogRef=n,this.formBuilder=i,this.contactService=a,this.router=r,this.submitted=!1}),[{key:"ngOnInit",value:function(){this.createForm()}},{key:"createForm",value:function(){this.formGroup=this.formBuilder.group({text:[null,Kb.required]})}},{key:"sendResponse",value:function(){var e=this;this.submitted=!0,this.formGroup.invalid||(console.log(this.formGroup.value),this.contactService.responseContact(this.element._id,this.formGroup.value).subscribe((function(t){console.log(t),e.router.navigate(["/assistance"])}),(function(e){})))}},{key:"getErrorMessage",value:function(){return this.formGroup.get("text").hasError("required")?"Message requis":""}},{key:"onConfirm",value:function(){this.dialogRef.close(!0)}},{key:"onNoClick",value:function(){this.dialogRef.close(!1)}}])}()).\u0275fac=function(e){return new(e||PA)(To(db),To(cb),To(Fw),To(TA),To(pT))},PA.\u0275cmp=_t({type:PA,selectors:[["app-response-contact"]],decls:18,vars:3,consts:[["mat-dialog-title","",1,"text-center"],[1,""],[1,"font-weight-bold"],[3,"formGroup"],["mat-dialog-content","",1,""],[1,"row"],[1,"col-5","col-md-4","font-weight-bold","text-lg-right","parag"],["appearance","outline",1,"col-7","col-md-5"],["rows","7","matInput","","formControlName","text"],[4,"ngIf"],["mat-dialog-actions","",1,"row","justify-content-center","mt-2"],["mat-raised-button","","color","primary",1,"btn","mr-2",3,"click"],["mat-raised-button","","cdkFocusInitial","","color","primary",1,"btn","ml-2",3,"click"]],template:function(e,t){1&e&&(Po(0,"h3",0),Po(1,"span",1),ys(2,"R\xe9pondre \xe0 "),Io(),Po(3,"span",2),ys(4),Io(),Io(),Po(5,"form",3),Po(6,"div",4),Po(7,"div",5),Po(8,"p",6),ys(9,"Message :"),Io(),Po(10,"mat-form-field",7),Ro(11,"textarea",8),So(12,AA,2,1,"mat-error",9),Io(),Io(),Io(),Po(13,"div",10),Po(14,"button",11),Bo("click",(function(){return t.sendResponse()})),ys(15,"R\xe9pondre"),Io(),Po(16,"button",12),Bo("click",(function(){return t.onNoClick()})),ys(17,"Annuler"),Io(),Io(),Io()),2&e&&(ya(4),bs(t.element.email),ya(1),Oo("formGroup",t.formGroup),ya(7),Oo("ngIf",!t.formGroup.controls.text.valid||t.formGroup.controls.text.touched))},directives:[gb,cw,Ub,pw,yb,OC,jC,Ib,Wb,Ew,kd,bb,Zy,uC],styles:[""]}),PA),RA=0,FA=((YA=function(){return _createClass((function e(){_classCallCheck(this,e),this._stateChanges=new L,this._openCloseAllActions=new L,this.id="cdk-accordion-"+RA++,this._multi=!1}),[{key:"multi",get:function(){return this._multi},set:function(e){this._multi=Eh(e)}},{key:"openAll",value:function(){this._openCloseAll(!0)}},{key:"closeAll",value:function(){this._openCloseAll(!1)}},{key:"ngOnChanges",value:function(e){this._stateChanges.next(e)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_openCloseAll",value:function(e){this.multi&&this._openCloseAllActions.next(e)}}])}()).\u0275fac=function(e){return new(e||YA)},YA.\u0275dir=wt({type:YA,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[Os]}),YA),jA=0,HA=((OA=function(){return _createClass((function e(t,n,i){var a=this;_classCallCheck(this,e),this.accordion=t,this._changeDetectorRef=n,this._expansionDispatcher=i,this._openCloseAllSubscription=h.EMPTY,this.closed=new Wl,this.opened=new Wl,this.destroyed=new Wl,this.expandedChange=new Wl,this.id="cdk-accordion-child-"+jA++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=i.listen((function(e,t){a.accordion&&!a.accordion.multi&&a.accordion.id===t&&a.id!==e&&(a.expanded=!1)})),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}),[{key:"expanded",get:function(){return this._expanded},set:function(e){e=Eh(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Eh(e)}},{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var e=this;return this.accordion._openCloseAllActions.subscribe((function(t){e.disabled||(e.expanded=t)}))}}])}()).\u0275fac=function(e){return new(e||OA)(To(FA,12),To(Gr),To(rm))},OA.\u0275dir=wt({type:OA,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Vs([{provide:FA,useValue:void 0}])]}),OA),NA=((EA=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:EA}),EA.\u0275inj=me({factory:function(e){return new(e||EA)}}),EA),zA=["body"];function VA(e,t){}var BA=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],WA=["mat-expansion-panel-header","*","mat-action-row"],UA=function(e,t){return{collapsedHeight:e,expandedHeight:t}},qA=function(e,t){return{value:e,params:t}};function GA(e,t){1&e&&Ro(0,"span",2),2&e&&Oo("@indicatorRotate",Zo()._getExpandedState())}var ZA,JA,KA,QA,XA,$A,eE,tE=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],nE=["mat-panel-title","mat-panel-description","*"],iE=new Ve("MAT_ACCORDION"),aE={indicatorRotate:n_("indicatorRotate",[o_("collapsed, void",r_({transform:"rotate(0deg)"})),o_("expanded",r_({transform:"rotate(180deg)"})),s_("expanded <=> collapsed, void => collapsed",i_("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),expansionHeaderHeight:n_("expansionHeight",[o_("collapsed, void",r_({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),o_("expanded",r_({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),s_("expanded <=> collapsed, void => collapsed",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:e,options:t}}([u_("@indicatorRotate",l_(),{optional:!0}),i_("225ms cubic-bezier(0.4,0.0,0.2,1)")]))]),bodyExpansion:n_("bodyExpansion",[o_("collapsed, void",r_({height:"0px",visibility:"hidden"})),o_("expanded",r_({height:"*",visibility:"visible"})),s_("expanded <=> collapsed, void => collapsed",i_("225ms cubic-bezier(0.4,0.0,0.2,1)"))])},rE=((ZA=_createClass((function e(t){_classCallCheck(this,e),this._template=t}))).\u0275fac=function(e){return new(e||ZA)(To(_l))},ZA.\u0275dir=wt({type:ZA,selectors:[["ng-template","matExpansionPanelContent",""]]}),ZA),oE=0,sE=new Ve("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),lE=(($A=function(e){function t(e,n,i,a,r,o,s){var l;return _classCallCheck(this,t),(l=_callSuper(this,t,[e,n,i]))._viewContainerRef=a,l._animationMode=o,l._hideToggle=!1,l.afterExpand=new Wl,l.afterCollapse=new Wl,l._inputChanges=new L,l._headerId="mat-expansion-panel-header-"+oE++,l._bodyAnimationDone=new L,l.accordion=e,l._document=r,l._bodyAnimationDone.pipe(Tf((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){"void"!==e.fromState&&("expanded"===e.toState?l.afterExpand.emit():"collapsed"===e.toState&&l.afterCollapse.emit())})),s&&(l.hideToggle=s.hideToggle),l}return _inherits(t,e),_createClass(t,[{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(e){this._hideToggle=Eh(e)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(e){this._togglePosition=e}},{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var e=this;this._lazyContent&&this.opened.pipe(Vf(null),wh((function(){return e.expanded&&!e._portal})),Lh(1)).subscribe((function(){e._portal=new _m(e._lazyContent._template,e._viewContainerRef)}))}},{key:"ngOnChanges",value:function(e){this._inputChanges.next(e)}},{key:"ngOnDestroy",value:function(){_superPropGet(t,"ngOnDestroy",this,3)([]),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}])}(HA)).\u0275fac=function(e){return new(e||$A)(To(iE,12),To(Gr),To(rm),To(gl),To(mc),To(Sg,8),To(sE,8))},$A.\u0275cmp=_t({type:$A,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,n){var i;1&e&&ru(n,rE,!0),2&e&&tu(i=lu())&&(t._lazyContent=i.first)},viewQuery:function(e,t){var n;1&e&&iu(zA,!0),2&e&&tu(n=lu())&&(t._body=n.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&ls("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Vs([{provide:iE,useValue:void 0}]),Ds,Os],ngContentSelectors:WA,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(Ko(BA),Qo(0),Po(1,"div",0,1),Bo("@bodyExpansion.done",(function(e){return t._bodyAnimationDone.next(e)})),Po(3,"div",2),Qo(4,1),So(5,VA,0,0,"ng-template",3),Io(),Qo(6,2),Io()),2&e&&(ya(1),Oo("@bodyExpansion",t._getExpandedState())("id",t.id),Mo("aria-labelledby",t._headerId),ya(4),Oo("cdkPortalOutlet",t._portal))},directives:[bm],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[aE.bodyExpansion]},changeDetection:0}),$A),uE=((XA=function(){return _createClass((function e(t,n,i,a,r){var o=this;_classCallCheck(this,e),this.panel=t,this._element=n,this._focusMonitor=i,this._changeDetectorRef=a,this._parentChangeSubscription=h.EMPTY,this._animationsDisabled=!0;var s=t.accordion?t.accordion._stateChanges.pipe(wh((function(e){return!(!e.hideToggle&&!e.togglePosition)}))):Dh;this._parentChangeSubscription=J(t.opened,t.closed,s,t._inputChanges.pipe(wh((function(e){return!!(e.hideToggle||e.disabled||e.togglePosition)})))).subscribe((function(){return o._changeDetectorRef.markForCheck()})),t.closed.pipe(wh((function(){return t._containsFocus()}))).subscribe((function(){return i.focusVia(n,"program")})),i.monitor(n).subscribe((function(e){e&&t.accordion&&t.accordion._handleHeaderFocus(o)})),r&&(this.expandedHeight=r.expandedHeight,this.collapsedHeight=r.collapsedHeight)}),[{key:"_animationStarted",value:function(){this._animationsDisabled=!1}},{key:"disabled",get:function(){return this.panel.disabled}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_keydown",value:function(e){switch(e.keyCode){case 32:case 13:ch(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}},{key:"focus",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",t=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._element,e,t)}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}])}()).\u0275fac=function(e){return new(e||XA)(To(lE,1),To(qs),To(bf),To(Gr),To(sE,8))},XA.\u0275cmp=_t({type:XA,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:19,hostBindings:function(e,t){1&e&&(Wo("@expansionHeight.start",(function(){return t._animationStarted()})),Bo("click",(function(){return t._toggle()}))("keydown",(function(e){return t._keydown(e)}))),2&e&&(Mo("id",t.panel._headerId)("tabindex",t.disabled?-1:0)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),xs("@.disabled",t._animationsDisabled)("@expansionHeight",Fl(16,qA,t._getExpandedState(),Fl(13,UA,t.collapsedHeight,t.expandedHeight))),ls("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:nE,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(Ko(tE),Po(0,"span",0),Qo(1),Qo(2,1),Qo(3,2),Io(),So(4,GA,1,1,"span",1)),2&e&&(ya(4),Oo("ngIf",t._showToggle()))},directives:[kd],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;position:relative}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\n'],encapsulation:2,data:{animation:[aE.indicatorRotate,aE.expansionHeaderHeight]},changeDetection:0}),XA),cE=((QA=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||QA)},QA.\u0275dir=wt({type:QA,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),QA),dE=((KA=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||KA)},KA.\u0275dir=wt({type:KA,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),KA),hE=((JA=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments))._ownHeaders=new ql,e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return _inherits(t,e),_createClass(t,[{key:"hideToggle",get:function(){return this._hideToggle},set:function(e){this._hideToggle=Eh(e)}},{key:"ngAfterContentInit",value:function(){var e=this;this._headers.changes.pipe(Vf(this._headers)).subscribe((function(t){e._ownHeaders.reset(t.filter((function(t){return t.panel.accordion===e}))),e._ownHeaders.notifyOnChanges()})),this._keyManager=new ef(this._ownHeaders).withWrap()}},{key:"_handleHeaderKeydown",value:function(e){var t=e.keyCode,n=this._keyManager;36===t?ch(e)||(n.setFirstItemActive(),e.preventDefault()):35===t?ch(e)||(n.setLastItemActive(),e.preventDefault()):this._keyManager.onKeydown(e)}},{key:"_handleHeaderFocus",value:function(e){this._keyManager.updateActiveItem(e)}}])}(FA)).\u0275fac=function(e){return fE(e||JA)},JA.\u0275dir=wt({type:JA,selectors:[["mat-accordion"]],contentQueries:function(e,t,n){var i;1&e&&ru(n,uE,!0),2&e&&tu(i=lu())&&(t._headers=i)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&ls("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[Vs([{provide:iE,useExisting:JA}]),Ds]}),JA),fE=hi(hE),mE=((eE=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:eE}),eE.\u0275inj=me({factory:function(e){return new(e||eE)},imports:[[Vd,NA,km]]}),eE);function pE(e,t){if(1&e){var n=No();Po(0,"div",5),Po(1,"button",6),Bo("click",(function(){$t(n);var e=Zo().$implicit;return Zo().responseMessage(e)})),ys(2,"R\xe9pondre"),Io(),Po(3,"button",7),Bo("click",(function(){$t(n);var e=Zo().$implicit;return Zo().closeMessage(e)})),ys(4,"Supprimer"),Io(),Io()}}function _E(e,t){if(1&e){var n=No();Po(0,"div"),Po(1,"mat-accordion",1),Po(2,"mat-expansion-panel",2),Bo("opened",(function(){return $t(n),Zo().panelOpenState=!0}))("closed",(function(){return $t(n),Zo().panelOpenState=!1})),Po(3,"mat-expansion-panel-header"),Po(4,"mat-panel-title"),ys(5),Io(),Po(6,"mat-panel-description"),ys(7),Nl(8,"date"),Io(),Io(),Po(9,"p",3),ys(10),Io(),So(11,pE,5,0,"div",4),Io(),Io(),Io()}if(2&e){var i=t.$implicit;ya(5),ks(" ",i.email," "),ya(2),ks(" ",zl(8,4,i.created_date,"short")," "),ya(3),bs(i.message),ya(1),Oo("ngIf",!1===i.is_closed)}}var vE,gE,yE,bE,kE=((gE=function(){return _createClass((function e(){_classCallCheck(this,e),this.response=new Wl,this.close=new Wl,this.panelOpenState=!1}),[{key:"responseMessage",value:function(e){this.response.emit(e)}},{key:"closeMessage",value:function(e){this.close.emit(e)}},{key:"ngOnInit",value:function(){}}])}()).\u0275fac=function(e){return new(e||gE)},gE.\u0275cmp=_t({type:gE,selectors:[["app-assistance-list"]],inputs:{listOpenMessage:"listOpenMessage"},outputs:{response:"response",close:"close"},decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[1,""],[1,"mb-3",3,"opened","closed"],[1,"text-center","font-weight-bold"],["class","row justify-content-center mt-2",4,"ngIf"],[1,"row","justify-content-center","mt-2"],["mat-raised-button","","color","primary",1,"btn","mr-2",3,"click"],["mat-raised-button","","color","primary",1,"btn","ml-2",3,"click"]],template:function(e,t){1&e&&So(0,_E,12,7,"div",0),2&e&&Oo("ngForOf",t.listOpenMessage)},directives:[yd,hE,lE,uE,dE,cE,kd,Zy],pipes:[zd],styles:[".mat-form-field[_ngcontent-%COMP%] + .mat-form-field[_ngcontent-%COMP%]{margin-left:8px}"]}),gE),wE=((vE=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.contactService=t,this.dialog=n}),[{key:"ngOnInit",value:function(){this.subscribeToGetOpenMessage()}},{key:"subscribeToGetOpenMessage",value:function(){var e=this;this.contactService.getOpenMessage().subscribe((function(t){e.listOpenMessage=t,console.log(JSON.stringify(e.listOpenMessage))}))}},{key:"subscribeToGetCloseMessage",value:function(){var e=this;this.contactService.getColseMessage().subscribe((function(t){e.listOpenMessage=t,console.log(JSON.stringify(e.listOpenMessage))}))}},{key:"responseMessage",value:function(e){this.openResponseContact(e),console.log(e)}},{key:"closeMessage",value:function(e){this.openDialog(e),console.log(JSON.stringify(e))}},{key:"openResponseContact",value:function(e){this.dialog.open(IA,{width:"48%",data:e}).afterClosed().subscribe((function(){}))}},{key:"openDialog",value:function(e){this.dialog.open(eA,{width:"38%",data:{response:e}}).afterClosed().subscribe((function(){}))}}])}()).\u0275fac=function(e){return new(e||vE)(To(TA),To(pb))},vE.\u0275cmp=_t({type:vE,selectors:[["app-assistance"]],decls:7,vars:1,consts:[[1,"container","navtop","assistance"],["mat-dialog-actions","",1,"row","justify-content-center","my-2"],["mat-raised-button","","color","primary",1,"btn","mr-2",3,"click"],["mat-raised-button","","color","primary",1,"btn","ml-2",3,"click"],[3,"listOpenMessage","response","close"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"div",1),Po(2,"button",2),Bo("click",(function(){return t.subscribeToGetOpenMessage()})),ys(3,"Nouveaux Messages"),Io(),Po(4,"button",3),Bo("click",(function(){return t.subscribeToGetCloseMessage()})),ys(5,"Messages ferm\xe9s"),Io(),Io(),Po(6,"app-assistance-list",4),Bo("response",(function(e){return t.responseMessage(e)}))("close",(function(e){return t.closeMessage(e)})),Io(),Io()),2&e&&(ya(6),Oo("listOpenMessage",t.listOpenMessage))},directives:[bb,Zy,kE],styles:[".navtop[_ngcontent-%COMP%]{margin-top:14em;margin-bottom:4em;min-height:250px}"]}),vE),CE={provide:yu,useFactory:function(e,t){return function(){if(Bd(t)){var n=Array.from(e.querySelectorAll("[class*=".concat(xE,"]"))),i=/\bflex-layout-.+?\b/g;n.forEach((function(e){e.classList.contains(xE+"ssr")&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(i,"")}))}}},deps:[mc,gu],multi:!0},xE="flex-layout-",ME=((yE=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:yE}),yE.\u0275inj=me({factory:function(e){return new(e||yE)},providers:[CE]}),yE),DE=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;_classCallCheck(this,e),this.matches=t,this.mediaQuery=n,this.mqAlias=i,this.suffix=a,this.priority=r,this.property=""}return _createClass(e,[{key:"clone",value:function(){return new e(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}])}(),SE=((bE=function(){return _createClass((function e(){_classCallCheck(this,e),this.stylesheet=new Map}),[{key:"addStyleToElement",value:function(e,t,n){var i=this.stylesheet.get(e);i?i.set(t,n):this.stylesheet.set(e,new Map([[t,n]]))}},{key:"clearStyles",value:function(){this.stylesheet.clear()}},{key:"getStyleForElement",value:function(e,t){var n=this.stylesheet.get(e),i="";if(n){var a=n.get(t);"number"!=typeof a&&"string"!=typeof a||(i=a+"")}return i}}])}()).\u0275fac=function(e){return new(e||bE)},bE.\u0275prov=fe({factory:function(){return new bE},token:bE,providedIn:"root"}),bE),LE={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},TE=new Ve("Flex Layout token, config options for the library",{providedIn:"root",factory:function(){return LE}}),AE=new Ve("FlexLayoutServerLoaded",{providedIn:"root",factory:function(){return!1}}),EE=new Ve("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:function(){return null}});function OE(e,t){return e=e?e.clone():new DE,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}var YE=["row","column","row-reverse","column-reverse"];function PE(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var IE,RE=((IE=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this.elementRef=t,this.styleBuilder=n,this.styler=i,this.marshal=a,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new L,this.styleCache=new Map}),[{key:"parentElement",get:function(){return this.elementRef.nativeElement.parentElement}},{key:"nativeElement",get:function(){return this.elementRef.nativeElement}},{key:"activatedValue",get:function(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)},set:function(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}},{key:"ngOnChanges",value:function(e){var t=this;Object.keys(e).forEach((function(n){if(-1!==t.inputs.indexOf(n)){var i=n.split(".").slice(1).join(".");t.setValue(e[n].currentValue,i)}}))}},{key:"ngOnDestroy",value:function(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}},{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}},{key:"addStyles",value:function(e,t){var n=this.styleBuilder,i=n.shouldCache,a=this.styleCache.get(e);a&&i||(a=n.buildStyles(e,t),i&&this.styleCache.set(e,a)),this.mru=Object.assign({},a),this.applyStyleToElement(a),n.sideEffect(e,a,t)}},{key:"clearStyles",value:function(){var e=this;Object.keys(this.mru).forEach((function(t){e.mru[t]=""})),this.applyStyleToElement(this.mru),this.mru={}}},{key:"triggerUpdate",value:function(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}},{key:"getFlexFlowDirection",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var n=this.styler.getFlowDirection(e),i=_slicedToArray(n,2),a=i[0],r=i[1];if(!r&&t){var o=function(e){var t=function(e){var t=_slicedToArray((e=e?e.toLowerCase():"").split(" "),3),n=t[0],i=t[1],a=t[2];return YE.find((function(e){return e===n}))||(n=YE[0]),"inline"===i&&(i="inline"!==a?a:"",a="inline"),[n,PE(i),!!a]}(e),n=_slicedToArray(t,3);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(n[0],n[1],n[2])}(a);this.styler.applyStyleToElements(o,[e])}return a.trim()}return"row"}},{key:"hasWrap",value:function(e){return this.styler.hasWrap(e)}},{key:"applyStyleToElement",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.nativeElement;this.styler.applyStyleToElement(n,e,t)}},{key:"setValue",value:function(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}},{key:"updateWithValue",value:function(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}])}()).\u0275fac=function(e){Eo()},IE.\u0275dir=wt({type:IE,features:[Os]}),IE),FE=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.9px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.9px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.9px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.9px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.9px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.9px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.9px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.9px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.9px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],jE="(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)",HE="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)",NE="(orientation: portrait) and (min-width: 840px)",zE="(orientation: landscape) and (min-width: 1280px)",VE={HANDSET:"(orientation: portrait) and (max-width: 599.9px), (orientation: landscape) and (max-width: 959.9px)",TABLET:"".concat(jE," , ").concat(HE),WEB:"".concat(NE,", ").concat(zE," "),HANDSET_PORTRAIT:"(orientation: portrait) and (max-width: 599.9px)",TABLET_PORTRAIT:jE+" ",WEB_PORTRAIT:""+NE,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.9px)",TABLET_LANDSCAPE:""+HE,WEB_LANDSCAPE:""+zE},BE=[{alias:"handset",priority:2e3,mediaQuery:VE.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:VE.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:VE.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:VE.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:VE.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:VE.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:VE.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:VE.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:VE.WEB_PORTRAIT,overlapping:!0}],WE=/(\.|-|_)/g;function UE(e){var t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}var qE=new Ve("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:function(){var e=Xe(EE),t=Xe(TE),n=[].concat.apply([],(e||[]).map((function(e){return Array.isArray(e)?e:[e]})));return function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i={};return e.forEach((function(e){i[e.alias]=e})),n.forEach((function(e){i[e.alias]?function(e){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var a=0,r=n;a<r.length;a++){var o=r[a];if(null!=o)for(var s in o)o.hasOwnProperty(s)&&(e[s]=o[s])}}(i[e.alias],e):i[e.alias]=e})),(t=Object.keys(i).map((function(e){return i[e]}))).forEach((function(e){e.suffix||(e.suffix=e.alias.replace(WE,"|").split("|").map(UE).join(""),e.overlapping=!!e.overlapping)})),t}((t.disableDefaultBps?[]:FE).concat(t.addOrientationBps?BE:[]),n)}});function GE(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function ZE(e,t){return(e.priority||0)-(t.priority||0)}var JE,KE,QE,XE=((KE=function(){return _createClass((function e(t){_classCallCheck(this,e),this.findByMap=new Map,this.items=_toConsumableArray(t).sort(ZE)}),[{key:"findByAlias",value:function(e){return e?this.findWithPredicate(e,(function(t){return t.alias==e})):null}},{key:"findByQuery",value:function(e){return this.findWithPredicate(e,(function(t){return t.mediaQuery==e}))}},{key:"overlappings",get:function(){return this.items.filter((function(e){return 1==e.overlapping}))}},{key:"aliases",get:function(){return this.items.map((function(e){return e.alias}))}},{key:"suffixes",get:function(){return this.items.map((function(e){return e.suffix?e.suffix:""}))}},{key:"findWithPredicate",value:function(e,t){var n=this.findByMap.get(e);return n||(n=this.items.find(t)||null,this.findByMap.set(e,n)),n||null}}])}()).\u0275fac=function(e){return new(e||KE)(Qe(qE))},KE.\u0275prov=fe({factory:function(){return new KE(Qe(qE))},token:KE,providedIn:"root"}),KE),$E=((JE=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this._zone=t,this._platformId=n,this._document=i,this.source=new rM(new DE(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}),[{key:"activations",get:function(){var e=[];return this.registry.forEach((function(t,n){t.matches&&e.push(n)})),e}},{key:"isActive",value:function(e){var t=this.registry.get(e);return t?t.matches:this.registerQuery(e).some((function(e){return e.matches}))}},{key:"observe",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e&&e.length){var i=this._observable$.pipe(wh((function(t){return!n||e.indexOf(t.mediaQuery)>-1})));return J(new w((function(n){var i=t.registerQuery(e);if(i.length){var a=i.pop();i.forEach((function(e){n.next(e)})),t.source.next(a)}n.complete()})),i)}return this._observable$}},{key:"registerQuery",value:function(e){var t=this,n=Array.isArray(e)?e:[e],i=[];return function(e,t){var n=e.filter((function(e){return!eO[e]}));if(n.length>0){var i=n.join(", ");try{var a=t.createElement("style");a.setAttribute("type","text/css"),a.styleSheet||a.appendChild(t.createTextNode("\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ".concat(i," {.fx-query-test{ }}\n"))),t.head.appendChild(a),n.forEach((function(e){return eO[e]=a}))}catch(r){console.error(r)}}}(n,this._document),n.forEach((function(e){var n=function(n){t._zone.run((function(){return t.source.next(new DE(n.matches,e))}))},a=t.registry.get(e);a||((a=t.buildMQL(e)).addListener(n),t.pendingRemoveListenerFns.push((function(){return a.removeListener(n)})),t.registry.set(e,a)),a.matches&&i.push(new DE(!0,e))})),i}},{key:"ngOnDestroy",value:function(){for(var e;e=this.pendingRemoveListenerFns.pop();)e()}},{key:"buildMQL",value:function(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){},onchange:null,addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){return!1}}}(e,Bd(this._platformId))}}])}()).\u0275fac=function(e){return new(e||JE)(Qe(Pu),Qe(gu),Qe(mc))},JE.\u0275prov=fe({factory:function(){return new JE(Qe(Pu),Qe(gu),Qe(mc))},token:JE,providedIn:"root"}),JE),eO={},tO={alias:"print",mediaQuery:"print",priority:1e3},nO=((QE=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.breakpoints=t,this.layoutConfig=n,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new iO,this.deactivations=[]}),[{key:"withPrintQuery",value:function(e){return[].concat(_toConsumableArray(e),["print"])}},{key:"isPrintEvent",value:function(e){return e.mediaQuery.startsWith("print")}},{key:"printAlias",get:function(){return this.layoutConfig.printWithBreakpoints||[]}},{key:"printBreakPoints",get:function(){var e=this;return this.printAlias.map((function(t){return e.breakpoints.findByAlias(t)})).filter((function(e){return null!==e}))}},{key:"getEventBreakpoints",value:function(e){var t=e.mediaQuery,n=this.breakpoints.findByQuery(t);return(n?[].concat(_toConsumableArray(this.printBreakPoints),[n]):this.printBreakPoints).sort(GE)}},{key:"updateEvent",value:function(e){var t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),OE(e,t)}},{key:"registerBeforeAfterPrintHooks",value:function(e){var t=this;if(this._document.defaultView&&!this.registeredBeforeAfterPrintHooks){this.registeredBeforeAfterPrintHooks=!0;var n=function(){t.isPrinting||(t.isPrintingBeforeAfterEvent=!0,t.startPrinting(e,t.getEventBreakpoints(new DE(!0,"print"))),e.updateStyles())},i=function(){t.isPrintingBeforeAfterEvent=!1,t.isPrinting&&(t.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",n),this._document.defaultView.addEventListener("afterprint",i),this.beforePrintEventListeners.push(n),this.afterPrintEventListeners.push(i)}}},{key:"interceptEvents",value:function(e){var t=this;return this.registerBeforeAfterPrintHooks(e),function(n){t.isPrintEvent(n)?n.matches&&!t.isPrinting?(t.startPrinting(e,t.getEventBreakpoints(n)),e.updateStyles()):n.matches||!t.isPrinting||t.isPrintingBeforeAfterEvent||(t.stopPrinting(e),e.updateStyles()):t.collectActivations(n)}}},{key:"blockPropagation",value:function(){var e=this;return function(t){return!(e.isPrinting||e.isPrintEvent(t))}}},{key:"startPrinting",value:function(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}},{key:"stopPrinting",value:function(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}},{key:"collectActivations",value:function(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{var t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(GE))}}},{key:"ngOnDestroy",value:function(){var e=this;this.beforePrintEventListeners.forEach((function(t){return e._document.defaultView.removeEventListener("beforeprint",t)})),this.afterPrintEventListeners.forEach((function(t){return e._document.defaultView.removeEventListener("afterprint",t)}))}}])}()).\u0275fac=function(e){return new(e||QE)(Qe(XE),Qe(TE),Qe(mc))},QE.\u0275prov=fe({factory:function(){return new QE(Qe(XE),Qe(TE),Qe(mc))},token:QE,providedIn:"root"}),QE),iO=function(){return _createClass((function e(){_classCallCheck(this,e),this.printBreakpoints=[]}),[{key:"addPrintBreakpoints",value:function(e){var t=this;return e.push(tO),e.sort(GE),e.forEach((function(e){return t.addBreakpoint(e)})),this.printBreakpoints}},{key:"addBreakpoint",value:function(e){e&&void 0===this.printBreakpoints.find((function(t){return t.mediaQuery===e.mediaQuery}))&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith("print")}(e)?[e].concat(_toConsumableArray(this.printBreakpoints)):[].concat(_toConsumableArray(this.printBreakpoints),[e]))}},{key:"clear",value:function(){this.printBreakpoints=[]}}])}();function aO(e){for(var t in e){var n=e[t]||"";switch(t){case"display":e.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=n;break;case"flex-direction":n=n||"row",e["-webkit-flex-direction"]=n,e["flex-direction"]=n;break;case"order":e.order=e["-webkit-"+t]=isNaN(+n)?"0":n}}return e}var rO,oO,sO=((rO=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this._serverStylesheet=t,this._serverModuleLoaded=n,this._platformId=i,this.layoutConfig=a}),[{key:"applyStyleToElement",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i={};"string"==typeof t&&(i[t]=n,t=i),i=this.layoutConfig.disableVendorPrefixes?t:aO(t),this._applyMultiValueStyleToElement(i,e)}},{key:"applyStyleToElements",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=this.layoutConfig.disableVendorPrefixes?e:aO(e);n.forEach((function(e){t._applyMultiValueStyleToElement(i,e)}))}},{key:"getFlowDirection",value:function(e){var t=this.lookupStyle(e,"flex-direction");return[t||"row",this.lookupInlineStyle(e,"flex-direction")||Wd(this._platformId)&&this._serverModuleLoaded?t:""]}},{key:"hasWrap",value:function(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}},{key:"lookupAttributeValue",value:function(e,t){return e.getAttribute(t)||""}},{key:"lookupInlineStyle",value:function(e,t){return Bd(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}},{key:"lookupStyle",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i="";return e&&((i=this.lookupInlineStyle(e,t))||(Bd(this._platformId)?n||(i=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(i=this._serverStylesheet.getStyleForElement(e,t)))),i?i.trim():""}},{key:"_applyMultiValueStyleToElement",value:function(e,t){var n=this;Object.keys(e).sort().forEach((function(i){var a=e[i],r=Array.isArray(a)?a:[a];r.sort();var o,s=_createForOfIteratorHelper(r);try{for(s.s();!(o=s.n()).done;){var l=o.value;l=l?l+"":"",Bd(n._platformId)||!n._serverModuleLoaded?Bd(n._platformId)?t.style.setProperty(i,l):n._setServerStyle(t,i,l):n._serverStylesheet.addStyleToElement(t,i,l)}}catch(u){s.e(u)}finally{s.f()}}))}},{key:"_setServerStyle",value:function(e,t,n){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var i=this._readStyleAttribute(e);i[t]=n||"",this._writeStyleAttribute(e,i)}},{key:"_getServerStyle",value:function(e,t){return this._readStyleAttribute(e)[t]||""}},{key:"_readStyleAttribute",value:function(e){var t={},n=e.getAttribute("style");if(n)for(var i=n.split(/;+/g),a=0;a<i.length;a++){var r=i[a].trim();if(r.length>0){var o=r.indexOf(":");if(-1===o)throw new Error("Invalid CSS style: "+r);t[r.substr(0,o).trim()]=r.substr(o+1).trim()}}return t}},{key:"_writeStyleAttribute",value:function(e,t){var n="";for(var i in t)t[i]&&(n+=i+":"+t[i]+";");e.setAttribute("style",n)}}])}()).\u0275fac=function(e){return new(e||rO)(Qe(SE),Qe(AE),Qe(gu),Qe(TE))},rO.\u0275prov=fe({factory:function(){return new rO(Qe(SE),Qe(AE),Qe(gu),Qe(TE))},token:rO,providedIn:"root"}),rO),lO=function(){return _createClass((function e(){_classCallCheck(this,e),this.shouldCache=!0}),[{key:"sideEffect",value:function(e,t,n){}}])}(),uO=((oO=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.matchMedia=t,this.breakpoints=n,this.hook=i,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new L,this.observeActivations()}),[{key:"activatedAlias",get:function(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}},{key:"onMediaChange",value:function(e){var t=this.findByQuery(e.mediaQuery);t&&((e=OE(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(GE),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(GE),this.updateStyles()))}},{key:"init",value:function(e,t,n,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];cO(this.updateMap,e,t,n),cO(this.clearMap,e,t,i),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,a)}},{key:"getValue",value:function(e,t,n){var i=this.elementMap.get(e);if(i){var a=void 0!==n?i.get(n):this.getActivatedValues(i,t);if(a)return a.get(t)}}},{key:"hasValue",value:function(e,t){var n=this.elementMap.get(e);if(n){var i=this.getActivatedValues(n,t);if(i)return void 0!==i.get(t)||!1}return!1}},{key:"setValue",value:function(e,t,n,i){var a=this.elementMap.get(e);if(a){var r=(a.get(i)||new Map).set(t,n);a.set(i,r),this.elementMap.set(e,a)}else a=(new Map).set(i,(new Map).set(t,n)),this.elementMap.set(e,a);var o=this.getValue(e,t);void 0!==o&&this.updateElement(e,t,o)}},{key:"trackValue",value:function(e,t){return this.subject.asObservable().pipe(wh((function(n){return n.element===e&&n.key===t})))}},{key:"updateStyles",value:function(){var e=this;this.elementMap.forEach((function(t,n){var i=new Set(e.elementKeyMap.get(n)),a=e.getActivatedValues(t);a&&a.forEach((function(t,a){e.updateElement(n,a,t),i.delete(a)})),i.forEach((function(i){if(a=e.getActivatedValues(t,i)){var r=a.get(i);e.updateElement(n,i,r)}else e.clearElement(n,i)}))}))}},{key:"clearElement",value:function(e,t){var n=this.clearMap.get(e);if(n){var i=n.get(t);i&&(i(),this.subject.next({element:e,key:t,value:""}))}}},{key:"updateElement",value:function(e,t,n){var i=this.updateMap.get(e);if(i){var a=i.get(t);a&&(a(n),this.subject.next({element:e,key:t,value:n}))}}},{key:"releaseElement",value:function(e){var t=this.watcherMap.get(e);t&&(t.forEach((function(e){return e.unsubscribe()})),this.watcherMap.delete(e));var n=this.elementMap.get(e);n&&(n.forEach((function(e,t){return n.delete(t)})),this.elementMap.delete(e))}},{key:"triggerUpdate",value:function(e,t){var n=this,i=this.elementMap.get(e);if(i){var a=this.getActivatedValues(i,t);a&&(t?this.updateElement(e,t,a.get(t)):a.forEach((function(t,i){return n.updateElement(e,i,t)})))}}},{key:"buildElementKeyMap",value:function(e,t){var n=this.elementKeyMap.get(e);n||(n=new Set,this.elementKeyMap.set(e,n)),n.add(t)}},{key:"watchExtraTriggers",value:function(e,t,n){var i=this;if(n&&n.length){var a=this.watcherMap.get(e);if(a||(a=new Map,this.watcherMap.set(e,a)),!a.get(t)){var r=J.apply(void 0,_toConsumableArray(n)).subscribe((function(){var n=i.getValue(e,t);i.updateElement(e,t,n)}));a.set(t,r)}}}},{key:"findByQuery",value:function(e){return this.breakpoints.findByQuery(e)}},{key:"getActivatedValues",value:function(e,t){for(var n=0;n<this.activatedBreakpoints.length;n++){var i=e.get(this.activatedBreakpoints[n].alias);if(i&&(void 0===t||i.has(t)&&null!=i.get(t)))return i}var a=e.get("");return void 0===t||a&&a.has(t)?a:void 0}},{key:"observeActivations",value:function(){var e=this.breakpoints.items.map((function(e){return e.mediaQuery}));this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(hh(this.hook.interceptEvents(this)),wh(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}])}()).\u0275fac=function(e){return new(e||oO)(Qe($E),Qe(XE),Qe(nO))},oO.\u0275prov=fe({factory:function(){return new oO(Qe($E),Qe(XE),Qe(nO))},token:oO,providedIn:"root"}),oO);function cO(e,t,n,i){if(void 0!==i){var a=e.get(t);a||(a=new Map,e.set(t,a)),a.set(n,i)}}var dO=["row","column","row-reverse","column-reverse"];function hO(e){var t=_slicedToArray((e=e?e.toLowerCase():"").split(" "),3),n=t[0],i=t[1],a=t[2];return dO.find((function(e){return e===n}))||(n=dO[0]),"inline"===i&&(i="inline"!==a?a:"",a="inline"),[n,mO(i),!!a]}function fO(e){return _slicedToArray(hO(e),1)[0].indexOf("row")>-1}function mO(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var pO,_O,vO,gO,yO,bO,kO,wO,CO,xO,MO,DO,SO,LO,TO,AO,EO,OO=((pO=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"buildStyles",value:function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}((t=_slicedToArray(hO(e),3))[0],t[1],t[2]);var t}}])}(lO)).\u0275fac=function(e){return YO(e||pO)},pO.\u0275prov=fe({factory:function(){return new pO},token:pO,providedIn:"root"}),pO),YO=hi(OO),PO=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],IO=((vO=function(e){function t(e,n,i,a){var r;return _classCallCheck(this,t),(r=_callSuper(this,t,[e,i,n,a])).DIRECTIVE_KEY="layout",r.styleCache=jO,r.init(),r}return _inherits(t,e),_createClass(t)}(RE)).\u0275fac=function(e){return new(e||vO)(To(qs),To(sO),To(OO),To(uO))},vO.\u0275dir=wt({type:vO,features:[Ds]}),vO),RO=((_O=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).inputs=PO,e}return _inherits(t,e),_createClass(t)}(IO)).\u0275fac=function(e){return FO(e||_O)},_O.\u0275dir=wt({type:_O,selectors:[["","fxLayout",""],["","fxLayout.xs",""],["","fxLayout.sm",""],["","fxLayout.md",""],["","fxLayout.lg",""],["","fxLayout.xl",""],["","fxLayout.lt-sm",""],["","fxLayout.lt-md",""],["","fxLayout.lt-lg",""],["","fxLayout.lt-xl",""],["","fxLayout.gt-xs",""],["","fxLayout.gt-sm",""],["","fxLayout.gt-md",""],["","fxLayout.gt-lg",""]],inputs:{fxLayout:"fxLayout","fxLayout.xs":"fxLayout.xs","fxLayout.sm":"fxLayout.sm","fxLayout.md":"fxLayout.md","fxLayout.lg":"fxLayout.lg","fxLayout.xl":"fxLayout.xl","fxLayout.lt-sm":"fxLayout.lt-sm","fxLayout.lt-md":"fxLayout.lt-md","fxLayout.lt-lg":"fxLayout.lt-lg","fxLayout.lt-xl":"fxLayout.lt-xl","fxLayout.gt-xs":"fxLayout.gt-xs","fxLayout.gt-sm":"fxLayout.gt-sm","fxLayout.gt-md":"fxLayout.gt-md","fxLayout.gt-lg":"fxLayout.gt-lg"},features:[Ds]}),_O),FO=hi(RO),jO=new Map,HO={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"},NO=((gO=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"buildStyles",value:function(e){return HO}}])}(lO)).\u0275fac=function(e){return zO(e||gO)},gO.\u0275prov=fe({factory:function(){return new gO},token:gO,providedIn:"root"}),gO),zO=hi(NO),VO=((yO=function(e){function t(e,n,i,a){var r;return _classCallCheck(this,t),(r=_callSuper(this,t,[e,i,n,a])).styleCache=BO,r.addStyles(""),r}return _inherits(t,e),_createClass(t)}(RE)).\u0275fac=function(e){return new(e||yO)(To(qs),To(sO),To(NO),To(uO))},yO.\u0275dir=wt({type:yO,selectors:[["","fxFill",""],["","fxFlexFill",""]],features:[Ds]}),yO),BO=new Map,WO=((bO=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"buildStyles",value:function(e,t){var n={},i=_slicedToArray(e.split(" "),2),a=i[0],r=i[1];switch(a){case"center":n["justify-content"]="center";break;case"space-around":n["justify-content"]="space-around";break;case"space-between":n["justify-content"]="space-between";break;case"space-evenly":n["justify-content"]="space-evenly";break;case"end":case"flex-end":n["justify-content"]="flex-end";break;case"start":case"flex-start":default:n["justify-content"]="flex-start"}switch(r){case"start":case"flex-start":n["align-items"]=n["align-content"]="flex-start";break;case"center":n["align-items"]=n["align-content"]="center";break;case"end":case"flex-end":n["align-items"]=n["align-content"]="flex-end";break;case"space-between":n["align-content"]="space-between",n["align-items"]="stretch";break;case"space-around":n["align-content"]="space-around",n["align-items"]="stretch";break;case"baseline":n["align-content"]="stretch",n["align-items"]="baseline";break;case"stretch":default:n["align-items"]=n["align-content"]="stretch"}return function(e){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var a=0,r=n;a<r.length;a++){var o=r[a];if(null!=o)for(var s in o)o.hasOwnProperty(s)&&(e[s]=o[s])}return e}(n,{display:t.inline?"inline-flex":"flex","flex-direction":t.layout,"box-sizing":"border-box","max-width":"stretch"===r?fO(t.layout)?null:"100%":null,"max-height":"stretch"===r&&fO(t.layout)?"100%":null})}}])}(lO)).\u0275fac=function(e){return UO(e||bO)},bO.\u0275prov=fe({factory:function(){return new bO},token:bO,providedIn:"root"}),bO),UO=hi(WO),qO=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"],GO=((wO=function(e){function t(e,n,i,a){var r;return _classCallCheck(this,t),(r=_callSuper(this,t,[e,i,n,a])).DIRECTIVE_KEY="layout-align",r.layout="row",r.inline=!1,r.init(),r.marshal.trackValue(r.nativeElement,"layout").pipe(Ff(r.destroySubject)).subscribe(r.onLayoutChange.bind(_assertThisInitialized(r))),r}return _inherits(t,e),_createClass(t,[{key:"updateWithValue",value:function(e){var t=this.layout||"row",n=this.inline;"row"===t&&n?this.styleCache=eY:"row"!==t||n?"row-reverse"===t&&n?this.styleCache=nY:"row-reverse"!==t||n?"column"===t&&n?this.styleCache=tY:"column"!==t||n?"column-reverse"===t&&n?this.styleCache=iY:"column-reverse"!==t||n||(this.styleCache=$O):this.styleCache=QO:this.styleCache=XO:this.styleCache=KO,this.addStyles(e,{layout:t,inline:n})}},{key:"onLayoutChange",value:function(e){var t=this,n=e.value.split(" ");this.layout=n[0],this.inline=e.value.includes("inline"),dO.find((function(e){return e===t.layout}))||(this.layout="row"),this.triggerUpdate()}}])}(RE)).\u0275fac=function(e){return new(e||wO)(To(qs),To(sO),To(WO),To(uO))},wO.\u0275dir=wt({type:wO,features:[Ds]}),wO),ZO=((kO=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).inputs=qO,e}return _inherits(t,e),_createClass(t)}(GO)).\u0275fac=function(e){return JO(e||kO)},kO.\u0275dir=wt({type:kO,selectors:[["","fxLayoutAlign",""],["","fxLayoutAlign.xs",""],["","fxLayoutAlign.sm",""],["","fxLayoutAlign.md",""],["","fxLayoutAlign.lg",""],["","fxLayoutAlign.xl",""],["","fxLayoutAlign.lt-sm",""],["","fxLayoutAlign.lt-md",""],["","fxLayoutAlign.lt-lg",""],["","fxLayoutAlign.lt-xl",""],["","fxLayoutAlign.gt-xs",""],["","fxLayoutAlign.gt-sm",""],["","fxLayoutAlign.gt-md",""],["","fxLayoutAlign.gt-lg",""]],inputs:{fxLayoutAlign:"fxLayoutAlign","fxLayoutAlign.xs":"fxLayoutAlign.xs","fxLayoutAlign.sm":"fxLayoutAlign.sm","fxLayoutAlign.md":"fxLayoutAlign.md","fxLayoutAlign.lg":"fxLayoutAlign.lg","fxLayoutAlign.xl":"fxLayoutAlign.xl","fxLayoutAlign.lt-sm":"fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md":"fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg":"fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl":"fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs":"fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm":"fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md":"fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg":"fxLayoutAlign.gt-lg"},features:[Ds]}),kO),JO=hi(ZO),KO=new Map,QO=new Map,XO=new Map,$O=new Map,eY=new Map,tY=new Map,nY=new Map,iY=new Map,aY=((SO=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:SO}),SO.\u0275inj=me({factory:function(e){return new(e||SO)},imports:[[ME,Kf]]}),SO),rY=((DO=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"ngOnInit",value:function(){}}])}()).\u0275fac=function(e){return new(e||DO)},DO.\u0275cmp=_t({type:DO,selectors:[["app-politique-confidentialite"]],decls:138,vars:0,consts:[["fxLayout","column","fxLayoutAlign","center stretch"],["href","https://fatboar.fr/account"]],template:function(e,t){1&e&&(Po(0,"mat-card",0),Po(1,"mat-card-content"),Po(2,"p"),ys(3,"Fatboar recueille des informations vous concernant lorsque vous utilisez nos applications mobiles, sites Web et d'autres produits et services (collectivement, les \xabServices\xbb) ainsi que par le biais de toutes les interactions et communications que vous avez avec nous en ligne."),Io(),Po(4,"p"),ys(5,"Les services sont fournis par Fatboar qui veille \xe0 ce que votre vie priv\xe9e soit prot\xe9g\xe9e. Si nous vous demandons de fournir certaines informations par lesquelles vous pouvez \xeatre identifi\xe9 lors de l'utilisation de ce site, vous pouvez \xeatre assur\xe9 qu'elles seront utilis\xe9es conform\xe9ment \xe0 la pr\xe9sente d\xe9claration de confidentialit\xe9."),Io(),Po(6,"p"),ys(7,"Fatboar peut changer cette politique de temps \xe0 autre en mettant \xe0 jour cette page. Vous devriez consulter cette page de temps en temps pour vous assurer que vous \xeates satisfait des changements. Cette politique est en vigueur au 1er mars 2021."),Io(),Po(8,"p"),Po(9,"strong"),ys(10,"Champ d'application "),Io(),Io(),Po(11,"p"),ys(12,"Cette d\xe9claration de confidentialit\xe9 (\xabD\xe9claration\xbb) s'applique aux personnes localis\xe9es partout dans le monde et qui utilisent nos applications (\xabutilisateurs\xbb)."),Io(),Po(13,"p"),Po(14,"strong"),ys(15,"Collecte et utilisation des informations"),Io(),Io(),Po(16,"p"),ys(17,"Nous traitons vos informations en toute conformit\xe9 avec la l\xe9gislation europ\xe9enne en vertu des principes suivants :"),Io(),Po(18,"ul"),Po(19,"li"),ys(20,"Il peut \xeatre n\xe9cessaire de traiter vos informations pour vous fournir nos Services, conform\xe9ment \xe0 nos Conditions G\xe9n\xe9rales d\u2019Utilisation. Ce traitement est n\xe9cessaire \xe0 l'ex\xe9cution du contrat conclu entre vous et nous. En effet, nos Conditions G\xe9n\xe9rales d'Utilisation stipulent clairement que le traitement de vos informations dans le but de personnaliser votre contenu et les publicit\xe9s est un aspect n\xe9cessaire des Services que nous fournissons."),Io(),Po(21,"li"),ys(22,"Vous devez nous donner votre consentement afin de traiter vos donn\xe9es, et votre consentement peut \xeatre retir\xe9 \xe0 tout moment"),Io(),Po(23,"li"),ys(24,"dans certaines conditions d\u2019obligations l\xe9gales, de d\xe9cision de justice ou de sauvegarde d\u2019int\xe9r\xeats vitaux, nous pouvons \xeatre oblig\xe9s de traiter vos informations."),Io(),Io(),Po(25,"p"),Po(26,"u"),ys(27,"Informations que vous nous fournissez"),Io(),ys(28,": Nous recueillons les informations que vous nous fournissez directement, par exemple lorsque vous cr\xe9ez ou modifiez votre compte."),Io(),Po(29,"p"),ys(30,"Ces informations peuvent inclure: nom, email, num\xe9ro de t\xe9l\xe9phone, adresse postale, photo de profil et d'autres informations que vous choisissez de fournir. Ces informations nous permettent de vous contacter pour vous transmettre vos gains."),Io(),Po(31,"p"),Po(32,"u"),ys(33,"Communications par courrier \xe9lectronique "),Io(),ys(34,": nous vous envoyons des emails afin de v\xe9rifier la validit\xe9 de votre compte lorsque vous nous fournissez votre email lors du processus d\u2019inscription, lorsque vous gagnez un lot, et nous pouvons \xe9galement vous envoyer de temps \xe0 autres des communications sur les nouveaut\xe9s des Services. Les emails n\xe9cessaires au bon fonctionnement des Services ne peuvent \xeatre d\xe9sactiv\xe9s, en revanche les emails d\u2019informations sur les services peuvent \xeatre d\xe9valid\xe9s en enlevant votre autorisation \xe0 tout instant."),Io(),Po(35,"p"),ys(36,"Nous pouvons \xe9galement si vous nous en avez donn\xe9 l\u2019autorisation vous envoyer des messages promotionnels de partenaires.."),Io(),Po(37,"p"),Po(38,"u"),ys(39,"Informations que vous partagez"),Io(),ys(40," : toute information que vous partagez avec d'autres personnes sont consid\xe9r\xe9es comme du public, et \xe0 votre propre discr\xe9tion."),Io(),Po(41,"p"),ys(42,"Caract\xe9ristiques du partage social :"),Io(),Po(43,"p"),ys(44,"Nos services peuvent int\xe9grer des fonctionnalit\xe9s de partage social et d'autres outils connexes qui vous permettent de partager les actions que vous effectuez sur nos services avec d'autres applications, sites ou m\xe9dias, et vice versa."),Io(),Po(45,"p"),ys(46,"Votre utilisation de ces fonctionnalit\xe9s permet le partage des informations avec vos amis ou le public, en fonction des param\xe8tres que vous avez \xe9tablis avec le service de partage social."),Io(),Po(47,"p"),ys(48,"Vous pouvez vous r\xe9f\xe9rer aux politiques de confidentialit\xe9 de ces services de partage social pour plus d'informations sur la fa\xe7on dont ils traitent les donn\xe9es que vous fournissez ou partager."),Io(),Po(49,"p"),ys(50,"Informations Obtenue par vos comptes de Services Tiers : vous pouvez nous transmettre des informations au travers de services tiers, comme par exemple Facebook Connect, afin de faciliter votre cr\xe9ation de compte sur nos Services. Cela nous permet de compl\xe9ter plus rapidement les donn\xe9es de votre profil. Nous ne recevons jamais vos mots de passes de Services Tiers et n\u2019interagissons avec eux que gr\xe2ce \xe0 un identifiant ou Token valide pour une dur\xe9e limit\xe9e."),Io(),Po(51,"p"),ys(52,"Informations que nous obtenons de services tiers : nous pouvons \xeatre amen\xe9s \xe0 obtenir de services tiers de informations n\xe9cessaires au bon fonctionnement des\xa0 Services, comme par exemple le pays de provenance en fonction de l\u2019adresse IP afin de limiter l\u2019acc\xe8s aux Services aux seuls pays autoris\xe9s."),Io(),Po(53,"p"),ys(54,"Informations relatives \xe0 l'utilisation des Services "),Po(55,"strong"),ys(56,":"),Io(),ys(57," Nous collectons des informations relatives \xe0 la fa\xe7on dont les personnes utilisent les Services. Ce type d'informations peut \xeatre collect\xe9 dans nos fichiers de journaux chaque fois que vous interagissez avec les Services, par exemple lorsque vous visitez une page ou naviguez dans une application. Nous utilisons des outils internes ainsi que des applications et services tiers (comme Google Analytics ...) pour collecter et analyser ces informations. Certaines de ces informations peuvent \xe9galement \xeatre associ\xe9es \xe0 l'adresse Internet Protocol (\xab Adresse IP \xbb) utilis\xe9e pour acc\xe9der aux Services. Certaines peuvent \xeatre associ\xe9es \xe0 votre Compte et d'autres ne peuvent \xeatre collect\xe9es et utilis\xe9es que sous forme agr\xe9g\xe9e (\xe0 savoir en tant que donn\xe9e statistique qui ne permettrait pas de vous identifier ou d'identifier votre Compte). Nous pouvons utiliser les informations sur la fa\xe7on dont vous ou d'autres personnes interagissez avec les Services pour diff\xe9rentes raisons et g\xe9n\xe9ralement pour optimiser, am\xe9liorer et prot\xe9ger les Services, ainsi que pour d\xe9velopper de nouveaux Services, y compris, sans s'y limiter, dans le but de : fournir des contenus personnalis\xe9s aux utilisateurs ; proposer aux utilisateurs des publicit\xe9s cibl\xe9es; am\xe9liorer nos r\xe9sultats de recherche ; identifier les Services les plus populaires\xa0 ; ainsi que pour des motifs juridiques et de s\xe9curit\xe9."),Io(),Po(58,"p"),ys(59,"Informations relatives \xe0 votre appareil mobile : nous pouvons collecter et stocker des informations relatives \xe0 votre appareil mobile. Dans certains cas, nous pouvons recevoir, g\xe9n\xe9rer ou attribuer \xe0 votre appareil mobile un identifiant unique, obtenir les caract\xe9ristiques techniques de votre t\xe9l\xe9phone comme la r\xe9solution d\u2019\xe9cran et le mod\xe8le, ou encore dans certain cas la liste des applications install\xe9es. Ces informations sont utilis\xe9es aux fins d\xe9crites dans la section \u201cInformations relatives \xe0 l'utilisation des Services\u201d ou \u201cInformations relatives au ciblage publicitaire\u201d."),Io(),Po(60,"p"),ys(61,"Informations relatives au ciblage publicitaire : nous pouvons utiliser les informations comme des identifiants publicitaires, votre sexe, vos applications favorites afin de nous permettre de vous proposer les offres publicitaires et promotionnelles les plus adapt\xe9es \xe0 votre profil. Le ciblage publicitaire est important pour nous permettre d\u2019obtenir le financement n\xe9cessaire au bon fonctionnement des Services et de conserver leur gratuit\xe9."),Io(),Po(62,"p"),Po(63,"strong"),ys(64,"Liens vers d'autres sites "),Io(),Io(),Po(65,"p"),ys(66,"Notre site peut contenir des liens vers d'autres sites . Cependant, une fois que vous avez utilis\xe9 ces liens, notez que nous ne disposons pas de contr\xf4le sur cet autre site. Par cons\xe9quent, nous ne pouvons pas \xeatre responsables de la protection et la confidentialit\xe9 des informations que vous fournissez tout en visitant ces sites et ces sites ne sont pas r\xe9gis par la pr\xe9sente d\xe9claration de confidentialit\xe9."),Io(),Po(67,"p"),ys(68,"Vous devez faire preuve de prudence et regarder la d\xe9claration applicable au site en question."),Io(),Po(69,"p"),Po(70,"strong"),ys(71,"Utilisation des cookies "),Io(),Io(),Po(72,"p"),ys(73,"Un cookie est un petit fichier qui demande la permission d'\xeatre plac\xe9 sur le disque dur de votre ordinateur. Une fois que vous \xeates d'accord, le fichier est ajout\xe9 et le cookie permet d'analyser le trafic web ou vous permet de savoir quand vous visitez un site particulier."),Io(),Po(74,"p"),ys(75,"Les cookies permettent aux applications web de vous r\xe9pondre en tant qu'individu. Nous utilisons des cookies de trafic pour identifier les pages qui sont utilis\xe9es. Cela nous aide \xe0 analyser des donn\xe9es sur le trafic Web et ainsi \xe0 am\xe9liorer notre site afin de l'adapter aux besoins des clients."),Io(),Po(76,"p"),ys(77,"Nous utilisons ces informations \xe0 des fins d'analyse statistique puis les donn\xe9es sont supprim\xe9es du syst\xe8me."),Io(),Po(78,"p"),ys(79,"Globalement, les cookies nous aident \xe0 vous fournir un meilleur application/site web, en nous permettant de suivre les pages que vous utilisez."),Io(),Po(80,"p"),Po(81,"strong"),ys(82,"\xa0"),Io(),Io(),Po(83,"p"),Po(84,"strong"),ys(85,"S\xe9curit\xe9 et conservation de vos informations"),Io(),Io(),Po(86,"p"),ys(87,"Nous prenons la s\xe9curit\xe9 des donn\xe9es qui nous sont confi\xe9es tr\xe8s au s\xe9rieux."),Io(),Po(88,"p"),ys(89,"Afin d'emp\xeacher l'acc\xe8s non autoris\xe9 ou la divulgation d\u2019informations, nous avons mis en place des proc\xe9dures physiques, \xe9lectroniques et de gestion appropri\xe9es pour sauvegarder et s\xe9curiser les informations que nous recueillons en ligne.Vos donn\xe9es personnelles sont conserv\xe9es sur des serveurs s\xe9curis\xe9s en Europe, et ne sont accessible qu\u2019\xe0 un personnel autoris\xe9 disposant des acc\xe8s n\xe9cessaires."),Ro(90,"br"),ys(91," Nous les conservons pour la dur\xe9e strictement n\xe9cessaire pour vous fournir les Services."),Ro(92,"br"),ys(93," Si vous ne souhaitez plus que nous utilisions vos Informations pour vous fournir les Services, vous pouvez \xe0 tout instant cl\xf4turer votre compte et nous d\xe9truirons toutes les informations dont nous disposons \xe0 votre sujet, \xe0 moins que nous ne devions les conserver pour r\xe9pondre \xe0 des obligations l\xe9gales."),Io(),Po(94,"p"),Po(95,"strong"),ys(96,"Droits et moyens de contr\xf4le en mati\xe8re de confidentialit\xe9 au sein de l'Union europ\xe9enne"),Io(),Io(),Po(97,"p"),ys(98,"Modifications de vos consentements"),Po(99,"strong"),ys(100,"."),Io(),ys(101," Vous \xeates en droit de retirer \xe0 tout moment votre consentement au traitement de vos informations et de votre utilisation de nos Services. De la m\xeame fa\xe7on que vous pouvez donner votre consentement en interagissant avec nos Services, vous pouvez \xe9galement le retirer par l'interm\xe9diaire de nos Services en vous connectant \xe0 la page d\xe9di\xe9e (disponible prochainement)."),Ro(102,"br"),ys(103," Si vous retirez votre consentement pour l'utilisation ou le partage de vos informations pour les finalit\xe9s \xe9nonc\xe9es dans la pr\xe9sente Politique relative \xe0 la vie priv\xe9e, il se peut que vous n'ayez pas acc\xe8s \xe0 tout ou partie de nos Services et que nous ne soyons pas en mesure de vous fournir tout ou partie des Services en vertu de la pr\xe9sente Politique relative \xe0 la vie priv\xe9e et de nos Conditions G\xe9n\xe9rales d'Utilisation. Dans certains cas, nous pouvons continuer \xe0 traiter vos informations apr\xe8s le retrait de votre consentement si cela repose sur un fondement juridique nous permettant de le faire ou si le retrait de votre consentement se limite \xe0 certains traitements. Par exemple, nous pouvons conserver des informations si nous sommes dans l'obligation l\xe9gale de le faire."),Io(),Po(104,"p"),ys(105,"Suppression de votre compte : si vous souhaitez supprimer votre Compte, vous pouvez le faire en acc\xe9dant \xe0 la "),Po(106,"a",1),ys(107,"page de suppression de compte"),Io(),ys(108,". Vos donn\xe9es personnelles seront supprim\xe9es sous 15 jours maximum."),Io(),Po(109,"p"),Po(110,"strong"),ys(111,"Information sur votre compte"),Io(),Io(),Po(112,"p"),ys(113,"- Contr\xf4le de vos informations personnelles."),Io(),Po(114,"p"),ys(115,"Vous pouvez corriger les informations de votre compte \xe0 tout moment en vous connectant sur notre application ou site. Notez que dans certains cas, nous pouvons conserver certaines informations vous concernant conform\xe9ment \xe0 la loi, ou \xe0 des fins l\xe9gitimes dans la mesure permise par la loi. Par exemple, si nous croyons que vous avez commis une fraude ou violation de nos conditions, nous pouvons chercher \xe0 r\xe9soudre le probl\xe8me avant de supprimer vos informations."),Io(),Po(116,"p"),ys(117,"- Droits d'acc\xe8s."),Io(),Po(118,"p"),Po(119,"strong"),ys(120,"Protection des enfants "),Io(),Io(),Po(121,"p"),ys(122,"Prot\xe9ger la vie priv\xe9e des jeunes enfants est extr\xeamement important. Ainsi Bravoloto ne collecte ni ne sollicite des renseignements personnels des enfants de moins de 13 ans ou sciemment leur permettre d'enregistrer en tant que joueurs."),Io(),Po(123,"p"),ys(124,"Dans le cas o\xf9 nous avons recueilli des renseignements personnels d'un enfant de moins de 13 ans sans v\xe9rification du consentement des parents, nous supprimerons ces informations aussi vite que possible."),Io(),Po(125,"p"),Po(126,"strong"),ys(127,"Modifications des conditions g\xe9n\xe9rales "),Io(),Io(),Po(128,"p"),ys(129,"Nous pouvons modifier la pr\xe9sente D\xe9claration de temps \xe0 autre. Si nous faisons des changements significatifs dans la fa\xe7on dont nous traitons vos renseignements personnels ou \xe0 la d\xe9claration, nous vous le ferons savoir via un message sur l'application ou par d'autres moyens, tels que par courrier \xe9lectronique. Votre utilisation de bravoloto apr\xe8s un tel avis constitue votre consentement aux changements."),Io(),Po(130,"p"),ys(131,"Nous vous encourageons \xe0 consulter r\xe9guli\xe8rement les informations concernant nos pratiques en mati\xe8re de confidentialit\xe9."),Io(),Po(132,"p"),Po(133,"strong"),ys(134,"Nous contacter"),Io(),Io(),Po(135,"p"),ys(136,"Si vous avez des questions au sujet de cette d\xe9claration de confidentialit\xe9, vous pouvez nous contacter \xe0 contact@fatboar.fr"),Io(),Ro(137,"br"),Io(),Io())},directives:[uA,RO,ZO,lA],styles:[".navtop[_ngcontent-%COMP%]{margin-top:7em;margin-bottom:3em}"]}),DO),oY=((MO=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"ngOnInit",value:function(){}}])}()).\u0275fac=function(e){return new(e||MO)},MO.\u0275cmp=_t({type:MO,selectors:[["app-mentions-legales"]],decls:96,vars:0,consts:[["fxLayout","column","fxLayoutAlign","center stretch"],["mat-button","","rel","noopener noreferrer","href","https://www.cnil.fr/","target","_blank","color","primary"],[1,"title","my-h1"],[1,"title","my-h2"],["href","https://www.cnil.fr/fr/cookies-traceurs-que-dit-la-loi"],["href","https://www.cnil.fr/fr/cookies-les-outils-pour-les-maitriser "]],template:function(e,t){1&e&&(Po(0,"mat-card",0),Po(1,"mat-card-content"),Po(2,"p"),ys(3," La soci\xe9t\xe9 Fatboar, soucieuse des droits des individus, notamment au regard des traitements automatis\xe9s, et dans une volont\xe9 de transparence avec ses clients, a mis en place une politique reprenant l\u2019ensemble de ces traitements, des finalit\xe9s poursuivies par ces derniers ainsi que des moyens d\u2019actions \xe0 la disposition des individus afin qu\u2019ils puissent au mieux exercer leurs droits. Pour toute information compl\xe9mentaire sur la protection des donn\xe9es personnelles, nous vous invitons \xe0 consulter le site :"),Ro(4,"br"),Io(),Po(5,"ul"),Po(6,"li"),Po(7,"a",1),ys(8,"Cnil"),Io(),Io(),Io(),Po(9,"p"),ys(10," La poursuite de la navigation sur ce site vaut acceptation sans r\xe9serve des dispositions et conditions d'utilisation qui suivent. Vous acceptez l'utilisation de cookies et autres traceurs. La version actuellement en ligne de ces conditions d'utilisation est la seule opposable pendant toute la dur\xe9e d'utilisation du site et jusqu'\xe0 ce qu'une nouvelle version la remplace. "),Io(),Po(11,"h1",2),ys(12,"Article 1 - Mentions l\xe9gales"),Io(),Po(13,"h2",3),ys(14,"1.1 Site (ci-apr\xe8s \xab le site \xbb) : Fatboar"),Io(),Po(15,"h2",3),ys(16,"1.2 \xc9diteur (ci-apr\xe8s \xab l'\xe9diteur \xbb) :"),Io(),Po(17,"p"),ys(18," Fatboar SA, au capital de 750 000\u20ac, "),Ro(19,"br"),ys(20," dont le si\xe8ge social est situ\xe9: 1 bis Rue Gustave Eiffel, 78280 Guyancourt "),Ro(21,"br"),ys(22," repr\xe9sent\xe9e Mr E. BOURDON, en sa qualit\xe9 de directeur g\xe9n\xe9ral, "),Ro(23,"br"),ys(24," immatricul\xe9e au RCS de Paris, 484 969 950, "),Ro(25,"br"),ys(26," n\xb0 de t\xe9l\xe9phone : 01 42 51 62 01, "),Ro(27,"br"),ys(28," adresse mail : contact@fatbor.fr "),Ro(29,"br"),Io(),Po(30,"h2",3),ys(31,"1.3 H\xe9bergeur (ci-apr\xe8s \xab l'h\xe9bergeur \xbb) :"),Io(),Po(32,"p"),ys(33,"Gusto coffee est h\xe9berg\xe9 par Scalway, dont le si\xe8ge social est au 8 rue de la ville l\u2019\xe9v\xeaque 75008 Paris."),Io(),Po(34,"h1",2),ys(35,"Article 2 - Acc\xe8s au site"),Io(),Po(36,"p"),ys(37," L'acc\xe8s au site et son utilisation sont r\xe9serv\xe9s \xe0 un usage strictement personnel. "),Ro(38,"br"),ys(39," Vous vous engagez \xe0 ne pas utiliser ce site et les informations ou donn\xe9es qui y figurent \xe0 des fins commerciales, politiques, publicitaires et pour toute forme de sollicitation commerciale et notamment l'envoi de courriers \xe9lectroniques non sollicit\xe9s. "),Io(),Po(40,"h1",2),ys(41,"Article 3 - Contenu du site"),Io(),Po(42,"p"),ys(43," Toutes les marques, photographies, textes, commentaires, illustrations, images anim\xe9es ou non, s\xe9quences vid\xe9o, sons, ainsi que toutes les applications informatiques qui pourraient \xeatre utilis\xe9es pour faire fonctionner ce site et plus g\xe9n\xe9ralement tous les \xe9l\xe9ments reproduits ou utilis\xe9s sur le site sont prot\xe9g\xe9s par les lois en vigueur au titre de la propri\xe9t\xe9 intellectuelle. Ils sont la propri\xe9t\xe9 pleine et enti\xe8re de l'\xe9diteur ou de ses partenaires. Toute reproduction, repr\xe9sentation, utilisation ou adaptation, sous quelque forme que ce soit, de tout ou partie de ces \xe9l\xe9ments, y compris les applications informatiques, sans l'accord pr\xe9alable et \xe9crit de l'\xe9diteur, sont strictement interdites. Le fait pour l'\xe9diteur de ne pas engager de proc\xe9dure d\xe8s la prise de connaissance de ces utilisations non autoris\xe9es ne vaut pas acceptation desdites utilisations et renonciation aux poursuites. "),Io(),Po(44,"h1",2),ys(45,"Article 4 - Gestion du site"),Io(),Po(46,"p"),ys(47," Pour la bonne gestion du site, l'\xe9diteur pourra \xe0 tout moment : suspendre, interrompre ou limiter l'acc\xe8s \xe0 tout ou partie du site, r\xe9server l'acc\xe8s au site, ou \xe0 certaines parties du site, \xe0 une cat\xe9gorie d\xe9termin\xe9e d'internautes supprimer toute information pouvant en perturber le fonctionnement ou entrant en contravention avec les lois nationales ou internationales, ou avec les r\xe8gles de la N\xe9tiquette suspendre le site afin de proc\xe9der \xe0 des mises \xe0 jour. Article 5 - Responsabilit\xe9s La responsabilit\xe9 de l'\xe9diteur ne peut \xeatre engag\xe9e en cas de d\xe9faillance, panne, difficult\xe9 ou interruption de fonctionnement, emp\xeachant l'acc\xe8s au site ou \xe0 une de ses fonctionnalit\xe9s. Le mat\xe9riel de connexion au site que vous utilisez est sous votre enti\xe8re responsabilit\xe9. Vous devez prendre toutes les mesures appropri\xe9es pour prot\xe9ger votre mat\xe9riel et vos propres donn\xe9es notamment d'attaques virales par Internet. Vous \xeates par ailleurs seul responsable des sites et donn\xe9es que vous consultez. L'\xe9diteur ne pourra \xeatre tenu responsable en cas de poursuites judiciaires \xe0 votre encontre : du fait de l'usage du site ou de tout service accessible via Internet du fait du non-respect par vous des pr\xe9sentes conditions g\xe9n\xe9rales. L'\xe9diteur n'est pas responsable des dommages caus\xe9s \xe0 vous-m\xeame, \xe0 des tiers et/ou \xe0 votre \xe9quipement du fait de votre connexion ou de votre utilisation du site et vous renoncez \xe0 toute action contre lui de ce fait. Si l'\xe9diteur venait \xe0 faire l'objet d'une proc\xe9dure amiable ou judiciaire \xe0 raison de votre utilisation du site, il pourrait se retourner contre vous pour obtenir l'indemnisation de tous les pr\xe9judices, sommes, condamnations et frais qui pourraient d\xe9couler de cette proc\xe9dure. "),Io(),Po(48,"h1",2),ys(49,"Article 6 - Liens hypertextes"),Io(),Po(50,"p"),ys(51," La mise en place par les utilisateurs de tous liens hypertextes vers tout ou partie du site est autoris\xe9e par l'\xe9diteur. Tout lien devra \xeatre retir\xe9 sur simple demande de l'\xe9diteur. Toute information accessible via un lien vers d'autres sites n'est pas sous le contr\xf4le de l'\xe9diteur qui d\xe9cline toute responsabilit\xe9 quant \xe0 leur contenu. "),Io(),Po(52,"h1",2),ys(53,"Article 7 - Collecte de donn\xe9es"),Io(),Po(54,"p"),ys(55," Vos donn\xe9es sont collect\xe9es par La soci\xe9t\xe9 Fatboar. Une donn\xe9e \xe0 caract\xe8re personnel d\xe9signe toute information concernant une personne physique identifi\xe9e ou identifiable (personne concern\xe9e) ; est r\xe9put\xe9e identifiable une personne qui peut \xeatre identifi\xe9e, directement ou indirectement, notamment par r\xe9f\xe9rence \xe0 un nom, un num\xe9ro d'identification ou \xe0 un ou plusieurs \xe9l\xe9ments sp\xe9cifiques, propres \xe0 son identit\xe9 physique, physiologique, g\xe9n\xe9tique, psychique, \xe9conomique, culturelle ou sociale. Les informations personnelles pouvant \xeatre recueillies sur le site sont principalement utilis\xe9es par l'\xe9diteur pour la gestion des relations avec vous, et le cas \xe9ch\xe9ant pour le traitement de vos commandes. Elles sont enregistr\xe9es dans le fichier de clients de l'\xe9diteur et le fichier ainsi \xe9labor\xe9 \xe0 partir de donn\xe9es \xe0 caract\xe8re personnel est d\xe9clar\xe9 aupr\xe8s de la CNIL. Le num\xe9ro d\u2019enregistrement de l\u2019\xe9diteur \xe0 la CNIL est le suivant : XXXX-XXXX-XXXX-XXXX "),Io(),Po(56,"h1",2),ys(57,"Article 8 - Droit d\u2019acc\xe8s, de rectification et de d\xe9r\xe9f\xe9rencement de vos donn\xe9es"),Io(),Po(58,"p"),ys(59," Chaque personne dispose d\u2019un droit d\u2019acc\xe8s, de rectification et d\u2019opposition \xe0 ses donn\xe9es personnelles. Chaque personne dispose aussi du droit de limitation du traitement relatif \xe0 sa personne, du droit de d\xe9r\xe9f\xe9rencement et du droit \xe0 la portabilit\xe9 des donn\xe9es personnelles qu\u2019elle a transmise au responsable de traitement. Vous pouvez exercer ce droit en nous contactant, \xe0 l\u2019adresse suivante : 1 bis rue Gustave Eiffel, 78280 Guyancourt. Ou par email \xe0 l\u2019adresse info@fatboar.fr. Toute demande doit \xeatre accompagn\xe9e de la photocopie d\u2019un titre d\u2019identit\xe9 en cours de validit\xe9 sign\xe9 et faire mention de l\u2019adresse \xe0 laquelle l'\xe9diteur pourra contacter le demandeur. La r\xe9ponse sera adress\xe9e dans le mois suivant la r\xe9ception de la demande. Ce d\xe9lai d'un mois peut \xeatre prolong\xe9 de deux mois si la complexit\xe9 de la demande et/ou le nombre de demandes l'exigent. De plus, et depuis la loi n\xb02016-1321 du 7 octobre 2016, les personnes qui le souhaitent, ont la possibilit\xe9 d\u2019organiser le sort de leurs donn\xe9es apr\xe8s leur d\xe9c\xe8s. Pour plus d\u2019information sur le sujet, vous pouvez consulter le site Internet de la CNIL : "),Io(),Po(60,"ul"),Po(61,"li"),Po(62,"a",1),ys(63,"Cnil"),Io(),Io(),Io(),Po(64,"h1",2),ys(65,"Article 9 - Utilisation des donn\xe9es"),Io(),Po(66,"p"),ys(67," Les informations recueillies pourront \xe9ventuellement \xeatre communiqu\xe9es \xe0 des tiers li\xe9s \xe0 l'\xe9diteur par contrat pour l'ex\xe9cution de t\xe2ches sous-trait\xe9es n\xe9cessaires \xe0 la gestion de votre compte et sans que vous ayez \xe0 donner votre autorisation. En cas d'infraction de tout type, pour lesquelles les parties seraient mises en cause, et pour lesquelles les autorit\xe9s judiciaires auraient besoin d'avoir connaissance des informations recueillies, ces derni\xe8res seront alors n\xe9cessairement communiqu\xe9es \xe0 ces autorit\xe9s sur leur demande expresse et motiv\xe9e, et ne b\xe9n\xe9ficieront plus des dispositions relatives \xe0 la protection des donn\xe9es personnelles. Lorsque certaines informations sont obligatoires pour acc\xe9der \xe0 des fonctionnalit\xe9s sp\xe9cifiques du site, l'\xe9diteur indiquera ce caract\xe8re obligatoire au moment de la saisie des donn\xe9es. "),Io(),Po(68,"h1",2),ys(69,"Article 10 - Offres commerciales"),Io(),Po(70,"p"),ys(71," Vous \xeates susceptible de recevoir des offres commerciales de l'\xe9diteur. Vos donn\xe9es sont susceptibles d\u2019\xeatre utilis\xe9es par les partenaires de l'\xe9diteur \xe0 des fins de prospection commerciale. Si, lors de la consultation du site, vous acc\xe9dez \xe0 des donn\xe9es \xe0 caract\xe8re personnel, vous devez vous abstenir de toute collecte, de toute utilisation non autoris\xe9e et de tout acte pouvant constituer une atteinte \xe0 la vie priv\xe9e ou \xe0 la r\xe9putation des personnes. L'\xe9diteur d\xe9cline toute responsabilit\xe9 \xe0 cet \xe9gard. Les donn\xe9es sont conserv\xe9es et utilis\xe9es pour une dur\xe9e conforme \xe0 la l\xe9gislation en vigueur. "),Io(),Po(72,"h1",2),ys(73,"Article 11 - Cookies"),Io(),Po(74,"p"),ys(75," Qu\u2019est-ce qu\u2019un \xab cookie \xbb ? Un \xab Cookie \xbb ou traceur est un fichier \xe9lectronique d\xe9pos\xe9 sur un terminal (ordinateur, tablette, smartphone,\u2026) et lu par exemple lors de la consultation d'un site internet, de la lecture d'un courrier \xe9lectronique, de l'installation ou de l'utilisation d'un logiciel ou d'une application mobile et ce quel que soit le type de terminal utilis\xe9 (source: "),Po(76,"a",4),ys(77,"Cnil"),Io(),ys(78," ). En naviguant sur ce site, des \xab cookies \xbb \xe9manant de la soci\xe9t\xe9 responsable du site concern\xe9 et/ou des soci\xe9t\xe9s tiers pourront \xeatre d\xe9pos\xe9s sur votre terminal. Lors de la premi\xe8re navigation sur ce site, une banni\xe8re explicative sur l\u2019utilisation des \xab cookies \xbb appara\xeetra. D\xe8s lors, en poursuivant la navigation, le client et/ou prospect sera r\xe9put\xe9 inform\xe9 et avoir accept\xe9 l\u2019utilisation desdits \xab cookies \xbb. Le consentement donn\xe9 sera valable pour une p\xe9riode de treize (13) mois. Toutes les informations collect\xe9es ne seront utilis\xe9es que pour suivre le volume, le type et la configuration du trafic utilisant ce site, pour en d\xe9velopper la conception et l'agencement et \xe0 d'autres fins administratives et de planification et plus g\xe9n\xe9ralement pour am\xe9liorer le service que nous vous offrons. Les cookies suivants sont pr\xe9sents sur ce site : Cookies de navigation, Cookies de performance. Leur finalit\xe9 est la suivante : Ces cookies collectent des informations sur les modes d'utilisation des sites Internet par l'ensemble des visiteurs. Leur dur\xe9e de vie est de treize mois. Pour plus d\u2019informations sur l\u2019utilisation, la gestion et la suppression des \xab cookies \xbb, pour tout type de navigateur, nous vous invitons \xe0 consulter le lien suivant : "),Po(79,"a",5),ys(80,"Cnil"),Io(),ys(81,". "),Io(),Po(82,"h1",2),ys(83,"Article 12 - Photographies et repr\xe9sentation des produits"),Io(),Po(84,"p"),ys(85," Les photographies de produits, accompagnant leur description, ne sont pas contractuelles et n'engagent pas l'\xe9diteur. "),Io(),Po(86,"h1",2),ys(87,"Article 13 - Loi applicable"),Io(),Po(88,"p"),ys(89," Les pr\xe9sentes conditions d'utilisation du site sont r\xe9gies par la loi fran\xe7aise et soumises \xe0 la comp\xe9tence des tribunaux du si\xe8ge social de l'\xe9diteur, sous r\xe9serve d'une attribution de comp\xe9tence sp\xe9cifique d\xe9coulant d'un texte de loi ou r\xe9glementaire particulier. "),Io(),Po(90,"h1",2),ys(91,"Article 14 - Contactez-nous"),Io(),Po(92,"p"),ys(93," Pour toute question, information sur les produits pr\xe9sent\xe9s sur le site, ou concernant le site lui-m\xeame, vous pouvez laisser un message \xe0 l'adresse suivante : "),Io(),Po(94,"strong"),ys(95,"contact@fatbor.fr"),Io(),Io(),Io())},directives:[uA,RO,ZO,lA,Jy],styles:[".navtop[_ngcontent-%COMP%]{margin-top:7em;margin-bottom:3em}"]}),MO),sY=((xO=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"ngOnInit",value:function(){}}])}()).\u0275fac=function(e){return new(e||xO)},xO.\u0275cmp=_t({type:xO,selectors:[["app-cgu"]],decls:77,vars:0,consts:[["fxLayout","column","fxLayoutAlign","center stretch"],[1,"title","my-h1"],[1,"row"]],template:function(e,t){1&e&&(Po(0,"mat-card",0),Po(1,"mat-card-content"),Po(2,"h1",1),ys(3,"ARTICLE 1 \u2013 SOCIETE ORGANISATRICE"),Io(),Po(4,"p"),ys(5," La soci\xe9t\xe9 Fatboar, soci\xe9t\xe9 anonyme au capital de 750 000 Euros, num\xe9ro SIRET 77942658200013, ayant son si\xe8ge social au 1 bis Rue Gustave Eiffel, 78280 Guyancourt (ci-apr\xe8s, \xab la Soci\xe9t\xe9 Organisatrice \xbb), organise du 20 Septembre 2021 au 20 Octobre 2021, un jeu gratuit avec obligation d\u2019achat (ci-apr\xe8s d\xe9nomm\xe9 le \xab Jeu \xbb), sur fatboar.fr (ci-apr\xe8s le \xab Site internet \xbb). "),Io(),Po(6,"h1",1),ys(7,"ARTICLE 2 \u2013 PARTICIPANTS"),Io(),Po(8,"p"),ys(9," La participation au Jeu est ouverte \xe0 toute personne physique majeure domicili\xe9e en France m\xe9tropolitaine (ci-apr\xe8s d\xe9nomm\xe9 le ou les \xab Participant(s) \xbb). Toute indication d'identit\xe9 fausse, erron\xe9e, incompl\xe8te entra\xeenera l'\xe9limination imm\xe9diate de la participation. Fatboar se r\xe9serve le droit de proc\xe9der \xe0 toutes v\xe9rifications concernant notamment l\u2019identit\xe9, l\u2018\xe2ge, les coordonn\xe9es postales des Participants pour le respect du pr\xe9sent article comme de l'ensemble du R\xe8glement, notamment pour \xe9carter tout Participant ayant commis un abus quelconque, sans toutefois qu'elle ait l'obligation de proc\xe9der \xe0 une v\xe9rification syst\xe9matique de l'ensemble des Participants, pouvant limiter cette v\xe9rification au gagnant du Jeu Concours. "),Io(),Po(10,"h1",1),ys(11,"ARTICLE 3 \u2013 MODALITES DE PARTICIPATION"),Io(),Po(12,"p"),ys(13," La participation au Jeu implique l\u2019acceptation pleine, enti\xe8re et sans r\xe9serve du pr\xe9sent R\xe8glement, de la l\xe9gislation en vigueur sur le territoire fran\xe7ais (notamment, les lois relatives \xe0 l\u2019Informatique et aux Libert\xe9s, au respect des bonnes m\u0153urs, \xe0 la propri\xe9t\xe9 litt\xe9raire et artistique) ainsi que des r\xe8gles de d\xe9ontologie en vigueur sur Internet (n\xe9tiquette, chartes de bonnes conduites, etc.). "),Io(),Po(14,"p"),ys(15,"La participation au Jeu est sous obligation d\u2019achat."),Io(),Po(16,"p"),ys(17," Pour participer au Jeu, le Participant doit d\xe9tenir un code ou qrcode obtenu en caisse apr\xe8s achat en restaurant d\u2019un montant \xe9gal ou sup\xe9rieur \xe0 18 euros. Ne seront pris en consid\xe9ration que les formulaires de participations correctement remplis. "),Io(),Po(18,"p"),ys(19," Les frais de communication et de connexion au r\xe9seau Internet engag\xe9s pour la participation au Jeu Concours demeurent \xe0 la charge du Participant. "),Io(),Po(20,"p"),ys(21," L\u2019inscription au Jeu est strictement nominative et le joueur ne peut en aucun cas s\u2019y inscrire \xe0 l\u2019aide de plusieurs comptes, plusieurs pseudonymes, ni pour le compte d'autres participants ou sous une ou plusieurs fausse(s) identit\xe9(s). "),Io(),Po(22,"p"),ys(23," Les Participants qui tenteraient de participer au Jeu par des moyens tels qu\u2019automates de participation, programmes \xe9labor\xe9s pour des participations automatis\xe9es, utilisation d\u2019informations autres que celles correspondant \xe0 leur identit\xe9, et plus g\xe9n\xe9ralement par tous moyens non conformes au pr\xe9sent R\xe8glement seraient automatiquement \xe9limin\xe9s. "),Io(),Po(24,"p"),ys(25," Toute inscription au Jeu non conforme aux caract\xe9ristiques \xe9nonc\xe9es ci-dessus ne sera pas prise en compte. Notamment, toute indication d'identit\xe9 ou d'adresse fausse, erron\xe9e, incompl\xe8te entra\xeenera l'\xe9limination imm\xe9diate de la participation. Toute participation incompl\xe8te, illisible et/ou incompr\xe9hensible sera consid\xe9r\xe9e comme nulle pour la participation au Jeu. "),Io(),Po(26,"div",2),Po(27,"h1",1),ys(28,"ARTICLE 4 \u2013 DESIGNATIONS DES GAGNANTS ET DOTATIONS"),Io(),Po(29,"p"),ys(30," Dotation mise en jeu lors du tirage au sort, 100 % des tickets seront gagnants, pour un total de 1 000 000 lots dont la r\xe9partition des gains est d\xe9finie de la fa\xe7on suivante: "),Io(),Po(31,"ul"),Po(32,"li"),ys(33,"60% des tickets offrent une entr\xe9e ou un dessert au choix."),Io(),Po(34,"li"),ys(35,"20% des tickets offrent un burger au choix."),Io(),Po(36,"li"),ys(37,"10% des tickets offrent un menu du jour."),Io(),Po(38,"li"),ys(39,"6% des tickets offrent un menu au choix."),Io(),Po(40,"li"),ys(41,"4% des tickets offrent une r\xe9duction de 70% sur la commande."),Io(),Po(42,"li"),ys(43,"1 v\xe9hicule Range Rover (Tirage au sort \xe0 la fin du jeu)."),Io(),Io(),Po(44,"p"),ys(45," A titre d\u2019information Le v\xe9hicule Range Rover, d\u2019une valeur de 59 900 \u20ac TTC (selon le tarif applicable au 10 Septembre 2021), consommation mixte (5,4-8,1 L/100km mixte). homologu\xe9 selon r\xe9glementation applicable. "),Io(),Po(46,"p"),ys(47,"Les frais d\u2019immatriculation et de mise \xe0 la route sont \xe0 la charge du gagnant."),Io(),Po(48,"p"),ys(49," Le gagnant devra r\xe9pondre \xe0 la soci\xe9t\xe9 organisatrice avant le 30/11/2021 pour confirmer l\u2019acceptation du lot gagn\xe9. Tout gagnant qui ne se sera pas manifest\xe9 avant cette date sera consid\xe9r\xe9 comme ayant d\xe9finitivement renonc\xe9 \xe0 son gain. "),Io(),Po(50,"h1",1),ys(51,"ARTICLE 5 \u2013 ATTRIBUTION DES LOTS"),Io(),Po(52,"p"),ys(53," Les Gagnants seront contact\xe9s par Fatboar par mail sur l\u2019adresse utilis\xe9 par le Gagnant lors de la participation au Jeu, dans un d\xe9lai de quarante (40) jours ouvr\xe9s \xe0 compter de la fin du Jeu. "),Io(),Po(54,"p"),ys(55," Toute coordonn\xe9e incompl\xe8te, inexacte ou r\xe9v\xe9lant une in\xe9ligibilit\xe9 sera consid\xe9r\xe9e comme nulle et ne permettra pas au Gagnant d\u2019obtenir sa dotation. L\u2019absence de r\xe9ponse dans les quarante (40) jours ouvr\xe9s vaudra abandon de la dotation par le Gagnant. En cas d\u2019abandon de la dotation par le Gagnant et/ou en l\u2019absence de Gagnant \xe0 l\u2019issue du Jeu, il sera proc\xe9d\xe9 \xe0 la d\xe9signation d\u2019un autre gagnant. "),Io(),Po(56,"h1",1),ys(57,"ARTICLE 6 \u2013 RESPONSABILITE"),Io(),Po(58,"p"),ys(59," La participation au Jeu implique la connaissance et l'acceptation des caract\xe9ristiques et des limites de l'Internet, notamment en ce qui concerne les performances techniques, les risques d'interruption, et plus g\xe9n\xe9ralement, les risques inh\xe9rents \xe0 toute connexion et transmission sur Internet, l'absence de protection de certaines donn\xe9es contre des d\xe9tournements \xe9ventuels et les risques de contamination par des \xe9ventuels virus circulant sur le r\xe9seau. "),Io(),Po(60,"p"),ys(61," Fatboar ne saurait donc \xeatre tenue pour responsable de la contamination par d\u2019\xe9ventuels virus ou de l\u2019intrusion d\u2019un tiers dans le syst\xe8me du terminal des Participants au Jeu et d\xe9cline toute responsabilit\xe9 quant aux cons\xe9quences de la connexion des Participants au r\xe9seau via le Site internet pour des causes qui ne seraient pas directement et exclusivement imputables \xe0 Fatboar. "),Io(),Po(62,"p"),ys(63," Fatboar ne pourra \xeatre tenue pour responsable en cas de dysfonctionnements du r\xe9seau Internet, notamment dus \xe0 des actes de malveillance externe, qui emp\xeacheraient le bon d\xe9roulement du Jeu et notamment l\u2019acc\xe8s au Site internet. "),Io(),Po(64,"p"),ys(65," Fatboar ne pourra \xeatre tenue responsable si, pour une raison ind\xe9pendante de sa volont\xe9 et/ou en cas de force majeure, le Jeu venait \xe0 \xeatre \xe9court\xe9, prolong\xe9, modifi\xe9, report\xe9 ou annul\xe9 par annonce de Fatboar et ce sans qu\u2019une quelconque indemnisation ne soit due aux Participants. Ces annonces seront consid\xe9r\xe9es comme des annexes au pr\xe9sent R\xe8glement. "),Io(),Po(66,"h1",1),ys(67,"ARTICLE 7 \u2013 PUBLICITE"),Io(),Po(68,"p"),ys(69," Le Gagnant autorise Fatboar \xe0 diffuser, dans le cadre du Jeu, leurs noms, coordonn\xe9es et images (photographie ou film) sur tout support pendant un d\xe9lai d'un an \xe0 compter de la date de fin du Jeu. "),Io(),Po(70,"p"),ys(71," La diffusion du nom, des coordonn\xe9es et/ou de l'image du Gagnant n\u2019ouvre droit, dans les conditions susvis\xe9es \xe0 aucun droit ou contrepartie financi\xe8re \xe0 leur profit. Fatboar se r\xe9serve le droit d\u2019exiger le cas \xe9ch\xe9ant du Gagnants la signature d\u2019un document confirmant le droit susvis\xe9 de diffuser leur image avant de b\xe9n\xe9ficier de leur dotation. "),Io(),Po(72,"h1",1),ys(73,"ARTICLE 8 \u2013 DONNEES A CARACTERE PERSONNEL"),Io(),Po(74,"p"),ys(75," La fourniture d\u2019informations nominatives concernant le Participant est n\xe9cessaire \xe0 la bonne ex\xe9cution et gestion du pr\xe9sent Jeu. Ces informations nominatives sont destin\xe9es \xe0 Fatboar repr\xe9sent\xe9e par son Directeur G\xe9n\xe9ral aux fins d\u2019organisation et de gestion du Jeu. Ces donn\xe9es sont conserv\xe9es pour la dur\xe9e d\u2019ex\xe9cution du Jeu en ce compris, le cas \xe9ch\xe9ant, pour la dur\xe9e n\xe9cessaire \xe0 la gestion des dotations attribu\xe9es aux Gagnants et/ou conform\xe9ment \xe0 ce que la loi oblige. Conform\xe9ment \xe0 la r\xe8glementation relative \xe0 la protection des donn\xe9es personnelles, le Participant dispose d\u2019un droit d'acc\xe8s, d'opposition, de rectification, d'effacement des donn\xe9es personnelles le concernant, ainsi que du droit d'obtenir la limitation du traitement et de retirer son consentement qu\u2019il peut exercer en justifiant de son identit\xe9 et en s\u2019adressant \xe0 Fatboar : Par courrier postal : Fatboar \u2013 1 bis rue Gustave Eiffel, 78280 Guyancourt. Ou par email \xe0 l\u2019adresse suivante : support@fatboar.fr. Il dispose \xe9galement du droit d'introduire une r\xe9clamation aupr\xe8s d'une autorit\xe9 de contr\xf4le. "),Io(),Ro(76,"br"),Io(),Io(),Io())},directives:[uA,RO,ZO,lA],styles:[".navtop[_ngcontent-%COMP%]{margin-top:7em;margin-bottom:3em}"]}),xO),lY=((CO=function(){return _createClass((function e(t){_classCallCheck(this,e),this.http=t,this.apiUrl=cc}),[{key:"sendEmail",value:function(e,t,n,i){return this.http.post("https://api-preprod.foodgame.fr/api/emails/send?email=".concat(t,"&isgain=").concat(n,"&isactive=").concat(i),e)}},{key:"getAllEmail",value:function(){return this.http.get(this.apiUrl+"/api/emails")}}])}()).\u0275fac=function(e){return new(e||CO)(Qe(dD))},CO.\u0275prov=fe({token:CO,factory:CO.\u0275fac,providedIn:"root"}),CO),uY=["input"],cY=function(){return{enterDuration:150}},dY=["*"],hY=new Ve("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}}),fY=0,mY={provide:Ab,useExisting:De((function(){return _Y})),multi:!0},pY=_createClass((function e(t,n){_classCallCheck(this,e),this.source=t,this.value=n})),_Y=((LO=function(){return _createClass((function e(t){_classCallCheck(this,e),this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+fY++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new Wl}),[{key:"name",get:function(){return this._name},set:function(e){this._name=e,this._updateRadioButtonNames()}},{key:"labelPosition",get:function(){return this._labelPosition},set:function(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}},{key:"_checkSelectedRadioButton",value:function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Eh(e),this._markRadiosForCheck()}},{key:"required",get:function(){return this._required},set:function(e){this._required=Eh(e),this._markRadiosForCheck()}},{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"_touch",value:function(){this.onTouched&&this.onTouched()}},{key:"_updateRadioButtonNames",value:function(){var e=this;this._radios&&this._radios.forEach((function(t){t.name=e.name,t._markForCheck()}))}},{key:"_updateSelectedRadioFromValue",value:function(){var e=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach((function(t){t.checked=e.value===t.value,t.checked&&(e._selected=t)})))}},{key:"_emitChangeEvent",value:function(){this._isInitialized&&this.change.emit(new pY(this._selected,this._value))}},{key:"_markRadiosForCheck",value:function(){this._radios&&this._radios.forEach((function(e){return e._markForCheck()}))}},{key:"writeValue",value:function(e){this.value=e,this._changeDetector.markForCheck()}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetector.markForCheck()}}])}()).\u0275fac=function(e){return new(e||LO)(To(Gr))},LO.\u0275dir=wt({type:LO,selectors:[["mat-radio-group"]],contentQueries:function(e,t,n){var i;1&e&&ru(n,yY,!0),2&e&&tu(i=lu())&&(t._radios=i)},hostAttrs:["role","radiogroup",1,"mat-radio-group"],inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},exportAs:["matRadioGroup"],features:[Vs([mY])]}),LO),vY=Ng(zg(_createClass((function e(t){_classCallCheck(this,e),this._elementRef=t})))),gY=((AO=function(e){function t(e,n,i,a,r,o,s){var l;return _classCallCheck(this,t),(l=_callSuper(this,t,[n]))._changeDetector=i,l._focusMonitor=a,l._radioDispatcher=r,l._animationMode=o,l._providerOverride=s,l._uniqueId="mat-radio-"+ ++fY,l.id=l._uniqueId,l.change=new Wl,l._checked=!1,l._value=null,l._removeUniqueSelectionListener=function(){},l.radioGroup=e,l._removeUniqueSelectionListener=r.listen((function(e,t){e!==l.id&&t===l.name&&(l.checked=!1)})),l}return _inherits(t,e),_createClass(t,[{key:"checked",get:function(){return this._checked},set:function(e){var t=Eh(e);this._checked!==t&&(this._checked=t,t&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}},{key:"labelPosition",get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(e){this._labelPosition=e}},{key:"disabled",get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(e){this._setDisabled(Eh(e))}},{key:"required",get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(e){this._required=Eh(e)}},{key:"color",get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(e){this._color=e}},{key:"inputId",get:function(){return(this.id||this._uniqueId)+"-input"}},{key:"focus",value:function(e){this._focusMonitor.focusVia(this._inputElement,"keyboard",e)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}},{key:"ngOnInit",value:function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(t){!t&&e.radioGroup&&e.radioGroup._touch()}))}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}},{key:"_emitChangeEvent",value:function(){this.change.emit(new pY(this,this._value))}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onInputClick",value:function(e){e.stopPropagation()}},{key:"_onInputChange",value:function(e){e.stopPropagation();var t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}},{key:"_setDisabled",value:function(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}}])}(vY)).\u0275fac=function(e){return new(e||AO)(To(_Y,8),To(qs),To(Gr),To(bf),To(rm),To(Sg,8),To(hY,8))},AO.\u0275dir=wt({type:AO,viewQuery:function(e,t){var n;1&e&&iu(uY,!0),2&e&&tu(n=lu())&&(t._inputElement=n.first)},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[Ds]}),AO),yY=((TO=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(gY)).\u0275fac=function(e){return bY(e||TO)},TO.\u0275cmp=_t({type:TO,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&Bo("focus",(function(){return t._inputElement.nativeElement.focus()})),2&e&&(Mo("tabindex",-1)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),ls("mat-radio-checked",t.checked)("mat-radio-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-primary","primary"===t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[Ds],ngContentSelectors:dY,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,t){if(1&e&&(Ko(),Po(0,"label",0,1),Po(2,"div",2),Ro(3,"div",3),Ro(4,"div",4),Po(5,"input",5,6),Bo("change",(function(e){return t._onInputChange(e)}))("click",(function(e){return t._onInputClick(e)})),Io(),Po(7,"div",7),Ro(8,"div",8),Io(),Io(),Po(9,"div",9),Po(10,"span",10),ys(11,"\xa0"),Io(),Qo(12),Io(),Io()),2&e){var n=Lo(1);Mo("for",t.inputId),ya(5),Oo("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),Mo("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),ya(2),Oo("matRippleTrigger",n)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Rl(18,cY)),ya(2),ls("mat-radio-label-before","before"==t.labelPosition)}},directives:[My],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),TO),bY=hi(yY),kY=((EO=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:EO}),EO.\u0275inj=me({factory:function(e){return new(e||EO)},imports:[[Dy,Fg],Fg]}),EO);function wY(e,t){if(1&e&&(Po(0,"mat-radio-button",22),ys(1),Io()),2&e){var n=t.$implicit;Xo("value",n.value),Oo("checked",n.checked),ya(1),ks(" ",n.label," ")}}function CY(e,t){if(1&e&&(Po(0,"mat-error",28),ys(1," Adresse email Invalide "),Io()),2&e){Zo();var n=Lo(5);Oo("hidden",!(null!=n.errors&&n.errors.pattern))}}function xY(e,t){if(1&e){var n=No();Po(0,"div",23),Po(1,"p",24),ys(2,"Adresse email :"),Io(),Po(3,"mat-form-field",9),Po(4,"input",25,26),Bo("ngModelChange",(function(e){return $t(n),Zo().adressemail=e})),Io(),So(6,CY,2,1,"mat-error",27),Io(),Io()}if(2&e){var i=Lo(5),a=Zo();ya(4),Oo("ngModel",a.adressemail),ya(2),Oo("ngIf",i.errors&&(i.touched||i.dirty))}}function MY(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorTitle()," ")}}function DY(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorDescription()," ")}}function SY(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorObject()," ")}}function LY(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorMessage()," ")}}var TY,AY,EY,OY=((EY=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.formBuilder=t,this.emailService=n,this.userOptions=[{label:"Tout les clients",value:"0",checked:!0},{label:"Clients gagnant",value:"1",checked:!1},{label:"Clients non gagnant",value:"2",checked:!1},{label:"Clients compte actives",value:"3",checked:!1},{label:"Clients bloqu\xe9s",value:"4",checked:!1},{label:"Adresse email",value:"5",checked:!1}]}),[{key:"ngOnInit",value:function(){this.createForm()}},{key:"selectValue",value:function(e){this.selectedRadio=e.source.value}},{key:"createForm",value:function(){var e=/^[a-zA-Z\xe0\xe1\xe2\xe4\xe3\xe5\u0105\u010d\u0107\u0119\xe8\xe9\xea\xeb\u0117\u012f\xec\xed\xee\xef\u0142\u0144\xf2\xf3\xf4\xf6\xf5\xf8\xf9\xfa\xfb\xfc\u0173\u016b\xff\xfd\u017c\u017a\xf1\xe7\u010d\u0161\u017e\xc0\xc1\xc2\xc4\xc3\xc5\u0104\u0106\u010c\u0116\u0118\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\u012e\u0141\u0143\xd2\xd3\xd4\xd6\xd5\xd8\xd9\xda\xdb\xdc\u0172\u016a\u0178\xdd\u017b\u0179\xd1\xdf\xc7\u0152\xc6\u010c\u0160\u017d\u2202\xf0 ,.'-]+$/;this.formGroup=this.formBuilder.group({title:[null,[Kb.required,Kb.pattern(e)]],description:[null,[Kb.required,Kb.pattern(e)]],subject:[null,[Kb.required,Kb.pattern(e)]],text:[null,[Kb.required,Kb.pattern(e)]]})}},{key:"getErrorTitle",value:function(){return this.formGroup.get("title").hasError("required")?"Titre requis":(this.formGroup.get("title").hasError("pattern"),"Titre non valide")}},{key:"getErrorDescription",value:function(){return this.formGroup.get("description").hasError("required")?"Description requise":(this.formGroup.get("description").hasError("pattern"),"Description non valide")}},{key:"getErrorObject",value:function(){return this.formGroup.get("subject").hasError("required")?"Objet requis":(this.formGroup.get("subject").hasError("pattern"),"Objet non valide")}},{key:"getErrorMessage",value:function(){return this.formGroup.get("text").hasError("required")?"Message requis":(this.formGroup.get("text").hasError("pattern"),"Message non valide")}},{key:"f",get:function(){return this.formGroup.controls}},{key:"resetForm",value:function(){this.formGroup.reset()}},{key:"sendEmail",value:function(){if(!this.formGroup.invalid){var e="",t="",n="";5==this.selectedRadio&&(e=this.adressemail),1==this.selectedRadio&&(t=!0),2==this.selectedRadio&&(t=!1),3==this.selectedRadio&&(n=!0),4==this.selectedRadio&&(n=!1),this.emailService.sendEmail(this.formGroup.value,e,t,n).subscribe((function(e){return e}))}}}])}()).\u0275fac=function(e){return new(e||EY)(To(Fw),To(lY))},EY.\u0275cmp=_t({type:EY,selectors:[["app-email-form"]],decls:39,vars:7,consts:[[1,""],[1,"row","justify-content-center","mb-4"],[1,"row","justify-content-center","mb-3"],["aria-label","Select an option",3,"change"],[3,"checked","value",4,"ngFor","ngForOf"],["class","row mb-4",4,"ngIf"],[3,"formGroup","ngSubmit"],[1,"row"],["for","mat-input-0",1,"col-5","col-md-4","font-weight-bold","text-lg-right","parag"],["appearance","outline",1,"col-7","col-md-5"],["matInput","","placeholder","","formControlName","title","required",""],[4,"ngIf"],["for","mat-input-description",1,"col-5","col-md-4","font-weight-bold","text-lg-right","parag"],["matInput","","placeholder","","formControlName","description","id","mat-input-description","required",""],["for","mat-input-subject",1,"col-5","col-md-4","font-weight-bold","text-lg-right","parag"],["matInput","","placeholder","","formControlName","subject","id","mat-input-subject","required",""],["for","mat-textarea-message",1,"col-5","col-md-4","font-weight-bold","text-lg-right","parag"],["appearance","outline",1,"col-7","col-md-5",2,"width","500px"],["matInput","","rows","13","formControlName","text","id","mat-textarea-message"],[1,"row","justify-content-center","my-3"],["mat-raised-button","","color","primary","type","submit",1,"mr-4"],["mat-raised-button","","color","primary",1,"",3,"click"],[3,"checked","value"],[1,"row","mb-4"],[1,"col-5","col-md-4","font-weight-bold","text-lg-right","parag"],["matInput","","type","text","pattern","[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,3}$","id","email","name","email","required","",3,"ngModel","ngModelChange"],["emailref","ngModel"],[3,"hidden",4,"ngIf"],[3,"hidden"]],template:function(e,t){1&e&&(Po(0,"mat-card",0),Po(1,"mat-card-content"),Po(2,"h1",1),Po(3,"b"),ys(4,"Emailing"),Io(),Io(),Po(5,"div",2),Po(6,"mat-radio-group",3),Bo("change",(function(e){return t.selectValue(e)})),So(7,wY,2,3,"mat-radio-button",4),Io(),Io(),So(8,xY,7,2,"div",5),Po(9,"form",6),Bo("ngSubmit",(function(){return t.sendEmail()})),Po(10,"div",7),Po(11,"label",8),ys(12,"Titre :"),Io(),Po(13,"mat-form-field",9),Ro(14,"input",10),So(15,MY,2,1,"mat-error",11),Io(),Io(),Po(16,"div",7),Po(17,"label",12),ys(18,"Description :"),Io(),Po(19,"mat-form-field",9),Ro(20,"input",13),So(21,DY,2,1,"mat-error",11),Io(),Io(),Po(22,"div",7),Po(23,"label",14),ys(24,"Objet :"),Io(),Po(25,"mat-form-field",9),Ro(26,"input",15),So(27,SY,2,1,"mat-error",11),Io(),Io(),Po(28,"div",7),Po(29,"label",16),ys(30,"Message :"),Io(),Po(31,"mat-form-field",17),Ro(32,"textarea",18),So(33,LY,2,1,"mat-error",11),Io(),Io(),Po(34,"div",19),Po(35,"button",20),ys(36,"Envoyer"),Io(),Po(37,"button",21),Bo("click",(function(){return t.resetForm()})),ys(38,"Effacer"),Io(),Io(),Io(),Io(),Io()),2&e&&(ya(7),Oo("ngForOf",t.userOptions),ya(1),Oo("ngIf",5==t.selectedRadio),ya(1),Oo("formGroup",t.formGroup),ya(6),Oo("ngIf",!t.formGroup.controls.title.valid||t.formGroup.controls.title.touched),ya(6),Oo("ngIf",!t.formGroup.controls.description.valid||t.formGroup.controls.description.touched),ya(6),Oo("ngIf",!t.formGroup.controls.subject.valid||t.formGroup.controls.subject.touched),ya(6),Oo("ngIf",!t.formGroup.controls.text.valid||t.formGroup.controls.text.touched))},directives:[uA,lA,_Y,yd,kd,cw,Ub,pw,OC,jC,Ib,Wb,Ew,Yw,Zy,yY,Iw,uw,uC],styles:[".parag[_ngcontent-%COMP%]{margin-top:1em}.mat-radio-button[_ngcontent-%COMP%] ~ .mat-radio-button[_ngcontent-%COMP%]{margin-left:16px}"]}),EY),YY=((AY=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"ngOnInit",value:function(){}}])}()).\u0275fac=function(e){return new(e||AY)},AY.\u0275cmp=_t({type:AY,selectors:[["app-emailing"]],decls:2,vars:0,consts:[[1,"container","navtop"]],template:function(e,t){1&e&&(Po(0,"div",0),Ro(1,"app-email-form"),Io())},directives:[OY],styles:[".navtop[_ngcontent-%COMP%]{margin-top:7em}"]}),AY),PY=((TY=function(){return _createClass((function e(t){_classCallCheck(this,e),this.http=t,this.apiUrl=cc,this.headers=new VM}),[{key:"getStatistic",value:function(){var e=this.http.get(this.apiUrl+"/api/tickets/stats",{headers:this.headers});return console.log(JSON.stringify(e)),e}}])}()).\u0275fac=function(e){return new(e||TY)(Qe(dD))},TY.\u0275prov=fe({token:TY,factory:TY.\u0275fac,providedIn:"root"}),TY),IY=function(e,t){return e===t||e!=e&&t!=t},RY=function(e,t){for(var n=e.length;n--;)if(IY(e[n][0],t))return n;return-1},FY=Array.prototype.splice;function jY(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}jY.prototype.clear=function(){this.__data__=[],this.size=0},jY.prototype.delete=function(e){var t=this.__data__,n=RY(t,e);return!(n<0||(n==t.length-1?t.pop():FY.call(t,n,1),--this.size,0))},jY.prototype.get=function(e){var t=this.__data__,n=RY(t,e);return n<0?void 0:t[n][1]},jY.prototype.has=function(e){return RY(this.__data__,e)>-1},jY.prototype.set=function(e,t){var n=this.__data__,i=RY(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this};var HY,NY=jY,zY=n("Ju5/"),VY=zY.a.Symbol,BY=Object.prototype,WY=BY.hasOwnProperty,UY=BY.toString,qY=VY?VY.toStringTag:void 0,GY=Object.prototype.toString,ZY=VY?VY.toStringTag:void 0,JY=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ZY&&ZY in Object(e)?function(e){var t=WY.call(e,qY),n=e[qY];try{e[qY]=void 0;var i=!0}catch(r){}var a=UY.call(e);return i&&(t?e[qY]=n:delete e[qY]),a}(e):function(e){return GY.call(e)}(e)},KY=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},QY=function(e){if(!KY(e))return!1;var t=JY(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},XY=zY.a["__core-js_shared__"],$Y=(HY=/[^.]+$/.exec(XY&&XY.keys&&XY.keys.IE_PROTO||""))?"Symbol(src)_1."+HY:"",eP=Function.prototype.toString,tP=function(e){if(null!=e){try{return eP.call(e)}catch(t){}try{return e+""}catch(t){}}return""},nP=/^\[object .+?Constructor\]$/,iP=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),aP=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!KY(e)||(t=e,$Y&&$Y in t))&&(QY(e)?iP:nP).test(tP(e));var t}(n)?n:void 0},rP=aP(zY.a,"Map"),oP=aP(Object,"create"),sP=Object.prototype.hasOwnProperty,lP=Object.prototype.hasOwnProperty;function uP(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}uP.prototype.clear=function(){this.__data__=oP?oP(null):{},this.size=0},uP.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},uP.prototype.get=function(e){var t=this.__data__;if(oP){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return sP.call(t,e)?t[e]:void 0},uP.prototype.has=function(e){var t=this.__data__;return oP?void 0!==t[e]:lP.call(t,e)},uP.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=oP&&void 0===t?"__lodash_hash_undefined__":t,this};var cP=uP,dP=function(e,t){var n,i,a=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?a["string"==typeof t?"string":"hash"]:a.map};function hP(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}hP.prototype.clear=function(){this.size=0,this.__data__={hash:new cP,map:new(rP||NY),string:new cP}},hP.prototype.delete=function(e){var t=dP(this,e).delete(e);return this.size-=t?1:0,t},hP.prototype.get=function(e){return dP(this,e).get(e)},hP.prototype.has=function(e){return dP(this,e).has(e)},hP.prototype.set=function(e,t){var n=dP(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this};var fP=hP;function mP(e){var t=this.__data__=new NY(e);this.size=t.size}mP.prototype.clear=function(){this.__data__=new NY,this.size=0},mP.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},mP.prototype.get=function(e){return this.__data__.get(e)},mP.prototype.has=function(e){return this.__data__.has(e)},mP.prototype.set=function(e,t){var n=this.__data__;if(n instanceof NY){var i=n.__data__;if(!rP||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new fP(i)}return n.set(e,t),this.size=n.size,this};var pP=mP,_P=function(){try{var e=aP(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),vP=function(e,t,n){"__proto__"==t&&_P?_P(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},gP=Object.prototype.hasOwnProperty,yP=function(e,t,n){var i=e[t];gP.call(e,t)&&IY(i,n)&&(void 0!==n||t in e)||vP(e,t,n)},bP=function(e,t,n,i){var a=!n;n||(n={});for(var r=-1,o=t.length;++r<o;){var s=t[r],l=i?i(n[s],e[s],s,n,e):void 0;void 0===l&&(l=e[s]),a?vP(n,s,l):yP(n,s,l)}return n},kP=function(e){return null!=e&&"object"==typeof e},wP=function(e){return kP(e)&&"[object Arguments]"==JY(e)},CP=Object.prototype,xP=CP.hasOwnProperty,MP=CP.propertyIsEnumerable,DP=wP(function(){return arguments}())?wP:function(e){return kP(e)&&xP.call(e,"callee")&&!MP.call(e,"callee")},SP=Array.isArray,LP=n("WOAq"),TP=/^(?:0|[1-9]\d*)$/,AP=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&TP.test(e))&&e>-1&&e%1==0&&e<t},EP=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},OP={};OP["[object Float32Array]"]=OP["[object Float64Array]"]=OP["[object Int8Array]"]=OP["[object Int16Array]"]=OP["[object Int32Array]"]=OP["[object Uint8Array]"]=OP["[object Uint8ClampedArray]"]=OP["[object Uint16Array]"]=OP["[object Uint32Array]"]=!0,OP["[object Arguments]"]=OP["[object Array]"]=OP["[object ArrayBuffer]"]=OP["[object Boolean]"]=OP["[object DataView]"]=OP["[object Date]"]=OP["[object Error]"]=OP["[object Function]"]=OP["[object Map]"]=OP["[object Number]"]=OP["[object Object]"]=OP["[object RegExp]"]=OP["[object Set]"]=OP["[object String]"]=OP["[object WeakMap]"]=!1;var YP=function(e){return function(t){return e(t)}},PP=n("xutz"),IP=PP.a&&PP.a.isTypedArray,RP=IP?YP(IP):function(e){return kP(e)&&EP(e.length)&&!!OP[JY(e)]},FP=Object.prototype.hasOwnProperty,jP=function(e,t){var n=SP(e),i=!n&&DP(e),a=!n&&!i&&Object(LP.a)(e),r=!n&&!i&&!a&&RP(e),o=n||i||a||r,s=o?function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}(e.length,String):[],l=s.length;for(var u in e)!t&&!FP.call(e,u)||o&&("length"==u||a&&("offset"==u||"parent"==u)||r&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||AP(u,l))||s.push(u);return s},HP=Object.prototype,NP=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||HP)},zP=function(e,t){return function(n){return e(t(n))}},VP=zP(Object.keys,Object),BP=Object.prototype.hasOwnProperty,WP=function(e){return null!=e&&EP(e.length)&&!QY(e)},UP=function(e){return WP(e)?jP(e):function(e){if(!NP(e))return VP(e);var t=[];for(var n in Object(e))BP.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)},qP=Object.prototype.hasOwnProperty,GP=function(e){return WP(e)?jP(e,!0):function(e){if(!KY(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=NP(e),n=[];for(var i in e)("constructor"!=i||!t&&qP.call(e,i))&&n.push(i);return n}(e)},ZP=n("3/ER"),JP=function(){return[]},KP=Object.prototype.propertyIsEnumerable,QP=Object.getOwnPropertySymbols,XP=QP?function(e){return null==e?[]:(e=Object(e),function(t,n){for(var i=-1,a=null==t?0:t.length,r=0,o=[];++i<a;){var s=t[i];KP.call(e,s)&&(o[r++]=s)}return o}(QP(e)))}:JP,$P=function(e,t){for(var n=-1,i=t.length,a=e.length;++n<i;)e[a+n]=t[n];return e},eI=zP(Object.getPrototypeOf,Object),tI=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)$P(t,XP(e)),e=eI(e);return t}:JP,nI=function(e,t,n){var i=t(e);return SP(e)?i:$P(i,n(e))},iI=function(e){return nI(e,UP,XP)},aI=function(e){return nI(e,GP,tI)},rI=aP(zY.a,"DataView"),oI=aP(zY.a,"Promise"),sI=aP(zY.a,"Set"),lI=aP(zY.a,"WeakMap"),uI=tP(rI),cI=tP(rP),dI=tP(oI),hI=tP(sI),fI=tP(lI),mI=JY;(rI&&"[object DataView]"!=mI(new rI(new ArrayBuffer(1)))||rP&&"[object Map]"!=mI(new rP)||oI&&"[object Promise]"!=mI(oI.resolve())||sI&&"[object Set]"!=mI(new sI)||lI&&"[object WeakMap]"!=mI(new lI))&&(mI=function(e){var t=JY(e),n="[object Object]"==t?e.constructor:void 0,i=n?tP(n):"";if(i)switch(i){case uI:return"[object DataView]";case cI:return"[object Map]";case dI:return"[object Promise]";case hI:return"[object Set]";case fI:return"[object WeakMap]"}return t});var pI=mI,_I=Object.prototype.hasOwnProperty,vI=zY.a.Uint8Array,gI=function(e){var t=new e.constructor(e.byteLength);return new vI(t).set(new vI(e)),t},yI=/\w*$/,bI=VY?VY.prototype:void 0,kI=bI?bI.valueOf:void 0,wI=Object.create,CI=function(){function e(){}return function(t){if(!KY(t))return{};if(wI)return wI(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),xI=PP.a&&PP.a.isMap,MI=xI?YP(xI):function(e){return kP(e)&&"[object Map]"==pI(e)},DI=PP.a&&PP.a.isSet,SI=DI?YP(DI):function(e){return kP(e)&&"[object Set]"==pI(e)},LI={};LI["[object Arguments]"]=LI["[object Array]"]=LI["[object ArrayBuffer]"]=LI["[object DataView]"]=LI["[object Boolean]"]=LI["[object Date]"]=LI["[object Float32Array]"]=LI["[object Float64Array]"]=LI["[object Int8Array]"]=LI["[object Int16Array]"]=LI["[object Int32Array]"]=LI["[object Map]"]=LI["[object Number]"]=LI["[object Object]"]=LI["[object RegExp]"]=LI["[object Set]"]=LI["[object String]"]=LI["[object Symbol]"]=LI["[object Uint8Array]"]=LI["[object Uint8ClampedArray]"]=LI["[object Uint16Array]"]=LI["[object Uint32Array]"]=!0,LI["[object Error]"]=LI["[object Function]"]=LI["[object WeakMap]"]=!1;var TI=function e(t,n,i,a,r,o){var s,l=1&n,u=2&n,c=4&n;if(i&&(s=r?i(t,a,r,o):i(t)),void 0!==s)return s;if(!KY(t))return t;var d=SP(t);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&_I.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(t),!l)return function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}(t,s)}else{var h=pI(t),f="[object Function]"==h||"[object GeneratorFunction]"==h;if(Object(LP.a)(t))return Object(ZP.a)(t,l);if("[object Object]"==h||"[object Arguments]"==h||f&&!r){if(s=u||f?{}:function(e){return"function"!=typeof e.constructor||NP(e)?{}:CI(eI(e))}(t),!l)return u?function(e,t){return bP(e,tI(e),t)}(t,function(e,t){return e&&bP(t,GP(t),e)}(s,t)):function(e,t){return bP(e,XP(e),t)}(t,function(e,t){return e&&bP(t,UP(t),e)}(s,t))}else{if(!LI[h])return r?t:{};s=function(e,t,n){var i,a,r=e.constructor;switch(t){case"[object ArrayBuffer]":return gI(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return function(e,t){var n=t?gI(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(e,t){var n=t?gI(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return(a=new(i=e).constructor(i.source,yI.exec(i))).lastIndex=i.lastIndex,a;case"[object Set]":return new r;case"[object Symbol]":return kI?Object(kI.call(e)):{}}}(t,h,l)}}o||(o=new pP);var m=o.get(t);if(m)return m;o.set(t,s),SI(t)?t.forEach((function(a){s.add(e(a,n,i,a,t,o))})):MI(t)&&t.forEach((function(a,r){s.set(r,e(a,n,i,r,t,o))}));var p=d?void 0:(c?u?aI:iI:u?GP:UP)(t);return function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n););}(p||t,(function(a,r){p&&(a=t[r=a]),yP(s,r,e(a,n,i,r,t,o))})),s},AI=n("MO+k"),EI=[[255,99,132],[54,162,235],[255,206,86],[231,233,237],[75,192,192],[151,187,205],[220,220,220],[247,70,74],[70,191,189],[253,180,92],[148,159,177],[77,83,96]];function OI(e,t){return"rgba("+e.concat(t).join(",")+")"}function YI(e,t){return Math.floor(Math.random()*(t-e+1))+e}function PI(e){return{backgroundColor:e.map((function(e){return OI(e,.6)})),borderColor:e.map((function(){return"#fff"})),pointBackgroundColor:e.map((function(e){return OI(e,1)})),pointBorderColor:e.map((function(){return"#fff"})),pointHoverBackgroundColor:e.map((function(e){return OI(e,1)})),pointHoverBorderColor:e.map((function(e){return OI(e,1)}))}}function II(){return[YI(0,255),YI(0,255),YI(0,255)]}function RI(e){return EI[e]||II()}function FI(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=EI[n]||II();return t}var jI,HI,NI,zI=((jI=function(){return _createClass((function e(){_classCallCheck(this,e),this.pColorschemesOptions={},this.colorschemesOptions=new rM({})}),[{key:"setColorschemesOptions",value:function(e){this.pColorschemesOptions=e,this.colorschemesOptions.next(e)}},{key:"getColorschemesOptions",value:function(){return this.pColorschemesOptions}}])}()).\u0275fac=function(e){return new(e||jI)},jI.\u0275prov=fe({factory:function(){return new jI},token:jI,providedIn:"root"}),jI),VI=function(){var e={Default:0,Update:1,Refresh:2};return e[e.Default]="Default",e[e.Update]="Update",e[e.Refresh]="Refresh",e}(),BI=((NI=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.element=t,this.themeService=n,this.options={},this.chartClick=new Wl,this.chartHover=new Wl,this.old={dataExists:!1,dataLength:0,datasetsExists:!1,datasetsLength:0,datasetsDataObjects:[],datasetsDataLengths:[],colorsExists:!1,colors:[],labelsExist:!1,labels:[],legendExists:!1,legend:{}},this.subs=[]}),[{key:"ngOnInit",value:function(){var e=this;this.ctx=this.element.nativeElement.getContext("2d"),this.refresh(),this.subs.push(this.themeService.colorschemesOptions.subscribe((function(t){return e.themeChanged(t)})))}},{key:"themeChanged",value:function(e){this.refresh()}},{key:"ngDoCheck",value:function(){var e=this;if(this.chart){var t=VI.Default,n=function(e){t=e>t?e:t};switch(!!this.data!==this.old.dataExists&&(this.propagateDataToDatasets(this.data),this.old.dataExists=!!this.data,n(VI.Update)),this.data&&this.data.length!==this.old.dataLength&&(this.old.dataLength=this.data&&this.data.length||0,n(VI.Update)),!!this.datasets!==this.old.datasetsExists&&(this.old.datasetsExists=!!this.datasets,n(VI.Update)),this.datasets&&this.datasets.length!==this.old.datasetsLength&&(this.old.datasetsLength=this.datasets&&this.datasets.length||0,n(VI.Update)),this.datasets&&this.datasets.filter((function(t,n){return t.data!==e.old.datasetsDataObjects[n]})).length&&(this.old.datasetsDataObjects=this.datasets.map((function(e){return e.data})),n(VI.Update)),this.datasets&&this.datasets.filter((function(t,n){return t.data.length!==e.old.datasetsDataLengths[n]})).length&&(this.old.datasetsDataLengths=this.datasets.map((function(e){return e.data.length})),n(VI.Update)),!!this.colors!==this.old.colorsExists&&(this.old.colorsExists=!!this.colors,this.updateColors(),n(VI.Update)),this.colors&&this.colors.filter((function(t,n){return!e.colorsEqual(t,e.old.colors[n])})).length&&(this.old.colors=this.colors.map((function(t){return e.copyColor(t)})),this.updateColors(),n(VI.Update)),!!this.labels!==this.old.labelsExist&&(this.old.labelsExist=!!this.labels,n(VI.Update)),this.labels&&this.labels.filter((function(t,n){return!e.labelsEqual(t,e.old.labels[n])})).length&&(this.old.labels=this.labels.map((function(t){return e.copyLabel(t)})),n(VI.Update)),!!this.options.legend!==this.old.legendExists&&(this.old.legendExists=!!this.options.legend,n(VI.Refresh)),this.options.legend&&this.options.legend.position!==this.old.legend.position&&(this.old.legend.position=this.options.legend.position,n(VI.Refresh)),t){case VI.Default:break;case VI.Update:this.update();break;case VI.Refresh:this.refresh()}}}},{key:"copyLabel",value:function(e){return Array.isArray(e)?_toConsumableArray(e):e}},{key:"labelsEqual",value:function(e,t){return Array.isArray(e)===Array.isArray(t)&&(Array.isArray(e)||e===t)&&(!Array.isArray(e)||e.length===t.length)&&(!Array.isArray(e)||0===e.filter((function(e,n){return e!==t[n]})).length)}},{key:"copyColor",value:function(e){return{backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderColor:e.borderColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,pointBorderColor:e.pointBorderColor,pointBackgroundColor:e.pointBackgroundColor,pointBorderWidth:e.pointBorderWidth,pointRadius:e.pointRadius,pointHoverRadius:e.pointHoverRadius,pointHitRadius:e.pointHitRadius,pointHoverBackgroundColor:e.pointHoverBackgroundColor,pointHoverBorderColor:e.pointHoverBorderColor,pointHoverBorderWidth:e.pointHoverBorderWidth,pointStyle:e.pointStyle,hoverBackgroundColor:e.hoverBackgroundColor,hoverBorderColor:e.hoverBorderColor,hoverBorderWidth:e.hoverBorderWidth}}},{key:"colorsEqual",value:function(e,t){return!e==!t&&(!e||e.backgroundColor===t.backgroundColor&&e.borderWidth===t.borderWidth&&e.borderColor===t.borderColor&&e.borderCapStyle===t.borderCapStyle&&e.borderDash===t.borderDash&&e.borderDashOffset===t.borderDashOffset&&e.borderJoinStyle===t.borderJoinStyle&&e.pointBorderColor===t.pointBorderColor&&e.pointBackgroundColor===t.pointBackgroundColor&&e.pointBorderWidth===t.pointBorderWidth&&e.pointRadius===t.pointRadius&&e.pointHoverRadius===t.pointHoverRadius&&e.pointHitRadius===t.pointHitRadius&&e.pointHoverBackgroundColor===t.pointHoverBackgroundColor&&e.pointHoverBorderColor===t.pointHoverBorderColor&&e.pointHoverBorderWidth===t.pointHoverBorderWidth&&e.pointStyle===t.pointStyle&&e.hoverBackgroundColor===t.hoverBackgroundColor&&e.hoverBorderColor===t.hoverBorderColor&&e.hoverBorderWidth===t.hoverBorderWidth)}},{key:"updateColors",value:function(){var e=this;this.datasets.forEach((function(t,n){e.colors&&e.colors[n]?Object.assign(t,e.colors[n]):Object.assign(t,function(e,t,n){if("pie"===e||"doughnut"===e)return PI(FI(n));if("polarArea"===e)return{backgroundColor:(i=FI(n)).map((function(e){return OI(e,.6)})),borderColor:i.map((function(e){return OI(e,1)})),hoverBackgroundColor:i.map((function(e){return OI(e,.8)})),hoverBorderColor:i.map((function(e){return OI(e,1)}))};var i;if("line"===e||"radar"===e)return function(e){return{backgroundColor:OI(e,.4),borderColor:OI(e,1),pointBackgroundColor:OI(e,1),pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:OI(e,.8)}}(RI(t));if("bar"===e||"horizontalBar"===e)return function(e){return{backgroundColor:OI(e,.6),borderColor:OI(e,1),hoverBackgroundColor:OI(e,.8),hoverBorderColor:OI(e,1)}}(RI(t));if("bubble"===e)return PI(FI(n));if("scatter"===e)return PI(FI(n));throw new Error("getColors - Unsupported chart type: "+e)}(e.chartType,n,t.data.length),Object.assign({},t))}))}},{key:"ngOnChanges",value:function(e){var t=VI.Default,n=function(e){t=e>t?e:t};switch(e.hasOwnProperty("data")&&e.data.currentValue&&(this.propagateDataToDatasets(e.data.currentValue),n(VI.Update)),e.hasOwnProperty("datasets")&&e.datasets.currentValue&&(this.propagateDatasetsToData(e.datasets.currentValue),n(VI.Update)),e.hasOwnProperty("labels")&&(this.chart&&(this.chart.data.labels=e.labels.currentValue),n(VI.Update)),e.hasOwnProperty("legend")&&(this.chart&&(this.chart.config.options.legend.display=e.legend.currentValue,this.chart.generateLegend()),n(VI.Update)),e.hasOwnProperty("options")&&n(VI.Refresh),t){case VI.Update:this.update();break;case VI.Refresh:case VI.Default:this.refresh()}}},{key:"ngOnDestroy",value:function(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach((function(e){return e.unsubscribe()}))}},{key:"update",value:function(e){if(this.chart)return this.chart.update(e)}},{key:"hideDataset",value:function(e,t){this.chart.getDatasetMeta(e).hidden=t,this.chart.update()}},{key:"isDatasetHidden",value:function(e){return this.chart.getDatasetMeta(e).hidden}},{key:"toBase64Image",value:function(){return this.chart.toBase64Image()}},{key:"getChartConfiguration",value:function(){var e=this,t=this.getDatasets(),n=Object.assign({},this.options);!1===this.legend&&(n.legend={display:!1}),n.hover=n.hover||{},n.hover.onHover||(n.hover.onHover=function(t,n){n&&!n.length||e.chartHover.emit({event:t,active:n})}),n.onClick||(n.onClick=function(t,n){e.chartClick.emit({event:t,active:n})});var i=this.smartMerge(n,this.themeService.getColorschemesOptions());return{type:this.chartType,data:{labels:this.labels||[],datasets:t},plugins:this.plugins,options:i}}},{key:"getChartBuilder",value:function(e){var t=this.getChartConfiguration();return new AI.Chart(e,t)}},{key:"smartMerge",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(0===i&&(e=TI(e,5)),Object.keys(t).forEach((function(a){if(Array.isArray(t[a])){var r=e[a];r&&r.forEach((function(e){n.smartMerge(e,t[a][0],i+1)}))}else"object"==typeof t[a]?(a in e||(e[a]={}),n.smartMerge(e[a],t[a],i+1)):e[a]=t[a]})),0===i)return e}},{key:"isMultiLineLabel",value:function(e){return Array.isArray(e)}},{key:"joinLabel",value:function(e){return e?this.isMultiLineLabel(e)?e.join(" "):e:null}},{key:"propagateDatasetsToData",value:function(e){this.data=this.datasets.map((function(e){return e.data})),this.chart&&(this.chart.data.datasets=e),this.updateColors()}},{key:"propagateDataToDatasets",value:function(e){var t=this;this.isMultiDataSet(e)?this.datasets&&e.length===this.datasets.length?this.datasets.forEach((function(t,n){t.data=e[n]})):(this.datasets=e.map((function(e,n){return{data:e,label:t.joinLabel(t.labels[n])||"Label "+n}})),this.chart&&(this.chart.data.datasets=this.datasets)):this.datasets?(this.datasets[0]||(this.datasets[0]={}),this.datasets[0].data=e,this.datasets.splice(1)):(this.datasets=[{data:e}],this.chart&&(this.chart.data.datasets=this.datasets)),this.updateColors()}},{key:"isMultiDataSet",value:function(e){return Array.isArray(e[0])}},{key:"getDatasets",value:function(){if(!this.datasets&&!this.data)throw new Error("ng-charts configuration error, data or datasets field are required to render chart "+this.chartType);return this.datasets?(this.propagateDatasetsToData(this.datasets),this.datasets):this.data?(this.propagateDataToDatasets(this.data),this.datasets):void 0}},{key:"refresh",value:function(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.ctx&&(this.chart=this.getChartBuilder(this.ctx))}}],[{key:"registerPlugin",value:function(e){AI.pluginService.register(e)}},{key:"unregisterPlugin",value:function(e){AI.pluginService.unregister(e)}}])}()).\u0275fac=function(e){return new(e||NI)(To(qs),To(zI))},NI.\u0275dir=wt({type:NI,selectors:[["canvas","baseChart",""]],inputs:{options:"options",data:"data",datasets:"datasets",labels:"labels",chartType:"chartType",colors:"colors",legend:"legend",plugins:"plugins"},outputs:{chartClick:"chartClick",chartHover:"chartHover"},exportAs:["base-chart"],features:[Os]}),NI),WI=((HI=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:HI}),HI.\u0275inj=me({factory:function(e){return new(e||HI)},imports:[[]]}),HI),UI=[[["caption"]]],qI=["caption"];function GI(e){return function(e){function t(){var e;_classCallCheck(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return(e=_callSuper(this,t,[].concat(i)))._sticky=!1,e._hasStickyChanged=!1,e}return _inherits(t,e),_createClass(t,[{key:"sticky",get:function(){return this._sticky},set:function(e){var t=this._sticky;this._sticky=Eh(e),this._hasStickyChanged=t!==this._sticky}},{key:"hasStickyChanged",value:function(){var e=this._hasStickyChanged;return this._hasStickyChanged=!1,e}},{key:"resetStickyChanged",value:function(){this._hasStickyChanged=!1}}])}(e)}var ZI,JI,KI,QI,XI,$I,eR,tR,nR,iR,aR,rR,oR,sR,lR,uR=new Ve("CDK_TABLE"),cR=((KI=_createClass((function e(t){_classCallCheck(this,e),this.template=t}))).\u0275fac=function(e){return new(e||KI)(To(_l))},KI.\u0275dir=wt({type:KI,selectors:[["","cdkCellDef",""]]}),KI),dR=((JI=_createClass((function e(t){_classCallCheck(this,e),this.template=t}))).\u0275fac=function(e){return new(e||JI)(To(_l))},JI.\u0275dir=wt({type:JI,selectors:[["","cdkHeaderCellDef",""]]}),JI),hR=((ZI=_createClass((function e(t){_classCallCheck(this,e),this.template=t}))).\u0275fac=function(e){return new(e||ZI)(To(_l))},ZI.\u0275dir=wt({type:ZI,selectors:[["","cdkFooterCellDef",""]]}),ZI),fR=GI(_createClass((function e(){_classCallCheck(this,e)}))),mR=((QI=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t))._table=e,n._stickyEnd=!1,n}return _inherits(t,e),_createClass(t,[{key:"name",get:function(){return this._name},set:function(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"))}},{key:"stickyEnd",get:function(){return this._stickyEnd},set:function(e){var t=this._stickyEnd;this._stickyEnd=Eh(e),this._hasStickyChanged=t!==this._stickyEnd}}])}(fR)).\u0275fac=function(e){return new(e||QI)(To(uR,8))},QI.\u0275dir=wt({type:QI,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,n){var i;1&e&&(ru(n,cR,!0),ru(n,dR,!0),ru(n,hR,!0)),2&e&&(tu(i=lu())&&(t.cell=i.first),tu(i=lu())&&(t.headerCell=i.first),tu(i=lu())&&(t.footerCell=i.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Vs([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:QI}]),Ds]}),QI),pR=_createClass((function e(t,n){_classCallCheck(this,e),n.nativeElement.classList.add("cdk-column-"+t.cssClassFriendlyName)})),_R=((tR=function(e){function t(e,n){return _classCallCheck(this,t),_callSuper(this,t,[e,n])}return _inherits(t,e),_createClass(t)}(pR)).\u0275fac=function(e){return new(e||tR)(To(mR),To(qs))},tR.\u0275dir=wt({type:tR,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Ds]}),tR),vR=((eR=function(e){function t(e,n){return _classCallCheck(this,t),_callSuper(this,t,[e,n])}return _inherits(t,e),_createClass(t)}(pR)).\u0275fac=function(e){return new(e||eR)(To(mR),To(qs))},eR.\u0275dir=wt({type:eR,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:["role","gridcell",1,"cdk-footer-cell"],features:[Ds]}),eR),gR=(($I=function(e){function t(e,n){return _classCallCheck(this,t),_callSuper(this,t,[e,n])}return _inherits(t,e),_createClass(t)}(pR)).\u0275fac=function(e){return new(e||$I)(To(mR),To(qs))},$I.\u0275dir=wt({type:$I,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[Ds]}),$I),yR=((XI=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.template=t,this._differs=n}),[{key:"ngOnChanges",value:function(e){if(!this._columnsDiffer){var t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}},{key:"getColumnsDiff",value:function(){return this._columnsDiffer.diff(this.columns)}},{key:"extractCellTemplate",value:function(e){return this instanceof kR?e.headerCell.template:this instanceof CR?e.footerCell.template:e.cell.template}}])}()).\u0275fac=function(e){return new(e||XI)(To(_l),To(dl))},XI.\u0275dir=wt({type:XI,features:[Os]}),XI),bR=GI(function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(yR)),kR=((nR=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t,[e,n]))._table=i,a}return _inherits(t,e),_createClass(t,[{key:"ngOnChanges",value:function(e){_superPropGet(t,"ngOnChanges",this,3)([e])}}])}(bR)).\u0275fac=function(e){return new(e||nR)(To(_l),To(dl),To(uR,8))},nR.\u0275dir=wt({type:nR,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[Ds,Os]}),nR),wR=GI(function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(yR)),CR=((lR=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t,[e,n]))._table=i,a}return _inherits(t,e),_createClass(t,[{key:"ngOnChanges",value:function(e){_superPropGet(t,"ngOnChanges",this,3)([e])}}])}(wR)).\u0275fac=function(e){return new(e||lR)(To(_l),To(dl),To(uR,8))},lR.\u0275dir=wt({type:lR,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[Ds,Os]}),lR),xR=((sR=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t,[e,n]))._table=i,a}return _inherits(t,e),_createClass(t)}(yR)).\u0275fac=function(e){return new(e||sR)(To(_l),To(dl),To(uR,8))},sR.\u0275dir=wt({type:sR,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[Ds]}),sR),MR=((oR=function(){function e(t){_classCallCheck(this,e),this._viewContainer=t,e.mostRecentCellOutlet=this}return _createClass(e,[{key:"ngOnDestroy",value:function(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}}])}()).\u0275fac=function(e){return new(e||oR)(To(gl))},oR.\u0275dir=wt({type:oR,selectors:[["","cdkCellOutlet",""]]}),oR.mostRecentCellOutlet=null,oR),DR=((rR=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||rR)},rR.\u0275cmp=_t({type:rR,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ho(0,0)},directives:[MR],encapsulation:2}),rR),SR=((aR=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||aR)},aR.\u0275cmp=_t({type:aR,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ho(0,0)},directives:[MR],encapsulation:2}),aR),LR=((iR=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||iR)},iR.\u0275cmp=_t({type:iR,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ho(0,0)},directives:[MR],encapsulation:2}),iR),TR=["top","bottom","left","right"],AR=function(){return _createClass((function e(t,n,i){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];_classCallCheck(this,e),this._isNativeHtmlTable=t,this._stickCellCss=n,this.direction=i,this._isBrowser=a}),[{key:"clearStickyPositioning",value:function(e,t){var n,i=_createForOfIteratorHelper(e);try{for(i.s();!(n=i.n()).done;){var a=n.value;if(a.nodeType===a.ELEMENT_NODE){this._removeStickyStyle(a,t);for(var r=0;r<a.children.length;r++)this._removeStickyStyle(a.children[r],t)}}}catch(o){i.e(o)}finally{i.f()}}},{key:"updateStickyColumns",value:function(e,t,n){var i=t.some((function(e){return e}))||n.some((function(e){return e}));if(e.length&&i&&this._isBrowser){var a,r=e[0],o=r.children.length,s=this._getCellWidths(r),l=this._getStickyStartColumnPositions(s,t),u=this._getStickyEndColumnPositions(s,n),c="rtl"===this.direction,d=_createForOfIteratorHelper(e);try{for(d.s();!(a=d.n()).done;)for(var h=a.value,f=0;f<o;f++){var m=h.children[f];t[f]&&this._addStickyStyle(m,c?"right":"left",l[f]),n[f]&&this._addStickyStyle(m,c?"left":"right",u[f])}}catch(p){d.e(p)}finally{d.f()}}}},{key:"stickRows",value:function(e,t,n){if(this._isBrowser)for(var i="bottom"===n?e.reverse():e,a=0,r=0;r<i.length;r++)if(t[r]){var o=i[r];if(this._isNativeHtmlTable)for(var s=0;s<o.children.length;s++)this._addStickyStyle(o.children[s],n,a);else this._addStickyStyle(o,n,a);if(r===i.length-1)return;a+=o.getBoundingClientRect().height}}},{key:"updateStickyFooterContainer",value:function(e,t){if(this._isNativeHtmlTable){var n=e.querySelector("tfoot");t.some((function(e){return!e}))?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0)}}},{key:"_removeStickyStyle",value:function(e,t){var n,i=_createForOfIteratorHelper(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;e.style[a]=""}}catch(r){i.e(r)}finally{i.f()}e.style.zIndex=this._getCalculatedZIndex(e),TR.some((function(t){return!!e.style[t]}))||(e.style.position="",e.classList.remove(this._stickCellCss))}},{key:"_addStickyStyle",value:function(e,t,n){e.classList.add(this._stickCellCss),e.style[t]=n+"px",e.style.cssText+="position: -webkit-sticky; position: sticky; ",e.style.zIndex=this._getCalculatedZIndex(e)}},{key:"_getCalculatedZIndex",value:function(e){for(var t={top:100,bottom:10,left:1,right:1},n=0,i=0,a=TR;i<a.length;i++){var r=a[i];e.style[r]&&(n+=t[r])}return n?""+n:""}},{key:"_getCellWidths",value:function(e){for(var t=[],n=e.children,i=0;i<n.length;i++)t.push(n[i].getBoundingClientRect().width);return t}},{key:"_getStickyStartColumnPositions",value:function(e,t){for(var n=[],i=0,a=0;a<e.length;a++)t[a]&&(n[a]=i,i+=e[a]);return n}},{key:"_getStickyEndColumnPositions",value:function(e,t){for(var n=[],i=0,a=e.length;a>0;a--)t[a]&&(n[a]=i,i+=e[a]);return n}}])}();function ER(e){return Error('Could not find column with id "'.concat(e,'".'))}var OR,YR,PR,IR,RR=((IR=_createClass((function e(t,n){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=n}))).\u0275fac=function(e){return new(e||IR)(To(gl),To(qs))},IR.\u0275dir=wt({type:IR,selectors:[["","rowOutlet",""]]}),IR),FR=((PR=_createClass((function e(t,n){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=n}))).\u0275fac=function(e){return new(e||PR)(To(gl),To(qs))},PR.\u0275dir=wt({type:PR,selectors:[["","headerRowOutlet",""]]}),PR),jR=((YR=_createClass((function e(t,n){_classCallCheck(this,e),this.viewContainer=t,this.elementRef=n}))).\u0275fac=function(e){return new(e||YR)(To(gl),To(qs))},YR.\u0275dir=wt({type:YR,selectors:[["","footerRowOutlet",""]]}),YR),HR=((OR=function(){return _createClass((function e(t,n,i,a,r,o,s){_classCallCheck(this,e),this._differs=t,this._changeDetectorRef=n,this._elementRef=i,this._dir=r,this._platform=s,this._onDestroy=new L,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new rM({start:0,end:Number.MAX_VALUE}),a||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}),[{key:"trackBy",get:function(){return this._trackByFn},set:function(e){Li()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received ".concat(JSON.stringify(e),".")),this._trackByFn=e}},{key:"dataSource",get:function(){return this._dataSource},set:function(e){this._dataSource!==e&&this._switchDataSource(e)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows},set:function(e){this._multiTemplateDataRows=Eh(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()}},{key:"ngOnInit",value:function(){var e=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((function(t,n){return e.trackBy?e.trackBy(n.dataIndex,n.data):n}))}},{key:"ngAfterContentChecked",value:function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Qf(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var e=this;this._renderRows=this._getAllRenderRows();var t=this._dataDiffer.diff(this._renderRows);if(t){var n=this._rowOutlet.viewContainer;t.forEachOperation((function(t,i,a){if(null==t.previousIndex)e._insertRow(t.item,a);else if(null==a)n.remove(i);else{var r=n.get(i);n.move(r,a)}})),this._updateRowIndexContext(),t.forEachIdentityChange((function(e){n.get(e.currentIndex).context.$implicit=e.item.data})),this.updateStickyColumnStyles()}}},{key:"setHeaderRowDef",value:function(e){this._customHeaderRowDefs=new Set([e]),this._headerRowDefChanged=!0}},{key:"setFooterRowDef",value:function(e){this._customFooterRowDefs=new Set([e]),this._footerRowDefChanged=!0}},{key:"addColumnDef",value:function(e){this._customColumnDefs.add(e)}},{key:"removeColumnDef",value:function(e){this._customColumnDefs.delete(e)}},{key:"addRowDef",value:function(e){this._customRowDefs.add(e)}},{key:"removeRowDef",value:function(e){this._customRowDefs.delete(e)}},{key:"addHeaderRowDef",value:function(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}},{key:"updateStickyHeaderRowStyles",value:function(){var e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");var n=this._headerRowDefs.map((function(e){return e.sticky}));this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,n,"top"),this._headerRowDefs.forEach((function(e){return e.resetStickyChanged()}))}},{key:"updateStickyFooterRowStyles",value:function(){var e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");var n=this._footerRowDefs.map((function(e){return e.sticky}));this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach((function(e){return e.resetStickyChanged()}))}},{key:"updateStickyColumnStyles",value:function(){var e=this,t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([].concat(_toConsumableArray(t),_toConsumableArray(n),_toConsumableArray(i)),["left","right"]),t.forEach((function(t,n){e._addStickyColumnStyles([t],e._headerRowDefs[n])})),this._rowDefs.forEach((function(t){for(var i=[],a=0;a<n.length;a++)e._renderRows[a].rowDef===t&&i.push(n[a]);e._addStickyColumnStyles(i,t)})),i.forEach((function(t,n){e._addStickyColumnStyles([t],e._footerRowDefs[n])})),Array.from(this._columnDefsByName.values()).forEach((function(e){return e.resetStickyChanged()}))}},{key:"_getAllRenderRows",value:function(){var e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var n=0;n<this._data.length;n++){var i=this._data[n],a=this._getRenderRowsForData(i,n,t.get(i));this._cachedRenderRowsMap.has(i)||this._cachedRenderRowsMap.set(i,new WeakMap);for(var r=0;r<a.length;r++){var o=a[r],s=this._cachedRenderRowsMap.get(o.data);s.has(o.rowDef)?s.get(o.rowDef).push(o):s.set(o.rowDef,[o]),e.push(o)}}return e}},{key:"_getRenderRowsForData",value:function(e,t,n){return this._getRowDefs(e,t).map((function(i){var a=n&&n.has(i)?n.get(i):[];if(a.length){var r=a.shift();return r.dataIndex=t,r}return{data:e,rowDef:i,dataIndex:t}}))}},{key:"_cacheColumnDefs",value:function(){var e=this;this._columnDefsByName.clear(),NR(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach((function(t){if(e._columnDefsByName.has(t.name))throw Error('Duplicate column definition name provided: "'.concat(t.name,'".'));e._columnDefsByName.set(t.name,t)}))}},{key:"_cacheRowDefs",value:function(){this._headerRowDefs=NR(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=NR(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=NR(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);var e=this._rowDefs.filter((function(e){return!e.when}));if(!this.multiTemplateDataRows&&e.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=e[0]}},{key:"_renderUpdatedColumns",value:function(){var e=function(e,t){return e||!!t.getColumnsDiff()};this._rowDefs.reduce(e,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(e,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(e,!1)&&this._forceRenderFooterRows()}},{key:"_switchDataSource",value:function(e){this._data=[],Qf(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}},{key:"_observeRenderChanges",value:function(){var e=this;if(this.dataSource){var t,n;if(Qf(this.dataSource)?t=this.dataSource.connect(this):(n=this.dataSource)&&(n instanceof w||"function"==typeof n.lift&&"function"==typeof n.subscribe)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=uh(this.dataSource)),void 0===t)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(Ff(this._onDestroy)).subscribe((function(t){e._data=t||[],e.renderRows()}))}}},{key:"_forceRenderHeaderRows",value:function(){var e=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((function(t,n){return e._renderRow(e._headerRowOutlet,t,n)})),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}},{key:"_forceRenderFooterRows",value:function(){var e=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((function(t,n){return e._renderRow(e._footerRowOutlet,t,n)})),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}},{key:"_addStickyColumnStyles",value:function(e,t){var n=this,i=Array.from(t.columns||[]).map((function(e){var t=n._columnDefsByName.get(e);if(!t)throw ER(e);return t})),a=i.map((function(e){return e.sticky})),r=i.map((function(e){return e.stickyEnd}));this._stickyStyler.updateStickyColumns(e,a,r)}},{key:"_getRenderedRows",value:function(e){for(var t=[],n=0;n<e.viewContainer.length;n++){var i=e.viewContainer.get(n);t.push(i.rootNodes[0])}return t}},{key:"_getRowDefs",value:function(e,t){if(1==this._rowDefs.length)return[this._rowDefs[0]];var n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter((function(n){return!n.when||n.when(t,e)}));else{var i=this._rowDefs.find((function(n){return n.when&&n.when(t,e)}))||this._defaultRowDef;i&&n.push(i)}if(!n.length)throw function(e){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(e))}(e);return n}},{key:"_insertRow",value:function(e,t){this._renderRow(this._rowOutlet,e.rowDef,t,{$implicit:e.data})}},{key:"_renderRow",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e.viewContainer.createEmbeddedView(t.template,i,n);var a,r=_createForOfIteratorHelper(this._getCellTemplates(t));try{for(r.s();!(a=r.n()).done;){var o=a.value;MR.mostRecentCellOutlet&&MR.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,i)}}catch(s){r.e(s)}finally{r.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var e=this._rowOutlet.viewContainer,t=0,n=e.length;t<n;t++){var i=e.get(t).context;i.count=n,i.first=0===t,i.last=t===n-1,i.even=t%2==0,i.odd=!i.even,this.multiTemplateDataRows?(i.dataIndex=this._renderRows[t].dataIndex,i.renderIndex=t):i.index=this._renderRows[t].dataIndex}}},{key:"_getCellTemplates",value:function(e){var t=this;return e&&e.columns?Array.from(e.columns,(function(n){var i=t._columnDefsByName.get(n);if(!i)throw ER(n);return e.extractCellTemplate(i)})):[]}},{key:"_applyNativeTableSections",value:function(){for(var e=this._document.createDocumentFragment(),t=0,n=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];t<n.length;t++){var i=n[t],a=this._document.createElement(i.tag);a.setAttribute("role","rowgroup"),a.appendChild(i.outlet.elementRef.nativeElement),e.appendChild(a)}this._elementRef.nativeElement.appendChild(e)}},{key:"_forceRenderDataRows",value:function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()}},{key:"_checkStickyStates",value:function(){var e=function(e,t){return e||t.hasStickyChanged()};this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&this.updateStickyColumnStyles()}},{key:"_setupStickyStyler",value:function(){var e=this;this._stickyStyler=new AR(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:uh()).pipe(Ff(this._onDestroy)).subscribe((function(t){e._stickyStyler.direction=t,e.updateStickyColumnStyles()}))}},{key:"_getOwnDefs",value:function(e){var t=this;return e.filter((function(e){return!e._table||e._table===t}))}}])}()).\u0275fac=function(e){return new(e||OR)(To(dl),To(Gr),To(qs),Ao("role"),To(Jf,8),To(mc),To(ih))},OR.\u0275cmp=_t({type:OR,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,n){var i;1&e&&(ru(n,mR,!0),ru(n,xR,!0),ru(n,kR,!0),ru(n,CR,!0)),2&e&&(tu(i=lu())&&(t._contentColumnDefs=i),tu(i=lu())&&(t._contentRowDefs=i),tu(i=lu())&&(t._contentHeaderRowDefs=i),tu(i=lu())&&(t._contentFooterRowDefs=i))},viewQuery:function(e,t){var n;1&e&&(nu(RR,!0),nu(FR,!0),nu(jR,!0)),2&e&&(tu(n=lu())&&(t._rowOutlet=n.first),tu(n=lu())&&(t._headerRowOutlet=n.first),tu(n=lu())&&(t._footerRowOutlet=n.first))},hostAttrs:[1,"cdk-table"],inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows"},exportAs:["cdkTable"],features:[Vs([{provide:uR,useExisting:OR}])],ngContentSelectors:qI,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(Ko(UI),Qo(0),Ho(1,0),Ho(2,1),Ho(3,2))},directives:[FR,RR,jR],encapsulation:2}),OR);function NR(e,t){return e.concat(Array.from(t))}var zR,VR,BR,WR,UR,qR,GR,ZR,JR,KR,QR,XR,$R,eF,tF,nF,iF=((zR=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:zR}),zR.\u0275inj=me({factory:function(e){return new(e||zR)}}),zR),aF=[[["caption"]]],rF=["caption"],oF=((VR=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).stickyCssClass="mat-table-sticky",e}return _inherits(t,e),_createClass(t)}(HR)).\u0275fac=function(e){return sF(e||VR)},VR.\u0275cmp=_t({type:VR,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],exportAs:["matTable"],features:[Vs([{provide:HR,useExisting:VR},{provide:uR,useExisting:VR}]),Ds],ngContentSelectors:rF,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(Ko(aF),Qo(0),Ho(1,0),Ho(2,1),Ho(3,2))},directives:[FR,RR,jR],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type,[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type,[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}\n'],encapsulation:2}),VR),sF=hi(oF),lF=((BR=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(cR)).\u0275fac=function(e){return uF(e||BR)},BR.\u0275dir=wt({type:BR,selectors:[["","matCellDef",""]],features:[Vs([{provide:cR,useExisting:BR}]),Ds]}),BR),uF=hi(lF),cF=((WR=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(dR)).\u0275fac=function(e){return dF(e||WR)},WR.\u0275dir=wt({type:WR,selectors:[["","matHeaderCellDef",""]],features:[Vs([{provide:dR,useExisting:WR}]),Ds]}),WR),dF=hi(cF),hF=((UR=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(hR)).\u0275fac=function(e){return fF(e||UR)},UR.\u0275dir=wt({type:UR,selectors:[["","matFooterCellDef",""]],features:[Vs([{provide:hR,useExisting:UR}]),Ds]}),UR),fF=hi(hF),mF=((qR=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(mR)).\u0275fac=function(e){return pF(e||qR)},qR.\u0275dir=wt({type:qR,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Vs([{provide:mR,useExisting:qR},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:qR}]),Ds]}),qR),pF=hi(mF),_F=((KR=function(e){function t(e,n){var i;return _classCallCheck(this,t),i=_callSuper(this,t,[e,n]),n.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),i}return _inherits(t,e),_createClass(t)}(_R)).\u0275fac=function(e){return new(e||KR)(To(mR),To(qs))},KR.\u0275dir=wt({type:KR,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[Ds]}),KR),vF=((JR=function(e){function t(e,n){var i;return _classCallCheck(this,t),i=_callSuper(this,t,[e,n]),n.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),i}return _inherits(t,e),_createClass(t)}(vR)).\u0275fac=function(e){return new(e||JR)(To(mR),To(qs))},JR.\u0275dir=wt({type:JR,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[Ds]}),JR),gF=((ZR=function(e){function t(e,n){var i;return _classCallCheck(this,t),i=_callSuper(this,t,[e,n]),n.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),i}return _inherits(t,e),_createClass(t)}(gR)).\u0275fac=function(e){return new(e||ZR)(To(mR),To(qs))},ZR.\u0275dir=wt({type:ZR,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[Ds]}),ZR),yF=((GR=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(kR)).\u0275fac=function(e){return bF(e||GR)},GR.\u0275dir=wt({type:GR,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Vs([{provide:kR,useExisting:GR}]),Ds]}),GR),bF=hi(yF),kF=((QR=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(CR)).\u0275fac=function(e){return wF(e||QR)},QR.\u0275dir=wt({type:QR,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[Vs([{provide:CR,useExisting:QR}]),Ds]}),QR),wF=hi(kF),CF=((XR=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(xR)).\u0275fac=function(e){return xF(e||XR)},XR.\u0275dir=wt({type:XR,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Vs([{provide:xR,useExisting:XR}]),Ds]}),XR),xF=hi(CF),MF=(($R=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(DR)).\u0275fac=function(e){return DF(e||$R)},$R.\u0275cmp=_t({type:$R,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Vs([{provide:DR,useExisting:$R}]),Ds],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ho(0,0)},directives:[MR],encapsulation:2}),$R),DF=hi(MF),SF=((eF=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(SR)).\u0275fac=function(e){return LF(e||eF)},eF.\u0275cmp=_t({type:eF,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[Vs([{provide:SR,useExisting:eF}]),Ds],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ho(0,0)},directives:[MR],encapsulation:2}),eF),LF=hi(SF),TF=((tF=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(LR)).\u0275fac=function(e){return AF(e||tF)},tF.\u0275cmp=_t({type:tF,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Vs([{provide:LR,useExisting:tF}]),Ds],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ho(0,0)},directives:[MR],encapsulation:2}),tF),AF=hi(TF),EF=((nF=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:nF}),nF.\u0275inj=me({factory:function(e){return new(e||nF)},imports:[[iF,Fg],Fg]}),nF),OF=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return _classCallCheck(this,t),(e=_callSuper(this,t))._renderData=new rM([]),e._filter=new rM(""),e._internalPageChanges=new L,e._renderChangesSubscription=h.EMPTY,e.sortingDataAccessor=function(e,t){var n=e[t];if(Yh(n)){var i=Number(n);return i<9007199254740991?i:n}return n},e.sortData=function(t,n){var i=n.active,a=n.direction;return i&&""!=a?t.sort((function(t,n){var r=e.sortingDataAccessor(t,i),o=e.sortingDataAccessor(n,i),s=0;return null!=r&&null!=o?r>o?s=1:r<o&&(s=-1):null!=r?s=1:null!=o&&(s=-1),s*("asc"==a?1:-1)})):t},e.filterPredicate=function(e,t){var n=Object.keys(e).reduce((function(t,n){return t+e[n]+"\u25ec"}),"").toLowerCase(),i=t.trim().toLowerCase();return-1!=n.indexOf(i)},e._data=new rM(n),e._updateChangeSubscription(),e}return _inherits(t,e),_createClass(t,[{key:"data",get:function(){return this._data.value},set:function(e){this._data.next(e)}},{key:"filter",get:function(){return this._filter.value},set:function(e){this._filter.next(e)}},{key:"sort",get:function(){return this._sort},set:function(e){this._sort=e,this._updateChangeSubscription()}},{key:"paginator",get:function(){return this._paginator},set:function(e){this._paginator=e,this._updateChangeSubscription()}},{key:"_updateChangeSubscription",value:function(){var e=this,t=this._sort?J(this._sort.sortChange,this._sort.initialized):uh(null),n=this._paginator?J(this._paginator.page,this._internalPageChanges,this._paginator.initialized):uh(null),i=sM([this._data,this._filter]).pipe(H((function(t){var n=_slicedToArray(t,1)[0];return e._filterData(n)}))),a=sM([i,t]).pipe(H((function(t){var n=_slicedToArray(t,1)[0];return e._orderData(n)}))),r=sM([a,n]).pipe(H((function(t){var n=_slicedToArray(t,1)[0];return e._pageData(n)})));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=r.subscribe((function(t){return e._renderData.next(t)}))}},{key:"_filterData",value:function(e){var t=this;return this.filteredData=this.filter?e.filter((function(e){return t.filterPredicate(e,t.filter)})):e,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}},{key:"_orderData",value:function(e){return this.sort?this.sortData(e.slice(),this.sort):e}},{key:"_pageData",value:function(e){if(!this.paginator)return e;var t=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(t,t+this.paginator.pageSize)}},{key:"_updatePaginator",value:function(e){var t=this;Promise.resolve().then((function(){var n=t.paginator;if(n&&(n.length=e,n.pageIndex>0)){var i=Math.ceil(n.length/n.pageSize)-1||0,a=Math.min(n.pageIndex,i);a!==n.pageIndex&&(n.pageIndex=a,t._internalPageChanges.next())}}))}},{key:"connect",value:function(){return this._renderData}},{key:"disconnect",value:function(){}}])}(_createClass((function e(){_classCallCheck(this,e)})));function YF(e,t){if(1&e&&(Po(0,"div",7),Ro(1,"canvas",8),Io()),2&e){var n=Zo();ya(1),Oo("datasets",n.barChartData)("labels",n.barChartLabels)("options",n.barChartOptions)("plugins",n.barChartPlugins)("legend",n.barChartLegend)("chartType",n.barChartBar)}}function PF(e,t){if(1&e&&(Po(0,"div",7),Ro(1,"canvas",8),Io()),2&e){var n=Zo();ya(1),Oo("datasets",n.barChartData)("labels",n.barChartLabels)("options",n.barChartOptions)("plugins",n.barChartPlugins)("legend",n.barChartLegend)("chartType",n.barChartHorizontal)}}function IF(e,t){1&e&&(Po(0,"th",23),ys(1,"Gain"),Io())}function RF(e,t){if(1&e&&(Po(0,"td",24),ys(1),Io()),2&e){var n=t.$implicit;ya(1),ks(" ",n.gain," ")}}function FF(e,t){1&e&&(Po(0,"td",25),ys(1,"Totale"),Io())}function jF(e,t){1&e&&(Po(0,"th",26),ys(1,"Utilis\xe9"),Io())}function HF(e,t){if(1&e&&(Po(0,"td",27),ys(1),Io()),2&e){var n=t.$implicit;ya(1),ks(" ",n.used," ")}}function NF(e,t){if(1&e&&(Po(0,"td",28),ys(1),Io()),2&e){var n=Zo(2);ya(1),ks(" ",n.getUsed()," ")}}function zF(e,t){1&e&&(Po(0,"th",26),ys(1,"Server"),Io())}function VF(e,t){if(1&e&&(Po(0,"td",27),ys(1),Io()),2&e){var n=t.$implicit;ya(1),ks(" ",n.served," ")}}function BF(e,t){if(1&e&&(Po(0,"td",28),ys(1),Io()),2&e){var n=Zo(2);ya(1),ks(" ",n.getServed()," ")}}function WF(e,t){1&e&&(Po(0,"th",26),ys(1,"Totalit\xe9"),Io())}function UF(e,t){if(1&e&&(Po(0,"td",27),ys(1),Io()),2&e){var n=t.$implicit;ya(1),ks(" ",n.total," ")}}function qF(e,t){if(1&e&&(Po(0,"td",28),ys(1),Io()),2&e){var n=Zo(2);ya(1),ks(" ",n.getTotal()," ")}}function GF(e,t){1&e&&Ro(0,"tr",29)}function ZF(e,t){1&e&&Ro(0,"tr",30)}function JF(e,t){1&e&&Ro(0,"tr",31)}function KF(e,t){if(1&e&&(Po(0,"table",9),Fo(1,10),So(2,IF,2,0,"th",11),So(3,RF,2,1,"td",12),So(4,FF,2,0,"td",13),jo(),Fo(5,14),So(6,jF,2,0,"th",15),So(7,HF,2,1,"td",16),So(8,NF,2,1,"td",17),jo(),Fo(9,18),So(10,zF,2,0,"th",15),So(11,VF,2,1,"td",16),So(12,BF,2,1,"td",17),jo(),Fo(13,19),So(14,WF,2,0,"th",15),So(15,UF,2,1,"td",16),So(16,qF,2,1,"td",17),jo(),So(17,GF,1,0,"tr",20),So(18,ZF,1,0,"tr",21),So(19,JF,1,0,"tr",22),Io()),2&e){var n=Zo();Oo("dataSource",n.statisticArray),ya(17),Oo("matHeaderRowDef",n.displayedColumns),ya(1),Oo("matRowDefColumns",n.displayedColumns),ya(1),Oo("matFooterRowDef",n.displayedColumns)}}var QF,XF,$F=((XF=function(){return _createClass((function e(t){_classCallCheck(this,e),this.StatisticService=t,this.statisticArray=[],this.barChartData=[],this.isFoo=!0,this.barChartOptions={responsive:!0},this.barChartLabels=["Une entr\xe9e ou un dessert au choix","Un burger au choix","Un menu du jour","Un menu au choix","70% de r\xe9duction"],this.barChartBar="bar",this.barChartHorizontal="horizontalBar",this.barChartLegend=!0,this.barChartPlugins=[],this.displayedColumns=["gain","used","served","total"]}),[{key:"ngOnInit",value:function(){this.subscribeToStatistic()}},{key:"subscribeToStatistic",value:function(){var e=this;this.StatisticService.getStatistic().subscribe((function(t){e.statisticArray=t.data,e.barChartData=[{data:e.statisticArray.map((function(e){return e.total})),label:"totalit\xe9"},{data:e.statisticArray.map((function(e){return e.used})),label:"utiliser"},{data:e.statisticArray.map((function(e){return e.served})),label:"server"}]}))}},{key:"getTotal",value:function(){return this.statisticArray.map((function(e){return e.total})).reduce((function(e,t){return e+t}),0)}},{key:"getUsed",value:function(){return this.statisticArray.map((function(e){return e.used})).reduce((function(e,t){return e+t}),0)}},{key:"getServed",value:function(){return this.statisticArray.map((function(e){return e.served})).reduce((function(e,t){return e+t}),0)}},{key:"getBtnText",value:function(){return this.isFoo?"diagramme \xe0 bandes horizontales":"diagramme \xe0 bandes verticales"}}])}()).\u0275fac=function(e){return new(e||XF)(To(PY))},XF.\u0275cmp=_t({type:XF,selectors:[["app-statistic"]],decls:11,vars:4,consts:[[1,"container","navtop"],[1,"mb-5"],[1,"row","justify-content-center"],["class","col-sm-12 col-lg-8",4,"ngIf"],["mat-raised-button","","color","primary",1,"mt-4",3,"click"],[1,"row","justify-content-center","my-5"],["mat-table","","class","mat-elevation-z8 col-11 col-lg-8",3,"dataSource",4,"ngIf"],[1,"col-sm-12","col-lg-8"],["baseChart","",3,"datasets","labels","options","plugins","legend","chartType"],["mat-table","",1,"mat-elevation-z8","col-11","col-lg-8",3,"dataSource"],["matColumnDef","gain"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","text-left",4,"matCellDef"],["mat-footer-cell","","class","text-left",4,"matFooterCellDef"],["matColumnDef","used"],["mat-header-cell","","class","text-center",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-footer-cell","",4,"matFooterCellDef"],["matColumnDef","served"],["matColumnDef","total"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-footer-row","",4,"matFooterRowDef"],["mat-header-cell",""],["mat-cell","",1,"text-left"],["mat-footer-cell","",1,"text-left"],["mat-header-cell","",1,"text-center"],["mat-cell",""],["mat-footer-cell",""],["mat-header-row",""],["mat-row",""],["mat-footer-row",""]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"h1",1),ys(2,"Statistiques du jeux"),Io(),Po(3,"div",2),So(4,YF,2,6,"div",3),Io(),Po(5,"div",2),So(6,PF,2,6,"div",3),Io(),Po(7,"button",4),Bo("click",(function(){return t.isFoo=!t.isFoo})),ys(8),Io(),Po(9,"div",5),So(10,KF,20,4,"table",6),Io(),Io()),2&e&&(ya(4),Oo("ngIf",t.isFoo),ya(2),Oo("ngIf",!t.isFoo),ya(2),bs(t.getBtnText()),ya(2),Oo("ngIf",t.statisticArray))},directives:[kd,Zy,BI,oF,mF,cF,lF,hF,yF,CF,kF,_F,gF,vF,MF,TF,SF],styles:[".navtop[_ngcontent-%COMP%]{margin-top:3em}tr.mat-footer-row[_ngcontent-%COMP%]{font-weight:700}"]}),XF),ej=((QF=function(){return _createClass((function e(t){_classCallCheck(this,e),this.http=t,this.apiUrl=cc}),[{key:"getUsers",value:function(e,t,n,i,a,r,o,s){return null===n&&(n=""),null===i&&(i=""),null===a&&(a=""),null===r&&(r=""),null===o&&(o=""),null===s&&(s=""),this.http.get("".concat(this.apiUrl,"/api/users/?page=").concat(e,"&limit=").concat(t,"\n &lastname=").concat(n,"&firstname=").concat(i,"&email=").concat(a,"&adress=").concat(r,"&startregister=").concat(o,"&endregister=").concat(s))}},{key:"getOneUser",value:function(e){return this.http.get("".concat(this.apiUrl,"/api/").concat(e))}},{key:"editOneUser",value:function(e,t){return console.log("url ========",this.apiUrl),this.http.patch("".concat(this.apiUrl,"/api/users/").concat(e),t)}},{key:"deleteOneUser",value:function(e){return this.http.delete("".concat(this.apiUrl,"/api/users/").concat(e))}},{key:"verifyLotUser",value:function(e,t){return console.log("toto"),this.http.post("".concat(this.apiUrl,"/api/users/gain?id=").concat(e),t)}},{key:"updateUserGains",value:function(e,t){return this.http.put("".concat(this.apiUrl,"/api/users/").concat(e,"/gains"),{gains:t})}}])}()).\u0275fac=function(e){return new(e||QF)(Qe(dD))},QF.\u0275prov=fe({token:QF,factory:QF.\u0275fac,providedIn:"root"}),QF);function tj(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorEmail()," ")}}function nj(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorPassword()," ")}}var ij,aj=((ij=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this.element=t,this.dialogRef=n,this.formBuilder=i,this.usersService=a,this.submitted=!1,this.user=this.element}),[{key:"ngOnInit",value:function(){this.createForm()}},{key:"createForm",value:function(){this.formGroup=this.formBuilder.group({email:[null,[Kb.required,Kb.pattern(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)]],password:[null,[Kb.required,this.checkPassword]]})}},{key:"checkPassword",value:function(e){var t=e.value;return!/^(?=.*[A-Z])(?=.*[a-z])(?=.{8,})/.test(t)&&t?{requirements:!0}:null}},{key:"getErrorEmail",value:function(){return this.formGroup.get("email").hasError("required")?"Adresse email requise":this.formGroup.get("email").hasError("pattern")?"Adresse email non valide":""}},{key:"getErrorPassword",value:function(){return this.formGroup.get("password").hasError("required")?"Mot de passe requis":this.formGroup.get("password").hasError("requirements")?"Le mot de passe doit comporter au moins 8 caract\xe8res, une lettre majuscule, une lettre majuscule":""}},{key:"updateProfil",value:function(){this.submitted=!0,this.formGroup.invalid||this.usersService.editOneUser(this.element._id,this.formGroup.value).subscribe((function(e){console.log(e)}),(function(e){}))}},{key:"onConfirm",value:function(){this.dialogRef.close(!0)}},{key:"onNoClick",value:function(){this.dialogRef.close(!1)}}])}()).\u0275fac=function(e){return new(e||ij)(To(db),To(cb),To(Fw),To(ej))},ij.\u0275cmp=_t({type:ij,selectors:[["app-edit-profil-info-connexion"]],decls:21,vars:5,consts:[["mat-dialog-title","",1,"text-center","font-weight-bold"],[3,"formGroup","ngSubmit"],["mat-dialog-content","",1,""],[1,"row"],[1,"col-5","col-md-4","font-weight-bold","text-lg-right","parag"],["appearance","outline",1,"col-7","col-md-5"],["matInput","","placeholder","","formControlName","email","required",""],[4,"ngIf"],["matInput","","placeholder","","formControlName","password","required",""],["mat-dialog-actions","",1,"row","justify-content-center","mt-2"],["mat-raised-button","","color","primary",1,"btn","mr-2",3,"click"],["mat-raised-button","","cdkFocusInitial","","color","primary",1,"btn","ml-2",3,"click"]],template:function(e,t){1&e&&(Po(0,"h1",0),ys(1),Io(),Po(2,"form",1),Bo("ngSubmit",(function(){return t.updateProfil()})),Po(3,"div",2),Po(4,"div",3),Po(5,"p",4),ys(6,"Email:"),Io(),Po(7,"mat-form-field",5),Ro(8,"input",6),So(9,tj,2,1,"mat-error",7),Io(),Io(),Po(10,"div",3),Po(11,"p",4),ys(12,"Mot de passe:"),Io(),Po(13,"mat-form-field",5),Ro(14,"input",8),So(15,nj,2,1,"mat-error",7),Io(),Io(),Io(),Po(16,"div",9),Po(17,"button",10),Bo("click",(function(){return t.updateProfil()})),ys(18,"Modifier"),Io(),Po(19,"button",11),Bo("click",(function(){return t.onNoClick()})),ys(20,"Annuler"),Io(),Io(),Io()),2&e&&(ya(1),ws("",t.element.lastname," ",t.element.firstname,""),ya(1),Oo("formGroup",t.formGroup),ya(7),Oo("ngIf",!t.formGroup.controls.email.valid||t.formGroup.controls.email.touched),ya(6),Oo("ngIf",!t.formGroup.controls.password.valid||t.formGroup.controls.password.touched))},directives:[gb,cw,Ub,pw,yb,OC,jC,Ib,Wb,Ew,Yw,kd,bb,Zy,uC],styles:[""]}),ij);function rj(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorPhonenumber()," ")}}var oj,sj,lj=((sj=function(){return _createClass((function e(t,n,i,a,r,o){_classCallCheck(this,e),this.element=t,this.router=n,this.authService=i,this.dialogRef=a,this.formBuilder=r,this.usersService=o,this.submitted=!1,this.loading=!1,this.user=this.element}),[{key:"ngOnInit",value:function(){this.createForm()}},{key:"createForm",value:function(){this.formGroup=this.formBuilder.group({phonenumber:[Kb.pattern(/^(?:(?:\+|00)33|0)\s*[1-9](?:[\s.-]*\d{2}){4}$/)],adress:[]})}},{key:"updateProfil",value:function(){var e=this;this.submitted=!0,this.formGroup.invalid||this.usersService.editOneUser(this.element._id,this.formGroup.value).subscribe((function(t){console.log(t),e.loading=!1,e.dialogRef.close(!0)}),(function(t){e.loading=!1,console.log(t.error.message),e.authService.openSnackBar(t.error.message)}))}},{key:"getErrorPhonenumber",value:function(){return this.formGroup.get("phonenumber").hasError("pattern")?"Num\xe9ro de t\xe9l\xe9phone non valide":""}},{key:"onConfirm",value:function(){this.dialogRef.close(!0)}},{key:"onNoClick",value:function(){this.dialogRef.close(!1)}}])}()).\u0275fac=function(e){return new(e||sj)(To(db),To(pT),To(XT),To(cb),To(Fw),To(ej))},sj.\u0275cmp=_t({type:sj,selectors:[["app-edit-profil-info-user"]],decls:20,vars:6,consts:[["mat-dialog-title","",1,"text-center","font-weight-bold"],[3,"formGroup","ngSubmit"],["mat-dialog-content","",1,""],[1,"row"],[1,"col-5","col-md-4","font-weight-bold","text-lg-right","parag"],["appearance","outline",1,"col-7","col-md-5"],["matInput","","placeholder","","formControlName","phonenumber","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["matInput","","placeholder","","formControlName","adress","required","",3,"ngModel","ngModelChange"],["mat-dialog-actions","",1,"row","justify-content-center","mt-2"],["mat-raised-button","","color","primary",1,"btn","mr-2",3,"click"],["mat-raised-button","","cdkFocusInitial","","color","primary",1,"btn","ml-2",3,"click"]],template:function(e,t){1&e&&(Po(0,"h1",0),ys(1),Io(),Po(2,"form",1),Bo("ngSubmit",(function(){return t.updateProfil()})),Po(3,"div",2),Po(4,"div",3),Po(5,"p",4),ys(6,"T\xe9l\xe9phone :"),Io(),Po(7,"mat-form-field",5),Po(8,"input",6),Bo("ngModelChange",(function(e){return t.user.phonenumber=e})),Io(),So(9,rj,2,1,"mat-error",7),Io(),Io(),Po(10,"div",3),Po(11,"p",4),ys(12,"Adresse :"),Io(),Po(13,"mat-form-field",5),Po(14,"input",8),Bo("ngModelChange",(function(e){return t.user.adress=e})),Io(),Io(),Io(),Io(),Po(15,"div",9),Po(16,"button",10),Bo("click",(function(){return t.updateProfil()})),ys(17,"Modifier"),Io(),Po(18,"button",11),Bo("click",(function(){return t.onNoClick()})),ys(19,"Annuler"),Io(),Io(),Io()),2&e&&(ya(1),ws("",t.element.lastname," ",t.element.firstname,""),ya(1),Oo("formGroup",t.formGroup),ya(6),Oo("ngModel",t.user.phonenumber),ya(1),Oo("ngIf",!t.formGroup.controls.phonenumber.valid||t.formGroup.controls.phonenumber.touched),ya(5),Oo("ngModel",t.user.adress))},directives:[gb,cw,Ub,pw,yb,OC,jC,Ib,Wb,Ew,Yw,kd,bb,Zy,uC],styles:[".parag[_ngcontent-%COMP%]{margin-top:1em}"]}),sj),uj=((oj=function(){return _createClass((function e(t,n){var i=this;_classCallCheck(this,e),this.authService=t,this.dialog=n,this.authService.user_info.subscribe((function(e){i.user=e}))}),[{key:"ngOnInit",value:function(){}},{key:"editInfoUser",value:function(){this.dialog.open(lj,{width:"450px",height:"280px",data:this.user}).afterClosed().subscribe((function(e){}))}},{key:"editInfoUserConnexion",value:function(){this.dialog.open(aj,{width:"450px",height:"280px",data:this.user}).afterClosed().subscribe((function(e){}))}}])}()).\u0275fac=function(e){return new(e||oj)(To(XT),To(pb))},oj.\u0275cmp=_t({type:oj,selectors:[["app-profil"]],decls:65,vars:11,consts:[[1,"container","navtop"],[1,"row","justify-content-center"],[1,"col-11","col-md-8"],[1,"row"],[1,"col-md-6","border-right"],["width","120","height","120","src","assets/img/profil/profil.png","alt",""],[1,"row","justify-content-center","mb-3"],[1,"col-5"],[1,"row","justify-content-center","mt-3"],["mat-raised-button","","color","primary","type","submit",1,"col-6",3,"click"],[1,"col-md-6"],["mat-raised-button","","color","primary",1,"col-6",3,"click"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"div",1),Po(2,"mat-card",2),Po(3,"mat-card-content"),Po(4,"div",3),Po(5,"div",4),Po(6,"div",1),Ro(7,"img",5),Io(),Po(8,"div",6),Po(9,"p"),Po(10,"b"),ys(11),Io(),Io(),Io(),Po(12,"div",3),Po(13,"p",7),ys(14," Email : "),Io(),Po(15,"p",7),ys(16),Io(),Io(),Po(17,"div",3),Po(18,"p",7),ys(19," Mot de passe : "),Io(),Po(20,"p",7),ys(21,"***********"),Io(),Io(),Po(22,"div",8),Po(23,"button",9),Bo("click",(function(){return t.editInfoUserConnexion()})),ys(24,"Modifier"),Io(),Io(),Io(),Po(25,"div",10),Po(26,"div",3),Po(27,"div",7),Po(28,"p"),ys(29,"Nom : "),Io(),Io(),Po(30,"div",7),Po(31,"p"),ys(32),Io(),Io(),Io(),Po(33,"div",3),Po(34,"div",7),Po(35,"p"),ys(36,"Pr\xe9nom : "),Io(),Io(),Po(37,"div",7),Po(38,"p"),ys(39),Io(),Io(),Io(),Po(40,"div",3),Po(41,"div",7),Po(42,"p"),ys(43,"Num\xe9ro de t\xe9l\xe9phone : "),Io(),Io(),Po(44,"div",7),Po(45,"p"),ys(46),Io(),Io(),Io(),Po(47,"div",3),Po(48,"div",7),Po(49,"p"),ys(50,"Date de naissance : "),Io(),Io(),Po(51,"div",7),Po(52,"p"),ys(53),Nl(54,"date"),Io(),Io(),Io(),Po(55,"div",3),Po(56,"div",7),Po(57,"p"),ys(58,"Adresse : "),Io(),Io(),Po(59,"div",7),Po(60,"p"),ys(61),Io(),Io(),Io(),Po(62,"div",8),Po(63,"button",11),Bo("click",(function(){return t.editInfoUser()})),ys(64,"Modifier"),Io(),Io(),Io(),Io(),Io(),Io(),Io(),Io()),2&e&&(ya(11),ws("",t.user.firstname," ",t.user.lastname,""),ya(5),bs(t.user.email),ya(16),bs(t.user.firstname),ya(7),bs(t.user.lastname),ya(7),bs(t.user.phonenumber),ya(7),bs(zl(54,8,t.user.birthday,"longDate")),ya(8),bs(t.user.adress))},directives:[uA,lA,Zy],pipes:[zd],styles:[".navtop[_ngcontent-%COMP%]{margin-top:8.6em;margin-bottom:4em}"]}),oj),cj=["*"];function dj(e){return Error('Unable to find icon with the name "'.concat(e,'"'))}function hj(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \"".concat(e,'".'))}function fj(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \"".concat(e,'".'))}var mj,pj=_createClass((function e(t,n){_classCallCheck(this,e),this.options=n,t.nodeName?this.svgElement=t:this.url=t})),_j=((mj=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this._httpClient=t,this._sanitizer=n,this._errorHandler=a,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=i}),[{key:"addSvgIcon",value:function(e,t,n){return this.addSvgIconInNamespace("",e,t,n)}},{key:"addSvgIconLiteral",value:function(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)}},{key:"addSvgIconInNamespace",value:function(e,t,n,i){return this._addSvgIconConfig(e,t,new pj(n,i))}},{key:"addSvgIconLiteralInNamespace",value:function(e,t,n,i){var a=this._sanitizer.sanitize(Ki.HTML,n);if(!a)throw fj(n);var r=this._createSvgElementForSingleIcon(a,i);return this._addSvgIconConfig(e,t,new pj(r,i))}},{key:"addSvgIconSet",value:function(e,t){return this.addSvgIconSetInNamespace("",e,t)}},{key:"addSvgIconSetLiteral",value:function(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}},{key:"addSvgIconSetInNamespace",value:function(e,t,n){return this._addSvgIconSetConfig(e,new pj(t,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(e,t,n){var i=this._sanitizer.sanitize(Ki.HTML,t);if(!i)throw fj(t);var a=this._svgElementFromString(i);return this._addSvgIconSetConfig(e,new pj(a,n))}},{key:"registerFontClassAlias",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return this._fontCssClassesByAlias.set(e,t),this}},{key:"classNameForFontAlias",value:function(e){return this._fontCssClassesByAlias.get(e)||e}},{key:"setDefaultFontSetClass",value:function(e){return this._defaultFontSetClass=e,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(e){var t=this,n=this._sanitizer.sanitize(Ki.RESOURCE_URL,e);if(!n)throw hj(e);var i=this._cachedIconsByUrl.get(n);return i?uh(vj(i)):this._loadSvgIconFromConfig(new pj(e)).pipe(hh((function(e){return t._cachedIconsByUrl.set(n,e)})),H((function(e){return vj(e)})))}},{key:"getNamedSvgIcon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=gj(t,e),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);var a,r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):(a=dj(n),new w((function(e){return e.error(a)})))}},{key:"ngOnDestroy",value:function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgElement?uh(vj(e.svgElement)):this._loadSvgIconFromConfig(e).pipe(hh((function(t){return e.svgElement=t})),H((function(e){return vj(e)})))}},{key:"_getSvgFromIconSetConfigs",value:function(e,t){var n=this,i=this._extractIconWithNameFromAnySet(e,t);return i?uh(i):xb(t.filter((function(e){return!e.svgElement})).map((function(e){return n._loadSvgIconSetFromConfig(e).pipe(HD((function(t){var i="Loading icon set URL: ".concat(n._sanitizer.sanitize(Ki.RESOURCE_URL,e.url)," failed: ").concat(t.message);return n._errorHandler?n._errorHandler.handleError(new Error(i)):console.error(i),uh(null)})))}))).pipe(H((function(){var i=n._extractIconWithNameFromAnySet(e,t);if(!i)throw dj(e);return i})))}},{key:"_extractIconWithNameFromAnySet",value:function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];if(i.svgElement){var a=this._extractSvgIconFromSet(i.svgElement,e,i.options);if(a)return a}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var t=this;return this._fetchUrl(e.url).pipe(H((function(n){return t._createSvgElementForSingleIcon(n,e.options)})))}},{key:"_loadSvgIconSetFromConfig",value:function(e){var t=this;return e.svgElement?uh(e.svgElement):this._fetchUrl(e.url).pipe(H((function(n){return e.svgElement||(e.svgElement=t._svgElementFromString(n)),e.svgElement})))}},{key:"_createSvgElementForSingleIcon",value:function(e,t){var n=this._svgElementFromString(e);return this._setSvgAttributes(n,t),n}},{key:"_extractSvgIconFromSet",value:function(e,t,n){var i=e.querySelector('[id="'.concat(t,'"]'));if(!i)return null;var a=i.cloneNode(!0);if(a.removeAttribute("id"),"svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,n);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),n);var r=this._svgElementFromString("<svg></svg>");return r.appendChild(a),this._setSvgAttributes(r,n)}},{key:"_svgElementFromString",value:function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}},{key:"_toSvgElement",value:function(e){for(var t=this._svgElementFromString("<svg></svg>"),n=e.attributes,i=0;i<n.length;i++){var a=n[i],r=a.name,o=a.value;"id"!==r&&t.setAttribute(r,o)}for(var s=0;s<e.childNodes.length;s++)e.childNodes[s].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[s].cloneNode(!0));return t}},{key:"_setSvgAttributes",value:function(e,t){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),t&&t.viewBox&&e.setAttribute("viewBox",t.viewBox),e}},{key:"_fetchUrl",value:function(e){var t=this;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==e)throw Error('Cannot fetch icon from URL "'.concat(e,'".'));var n=this._sanitizer.sanitize(Ki.RESOURCE_URL,e);if(!n)throw hj(e);var i=this._inProgressUrlFetches.get(n);if(i)return i;var a=this._httpClient.get(n,{responseType:"text"}).pipe(ZD((function(){return t._inProgressUrlFetches.delete(n)})),ie());return this._inProgressUrlFetches.set(n,a),a}},{key:"_addSvgIconConfig",value:function(e,t,n){return this._svgIconConfigs.set(gj(e,t),n),this}},{key:"_addSvgIconSetConfig",value:function(e,t){var n=this._iconSetConfigs.get(e);return n?n.push(t):this._iconSetConfigs.set(e,[t]),this}}])}()).\u0275fac=function(e){return new(e||mj)(Qe(dD,8),Qe(Wp),Qe(mc,8),Qe(_i,8))},mj.\u0275prov=fe({factory:function(){return new mj(Qe(dD,8),Qe(Wp),Qe(mc,8),Qe(_i,8))},token:mj,providedIn:"root"}),mj);function vj(e){return e.cloneNode(!0)}function gj(e,t){return e+":"+t}var yj,bj,kj=Hg(_createClass((function e(t){_classCallCheck(this,e),this._elementRef=t}))),wj=new Ve("mat-icon-location",{providedIn:"root",factory:function(){var e=Xe(mc),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}}),Cj=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],xj=Cj.map((function(e){return"[".concat(e,"]")})).join(", "),Mj=/^url\(['"]?#(.*?)['"]?\)$/,Dj=((bj=function(e){function t(e,n,i,a,r){var o;return _classCallCheck(this,t),(o=_callSuper(this,t,[e]))._iconRegistry=n,o._location=a,o._errorHandler=r,o._inline=!1,o._currentIconFetch=h.EMPTY,i||e.nativeElement.setAttribute("aria-hidden","true"),o}return _inherits(t,e),_createClass(t,[{key:"inline",get:function(){return this._inline},set:function(e){this._inline=Eh(e)}},{key:"fontSet",get:function(){return this._fontSet},set:function(e){this._fontSet=this._cleanupFontValue(e)}},{key:"fontIcon",get:function(){return this._fontIcon},set:function(e){this._fontIcon=this._cleanupFontValue(e)}},{key:"_splitIconName",value:function(e){if(!e)return["",""];var t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error('Invalid icon name: "'.concat(e,'"'))}}},{key:"ngOnChanges",value:function(e){var t=this,n=e.svgIcon;if(n)if(this._currentIconFetch.unsubscribe(),this.svgIcon){var i=_slicedToArray(this._splitIconName(this.svgIcon),2),a=i[0],r=i[1];this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,a).pipe(Lh(1)).subscribe((function(e){return t._setSvgElement(e)}),(function(e){var n="Error retrieving icon ".concat(a,":").concat(r,"! ").concat(e.message);t._errorHandler?t._errorHandler.handleError(new Error(n)):console.error(n)}))}else n.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}},{key:"ngOnInit",value:function(){this._usingFontIcon()&&this._updateFontIconClasses()}},{key:"ngAfterViewChecked",value:function(){var e=this._elementsWithExternalReferences;if(e&&this._location&&e.size){var t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}},{key:"ngOnDestroy",value:function(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}},{key:"_usingFontIcon",value:function(){return!this.svgIcon}},{key:"_setSvgElement",value:function(e){this._clearSvgElement();for(var t=e.querySelectorAll("style"),n=0;n<t.length;n++)t[n].textContent+=" ";if(this._location){var i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i)}this._elementRef.nativeElement.appendChild(e)}},{key:"_clearSvgElement",value:function(){var e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){var n=e.childNodes[t];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||e.removeChild(n)}}},{key:"_updateFontIconClasses",value:function(){if(this._usingFontIcon()){var e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}}},{key:"_cleanupFontValue",value:function(e){return"string"==typeof e?e.trim().split(" ")[0]:e}},{key:"_prependPathToReferences",value:function(e){var t=this._elementsWithExternalReferences;t&&t.forEach((function(t,n){t.forEach((function(t){n.setAttribute(t.name,"url('".concat(e,"#").concat(t.value,"')"))}))}))}},{key:"_cacheChildrenWithExternalReferences",value:function(e){for(var t=e.querySelectorAll(xj),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,i=function(e){Cj.forEach((function(i){var a=t[e],r=a.getAttribute(i),o=r?r.match(Mj):null;if(o){var s=n.get(a);s||(s=[],n.set(a,s)),s.push({name:i,value:o[1]})}}))},a=0;a<t.length;a++)i(a)}}])}(kj)).\u0275fac=function(e){return new(e||bj)(To(qs),To(_j),Ao("aria-hidden"),To(wj,8),To(_i,8))},bj.\u0275cmp=_t({type:bj,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:4,hostBindings:function(e,t){2&e&&ls("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color)},inputs:{color:"color",inline:"inline",fontSet:"fontSet",fontIcon:"fontIcon",svgIcon:"svgIcon"},exportAs:["matIcon"],features:[Ds,Os],ngContentSelectors:cj,decls:1,vars:0,template:function(e,t){1&e&&(Ko(),Qo(0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),bj),Sj=((yj=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:yj}),yj.\u0275inj=me({factory:function(e){return new(e||yj)},imports:[[Fg],Fg]}),yj);function Lj(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorCode()," ")}}var Tj,Aj=((Tj=function(){return _createClass((function e(t){_classCallCheck(this,e),this.formBuilder=t,this.code=new Wl}),[{key:"ngOnInit",value:function(){this.createForm()}},{key:"createForm",value:function(){this.formGroup=this.formBuilder.group({code:[null,Kb.required]})}},{key:"getErrorCode",value:function(){return this.formGroup.get("code").hasError("required")?"code requis":""}},{key:"f",get:function(){return this.formGroup.controls}},{key:"sendCodeGain",value:function(){this.formGroup.invalid||this.code.emit(this.formGroup.value)}}])}()).\u0275fac=function(e){return new(e||Tj)(To(Fw))},Tj.\u0275cmp=_t({type:Tj,selectors:[["app-gain-form"]],outputs:{code:"code"},decls:20,vars:2,consts:[[1,"v"],[3,"formGroup","ngSubmit"],[1,"row","justify-content-center","font-weight-bold"],[1,"row","justify-content-center"],["appearance","outline",1,"formu"],["matInput","","formControlName","code","type","number","placeholder","Exemple : 1234567890"],["matSuffix",""],[4,"ngIf"],[1,"row","justify-content-center","mt-3"],["mat-raised-button","","color","primary","type","submit",1,"col-4","color-theme"]],template:function(e,t){1&e&&(Po(0,"mat-card",0),Po(1,"mat-card-content"),Po(2,"form",1),Bo("ngSubmit",(function(){return t.sendCodeGain()})),Po(3,"h1",2),ys(4,"Tentez votre chance, et repartez peut-etre avec votre Range Rover"),Io(),Po(5,"h2",3),ys(6,"Entrez votre code"),Io(),Po(7,"div",3),Po(8,"div"),Po(9,"mat-form-field",4),Ro(10,"input",5),Po(11,"mat-icon",6),ys(12,"card_giftcard"),Io(),So(13,Lj,2,1,"mat-error",7),Io(),Io(),Io(),Po(14,"div",8),Po(15,"button",9),ys(16,"Je v\xe9rifie"),Io(),Io(),Po(17,"h1",3),Po(18,"b"),ys(19,"100% gagnant"),Io(),Io(),Io(),Io(),Io()),2&e&&(ya(2),Oo("formGroup",t.formGroup),ya(11),Oo("ngIf",!t.formGroup.controls.code.valid||t.formGroup.controls.code.touched))},directives:[uA,lA,cw,Ub,pw,OC,jC,Ib,uk,Wb,Ew,Dj,SC,kd,Zy,uC],styles:[".formu[_ngcontent-%COMP%]{background-color:#fff!important}"]}),Tj);function Ej(e,t){1&e&&(Po(0,"th",11),ys(1," Num\xe9ro "),Io())}function Oj(e,t){if(1&e&&(Po(0,"td",12),ys(1),Io()),2&e){var n=t.$implicit;ya(1),ks(" ",n.index," ")}}function Yj(e,t){1&e&&(Po(0,"th",11),ys(1," Code "),Io())}function Pj(e,t){if(1&e&&(Po(0,"td",12),ys(1),Io()),2&e){var n=t.$implicit;ya(1),ks(" ",n.code," ")}}function Ij(e,t){1&e&&(Po(0,"th",11),ys(1," Lot gagn\xe9 "),Io())}function Rj(e,t){if(1&e&&(Po(0,"td",12),ys(1),Io()),2&e){var n=t.$implicit;ya(1),ks(" ",n.gains," ")}}function Fj(e,t){1&e&&(Po(0,"th",11),ys(1," Servi "),Io())}function jj(e,t){1&e&&(Po(0,"mat-icon",15),ys(1,"done_outline"),Io())}function Hj(e,t){1&e&&(Po(0,"mat-icon",16),ys(1,"hourglass_bottom"),Io())}function Nj(e,t){if(1&e&&(Po(0,"td",12),So(1,jj,2,0,"mat-icon",13),So(2,Hj,2,0,"mat-icon",14),Io()),2&e){var n=t.$implicit;ya(1),Oo("ngIf",!0===n.isServed),ya(1),Oo("ngIf",!1===n.isServed)}}function zj(e,t){1&e&&(Po(0,"th",11),ys(1," Date d'utilisation "),Io())}function Vj(e,t){if(1&e&&(Po(0,"td",12),ys(1),Nl(2,"date"),Io()),2&e){var n=t.$implicit;ya(1),ks(" ",zl(2,1,n.date_used,"longDate")," ")}}function Bj(e,t){1&e&&Ro(0,"tr",17)}function Wj(e,t){1&e&&Ro(0,"tr",18)}function Uj(e,t){if(1&e&&(Po(0,"table",1),Fo(1,2),So(2,Ej,2,0,"th",3),So(3,Oj,2,1,"td",4),jo(),Fo(4,5),So(5,Yj,2,0,"th",3),So(6,Pj,2,1,"td",4),jo(),Fo(7,6),So(8,Ij,2,0,"th",3),So(9,Rj,2,1,"td",4),jo(),Fo(10,7),So(11,Fj,2,0,"th",3),So(12,Nj,3,2,"td",4),jo(),Fo(13,8),So(14,zj,2,0,"th",3),So(15,Vj,3,4,"td",4),jo(),So(16,Bj,1,0,"tr",9),So(17,Wj,1,0,"tr",10),Io()),2&e){var n=Zo();Oo("dataSource",n.lots),ya(16),Oo("matHeaderRowDef",n.displayedColumns),ya(1),Oo("matRowDefColumns",n.displayedColumns)}}var qj,Gj=((qj=function(){return _createClass((function e(){_classCallCheck(this,e),this.lots=[],this.displayedColumns=["index","code","gain","isServed","date_used"],this.dataSource=new OF}),[{key:"ngOnInit",value:function(){this.dataSource.data=this.lots}},{key:"subscribeToUsers",value:function(){}}])}()).\u0275fac=function(e){return new(e||qj)},qj.\u0275cmp=_t({type:qj,selectors:[["app-gain-list"]],inputs:{lots:"lots"},decls:1,vars:1,consts:[["mat-table","","class","tablegain",3,"dataSource",4,"ngIf"],["mat-table","",1,"tablegain",3,"dataSource"],["matColumnDef","index"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","text-left",4,"matCellDef"],["matColumnDef","code"],["matColumnDef","gain"],["matColumnDef","isServed"],["matColumnDef","date_used"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"text-left"],["class","icon mr-2","style","color:#296119",4,"ngIf"],["class","icon mr-2","style","color:rgb(67, 151, 230)",4,"ngIf"],[1,"icon","mr-2",2,"color","#296119"],[1,"icon","mr-2",2,"color","rgb(67, 151, 230)"],["mat-header-row",""],["mat-row",""]],template:function(e,t){1&e&&So(0,Uj,18,3,"table",0),2&e&&Oo("ngIf",t.lots)},directives:[kd,oF,mF,cF,lF,yF,CF,_F,gF,Dj,MF,TF],pipes:[zd],styles:["table[_ngcontent-%COMP%]{width:100%}"]}),qj);function Zj(e,t){if(1&e&&(Po(0,"div",4),Ro(1,"app-gain-list",5),Io()),2&e){var n=Zo();ya(1),Oo("lots",n.lots)}}var Jj,Kj=((Jj=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.authService=t,this.route=n,this.userService=i,this.lots=[]}),[{key:"ngOnInit",value:function(){var e=this;this.getInfoUser(),this.route.queryParams.subscribe((function(t){e.token=t.token}))}},{key:"getInfoUser",value:function(){var e=this;this.authService.getUserInfo().subscribe((function(t){e.user=t,e.lots=t.gains||[]}),(function(t){console.error("Erreur lors de la r\xe9cup\xe9ration des informations utilisateur :",t),e.authService.openSnackBar("Impossible de charger les informations utilisateur.")}))}},{key:"receiveCode",value:function(e){var t=this,n=this.authService.userValue._id;this.userService.verifyLotUser(n,e).subscribe((function(e){e&&(t.lots=[].concat(_toConsumableArray(t.lots),[e]),t.userService.updateUserGains(n,t.lots).subscribe((function(){console.log("Gains sauvegard\xe9s avec succ\xe8s dans le backend."),t.authService.openSnackBar("Gain ajout\xe9 avec succ\xe8s !"),t.getInfoUser()}),(function(e){var n;console.error("Erreur lors de la sauvegarde des gains :",e),t.authService.openSnackBar("Erreur lors de la sauvegarde des gains : "+((null===(n=e.error)||void 0===n?void 0:n.message)||"Erreur inconnue."))})))}),(function(e){var n;console.error("Erreur lors de la v\xe9rification du ticket :",e),t.authService.openSnackBar((null===(n=e.error)||void 0===n?void 0:n.message)||"Erreur lors de la v\xe9rification du ticket.")})),console.log("Liste des gains apr\xe8s ajout :",this.lots)}}])}()).\u0275fac=function(e){return new(e||Jj)(To(XT),To(rL),To(ej))},Jj.\u0275cmp=_t({type:Jj,selectors:[["app-gain"]],inputs:{lots:"lots"},decls:5,vars:2,consts:[[1,"container","navtop"],[3,"hidden"],[3,"code"],["class","my-3",4,"ngIf"],[1,"my-3"],[3,"lots"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"div",1),Po(2,"div"),Po(3,"app-gain-form",2),Bo("code",(function(e){return t.receiveCode(e)})),Io(),Io(),So(4,Zj,2,1,"div",3),Io(),Io()),2&e&&(ya(1),Oo("hidden","client"!=t.user.role),ya(3),Oo("ngIf",t.lots))},directives:[Aj,kd,Gj],styles:[".navtop[_ngcontent-%COMP%]{margin-top:6em}"]}),Jj),Qj=["trigger"],Xj=["panel"];function $j(e,t){if(1&e&&(Po(0,"span",8),ys(1),Io()),2&e){var n=Zo();ya(1),bs(n.placeholder||"\xa0")}}function eH(e,t){if(1&e&&(Po(0,"span"),ys(1),Io()),2&e){var n=Zo(2);ya(1),bs(n.triggerValue||"\xa0")}}function tH(e,t){1&e&&Qo(0,0,["*ngSwitchCase","true"])}function nH(e,t){1&e&&(Po(0,"span",9),So(1,eH,2,1,"span",10),So(2,tH,1,0,void 0,11),Io()),2&e&&(Oo("ngSwitch",!!Zo().customTrigger),ya(2),Oo("ngSwitchCase",!0))}function iH(e,t){if(1&e){var n=No();Po(0,"div",12),Po(1,"div",13,14),Bo("@transformPanel.done",(function(e){return $t(n),Zo()._panelDoneAnimatingStream.next(e.toState)}))("keydown",(function(e){return $t(n),Zo()._handleKeydown(e)})),Qo(3,1),Io(),Io()}if(2&e){var i=Zo();Oo("@transformPanelWrap",void 0),ya(1),"mat-select-panel ",a=i._getPanelTheme(),"",function(e,t,n,i){var a=Xt(),r=cn(2);a.firstUpdatePass&&hs(a,null,r,!0);var o=Qt();if(n!==ma&&Co(o,r,n)){var s=a.data[Cn()+20];if(gs(s,!0)&&!ds(a,r)){var l=s.classesWithoutHost;null!==l&&(n=xe(l,n||"")),Yo(a,s,o,n,!0)}else!function(e,t,n,i,a,r,o,s){a===ma&&(a=es);for(var l=0,u=0,c=0<a.length?a[0]:null,d=0<r.length?r[0]:null;null!==c||null!==d;){var h=l<a.length?a[l+1]:void 0,f=u<r.length?r[u+1]:void 0,m=null,p=void 0;c===d?(l+=2,u+=2,h!==f&&(m=d,p=f)):null===d||null!==c&&c<d?(l+=2,m=c):(u+=2,m=d,p=f),null!==m&&ps(e,t,n,i,m,p,!0,s),c=l<a.length?a[l]:null,d=u<r.length?r[u]:null}}(a,s,o,o[11],o[r+1],o[r+1]=function(e,t,n){if(null==n||""===n)return es;var i=[],a=Ci(n);if(Array.isArray(a))for(var r=0;r<a.length;r++)e(i,a[r],!0);else if("object"==typeof a)for(var o in a)a.hasOwnProperty(o)&&e(i,o,a[o]);else"string"==typeof a&&t(i,a);return i}(e,t,n),0,r)}}(lt,us,Do(Qt(),"mat-select-panel ",a,"")),ss("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),Oo("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),Mo("id",i.id+"-panel")}var a}var aH,rH,oH,sH=[[["mat-select-trigger"]],"*"],lH=["mat-select-trigger","*"],uH={transformPanelWrap:n_("transformPanelWrap",[s_("* => void",u_("@transformPanel",[l_()],{optional:!0}))]),transformPanel:n_("transformPanel",[o_("void",r_({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),o_("showing",r_({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),o_("showing-multiple",r_({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),s_("void => *",i_("120ms cubic-bezier(0, 0, 0.2, 1)")),s_("* => void",i_("100ms 25ms linear",r_({opacity:0})))])},cH=0,dH=new Ve("mat-select-scroll-strategy"),hH=new Ve("MAT_SELECT_CONFIG"),fH={provide:dH,deps:[op],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},mH=_createClass((function e(t,n){_classCallCheck(this,e),this.source=t,this.value=n})),pH=Ng(zg(jg(Vg(_createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=a,this.ngControl=r})))))),_H=((oH=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||oH)},oH.\u0275dir=wt({type:oH,selectors:[["mat-select-trigger"]]}),oH),vH=((rH=function(e){function t(e,n,i,a,r,o,s,l,u,c,d,h,f,m){var p;return _classCallCheck(this,t),(p=_callSuper(this,t,[r,a,s,l,c]))._viewportRuler=e,p._changeDetectorRef=n,p._ngZone=i,p._dir=o,p._parentFormField=u,p.ngControl=c,p._liveAnnouncer=f,p._panelOpen=!1,p._required=!1,p._scrollTop=0,p._multiple=!1,p._compareWith=function(e,t){return e===t},p._uid="mat-select-"+cH++,p._destroy=new L,p._triggerFontSize=0,p._onChange=function(){},p._onTouched=function(){},p._optionIds="",p._transformOrigin="top",p._panelDoneAnimatingStream=new L,p._offsetY=0,p._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],p._disableOptionCentering=!1,p._focused=!1,p.controlType="mat-select",p.ariaLabel="",p.optionSelectionChanges=Qy((function(){var e=p.options;return e?e.changes.pipe(Vf(e),Bf((function(){return J.apply(void 0,_toConsumableArray(e.map((function(e){return e.onSelectionChange}))))}))):p._ngZone.onStable.asObservable().pipe(Lh(1),Bf((function(){return p.optionSelectionChanges})))})),p.openedChange=new Wl,p._openedStream=p.openedChange.pipe(wh((function(e){return e})),H((function(){}))),p._closedStream=p.openedChange.pipe(wh((function(e){return!e})),H((function(){}))),p.selectionChange=new Wl,p.valueChange=new Wl,p.ngControl&&(p.ngControl.valueAccessor=_assertThisInitialized(p)),p._scrollStrategyFactory=h,p._scrollStrategy=p._scrollStrategyFactory(),p.tabIndex=parseInt(d)||0,p.id=p.id,m&&(null!=m.disableOptionCentering&&(p.disableOptionCentering=m.disableOptionCentering),null!=m.typeaheadDebounceInterval&&(p.typeaheadDebounceInterval=m.typeaheadDebounceInterval)),p}return _inherits(t,e),_createClass(t,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=Eh(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Eh(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=Eh(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){if("function"!=typeof e)throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){e!==this._value&&(this.writeValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=Oh(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new am(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Tf(),Ff(this._destroy)).subscribe((function(){e.panelOpen?(e._scrollTop=0,e.openedChange.emit(!0)):(e.openedChange.emit(!1),e.overlayDir.offsetX=0,e._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(Ff(this._destroy)).subscribe((function(){e._panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())}))}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe(Ff(this._destroy)).subscribe((function(e){e.added.forEach((function(e){return e.select()})),e.removed.forEach((function(e){return e.deselect()}))})),this.options.changes.pipe(Vf(null),Ff(this._destroy)).subscribe((function(){e._resetOptions(),e._initializeSelection()}))}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){var e=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Lh(1)).subscribe((function(){e._triggerFontSize&&e.overlayDir.overlayRef&&e.overlayDir.overlayRef.overlayElement&&(e.overlayDir.overlayRef.overlayElement.style.fontSize=e._triggerFontSize+"px")})))}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.options&&this._setSelectionByValue(e)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map((function(e){return e.viewValue}));return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,n=40===t||38===t||37===t||39===t,i=13===t||32===t,a=this._keyManager;if(!a.isTyping()&&i&&!ch(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var r=this.selected;36===t||35===t?(36===t?a.setFirstItemActive():a.setLastItemActive(),e.preventDefault()):a.onKeydown(e);var o=this.selected;o&&r!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,i=40===n||38===n,a=t.isTyping();if(36===n||35===n)e.preventDefault(),36===n?t.setFirstItemActive():t.setLastItemActive();else if(i&&e.altKey)e.preventDefault(),this.close();else if(a||13!==n&&32!==n||!t.activeItem||ch(e))if(!a&&this._multiple&&65===n&&e.ctrlKey){e.preventDefault();var r=this.options.some((function(e){return!e.disabled&&!e.selected}));this.options.forEach((function(e){e.disabled||(r?e.select():e.deselect())}))}else{var o=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==o&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this.overlayDir.positionChange.pipe(Lh(1)).subscribe((function(){e._changeDetectorRef.detectChanges(),e._calculateOverlayOffsetX(),e.panel.nativeElement.scrollTop=e._scrollTop}))}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-"+this._parentFormField.color:""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then((function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()}))}},{key:"_setSelectionByValue",value:function(e){var t=this;if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),e.forEach((function(e){return t._selectValue(e)})),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(e);n?this._keyManager.setActiveItem(n):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find((function(n){try{return null!=n.value&&t._compareWith(n.value,e)}catch(i){return Li()&&console.warn(i),!1}}));return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new $h(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Ff(this._destroy)).subscribe((function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())})),this._keyManager.change.pipe(Ff(this._destroy)).subscribe((function(){e._panelOpen&&e.panel?e._scrollActiveOptionIntoView():e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()}))}},{key:"_resetOptions",value:function(){var e=this,t=J(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ff(t)).subscribe((function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())})),J.apply(void 0,_toConsumableArray(this.options.map((function(e){return e._stateChanges})))).pipe(Ff(t)).subscribe((function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})),this._setOptionIds()}},{key:"_onSelect",value:function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort((function(n,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)})),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var t;t=this.multiple?this.selected.map((function(e){return e.value})):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new mH(this,t)),this._changeDetectorRef.markForCheck()}},{key:"_setOptionIds",value:function(){this._optionIds=this.options.map((function(e){return e.id})).join(" ")}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_scrollActiveOptionIntoView",value:function(){var e,t,n,i,a=this._keyManager.activeItemIndex||0,r=Fy(a,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(e=a+r,t=this._getItemHeight(),n=this.panel.nativeElement.scrollTop,(i=e*t)<n?i:i+t>n+256?Math.max(0,i-256+t):n)}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getOptionIndex",value:function(e){return this.options.reduce((function(t,n,i){return void 0!==t?t:e===n?i:void 0}),void 0)}},{key:"_calculateOverlayPosition",value:function(){var e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,256),i=t*e-n,a=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);a+=Fy(a,this.options,this.optionGroups);var r=n/2;this._scrollTop=this._calculateOverlayScroll(a,r,i),this._offsetY=this._calculateOverlayOffsetY(a,r,i),this._checkOverlayWithinViewport(i)}},{key:"_calculateOverlayScroll",value:function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}},{key:"_getAriaLabel",value:function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}},{key:"_getAriaLabelledby",value:function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),a=this.multiple?56:32;if(this.multiple)e=40;else{var r=this._selectionModel.selected[0]||this.options.first;e=r&&r.group?32:16}i||(e*=-1);var o=0-(t.left+e-(i?a:0)),s=t.right+e-n.width+(i?0:a);o>0?e+=o+8:s>0&&(e-=s+8),this.overlayDir.offsetX=Math.round(e),this.overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,n){var i,a=this._getItemHeight(),r=(a-this._triggerRect.height)/2,o=Math.floor(256/a);return this._disableOptionCentering?0:(i=0===this._scrollTop?e*a:this._scrollTop===n?(e-(this._getItemCount()-o))*a+(a-(this._getItemCount()*a-256)%a):t-a/2,Math.round(-1*i-r))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,a=n.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*t,256)-r-this._triggerRect.height;o>a?this._adjustPanelUp(o,a):r>i?this._adjustPanelDown(r,i,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(e,t,n){var i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% ".concat(Math.abs(this._offsetY)-t+e/2,"px 0px")}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty}}])}(pH)).\u0275fac=function(e){return new(e||rH)(To(lm),To(Gr),To(Pu),To(sy),To(qs),To(Jf,8),To(tw,8),To(pw,8),To(EC,8),To(Vb,10),Ao("tabindex"),To(dH),To(mf),To(hH,8))},rH.\u0275cmp=_t({type:rH,selectors:[["mat-select"]],contentQueries:function(e,t,n){var i;1&e&&(ru(n,_H,!0),ru(n,Ry,!0),ru(n,Ey,!0)),2&e&&(tu(i=lu())&&(t.customTrigger=i.first),tu(i=lu())&&(t.options=i),tu(i=lu())&&(t.optionGroups=i))},viewQuery:function(e,t){var n;1&e&&(iu(Qj,!0),iu(Xj,!0),iu(cp,!0)),2&e&&(tu(n=lu())&&(t.trigger=n.first),tu(n=lu())&&(t.panel=n.first),tu(n=lu())&&(t.overlayDir=n.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(e,t){1&e&&Bo("keydown",(function(e){return t._handleKeydown(e)}))("focus",(function(){return t._onFocus()}))("blur",(function(){return t._onBlur()})),2&e&&(Mo("id",t.id)("tabindex",t.tabIndex)("aria-label",t._getAriaLabel())("aria-labelledby",t._getAriaLabelledby())("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-owns",t.panelOpen?t._optionIds:null)("aria-multiselectable",t.multiple)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),ls("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Vs([{provide:dC,useExisting:rH},{provide:Iy,useExisting:rH}]),Ds,Os],ngContentSelectors:lH,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(Ko(sH),Po(0,"div",0,1),Bo("click",(function(){return t.toggle()})),Po(3,"div",2),So(4,$j,2,1,"span",3),So(5,nH,3,2,"span",4),Io(),Po(6,"div",5),Ro(7,"div",6),Io(),Io(),So(8,iH,4,11,"ng-template",7),Bo("backdropClick",(function(){return t.close()}))("attach",(function(){return t._onAttached()}))("detach",(function(){return t.close()}))),2&e){var n=Lo(1);ya(3),Oo("ngSwitch",t.empty),ya(1),Oo("ngSwitchCase",!0),ya(1),Oo("ngSwitchCase",!1),ya(3),Oo("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[up,Td,Ad,cp,Ed,vd],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[uH.transformPanelWrap,uH.transformPanel]},changeDetection:0}),rH),gH=((aH=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:aH}),aH.\u0275inj=me({factory:function(e){return new(e||aH)},providers:[fH],imports:[[Vd,hp,Vy,Fg],um,YC,Vy,Fg]}),aH);function yH(e,t){if(1&e&&(Po(0,"mat-option",21),ys(1),Io()),2&e){var n=t.$implicit;Oo("value",n),ya(1),bs(n)}}var bH,kH,wH,CH=((wH=function(){return _createClass((function e(t){_classCallCheck(this,e),this.formBuilder=t,this.filterUsers=new Wl,this.toppings=new Kk,this.toppingList=["Gagnant","Bloqu\xe9","serv\xe9"],this.form=t.group({lastname:[""],firstname:[""],email:["",Kb.email],adress:[""],date:[{begin:this.startDate,end:this.endDate}]})}),[{key:"ngOnInit",value:function(){}},{key:"filterUser",value:function(){this.filterUsers.emit(this.form.value)}},{key:"reset",value:function(){this.form.reset()}}])}()).\u0275fac=function(e){return new(e||wH)(To(Fw))},wH.\u0275cmp=_t({type:wH,selectors:[["app-users-form"]],outputs:{filterUsers:"filterUsers"},decls:46,vars:6,consts:[[1,"mx-5","my-5"],[1,"search"],[1,"row","ml-2"],["aria-hidden","false","aria-label","Example home icon",1,"mx-2"],[1,""],[3,"formGroup","ngSubmit"],[1,"row"],[1,"col-4"],["matInput","","formControlName","lastname"],["matInput","","formControlName","firstname"],["multiple","",3,"formControl"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","email","formControlName","email"],["matInput","","placeholder","Inscription :","formControlName","date",3,"satDatepicker"],["matSuffix","",3,"for"],["touchUi","true",3,"rangeMode"],["picker",""],["matInput","","formControlName","adress"],[1,"row","justify-content-center"],["mat-raised-button","","color","primary","type","submit",1,"mr-3"],["mat-raised-button","","color","primary",3,"click"],[3,"value"]],template:function(e,t){if(1&e&&(Po(0,"div",0),Po(1,"mat-accordion"),Po(2,"mat-expansion-panel"),Po(3,"mat-expansion-panel-header",1),Po(4,"mat-panel-title"),Po(5,"div",2),Po(6,"div"),Po(7,"mat-icon",3),ys(8,"group"),Io(),Io(),Po(9,"div"),Po(10,"p",4),ys(11,"Rechercher des utilisateurs"),Io(),Io(),Io(),Io(),Io(),Po(12,"form",5),Bo("ngSubmit",(function(){return t.filterUser()})),Po(13,"div",6),Po(14,"mat-form-field",7),Po(15,"mat-label"),ys(16,"Nom :"),Io(),Ro(17,"input",8),Io(),Po(18,"mat-form-field",7),Po(19,"mat-label"),ys(20,"Pr\xe9nom :"),Io(),Ro(21,"input",9),Io(),Po(22,"mat-form-field",7),Po(23,"mat-label"),ys(24,"Etat client :"),Io(),Po(25,"mat-select",10),So(26,yH,2,2,"mat-option",11),Io(),Io(),Io(),Po(27,"div",6),Po(28,"mat-form-field",7),Po(29,"mat-label"),ys(30,"Adresse mail :"),Io(),Ro(31,"input",12),Io(),Po(32,"mat-form-field",7),Ro(33,"input",13),Ro(34,"sat-datepicker-toggle",14),Ro(35,"sat-datepicker",15,16),Io(),Po(37,"mat-form-field",7),Po(38,"mat-label"),ys(39,"Adresse :"),Io(),Ro(40,"input",17),Io(),Io(),Po(41,"div",18),Po(42,"button",19),ys(43,"Rechercher"),Io(),Po(44,"button",20),Bo("click",(function(){return t.reset()})),ys(45,"Effacer"),Io(),Io(),Io(),Io(),Io(),Io()),2&e){var n=Lo(36);ya(12),Oo("formGroup",t.form),ya(13),Oo("formControl",t.toppings),ya(1),Oo("ngForOf",t.toppingList),ya(7),Oo("satDatepicker",n),ya(1),Oo("for",n),ya(1),Oo("rangeMode",!0)}},directives:[hE,lE,uE,dE,Dj,cw,Ub,pw,OC,xC,jC,Ib,Wb,Ew,vH,fw,yd,tM,iM,SC,Qx,Zy,Ry],styles:[""]}),wH),xH=((kH=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.data=t,this.dialogRef=n}),[{key:"onConfirm",value:function(){this.dialogRef.close(!0)}},{key:"onNoClick",value:function(){this.dialogRef.close(!1)}},{key:"ngOnInit",value:function(){}}])}()).\u0275fac=function(e){return new(e||kH)(To(db),To(cb))},kH.\u0275cmp=_t({type:kH,selectors:[["app-users-edit"]],decls:7,vars:1,consts:[["mat-dialog-content","",1,"text-center"],["mat-dialog-actions","",1,"row","justify-content-center","mt-3"],["mat-raised-button","","color","primary",1,"btn","mr-2",3,"click"],["mat-raised-button","","cdkFocusInitial","","color","primary",1,"btn","ml-2",3,"click"]],template:function(e,t){1&e&&(Po(0,"div",0),ys(1),Io(),Po(2,"div",1),Po(3,"button",2),Bo("click",(function(){return t.onConfirm()})),ys(4,"Oui"),Io(),Po(5,"button",3),Bo("click",(function(){return t.onNoClick()})),ys(6,"Non"),Io(),Io()),2&e&&(ya(1),ks(" ",t.data," "))},directives:[yb,bb,Zy],styles:[""]}),kH),MH=((bH=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.data=t,this.dialogRef=n}),[{key:"onConfirm",value:function(){this.dialogRef.close(!0)}},{key:"onNoClick",value:function(){this.dialogRef.close(!1)}}])}()).\u0275fac=function(e){return new(e||bH)(To(db),To(cb))},bH.\u0275cmp=_t({type:bH,selectors:[["app-users-bloque"]],decls:7,vars:1,consts:[["mat-dialog-content","",1,"text-center"],["mat-dialog-actions","",1,"row","justify-content-center","mt-3"],["mat-raised-button","","color","primary",1,"btn","mr-2",3,"click"],["mat-raised-button","","cdkFocusInitial","","color","primary",1,"btn","ml-2",3,"click"]],template:function(e,t){1&e&&(Po(0,"div",0),ys(1),Io(),Po(2,"div",1),Po(3,"button",2),Bo("click",(function(){return t.onConfirm()})),ys(4,"Oui"),Io(),Po(5,"button",3),Bo("click",(function(){return t.onNoClick()})),ys(6,"Non"),Io(),Io()),2&e&&(ya(1),ks(" ",t.data," "))},directives:[yb,bb,Zy],styles:[""]}),bH);function DH(e,t){1&e&&(Po(0,"mat-icon",9),ys(1,"done"),Io())}function SH(e,t){1&e&&(Po(0,"mat-icon",10),ys(1,"clear"),Io())}function LH(e,t){1&e&&(Po(0,"mat-icon",9),ys(1,"done"),Io())}function TH(e,t){1&e&&(Po(0,"mat-icon",11),ys(1,"clear"),Io())}function AH(e,t){if(1&e&&(Po(0,"ul"),Po(1,"li"),ys(2),Io(),Io()),2&e){var n=t.$implicit;ya(2),ks(" ",n.gains," ")}}function EH(e,t){if(1&e&&(Po(0,"div",2),Po(1,"p",3),ys(2,"Gains :"),Io(),Po(3,"div",4),So(4,AH,3,1,"ul",12),Io(),Io()),2&e){var n=Zo();ya(4),Oo("ngForOf",n.element.gains)}}var OH,YH,PH,IH=((YH=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.element=t,this.dialogRef=n}),[{key:"onConfirm",value:function(){this.dialogRef.close(!0)}},{key:"onNoClick",value:function(){this.dialogRef.close(!1)}}])}()).\u0275fac=function(e){return new(e||YH)(To(db),To(cb))},YH.\u0275cmp=_t({type:YH,selectors:[["app-users-details"]],decls:60,vars:20,consts:[["mat-dialog-title","",1,"text-center","font-weight-bold"],["mat-dialog-content","",1,""],[1,"row"],[1,"col-4","font-weight-bold","text-lg-right"],[1,"col-4"],["class","done","aria-hidden","false","aria-label","Example home icon",4,"ngIf"],["aria-hidden","false","aria-label","Example home icon",4,"ngIf"],["color","warn","aria-hidden","false","aria-label","Example home icon",4,"ngIf"],["class","row",4,"ngIf"],["aria-hidden","false","aria-label","Example home icon",1,"done"],["aria-hidden","false","aria-label","Example home icon"],["color","warn","aria-hidden","false","aria-label","Example home icon"],[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(Po(0,"h1",0),ys(1),Io(),Po(2,"div",1),Po(3,"div",2),Po(4,"p",3),ys(5,"Nom :"),Io(),Po(6,"div",4),Po(7,"p"),ys(8),Io(),Io(),Io(),Po(9,"div",2),Po(10,"p",3),ys(11,"Pr\xe9nom :"),Io(),Po(12,"div",4),Po(13,"p"),ys(14),Io(),Io(),Io(),Po(15,"div",2),Po(16,"p",3),ys(17,"Email :"),Io(),Po(18,"div",4),Po(19,"p"),ys(20),Io(),Io(),Io(),Po(21,"div",2),Po(22,"p",3),ys(23,"Num\xe9ro de t\xe9l\xe9phone :"),Io(),Po(24,"div",4),Po(25,"p"),ys(26),Io(),Io(),Io(),Po(27,"div",2),Po(28,"p",3),ys(29,"Adresse :"),Io(),Po(30,"div",4),Po(31,"p"),ys(32),Io(),Io(),Io(),Po(33,"div",2),Po(34,"p",3),ys(35,"Date de naissance :"),Io(),Po(36,"div",4),Po(37,"p"),ys(38),Nl(39,"date"),Io(),Io(),Io(),Po(40,"div",2),Po(41,"p",3),ys(42,"Compte :"),Io(),Po(43,"div",4),So(44,DH,2,0,"mat-icon",5),So(45,SH,2,0,"mat-icon",6),Io(),Io(),Po(46,"div",2),Po(47,"p",3),ys(48,"Lots :"),Io(),Po(49,"div",4),So(50,LH,2,0,"mat-icon",5),So(51,TH,2,0,"mat-icon",7),Io(),Io(),Po(52,"div",2),Po(53,"p",3),ys(54,"Date d'inscription :"),Io(),Po(55,"div",4),Po(56,"p"),ys(57),Nl(58,"date"),Io(),Io(),Io(),So(59,EH,5,1,"div",8),Io()),2&e&&(ya(1),ws("",t.element.lastname," ",t.element.firstname,""),ya(7),bs(t.element.lastname),ya(6),bs(t.element.firstname),ya(6),bs(t.element.email),ya(6),bs(t.element.phonenumber),ya(6),bs(t.element.adress),ya(6),bs(zl(39,14,t.element.birthday,"longDate")),ya(6),Oo("ngIf",t.element.isActive),ya(1),Oo("ngIf",!t.element.isActive),ya(5),Oo("ngIf",t.element.isGain),ya(1),Oo("ngIf",!t.element.isGain),ya(6),bs(zl(58,17,t.element.register_date,"longDate")),ya(2),Oo("ngIf",t.element.isGain))},directives:[gb,yb,kd,Dj,yd],pipes:[zd],styles:[".done[_ngcontent-%COMP%]{color:#39c965}"]}),YH),RH=((OH=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.data=t,this.dialogRef=n}),[{key:"onConfirm",value:function(){this.dialogRef.close(!0)}},{key:"onNoClick",value:function(){this.dialogRef.close(!1)}}])}()).\u0275fac=function(e){return new(e||OH)(To(db),To(cb))},OH.\u0275cmp=_t({type:OH,selectors:[["app-users-delete"]],decls:7,vars:1,consts:[["mat-dialog-content","",1,"text-center"],["mat-dialog-actions","",1,"row","justify-content-center","mt-3"],["mat-raised-button","","color","primary",1,"btn","mr-2",3,"click"],["mat-raised-button","","cdkFocusInitial","","color","primary",1,"btn","ml-2",3,"click"]],template:function(e,t){1&e&&(Po(0,"div",0),ys(1),Io(),Po(2,"div",1),Po(3,"button",2),Bo("click",(function(){return t.onConfirm()})),ys(4,"Oui"),Io(),Po(5,"button",3),Bo("click",(function(){return t.onNoClick()})),ys(6,"Non"),Io(),Io()),2&e&&(ya(1),ks(" ",t.data," "))},directives:[yb,bb,Zy],styles:[""]}),OH),FH={tooltipState:n_("state",[o_("initial, void, hidden",r_({opacity:0,transform:"scale(0)"})),o_("visible",r_({transform:"scale(1)"})),s_("* => visible",i_("200ms cubic-bezier(0, 0, 0.2, 1)",(PH=[r_({opacity:0,transform:"scale(0)",offset:0}),r_({opacity:.5,transform:"scale(0.99)",offset:.5}),r_({opacity:1,transform:"scale(1)",offset:1})],{type:5,steps:PH}))),s_("* => hidden",i_("100ms cubic-bezier(0, 0, 0.2, 1)",r_({opacity:0})))])},jH=sh({passive:!0});function HH(e){return Error('Tooltip position "'.concat(e,'" is invalid.'))}var NH,zH,VH,BH=new Ve("mat-tooltip-scroll-strategy"),WH={provide:BH,deps:[op],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},UH=new Ve("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),qH=((VH=function(){return _createClass((function e(t,n,i,a,r,o,s,l,u,c,d,h){var f=this;_classCallCheck(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=a,this._ngZone=r,this._platform=o,this._ariaDescriber=s,this._focusMonitor=l,this._dir=c,this._defaultOptions=d,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new L,this._handleKeydown=function(e){f._isTooltipVisible()&&27===e.keyCode&&!ch(e)&&(e.preventDefault(),e.stopPropagation(),f._ngZone.run((function(){return f.hide(0)})))},this._scrollStrategy=u,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),l.monitor(n).pipe(Ff(this._destroyed)).subscribe((function(e){e?"keyboard"===e&&r.run((function(){return f.show()})):r.run((function(){return f.hide(0)}))})),r.runOutsideAngular((function(){n.nativeElement.addEventListener("keydown",f._handleKeydown)}))}),[{key:"position",get:function(){return this._position},set:function(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Eh(e),this._disabled&&this.hide(0)}},{key:"message",get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?(""+e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message)}))})))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngOnInit",value:function(){this._setupPointerEvents()}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach((function(t,n){e.removeEventListener(n,t,jH)})),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new pm(GH,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Ff(this._destroyed)).subscribe((function(){return e._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(e)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return n.positionChanges.pipe(Ff(this._destroyed)).subscribe((function(t){e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run((function(){return e.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Ff(this._destroyed)).subscribe((function(){return e._detach()})),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(){var e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),n.main),Object.assign(Object.assign({},t.fallback),n.fallback)])}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)e={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw HH(n);e={originX:"end",originY:"center"}}var i=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)e={overlayX:"center",overlayY:"bottom"};else if("below"==n)e={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw HH(n);e={overlayX:"start",overlayY:"center"}}var i=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Lh(1),Ff(this._destroyed)).subscribe((function(){e._tooltipInstance&&e._overlayRef.updatePosition()})))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}},{key:"_setupPointerEvents",value:function(){var e=this;if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var t=function(){clearTimeout(e._touchstartTimeout),e.hide(e._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",t).set("touchcancel",t).set("touchstart",(function(){clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout((function(){return e.show()}),500)}))}}else this._passiveListeners.set("mouseenter",(function(){return e.show()})).set("mouseleave",(function(){return e.hide()}));this._passiveListeners.forEach((function(t,n){e._elementRef.nativeElement.addEventListener(n,t,jH)}))}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this._elementRef.nativeElement,t=e.style,n=this.touchGestures;"off"!==n&&(("on"===n||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(t.userSelect=t.msUserSelect=t.webkitUserSelect=t.MozUserSelect="none"),"on"!==n&&e.draggable||(t.webkitUserDrag="none"),t.touchAction="none",t.webkitTapHighlightColor="transparent")}}])}()).\u0275fac=function(e){return new(e||VH)(To(op),To(qs),To(om),To(gl),To(Pu),To(ih),To(Qh),To(bf),To(BH),To(Jf,8),To(UH,8),To(qs))},VH.\u0275dir=wt({type:VH,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),VH),GH=((zH=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._changeDetectorRef=t,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new L,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}),[{key:"show",value:function(e){var t=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){t._visibility="visible",t._showTimeoutId=null,t._markForCheck()}),e)}},{key:"hide",value:function(e){var t=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){t._visibility="hidden",t._hideTimeoutId=null,t._markForCheck()}),e)}},{key:"afterHidden",value:function(){return this._onHide.asObservable()}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}])}()).\u0275fac=function(e){return new(e||zH)(To(Gr),To(gM))},zH.\u0275cmp=_t({type:zH,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&Bo("click",(function(){return t._handleBodyInteraction()}),!1,Gn),2&e&&ss("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var n,i,a,r;1&e&&(Po(0,"div",0),Bo("@state.start",(function(){return t._animationStart()}))("@state.done",(function(e){return t._animationDone(e)})),Nl(1,"async"),ys(2),Io()),2&e&&(ls("mat-tooltip-handset",null==(i=t._isHandset,a=Qt(),r=zt(a,1),n=Bl(a,Vl(a,1)?function(e,t,n,i,a,r){var o=t+5;return Co(e,o,a)?wo(e,o+1,r?i.call(r,a):i(a)):jl(e,o+1)}(a,sn(),0,r.transform,i,r):r.transform(i)))?null:n.matches),Oo("ngClass",t.tooltipClass)("@state",t._visibility),ya(2),bs(t.message))},directives:[vd],pipes:[Nd],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[FH.tooltipState]},changeDetection:0}),zH),ZH=((NH=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:NH}),NH.\u0275inj=me({factory:function(e){return new(e||NH)},providers:[WH],imports:[[Sf,Vd,hp,Fg],Fg,um]}),NH);function JH(e,t){if(1&e&&(Po(0,"mat-option",19),ys(1),Io()),2&e){var n=t.$implicit;Oo("value",n),ya(1),ks(" ",n," ")}}function KH(e,t){if(1&e){var n=No();Po(0,"mat-form-field",16),Po(1,"mat-select",17),Bo("selectionChange",(function(e){return $t(n),Zo(2)._changePageSize(e.value)})),So(2,JH,2,2,"mat-option",18),Io(),Io()}if(2&e){var i=Zo(2);Oo("color",i.color),ya(1),Oo("value",i.pageSize)("disabled",i.disabled)("aria-label",i._intl.itemsPerPageLabel),ya(1),Oo("ngForOf",i._displayedPageSizeOptions)}}function QH(e,t){if(1&e&&(Po(0,"div",20),ys(1),Io()),2&e){var n=Zo(2);ya(1),bs(n.pageSize)}}function XH(e,t){if(1&e&&(Po(0,"div",12),Po(1,"div",13),ys(2),Io(),So(3,KH,3,5,"mat-form-field",14),So(4,QH,2,1,"div",15),Io()),2&e){var n=Zo();ya(2),ks(" ",n._intl.itemsPerPageLabel," "),ya(1),Oo("ngIf",n._displayedPageSizeOptions.length>1),ya(1),Oo("ngIf",n._displayedPageSizeOptions.length<=1)}}function $H(e,t){if(1&e){var n=No();Po(0,"button",21),Bo("click",(function(){return $t(n),Zo().firstPage()})),Dn(),Po(1,"svg",7),Ro(2,"path",22),Io(),Io()}if(2&e){var i=Zo();Oo("matTooltip",i._intl.firstPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),Mo("aria-label",i._intl.firstPageLabel)}}function eN(e,t){if(1&e){var n=No();Dn(),Sn(),Po(0,"button",23),Bo("click",(function(){return $t(n),Zo().lastPage()})),Dn(),Po(1,"svg",7),Ro(2,"path",24),Io(),Io()}if(2&e){var i=Zo();Oo("matTooltip",i._intl.lastPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),Mo("aria-label",i._intl.lastPageLabel)}}var tN,nN,iN,aN=((tN=_createClass((function e(){_classCallCheck(this,e),this.changes=new L,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(e,t,n){if(0==n||0==t)return"0 of "+n;var i=e*t;return"".concat(i+1," \u2013 ").concat(i<(n=Math.max(n,0))?Math.min(i+t,n):i+t," of ").concat(n)}}))).\u0275fac=function(e){return new(e||tN)},tN.\u0275prov=fe({factory:function(){return new tN},token:tN,providedIn:"root"}),tN),rN={provide:aN,deps:[[new se,new ue,aN]],useFactory:function(e){return e||new aN}},oN=new Ve("MAT_PAGINATOR_DEFAULT_OPTIONS"),sN=jg(function(e){function t(){var e;_classCallCheck(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return(e=_callSuper(this,t,[].concat(i)))._isInitialized=!1,e._pendingSubscribers=[],e.initialized=new w((function(t){e._isInitialized?e._notifySubscriber(t):e._pendingSubscribers.push(t)})),e}return _inherits(t,e),_createClass(t,[{key:"_markInitialized",value:function(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}},{key:"_notifySubscriber",value:function(e){e.next(),e.complete()}}])}(_createClass((function e(){_classCallCheck(this,e)})))),lN=((iN=function(e){function t(e,n,i){var a;if(_classCallCheck(this,t),(a=_callSuper(this,t))._intl=e,a._changeDetectorRef=n,a._pageIndex=0,a._length=0,a._pageSizeOptions=[],a._hidePageSize=!1,a._showFirstLastButtons=!1,a.page=new Wl,a._intlChanges=e.changes.subscribe((function(){return a._changeDetectorRef.markForCheck()})),i){var r=i.pageSize,o=i.pageSizeOptions,s=i.hidePageSize,l=i.showFirstLastButtons;null!=r&&(a._pageSize=r),null!=o&&(a._pageSizeOptions=o),null!=s&&(a._hidePageSize=s),null!=l&&(a._showFirstLastButtons=l)}return a}return _inherits(t,e),_createClass(t,[{key:"pageIndex",get:function(){return this._pageIndex},set:function(e){this._pageIndex=Math.max(Oh(e),0),this._changeDetectorRef.markForCheck()}},{key:"length",get:function(){return this._length},set:function(e){this._length=Oh(e),this._changeDetectorRef.markForCheck()}},{key:"pageSize",get:function(){return this._pageSize},set:function(e){this._pageSize=Math.max(Oh(e),0),this._updateDisplayedPageSizeOptions()}},{key:"pageSizeOptions",get:function(){return this._pageSizeOptions},set:function(e){this._pageSizeOptions=(e||[]).map((function(e){return Oh(e)})),this._updateDisplayedPageSizeOptions()}},{key:"hidePageSize",get:function(){return this._hidePageSize},set:function(e){this._hidePageSize=Eh(e)}},{key:"showFirstLastButtons",get:function(){return this._showFirstLastButtons},set:function(e){this._showFirstLastButtons=Eh(e)}},{key:"ngOnInit",value:function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe()}},{key:"nextPage",value:function(){if(this.hasNextPage()){var e=this.pageIndex;this.pageIndex++,this._emitPageEvent(e)}}},{key:"previousPage",value:function(){if(this.hasPreviousPage()){var e=this.pageIndex;this.pageIndex--,this._emitPageEvent(e)}}},{key:"firstPage",value:function(){if(this.hasPreviousPage()){var e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}}},{key:"lastPage",value:function(){if(this.hasNextPage()){var e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}}},{key:"hasPreviousPage",value:function(){return this.pageIndex>=1&&0!=this.pageSize}},{key:"hasNextPage",value:function(){var e=this.getNumberOfPages()-1;return this.pageIndex<e&&0!=this.pageSize}},{key:"getNumberOfPages",value:function(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}},{key:"_changePageSize",value:function(e){var t=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/e)||0,this.pageSize=e,this._emitPageEvent(t)}},{key:"_nextButtonsDisabled",value:function(){return this.disabled||!this.hasNextPage()}},{key:"_previousButtonsDisabled",value:function(){return this.disabled||!this.hasPreviousPage()}},{key:"_updateDisplayedPageSizeOptions",value:function(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((function(e,t){return e-t})),this._changeDetectorRef.markForCheck())}},{key:"_emitPageEvent",value:function(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}])}(sN)).\u0275fac=function(e){return new(e||iN)(To(aN),To(Gr),To(oN,8))},iN.\u0275cmp=_t({type:iN,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},exportAs:["matPaginator"],features:[Ds],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"div",1),So(2,XH,5,3,"div",2),Po(3,"div",3),Po(4,"div",4),ys(5),Io(),So(6,$H,3,5,"button",5),Po(7,"button",6),Bo("click",(function(){return t.previousPage()})),Dn(),Po(8,"svg",7),Ro(9,"path",8),Io(),Io(),Sn(),Po(10,"button",9),Bo("click",(function(){return t.nextPage()})),Dn(),Po(11,"svg",7),Ro(12,"path",10),Io(),Io(),So(13,eN,3,5,"button",11),Io(),Io(),Io()),2&e&&(ya(2),Oo("ngIf",!t.hidePageSize),ya(3),ks(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),ya(1),Oo("ngIf",t.showFirstLastButtons),ya(1),Oo("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),Mo("aria-label",t._intl.previousPageLabel),ya(3),Oo("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),Mo("aria-label",t._intl.nextPageLabel),ya(3),Oo("ngIf",t.showFirstLastButtons))},directives:[kd,Zy,qH,OC,vH,yd,Ry],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),iN),uN=((nN=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:nN}),nN.\u0275inj=me({factory:function(e){return new(e||nN)},providers:[rN],imports:[[Vd,Ky,gH,ZH]]}),nN);function cN(e,t){1&e&&(Po(0,"th",14),ys(1," Nom "),Io())}function dN(e,t){if(1&e&&(Po(0,"td",15),ys(1),Io()),2&e){var n=t.$implicit;ya(1),ks(" ",n.lastname," ")}}function hN(e,t){1&e&&(Po(0,"th",14),ys(1," Pr\xe9nom "),Io())}function fN(e,t){if(1&e&&(Po(0,"td",15),ys(1),Io()),2&e){var n=t.$implicit;ya(1),ks(" ",n.firstname," ")}}function mN(e,t){1&e&&(Po(0,"th",14),ys(1," Adresse email "),Io())}function pN(e,t){if(1&e&&(Po(0,"td",15),ys(1),Io()),2&e){var n=t.$implicit;ya(1),ks(" ",n.email," ")}}function _N(e,t){1&e&&(Po(0,"th",14),ys(1," D\xe9tails "),Io())}function vN(e,t){if(1&e){var n=No();Po(0,"td",15),Po(1,"button",16),Bo("click",(function(){$t(n);var e=t.$implicit;return Zo().detailUser(e)})),Po(2,"mat-icon",17),ys(3,"reorder"),Io(),Io(),Io()}}function gN(e,t){1&e&&(Po(0,"th",14),ys(1," Modifier "),Io())}function yN(e,t){if(1&e){var n=No();Po(0,"td",15),Po(1,"button",18),Bo("click",(function(){$t(n);var e=t.$implicit;return Zo().editUser(e)})),Po(2,"mat-icon",17),ys(3,"system_update"),Io(),Io(),Io()}}function bN(e,t){1&e&&(Po(0,"th",14),ys(1," Bloquer "),Io())}function kN(e,t){if(1&e){var n=No();Po(0,"button",20),Bo("click",(function(){$t(n);var e=Zo().$implicit;return Zo().bloqueUser(e)})),Po(1,"mat-icon",17),ys(2,"not_interested"),Io(),Io()}}function wN(e,t){if(1&e&&(Po(0,"td",15),So(1,kN,3,0,"button",19),Io()),2&e){var n=t.$implicit;ya(1),Oo("ngIf",n.isActive)}}function CN(e,t){1&e&&(Po(0,"th",14),ys(1," Supprimer "),Io())}function xN(e,t){if(1&e){var n=No();Po(0,"td",15),Po(1,"button",20),Bo("click",(function(){$t(n);var e=t.$implicit;return Zo().deleteUser(e)})),Po(2,"mat-icon",17),ys(3,"delete"),Io(),Io(),Io()}}function MN(e,t){1&e&&Ro(0,"tr",21)}function DN(e,t){1&e&&Ro(0,"tr",22)}var SN,LN,TN,AN=function(){return[5,10,20,50]},EN=((TN=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.dialog=t,this.usersService=n,this.users=[],this.filter=new Wl,this.displayedColumns=["lastname","firstname","email","details","update","bloque","delete"],this.dataSource=new OF(this.users)}),[{key:"handlePage",value:function(e){this.filter.emit(e)}},{key:"detailUser",value:function(e){this.dialog.open(IH,{width:"650px",height:"440px",data:e}).afterClosed().subscribe((function(e){}))}},{key:"editUser",value:function(e){var t=this;console.log(JSON.stringify(e));var n=this.dialog.open(xH,{width:"550px",height:"340px",data:"Souhaitez-vous modifier cet utilisateur ?"}),i={isActive:!1};n.afterClosed().subscribe((function(n){n&&(console.log(JSON.stringify(n)),t.usersService.editOneUser(e._id,i).subscribe((function(e){console.log(e)})))}))}},{key:"bloqueUser",value:function(e){var t=this,n=this.dialog.open(MH,{width:"350px",height:"140px",data:"Souhaitez-vous bloquer cet utilisateur ?"}),i={isActive:!1};n.afterClosed().subscribe((function(n){n&&t.usersService.editOneUser(e._id,i).subscribe((function(e){console.log(e)}))}))}},{key:"deleteUser",value:function(e){var t=this;this.dialog.open(RH,{width:"350px",height:"140px",data:"Souhaitez-vous supprimer cet utilisateur ?"}).afterClosed().subscribe((function(n){n&&t.usersService.deleteOneUser(e._id).subscribe((function(e){console.log(e)}))}))}}])}()).\u0275fac=function(e){return new(e||TN)(To(pb),To(ej))},TN.\u0275cmp=_t({type:TN,selectors:[["app-users-list"]],inputs:{users:"users",page:"page",pageSize:"pageSize",total:"total"},outputs:{filter:"filter"},decls:26,vars:8,consts:[[1,"mat-elevation-z8","col-12","col-lg-12","mb-5","justify-content-center"],["mat-table","",3,"dataSource"],["matColumnDef","lastname"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","text-left",4,"matCellDef"],["matColumnDef","firstname"],["matColumnDef","email"],["matColumnDef","details"],["matColumnDef","update"],["matColumnDef","bloque"],["matColumnDef","delete"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize","pageSizeOptions","showFirstLastButtons","page"],["mat-header-cell",""],["mat-cell","",1,"text-left"],["mat-icon-button","","color","primary",3,"click"],[1,"mat-18"],["mat-icon-button","","color","accent",1,"update",2,"color","rgb(6, 91, 31)","background-color","rgb(255, 255, 255)",3,"click"],["mat-icon-button","","color","warn",3,"click",4,"ngIf"],["mat-icon-button","","color","warn",3,"click"],["mat-header-row",""],["mat-row",""]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"table",1),Fo(2,2),So(3,cN,2,0,"th",3),So(4,dN,2,1,"td",4),jo(),Fo(5,5),So(6,hN,2,0,"th",3),So(7,fN,2,1,"td",4),jo(),Fo(8,6),So(9,mN,2,0,"th",3),So(10,pN,2,1,"td",4),jo(),Fo(11,7),So(12,_N,2,0,"th",3),So(13,vN,4,0,"td",4),jo(),Fo(14,8),So(15,gN,2,0,"th",3),So(16,yN,4,0,"td",4),jo(),Fo(17,9),So(18,bN,2,0,"th",3),So(19,wN,2,1,"td",4),jo(),Fo(20,10),So(21,CN,2,0,"th",3),So(22,xN,4,0,"td",4),jo(),So(23,MN,1,0,"tr",11),So(24,DN,1,0,"tr",12),Io(),Po(25,"mat-paginator",13),Bo("page",(function(e){return t.handlePage(e)})),Io(),Io()),2&e&&(ya(1),Oo("dataSource",t.users),ya(22),Oo("matHeaderRowDef",t.displayedColumns),ya(1),Oo("matRowDefColumns",t.displayedColumns),ya(1),Oo("length",t.total)("pageSize",t.pageSize)("pageSizeOptions",Rl(7,AN))("showFirstLastButtons",!0))},directives:[oF,mF,cF,lF,yF,CF,lN,_F,gF,Zy,Dj,kd,MF,TF],styles:["table[_ngcontent-%COMP%]{width:100%}.update[_ngcontent-%COMP%]{color:#39c965}"]}),TN),ON=((LN=function(){return _createClass((function e(t){_classCallCheck(this,e),this.UsersService=t,this.page=1,this.pageSize=10,this.startregister="",this.endregister="",this.firstname="",this.lastname="",this.email="",this.adress=""}),[{key:"ngOnInit",value:function(){this.subscribeToUsers()}},{key:"filterUsersPage",value:function(e){var t=this;this.UsersService.getUsers(e.pageIndex+1,e.pageSize,this.lastname,this.firstname,this.email,this.adress,this.startregister,this.endregister).subscribe((function(e){t.users=e.users,t.total=e.total})),console.log("1",e)}},{key:"filterUsersForm",value:function(e){var t=this;if(console.log("2",e),null==e.date)var n=null,i=null;null!==e.date&&(n=e.date.begin,i=e.date.end),console.log("start : "+n),console.log("end : "+i),this.UsersService.getUsers(this.page,this.pageSize,e.lastname,e.firstname,e.email,e.adress,n,i).subscribe((function(e){t.users=e.users,t.total=e.total})),this.firstname=e.firstname,this.lastname=e.lastname,this.email=e.email,this.startregister=n,this.endregister=i,console.log("2",e)}},{key:"subscribeToUsers",value:function(){var e=this;this.UsersService.getUsers(this.page,this.pageSize,this.lastname,this.firstname,this.email,this.adress,this.startregister,this.endregister).subscribe((function(t){e.users=t.users,e.page=t.page,e.total=t.total}))}}])}()).\u0275fac=function(e){return new(e||LN)(To(ej))},LN.\u0275cmp=_t({type:LN,selectors:[["app-users"]],decls:5,vars:4,consts:[[1,"container","navtop"],[1,"mb-5"],[3,"filterUsers"],[3,"users","total","page","pageSize","filter"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"h1",1),ys(2,"Liste des utilisateurs du jeux"),Io(),Po(3,"app-users-form",2),Bo("filterUsers",(function(e){return t.filterUsersForm(e)})),Io(),Po(4,"app-users-list",3),Bo("filter",(function(e){return t.filterUsersPage(e)})),Io(),Io()),2&e&&(ya(4),Oo("users",t.users)("total",t.total)("page",t.page)("pageSize",t.pageSize))},directives:[CH,EN],styles:[".navtop[_ngcontent-%COMP%]{margin-top:3em}"]}),LN),YN=((SN=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"ngOnInit",value:function(){}}])}()).\u0275fac=function(e){return new(e||SN)},SN.\u0275cmp=_t({type:SN,selectors:[["app-not-found"]],decls:14,vars:0,consts:[[1,"container"],["id","notfound"],[1,"notfound"],[1,"notfound-404"],["routerLink","/"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"div",1),Po(2,"div",2),Po(3,"div",3),Po(4,"h1"),ys(5,"4"),Ro(6,"span"),ys(7,"4"),Io(),Io(),Po(8,"h3"),ys(9," Page non trouv\xe9e"),Io(),Po(10,"p"),ys(11,"D\xe9sol\xe9 mais la page que vous recherchez n'existe pas"),Io(),Po(12,"a",4),ys(13,"Revenir \xe0 la page d'accueil"),Io(),Io(),Io(),Io())},directives:[vT],styles:["*[_ngcontent-%COMP%]{box-sizing:border-box}body[_ngcontent-%COMP%]{padding:0;margin:0}#notfound[_ngcontent-%COMP%]{position:relative;height:90vh}#notfound[_ngcontent-%COMP%] .notfound[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.notfound[_ngcontent-%COMP%]{max-width:520px;width:100%;text-align:center;line-height:1.4}.notfound[_ngcontent-%COMP%] .notfound-404[_ngcontent-%COMP%]{height:190px}.notfound[_ngcontent-%COMP%] .notfound-404[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-family:Montserrat,sans-serif;font-size:146px;font-weight:700;margin:0;color:#232323}.notfound[_ngcontent-%COMP%] .notfound-404[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{display:inline-block;width:120px;height:120px;background-size:cover;transform:scale(1.4);z-index:-1}.notfound[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:22px;font-weight:700;margin:0;text-transform:uppercase;color:#232323}.notfound[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .notfound[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-family:Montserrat,sans-serif}.notfound[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#787878;font-weight:300}.notfound[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-family:Montserrat,sans-serif;display:inline-block;padding:12px 30px;font-weight:700;background-color:#f99827;color:#fff;border-radius:40px;text-decoration:none;transition:all .2s}.notfound[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{opacity:.8}@media only screen and (max-width:767px){.notfound[_ngcontent-%COMP%] .notfound-404[_ngcontent-%COMP%]{height:115px}.notfound[_ngcontent-%COMP%] .notfound-404[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:86px}.notfound[_ngcontent-%COMP%] .notfound-404[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{width:86px;height:86px}}"]}),SN);function PN(e,t){1&e&&Ro(0,"mat-progress-bar",24)}function IN(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorEmail()," ")}}function RN(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorPassword()," ")}}var FN,jN=((FN=function(){return _createClass((function e(t,n,i,a,r,o){_classCallCheck(this,e),this.router=t,this.snackBar=n,this.authService=i,this.formBuilder=a,this.matIconRegistry=r,this.domSanitizer=o,this.submitted=!1,this.loading=!1,this.hide=!0,this.matIconRegistry.addSvgIcon("googleLogo",this.domSanitizer.bypassSecurityTrustResourceUrl("../assets/img/social/google+.svg")),this.matIconRegistry.addSvgIcon("facebookLogo",this.domSanitizer.bypassSecurityTrustResourceUrl("../assets/img/social/facebook.svg"))}),[{key:"ngOnInit",value:function(){this.createForm()}},{key:"createForm",value:function(){this.formGroup=this.formBuilder.group({email:[null,[Kb.required,Kb.pattern(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)]],password:[null,[Kb.required,this.checkPassword]]})}},{key:"checkPassword",value:function(e){var t=e.value;return!/^(?=.*[a-z])(?=.{6,})/.test(t)&&t?{requirements:!0}:null}},{key:"getErrorEmail",value:function(){return this.formGroup.get("email").hasError("required")?"Adresse email requise":this.formGroup.get("email").hasError("pattern")?"Adresse email non valide":""}},{key:"getErrorPassword",value:function(){return this.formGroup.get("password").hasError("required")?"Mot de passe requis":this.formGroup.get("password").hasError("requirements")?"Le mot de passe doit comporter au moins 8 caract\xe8res, une lettre majuscule":""}},{key:"f",get:function(){return this.formGroup.controls}},{key:"signIn",value:function(){var e=this;this.submitted=!0,this.formGroup.invalid||(this.loading=!0,this.authService.signIn(this.formGroup.value).subscribe((function(t){console.log(t),e.loading=!1,e.router.navigate(["/auth"]),setTimeout((function(){document.location.reload()}),2e3)}),(function(t){e.loading=!1,console.log(t.error.message),e.authService.openSnackBar(t.error.message)})))}}])}()).\u0275fac=function(e){return new(e||FN)(To(pT),To(RM),To(XT),To(Fw),To(_j),To(Wp))},FN.\u0275cmp=_t({type:FN,selectors:[["app-login"]],decls:49,vars:6,consts:[[1,"container","navtop"],[1,"row","justify-content-center"],[1,"col-11","col-lg-5",2,"border-radius","10px"],["class","col-12","mode","indeterminate",4,"ngIf"],[3,"formGroup","ngSubmit"],[1,"row","justify-content-center","mb-3"],["mat-raised-button","",1,"col-10","col-md-8","googlelogin",2,"background-color","#AD0505","color","white"],[1,"row","mt-1","ml-3"],["svgIcon","googleLogo",1,"ml-2"],[1,"ml-2","marginButton"],["mat-raised-button","",1,"col-10","col-md-8","facebooklogin",2,"background-color","#2121A1","color","white"],["svgIcon","facebookLogo",1,"ml-2"],[1,"row","mt-3","justify-content-center"],[1,"col-4"],[1,"col-1"],[1,"col-10"],["matInput","","placeholder","Adresse email","formControlName","email","required",""],[4,"ngIf"],["matInput","","placeholder","Mot de passe","formControlName","password","required","",3,"type"],["matSuffix","",3,"click"],[1,"row","justify-content-center","mt-3"],["mat-raised-button","","color","primary","type","submit",1,"col-6","color-theme"],["_ngcontent-yhd-c250","","routerlink","/login/lost-password","ng-reflect-router-link","/login/lost-password","href","/login/lost-password",2,"color","rgb(0, 81, 168)","background-color","rgb(255, 255, 255)"],["_ngcontent-yhd-c250","","routerlink","/register","ng-reflect-router-link","/register","href","/register",1,"ml-1",2,"color","rgb(0, 81, 168)","background-color","rgb(255, 255, 255)"],["mode","indeterminate",1,"col-12"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"div",1),Po(2,"mat-card",2),So(3,PN,1,0,"mat-progress-bar",3),Po(4,"mat-card-content"),Po(5,"form",4),Bo("ngSubmit",(function(){return t.signIn()})),Po(6,"h1",1),Po(7,"b"),ys(8,"Connexion"),Io(),Io(),Po(9,"div",5),Po(10,"button",6),Po(11,"div",7),Ro(12,"mat-icon",8),Po(13,"p",9),ys(14,"Se connecter avec Google"),Io(),Io(),Io(),Io(),Po(15,"div",1),Po(16,"button",10),Po(17,"div",7),Ro(18,"mat-icon",11),Po(19,"p",9),ys(20,"Se connecter avec Facebook"),Io(),Io(),Io(),Io(),Po(21,"div",12),Po(22,"div",13),Ro(23,"hr"),Io(),Po(24,"div",14),Po(25,"p"),ys(26,"ou"),Io(),Io(),Po(27,"div",13),Ro(28,"hr"),Io(),Io(),Po(29,"div",1),Po(30,"mat-form-field",15),Ro(31,"input",16),So(32,IN,2,1,"mat-error",17),Io(),Io(),Po(33,"div",1),Po(34,"mat-form-field",15),Ro(35,"input",18),Po(36,"mat-icon",19),Bo("click",(function(){return t.hide=!t.hide})),ys(37),Io(),So(38,RN,2,1,"mat-error",17),Io(),Io(),Po(39,"div",20),Po(40,"button",21),ys(41,"Se connecter"),Io(),Io(),Po(42,"p",20),Po(43,"a",22),ys(44," Mot de passe oubli\xe9 ? "),Io(),Io(),Po(45,"p",1),ys(46,"Vous n'avez pas encore de compte?"),Po(47,"a",23),ys(48,"\nCr\xe9er un compte\n"),Io(),Io(),Io(),Io(),Io(),Io(),Io()),2&e&&(ya(3),Oo("ngIf",t.loading),ya(2),Oo("formGroup",t.formGroup),ya(27),Oo("ngIf",!t.formGroup.controls.email.valid&&t.formGroup.controls.email.touched),ya(3),Oo("type",t.hide?"password":"text"),ya(2),bs(t.hide?"visibility_off":"visibility"),ya(1),Oo("ngIf",!t.formGroup.controls.password.valid&&t.formGroup.controls.password.touched))},directives:[uA,kd,lA,cw,Ub,pw,Zy,Dj,OC,jC,Ib,Wb,Ew,Yw,SC,pA,uC],styles:[".navtop[_ngcontent-%COMP%]{margin-top:7em;margin-bottom:3em}.facebooklogin[_ngcontent-%COMP%], .googlelogin[_ngcontent-%COMP%]{margin-bottom:-.5em!important}.marginButton[_ngcontent-%COMP%]{margin-bottom:0!important}"]}),FN),HN=["mat-calendar-body",""];function NN(e,t){if(1&e&&(Po(0,"tr",2),Po(1,"td",3),ys(2),Io(),Io()),2&e){var n=Zo();ya(1),ss("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),Mo("colspan",n.numCols),ya(1),ks(" ",n.label," ")}}function zN(e,t){if(1&e&&(Po(0,"td",7),ys(1),Io()),2&e){var n=Zo(2);ss("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),Mo("colspan",n._firstRowOffset),ya(1),ks(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function VN(e,t){if(1&e){var n=No();Po(0,"td",8),Bo("click",(function(){$t(n);var e=t.$implicit;return Zo(2)._cellClicked(e)})),Po(1,"div",9),ys(2),Io(),Io()}if(2&e){var i=t.$implicit,a=t.index,r=Zo().index,o=Zo();ss("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),ls("mat-calendar-body-disabled",!i.enabled)("mat-calendar-body-active",o._isActiveCell(r,a)),Oo("ngClass",i.cssClasses)("tabindex",o._isActiveCell(r,a)?0:-1),Mo("aria-label",i.ariaLabel)("aria-disabled",!i.enabled||null)("aria-selected",o.selectedValue===i.value),ya(1),ls("mat-calendar-body-selected",o.selectedValue===i.value)("mat-calendar-body-today",o.todayValue===i.value),ya(1),ks(" ",i.displayValue," ")}}function BN(e,t){if(1&e&&(Po(0,"tr",4),So(1,zN,2,6,"td",5),So(2,VN,3,20,"td",6),Io()),2&e){var n=t.$implicit,i=t.index,a=Zo();ya(1),Oo("ngIf",0===i&&a._firstRowOffset),ya(1),Oo("ngForOf",n)}}function WN(e,t){if(1&e&&(Po(0,"th",5),ys(1),Io()),2&e){var n=t.$implicit;Mo("aria-label",n.long),ya(1),bs(n.narrow)}}var UN=["*"];function qN(e,t){}function GN(e,t){if(1&e){var n=No();Po(0,"mat-month-view",5),Bo("activeDateChange",(function(e){return $t(n),Zo().activeDate=e}))("selectedChange",(function(e){return $t(n),Zo()._dateSelected(e)}))("_userSelection",(function(){return $t(n),Zo()._userSelected()})),Io()}if(2&e){var i=Zo();Oo("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)}}function ZN(e,t){if(1&e){var n=No();Po(0,"mat-year-view",6),Bo("activeDateChange",(function(e){return $t(n),Zo().activeDate=e}))("monthSelected",(function(e){return $t(n),Zo()._monthSelectedInYearView(e)}))("selectedChange",(function(e){return $t(n),Zo()._goToDateInView(e,"month")})),Io()}if(2&e){var i=Zo();Oo("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)}}function JN(e,t){if(1&e){var n=No();Po(0,"mat-multi-year-view",7),Bo("activeDateChange",(function(e){return $t(n),Zo().activeDate=e}))("yearSelected",(function(e){return $t(n),Zo()._yearSelectedInMultiYearView(e)}))("selectedChange",(function(e){return $t(n),Zo()._goToDateInView(e,"year")})),Io()}if(2&e){var i=Zo();Oo("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)}}var KN=["button"];function QN(e,t){1&e&&(Dn(),Po(0,"svg",3),Ro(1,"path",4),Io())}var XN=[[["","matDatepickerToggleIcon",""]]],$N=["[matDatepickerToggleIcon]"];function ez(e){return Error("MatDatepicker: No provider found for ".concat(e,". You must import one of the following modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation."))}var tz,nz,iz,az,rz=((tz=function(){return _createClass((function e(){_classCallCheck(this,e),this.changes=new L,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}),[{key:"formatYearRange",value:function(e,t){return"".concat(e," \u2013 ").concat(t)}}])}()).\u0275fac=function(e){return new(e||tz)},tz.\u0275prov=fe({factory:function(){return new tz},token:tz,providedIn:"root"}),tz),oz=_createClass((function e(t,n,i,a){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};_classCallCheck(this,e),this.value=t,this.displayValue=n,this.ariaLabel=i,this.enabled=a,this.cssClasses=r})),sz=((az=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this._elementRef=t,this._ngZone=n,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new Wl}),[{key:"_cellClicked",value:function(e){e.enabled&&this.selectedValueChange.emit(e.value)}},{key:"ngOnChanges",value:function(e){var t=e.numCols,n=this.rows,i=this.numCols;(e.rows||t)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),!t&&this._cellWidth||(this._cellWidth=100/i+"%")}},{key:"_isActiveCell",value:function(e,t){var n=e*this.numCols+t;return e&&(n-=this._firstRowOffset),n==this.activeCell}},{key:"_focusActiveCell",value:function(){var e=this;this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.asObservable().pipe(Lh(1)).subscribe((function(){var t=e._elementRef.nativeElement.querySelector(".mat-calendar-body-active");t&&t.focus()}))}))}}])}()).\u0275fac=function(e){return new(e||az)(To(qs),To(Pu))},az.\u0275cmp=_t({type:az,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",cellAspectRatio:"cellAspectRatio",label:"label",rows:"rows",todayValue:"todayValue",selectedValue:"selectedValue",labelMinRequiredCells:"labelMinRequiredCells"},outputs:{selectedValueChange:"selectedValueChange"},exportAs:["matCalendarBody"],features:[Os],attrs:HN,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell mat-focus-indicator",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell","mat-focus-indicator",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content"]],template:function(e,t){1&e&&(So(0,NN,3,6,"tr",0),So(1,BN,3,2,"tr",1)),2&e&&(Oo("ngIf",t._firstRowOffset<t.labelMinRequiredCells),ya(1),Oo("ngForOf",t.rows))},directives:[kd,yd,vd],styles:[".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n"],encapsulation:2,changeDetection:0}),az),lz=((iz=function(){return _createClass((function e(t,n,i,a){if(_classCallCheck(this,e),this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=i,this._dir=a,this._rerenderSubscription=h.EMPTY,this.selectedChange=new Wl,this._userSelection=new Wl,this.activeDateChange=new Wl,!this._dateAdapter)throw ez("DateAdapter");if(!this._dateFormats)throw ez("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}),[{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vf(null)).subscribe((function(){return e._init()}))}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_dateSelected",value:function(e){if(this._selectedDate!=e){var t=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.createDate(t,n,e);this.selectedChange.emit(i)}this._userSelection.emit()}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),e.preventDefault()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_init",value:function(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_initWeekdays",value:function(){var e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow"),n=this._dateAdapter.getDayOfWeekNames("long").map((function(e,n){return{long:e,narrow:t[n]}}));this._weekdays=n.slice(e).concat(n.slice(0,e))}},{key:"_createWeekCells",value:function(){var e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(var n=0,i=this._firstWeekOffset;n<e;n++,i++){7==i&&(this._weeks.push([]),i=0);var a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),r=this._shouldEnableDate(a),o=this._dateAdapter.format(a,this._dateFormats.display.dateA11yLabel),s=this.dateClass?this.dateClass(a):void 0;this._weeks[this._weeks.length-1].push(new oz(n+1,t[n],o,r,s))}}},{key:"_shouldEnableDate",value:function(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}},{key:"_getDateInCurrentMonth",value:function(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}},{key:"_hasSameMonthAndYear",value:function(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}}])}()).\u0275fac=function(e){return new(e||iz)(To(Gr),To(qg,8),To(Ug,8),To(Jf,8))},iz.\u0275cmp=_t({type:iz,selectors:[["mat-month-view"]],viewQuery:function(e,t){var n;1&e&&iu(sz,!0),2&e&&tu(n=lu())&&(t._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],decls:7,vars:7,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","selectedValue","labelMinRequiredCells","activeCell","selectedValueChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(Po(0,"table",0),Po(1,"thead",1),Po(2,"tr"),So(3,WN,2,2,"th",2),Io(),Po(4,"tr"),Ro(5,"th",3),Io(),Io(),Po(6,"tbody",4),Bo("selectedValueChange",(function(e){return t._dateSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),Io(),Io()),2&e&&(ya(3),Oo("ngForOf",t._weekdays),ya(3),Oo("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("selectedValue",t._selectedDate)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[yd,sz],encapsulation:2,changeDetection:0}),iz),uz=((nz=function(){return _createClass((function e(t,n,i){if(_classCallCheck(this,e),this._changeDetectorRef=t,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=h.EMPTY,this.selectedChange=new Wl,this.yearSelected=new Wl,this.activeDateChange=new Wl,!this._dateAdapter)throw ez("DateAdapter");this._activeDate=this._dateAdapter.today()}),[{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),cz(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vf(null)).subscribe((function(){return e._init()}))}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_init",value:function(){var e=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var t=this._dateAdapter.getYear(this._activeDate)-dz(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var n=0,i=[];n<24;n++)i.push(t+n),4==i.length&&(this._years.push(i.map((function(t){return e._createCellForYear(t)}))),i=[]);this._changeDetectorRef.markForCheck()}},{key:"_yearSelected",value:function(e){this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));var t=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,t,1));this.selectedChange.emit(this._dateAdapter.createDate(e,t,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-dz(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-dz(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case 13:case 32:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_getActiveCell",value:function(){return dz(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_createCellForYear",value:function(e){var t=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return new oz(e,t,t,this._shouldEnableYear(e))}},{key:"_shouldEnableYear",value:function(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var t=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(t)==e;t=this._dateAdapter.addCalendarDays(t,1))if(this.dateFilter(t))return!0;return!1}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}}])}()).\u0275fac=function(e){return new(e||nz)(To(Gr),To(Ug,8),To(Jf,8))},nz.\u0275cmp=_t({type:nz,selectors:[["mat-multi-year-view"]],viewQuery:function(e,t){var n;1&e&&iu(sz,!0),2&e&&tu(n=lu())&&(t._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:6,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","selectedValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(e,t){1&e&&(Po(0,"table",0),Po(1,"thead",1),Po(2,"tr"),Ro(3,"th",2),Io(),Io(),Po(4,"tbody",3),Bo("selectedValueChange",(function(e){return t._yearSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),Io(),Io()),2&e&&(ya(4),Oo("rows",t._years)("todayValue",t._todayYear)("selectedValue",t._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",t._getActiveCell()))},directives:[sz],encapsulation:2,changeDetection:0}),nz);function cz(e,t,n,i,a){var r=e.getYear(t),o=e.getYear(n),s=hz(e,i,a);return Math.floor((r-s)/24)===Math.floor((o-s)/24)}function dz(e,t,n,i){return((e.getYear(t)-hz(e,n,i))%24+24)%24}function hz(e,t,n){var i=0;return n?i=e.getYear(n)-24+1:t&&(i=e.getYear(t)),i}var fz,mz,pz,_z,vz,gz,yz,bz,kz,wz=((pz=function(){return _createClass((function e(t,n,i,a){if(_classCallCheck(this,e),this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=i,this._dir=a,this._rerenderSubscription=h.EMPTY,this.selectedChange=new Wl,this.monthSelected=new Wl,this.activeDateChange=new Wl,!this._dateAdapter)throw ez("DateAdapter");if(!this._dateFormats)throw ez("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}),[{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Vf(null)).subscribe((function(){return e._init()}))}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_monthSelected",value:function(e){var t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(t);var n=this._dateAdapter.getNumDaysInMonth(t);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_init",value:function(){var e=this;this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);var t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map((function(n){return n.map((function(n){return e._createCellForMonth(n,t[n])}))})),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_getMonthInCurrentYear",value:function(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}},{key:"_createCellForMonth",value:function(e,t){var n=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),this._dateFormats.display.monthYearA11yLabel);return new oz(e,t.toLocaleUpperCase(),n,this._shouldEnableMonth(e))}},{key:"_shouldEnableMonth",value:function(e){var t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(var n=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(n)==e;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}},{key:"_isYearAndMonthAfterMaxDate",value:function(e,t){if(this.maxDate){var n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return e>n||e===n&&t>i}return!1}},{key:"_isYearAndMonthBeforeMinDate",value:function(e,t){if(this.minDate){var n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return e<n||e===n&&t<i}return!1}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}}])}()).\u0275fac=function(e){return new(e||pz)(To(Gr),To(qg,8),To(Ug,8),To(Jf,8))},pz.\u0275cmp=_t({type:pz,selectors:[["mat-year-view"]],viewQuery:function(e,t){var n;1&e&&iu(sz,!0),2&e&&tu(n=lu())&&(t._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:8,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","selectedValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(e,t){1&e&&(Po(0,"table",0),Po(1,"thead",1),Po(2,"tr"),Ro(3,"th",2),Io(),Io(),Po(4,"tbody",3),Bo("selectedValueChange",(function(e){return t._monthSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),Io(),Io()),2&e&&(ya(4),Oo("label",t._yearLabel)("rows",t._months)("todayValue",t._todayMonth)("selectedValue",t._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",t._dateAdapter.getMonth(t.activeDate)))},directives:[sz],encapsulation:2,changeDetection:0}),pz),Cz=((mz=function(){return _createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this._intl=t,this.calendar=n,this._dateAdapter=i,this._dateFormats=a,this.calendar.stateChanges.subscribe((function(){return r.markForCheck()}))}),[{key:"periodButtonText",get:function(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);var e=this._dateAdapter.getYear(this.calendar.activeDate)-dz(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=e+24-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return this._intl.formatYearRange(n,i)}},{key:"periodButtonLabel",get:function(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}},{key:"prevButtonLabel",get:function(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}},{key:"nextButtonLabel",get:function(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}},{key:"currentPeriodClicked",value:function(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}},{key:"previousClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}},{key:"nextClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}},{key:"previousEnabled",value:function(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}},{key:"nextEnabled",value:function(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}},{key:"_isSameView",value:function(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):cz(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}])}()).\u0275fac=function(e){return new(e||mz)(To(rz),To(De((function(){return xz}))),To(Ug,8),To(qg,8),To(Gr))},mz.\u0275cmp=_t({type:mz,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:UN,decls:9,vars:8,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(Ko(),Po(0,"div",0),Po(1,"div",1),Po(2,"button",2),Bo("click",(function(){return t.currentPeriodClicked()})),ys(3),Ro(4,"div",3),Io(),Ro(5,"div",4),Qo(6),Po(7,"button",5),Bo("click",(function(){return t.previousClicked()})),Io(),Po(8,"button",6),Bo("click",(function(){return t.nextClicked()})),Io(),Io(),Io()),2&e&&(ya(2),Mo("aria-label",t.periodButtonLabel),ya(1),ks(" ",t.periodButtonText," "),ya(1),ls("mat-calendar-invert","month"!=t.calendar.currentView),ya(3),Oo("disabled",!t.previousEnabled()),Mo("aria-label",t.prevButtonLabel),ya(1),Oo("disabled",!t.nextEnabled()),Mo("aria-label",t.nextButtonLabel))},directives:[Zy,pf],encapsulation:2,changeDetection:0}),mz),xz=((fz=function(){return _createClass((function e(t,n,i,a){var r=this;if(_classCallCheck(this,e),this._dateAdapter=n,this._dateFormats=i,this._changeDetectorRef=a,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new Wl,this.yearSelected=new Wl,this.monthSelected=new Wl,this._userSelection=new Wl,this.stateChanges=new L,!this._dateAdapter)throw ez("DateAdapter");if(!this._dateFormats)throw ez("MAT_DATE_FORMATS");this._intlChanges=t.changes.subscribe((function(){a.markForCheck(),r.stateChanges.next()}))}),[{key:"startAt",get:function(){return this._startAt},set:function(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"activeDate",get:function(){return this._clampedActiveDate},set:function(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}},{key:"currentView",get:function(){return this._currentView},set:function(e){this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}},{key:"ngAfterContentInit",value:function(){this._calendarHeaderPortal=new pm(this.headerComponent||Cz),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}},{key:"ngAfterViewChecked",value:function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}},{key:"ngOnChanges",value:function(e){var t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){var n=this._getCurrentViewComponent();n&&(this._changeDetectorRef.detectChanges(),n._init())}this.stateChanges.next()}},{key:"focusActiveCell",value:function(){this._getCurrentViewComponent()._focusActiveCell()}},{key:"updateTodaysDate",value:function(){var e=this.currentView;("month"===e?this.monthView:"year"===e?this.yearView:this.multiYearView)._init()}},{key:"_dateSelected",value:function(e){e&&!this._dateAdapter.sameDate(e,this.selected)&&this.selectedChange.emit(e)}},{key:"_yearSelectedInMultiYearView",value:function(e){this.yearSelected.emit(e)}},{key:"_monthSelectedInYearView",value:function(e){this.monthSelected.emit(e)}},{key:"_userSelected",value:function(){this._userSelection.emit()}},{key:"_goToDateInView",value:function(e,t){this.activeDate=e,this.currentView=t}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}},{key:"_getCurrentViewComponent",value:function(){return this.monthView||this.yearView||this.multiYearView}}])}()).\u0275fac=function(e){return new(e||fz)(To(rz),To(Ug,8),To(qg,8),To(Gr))},fz.\u0275cmp=_t({type:fz,selectors:[["mat-calendar"]],viewQuery:function(e,t){var n;1&e&&(iu(lz,!0),iu(wz,!0),iu(uz,!0)),2&e&&(tu(n=lu())&&(t.monthView=n.first),tu(n=lu())&&(t.yearView=n.first),tu(n=lu())&&(t.multiYearView=n.first))},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[Os],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(So(0,qN,0,0,"ng-template",0),Po(1,"div",1),So(2,GN,1,6,"mat-month-view",2),So(3,ZN,1,5,"mat-year-view",3),So(4,JN,1,5,"mat-multi-year-view",4),Io()),2&e&&(Oo("cdkPortalOutlet",t._calendarHeaderPortal),ya(1),Oo("ngSwitch",t.currentView),ya(1),Oo("ngSwitchCase","month"),ya(1),Oo("ngSwitchCase","year"),ya(1),Oo("ngSwitchCase","multi-year"))},directives:[bm,Mf,Td,Ad,lz,wz,uz],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),fz),Mz={transformPanel:n_("transformPanel",[o_("void",r_({opacity:0,transform:"scale(1, 0.8)"})),s_("void => enter",i_("120ms cubic-bezier(0, 0, 0.2, 1)",r_({opacity:1,transform:"scale(1, 1)"}))),s_("* => void",i_("100ms linear",r_({opacity:0})))]),fadeInCalendar:n_("fadeInCalendar",[o_("void",r_({opacity:0})),o_("enter",r_({opacity:1})),s_("void => *",i_("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},Dz=0,Sz=new Ve("mat-datepicker-scroll-strategy"),Lz={provide:Sz,deps:[op],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Tz=Hg(_createClass((function e(t){_classCallCheck(this,e),this._elementRef=t}))),Az=((vz=function(e){function t(e,n){var i;return _classCallCheck(this,t),(i=_callSuper(this,t,[e]))._changeDetectorRef=n,i._animationState="enter",i._animationDone=new L,i}return _inherits(t,e),_createClass(t,[{key:"ngAfterViewInit",value:function(){this._calendar.focusActiveCell()}},{key:"ngOnDestroy",value:function(){this._animationDone.complete()}},{key:"_startExitAnimation",value:function(){this._animationState="void",this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}])}(Tz)).\u0275fac=function(e){return new(e||vz)(To(qs),To(Gr))},vz.\u0275cmp=_t({type:vz,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){var n;1&e&&iu(xz,!0),2&e&&tu(n=lu())&&(t._calendar=n.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&Wo("@transformPanel.done",(function(){return t._animationDone.next()})),2&e&&(xs("@transformPanel",t._animationState),ls("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[Ds],decls:1,vars:11,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","selectedChange","yearSelected","monthSelected","_userSelection"]],template:function(e,t){1&e&&(Po(0,"mat-calendar",0),Bo("selectedChange",(function(e){return t.datepicker.select(e)}))("yearSelected",(function(e){return t.datepicker._selectYear(e)}))("monthSelected",(function(e){return t.datepicker._selectMonth(e)}))("_userSelection",(function(){return t.datepicker.close()})),Io()),2&e&&Oo("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._minDate)("maxDate",t.datepicker._maxDate)("dateFilter",t.datepicker._dateFilter)("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t.datepicker._selected)("dateClass",t.datepicker.dateClass)("@fadeInCalendar","enter")},directives:[xz,uf,vd],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[Mz.transformPanel,Mz.fadeInCalendar]},changeDetection:0}),vz),Ez=((_z=function(){return _createClass((function e(t,n,i,a,r,o,s,l){if(_classCallCheck(this,e),this._dialog=t,this._overlay=n,this._ngZone=i,this._viewContainerRef=a,this._dateAdapter=o,this._dir=s,this._document=l,this.startView="month",this._touchUi=!1,this.yearSelected=new Wl,this.monthSelected=new Wl,this.openedStream=new Wl,this.closedStream=new Wl,this._opened=!1,this.id="mat-datepicker-"+Dz++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=h.EMPTY,this._disabledChange=new L,this._selectedChanged=new L,!this._dateAdapter)throw ez("DateAdapter");this._scrollStrategy=r}),[{key:"startAt",get:function(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)},set:function(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"color",get:function(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)},set:function(e){this._color=e}},{key:"touchUi",get:function(){return this._touchUi},set:function(e){this._touchUi=Eh(e)}},{key:"disabled",get:function(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled},set:function(e){var t=Eh(e);t!==this._disabled&&(this._disabled=t,this._disabledChange.next(t))}},{key:"opened",get:function(){return this._opened},set:function(e){e?this.open():this.close()}},{key:"_selected",get:function(){return this._validSelected},set:function(e){this._validSelected=e}},{key:"_minDate",get:function(){return this._datepickerInput&&this._datepickerInput.min}},{key:"_maxDate",get:function(){return this._datepickerInput&&this._datepickerInput.max}},{key:"_dateFilter",get:function(){return this._datepickerInput&&this._datepickerInput._dateFilter}},{key:"ngOnDestroy",value:function(){this._destroyPopup(),this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete()}},{key:"select",value:function(e){var t=this._selected;this._selected=e,this._dateAdapter.sameDate(t,this._selected)||this._selectedChanged.next(e)}},{key:"_selectYear",value:function(e){this.yearSelected.emit(e)}},{key:"_selectMonth",value:function(e){this.monthSelected.emit(e)}},{key:"_registerInput",value:function(e){var t=this;if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=e,this._inputSubscription=this._datepickerInput._valueChange.subscribe((function(e){return t._selected=e}))}},{key:"open",value:function(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}},{key:"close",value:function(){var e=this;if(this._opened){if(this._popupComponentRef&&this._popupRef){var t=this._popupComponentRef.instance;t._startExitAnimation(),t._animationDone.pipe(Lh(1)).subscribe((function(){return e._destroyPopup()}))}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);var n=function(){e._opened&&(e._opened=!1,e.closedStream.emit(),e._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(n)):n()}}},{key:"_openAsDialog",value:function(){var e=this;this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(Az,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!0,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe((function(){return e.close()})),this._dialogRef.componentInstance.datepicker=this,this._dialogRef.componentInstance.color=this.color}},{key:"_openAsPopup",value:function(){var e=this,t=new pm(Az,this._viewContainerRef);this._destroyPopup(),this._createPopup();var n=this._popupComponentRef=this._popupRef.attach(t);n.instance.datepicker=this,n.instance.color=this.color,this._ngZone.onStable.asObservable().pipe(Lh(1)).subscribe((function(){e._popupRef.updatePosition()}))}},{key:"_createPopup",value:function(){var e=this,t=new Om({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(t),this._popupRef.overlayElement.setAttribute("role","dialog"),J(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(wh((function(t){return 27===t.keyCode||e._datepickerInput&&t.altKey&&38===t.keyCode})))).subscribe((function(t){t&&t.preventDefault(),e.close()}))}},{key:"_destroyPopup",value:function(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}},{key:"_createPopupPositionStrategy",value:function(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}])}()).\u0275fac=function(e){return new(e||_z)(To(pb),To(op),To(Pu),To(gl),To(Sz),To(Ug,8),To(Jf,8),To(mc,8))},_z.\u0275cmp=_t({type:_z,selectors:[["mat-datepicker"]],inputs:{startView:"startView",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["matDatepicker"],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),_z),Oz={provide:Ab,useExisting:De((function(){return Iz})),multi:!0},Yz={provide:Gb,useExisting:De((function(){return Iz})),multi:!0},Pz=_createClass((function e(t,n){_classCallCheck(this,e),this.target=t,this.targetElement=n,this.value=this.target.value})),Iz=((kz=function(){return _createClass((function e(t,n,i,a){var r=this;if(_classCallCheck(this,e),this._elementRef=t,this._dateAdapter=n,this._dateFormats=i,this._formField=a,this.dateChange=new Wl,this.dateInput=new Wl,this._valueChange=new Wl,this._disabledChange=new Wl,this._onTouched=function(){},this._cvaOnChange=function(){},this._validatorOnChange=function(){},this._datepickerSubscription=h.EMPTY,this._localeSubscription=h.EMPTY,this._parseValidator=function(){return r._lastValueValid?null:{matDatepickerParse:{text:r._elementRef.nativeElement.value}}},this._minValidator=function(e){var t=r._getValidDateOrNull(r._dateAdapter.deserialize(e.value));return!r.min||!t||r._dateAdapter.compareDate(r.min,t)<=0?null:{matDatepickerMin:{min:r.min,actual:t}}},this._maxValidator=function(e){var t=r._getValidDateOrNull(r._dateAdapter.deserialize(e.value));return!r.max||!t||r._dateAdapter.compareDate(r.max,t)>=0?null:{matDatepickerMax:{max:r.max,actual:t}}},this._filterValidator=function(e){var t=r._getValidDateOrNull(r._dateAdapter.deserialize(e.value));return r._dateFilter&&t&&!r._dateFilter(t)?{matDatepickerFilter:!0}:null},this._validator=Kb.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw ez("DateAdapter");if(!this._dateFormats)throw ez("MAT_DATE_FORMATS");this._localeSubscription=n.localeChanges.subscribe((function(){r.value=r.value}))}),[{key:"matDatepicker",set:function(e){var t=this;e&&(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe((function(e){t.value=e,t._cvaOnChange(e),t._onTouched(),t.dateInput.emit(new Pz(t,t._elementRef.nativeElement)),t.dateChange.emit(new Pz(t,t._elementRef.nativeElement))})))}},{key:"matDatepickerFilter",set:function(e){this._dateFilter=e,this._validatorOnChange()}},{key:"value",get:function(){return this._value},set:function(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);var t=this.value;this._value=e,this._formatValue(e),this._dateAdapter.sameDate(t,e)||this._valueChange.emit(e)}},{key:"min",get:function(){return this._min},set:function(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}},{key:"max",get:function(){return this._max},set:function(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}},{key:"disabled",get:function(){return!!this._disabled},set:function(e){var t=Eh(e),n=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this._disabledChange.emit(t)),t&&this._isInitialized&&n.blur&&n.blur()}},{key:"ngAfterViewInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}},{key:"registerOnValidatorChange",value:function(e){this._validatorOnChange=e}},{key:"validate",value:function(e){return this._validator?this._validator(e):null}},{key:"getPopupConnectionElementRef",value:function(){return this.getConnectedOverlayOrigin()}},{key:"getConnectedOverlayOrigin",value:function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._cvaOnChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_onKeydown",value:function(e){this._datepicker&&e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}},{key:"_onInput",value:function(e){var t=this._lastValueValid,n=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=!n||this._dateAdapter.isValid(n),n=this._getValidDateOrNull(n),this._dateAdapter.sameDate(n,this._value)?t!==this._lastValueValid&&this._validatorOnChange():(this._value=n,this._cvaOnChange(n),this._valueChange.emit(n),this.dateInput.emit(new Pz(this,this._elementRef.nativeElement)))}},{key:"_onChange",value:function(){this.dateChange.emit(new Pz(this,this._elementRef.nativeElement))}},{key:"_getThemePalette",value:function(){return this._formField?this._formField.color:void 0}},{key:"_onBlur",value:function(){this.value&&this._formatValue(this.value),this._onTouched()}},{key:"_formatValue",value:function(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}},{key:"_getValidDateOrNull",value:function(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}])}()).\u0275fac=function(e){return new(e||kz)(To(qs),To(Ug,8),To(qg,8),To(EC,8))},kz.\u0275dir=wt({type:kz,selectors:[["input","matDatepicker",""]],hostVars:5,hostBindings:function(e,t){1&e&&Bo("input",(function(e){return t._onInput(e.target.value)}))("change",(function(){return t._onChange()}))("blur",(function(){return t._onBlur()}))("keydown",(function(e){return t._onKeydown(e)})),2&e&&(Cs("disabled",t.disabled),Mo("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null))},inputs:{value:"value",matDatepicker:"matDatepicker",matDatepickerFilter:"matDatepickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["matDatepickerInput"],features:[Vs([Oz,Yz,{provide:PC,useExisting:kz}])]}),kz),Rz=((bz=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||bz)},bz.\u0275dir=wt({type:bz,selectors:[["","matDatepickerToggleIcon",""]]}),bz),Fz=((yz=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this._intl=t,this._changeDetectorRef=n,this._stateChanges=h.EMPTY;var a=Number(i);this.tabIndex=a||0===a?a:null}),[{key:"disabled",get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(e){this._disabled=Eh(e)}},{key:"ngOnChanges",value:function(e){e.datepicker&&this._watchStateChanges()}},{key:"ngOnDestroy",value:function(){this._stateChanges.unsubscribe()}},{key:"ngAfterContentInit",value:function(){this._watchStateChanges()}},{key:"_open",value:function(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}},{key:"_watchStateChanges",value:function(){var e=this,t=this.datepicker?this.datepicker._disabledChange:uh(),n=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:uh(),i=this.datepicker?J(this.datepicker.openedStream,this.datepicker.closedStream):uh();this._stateChanges.unsubscribe(),this._stateChanges=J(this._intl.changes,t,n,i).subscribe((function(){return e._changeDetectorRef.markForCheck()}))}}])}()).\u0275fac=function(e){return new(e||yz)(To(rz),To(Gr),Ao("tabindex"))},yz.\u0275cmp=_t({type:yz,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,n){var i;1&e&&ru(n,Rz,!0),2&e&&tu(i=lu())&&(t._customIcon=i.first)},viewQuery:function(e,t){var n;1&e&&iu(KN,!0),2&e&&tu(n=lu())&&(t._button=n.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:7,hostBindings:function(e,t){1&e&&Bo("focus",(function(){return t._button.focus()})),2&e&&(Mo("tabindex",t.disabled?null:-1),ls("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Os],ngContentSelectors:$N,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(Ko(XN),Po(0,"button",0,1),Bo("click",(function(e){return t._open(e)})),So(2,QN,2,0,"svg",2),Qo(3),Io()),2&e&&(Oo("disabled",t.disabled)("disableRipple",t.disableRipple),Mo("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),ya(2),Oo("ngIf",!t._customIcon))},directives:[Zy,kd],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),yz),jz=((gz=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:gz}),gz.\u0275inj=me({factory:function(e){return new(e||gz)},providers:[rz,Lz],imports:[[Vd,Ky,Cb,hp,Sf,km],um]}),gz);function Hz(e,t){1&e&&Ro(0,"mat-progress-bar",36)}function Nz(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorLastname()," ")}}function zz(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorFirstname()," ")}}function Vz(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorPhonenumber()," ")}}function Bz(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorDate()," ")}}function Wz(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorAdress()," ")}}function Uz(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorEmail()," ")}}function qz(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorPassword()," ")}}function Gz(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorConfirmPassword()," ")}}function Zz(e,t){if(1&e&&(Po(0,"mat-error",37),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorTerms()," ")}}var Jz,Kz,Qz=((Kz=function(){return _createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this.router=t,this.authService=n,this.formBuilder=i,this.matIconRegistry=a,this.domSanitizer=r,this.submitted=!1,this.loading=!1,this.hide=!0,this.matIconRegistry.addSvgIcon("googleLogo",this.domSanitizer.bypassSecurityTrustResourceUrl("../assets/img/social/google+.svg")),this.matIconRegistry.addSvgIcon("facebookLogo",this.domSanitizer.bypassSecurityTrustResourceUrl("../assets/img/social/facebook.svg"));var o=(new Date).getFullYear();this.maxDate=new Date(o-10,11,31)}),[{key:"ngOnInit",value:function(){this.createForm()}},{key:"createForm",value:function(){var e=/^[a-zA-Z\xe0\xe1\xe2\xe4\xe3\xe5\u0105\u010d\u0107\u0119\xe8\xe9\xea\xeb\u0117\u012f\xec\xed\xee\xef\u0142\u0144\xf2\xf3\xf4\xf6\xf5\xf8\xf9\xfa\xfb\xfc\u0173\u016b\xff\xfd\u017c\u017a\xf1\xe7\u010d\u0161\u017e\xc0\xc1\xc2\xc4\xc3\xc5\u0104\u0106\u010c\u0116\u0118\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\u012e\u0141\u0143\xd2\xd3\xd4\xd6\xd5\xd8\xd9\xda\xdb\xdc\u0172\u016a\u0178\xdd\u017b\u0179\xd1\xdf\xc7\u0152\xc6\u010c\u0160\u017d\u2202\xf0 ,.'-]+$/;this.formGroup=this.formBuilder.group({lastname:[null,[Kb.required,Kb.pattern(e)]],firstname:[null,[Kb.required,Kb.pattern(e)]],phonenumber:[null,[Kb.required,Kb.pattern(/^(?:(?:\+|00)33|0)\s*[1-9](?:[\s.-]*\d{2}){4}$/)]],birthday:[null,[Kb.required]],terms:[!1,Kb.requiredTrue],adress:[null,[Kb.required,Kb.pattern(/^[A-z0-9\xc0-\u017e\s ,.'-]+$/)]],email:[null,[Kb.required,Kb.pattern(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)]],password:[null,[Kb.required,this.checkPassword]],confirmPassword:[null,Kb.required]},{validator:tA("password","confirmPassword")})}},{key:"checkPasswords",value:function(e){return e.controls.password.value===e.controls.confirmPassword.value?null:{notSame:!0}}},{key:"getErrorLastname",value:function(){return this.formGroup.get("lastname").hasError("required")?"Nom requis":(this.formGroup.get("lastname").hasError("pattern"),"Nom non valide")}},{key:"getErrorFirstname",value:function(){return this.formGroup.get("firstname").hasError("required")?"Pr\xe9nom requis":(this.formGroup.get("firstname").hasError("pattern"),"Pr\xe9nom non valide")}},{key:"getErrorPhonenumber",value:function(){return this.formGroup.get("phonenumber").hasError("required")?"Num\xe9ro de t\xe9l\xe9phone requis":this.formGroup.get("phonenumber").hasError("pattern")?"Num\xe9ro de t\xe9l\xe9phone non valide":""}},{key:"getErrorAdress",value:function(){return this.formGroup.get("adress").hasError("required")?"adresse requise":(this.formGroup.get("adress").hasError("pattern"),"Pr\xe9nom non valide")}},{key:"getErrorDate",value:function(){return this.formGroup.get("birthday").hasError("required")?"Date de naissance requise":this.formGroup.get("birthday").hasError("pattern")?"Date de naissance non valide":""}},{key:"getErrorTerms",value:function(){return this.formGroup.get("terms").hasError("required")?"Please accept the terms":this.formGroup.get("terms").hasError("pattern")?"terms not accepted":""}},{key:"getErrorConfirmPassword",value:function(){return this.formGroup.get("confirmPassword").hasError("required")?"Confirmation mot de passe requise":this.formGroup.hasError("MustMatch")?"":"Les mots de passe saisis ne sont pas identiques"}},{key:"checkPassword",value:function(e){var t=e.value;return!/^(?=.*[A-Z])(?=.*[a-z])(?=.{8,})/.test(t)&&t?{requirements:!0}:null}},{key:"getErrorEmail",value:function(){return this.formGroup.get("email").hasError("required")?"Adresse email requise":this.formGroup.get("email").hasError("pattern")?"Adresse email non valide":""}},{key:"getErrorPassword",value:function(){return this.formGroup.get("password").hasError("required")?"Mot de passe requis":this.formGroup.get("password").hasError("requirements")?"Le mot de passe doit comporter au moins 8 caract\xe8res, une lettre majuscule, une lettre majuscule":""}},{key:"f",get:function(){return this.formGroup.controls}},{key:"signInWithGoogle",value:function(){var e=this;this.authService.signInWithGoogle().subscribe((function(t){e.router.navigate(["/auth"])}),(function(e){console.log(e)}))}},{key:"signUp",value:function(){var e=this;this.submitted=!0,this.formGroup.invalid||(this.loading=!0,this.authService.signUP(this.formGroup.value).subscribe((function(t){console.log(t),e.loading=!1,e.router.navigate(["/auth"]),setTimeout((function(){document.location.reload()}),2e3)}),(function(t){e.loading=!1,console.log(t.error.message),e.authService.openSnackBar(t.error.message)})),console.log(this.formGroup.value))}}])}()).\u0275fac=function(e){return new(e||Kz)(To(pT),To(XT),To(Fw),To(_j),To(Wp))},Kz.\u0275cmp=_t({type:Kz,selectors:[["app-register"]],decls:87,vars:18,consts:[[1,"container","navtop"],[1,"row","justify-content-center"],[1,"col-11","col-lg-7"],[3,"formGroup","ngSubmit"],["class","row ","mode","indeterminate",4,"ngIf"],["mat-raised-button","",1,"col-10","col-lg-5","mr-lg-2","mb-2","googlelogin",2,"background-color","#AD0505","color","white",3,"click"],[1,"row","mt-1","ml-3"],["svgIcon","googleLogo",1,"ml-2"],[1,"ml-2","marginButton"],["mat-raised-button","",1,"col-10","col-lg-5","ml-lg-2","mb-2","facebooklogin",2,"background-color","#2121A1","color","white"],["svgIcon","facebookLogo",1,"ml-2"],[1,"col-4"],[1,"col-1"],[1,"col-5"],["matInput","","placeholder","Nom :","formControlName","lastname","required",""],[4,"ngIf"],["matInput","","placeholder","Pr\xe9nom :","formControlName","firstname","required",""],[1,"col-10"],["matInput","","placeholder","Num\xe9ro de t\xe9l\xe9phone :","formControlName","phonenumber","required",""],["matInput","","disabled","true","formControlName","birthday","required","",3,"matDatepicker","max","click"],["matSuffix","",3,"for"],["touchUi","","disabled","false"],["picker",""],["matInput","","placeholder","Adresse :","formControlName","adress","required",""],["matInput","","placeholder","Adresse email :","formControlName","email","required",""],["matInput","","placeholder","Mot de passe :","formControlName","password","required","",3,"type"],["matSuffix","",3,"click"],["matInput","","placeholder","Confirmer le mot de passe :","formControlName","confirmPassword","required","",3,"type"],[1,"stay-signed","in","checkbox-container"],[1,"terms"],["type","checkbox","formControlName","terms"],["href","#",2,"color","rgb(0, 81, 168)","background-color","rgb(255, 255, 255)"],["style","color: rgb(170, 19, 8); background-color: rgb(255, 255, 255);",4,"ngIf"],[1,"row","justify-content-center","mt-3"],["mat-raised-button","","color","primary","type","submit",1,"col-6","color-theme"],["routerLink","/login",1,"ml-1",2,"color","rgb(0, 81, 168)","background-color","rgb(255, 255, 255)"],["mode","indeterminate",1,"row"],[2,"color","rgb(170, 19, 8)","background-color","rgb(255, 255, 255)"]],template:function(e,t){if(1&e){var n=No();Po(0,"div",0),Po(1,"div",1),Po(2,"mat-card",2),Po(3,"mat-card-content"),Po(4,"form",3),Bo("ngSubmit",(function(){return t.signUp()})),So(5,Hz,1,0,"mat-progress-bar",4),Po(6,"h1",1),Po(7,"b"),ys(8,"Inscription"),Io(),Io(),Po(9,"div",1),Po(10,"button",5),Bo("click",(function(){return t.signInWithGoogle()})),Po(11,"div",6),Ro(12,"mat-icon",7),Po(13,"p",8),ys(14,"Se connecter avec Google"),Io(),Io(),Io(),Po(15,"button",9),Po(16,"div",6),Ro(17,"mat-icon",10),Po(18,"p",8),ys(19,"Se connecter avec Facebook"),Io(),Io(),Io(),Io(),Po(20,"div",1),Po(21,"div",11),Ro(22,"hr"),Io(),Po(23,"div",12),Po(24,"p"),ys(25,"ou"),Io(),Io(),Po(26,"div",11),Ro(27,"hr"),Io(),Io(),Po(28,"div",1),Po(29,"mat-form-field",13),Ro(30,"input",14),So(31,Nz,2,1,"mat-error",15),Io(),Po(32,"mat-form-field",13),Ro(33,"input",16),So(34,zz,2,1,"mat-error",15),Io(),Io(),Po(35,"div",1),Po(36,"mat-form-field",17),Ro(37,"input",18),So(38,Vz,2,1,"mat-error",15),Io(),Io(),Po(39,"div",1),Po(40,"mat-form-field",17),Po(41,"mat-label"),ys(42,"Date de naissance :"),Io(),Po(43,"input",19),Bo("click",(function(){return $t(n),Lo(46).open()})),Io(),Ro(44,"mat-datepicker-toggle",20),Ro(45,"mat-datepicker",21,22),So(47,Bz,2,1,"mat-error",15),Io(),Io(),Po(48,"div",1),Po(49,"mat-form-field",17),Ro(50,"input",23),So(51,Wz,2,1,"mat-error",15),Io(),Io(),Po(52,"div",1),Po(53,"mat-form-field",17),Ro(54,"input",24),So(55,Uz,2,1,"mat-error",15),Io(),Io(),Po(56,"div",1),Po(57,"mat-form-field",17),Ro(58,"input",25),Po(59,"mat-icon",26),Bo("click",(function(){return t.hide=!t.hide})),ys(60),Io(),So(61,qz,2,1,"mat-error",15),Io(),Io(),Po(62,"div",1),Po(63,"mat-form-field",17),Ro(64,"input",27),Po(65,"mat-icon",26),Bo("click",(function(){return t.hide=!t.hide})),ys(66),Io(),So(67,Gz,2,1,"mat-error",15),Io(),Io(),Po(68,"div",1),Po(69,"span",28),Po(70,"label",29),Ro(71,"input",30),ys(72," J'ai lu et j'accepte "),Po(73,"a",31),ys(74," les conditions g\xe9n\xe9rales d'utilisation "),Io(),ys(75," et j'ai pris connaissance de la "),Po(76,"a",31),ys(77," politique de confidentialit\xe9."),Io(),Io(),Po(78,"label",29),So(79,Zz,2,1,"mat-error",32),Io(),Io(),Io(),Po(80,"div",33),Po(81,"button",34),ys(82,"S'inscrire"),Io(),Io(),Po(83,"p",33),ys(84,"Vous avez un compte?"),Po(85,"a",35),ys(86,"Se connecter"),Io(),Io(),Io(),Io(),Io(),Io(),Io()}if(2&e){var i=Lo(46);ya(4),Oo("formGroup",t.formGroup),ya(1),Oo("ngIf",t.loading),ya(26),Oo("ngIf",!t.formGroup.controls.lastname.valid||t.formGroup.controls.lastname.touched),ya(3),Oo("ngIf",!t.formGroup.controls.firstname.valid||t.formGroup.controls.firstname.touched),ya(4),Oo("ngIf",!t.formGroup.controls.phonenumber.valid||t.formGroup.controls.phonenumber.touched),ya(5),Oo("matDatepicker",i)("max",t.maxDate),ya(1),Oo("for",i),ya(3),Oo("ngIf",!t.formGroup.controls.birthday.valid||t.formGroup.controls.birthday.touched),ya(4),Oo("ngIf",!t.formGroup.controls.adress.valid||t.formGroup.controls.adress.touched),ya(4),Oo("ngIf",!t.formGroup.controls.email.valid||t.formGroup.controls.email.touched),ya(3),Oo("type",t.hide?"password":"text"),ya(2),bs(t.hide?"visibility_off":"visibility"),ya(1),Oo("ngIf",!t.formGroup.controls.password.valid||t.formGroup.controls.password.touched),ya(3),Oo("type",t.hide?"password":"text"),ya(2),bs(t.hide?"visibility_off":"visibility"),ya(1),Oo("ngIf",!t.formGroup.controls.password.valid||t.formGroup.controls.password.touched),ya(12),Oo("ngIf",!t.formGroup.controls.terms.valid||t.formGroup.controls.terms.touched)}},directives:[uA,lA,cw,Ub,pw,kd,Zy,Dj,OC,jC,Ib,Wb,Ew,Yw,xC,Iz,Fz,SC,Ez,Ob,vT,pA,uC],styles:[".navtop[_ngcontent-%COMP%]{margin-top:7em;margin-bottom:3em}.marginButton[_ngcontent-%COMP%]{margin-bottom:0!important}.terms[_ngcontent-%COMP%]{display:inline-block;margin-inline:4.5rem;margin-top:.5rem}.test[_ngcontent-%COMP%]{display:block;margin-left:3.5rem}.checkbox[_ngcontent-%COMP%]{display:block;margin-right:3.5rem}"]}),Kz),Xz=((Jz=_createClass((function e(t){_classCallCheck(this,e),this.data=t}))).\u0275fac=function(e){return new(e||Jz)(To(db))},Jz.\u0275cmp=_t({type:Jz,selectors:[["app-confirm"]],decls:10,vars:2,consts:[[1,"container"],[1,"justify-content-center","mb-4"],["mat-dialog-title","",1,"text-center"],["mat-dialog-content","",1,"row","justify-content-center","my-2"],[1,"text-center"],["mat-dialog-actions","",1,"row","justify-content-center","mt-5"],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"div",1),Po(2,"h1",2),ys(3,"Merci pour votre message"),Io(),Io(),Po(4,"div",3),Po(5,"h3",4),ys(6),Io(),Io(),Po(7,"div",5),Po(8,"button",6),ys(9,"Ok"),Io(),Io(),Io()),2&e&&(ya(6),bs(t.data.response),ya(2),Oo("mat-dialog-close",!0))},directives:[gb,yb,bb,Zy,vb],styles:[""]}),Jz);function $z(e,t){1&e&&Ro(0,"mat-progress-bar",11)}function eV(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorLastname()," ")}}function tV(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorEmail()," ")}}function nV(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorMessage()," ")}}var iV,aV,rV,oV,sV,lV,uV,cV,dV,hV,fV,mV,pV,_V,vV,gV=((aV=function(){return _createClass((function e(t,n,i,a){_classCallCheck(this,e),this.contactService=t,this.authService=n,this.formBuilder=i,this.dialog=a,this.submitted=!1,this.loading=!1}),[{key:"ngOnInit",value:function(){this.createForm()}},{key:"createForm",value:function(){this.formGroup=this.formBuilder.group({lastname:[null,[Kb.required,Kb.pattern(/^[a-zA-Z\xe0\xe1\xe2\xe4\xe3\xe5\u0105\u010d\u0107\u0119\xe8\xe9\xea\xeb\u0117\u012f\xec\xed\xee\xef\u0142\u0144\xf2\xf3\xf4\xf6\xf5\xf8\xf9\xfa\xfb\xfc\u0173\u016b\xff\xfd\u017c\u017a\xf1\xe7\u010d\u0161\u017e\xc0\xc1\xc2\xc4\xc3\xc5\u0104\u0106\u010c\u0116\u0118\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\u012e\u0141\u0143\xd2\xd3\xd4\xd6\xd5\xd8\xd9\xda\xdb\xdc\u0172\u016a\u0178\xdd\u017b\u0179\xd1\xdf\xc7\u0152\xc6\u010c\u0160\u017d\u2202\xf0 ,.'-]+$/)]],email:[null,[Kb.required,Kb.pattern(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)]],message:[null,Kb.required]})}},{key:"getErrorLastname",value:function(){return this.formGroup.get("lastname").hasError("required")?"Nom requis":this.formGroup.get("lastname").hasError("pattern")?"Nom non valide":""}},{key:"getErrorEmail",value:function(){return this.formGroup.get("email").hasError("required")?"Adresse email requise":this.formGroup.get("email").hasError("pattern")?"Adresse email non valide":""}},{key:"getErrorMessage",value:function(){return this.formGroup.get("message").hasError("required")?"Message requis":""}},{key:"f",get:function(){return this.formGroup.controls}},{key:"sendMsgContact",value:function(){var e=this;this.submitted=!0,this.formGroup.invalid||(this.loading=!0,this.contactService.sendMsgContact(this.formGroup.value).subscribe((function(t){console.log(t),e.response=t.message,e.loading=!1,e.openDialog()}),(function(t){e.loading=!1,console.log(t.error.message),e.authService.openSnackBar(t.error.message)})))}},{key:"openDialog",value:function(){this.dialog.open(Xz,{height:"40%",width:"38%",data:{response:this.response}}).afterClosed().subscribe((function(){location.reload()}))}}])}()).\u0275fac=function(e){return new(e||aV)(To(TA),To(XT),To(Fw),To(pb))},aV.\u0275cmp=_t({type:aV,selectors:[["app-formulaire"]],decls:28,vars:5,consts:[[1,""],[3,"formGroup","ngSubmit"],["class","row ","mode","indeterminate",4,"ngIf"],[1,"row","justify-content-center"],["appearance","outline",1,"col-10"],["matInput","","placeholder","Nom","formControlName","lastname"],[4,"ngIf"],["matInput","","placeholder","Adresse email","formControlName","email"],["rows","7","matInput","","formControlName","message"],[1,"row","justify-content-center","mt-3","mb-2"],["mat-raised-button","","color","primary","type","submit",1,"col-6","color-theme"],["mode","indeterminate",1,"row"]],template:function(e,t){1&e&&(Po(0,"mat-card",0),Po(1,"mat-card-content"),Po(2,"form",1),Bo("ngSubmit",(function(){return t.sendMsgContact()})),So(3,$z,1,0,"mat-progress-bar",2),Po(4,"h1",3),Po(5,"b"),ys(6,"Contactez-nous"),Io(),Io(),Po(7,"div",3),Po(8,"mat-form-field",4),Po(9,"mat-label"),ys(10,"Nom"),Io(),Ro(11,"input",5),So(12,eV,2,1,"mat-error",6),Io(),Io(),Po(13,"div",3),Po(14,"mat-form-field",4),Po(15,"mat-label"),ys(16,"Adresse email"),Io(),Ro(17,"input",7),So(18,tV,2,1,"mat-error",6),Io(),Io(),Po(19,"div",3),Po(20,"mat-form-field",4),Po(21,"mat-label"),ys(22,"Message"),Io(),Ro(23,"textarea",8),So(24,nV,2,1,"mat-error",6),Io(),Io(),Po(25,"div",9),Po(26,"button",10),ys(27,"Envoyer"),Io(),Io(),Io(),Io(),Io()),2&e&&(ya(2),Oo("formGroup",t.formGroup),ya(1),Oo("ngIf",t.loading),ya(9),Oo("ngIf",!t.formGroup.controls.lastname.valid&&t.formGroup.controls.lastname.touched),ya(6),Oo("ngIf",!t.formGroup.controls.email.valid&&t.formGroup.controls.email.touched),ya(6),Oo("ngIf",!t.formGroup.controls.message.valid&&t.formGroup.controls.message.touched))},directives:[uA,lA,cw,Ub,pw,kd,OC,xC,jC,Ib,Wb,Ew,Zy,pA,uC],styles:[""]}),aV),yV=((iV=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:iV}),iV.\u0275inj=me({factory:function(e){return new(e||iV)},imports:[[Fg],Fg]}),iV),bV=["*"],kV=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],wV=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],CV=jg(Ng(_createClass((function e(){_classCallCheck(this,e)})))),xV=Ng(_createClass((function e(){_classCallCheck(this,e)}))),MV=((rV=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments))._stateChanges=new L,e}return _inherits(t,e),_createClass(t,[{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}])}(CV)).\u0275fac=function(e){return DV(e||rV)},rV.\u0275cmp=_t({type:rV,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[Ds,Os],ngContentSelectors:bV,decls:1,vars:0,template:function(e,t){1&e&&(Ko(),Qo(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),rV),DV=hi(MV),SV=((vV=function(e){function t(e){var n;return _classCallCheck(this,t),(n=_callSuper(this,t))._elementRef=e,n._stateChanges=new L,"action-list"===n._getListType()&&e.nativeElement.classList.add("mat-action-list"),n}return _inherits(t,e),_createClass(t,[{key:"_getListType",value:function(){var e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}])}(CV)).\u0275fac=function(e){return new(e||vV)(To(qs))},vV.\u0275cmp=_t({type:vV,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[Ds,Os],ngContentSelectors:bV,decls:1,vars:0,template:function(e,t){1&e&&(Ko(),Qo(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n'],encapsulation:2,changeDetection:0}),vV),LV=((_V=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||_V)},_V.\u0275dir=wt({type:_V,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),_V),TV=((pV=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||pV)},pV.\u0275dir=wt({type:pV,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),pV),AV=((mV=function(e){function t(e,n,i,a){var r;_classCallCheck(this,t),(r=_callSuper(this,t))._element=e,r._isInteractiveList=!1,r._destroyed=new L,r._disabled=!1,r._isInteractiveList=!!(i||a&&"action-list"===a._getListType()),r._list=i||a;var o=r._getHostElement();return"button"!==o.nodeName.toLowerCase()||o.hasAttribute("type")||o.setAttribute("type","button"),r._list&&r._list._stateChanges.pipe(Ff(r._destroyed)).subscribe((function(){n.markForCheck()})),r}return _inherits(t,e),_createClass(t,[{key:"disabled",get:function(){return this._disabled||!(!this._list||!this._list.disabled)},set:function(e){this._disabled=Eh(e)}},{key:"ngAfterContentInit",value:function(){!function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";e.changes.pipe(Vf(e)).subscribe((function(e){var i=e.length;uy(t,n+"-2-line",!1),uy(t,n+"-3-line",!1),uy(t,n+"-multi-line",!1),2===i||3===i?uy(t,"".concat(n,"-").concat(i,"-line"),!0):i>3&&uy(t,n+"-multi-line",!0)}))}(this._lines,this._element)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_isRippleDisabled",value:function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}},{key:"_getHostElement",value:function(){return this._element.nativeElement}}])}(xV)).\u0275fac=function(e){return new(e||mV)(To(qs),To(Gr),To(MV,8),To(SV,8))},mV.\u0275cmp=_t({type:mV,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,n){var i;1&e&&(ru(n,LV,!0),ru(n,TV,!0),ru(n,ly,!0)),2&e&&(tu(i=lu())&&(t._avatar=i.first),tu(i=lu())&&(t._icon=i.first),tu(i=lu())&&(t._lines=i))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&ls("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[Ds],ngContentSelectors:wV,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(Ko(kV),Po(0,"div",0),Ro(1,"div",1),Qo(2),Po(3,"div",2),Qo(4,1),Io(),Qo(5,2),Io()),2&e&&(ya(1),Oo("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[My],encapsulation:2,changeDetection:0}),mV),EV=((fV=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:fV}),fV.\u0275inj=me({factory:function(e){return new(e||fV)},imports:[[vy,Dy,Fg,Ly,Vd],vy,Fg,Ly,yV]}),fV),OV=((hV=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"ngOnInit",value:function(){}}])}()).\u0275fac=function(e){return new(e||hV)},hV.\u0275cmp=_t({type:hV,selectors:[["app-information"]],decls:25,vars:0,consts:[["lang","en"],["charset","utf-8"],[1,"text-center"],[1,"info"],["mat-list-item",""],[1,"icon","mr-2"],[1,"label",2,"color","rgb(0, 81, 168)","background-color","rgb(255, 255, 255)"],["mat-list-item","","type","button"],[1,"mr-2"],[1,"",2,"color","rgb(0, 81, 168)","background-color","rgb(255, 255, 255)"],[1,"label"]],template:function(e,t){1&e&&(Po(0,"html",0),Po(1,"head"),Ro(2,"meta",1),Po(3,"title"),ys(4,"FatBoar - Page de contact o\xf9 un client peut venir faire une r\xe9clamation ou bien si il a besoins d'informations par rapport au jeu concours"),Io(),Io(),Po(5,"body"),Po(6,"h1",2),ys(7,"FatBoar"),Io(),Io(),Po(8,"div",3),Po(9,"a",4),Po(10,"mat-icon",5),ys(11,"room"),Io(),Po(12,"span",6),ys(13,"1 Bis Rue Gustave Eiffel, 78280 Guyancourt"),Io(),Io(),Po(14,"a",7),Po(15,"mat-icon",8),ys(16,"phone_enabled"),Io(),Po(17,"label",9),ys(18,"01 74 56 64 31"),Io(),Io(),Po(19,"a",4),Po(20,"mat-icon",5),ys(21,"email"),Io(),Ro(22,"span",10),Po(23,"label",9),ys(24,"contact@fatboar.fr"),Io(),Io(),Io(),Io())},directives:[AV,Dj],styles:[".info[_ngcontent-%COMP%]{margin-left:4em;margin-right:auto}"]}),hV),YV=((dV=function(){return _createClass((function e(t){_classCallCheck(this,e),this.http=t,this.apiUrl=cc}),[{key:"getRestaurants",value:function(){return this.http.get("https://api-preprod.foodgame.fr/api/restaurants")}}])}()).\u0275fac=function(e){return new(e||dV)(Qe(dD))},dV.\u0275prov=fe({token:dV,factory:dV.\u0275fac,providedIn:"root"}),dV),PV=((cV=function(){return _createClass((function e(t){_classCallCheck(this,e),this.platformId=t,Bd(this.platformId)&&(this.L=n("4R65"))}),[{key:"getLeaflet",value:function(){return this.L}}])}()).\u0275fac=function(e){return new(e||cV)(Qe(gu))},cV.\u0275prov=fe({token:cV,factory:cV.\u0275fac,providedIn:"root"}),cV),IV=((uV=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.restaurantsService=t,this.leafletService=n,this.platformId=i}),[{key:"ngOnInit",value:function(){Bd(this.platformId)&&(this.L=this.leafletService.getLeaflet(),this.initMap())}},{key:"initMap",value:function(){var e=this;if(this.L){this.macarte=this.L.map("frugalmap").setView([48.85513,2.353429],9),this.L.tileLayer("http://{s}.tile.osm.org/{z}/{x}/{y}.png",{attribution:"FatBoar"}).addTo(this.macarte);var t=this.L.icon({iconUrl:"../assets/img/marker/markericon.png"});this.restaurantsService.getRestaurants().subscribe((function(n){console.log("test resto",n),n.forEach((function(n){e.L.marker([n.latitude,n.longitude],{icon:t}).addTo(e.macarte).bindPopup('<h5 style="text-align: center"><b>'.concat(n.name,"</b></h5> <b> adresse : </b>").concat(n.adress),{maxWidth:130,minWidth:120})}))}))}}}])}()).\u0275fac=function(e){return new(e||uV)(To(YV),To(PV),To(gu))},uV.\u0275cmp=_t({type:uV,selectors:[["app-map"]],decls:1,vars:0,consts:[["id","frugalmap"]],template:function(e,t){1&e&&Ro(0,"div",0)},styles:["#frugalmap[_ngcontent-%COMP%]{height:300px;width:100%;border-radius:1em}"]}),uV),RV=((lV=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"ngOnInit",value:function(){}}])}()).\u0275fac=function(e){return new(e||lV)},lV.\u0275cmp=_t({type:lV,selectors:[["app-contact"]],decls:7,vars:0,consts:[[1,"container","navtop"],[1,"row"],[1,"col-md-6"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"div",1),Po(2,"div",2),Ro(3,"app-formulaire"),Io(),Po(4,"div",2),Ro(5,"app-information"),Ro(6,"app-map"),Io(),Io(),Io())},directives:[gV,OV,IV],styles:[".navtop[_ngcontent-%COMP%]{margin-top:7em;margin-bottom:3em}"]}),lV),FV=((sV=function(){return _createClass((function e(t){_classCallCheck(this,e),this.domSanitizer=t,this.jsonLd={"@context":"https://schema.org","@type":"Event",name:"Grand Jeu-Concours Fatboar",description:"Participez au concours Fatboar pour gagner un Range Rover d\u2019une valeur de 59 900\u20ac, des menus, burgers, desserts ou une r\xe9duction de 70%.",startDate:"2020-07-16",endDate:"2024-09-16",eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",eventStatus:"https://schema.org/EventScheduled",location:{"@type":"Place",name:"Restaurants Fatboar",address:{"@type":"PostalAddress",addressCountry:"FR"}},image:"https://angular-preprod.foodgame.fr/assets/img/concours/range.png",offers:{"@type":"Offer",name:"Participation au concours",price:"18",priceCurrency:"EUR",availability:"https://schema.org/InStock",validFrom:"2020-07-16",url:"https://angular-preprod.foodgame.fr"},organizer:{"@type":"Organization",name:"Fatboar",url:"https://angular-preprod.foodgame.fr"}}}),[{key:"ngOnInit",value:function(){var e=document.createElement("script");e.type="application/ld+json",e.text=JSON.stringify(this.jsonLd),document.head.appendChild(e)}},{key:"getImgRange",value:function(){return this.domSanitizer.bypassSecurityTrustResourceUrl("assets/img/concours/range.png")}},{key:"getDessert",value:function(){return this.domSanitizer.bypassSecurityTrustResourceUrl("assets/img/concours/dessert5.png")}},{key:"getBurger",value:function(){return this.domSanitizer.bypassSecurityTrustResourceUrl("assets/img/concours/burger2.png")}},{key:"getMenuJour",value:function(){return this.domSanitizer.bypassSecurityTrustResourceUrl("assets/img/concours/menu-jour.png")}},{key:"getMenuChoix",value:function(){return this.domSanitizer.bypassSecurityTrustResourceUrl("assets/img/concours/menu-choix.png")}},{key:"getReduction",value:function(){return this.domSanitizer.bypassSecurityTrustResourceUrl("assets/img/concours/70.png")}}])}()).\u0275fac=function(e){return new(e||sV)(To(Wp))},sV.\u0275cmp=_t({type:sV,selectors:[["app-home"]],decls:48,vars:6,consts:[[1,"container","navtop"],[1,"text-center","gain","mb-4"],[1,"range"],[1,"text-center","concours","font-weight-bold"],[1,"text-center","concours"],[1,"row"],[1,"col-12","col-md-6","order-2","order-md-1"],[1,"col-12","col-md-9"],[1,"col-12","col-md-6","order-1","order-md-2"],["alt","Range Rover \xe0 gagner dans le concours Fatboar","width","80%",1,"rangeRover",3,"src"],[1,"row","justify-content-center","mt-3"],["mat-raised-button","","color","primary","type","submit","routerLink","/login",1,"col-8","col-md-4","color-theme"],[1,"lots","mt-4"],[1,"text-center","font-weight-bold"],[1,"row","mt-5"],[1,"col-4"],["alt","Dessert au choix offert dans le concours Fatboar","width","100%",3,"src"],[1,"text-center","font-weight-bold","dessert"],["alt","Burger au choix offert dans le concours Fatboar","width","90%",3,"src"],["alt","Menu du jour offert dans le concours Fatboar","width","60%",3,"src"],[1,"row","justify-content-center"],["alt","Menu au choix offert dans le concours Fatboar","width","90%",3,"src"],["alt","R\xe9duction de 70% dans le concours Fatboar","width","90%",3,"src"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"h1",1),ys(2,"Jeu-concours Fatboar"),Io(),Po(3,"div",2),Po(4,"h2",1),ys(5,"Tentez de gagner un Range Rover"),Io(),Po(6,"h3",3),ys(7,"Du 16 juillet 2020 au 16 septembre 2024"),Io(),Po(8,"h4",4),ys(9,"Pour tout achat d'une valeur de 18\u20ac ou plus dans l'un de nos restaurants, recevez un code promo"),Io(),Po(10,"div",5),Po(11,"div",6),Po(12,"h4",7),ys(13,"\xc0 l'occasion de l'ouverture de notre 100e restaurant Fatboar, tentez de repartir avec un Range Rover d'une valeur de 59 900\u20ac en participant \xe0 notre grand jeu-concours."),Io(),Po(14,"h4",7),ys(15,"Une seule participation suffit pour avoir une chance d'\xeatre tir\xe9 au sort et gagner votre Range Rover !"),Io(),Po(16,"h4",7),ys(17,"Chaque participation vous offre \xe9galement une r\xe9compense garantie !"),Io(),Io(),Po(18,"div",8),Ro(19,"img",9),Io(),Io(),Po(20,"div",10),Po(21,"button",11),ys(22,"Je participe"),Io(),Io(),Io(),Po(23,"div",12),Po(24,"h2",13),ys(25,"100% des tickets sont gagnants"),Io(),Po(26,"div",14),Po(27,"div",15),Ro(28,"img",16),Po(29,"h2",17),ys(30,"Un dessert au choix"),Io(),Io(),Po(31,"div",15),Ro(32,"img",18),Po(33,"h2",13),ys(34,"Un burger au choix"),Io(),Io(),Po(35,"div",15),Ro(36,"img",19),Po(37,"h2",13),ys(38,"Un menu du jour"),Io(),Io(),Io(),Po(39,"div",20),Po(40,"div",15),Ro(41,"img",21),Po(42,"h2",13),ys(43,"Un menu au choix"),Io(),Io(),Po(44,"div",15),Ro(45,"img",22),Po(46,"h2",13),ys(47,"70% de r\xe9duction"),Io(),Io(),Io(),Io(),Io()),2&e&&(ya(19),Oo("src",t.getImgRange(),$i),ya(9),Oo("src",t.getDessert(),$i),ya(4),Oo("src",t.getBurger(),$i),ya(4),Oo("src",t.getMenuJour(),$i),ya(5),Oo("src",t.getMenuChoix(),$i),ya(4),Oo("src",t.getReduction(),$i))},directives:[Zy,_T],styles:['@import url("https://fonts.googleapis.com/css2?family=Indie+Flower&family=Pacifico&family=Pangolin&family=Permanent+Marker&display=swap");@import url("https://fonts.googleapis.com/css2?family=Maven+Pro:wght@900&display=swap");.navtop[_ngcontent-%COMP%]{margin-top:6em}.gain[_ngcontent-%COMP%]{color:#1e0338;font-family:Indie Flower,cursive;font-family:Pacifico,cursive;font-family:Pangolin,cursive;font-family:Permanent Marker,cursive;font-size:2.5em}@media screen and (max-width:640px){.rangeRover[_ngcontent-%COMP%]{margin-left:3em}}.tex[_ngcontent-%COMP%]{font-family:Maven Pro,sans-serif}.dessert[_ngcontent-%COMP%]{margin-top:.7em}']}),sV),jV=((oV=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.router=t,this.authService=n}),[{key:"canActivate",value:function(e,t){var n=this.authService.userValue;return n?!e.data.roles||-1!==e.data.roles.indexOf(n.role)||(this.router.navigate(["/"]),!1):(this.router.navigate(["/login"],{queryParams:{returnUrl:t.url}}),!1)}}])}()).\u0275fac=function(e){return new(e||oV)(Qe(pT),Qe(XT))},oV.\u0275prov=fe({token:oV,factory:oV.\u0275fac,providedIn:"root"}),oV);function HV(e,t){1&e&&Ro(0,"mat-progress-bar",13)}function NV(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorEmail()," ")}}function zV(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.getErrorPassword()," ")}}function VV(e,t){if(1&e&&(Po(0,"mat-error"),ys(1),Io()),2&e){var n=Zo();ya(1),ks(" ",n.messageError," ")}}var BV,WV,UV,qV,GV,ZV,JV,KV,QV,XV,$V,eB=[{path:"",component:FV},{path:"login",component:jN},{path:"login/lost-password",component:LA},{path:"login/reset-password/:token",component:CA},{path:"register",component:Qz},{path:"cgu",component:sY},{path:"mention-legales",component:oY},{path:"politique-de-confidentialite",component:rY},{path:"admin",component:(WV=function(){return _createClass((function e(t,n,i,a,r,o){_classCallCheck(this,e),this.router=t,this.snackBar=n,this.authService=i,this.formBuilder=a,this.matIconRegistry=r,this.domSanitizer=o,this.submitted=!1,this.loading=!1,this.hide=!0}),[{key:"ngOnInit",value:function(){this.createForm()}},{key:"createForm",value:function(){this.formGroup=this.formBuilder.group({email:[null,[Kb.required,Kb.pattern(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/)]],password:[null,[Kb.required,this.checkPassword]]})}},{key:"checkPassword",value:function(e){var t=e.value;return!/^(?=.*[a-z])(?=.{6,})/.test(t)&&t?{requirements:!0}:null}},{key:"getErrorEmail",value:function(){return this.formGroup.get("email").hasError("required")?"Adresse email requise":this.formGroup.get("email").hasError("pattern")?"Adresse email non valide":""}},{key:"getErrorPassword",value:function(){return this.formGroup.get("password").hasError("required")?"Mot de passe requis":this.formGroup.get("password").hasError("requirements")?"Le mot de passe doit comporter au moins 8 caract\xe8res, une lettre majuscule":""}},{key:"f",get:function(){return this.formGroup.controls}},{key:"signIn",value:function(){var e=this;this.submitted=!0,this.formGroup.invalid||(this.loading=!0,this.authService.signInAdmin(this.formGroup.value).subscribe((function(t){console.log(t),e.loading=!1,e.router.navigate(["/tirage"]),setTimeout((function(){document.location.reload()}),800)}),(function(t){e.loading=!1,console.log(t.error.message),e.authService.openSnackBar(t.error.message)})))}}])}(),WV.\u0275fac=function(e){return new(e||WV)(To(pT),To(RM),To(XT),To(Fw),To(_j),To(Wp))},WV.\u0275cmp=_t({type:WV,selectors:[["app-admin-login"]],decls:25,vars:6,consts:[[1,"container","navtop"],[1,"row","justify-content-center"],[1,"col-11","col-lg-5",2,"border-radius","10px"],["class","col-12","mode","indeterminate",4,"ngIf"],[3,"formGroup","ngSubmit"],[1,"col-10"],["matInput","","placeholder","Adresse email","formControlName","email","required",""],[4,"ngIf"],["matInput","","placeholder","Mot de passe","formControlName","password","required","",3,"type"],["matSuffix","",3,"click"],[1,"row","justify-content-center","mt-3"],["mat-raised-button","","color","primary","type","submit",1,"col-6","color-theme"],["routerLink","/login/lost-password"],["mode","indeterminate",1,"col-12"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"div",1),Po(2,"mat-card",2),So(3,HV,1,0,"mat-progress-bar",3),Po(4,"mat-card-content"),Po(5,"form",4),Bo("ngSubmit",(function(){return t.signIn()})),Po(6,"h1",1),Po(7,"b"),ys(8,"Connexion"),Io(),Io(),Po(9,"div",1),Po(10,"mat-form-field",5),Ro(11,"input",6),So(12,NV,2,1,"mat-error",7),Io(),Io(),Po(13,"div",1),Po(14,"mat-form-field",5),Ro(15,"input",8),Po(16,"mat-icon",9),Bo("click",(function(){return t.hide=!t.hide})),ys(17),Io(),So(18,zV,2,1,"mat-error",7),Io(),Io(),Po(19,"div",10),Po(20,"button",11),ys(21,"Se connecter"),Io(),Io(),Po(22,"p",10),Po(23,"a",12),ys(24,"Mot de passe oubli\xe9 ?"),Io(),Io(),Io(),Io(),Io(),Io(),Io()),2&e&&(ya(3),Oo("ngIf",t.loading),ya(2),Oo("formGroup",t.formGroup),ya(7),Oo("ngIf",!t.formGroup.controls.email.valid&&t.formGroup.controls.email.touched),ya(3),Oo("type",t.hide?"password":"text"),ya(2),bs(t.hide?"visibility_off":"visibility"),ya(1),Oo("ngIf",!t.formGroup.controls.password.valid&&t.formGroup.controls.password.touched))},directives:[uA,kd,lA,cw,Ub,pw,OC,jC,Ib,Wb,Ew,Yw,Dj,SC,Zy,vT,pA,uC],styles:[".navtop[_ngcontent-%COMP%]{margin-top:10em;margin-bottom:3em}.facebooklogin[_ngcontent-%COMP%], .googlelogin[_ngcontent-%COMP%]{margin-bottom:-.5em!important}.marginButton[_ngcontent-%COMP%]{margin-bottom:0!important}"]}),WV)},{path:"users",component:ON},{path:"statistique",component:$F,canActivate:[jV],data:{roles:["admin"]}},{path:"emailing",component:YY,canActivate:[jV],data:{roles:["admin"]}},{path:"assistance",component:wE,canActivate:[jV],data:{roles:["admin"]}},{path:"contact",component:RV},{path:"home",component:FV},{path:"auth",component:Kj},{path:"tirage",component:(BV=function(){return _createClass((function e(t,n,i,a,r){_classCallCheck(this,e),this.authService=t,this.userService=n,this.fb=i,this.http=a,this.snackbar=r,this.URL="http://localhost:4000",this.messageError=null,this.tirage={message:"",success:!1}}),[{key:"ngOnInit",value:function(){var e=this;this.authService.getUserInfo().subscribe((function(t){return e.user=t})),this.createdForm()}},{key:"createdForm",value:function(){this.formTirage=this.fb.group({date:["",Kb.required]})}},{key:"postDateTirage",value:function(){var e=this;console.log("date: ",this.formTirage.value),this.http.post(this.URL+"/api/tirage/date",this.formTirage.value).toPromise().then((function(t){e.snackbar.open(t.message,"close")})).catch((function(t){console.log("message erreur =>",t.error.message),e.messageError=t.error.message}))}},{key:"getTirage",value:function(){var e=this;this.http.get(this.URL+"/api/tirage").toPromise().then((function(t){e.tirage=t,console.log("resultar ",e.tirage)})).catch((function(e){return console.log("err",e)}))}},{key:"getWinner",value:function(e){}}])}(),BV.\u0275fac=function(e){return new(e||BV)(To(XT),To(ej),To(Fw),To(dD),To(RM))},BV.\u0275cmp=_t({type:BV,selectors:[["app-tirage"]],decls:21,vars:3,consts:[[1,"navtop"],[3,"formGroup","ngSubmit"],[1,"row","justify-content-center","mt-3"],["appearance","fill",1,"formu"],["matInput","","formControlName","date","type","date"],[4,"ngIf"],["mat-raised-button","","color","primary","type","submit",1,"col-4","color-theme"],["mat-raised-button","","color","primary",1,"col-4","color-theme",3,"click"]],template:function(e,t){1&e&&(Po(0,"mat-card",0),Po(1,"mat-card-content"),Po(2,"form",1),Bo("ngSubmit",(function(){return t.postDateTirage()})),Po(3,"div",2),Po(4,"div"),Po(5,"mat-form-field",3),Po(6,"mat-label"),ys(7,"Choose a date"),Io(),Ro(8,"input",4),Io(),Io(),Io(),Po(9,"div",2),So(10,VV,2,1,"mat-error",5),Io(),Po(11,"div",2),Po(12,"button",6),ys(13,"Excuter"),Io(),Io(),Io(),Io(),Po(14,"mat-card-content"),Po(15,"div",2),Po(16,"button",7),Bo("click",(function(){return t.getTirage()})),ys(17,"Lancer le tirage"),Io(),Io(),Po(18,"div",2),ys(19),Io(),Io(),Ro(20,"mat-card-content"),Io()),2&e&&(ya(2),Oo("formGroup",t.formTirage),ya(8),Oo("ngIf",null!=t.messageError),ya(9),ks(" ",t.tirage.message," "))},directives:[uA,lA,cw,Ub,pw,OC,xC,jC,Ib,Wb,Ew,kd,Zy,uC],styles:[".navtop[_ngcontent-%COMP%]{margin-top:12em}"]}),BV)},{path:"profil",component:uj},{path:"**",component:YN}],tB=((qV=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:qV}),qV.\u0275inj=me({factory:function(e){return new(e||qV)},imports:[[FT.forRoot(eB,{initialNavigation:"enabled"})],FT]}),qV),nB=((UV=function(){return _createClass((function e(t,n){_classCallCheck(this,e),this.title=t,this.meta=n}),[{key:"updateMetaTags",value:function(e){e.title&&this.title.setTitle(e.title),e.description&&this.meta.updateTag({name:"description",content:e.description}),e.keywords&&this.meta.updateTag({name:"keywords",content:e.keywords}),e.ogTitle&&this.meta.updateTag({property:"og:title",content:e.ogTitle}),e.ogDescription&&this.meta.updateTag({property:"og:description",content:e.ogDescription}),e.ogImage&&this.meta.updateTag({property:"og:image",content:e.ogImage}),e.noIndex?this.meta.updateTag({name:"robots",content:"noindex, nofollow"}):this.meta.removeTag("name='robots'")}}])}()).\u0275fac=function(e){return new(e||UV)(Qe(e_),Qe(Qp))},UV.\u0275prov=fe({token:UV,factory:UV.\u0275fac,providedIn:"root"}),UV),iB=["*",[["mat-toolbar-row"]]],aB=["*","mat-toolbar-row"],rB=Hg(_createClass((function e(t){_classCallCheck(this,e),this._elementRef=t}))),oB=((KV=_createClass((function e(){_classCallCheck(this,e)}))).\u0275fac=function(e){return new(e||KV)},KV.\u0275dir=wt({type:KV,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),KV),sB=((JV=function(e){function t(e,n,i){var a;return _classCallCheck(this,t),(a=_callSuper(this,t,[e]))._platform=n,a._document=i,a}return _inherits(t,e),_createClass(t,[{key:"ngAfterViewInit",value:function(){var e=this;Li()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe((function(){return e._checkToolbarMixedModes()})))}},{key:"_checkToolbarMixedModes",value:function(){var e=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter((function(e){return!(e.classList&&e.classList.contains("mat-toolbar-row"))})).filter((function(t){return t.nodeType!==(e._document?e._document.COMMENT_NODE:8)})).some((function(e){return!(!e.textContent||!e.textContent.trim())}))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.")}()}}])}(rB)).\u0275fac=function(e){return new(e||JV)(To(qs),To(ih),To(mc))},JV.\u0275cmp=_t({type:JV,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){var i;1&e&&ru(n,oB,!0),2&e&&tu(i=lu())&&(t._toolbarRows=i)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&ls("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[Ds],ngContentSelectors:aB,decls:2,vars:0,template:function(e,t){1&e&&(Ko(iB),Qo(0),Qo(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}\n"],encapsulation:2,changeDetection:0}),JV),lB=((ZV=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:ZV}),ZV.\u0275inj=me({factory:function(e){return new(e||ZV)},imports:[[Fg],Fg]}),ZV),uB=((GV=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t,[{key:"buildStyles",value:function(e,t){return{display:"true"===e?t.display||(t.isServer?"initial":""):"none"}}}])}(lO)).\u0275fac=function(e){return cB(e||GV)},GV.\u0275prov=fe({factory:function(){return new GV},token:GV,providedIn:"root"}),GV),cB=hi(uB),dB=((QV=function(e){function t(e,n,i,a,r,o,s){var l;return _classCallCheck(this,t),(l=_callSuper(this,t,[e,n,i,a])).layoutConfig=r,l.platformId=o,l.serverModuleLoaded=s,l.DIRECTIVE_KEY="show-hide",l.display="",l.hasLayout=!1,l.hasFlexChild=!1,l}return _inherits(t,e),_createClass(t,[{key:"ngAfterViewInit",value:function(){this.trackExtraTriggers();for(var e=Array.from(this.nativeElement.children),t=0;t<e.length;t++)if(this.marshal.hasValue(e[t],"flex")){this.hasFlexChild=!0;break}hB.has(this.nativeElement)?this.display=hB.get(this.nativeElement):(this.display=this.getDisplayStyle(),hB.set(this.nativeElement,this.display)),this.init();var n=this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY,"");void 0===n||""===n?this.setValue(!0,""):this.triggerUpdate()}},{key:"ngOnChanges",value:function(e){var t=this;Object.keys(e).forEach((function(n){if(-1!==t.inputs.indexOf(n)){var i=n.split("."),a=i.slice(1).join("."),r=e[n].currentValue,o=""===r||0!==r&&Eh(r);"fxHide"===i[0]&&(o=!o),t.setValue(o,a)}}))}},{key:"trackExtraTriggers",value:function(){var e=this;this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach((function(t){e.marshal.trackValue(e.nativeElement,t).pipe(Ff(e.destroySubject)).subscribe(e.triggerUpdate.bind(e))}))}},{key:"getDisplayStyle",value:function(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}},{key:"updateWithValue",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(""!==e){var t=Wd(this.platformId);this.addStyles(e?"true":"false",{display:this.display,isServer:t}),t&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}}])}(RE)).\u0275fac=function(e){return new(e||QV)(To(qs),To(uB),To(sO),To(uO),To(TE),To(gu),To(AE))},QV.\u0275dir=wt({type:QV,features:[Ds,Os]}),QV),hB=new WeakMap,fB=["fxShow","fxShow.print","fxShow.xs","fxShow.sm","fxShow.md","fxShow.lg","fxShow.xl","fxShow.lt-sm","fxShow.lt-md","fxShow.lt-lg","fxShow.lt-xl","fxShow.gt-xs","fxShow.gt-sm","fxShow.gt-md","fxShow.gt-lg","fxHide","fxHide.print","fxHide.xs","fxHide.sm","fxHide.md","fxHide.lg","fxHide.xl","fxHide.lt-sm","fxHide.lt-md","fxHide.lt-lg","fxHide.lt-xl","fxHide.gt-xs","fxHide.gt-sm","fxHide.gt-md","fxHide.gt-lg"],mB=((XV=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments)).inputs=fB,e}return _inherits(t,e),_createClass(t)}(dB)).\u0275fac=function(e){return pB(e||XV)},XV.\u0275dir=wt({type:XV,selectors:[["","fxShow",""],["","fxShow.print",""],["","fxShow.xs",""],["","fxShow.sm",""],["","fxShow.md",""],["","fxShow.lg",""],["","fxShow.xl",""],["","fxShow.lt-sm",""],["","fxShow.lt-md",""],["","fxShow.lt-lg",""],["","fxShow.lt-xl",""],["","fxShow.gt-xs",""],["","fxShow.gt-sm",""],["","fxShow.gt-md",""],["","fxShow.gt-lg",""],["","fxHide",""],["","fxHide.print",""],["","fxHide.xs",""],["","fxHide.sm",""],["","fxHide.md",""],["","fxHide.lg",""],["","fxHide.xl",""],["","fxHide.lt-sm",""],["","fxHide.lt-md",""],["","fxHide.lt-lg",""],["","fxHide.lt-xl",""],["","fxHide.gt-xs",""],["","fxHide.gt-sm",""],["","fxHide.gt-md",""],["","fxHide.gt-lg",""]],inputs:{fxShow:"fxShow","fxShow.print":"fxShow.print","fxShow.xs":"fxShow.xs","fxShow.sm":"fxShow.sm","fxShow.md":"fxShow.md","fxShow.lg":"fxShow.lg","fxShow.xl":"fxShow.xl","fxShow.lt-sm":"fxShow.lt-sm","fxShow.lt-md":"fxShow.lt-md","fxShow.lt-lg":"fxShow.lt-lg","fxShow.lt-xl":"fxShow.lt-xl","fxShow.gt-xs":"fxShow.gt-xs","fxShow.gt-sm":"fxShow.gt-sm","fxShow.gt-md":"fxShow.gt-md","fxShow.gt-lg":"fxShow.gt-lg",fxHide:"fxHide","fxHide.print":"fxHide.print","fxHide.xs":"fxHide.xs","fxHide.sm":"fxHide.sm","fxHide.md":"fxHide.md","fxHide.lg":"fxHide.lg","fxHide.xl":"fxHide.xl","fxHide.lt-sm":"fxHide.lt-sm","fxHide.lt-md":"fxHide.lt-md","fxHide.lt-lg":"fxHide.lt-lg","fxHide.lt-xl":"fxHide.lt-xl","fxHide.gt-xs":"fxHide.gt-xs","fxHide.gt-sm":"fxHide.gt-sm","fxHide.gt-md":"fxHide.gt-md","fxHide.gt-lg":"fxHide.gt-lg"},features:[Ds]}),XV),pB=hi(mB),_B=(($V=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:$V}),$V.\u0275inj=me({factory:function(e){return new(e||$V)},imports:[[ME]]}),$V),vB=["*"];function gB(e,t){if(1&e){var n=No();Po(0,"div",2),Bo("click",(function(){return $t(n),Zo()._onBackdropClicked()})),Io()}2&e&&ls("mat-drawer-shown",Zo()._isShowingBackdrop())}function yB(e,t){1&e&&(Po(0,"mat-drawer-content"),Qo(1,2),Io())}var bB=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],kB=["mat-drawer","mat-drawer-content","*"];function wB(e,t){if(1&e){var n=No();Po(0,"div",2),Bo("click",(function(){return $t(n),Zo()._onBackdropClicked()})),Io()}2&e&&ls("mat-drawer-shown",Zo()._isShowingBackdrop())}function CB(e,t){1&e&&(Po(0,"mat-sidenav-content",3),Qo(1,2),Io())}var xB=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],MB=["mat-sidenav","mat-sidenav-content","*"],DB={transformDrawer:n_("transform",[o_("open, open-instant",r_({transform:"none",visibility:"visible"})),o_("void",r_({"box-shadow":"none",visibility:"hidden"})),s_("void => open-instant",i_("0ms")),s_("void <=> open, open-instant => void",i_("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function SB(e){throw Error("A drawer was already declared for 'position=\"".concat(e,"\"'"))}var LB,TB,AB,EB,OB,YB,PB,IB,RB=new Ve("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),FB=new Ve("MAT_DRAWER_CONTAINER"),jB=((OB=function(e){function t(e,n,i,a,r){var o;return _classCallCheck(this,t),(o=_callSuper(this,t,[i,a,r]))._changeDetectorRef=e,o._container=n,o}return _inherits(t,e),_createClass(t,[{key:"ngAfterContentInit",value:function(){var e=this;this._container._contentMarginChanges.subscribe((function(){e._changeDetectorRef.markForCheck()}))}}])}(sm)).\u0275fac=function(e){return new(e||OB)(To(Gr),To(De((function(){return NB}))),To(qs),To(om),To(Pu))},OB.\u0275cmp=_t({type:OB,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&ss("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[Ds],ngContentSelectors:vB,decls:1,vars:0,template:function(e,t){1&e&&(Ko(),Qo(0))},encapsulation:2,changeDetection:0}),OB),HB=((EB=function(){return _createClass((function e(t,n,i,a,r,o,s){var l=this;_classCallCheck(this,e),this._elementRef=t,this._focusTrapFactory=n,this._focusMonitor=i,this._platform=a,this._ngZone=r,this._doc=o,this._container=s,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new L,this._animationEnd=new L,this._animationState="void",this.openedChange=new Wl(!0),this._destroyed=new L,this.onPositionChanged=new Wl,this._modeChanged=new L,this.openedChange.subscribe((function(e){e?(l._doc&&(l._elementFocusedBeforeDrawerWasOpened=l._doc.activeElement),l._takeFocus()):l._restoreFocus()})),this._ngZone.runOutsideAngular((function(){Lf(l._elementRef.nativeElement,"keydown").pipe(wh((function(e){return 27===e.keyCode&&!l.disableClose&&!ch(e)})),Ff(l._destroyed)).subscribe((function(e){return l._ngZone.run((function(){l.close(),e.stopPropagation(),e.preventDefault()}))}))})),this._animationEnd.pipe(Tf((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){var t=e.fromState,n=e.toState;(0===n.indexOf("open")&&"void"===t||"void"===n&&0===t.indexOf("open"))&&l.openedChange.emit(l._opened)}))}),[{key:"position",get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(e){this._disableClose=Eh(e)}},{key:"autoFocus",get:function(){var e=this._autoFocus;return null==e?"side"!==this.mode:e},set:function(e){this._autoFocus=Eh(e)}},{key:"opened",get:function(){return this._opened},set:function(e){this.toggle(Eh(e))}},{key:"_openedStream",get:function(){return this.openedChange.pipe(wh((function(e){return e})),H((function(){})))}},{key:"openedStart",get:function(){return this._animationStarted.pipe(wh((function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")})),H((function(){})))}},{key:"_closedStream",get:function(){return this.openedChange.pipe(wh((function(e){return!e})),H((function(){})))}},{key:"closedStart",get:function(){return this._animationStarted.pipe(wh((function(e){return e.fromState!==e.toState&&"void"===e.toState})),H((function(){})))}},{key:"_takeFocus",value:function(){var e=this;this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then((function(t){t||"function"!=typeof e._elementRef.nativeElement.focus||e._elementRef.nativeElement.focus()}))}},{key:"_restoreFocus",value:function(){if(this.autoFocus){var e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}}},{key:"ngAfterContentInit",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(e){return this.toggle(!0,e)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"toggle",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"program";return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=n):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise((function(t){e.openedChange.pipe(Lh(1)).subscribe((function(e){return t(e?"open":"close")}))}))}},{key:"_width",get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_animationStartListener",value:function(e){this._animationStarted.next(e)}},{key:"_animationDoneListener",value:function(e){this._animationEnd.next(e)}}])}()).\u0275fac=function(e){return new(e||EB)(To(qs),To(lf),To(bf),To(ih),To(Pu),To(mc,8),To(FB,8))},EB.\u0275cmp=_t({type:EB,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&Wo("@transform.start",(function(e){return t._animationStartListener(e)}))("@transform.done",(function(e){return t._animationDoneListener(e)})),2&e&&(Mo("align",null),xs("@transform",t._animationState),ls("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:vB,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(Ko(),Po(0,"div",0),Qo(1),Io())},encapsulation:2,data:{animation:[DB.transformDrawer]},changeDetection:0}),EB),NB=((AB=function(){return _createClass((function e(t,n,i,a,r){var o=this,s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6?arguments[6]:void 0;_classCallCheck(this,e),this._dir=t,this._element=n,this._ngZone=i,this._changeDetectorRef=a,this._animationMode=l,this._drawers=new ql,this.backdropClick=new Wl,this._destroyed=new L,this._doCheckSubject=new L,this._contentMargins={left:null,right:null},this._contentMarginChanges=new L,t&&t.change.pipe(Ff(this._destroyed)).subscribe((function(){o._validateDrawers(),o.updateContentMargins()})),r.change().pipe(Ff(this._destroyed)).subscribe((function(){return o.updateContentMargins()})),this._autosize=s}),[{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(e){this._autosize=Eh(e)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(e){this._backdropOverride=null==e?null:Eh(e)}},{key:"scrollable",get:function(){return this._userContent||this._content}},{key:"ngAfterContentInit",value:function(){var e=this;this._allDrawers.changes.pipe(Vf(this._allDrawers),Ff(this._destroyed)).subscribe((function(t){e._drawers.reset(t.filter((function(t){return!t._container||t._container===e}))),e._drawers.notifyOnChanges()})),this._drawers.changes.pipe(Vf(null)).subscribe((function(){e._validateDrawers(),e._drawers.forEach((function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t),e._watchDrawerMode(t)})),(!e._drawers.length||e._isDrawerOpen(e._start)||e._isDrawerOpen(e._end))&&e.updateContentMargins(),e._changeDetectorRef.markForCheck()})),this._doCheckSubject.pipe(gh(10),Ff(this._destroyed)).subscribe((function(){return e.updateContentMargins()}))}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach((function(e){return e.open()}))}},{key:"close",value:function(){this._drawers.forEach((function(e){return e.close()}))}},{key:"updateContentMargins",value:function(){var e=this,t=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._width;else if("push"==this._left.mode){var i=this._left._width;t+=i,n-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._width;else if("push"==this._right.mode){var a=this._right._width;n+=a,t-=a}n=n||null,(t=t||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:t,right:n},this._ngZone.run((function(){return e._contentMarginChanges.next(e._contentMargins)})))}},{key:"ngDoCheck",value:function(){var e=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular((function(){return e._doCheckSubject.next()}))}},{key:"_watchDrawerToggle",value:function(e){var t=this;e._animationStarted.pipe(wh((function(e){return e.fromState!==e.toState})),Ff(this._drawers.changes)).subscribe((function(e){"open-instant"!==e.toState&&"NoopAnimations"!==t._animationMode&&t._element.nativeElement.classList.add("mat-drawer-transition"),t.updateContentMargins(),t._changeDetectorRef.markForCheck()})),"side"!==e.mode&&e.openedChange.pipe(Ff(this._drawers.changes)).subscribe((function(){return t._setContainerClass(e.opened)}))}},{key:"_watchDrawerPosition",value:function(e){var t=this;e&&e.onPositionChanged.pipe(Ff(this._drawers.changes)).subscribe((function(){t._ngZone.onMicrotaskEmpty.asObservable().pipe(Lh(1)).subscribe((function(){t._validateDrawers()}))}))}},{key:"_watchDrawerMode",value:function(e){var t=this;e&&e._modeChanged.pipe(Ff(J(this._drawers.changes,this._destroyed))).subscribe((function(){t.updateContentMargins(),t._changeDetectorRef.markForCheck()}))}},{key:"_setContainerClass",value:function(e){var t=this._element.nativeElement.classList,n="mat-drawer-container-has-open";e?t.add(n):t.remove(n)}},{key:"_validateDrawers",value:function(){var e=this;this._start=this._end=null,this._drawers.forEach((function(t){"end"==t.position?(null!=e._end&&SB("end"),e._end=t):(null!=e._start&&SB("start"),e._start=t)})),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawer()}},{key:"_closeModalDrawer",value:function(){var e=this;[this._start,this._end].filter((function(t){return t&&!t.disableClose&&e._canHaveBackdrop(t)})).forEach((function(e){return e.close()}))}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(e){return"side"!==e.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(e){return null!=e&&e.opened}}])}()).\u0275fac=function(e){return new(e||AB)(To(Jf,8),To(qs),To(Pu),To(Gr),To(lm),To(RB),To(Sg,8))},AB.\u0275cmp=_t({type:AB,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,n){var i;1&e&&(ru(n,jB,!0),ru(n,HB,!0)),2&e&&(tu(i=lu())&&(t._content=i.first),tu(i=lu())&&(t._allDrawers=i))},viewQuery:function(e,t){var n;1&e&&iu(jB,!0),2&e&&tu(n=lu())&&(t._userContent=n.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&ls("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Vs([{provide:FB,useExisting:AB}])],ngContentSelectors:kB,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(Ko(bB),So(0,gB,1,2,"div",0),Qo(1),Qo(2,1),So(3,yB,2,0,"mat-drawer-content",1)),2&e&&(Oo("ngIf",t.hasBackdrop),ya(3),Oo("ngIf",!t._content))},directives:[kd,jB],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),AB),zB=((TB=function(e){function t(e,n,i,a,r){return _classCallCheck(this,t),_callSuper(this,t,[e,n,i,a,r])}return _inherits(t,e),_createClass(t)}(jB)).\u0275fac=function(e){return new(e||TB)(To(Gr),To(De((function(){return WB}))),To(qs),To(om),To(Pu))},TB.\u0275cmp=_t({type:TB,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&ss("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[Ds],ngContentSelectors:vB,decls:1,vars:0,template:function(e,t){1&e&&(Ko(),Qo(0))},encapsulation:2,changeDetection:0}),TB),VB=((LB=function(e){function t(){var e;return _classCallCheck(this,t),(e=_callSuper(this,t,arguments))._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}return _inherits(t,e),_createClass(t,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=Eh(e)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(e){this._fixedTopGap=Oh(e)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(e){this._fixedBottomGap=Oh(e)}}])}(HB)).\u0275fac=function(e){return BB(e||LB)},LB.\u0275cmp=_t({type:LB,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(Mo("align",null),ss("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),ls("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[Ds],ngContentSelectors:vB,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(Ko(),Po(0,"div",0),Qo(1),Io())},encapsulation:2,data:{animation:[DB.transformDrawer]},changeDetection:0}),LB),BB=hi(VB),WB=((YB=function(e){function t(){return _classCallCheck(this,t),_callSuper(this,t,arguments)}return _inherits(t,e),_createClass(t)}(NB)).\u0275fac=function(e){return UB(e||YB)},YB.\u0275cmp=_t({type:YB,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,n){var i;1&e&&(ru(n,zB,!0),ru(n,VB,!0)),2&e&&(tu(i=lu())&&(t._content=i.first),tu(i=lu())&&(t._allDrawers=i))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&ls("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[Vs([{provide:FB,useExisting:YB}]),Ds],ngContentSelectors:MB,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(Ko(xB),So(0,wB,1,2,"div",0),Qo(1),Qo(2,1),So(3,CB,2,0,"mat-sidenav-content",1)),2&e&&(Oo("ngIf",t.hasBackdrop),ya(3),Oo("ngIf",!t._content))},directives:[kd,zB,sm],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),YB),UB=hi(WB),qB=((IB=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:IB}),IB.\u0275inj=me({factory:function(e){return new(e||IB)},imports:[[Vd,Fg,ah,um],um,Fg]}),IB),GB=((PB=function(){return _createClass((function e(){_classCallCheck(this,e)}),[{key:"ngOnInit",value:function(){}}])}()).\u0275fac=function(e){return new(e||PB)},PB.\u0275cmp=_t({type:PB,selectors:[["app-footer"]],decls:58,vars:0,consts:[[1,"main-footer","mt-6"],[1,"col-12"],[1,"row"],[1,"col-md-3","col-12"],[1,"row","justify-content-end","border-right","my-3"],[1,"col-12","mb-2"],["routerLink","/","routerLinkActive","active",1,"row","justify-content-center"],["width","80","height","80","src","assets/img/logo-fatboar.png","alt","An image of logo-fatboar"],[1,"col-12","mt-2"],[1,"row","justify-content-center"],["href","",1,"mr-2"],["width","30","height","30","src","assets/img/social/twitter.svg","alt","Twitter logo linking to the Fatboar twitter page"],["width","30","height","30","src","assets/img/social/facebook.svg","alt","Facebook logo linking to the Fatboar facebook page"],["href","",1,""],["width","30","height","30","src","assets/img/social/instagram.svg","alt","Instagram logo linking to the FatBoar instagram page"],[1,"col-md-12","text-md-left","text-center"],["href","",1,"col-md-12","text-md-left","text-center"],[1,"col-md-12","text-md-left","text-center",2,"color","white !important"],["routerLink","cgu",1,"col-md-12"],["routerLink","mention-legales",1,"col-md-12"],["routerLink","politique-de-confidentialite",1,"col-md-12"],[1,"col-md-3","col-12","mb-3"],["href","mailto:",1,"col-md-12","text-md-left","text-center"]],template:function(e,t){1&e&&(Po(0,"div",0),Po(1,"div",1),Po(2,"div",2),Po(3,"div",3),Po(4,"div",4),Po(5,"div",5),Po(6,"a",6),Ro(7,"img",7),Io(),Io(),Po(8,"div",8),Po(9,"div",9),Po(10,"a",10),Ro(11,"img",11),Io(),Po(12,"a",10),Ro(13,"img",12),Io(),Po(14,"a",13),Ro(15,"img",14),Io(),Io(),Io(),Io(),Io(),Po(16,"div",3),Po(17,"div",2),Po(18,"h3",15),ys(19,"Informations utiles"),Io(),Po(20,"a",16),Po(21,"h4",17),ys(22,"Comment \xe7a marche ?"),Io(),Io(),Po(23,"a",16),Po(24,"h4",17),ys(25,"Qui sommes-nous ?"),Io(),Io(),Po(26,"a",16),Po(27,"h4",17),ys(28,"FatBoar pour ses clients"),Io(),Io(),Io(),Io(),Po(29,"div",3),Po(30,"div",2),Po(31,"h3",15),ys(32,"Informations l\xe9gales"),Io(),Po(33,"a",18),Po(34,"h4",15),ys(35,"Conditions g\xe9n\xe9rales d'utilisation"),Io(),Io(),Po(36,"a",19),Po(37,"h4",15),ys(38,"Mention l\xe9gales"),Io(),Io(),Po(39,"a",20),Po(40,"h4",15),ys(41,"Politique de confidentialit\xe9"),Io(),Io(),Io(),Io(),Po(42,"div",21),Po(43,"div",2),Po(44,"h3",15),ys(45,"Nous contacter"),Io(),Po(46,"h4",15),ys(47,"Service client : "),Po(48,"b"),ys(49,"01 74 56 64 31"),Io(),Io(),Po(50,"h4",15),ys(51,"De 9h \xe0 12h et de 13h \xe0 19h"),Io(),Po(52,"h4",15),ys(53,"du lundi au vendredi"),Io(),Po(54,"a",22),Po(55,"h4",15),Po(56,"b"),ys(57,"Envoyer un mail"),Io(),Io(),Io(),Io(),Io(),Io(),Io(),Io())},directives:[vT,CT],styles:[".main-footer[_ngcontent-%COMP%]{color:#fff!important;background-image:linear-gradient(90deg,#f5af19,#f12711)}.border-right[_ngcontent-%COMP%]{border-right:1px solid #fff}h2[_ngcontent-%COMP%]{font-weight:700;margin:30px 0 0}h2[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]{text-align:left}a[_ngcontent-%COMP%], h5[_ngcontent-%COMP%]{margin:0}a[_ngcontent-%COMP%]{color:#fff;padding:0}"]}),PB);function ZB(e,t){1&e&&(Po(0,"a",33),ys(1," Connexion"),Io())}function JB(e,t){1&e&&(Po(0,"a",34),ys(1,"Inscription"),Io())}function KB(e,t){1&e&&(Po(0,"a",35),ys(1,"Gain"),Io())}function QB(e,t){1&e&&(Po(0,"a",36),Po(1,"mat-icon"),ys(2,"person"),Io(),ys(3,"Mon profil"),Io())}function XB(e,t){1&e&&(Po(0,"a",37),ys(1,"Contact"),Io())}function $B(e,t){if(1&e){var n=No();Po(0,"a",38),Bo("click",(function(){return $t(n),Zo().logOut()})),Po(1,"mat-icon"),ys(2,"power_settings_new"),Io(),Io()}}function eW(e,t){1&e&&(Po(0,"a",39),Po(1,"mat-icon",27),ys(2,"home"),Io(),Po(3,"span",28),ys(4,"Menu"),Io(),Io())}function tW(e,t){1&e&&(Po(0,"a",40),Po(1,"mat-icon",27),ys(2,"account_circle"),Io(),Po(3,"span",28),ys(4,"Connexion"),Io(),Io())}function nW(e,t){1&e&&(Po(0,"a",41),Po(1,"mat-icon",27),ys(2,"article"),Io(),Po(3,"span",28),ys(4,"Inscription"),Io(),Io())}function iW(e,t){1&e&&(Po(0,"a",42),Po(1,"mat-icon",27),ys(2,"account_circle"),Io(),Po(3,"span",28),ys(4,"users"),Io(),Io())}function aW(e,t){if(1&e){var n=No();Po(0,"a",30),Bo("click",(function(){return $t(n),Zo().logOut()})),Po(1,"mat-icon",27),ys(2,"power_settings_new"),Io(),Po(3,"span",28),ys(4,"D\xe9connecter"),Io(),Io()}}var rW,oW,sW,lW,uW,cW,dW,hW,fW,mW,pW,_W=((sW=function(){return _createClass((function e(t){var n=this;_classCallCheck(this,e),this.authService=t,this.isAdmin=!1,console.log("Variable",this.isAdmin),this.authService.user_info.subscribe((function(e){n.isLogged=e,n.isAdmin="admin"===n.isLogged.role,console.log("Variable dedans",n.isAdmin)}))}),[{key:"ngOnInit",value:function(){}},{key:"logOut",value:function(){this.authService.logout()}}])}()).\u0275fac=function(e){return new(e||sW)(To(XT))},sW.\u0275cmp=_t({type:sW,selectors:[["app-navbar"]],decls:51,vars:16,consts:[["color","primary",1,"fatboar-navbar"],["fxShow","true","fxHide.gt-sm","true"],["mat-icon-button","",3,"click"],["routerLink","/",1,""],["src","assets/img/logo-fatboar.png","width","50","height","50","alt","fatboar",1,"logo-fatboar"],[1,"example-spacer"],["fxShow","true","fxHide.lt-md","true"],["class","navbtn","mat-button","","routerLink","/login",4,"ngIf"],["class","navbtn","mat-button","","routerLink","/register",4,"ngIf"],["class","navbtn","mat-button","","routerLink","/auth",4,"ngIf"],["mat-button","","routerLink","/tirage",1,"navbtn",3,"hidden"],["class","navbtn","mat-button","","routerLink","/profil",4,"ngIf"],["mat-button","","routerLink","/users",1,"navbtn",3,"hidden"],["mat-button","","routerLink","/statistique",1,"navbtn",3,"hidden"],["mat-button","","routerLink","/emailing",1,"navbtn",3,"hidden"],["mat-button","","routerLink","/assistance",1,"navbtn",3,"hidden"],["class","navbtn","mat-button","","routerLink","/contact",4,"ngIf"],["class","navbtn","mat-icon-button","","color","basic","aria-label","",3,"click",4,"ngIf"],["fxFlexFill","",1,"fatboar-sidenav-containe"],["color","primary","fxLayout","column","mode","over","opened","false","fxHide.gt-sm","true"],["sidenav",""],["fxLayout","column",1,"msidenav"],["mat-list-item","","routerLink","/",4,"ngIf"],["mat-list-item","","routerLink","/login",4,"ngIf"],["mat-list-item","","routerLink","/register",4,"ngIf"],["mat-list-item","","routerLink","/user",4,"ngIf"],["mat-list-item","","routerLink","/contact"],["mat-list-icon",""],["mat-line",""],["mat-list-item","",3,"click",4,"ngIf"],["mat-list-item","",3,"click"],["fxFlexFill","",1,"fatboar-sidenav-content"],[1,"footer"],["mat-button","","routerLink","/login",1,"navbtn"],["mat-button","","routerLink","/register",1,"navbtn"],["mat-button","","routerLink","/auth",1,"navbtn"],["mat-button","","routerLink","/profil",1,"navbtn"],["mat-button","","routerLink","/contact",1,"navbtn"],["mat-icon-button","","color","basic","aria-label","",1,"navbtn",3,"click"],["mat-list-item","","routerLink","/"],["mat-list-item","","routerLink","/login"],["mat-list-item","","routerLink","/register"],["mat-list-item","","routerLink","/user"]],template:function(e,t){if(1&e){var n=No();Po(0,"div"),Po(1,"mat-toolbar",0),Po(2,"div",1),Po(3,"button",2),Bo("click",(function(){return $t(n),Lo(29).toggle()})),Po(4,"mat-icon"),ys(5,"menu"),Io(),Io(),Io(),Po(6,"a",3),Po(7,"span"),Ro(8,"img",4),Io(),Io(),Ro(9,"span",5),Po(10,"div",6),So(11,ZB,2,0,"a",7),So(12,JB,2,0,"a",8),So(13,KB,2,0,"a",9),Po(14,"a",10),ys(15,"Tirage"),Io(),So(16,QB,4,0,"a",11),Po(17,"a",12),ys(18,"Clients"),Io(),Po(19,"a",13),ys(20,"Statistique"),Io(),Po(21,"a",14),ys(22,"Emailing"),Io(),Po(23,"a",15),ys(24,"Assistance"),Io(),So(25,XB,2,0,"a",16),So(26,$B,3,0,"a",17),Io(),Io(),Po(27,"mat-sidenav-container",18),Po(28,"mat-sidenav",19,20),Po(30,"div",21),Po(31,"mat-nav-list"),So(32,eW,5,0,"a",22),So(33,tW,5,0,"a",23),So(34,nW,5,0,"a",24),So(35,iW,5,0,"a",25),Po(36,"a",26),Po(37,"mat-icon",27),ys(38,"forward_to_inbox"),Io(),Po(39,"span",28),ys(40,"Contact"),Io(),Io(),So(41,aW,5,0,"a",29),Po(42,"a",30),Bo("click",(function(){return $t(n),Lo(29).toggle()})),Po(43,"mat-icon",27),ys(44,"clear"),Io(),Po(45,"span",28),ys(46,"Fermer"),Io(),Io(),Io(),Io(),Io(),Po(47,"mat-sidenav-content",31),Ro(48,"router-outlet"),Po(49,"div",32),Ro(50,"app-footer"),Io(),Io(),Io(),Io()}2&e&&(ya(11),Oo("ngIf",!t.isLogged),ya(1),Oo("ngIf",!t.isLogged),ya(1),Oo("ngIf",t.isLogged&&!t.isAdmin),ya(1),Oo("hidden",!t.isAdmin),ya(2),Oo("ngIf",t.isLogged),ya(1),Oo("hidden",!t.isAdmin),ya(2),Oo("hidden",!t.isAdmin),ya(2),Oo("hidden",!t.isAdmin),ya(2),Oo("hidden",!t.isAdmin),ya(2),Oo("ngIf",!t.isLogged&&!t.isAdmin),ya(1),Oo("ngIf",t.isLogged),ya(6),Oo("ngIf",!t.isLogged),ya(1),Oo("ngIf",!t.isLogged),ya(1),Oo("ngIf",!t.isLogged),ya(1),Oo("ngIf",t.isLogged),ya(6),Oo("ngIf",t.isLogged))},directives:[sB,mB,Zy,Dj,vT,kd,Jy,WB,VO,VB,RO,MV,AV,TV,ly,zB,DT,GB],styles:[".fatboar-navbar[_ngcontent-%COMP%]{position:fixed;top:0;left:0;z-index:9999;background-image:linear-gradient(90deg,#f5af19,#f12711)}.fatboar-sidenav-container[_ngcontent-%COMP%]{background-color:#fff;min-height:94vh!important}a[_ngcontent-%COMP%]{text-decoration:none;white-space:normal}.navbtn[_ngcontent-%COMP%]:hover{color:#140c8b}.msidenav[_ngcontent-%COMP%]{margin-top:4em}.example-icon[_ngcontent-%COMP%]{padding:0 14px}.example-spacer[_ngcontent-%COMP%]{flex:1 1 auto}@media screen and (max-width:603px){.logo-fatboar[_ngcontent-%COMP%]{margin-left:5em}}@media screen and (min-width:603px){.logo-fatboar[_ngcontent-%COMP%]{margin-left:3.4em}}.footer[_ngcontent-%COMP%]{margin-top:8rem}"]}),sW),vW=((oW=function(){return _createClass((function e(t,n,i){_classCallCheck(this,e),this.router=t,this.activatedRoute=n,this.seoService=i,this.title="fatboar"}),[{key:"ngOnInit",value:function(){var e=this;this.router.events.pipe(wh((function(e){return e instanceof eS})),H((function(){return e.activatedRoute})),H((function(e){for(;e.firstChild;)e=e.firstChild;return e})),W((function(e){return e.data}))).subscribe((function(t){e.seoService.updateMetaTags(t)}))}}])}()).\u0275fac=function(e){return new(e||oW)(To(pT),To(rL),To(nB))},oW.\u0275cmp=_t({type:oW,selectors:[["app-root"]],decls:1,vars:0,template:function(e,t){1&e&&Ro(0,"app-navbar")},directives:[_W],styles:[""]}),oW),gW=((rW=_createClass((function e(){_classCallCheck(this,e),this.changes=new L,this.sortButtonLabel=function(e){return"Change sorting for "+e}}))).\u0275fac=function(e){return new(e||rW)},rW.\u0275prov=fe({factory:function(){return new rW},token:rW,providedIn:"root"}),rW),yW={provide:gW,deps:[[new se,new ue,gW]],useFactory:function(e){return e||new gW}},bW=((uW=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:uW}),uW.\u0275inj=me({factory:function(e){return new(e||uW)},providers:[yW],imports:[[Vd]]}),uW),kW=((lW=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:lW}),lW.\u0275inj=me({factory:function(e){return new(e||lW)},imports:[[Sf,Fg],Fg]}),lW),wW=[Ky,lB,qB,EV,Sj,EF,bW,uN,HC,cA,mE,gA,PM,Cb,gH,jz,YC,oy,kW,kY],CW=((hW=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:hW}),hW.\u0275inj=me({factory:function(e){return new(e||hW)},imports:[[wW],Ky,lB,qB,EV,Sj,EF,bW,uN,HC,cA,mE,gA,PM,Cb,gH,jz,YC,oy,kW,kY]}),hW),xW=((dW=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:dW}),dW.\u0275inj=me({factory:function(e){return new(e||dW)},imports:[[ME]]}),dW),MW=((cW=function(){function e(t,n){_classCallCheck(this,e),Wd(n)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}return _createClass(e,null,[{key:"withConfig",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return{ngModule:e,providers:t.serverLoaded?[{provide:TE,useValue:Object.assign(Object.assign({},LE),t)},{provide:EE,useValue:n,multi:!0},{provide:AE,useValue:!0}]:[{provide:TE,useValue:Object.assign(Object.assign({},LE),t)},{provide:EE,useValue:n,multi:!0}]}}}])}()).\u0275mod=bt({type:cW}),cW.\u0275inj=me({factory:function(e){return new(e||cW)(Qe(AE),Qe(gu))},imports:[[aY,_B,xW],aY,_B,xW]}),cW);fW=Kd.a,pW=void 0,"string"!=typeof(mW="fr")&&(pW=mW,mW=fW[El.LocaleId]),mW=mW.toLowerCase().replace(/_/g,"-"),Ll[mW]=fW,pW&&(Ll[mW][El.ExtraData]=pW);var DW,SW=((DW=_createClass((function e(){_classCallCheck(this,e)}))).\u0275mod=bt({type:DW,bootstrap:[vW]}),DW.\u0275inj=me({factory:function(e){return new(e||DW)},providers:[{provide:fD,useClass:$T,multi:!0},{provide:ku,useValue:"fr-FR"}],imports:[[Zp.withServerTransition({appId:"serverApp"}),tB,Tg,DD,CW,MW,WI,jw,PM,Hw,aM,_x]]}),DW);(function(){if(Si)throw new Error("Cannot enable prod mode after platform setup.");Di=!1})(),document.addEventListener("DOMContentLoaded",(function(){qp().bootstrapModule(SW).catch((function(e){return console.error(e)}))}))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"},zx6S:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,i,a){var r,o=t.words[i];return 1===i.length?"y"===i&&n?"jedna godina":a||n?o[0]:o[1]:(r=t.correctGrammaticalCase(e,o),"yy"===i&&n&&"godinu"===r?e+" godina":e+" "+r)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}},[[0,0]]]);