(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+s0g":function(t,e,n){!function(t){"use strict";var e="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],r=/^(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;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"//9w":function(t,e,n){!function(t){"use strict";t.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"))},"/6Yf":function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return l});var i=n("30Go"),r=n("qOnz"),s=function(){function t(t,e,n){this.name=t,this.instanceFactory=e,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY"}return t.prototype.setInstantiationMode=function(t){return this.instantiationMode=t,this},t.prototype.setMultipleInstances=function(t){return this.multipleInstances=t,this},t.prototype.setServiceProps=function(t){return this.serviceProps=t,this},t}(),a="[DEFAULT]",o=function(){function t(t,e){this.name=t,this.container=e,this.component=null,this.instances=new Map,this.instancesDeferred=new Map}return t.prototype.get=function(t){void 0===t&&(t=a);var e=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(e)){var n=new r.a;this.instancesDeferred.set(e,n);try{var i=this.getOrInitializeService(e);i&&n.resolve(i)}catch(s){}}return this.instancesDeferred.get(e).promise},t.prototype.getImmediate=function(t){var e=Object(i.a)({identifier:a,optional:!1},t),n=e.optional,r=this.normalizeInstanceIdentifier(e.identifier);try{var s=this.getOrInitializeService(r);if(!s){if(n)return null;throw Error("Service "+this.name+" is not available")}return s}catch(o){if(n)return null;throw o}},t.prototype.getComponent=function(){return this.component},t.prototype.setComponent=function(t){var e,n;if(t.name!==this.name)throw Error("Mismatching Component "+t.name+" for Provider "+this.name+".");if(this.component)throw Error("Component for "+this.name+" has already been provided");if(this.component=t,function(t){return"EAGER"===t.instantiationMode}(t))try{this.getOrInitializeService(a)}catch(d){}try{for(var r=Object(i.h)(this.instancesDeferred.entries()),s=r.next();!s.done;s=r.next()){var o=Object(i.e)(s.value,2),l=o[1],c=this.normalizeInstanceIdentifier(o[0]);try{var u=this.getOrInitializeService(c);l.resolve(u)}catch(d){}}}catch(h){e={error:h}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},t.prototype.clearInstance=function(t){void 0===t&&(t=a),this.instancesDeferred.delete(t),this.instances.delete(t)},t.prototype.delete=function(){return Object(i.b)(this,void 0,void 0,function(){var t;return Object(i.d)(this,function(e){switch(e.label){case 0:return t=Array.from(this.instances.values()),[4,Promise.all(Object(i.f)(t.filter(function(t){return"INTERNAL"in t}).map(function(t){return t.INTERNAL.delete()}),t.filter(function(t){return"_delete"in t}).map(function(t){return t._delete()})))];case 1:return e.sent(),[2]}})})},t.prototype.isComponentSet=function(){return null!=this.component},t.prototype.getOrInitializeService=function(t){var e=this.instances.get(t);return!e&&this.component&&(e=this.component.instanceFactory(this.container,function(t){return t===a?void 0:t}(t)),this.instances.set(t,e)),e||null},t.prototype.normalizeInstanceIdentifier=function(t){return this.component?this.component.multipleInstances?t:a:t},t}(),l=function(){function t(t){this.name=t,this.providers=new Map}return t.prototype.addComponent=function(t){var e=this.getProvider(t.name);if(e.isComponentSet())throw new Error("Component "+t.name+" has already been registered with "+this.name);e.setComponent(t)},t.prototype.addOrOverwriteComponent=function(t){this.getProvider(t.name).isComponentSet()&&this.providers.delete(t.name),this.addComponent(t)},t.prototype.getProvider=function(t){if(this.providers.has(t))return this.providers.get(t);var e=new o(t,this);return this.providers.set(t,e),e},t.prototype.getProviders=function(){return Array.from(this.providers.values())},t}()},"/X5v":function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},0:function(t,e,n){t.exports=n("zUnb")},"0mo+":function(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return t.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e){return 12===t&&(t=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&t>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&t<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":t<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":t<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":t<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(t,e,n){!function(t){"use strict";t.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(t){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(t)},meridiem:function(t){return t<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":t<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":t<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(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-\u056b\u0576":t+"-\u0580\u0564";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"1xZ4":function(t,e,n){!function(t){"use strict";t.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(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},"2QA8":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2fFW":function(t,e,n){"use strict";n.d(e,"a",function(){return r});let i=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=t},get useDeprecatedSynchronousErrorHandling(){return i}}},"2fjn":function(t,e,n){!function(t){"use strict";t.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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n("wd/R"))},"2ykv":function(t,e,n){!function(t){"use strict";var e="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],r=/^(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;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"3/ER":function(t,e,n){"use strict";(function(t){var i=n("Ju5/"),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=r&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===r?i.a.Buffer:void 0,o=a?a.allocUnsafe:void 0;e.a=function(t,e){if(e)return t.slice();var n=t.length,i=o?o(n):new t.constructor(n);return t.copy(i),i}}).call(this,n("3UD+")(t))},"30Go":function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"a",function(){return s}),n.d(e,"b",function(){return a}),n.d(e,"d",function(){return o}),n.d(e,"h",function(){return l}),n.d(e,"e",function(){return c}),n.d(e,"f",function(){return u}),n.d(e,"g",function(){return d});var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var s=function(){return(s=Object.assign||function(t){for(var e,n=1,i=arguments.length;n0&&r[r.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!r||s[1]>r[0]&&s[1]=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,s=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=s.next()).done;)a.push(i.value)}catch(o){r={error:o}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a}function u(){for(var t=[],e=0;e=10?t:t+12:"\u0936\u093e\u092e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924":t<10?"\u0938\u0941\u092c\u0939":t<17?"\u0926\u094b\u092a\u0939\u0930":t<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3N8a":function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("quSY");class r extends i.a{constructor(t,e){super()}schedule(t,e=0){return this}}class s extends r{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,i=void 0;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"3UD+":function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);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}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},"4MV3":function(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return t.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0ab0\u0abe\u0aa4"===e?t<4?t:t+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?t:"\u0aac\u0aaa\u0acb\u0ab0"===e?t>=10?t:t+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0ab0\u0abe\u0aa4":t<10?"\u0ab8\u0ab5\u0abe\u0ab0":t<17?"\u0aac\u0aaa\u0acb\u0ab0":t<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4dOw":function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"5+tZ":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("lJxs"),r=n("Cfvw"),s=n("zx2A");function a(t,e,n=Number.POSITIVE_INFINITY){return"function"==typeof e?s=>s.pipe(a((n,s)=>Object(r.a)(t(n,s)).pipe(Object(i.a)((t,i)=>e(n,t,s,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new o(t,n)))}class o{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new l(t,this.project,this.concurrent))}}class l extends s.b{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"6+QB":function(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<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(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return"\u179b\u17d2\u1784\u17b6\u1785"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(n("wd/R"))},"7BjC":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[t+"sekundi",t+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[t+" minuti",t+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[t+" tunni",t+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[t+" kuu",t+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[t+" aasta",t+" aastat"]};return e?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}t.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xe4eva",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7Hc7":function(t,e,n){"use strict";n.d(e,"b",function(){return h}),n.d(e,"a",function(){return f});let i=1;const r=(()=>Promise.resolve())(),s={};function a(t){return t in s&&(delete s[t],!0)}const o={setImmediate(t){const e=i++;return s[e]=!0,r.then(()=>a(e)&&t()),e},clearImmediate(t){a(t)}};var l=n("3N8a");class c extends l.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=o.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(o.clearImmediate(e),t.scheduled=void 0)}}var u=n("IjjT");class d extends u.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,i=-1,r=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++i11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"7o/Q":function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("n6bG"),r=n("gRHU"),s=n("quSY"),a=n("2QA8"),o=n("2fFW"),l=n("NJ4a");class c extends s.a{constructor(t,e,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.a;break;case 1:if(!t){this.destination=r.a;break}if("object"==typeof t){t instanceof c?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,n)}}[a.a](){return this}static create(t,e,n){const i=new c(t,e,n);return i.syncErrorThrowable=!1,i}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class u extends c{constructor(t,e,n,s){let a;super(),this._parentSubscriber=t;let o=this;Object(i.a)(e)?a=e:e&&(a=e.next,n=e.error,s=e.complete,e!==r.a&&(o=Object.create(e),Object(i.a)(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=a,this._error=n,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;o.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:n}=o.a;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(l.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(l.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);o.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),o.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(t,e,n){if(!o.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return o.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(Object(l.a)(i),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"8/+R":function(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return t.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0a30\u0a3e\u0a24"===e?t<4?t:t+12:"\u0a38\u0a35\u0a47\u0a30"===e?t:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?t>=10?t:t+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0a30\u0a3e\u0a24":t<10?"\u0a38\u0a35\u0a47\u0a30":t<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":t<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"8mBD":function(t,e,n){!function(t){"use strict";t.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"))},"9ppp":function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},"9rRi":function(t,e,n){!function(t){"use strict";t.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(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(t,e,n){!function(t){"use strict";t.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(t){return t+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(t)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(t)?"\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(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===e&&t>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":t<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":t<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":t<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},B55N:function(t,e,n){!function(t){"use strict";t.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(t,e){return"\u5143"===e[1]?1:parseInt(e[1]||t,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(t){return"\u5348\u5f8c"===t},meridiem:function(t,e,n){return t<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(t){return t.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(t){return this.week()!==t.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(t,e){switch(e){case"y":return 1===t?"\u5143\u5e74":t+"\u5e74";case"d":case"D":case"DDD":return t+"\u65e5";default:return t}},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"))},BVg3:function(t,e,n){!function(t){"use strict";function e(t){return t%100==11||t%10!=1}function n(t,n,i,r){var s=t+" ";switch(i){case"s":return n||r?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return e(t)?s+(n||r?"sek\xfandur":"sek\xfandum"):s+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return e(t)?s+(n||r?"m\xedn\xfatur":"m\xedn\xfatum"):n?s+"m\xedn\xfata":s+"m\xedn\xfatu";case"hh":return e(t)?s+(n||r?"klukkustundir":"klukkustundum"):s+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return e(t)?n?s+"dagar":s+(r?"daga":"d\xf6gum"):n?s+"dagur":s+(r?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":r?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return e(t)?n?s+"m\xe1nu\xf0ir":s+(r?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?s+"m\xe1nu\xf0ur":s+(r?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||r?"\xe1r":"\xe1ri";case"yy":return e(t)?s+(n||r?"\xe1r":"\xe1rum"):s+(n||r?"\xe1r":"\xe1ri")}}t.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(t,e,n){!function(t){"use strict";t.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"))},Cfvw:function(t,e,n){"use strict";n.d(e,"a",function(){return d});var i=n("HDdC"),r=n("SeVD"),s=n("quSY"),a=n("kJWO"),o=n("jZKg"),l=n("Lhse"),c=n("c2HN"),u=n("I55L");function d(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[a.a]}(t))return function(t,e){return new i.a(n=>{const i=new s.a;return i.add(e.schedule(()=>{const r=t[a.a]();i.add(r.subscribe({next(t){i.add(e.schedule(()=>n.next(t)))},error(t){i.add(e.schedule(()=>n.error(t)))},complete(){i.add(e.schedule(()=>n.complete()))}}))})),i})}(t,e);if(Object(c.a)(t))return function(t,e){return new i.a(n=>{const i=new s.a;return i.add(e.schedule(()=>t.then(t=>{i.add(e.schedule(()=>{n.next(t),i.add(e.schedule(()=>n.complete()))}))},t=>{i.add(e.schedule(()=>n.error(t)))}))),i})}(t,e);if(Object(u.a)(t))return Object(o.a)(t,e);if(function(t){return t&&"function"==typeof t[l.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new i.a(n=>{const i=new s.a;let r;return i.add(()=>{r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(()=>{r=t[l.a](),i.add(e.schedule(function(){if(n.closed)return;let t,e;try{const n=r.next();t=n.value,e=n.done}catch(i){return void n.error(i)}e?n.complete():(n.next(t),this.schedule())}))})),i})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof i.a?t:new i.a(Object(r.a)(t))}},CjzT:function(t,e,n){!function(t){"use strict";var e="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],r=/^(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;t.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,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(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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"))},D0XW:function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return s});var i=n("3N8a");const r=new(n("IjjT").a)(i.a),s=r},DH7j:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},"DKr+":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[t+" sekondamni",t+" sekond"],m:["eka mintan","ek minut"],mm:[t+" mintamni",t+" mintam"],h:["eka voran","ek vor"],hh:[t+" voramni",t+" voram"],d:["eka disan","ek dis"],dd:[t+" disamni",t+" dis"],M:["eka mhoinean","ek mhoino"],MM:[t+" mhoineamni",t+" mhoine"],y:["eka vorsan","ek voros"],yy:[t+" vorsamni",t+" vorsam"]};return i?r[n][0]:r[n][1]}t.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(t,e){switch(e){case"D":return t+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(t,e){return 12===t&&(t=0),"rati"===e?t<4?t:t+12:"sokallim"===e?t:"donparam"===e?t>12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokallim":t<16?"donparam":t<20?"sanje":"rati"}})}(n("wd/R"))},Dkky:function(t,e,n){!function(t){"use strict";t.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(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(t,e,n){!function(t){"use strict";var e={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"};t.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_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(t,e,n){return t<12?n?"\xf6\xf6":"\xd6\xd6":n?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(t){return"\xf6s"===t||"\xd6S"===t},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(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'\u0131nc\u0131";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(t,e,n){!function(t){"use strict";var e={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\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\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"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},EOgW:function(t,e,n){!function(t){"use strict";t.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(t){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t},meridiem:function(t,e,n){return t<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"))},EY2u:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return s});var i=n("HDdC");const r=new i.a(t=>t.complete());function s(t){return t?function(t){return new i.a(e=>t.schedule(()=>e.complete()))}(t):r}},Fnuy:function(t,e,n){!function(t){"use strict";t.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(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},G0Uy:function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":t+" "+(i=+t,r={ss:e?"\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:e?"\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:e?"\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?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}t.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:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u044b":t<12?"\u0440\u0430\u043d\u0456\u0446\u044b":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-\u044b":t+"-\u0456";case"D":return t+"-\u0433\u0430";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},HDdC:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var i=n("7o/Q"),r=n("2QA8"),s=n("gRHU"),a=n("kJWO"),o=n("SpAZ"),l=n("2fFW");let c=(()=>{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:a}=this,o=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[r.a])return t[r.a]()}return t||e||n?new i.a(t,e,n):new i.a(s.a)}(t,e,n);if(o.add(a?a.call(o,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),l.a.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:r}=t;if(e||r)return!1;t=n&&n instanceof i.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let i;i=this.subscribe(e=>{try{t(e)}catch(r){n(r),i&&i.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[a.a](){return this}pipe(...t){return 0===t.length?this:(0===(e=t).length?o.a:1===e.length?e[0]:function(t){return e.reduce((t,e)=>e(t),t)})(this);var e}toPromise(t){return new(t=u(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=l.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},HP3h:function(t,e,n){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%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"]},r=function(t){return function(e,r,s,a){var o=n(e),l=i[t][n(e)];return 2===o&&(l=l[r?0:1]),l.replace(/%d/i,e)}},s=["\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"];t.defineLocale("ar-ly",{months:s,monthsShort:s,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(t){return"\u0645"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},I55L:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},IBtZ:function(t,e,n){!function(t){"use strict";t.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(t){return t.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(t,e,n){return"\u10d8"===n?e+"\u10e8\u10d8":e+n+"\u10e8\u10d8"})},past:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(t)?t.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(t)?t.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):t},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(t){return 0===t?t:1===t?t+"-\u10da\u10d8":t<20||t<=100&&t%20==0||t%100==0?"\u10db\u10d4-"+t:t+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},IjjT:function(t,e,n){"use strict";n.d(e,"a",function(){return r});let i=(()=>{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();class r extends i{constructor(t,e=i.now){super(t,()=>r.delegate&&r.delegate!==this?r.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return r.delegate&&r.delegate!==this?r.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},"Ivi+":function(t,e,n){!function(t){"use strict";t.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(t,e){switch(e){case"d":case"D":case"DDD":return t+"\uc77c";case"M":return t+"\uc6d4";case"w":case"W":return t+"\uc8fc";default:return t}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(t){return"\uc624\ud6c4"===t},meridiem:function(t,e,n){return t<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},"JCF/":function(t,e,n){!function(t){"use strict";var e={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"];t.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(t){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(t)},meridiem:function(t,e,n){return t<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(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},JVSJ:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},Jgta:function(t,e,n){"use strict";var i=n("zIRd");n.d(e,"a",function(){return i.a}),i.a.registerVersion("firebase","8.2.3","app")},"Ju5/":function(t,e,n){"use strict";var i=n("XqMk"),r="object"==typeof self&&self&&self.Object===Object&&self,s=i.a||r||Function("return this")();e.a=s},JvlW:function(t,e,n){!function(t){"use strict";var e={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(t,e,n,i){return e?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(t){return t%10==0||t>10&&t<20}function r(t){return e[t].split("_")}function s(t,e,s,a){var o=t+" ";return 1===t?o+n(0,e,s[0],a):e?o+(i(t)?r(s)[1]:r(s)[0]):a?o+r(s)[1]:o+(i(t)?r(s)[1]:r(s)[2])}t.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(t,e,n,i){return e?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:s,m:n,mm:s,h:n,hh:s,d:n,dd:s,M:n,MM:s,y:n,yy:s},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(t,e,n){!function(t){"use strict";t.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(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},KSF8:function(t,e,n){!function(t){"use strict";t.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(t){return/^ch$/i.test(t)},meridiem:function(t,e,n){return t<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(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(t,e,n){!function(t){"use strict";var e={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(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},KqfI:function(t,e,n){"use strict";function i(){}n.d(e,"a",function(){return i})},L3Qv:function(t,e,n){"use strict";e.a=function(){return!1}},LRne:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("z+Ro"),r=n("yCtX"),s=n("jZKg");function a(...t){let e=t[t.length-1];return Object(i.a)(e)?(t.pop(),Object(s.a)(t,e)):Object(r.a)(t)}},Lhse:function(t,e,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",function(){return r});const r=i()},Loxo:function(t,e,n){!function(t){"use strict";t.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(t,e,n){t.exports=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e={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(t,n){return function(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[e[i]]=i);var r=t.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 s in r)if(r.hasOwnProperty(s)){if(!("channels"in r[s]))throw new Error("missing channels property: "+s);if(!("labels"in r[s]))throw new Error("missing channel labels property: "+s);if(r[s].labels.length!==r[s].channels)throw new Error("channel and label counts mismatch: "+s);var a=r[s].channels,o=r[s].labels;delete r[s].channels,delete r[s].labels,Object.defineProperty(r[s],"channels",{value:a}),Object.defineProperty(r[s],"labels",{value:o})}r.rgb.hsl=function(t){var e,n,i=t[0]/255,r=t[1]/255,s=t[2]/255,a=Math.min(i,r,s),o=Math.max(i,r,s),l=o-a;return o===a?e=0:i===o?e=(r-s)/l:r===o?e=2+(s-i)/l:s===o&&(e=4+(i-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(a+o)/2,[e,100*(o===a?0:n<=.5?l/(o+a):l/(2-o-a)),100*n]},r.rgb.hsv=function(t){var e,n,i,r,s,a=t[0]/255,o=t[1]/255,l=t[2]/255,c=Math.max(a,o,l),u=c-Math.min(a,o,l),d=function(t){return(c-t)/6/u+.5};return 0===u?r=s=0:(s=u/c,e=d(a),n=d(o),i=d(l),a===c?r=i-n:o===c?r=1/3+e-i:l===c&&(r=2/3+n-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*s,100*c]},r.rgb.hwb=function(t){var e=t[0],n=t[1],i=t[2];return[r.rgb.hsl(t)[0],1/255*Math.min(e,Math.min(n,i))*100,100*(i=1-1/255*Math.max(e,Math.max(n,i)))]},r.rgb.cmyk=function(t){var e,n=t[0]/255,i=t[1]/255,r=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-i,1-r)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-r-e)/(1-e)||0),100*e]},r.rgb.keyword=function(t){var i=n[t];if(i)return i;var r,s,a,o=1/0;for(var l in e)if(e.hasOwnProperty(l)){var c=(s=t,a=e[l],Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)+Math.pow(s[2]-a[2],2));c.04045?Math.pow((e+.055)/1.055,2.4):e/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*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]},r.rgb.lab=function(t){var e=r.rgb.xyz(t),n=e[0],i=e[1],s=e[2];return i/=100,s/=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-(s=s>.008856?Math.pow(s,1/3):7.787*s+16/116))]},r.hsl.rgb=function(t){var e,n,i,r,s,a=t[0]/360,o=t[1]/100,l=t[2]/100;if(0===o)return[s=255*l,s,s];e=2*l-(n=l<.5?l*(1+o):l+o-l*o),r=[0,0,0];for(var c=0;c<3;c++)(i=a+1/3*-(c-1))<0&&i++,i>1&&i--,r[c]=255*(s=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e);return r},r.hsl.hsv=function(t){var e=t[0],n=t[1]/100,i=t[2]/100,r=n,s=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,r*=s<=1?s:2-s,[e,100*(0===i?2*r/(s+r):2*n/(i+n)),(i+n)/2*100]},r.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,r=Math.floor(e)%6,s=e-Math.floor(e),a=255*i*(1-n),o=255*i*(1-n*s),l=255*i*(1-n*(1-s));switch(i*=255,r){case 0:return[i,l,a];case 1:return[o,i,a];case 2:return[a,i,l];case 3:return[a,o,i];case 4:return[l,a,i];case 5:return[i,a,o]}},r.hsv.hsl=function(t){var e,n,i,r=t[0],s=t[1]/100,a=t[2]/100,o=Math.max(a,.01);return i=(2-s)*a,n=s*o,[r,100*(n=(n/=(e=(2-s)*o)<=1?e:2-e)||0),100*(i/=2)]},r.hwb.rgb=function(t){var e,n,i,r,s,a,o,l=t[0]/360,c=t[1]/100,u=t[2]/100,d=c+u;switch(d>1&&(c/=d,u/=d),i=6*l-(e=Math.floor(6*l)),0!=(1&e)&&(i=1-i),r=c+i*((n=1-u)-c),e){default:case 6:case 0:s=n,a=r,o=c;break;case 1:s=r,a=n,o=c;break;case 2:s=c,a=n,o=r;break;case 3:s=c,a=r,o=n;break;case 4:s=r,a=c,o=n;break;case 5:s=n,a=c,o=r}return[255*s,255*a,255*o]},r.cmyk.rgb=function(t){var e=t[1]/100,n=t[2]/100,i=t[3]/100;return[255*(1-Math.min(1,t[0]/100*(1-i)+i)),255*(1-Math.min(1,e*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]},r.xyz.rgb=function(t){var e,n,i,r=t[0]/100,s=t[1]/100,a=t[2]/100;return n=-.9689*r+1.8758*s+.0415*a,i=.0557*r+-.204*s+1.057*a,e=(e=3.2406*r+-1.5372*s+-.4986*a)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,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*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},r.xyz.lab=function(t){var e=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},r.lab.xyz=function(t){var e,n,i;e=t[1]/500+(n=(t[0]+16)/116),i=n-t[2]/200;var r=Math.pow(n,3),s=Math.pow(e,3),a=Math.pow(i,3);return n=r>.008856?r:(n-16/116)/7.787,e=s>.008856?s:(e-16/116)/7.787,i=a>.008856?a:(i-16/116)/7.787,[e*=95.047,n*=100,i*=108.883]},r.lab.lch=function(t){var e,n=t[0],i=t[1],r=t[2];return(e=360*Math.atan2(r,i)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(i*i+r*r),e]},r.lch.lab=function(t){var e,n=t[1];return e=t[2]/360*2*Math.PI,[t[0],n*Math.cos(e),n*Math.sin(e)]},r.rgb.ansi16=function(t){var e=t[0],n=t[1],i=t[2],s=1 in arguments?arguments[1]:r.rgb.hsv(t)[2];if(0===(s=Math.round(s/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===s&&(a+=60),a},r.hsv.ansi16=function(t){return r.rgb.ansi16(r.hsv.rgb(t),t[2])},r.rgb.ansi256=function(t){var e=t[0],n=t[1],i=t[2];return e===n&&n===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},r.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},r.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},r.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map(function(t){return t+t}).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},r.rgb.hcg=function(t){var e,n=t[0]/255,i=t[1]/255,r=t[2]/255,s=Math.max(Math.max(n,i),r),a=Math.min(Math.min(n,i),r),o=s-a;return e=o<=0?0:s===n?(i-r)/o%6:s===i?2+(r-n)/o:4+(n-i)/o+4,e/=6,[360*(e%=1),100*o,100*(o<1?a/(1-o):0)]},r.hsl.hcg=function(t){var e,n=t[1]/100,i=t[2]/100,r=0;return(e=i<.5?2*n*i:2*n*(1-i))<1&&(r=(i-.5*e)/(1-e)),[t[0],100*e,100*r]},r.hsv.hcg=function(t){var e=t[2]/100,n=t[1]/100*e,i=0;return n<1&&(i=(e-n)/(1-n)),[t[0],100*n,100*i]},r.hcg.rgb=function(t){var e=t[1]/100,n=t[2]/100;if(0===e)return[255*n,255*n,255*n];var i,r=[0,0,0],s=t[0]/360%1*6,a=s%1,o=1-a;switch(Math.floor(s)){case 0:r[0]=1,r[1]=a,r[2]=0;break;case 1:r[0]=o,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=a;break;case 3:r[0]=0,r[1]=o,r[2]=1;break;case 4:r[0]=a,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=o}return[255*(e*r[0]+(i=(1-e)*n)),255*(e*r[1]+i),255*(e*r[2]+i)]},r.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),i=0;return n>0&&(i=e/n),[t[0],100*i,100*n]},r.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],100*i,100*n]},r.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},r.hwb.hcg=function(t){var e=1-t[2]/100,n=e-t[1]/100,i=0;return n<1&&(i=(e-n)/(1-n)),[t[0],100*n,100*i]},r.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},r.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},r.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},r.gray.hsl=r.gray.hsv=function(t){return[0,0,t[0]]},r.gray.hwb=function(t){return[0,100,t[0]]},r.gray.cmyk=function(t){return[0,0,0,t[0]]},r.gray.lab=function(t){return[t[0],0,0]},r.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}(n={exports:{}}),n.exports}();function i(t,e){return function(n){return e(t(n))}}function r(t,e){for(var r=[e[t].parent,t],s=n[e[t].parent][t],a=e[t].parent;e[a].parent;)r.unshift(e[a].parent),s=i(n[e[a].parent][a],s),a=e[a].parent;return s.conversion=r,s}var s={};Object.keys(n).forEach(function(t){s[t]={},Object.defineProperty(s[t],"channels",{value:n[t].channels}),Object.defineProperty(s[t],"labels",{value:n[t].labels});var e=function(t){for(var e=function(t){var e=function(){for(var t={},e=Object.keys(n),i=e.length,r=0;r1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var i=n.length,r=0;r1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(i)})});var a=s,o={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:c,getHsla:u,getRgb:function(t){var e=c(t);return e&&e.slice(0,3)},getHsl:function(t){var e=u(t);return e&&e.slice(0,3)},getHwb:d,getAlpha:function(t){var e=c(t);return e||(e=u(t))||(e=d(t))?e[3]:void 0},hexString:function(t,e){return e=void 0!==e&&3===t.length?e:t[3],"#"+b(t[0])+b(t[1])+b(t[2])+(e>=0&&e<1?b(Math.round(255*e)):"")},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?h(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:h,percentString:function(t,e){return e<1||t[3]&&t[3]<1?f(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:f,hslString:function(t,e){return e<1||t[3]&&t[3]<1?m(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:m,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return g[t.slice(0,3)]}};function c(t){if(t){var e=[0,0,0],n=1,i=t.match(/^#([a-fA-F0-9]{3,4})$/i),r="";if(i){r=(i=i[1])[3];for(var s=0;sn?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=this,i=t,r=void 0===e?.5:e,s=2*r-1,a=n.alpha()-i.alpha(),o=((s*a==-1?s:(s+a)/(1+s*a))+1)/2,l=1-o;return this.rgb(o*n.red()+l*i.red(),o*n.green()+l*i.green(),o*n.blue()+l*i.blue()).alpha(n.alpha()*r+i.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new y,i=this.values,r=n.values;for(var s in i)i.hasOwnProperty(s)&&("[object Array]"===(e={}.toString.call(t=i[s]))?r[s]=t.slice(0):"[object Number]"===e?r[s]=t:console.error("unexpected color value:",t));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(t){for(var e=this.values,n={},i=0;i=0;r--)e.call(n,t[r],r);else for(r=0;r=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-k.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*k.easeInBounce(2*t):.5*k.easeOutBounce(2*t-1)+.5}},T={effects:k};C.easingEffects=k;var M=Math.PI,D=M/180,L=2*M,O=M/2,A=M/4,E=2*M/3,I={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,r,s){if(s){var a=Math.min(s,r/2,i/2),o=e+a,l=n+a,c=e+i-a,u=n+r-a;t.moveTo(e,l),oe.left-n&&t.xe.top-n&&t.y0&&t.requestAnimationFrame()},advance:function(){for(var t,e,n,i,r=this.animations,s=0;s=n?(H.callback(t.onAnimationComplete,[t],e),e.animating=!1,r.splice(s,1)):++s}},K=H.options.resolve,J=["push","pop","shift","splice","unshift"];function Q(t,e){var n=t._chartjs;if(n){var i=n.listeners,r=i.indexOf(e);-1!==r&&i.splice(r,1),i.length>0||(J.forEach(function(e){delete t[e]}),delete t._chartjs)}}var Z=function(t,e){this.initialize(t,e)};H.extend(Z.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.chart,i=n.scales,r=t.getDataset(),s=n.options.scales;null!==e.xAxisID&&e.xAxisID in i&&!r.xAxisID||(e.xAxisID=r.xAxisID||s.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in i&&!r.yAxisID||(e.yAxisID=r.yAxisID||s.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_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&&Q(this._data,this)},createMetaDataset:function(){var t=this,e=t.datasetElementType;return e&&new e({_chart:t.chart,_datasetIndex:t.index})},createMetaData:function(t){var e=this,n=e.dataElementType;return n&&new n({_chart:e.chart,_datasetIndex:e.index,_index:t})},addElements:function(){var t,e,n=this,i=n.getMeta(),r=n.getDataset().data||[],s=i.data;for(t=0,e=r.length;ti&&t.insertElements(i,r-i)},insertElements:function(t,e){for(var n=0;nr?t.arc(a,o,e.innerRadius-r,i+(s=r/e.innerRadius),n-s,!0):t.arc(a,o,r,i+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}j._set("global",{elements:{arc:{backgroundColor:j.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var it=q.extend({_type:"arc",inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)o;)r-=et;for(;r=a&&r<=o&&s>=n.innerRadius&&s<=n.outerRadius}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,r={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/et)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+et,e.beginPath(),e.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),e.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),e.closePath(),t=0;t=s.left&&e<=s.right)&&(r||n>=s.top&&n<=s.bottom)}j._set("global",{elements:{rectangle:{backgroundColor:dt,borderColor:dt,borderSkipped:"bottom",borderWidth:0}}});var bt=q.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=function(t){var e=ft(t),n=e.right-e.left,i=e.bottom-e.top,r=function(t,e,n){var i,r,s,a,o=t.borderWidth,l=function(t){var e=t.borderSkipped,n={};return e?(t.horizontal?t.base>t.x&&(e=mt(e,"left","right")):t.basen?n:i,r:l.right||r<0?0:r>e?e:r,b:l.bottom||s<0?0:s>n?n:s,l:l.left||a<0?0:a>e?e:a}}(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i},inner:{x:e.left+r.l,y:e.top+r.t,w:n-r.l-r.r,h:i-r.t-r.b}}}(e),i=n.outer,r=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(i.x,i.y,i.w,i.h),i.w===r.w&&i.h===r.h||(t.save(),t.beginPath(),t.rect(i.x,i.y,i.w,i.h),t.clip(),t.fillStyle=e.borderColor,t.rect(r.x,r.y,r.w,r.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return pt(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return ht(n)?pt(n,t,null):pt(n,null,e)},inXRange:function(t){return pt(this._view,t,null)},inYRange:function(t){return pt(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return ht(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return ht(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),gt={},_t=at,yt=ut,vt=bt;gt.Arc=it,gt.Line=_t,gt.Point=yt,gt.Rectangle=vt;var wt=H._deprecated,St=H.valueOrDefault;j._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),j._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var xt=tt.extend({dataElementType:gt.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,n=this;tt.prototype.initialize.apply(n,arguments),(t=n.getMeta()).stack=n.getDataset().stack,t.bar=!0,e=n._getIndexScale().options,wt("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),wt("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),wt("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),wt("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),wt("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,n,i=this,r=i.getMeta().data;for(i._ruler=i.getRuler(),e=0,n=r.length;e=0&&b.min>=0?b.min:b.max,w=void 0===b.start?b.end:b.max>=0&&b.min>=0?b.max-b.min:b.min-b.max,S=p.length;if(_||void 0===_&&void 0!==y)for(i=0;i=0&&c.max>=0?c.max:c.min,(b.min<0&&s<0||b.max>=0&&s>0)&&(v+=s));return a=h.getPixelForValue(v),l=(o=h.getPixelForValue(v+w))-a,void 0!==g&&Math.abs(l)=0&&!f||w<0&&f?a-g:a+g),{size:l,base:a,head:o,center:o+l/2}},calculateBarIndexPixels:function(t,e,n,i){var r="flex"===i.barThickness?function(t,e,n){var i,r=e.pixels,s=r[t],a=t>0?r[t-1]:null,o=t0?Math.min(a,Math.abs(i-n)):a,n=i;return a}(e.scale,e.pixels):-1;return H.isNullOrUndef(s)?(i=l*n.categoryPercentage,r=n.barPercentage):(i=s*a,r=1),{chunk:i/a,ratio:r,start:o-i/2}}(e,n,i),s=this.getStackIndex(t,this.getMeta().stack),a=r.start+r.chunk*s+r.chunk/2,o=Math.min(St(i.maxBarThickness,1/0),r.chunk*r.ratio);return{base:a-o/2,head:a+o/2,center:a,size:o}},draw:function(){var t=this,e=t.chart,n=t._getValueScale(),i=t.getMeta().data,r=t.getDataset(),s=i.length,a=0;for(H.canvas.clipArea(e.ctx,e.chartArea);a=Dt?-Lt:b<-Dt?Lt:0)+m,_=Math.cos(b),y=Math.sin(b),v=Math.cos(g),w=Math.sin(g),S=b<=0&&g>=0||g>=Lt,x=b<=Ot&&g>=Ot||g>=Lt+Ot,C=b<=-Ot&&g>=-Ot||g>=Dt+Ot,k=b===-Dt||g>=Dt?-1:Math.min(_,_*f,v,v*f),T=C?-1:Math.min(y,y*f,w,w*f),M=S?1:Math.max(_,_*f,v,v*f),D=x?1:Math.max(y,y*f,w,w*f);o=(M-k)/2,l=(D-T)/2,c=-(M+k)/2,u=-(D+T)/2}for(e=0,n=h.length;e0&&!isNaN(t)?Lt*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,i,r,s,a,o,l,c=0,u=this.chart;if(!t)for(e=0,n=u.data.datasets.length;e(c=(o=a.borderWidth)>c?o:c)?l:c);return c},setHoverStyle:function(t){var e=t._model,n=t._options,i=H.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=Mt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Mt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Mt(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n0&&Yt(l[t-1]._model,o)&&(n.controlPointPreviousX=c(n.controlPointPreviousX,o.left,o.right),n.controlPointPreviousY=c(n.controlPointPreviousY,o.top,o.bottom)),t0&&(s=t.getDatasetMeta(s[0]._datasetIndex).data),s},"x-axis":function(t,e){return Jt(t,e,{intersect:!1})},point:function(t,e){return $t(t,qt(e,t))},nearest:function(t,e,n){var i=qt(e,t);n.axis=n.axis||"xy";var r=Kt(n.axis);return Xt(t,i,n.intersect,r)},x:function(t,e,n){var i=qt(e,t),r=[],s=!1;return Gt(t,function(t){t.inXRange(i.x)&&r.push(t),t.inRange(i.x,i.y)&&(s=!0)}),n.intersect&&!s&&(r=[]),r},y:function(t,e,n){var i=qt(e,t),r=[],s=!1;return Gt(t,function(t){t.inYRange(i.y)&&r.push(t),t.inRange(i.x,i.y)&&(s=!0)}),n.intersect&&!s&&(r=[]),r}}},Zt=H.extend;function te(t,e){return H.where(t,function(t){return t.pos===e})}function ee(t,e){return t.sort(function(t,n){var i=e?n:t,r=e?t:n;return i.weight===r.weight?i.index-r.index:i.weight-r.weight})}function ne(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function ie(t,e,n){var i,r,s=n.box,a=t.maxPadding;if(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?s.height:s.width,t[n.pos]+=n.size,s.getPadding){var o=s.getPadding();a.top=Math.max(a.top,o.top),a.left=Math.max(a.left,o.left),a.bottom=Math.max(a.bottom,o.bottom),a.right=Math.max(a.right,o.right)}if(i=e.outerWidth-ne(a,t,"left","right"),r=e.outerHeight-ne(a,t,"top","bottom"),i!==t.w||r!==t.h){t.w=i,t.h=r;var l=n.horizontal?[i,t.w]:[r,t.h];return!(l[0]===l[1]||isNaN(l[0])&&isNaN(l[1]))}}function re(t,e){var n,i=e.maxPadding;return n={left:0,top:0,right:0,bottom:0},(t?["left","right"]:["top","bottom"]).forEach(function(t){n[t]=Math.max(e[t],i[t])}),n}function se(t,e,n){var i,r,s,a,o,l,c=[];for(i=0,r=t.length;i 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"}))&&oe.default||oe,ue="chartjs-size-monitor",de="chartjs-render-monitor",he=["animationstart","webkitAnimationStart"],fe={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function me(t,e){var n=H.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var pe=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(n){}return t}()&&{passive:!0};function be(t,e,n){t.addEventListener(e,n,pe)}function ge(t,e,n){t.removeEventListener(e,n,pe)}function _e(t,e,n,i,r){return{type:t,chart:e,native:r||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function ye(t){var e=document.createElement("div");return e.className=t||"",e}var ve={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var e=t.getRootNode?t.getRootNode():document;!function(t,e){var n=t.$chartjs||(t.$chartjs={});if(!n.containsStyles){n.containsStyles=!0,e="/* Chart.js */\n"+e;var i=document.createElement("style");i.setAttribute("type","text/css"),i.appendChild(document.createTextNode(e)),t.appendChild(i)}}(e.host?e:document.head,ce)}},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(this._ensureLoaded(t),function(t,e){var n=t.style,i=t.getAttribute("height"),r=t.getAttribute("width");if(t.$chartjs={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===r||""===r){var s=me(t,"width");void 0!==s&&(t.width=s)}if(null===i||""===i)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var a=me(t,"height");void 0!==s&&(t.height=a)}}(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e.$chartjs){var n=e.$chartjs.initial;["height","width"].forEach(function(t){var i=n[t];H.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)}),H.each(n.style||{},function(t,n){e.style[n]=t}),e.width=e.width,delete e.$chartjs}},addEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var r=n.$chartjs||(n.$chartjs={});be(i,e,(r.proxies||(r.proxies={}))[t.id+"_"+e]=function(e){n(function(t,e){var n=fe[t.type]||t.type,i=H.getRelativePosition(t,e);return _e(n,e,i.x,i.y,t)}(e,t))})}else!function(t,e,n){var i,r,s,a,o=t.$chartjs||(t.$chartjs={}),l=o.resizer=function(t){var e=1e6,n=ye(ue),i=ye(ue+"-expand"),r=ye(ue+"-shrink");i.appendChild(ye()),r.appendChild(ye()),n.appendChild(i),n.appendChild(r),n._reset=function(){i.scrollLeft=e,i.scrollTop=e,r.scrollLeft=e,r.scrollTop=e};var s=function(){n._reset(),t()};return be(i,"scroll",s.bind(i,"expand")),be(r,"scroll",s.bind(r,"shrink")),n}((i=function(){if(o.resizer){var i=n.options.maintainAspectRatio&&t.parentNode,r=i?i.clientWidth:0;e(_e("resize",n)),i&&i.clientWidth0){var s=t[0];s.label?n=s.label:s.xLabel?n=s.xLabel:r>0&&s.index-1?t.split("\n"):t}function Le(t){var e=j.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Ce(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Ce(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Ce(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Ce(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Ce(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Ce(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Ce(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Ce(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Ce(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function Oe(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Ae(t){return Me([],De(t))}var Ee=q.extend({initialize:function(){this._model=Le(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options.callbacks,n=e.beforeTitle.apply(t,arguments),i=e.title.apply(t,arguments),r=e.afterTitle.apply(t,arguments),s=[];return s=Me(s,De(n)),s=Me(s,De(i)),Me(s,De(r))},getBeforeBody:function(){return Ae(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,i=n._options.callbacks,r=[];return H.each(t,function(t){var s={before:[],lines:[],after:[]};Me(s.before,De(i.beforeLabel.call(n,t,e))),Me(s.lines,i.label.call(n,t,e)),Me(s.after,De(i.afterLabel.call(n,t,e))),r.push(s)}),r},getAfterBody:function(){return Ae(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),i=e.footer.apply(t,arguments),r=e.afterFooter.apply(t,arguments),s=[];return s=Me(s,De(n)),s=Me(s,De(i)),Me(s,De(r))},update:function(t){var e,n,i,r,s,a,o,l,c,u,d=this,h=d._options,f=d._model,m=d._model=Le(h),p=d._active,b=d._data,g={xAlign:f.xAlign,yAlign:f.yAlign},_={x:f.x,y:f.y},y={width:f.width,height:f.height},v={x:f.caretX,y:f.caretY};if(p.length){m.opacity=1;var w=[],S=[];v=Te[h.position].call(d,p,d._eventPosition);var x=[];for(e=0,n=p.length;ei.width&&(r=i.width-e.width),r<0&&(r=0)),"top"===l?s+=c:s-="bottom"===l?e.height+c:e.height/2,"center"===l?"left"===o?r+=c:"right"===o&&(r-=c):"left"===o?r-=u:"right"===o&&(r+=u),{x:r,y:s}}(m,y=function(t,e){var n=t._chart.ctx,i=2*e.yPadding,r=0,s=e.body,a=s.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0),o=e.title.length,l=e.footer.length,c=e.titleFontSize,u=e.bodyFontSize,d=e.footerFontSize;i+=o*c,i+=o?(o-1)*e.titleSpacing:0,i+=o?e.titleMarginBottom:0,i+=(a+=e.beforeBody.length+e.afterBody.length)*u,i+=a?(a-1)*e.bodySpacing:0,i+=l?e.footerMarginTop:0,i+=l*d,i+=l?(l-1)*e.footerSpacing:0;var h=0,f=function(t){r=Math.max(r,n.measureText(t).width+h)};return n.font=H.fontString(c,e._titleFontStyle,e._titleFontFamily),H.each(e.title,f),n.font=H.fontString(u,e._bodyFontStyle,e._bodyFontFamily),H.each(e.beforeBody.concat(e.afterBody),f),h=e.displayColors?u+2:0,H.each(s,function(t){H.each(t.before,f),H.each(t.lines,f),H.each(t.after,f)}),h=0,n.font=H.fontString(d,e._footerFontStyle,e._footerFontFamily),H.each(e.footer,f),{width:r+=2*e.xPadding,height:i}}(this,m),g=function(t,e){var n,i,r,s,a,o=t._model,l=t._chart,c=t._chart.chartArea,u="center",d="center";o.yl.height-e.height&&(d="bottom");var h=(c.left+c.right)/2,f=(c.top+c.bottom)/2;"center"===d?(n=function(t){return t<=h},i=function(t){return t>h}):(n=function(t){return t<=e.width/2},i=function(t){return t>=l.width-e.width/2}),r=function(t){return t+e.width+o.caretSize+o.caretPadding>l.width},s=function(t){return t-e.width-o.caretSize-o.caretPadding<0},a=function(t){return t<=f?"top":"bottom"},n(o.x)?(u="left",r(o.x)&&(u="center",d=a(o.y))):i(o.x)&&(u="right",s(o.x)&&(u="center",d=a(o.y)));var m=t._options;return{xAlign:m.xAlign?m.xAlign:u,yAlign:m.yAlign?m.yAlign:d}}(this,y),d._chart)}else m.opacity=0;return m.xAlign=g.xAlign,m.yAlign=g.yAlign,m.x=_.x,m.y=_.y,m.width=y.width,m.height=y.height,m.caretX=v.x,m.caretY=v.y,d._model=m,t&&h.custom&&h.custom.call(d,m),d},drawCaret:function(t,e){var n=this._chart.ctx,i=this.getCaretPosition(t,e,this._view);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(t,e,n){var i,r,s,a,o,l,c=n.caretSize,u=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=t.x,m=t.y,p=e.width,b=e.height;if("center"===h)o=m+b/2,"left"===d?(r=(i=f)-c,s=i,a=o+c,l=o-c):(r=(i=f+p)+c,s=i,a=o-c,l=o+c);else if("left"===d?(i=(r=f+u+c)-c,s=r+c):"right"===d?(i=(r=f+p-u-c)-c,s=r+c):(i=(r=n.caretX)-c,s=r+c),"top"===h)o=(a=m)-c,l=a;else{o=(a=m+b)+c,l=a;var g=s;s=i,i=g}return{x1:i,x2:r,x3:s,y1:a,y2:o,y3:l}},drawTitle:function(t,e,n){var i,r,s,a=e.title,o=a.length;if(o){var l=ke(e.rtl,e.x,e.width);for(t.x=Oe(e,e._titleAlign),n.textAlign=l.textAlign(e._titleAlign),n.textBaseline="middle",i=e.titleFontSize,r=e.titleSpacing,n.fillStyle=e.titleFontColor,n.font=H.fontString(i,e._titleFontStyle,e._titleFontFamily),s=0;s0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},r=Math.abs(e.opacity<.001)?0:e.opacity;this._options.enabled&&(e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length)&&(t.save(),t.globalAlpha=r,this.drawBackground(i,e,t,n),i.y+=e.yPadding,H.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),H.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(t,i.mode,i),i.reverse&&n._active.reverse()),(e=!H.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}});Ee.positioners=Te;var Ie=H.valueOrDefault;function Re(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var r,s,a,o=n[t].length;for(e[t]||(e[t]=[]),r=0;r=e[t].length&&e[t].push({}),H.merge(e[t][r],!e[t][r].type||a.type&&a.type!==e[t][r].type?[xe.getScaleDefaults(s),a]:a)}else H._merger(t,e,n,i)}})}function Ye(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,i){var r=e[t]||Object.create(null),s=n[t];"scales"===t?e[t]=Re(r,s):"scale"===t?e[t]=H.merge(r,[xe.getScaleDefaults(s.type),s]):H._merger(t,e,n,i)}})}function je(t){var e=t.options;H.each(t.scales,function(e){le.removeBox(t,e)}),e=Ye(j.global,j[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function Ne(t,e,n){var i,r=function(t){return t.id===i};do{i=e+n++}while(H.findIndex(t,r)>=0);return i}function Pe(t){return"top"===t||"bottom"===t}function Fe(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}j._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 Be=function(t,e){return this.construct(t,e),this};H.extend(Be.prototype,{construct:function(t,e){var n=this;e=function(t){var e=(t=t||Object.create(null)).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Ye(j.global,j[t.type],t.options||{}),t}(e);var i=we.acquireContext(t,e),r=i&&i.canvas,s=r&&r.height,a=r&&r.width;n.id=H.uid(),n.ctx=i,n.canvas=r,n.config=e,n.width=a,n.height=s,n.aspectRatio=s?a/s:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Be.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),i&&r?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return Se.notify(t,"beforeInit"),H.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Se.notify(t,"afterInit"),t},clear:function(){return H.canvas.clear(this),this},stop:function(){return X.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,r=n.maintainAspectRatio&&e.aspectRatio||null,s=Math.max(0,Math.floor(H.getMaximumWidth(i))),a=Math.max(0,Math.floor(r?s/r:H.getMaximumHeight(i)));if((e.width!==s||e.height!==a)&&(i.width=e.width=s,i.height=e.height=a,i.style.width=s+"px",i.style.height=a+"px",H.retinaScale(e,n.devicePixelRatio),!t)){var o={width:s,height:a};Se.notify(e,"resize",[o]),n.onResize&&n.onResize(e,o),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;H.each(e.xAxes,function(t,n){t.id||(t.id=Ne(e.xAxes,"x-axis-",n))}),H.each(e.yAxes,function(t,n){t.id||(t.id=Ne(e.yAxes,"y-axis-",n))}),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},i=[],r=Object.keys(n).reduce(function(t,e){return t[e]=!1,t},{});e.scales&&(i=i.concat((e.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),e.scale&&i.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),H.each(i,function(e){var i=e.options,s=i.id,a=Ie(i.type,e.dtype);Pe(i.position)!==Pe(e.dposition)&&(i.position=e.dposition),r[s]=!0;var o=null;if(s in n&&n[s].type===a)(o=n[s]).options=i,o.ctx=t.ctx,o.chart=t;else{var l=xe.getScaleConstructor(a);if(!l)return;o=new l({id:s,type:a,options:i,ctx:t.ctx,chart:t}),n[o.id]=o}o.mergeTicksOptions(),e.isDefault&&(t.scale=o)}),H.each(r,function(t,e){t||delete n[e]}),t.scales=n,xe.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,i=[],r=n.data.datasets;for(t=0,e=r.length;t=0;--n)i.drawDataset(e[n],t);Se.notify(i,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n={meta:t,index:t.index,easingValue:e};!1!==Se.notify(this,"beforeDatasetDraw",[n])&&(t.controller.draw(e),Se.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this,n=e.tooltip,i={tooltip:n,easingValue:t};!1!==Se.notify(e,"beforeTooltipDraw",[i])&&(n.draw(),Se.notify(e,"afterTooltipDraw",[i]))},getElementAtEvent:function(t){return Qt.modes.single(this,t)},getElementsAtEvent:function(t){return Qt.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return Qt.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=Qt.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return Qt.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this,n=e.data.datasets[t];n._meta||(n._meta={});var i=n._meta[e.id];return i||(i=n._meta[e.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n.order||0,index:t}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&t!==Math.floor(t)&&(i=t-Math.floor(t));var r=H.log10(Math.abs(i)),s="";if(0!==t)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var a=H.log10(Math.abs(t)),o=Math.floor(a)-Math.floor(r);o=Math.max(Math.min(o,20),0),s=t.toExponential(o)}else{var l=-1*Math.floor(r);l=Math.max(Math.min(l,20),0),s=t.toFixed(l)}else s="0";return s},logarithmic:function(t,e,n){var i=t/Math.pow(10,Math.floor(H.log10(t)));return 0===t?"0":1===i||2===i||5===i||0===e||e===n.length-1?t.toExponential():""}}},qe=H.isArray,Ge=H.isNullOrUndef,$e=H.valueOrDefault,Xe=H.valueAtIndexOrDefault;function Ke(t,e,n){var i,r=t.getTicks().length,s=Math.min(e,r-1),a=t.getPixelForTick(s),o=t._startPixel,l=t._endPixel,c=1e-6;if(!(n&&(i=1===r?Math.max(a-o,l-a):0===e?(t.getPixelForTick(1)-a)/2:(a-t.getPixelForTick(s-1))/2,(a+=sl+c)))return a}function Je(t){return t.drawTicks?t.tickMarkLength:0}function Qe(t){var e,n;return t.display?(e=H.options._parseFont(t),n=H.options.toPadding(t.padding),e.lineHeight+n.height):0}function Ze(t,e){return H.extend(H.options._parseFont({fontFamily:$e(e.fontFamily,t.fontFamily),fontSize:$e(e.fontSize,t.fontSize),fontStyle:$e(e.fontStyle,t.fontStyle),lineHeight:$e(e.lineHeight,t.lineHeight)}),{color:H.options.resolve([e.fontColor,t.fontColor,j.global.defaultFontColor])})}function tn(t){var e=Ze(t,t.minor);return{minor:e,major:t.major.enabled?Ze(t,t.major):e}}function en(t){var e,n,i,r=[];for(n=0,i=t.length;n=h||u<=1||!o.isHorizontal()?o.labelRotation=d:(e=(t=o._getLabelSizes()).widest.width,n=t.highest.height-t.highest.offset,i=Math.min(o.maxWidth,o.chart.width-e),e+6>(r=l.offset?o.maxWidth/u:i/(u-1))&&(r=i/(u-(l.offset?.5:1)),s=o.maxHeight-Je(l.gridLines)-c.padding-Qe(l.scaleLabel),a=Math.sqrt(e*e+n*n),f=H.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/r,1)),Math.asin(Math.min(s/a,1))-Math.asin(n/a))),f=Math.max(d,Math.min(h,f))),o.labelRotation=f)},afterCalculateTickRotation:function(){H.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){H.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,i=t.options,r=i.ticks,s=i.scaleLabel,a=i.gridLines,o=t._isVisible(),l="bottom"===i.position,c=t.isHorizontal();if(c?e.width=t.maxWidth:o&&(e.width=Je(a)+Qe(s)),c?o&&(e.height=Je(a)+Qe(s)):e.height=t.maxHeight,r.display&&o){var u=tn(r),d=t._getLabelSizes(),h=d.first,f=d.last,m=d.widest,p=d.highest,b=.4*u.minor.lineHeight,g=r.padding;if(c){var _=0!==t.labelRotation,y=H.toRadians(t.labelRotation),v=Math.cos(y),w=Math.sin(y);e.height=Math.min(t.maxHeight,e.height+(w*m.width+v*(p.height-(_?p.offset:0))+(_?0:b))+g);var S,x,C=t.getPixelForTick(0)-t.left,k=t.right-t.getPixelForTick(t.getTicks().length-1);_?(S=l?v*h.width+w*h.offset:w*(h.height-h.offset),x=l?w*(f.height-f.offset):v*f.width+w*f.offset):(S=h.width/2,x=f.width/2),t.paddingLeft=Math.max((S-C)*t.width/(t.width-C),0)+3,t.paddingRight=Math.max((x-k)*t.width/(t.width-k),0)+3}else e.width=Math.min(t.maxWidth,e.width+(r.mirror?0:m.width+g+b)),t.paddingTop=h.height/2,t.paddingBottom=f.height/2}t.handleMargins(),c?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){H.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(Ge(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,i,r=this;for(r.ticks=t.map(function(t){return t.value}),r.beforeTickToLabelConversion(),e=r.convertTicksToLabels(t)||r.ticks,r.afterTickToLabelConversion(),n=0,i=t.length;ne){for(n=0;ni-1?null:e.getPixelForDecimal(t*r+(n?r/2:0))},getPixelForDecimal:function(t){var e=this;return e._reversePixels&&(t=1-t),e._startPixel+t*e._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this,e=t.min,n=t.max;return t.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0},_autoSkip:function(t){var e,n,i,r,s=this,a=s.options.ticks,o=a.maxTicksLimit||s._length/s._tickSize()+1,l=a.major.enabled?function(t){var e,n,i=[];for(e=0,n=t.length;eo)return function(t,e,n){var i,r,s=0,a=e[0];for(n=Math.ceil(n),i=0;ic)return s;return Math.max(c,1)}(l,t,0,o),c>0){for(e=0,n=c-1;e1?(d-u)/(c-1):null)?0:u-r,u),nn(t,i,d,H.isNullOrUndef(r)?t.length:d+r),en(t)}return nn(t,i),en(t)},_tickSize:function(){var t=this,e=t.options.ticks,n=H.toRadians(t.labelRotation),i=Math.abs(Math.cos(n)),r=Math.abs(Math.sin(n)),s=t._getLabelSizes(),a=e.autoSkipPadding||0,o=s?s.widest.width+a:0,l=s?s.highest.height+a:0;return t.isHorizontal()?l*i>o*r?o/i:l/r:l*r=0&&(a=t),void 0!==s&&(t=n.indexOf(s))>=0&&(o=t),e.minIndex=a,e.maxIndex=o,e.min=n[a],e.max=n[o]},buildTicks:function(){var t=this,e=t._getLabels(),n=t.minIndex,i=t.maxIndex;t.ticks=0===n&&i===e.length-1?e:e.slice(n,i+1)},getLabelForIndex:function(t,e){var n=this,i=n.chart;return i.getDatasetMeta(e).controller._getValueScaleId()===n.id?n.getRightValue(i.data.datasets[e].data[t]):n._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;sn.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var i,r,s,a=this;return an(e)||an(n)||(t=a.chart.data.datasets[n].data[e]),an(t)||(i=a.isHorizontal()?t.x:t.y),(void 0!==i||void 0!==t&&isNaN(e))&&(r=a._getLabels(),t=H.valueOrDefault(i,t),e=-1!==(s=r.indexOf(t))?s:e,isNaN(e)&&(e=t)),a.getPixelForDecimal((e-a._startValue)/a._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=this,n=Math.round(e._startValue+e.getDecimalForPixel(t)*e._valueRange);return Math.min(Math.max(n,0),e.ticks.length-1)},getBasePixel:function(){return this.bottom}});on._defaults={position:"bottom"};var ln=H.isNullOrUndef,cn=sn.extend({getRightValue:function(t){return"string"==typeof t?+t:sn.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=H.sign(t.min),i=H.sign(t.max);n<0&&i<0?t.max=0:n>0&&i>0&&(t.min=0)}var r=void 0!==e.min||void 0!==e.suggestedMin,s=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(t.min=null===t.min?e.suggestedMin:Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(t.max=null===t.max?e.suggestedMax:Math.max(t.max,e.suggestedMax)),r!==s&&t.min>=t.max&&(r?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this,n=e.options.ticks,i=n.stepSize,r=n.maxTicksLimit;return i?t=Math.ceil(e.max/i)-Math.floor(e.min/i)+1:(t=e._computeTickLimit(),r=r||11),r&&(t=Math.min(r,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:H.noop,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:H.valueOrDefault(e.fixedStepSize,e.stepSize)},r=t.ticks=function(t,e){var n,i,r,s,a=[],o=t.stepSize,l=o||1,c=t.maxTicks-1,u=t.min,d=t.max,h=t.precision,f=e.min,m=e.max,p=H.niceNum((m-f)/c/l)*l;if(p<1e-14&&ln(u)&&ln(d))return[f,m];(s=Math.ceil(m/p)-Math.floor(f/p))>c&&(p=H.niceNum(s*p/c/l)*l),o||ln(h)?n=Math.pow(10,H._decimalPlaces(p)):(n=Math.pow(10,h),p=Math.ceil(p*n)/n),i=Math.floor(f/p)*p,r=Math.ceil(m/p)*p,o&&(!ln(u)&&H.almostWhole(u/p,p/1e3)&&(i=u),!ln(d)&&H.almostWhole(d/p,p/1e3)&&(r=d)),s=H.almostEquals(s=(r-i)/p,Math.round(s),p/1e3)?Math.round(s):Math.ceil(s),i=Math.round(i*n)/n,r=Math.round(r*n)/n,a.push(ln(u)?i:u);for(var b=1;be.length-1?null:this.getPixelForValue(e[t])}});fn._defaults=un;var mn=H.valueOrDefault,pn=H.math.log10,bn={position:"left",ticks:{callback:We.formatters.logarithmic}};function gn(t,e){return H.isFinite(t)&&t>=0?t:e}var _n=sn.extend({determineDataLimits:function(){var t,e,n,i,r,s,a=this,o=a.options,l=a.chart,c=l.data.datasets,u=a.isHorizontal();function d(t){return u?t.xAxisID===a.id:t.yAxisID===a.id}a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,a.minNotZero=Number.POSITIVE_INFINITY;var h=o.stacked;if(void 0===h)for(t=0;t0){var e=H.min(t),n=H.max(t);a.min=Math.min(a.min,e),a.max=Math.max(a.max,n)}})}else for(t=0;t0?t.min:t.max<1?Math.pow(10,Math.floor(pn(t.max))):1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),i={min:gn(e.min),max:gn(e.max)},r=t.ticks=function(t,e){var n,i,r=[],s=mn(t.min,Math.pow(10,Math.floor(pn(e.min)))),a=Math.floor(pn(e.max)),o=Math.ceil(e.max/Math.pow(10,a));0===s?(n=Math.floor(pn(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,n)),r.push(s),s=i*Math.pow(10,n)):(n=Math.floor(pn(s)),i=Math.floor(s/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{r.push(s),10==++i&&(i=1,l=++n>=0?1:l),s=Math.round(i*Math.pow(10,n)*l)/l}while(ne.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(pn(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;sn.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=mn(t.options.ticks.fontSize,j.global.defaultFontSize)/t._length),t._startValue=pn(e),t._valueOffset=n,t._valueRange=(pn(t.max)-pn(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return(t=+e.getRightValue(t))>e.min&&t>0&&(n=(pn(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}});_n._defaults=bn;var yn=H.valueOrDefault,vn=H.valueAtIndexOrDefault,wn=H.options.resolve,Sn={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:We.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function xn(t){var e=t.ticks;return e.display&&t.display?yn(e.fontSize,j.global.defaultFontSize)+2*e.backdropPaddingY:0}function Cn(t,e,n,i,r){return t===i||t===r?{start:e-n/2,end:e+n/2}:tr?{start:e-n,end:e}:{start:e,end:e+n}}function kn(t){return 0===t||180===t?"center":t<180?"left":"right"}function Tn(t,e,n,i){var r,s,a=n.y+i/2;if(H.isArray(e))for(r=0,s=e.length;r270||t<90)&&(n.y-=e.h)}function Dn(t){return H.isNumber(t)?t:0}var Ln=cn.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=xn(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;H.each(e.data.datasets,function(r,s){if(e.isDatasetVisible(s)){var a=e.getDatasetMeta(s);H.each(r.data,function(e,r){var s=+t.getRightValue(e);isNaN(s)||a.data[r].hidden||(n=Math.min(s,n),i=Math.max(s,i))})}}),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/xn(this.options))},convertTicksToLabels:function(){var t=this;cn.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(function(){var e=H.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""})},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this,e=t.options;e.display&&e.pointLabels.display?function(t){var e,n,i,r=H.options._parseFont(t.options.pointLabels),s={l:0,r:t.width,t:0,b:t.height-t.paddingTop},a={};t.ctx.font=r.string,t._pointLabelSizes=[];var o,l,c,u=t.chart.data.labels.length;for(e=0;es.r&&(s.r=f.end,a.r=d),m.starts.b&&(s.b=m.end,a.b=d)}t.setReductions(t.drawingArea,s,a)}(t):t.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var i=this,r=e.l/Math.sin(n.l),s=Math.max(e.r-i.width,0)/Math.sin(n.r),a=-e.t/Math.cos(n.t),o=-Math.max(e.b-(i.height-i.paddingTop),0)/Math.cos(n.b);r=Dn(r),s=Dn(s),a=Dn(a),o=Dn(o),i.drawingArea=Math.min(Math.floor(t-(r+s)/2),Math.floor(t-(a+o)/2)),i.setCenterPoint(r,s,a,o)},setCenterPoint:function(t,e,n,i){var r=this,s=n+r.drawingArea,a=r.height-r.paddingTop-i-r.drawingArea;r.xCenter=Math.floor((t+r.drawingArea+(r.width-e-r.drawingArea))/2+r.left),r.yCenter=Math.floor((s+a)/2+r.top+r.paddingTop)},getIndexAngle:function(t){var e=this.chart,n=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(H.isNullOrUndef(t))return NaN;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this,i=n.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(i)*e+n.xCenter,y:Math.sin(i)*e+n.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this,n=e.min,i=e.max;return e.getPointPositionForValue(t||0,e.beginAtZero?0:n<0&&i<0?i:n>0&&i>0?n:0)},_drawGrid:function(){var t,e,n,i=this,r=i.ctx,s=i.options,a=s.gridLines,o=s.angleLines,l=yn(o.lineWidth,a.lineWidth),c=yn(o.color,a.color);if(s.pointLabels.display&&function(t){var e=t.ctx,n=t.options,i=n.pointLabels,r=xn(n),s=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),a=H.options._parseFont(i);e.save(),e.font=a.string,e.textBaseline="middle";for(var o=t.chart.data.labels.length-1;o>=0;o--){var l=t.getPointPosition(o,s+(0===o?r/2:0)+5),c=vn(i.fontColor,o,j.global.defaultFontColor);e.fillStyle=c;var u=t.getIndexAngle(o),d=H.toDegrees(u);e.textAlign=kn(d),Mn(d,t._pointLabelSizes[o],l),Tn(e,t.pointLabels[o],l,a.lineHeight)}e.restore()}(i),a.display&&H.each(i.ticks,function(t,n){0!==n&&(e=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),function(t,e,n,i){var r,s=t.ctx,a=e.circular,o=t.chart.data.labels.length,l=vn(e.color,i-1),c=vn(e.lineWidth,i-1);if((a||o)&&l&&c){if(s.save(),s.strokeStyle=l,s.lineWidth=c,s.setLineDash&&(s.setLineDash(e.borderDash||[]),s.lineDashOffset=e.borderDashOffset||0),s.beginPath(),a)s.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{r=t.getPointPosition(0,n),s.moveTo(r.x,r.y);for(var u=1;u=0;t--)e=i.getDistanceFromCenterForValue(s.ticks.reverse?i.min:i.max),n=i.getPointPosition(t,e),r.beginPath(),r.moveTo(i.xCenter,i.yCenter),r.lineTo(n.x,n.y),r.stroke();r.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options.ticks;if(n.display){var i,r,s=t.getIndexAngle(0),a=H.options._parseFont(n),o=yn(n.fontColor,j.global.defaultFontColor);e.save(),e.font=a.string,e.translate(t.xCenter,t.yCenter),e.rotate(s),e.textAlign="center",e.textBaseline="middle",H.each(t.ticks,function(s,l){(0!==l||n.reverse)&&(i=t.getDistanceFromCenterForValue(t.ticksAsNumbers[l]),n.showLabelBackdrop&&(r=e.measureText(s).width,e.fillStyle=n.backdropColor,e.fillRect(-r/2-n.backdropPaddingX,-i-a.size/2-n.backdropPaddingY,r+2*n.backdropPaddingX,a.size+2*n.backdropPaddingY)),e.fillStyle=o,e.fillText(s,0,-i))}),e.restore()}},_drawTitle:H.noop});Ln._defaults=Sn;var On=H._deprecated,An=H.options.resolve,En=H.valueOrDefault,In=Number.MIN_SAFE_INTEGER||-9007199254740991,Rn=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}},jn=Object.keys(Yn);function Nn(t,e){return t-e}function Pn(t){return H.valueOrDefault(t.time.min,t.ticks.min)}function Fn(t){return H.valueOrDefault(t.time.max,t.ticks.max)}function Bn(t,e,n,i){var r=function(t,e,n){for(var i,r,s,a=0,o=t.length-1;a>=0&&a<=o;){if(s=t[i=a+o>>1],!(r=t[i-1]||null))return{lo:null,hi:s};if(s[e]n))return{lo:r,hi:s};o=i-1}}return{lo:s,hi:null}}(t,e,n),s=r.lo?r.hi?r.lo:t[t.length-2]:t[0],a=r.lo?r.hi?r.hi:t[t.length-1]:t[1],o=a[e]-s[e];return s[i]+(a[i]-s[i])*(o?(n-s[e])/o:0)}function Hn(t,e){var n=t._adapter,i=t.options.time,r=i.parser,s=r||i.format,a=e;return"function"==typeof r&&(a=r(a)),H.isFinite(a)||(a="string"==typeof s?n.parse(a,s):n.parse(a)),null!==a?+a:(r||"function"!=typeof s||(a=s(e),H.isFinite(a)||(a=n.parse(a))),a)}function Vn(t,e){if(H.isNullOrUndef(e))return null;var n=t.options.time,i=Hn(t,t.getRightValue(e));return null===i||n.round&&(i=+t._adapter.startOf(i,n.round)),i}function zn(t,e,n,i){var r,s,a=jn.length;for(r=jn.indexOf(t);r=0&&(e[s].major=!0);return e}(t,s,a,n):s}var Wn=sn.extend({initialize:function(){this.mergeTicksOptions(),sn.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,n=e.time||(e.time={}),i=t._adapter=new Ue._date(e.adapters.date);return On("time scale",n.format,"time.format","time.parser"),On("time scale",n.min,"time.min","ticks.min"),On("time scale",n.max,"time.max","ticks.max"),H.mergeIf(n.displayFormats,i.formats()),sn.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),sn.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,r,s,a,o=this,l=o.chart,c=o._adapter,u=o.options,d=u.time.unit||"day",h=Rn,f=In,m=[],p=[],b=[],g=o._getLabels();for(t=0,n=g.length;t1?function(t){var e,n,i,r={},s=[];for(e=0,n=t.length;e1e5*c)throw e+" and "+n+" are too far apart with stepSize of "+c+" "+l;for(r=d;r=r&&n<=s&&u.push(n);return i.min=r,i.max=s,i._unit=l.unit||(o.autoSkip?zn(l.minUnit,i.min,i.max,d):function(t,e,n,i,r){var s,a;for(s=jn.length-1;s>=jn.indexOf(n);s--)if(Yn[a=jn[s]].common&&t._adapter.diff(r,i,a)>=e-1)return a;return jn[n?jn.indexOf(n):0]}(i,u.length,l.minUnit,i.min,i.max)),i._majorUnit=o.major.enabled&&"year"!==i._unit?function(t){for(var e=jn.indexOf(t)+1,n=jn.length;ee&&o=0&&t0?o:1}});Wn._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 qn={category:on,linear:fn,logarithmic:_n,radialLinear:Ln,time:Wn},Gn={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"};Ue._date.override("function"==typeof t?{_id:"moment",formats:function(){return Gn},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,i){return t(e).add(n,i).valueOf()},diff:function(e,n,i){return t(e).diff(t(n),i)},startOf:function(e,n,i){return e=t(e),"isoWeek"===n?e.isoWeekday(i).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),j._set("global",{plugins:{filler:{propagate:!0}}});var $n={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),r=i&&n.isDatasetVisible(e)&&i.dataset._children||[],s=r.length||0;return s?function(t,e){return e=n)&&i;switch(s){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return s;default:return!1}}function Kn(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,n,i,r,s,a=t.el._scale,o=a.options,l=a.chart.data.labels.length,c=t.fill,u=[];if(!l)return null;for(n=o.ticks.reverse?a.min:a.max,i=a.getPointPositionForValue(0,e=o.ticks.reverse?a.max:a.min),r=0;r0;--s)H.canvas.lineTo(t,n[s],n[s-1],!0);else for(a=n[0].cx,o=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-a,2)+Math.pow(n[0].y-o,2)),s=r-1;s>0;--s)t.arc(a,o,l,n[s].angle,n[s-1].angle,!0)}}function ei(t,e,n,i,r,s){var a,o,l,c,u,d,h,f,m=e.length,p=i.spanGaps,b=[],g=[],_=0,y=0;for(t.beginPath(),a=0,o=m;a=0;--n)(e=l[n].$filler)&&e.visible&&(s=(i=e.el)._children||[],o=(r=i._view).backgroundColor||j.global.defaultColor,(a=e.mapper)&&o&&s.length&&(H.canvas.clipArea(c,t.chartArea),ei(c,s,a,r,o,i._loop),H.canvas.unclipArea(c)))}},ii=H.rtl.getRtlAdapter,ri=H.noop,si=H.valueOrDefault;function ai(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}j._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},i=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map(function(n){var r=n.controller.getStyle(i?0:void 0);return{text:e[n.index].label,fillStyle:r.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:r.borderWidth,strokeStyle:r.borderColor,pointStyle:r.pointStyle,rotation:r.rotation,datasetIndex:n.index}},this)}}},legendCallback:function(t){var e,n,i,r=document.createElement("ul"),s=t.data.datasets;for(r.setAttribute("class",t.id+"-legend"),e=0,n=s.length;el.width)&&(d+=a+n.padding,u[u.length-(e>0?0:1)]=0),o[e]={left:0,top:0,width:i,height:a},u[u.length-1]+=i+n.padding}),l.height+=d}else{var h=n.padding,f=t.columnWidths=[],m=t.columnHeights=[],p=n.padding,b=0,g=0;H.each(t.legendItems,function(t,e){var i=ai(n,a)+a/2+r.measureText(t.text).width;e>0&&g+a+2*h>l.height&&(p+=b+n.padding,f.push(b),m.push(g),b=0,g=0),b=Math.max(b,i),g+=a+h,o[e]={left:0,top:0,width:i,height:a}}),p+=b,f.push(b),m.push(g),l.width+=p}t.width=l.width,t.height=l.height}else t.width=l.width=t.height=l.height=0},afterFit:ri,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,i=j.global,r=i.defaultColor,s=i.elements.line,a=t.height,o=t.columnHeights,l=t.width,c=t.lineWidths;if(e.display){var u,d=ii(e.rtl,t.left,t.minSize.width),h=t.ctx,f=si(n.fontColor,i.defaultFontColor),m=H.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 b=ai(n,p),g=t.legendHitBoxes,_=function(t,i){switch(e.align){case"start":return n.padding;case"end":return t-i;default:return(t-i+n.padding)/2}},y=t.isHorizontal();u=y?{x:t.left+_(l,c[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+_(a,o[0]),line:0},H.rtl.overrideTextDirection(t.ctx,e.textDirection);var v=p+n.padding;H.each(t.legendItems,function(e,i){var f=h.measureText(e.text).width,m=b+p/2+f,w=u.x,S=u.y;d.setWidth(t.minSize.width),y?i>0&&w+m+n.padding>t.left+t.minSize.width&&(S=u.y+=v,u.line++,w=u.x=t.left+_(l,c[u.line])):i>0&&S+v>t.top+t.minSize.height&&(w=u.x=w+t.columnWidths[u.line]+n.padding,u.line++,S=u.y=t.top+_(a,o[u.line]));var x=d.x(w);(function(t,e,i){if(!(isNaN(b)||b<=0)){h.save();var a=si(i.lineWidth,s.borderWidth);if(h.fillStyle=si(i.fillStyle,r),h.lineCap=si(i.lineCap,s.borderCapStyle),h.lineDashOffset=si(i.lineDashOffset,s.borderDashOffset),h.lineJoin=si(i.lineJoin,s.borderJoinStyle),h.lineWidth=a,h.strokeStyle=si(i.strokeStyle,r),h.setLineDash&&h.setLineDash(si(i.lineDash,s.borderDash)),n&&n.usePointStyle){var o=b*Math.SQRT2/2,l=d.xPlus(t,b/2);H.canvas.drawPoint(h,i.pointStyle,o,l,e+p/2,i.rotation)}else h.fillRect(d.leftForLtr(t,b),e,b,p),0!==a&&h.strokeRect(d.leftForLtr(t,b),e,b,p);h.restore()}})(x,S,e),g[i].left=d.leftForLtr(x,g[i].width),g[i].top=S,function(t,e,n,i){var r=p/2,s=d.xPlus(t,b+r),a=e+r;h.fillText(n.text,s,a),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(s,a),h.lineTo(d.xPlus(s,i),a),h.stroke())}(x,S,e,f),y?u.x+=m+n.padding:u.y+=v}),H.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,i,r,s=this;if(t>=s.left&&t<=s.right&&e>=s.top&&e<=s.bottom)for(r=s.legendHitBoxes,n=0;n=(i=r[n]).left&&t<=i.left+i.width&&e>=i.top&&e<=i.top+i.height)return s.legendItems[n];return null},handleEvent:function(t){var e,n=this,i=n.options,r="mouseup"===t.type?"click":t.type;if("mousemove"===r){if(!i.onHover&&!i.onLeave)return}else{if("click"!==r)return;if(!i.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===r?e&&i.onClick&&i.onClick.call(n,t.native,e):(i.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),i.onHover&&e&&i.onHover.call(n,t.native,e))}});function li(t,e){var n=new oi({ctx:t.ctx,options:e,chart:t});le.configure(t,n,e),le.addBox(t,n),t.legend=n}var ci={id:"legend",_element:oi,beforeInit:function(t){var e=t.options.legend;e&&li(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(H.mergeIf(e,j.global.legend),n?(le.configure(t,n,e),n.options=e):li(t,e)):n&&(le.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},ui=H.noop;j._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var di=q.extend({initialize:function(t){H.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:ui,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,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:ui,beforeSetDimensions:ui,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:ui,beforeBuildLabels:ui,buildLabels:ui,afterBuildLabels:ui,beforeFit:ui,fit:function(){var t,e=this,n=e.options,i=e.minSize={},r=e.isHorizontal();n.display?(t=(H.isArray(n.text)?n.text.length:1)*H.options._parseFont(n).lineHeight+2*n.padding,e.width=i.width=r?e.maxWidth:t,e.height=i.height=r?t:e.maxHeight):e.width=i.width=e.height=i.height=0},afterFit:ui,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var i,r,s,a=H.options._parseFont(n),o=a.lineHeight,l=o/2+n.padding,c=0,u=t.top,d=t.left,h=t.bottom,f=t.right;e.fillStyle=H.valueOrDefault(n.fontColor,j.global.defaultFontColor),e.font=a.string,t.isHorizontal()?(r=d+(f-d)/2,s=u+l,i=f-d):(r="left"===n.position?d+l:f-l,s=u+(h-u)/2,i=h-u,c=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(r,s),e.rotate(c),e.textAlign="center",e.textBaseline="middle";var m=n.text;if(H.isArray(m))for(var p=0,b=0;b=0;i--){var r=t[i];if(e(r))return r}},H.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},H.almostEquals=function(t,e,n){return Math.abs(t-e)=t},H.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},H.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},H.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},H.toRadians=function(t){return t*(Math.PI/180)},H.toDegrees=function(t){return t*(180/Math.PI)},H._decimalPlaces=function(t){if(H.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},H.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i),s=Math.atan2(i,n);return s<-.5*Math.PI&&(s+=2*Math.PI),{angle:s,distance:r}},H.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},H.aliasPixel=function(t){return t%2==0?0:.5},H._alignPixel=function(t,e,n){var i=t.currentDevicePixelRatio,r=n/2;return Math.round((e-r)*i)/i+r},H.splineCurve=function(t,e,n,i){var r=t.skip?e:t,s=e,a=n.skip?e:n,o=Math.sqrt(Math.pow(s.x-r.x,2)+Math.pow(s.y-r.y,2)),l=Math.sqrt(Math.pow(a.x-s.x,2)+Math.pow(a.y-s.y,2)),c=o/(o+l),u=l/(o+l),d=i*(c=isNaN(c)?0:c),h=i*(u=isNaN(u)?0:u);return{previous:{x:s.x-d*(a.x-r.x),y:s.y-d*(a.y-r.y)},next:{x:s.x+h*(a.x-r.x),y:s.y+h*(a.y-r.y)}}},H.EPSILON=Number.EPSILON||1e-14,H.splineCurveMonotone=function(t){var e,n,i,r,s,a,o,l,c,u=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),d=u.length;for(e=0;e0?u[e-1]:null,(r=e0?u[e-1]:null)&&!n.model.skip&&(i.model.controlPointPreviousX=i.model.x-(c=(i.model.x-n.model.x)/3),i.model.controlPointPreviousY=i.model.y-c*i.mK),r&&!r.model.skip&&(i.model.controlPointNextX=i.model.x+(c=(r.model.x-i.model.x)/3),i.model.controlPointNextY=i.model.y+c*i.mK))},H.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},H.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},H.niceNum=function(t,e){var n=Math.floor(H.log10(t)),i=t/Math.pow(10,n);return(e?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)},H.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},H.getRelativePosition=function(t,e){var n,i,r=t.originalEvent||t,s=t.target||t.srcElement,a=s.getBoundingClientRect(),o=r.touches;o&&o.length>0?(n=o[0].clientX,i=o[0].clientY):(n=r.clientX,i=r.clientY);var l=parseFloat(H.getStyle(s,"padding-left")),c=parseFloat(H.getStyle(s,"padding-top")),u=parseFloat(H.getStyle(s,"padding-right")),d=parseFloat(H.getStyle(s,"padding-bottom")),h=a.bottom-a.top-c-d;return{x:n=Math.round((n-a.left-l)/(a.right-a.left-l-u)*s.width/e.currentDevicePixelRatio),y:i=Math.round((i-a.top-c)/h*s.height/e.currentDevicePixelRatio)}},H.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},H.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},H._calculatePadding=function(t,e,n){return(e=H.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},H._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},H.getMaximumWidth=function(t){var e=H._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,i=n-H._calculatePadding(e,"padding-left",n)-H._calculatePadding(e,"padding-right",n),r=H.getConstraintWidth(t);return isNaN(r)?i:Math.min(i,r)},H.getMaximumHeight=function(t){var e=H._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,i=n-H._calculatePadding(e,"padding-top",n)-H._calculatePadding(e,"padding-bottom",n),r=H.getConstraintHeight(t);return isNaN(r)?i:Math.min(i,r)},H.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},H.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=t.canvas,r=t.height,s=t.width;i.height=r*n,i.width=s*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=s+"px")}},H.fontString=function(t,e,n){return e+" "+t+"px "+n},H.longestText=function(t,e,n,i){var r=(i=i||{}).data=i.data||{},s=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},s=i.garbageCollect=[],i.font=e),t.font=e;var a,o,l,c,u,d=0,h=n.length;for(a=0;an.length){for(a=0;ai&&(i=s),i},H.numberOfLabelLines=function(t){var e=1;return H.each(t,function(t){H.isArray(t)&&t.length>e&&(e=t.length)}),e},H.color=v?function(t){return t instanceof CanvasGradient&&(t=j.global.defaultColor),v(t)}:function(t){return console.error("Color.js not found!"),t},H.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:H.color(t).saturate(.5).darken(.1).rgbString()}}(),He._adapters=Ue,He.Animation=$,He.animationService=X,He.controllers=Wt,He.DatasetController=tt,He.defaults=j,He.Element=q,He.elements=gt,He.Interaction=Qt,He.layouts=le,He.platform=we,He.plugins=Se,He.Scale=sn,He.scaleService=xe,He.Ticks=We,He.Tooltip=Ee,He.helpers.each(qn,function(t,e){He.scaleService.registerScaleType(e,t,t._defaults)}),fi)fi.hasOwnProperty(gi)&&He.plugins.register(fi[gi]);He.platform.initialize();var _i=He;return"undefined"!=typeof window&&(window.Chart=He),He.Chart=He,He.Legend=fi.legend._element,He.Title=fi.title._element,He.pluginService=He.plugins,He.PluginBase=He.Element.extend({}),He.canvasHelpers=He.helpers.canvas,He.layoutService=He.layouts,He.LinearScaleBase=cn,He.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(t){He[t]=function(e,n){return new He(e,He.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}}),_i}(function(){try{return n("wd/R")}catch(t){}}())},NJ4a:function(t,e,n){"use strict";function i(t){setTimeout(()=>{throw t},0)}n.d(e,"a",function(){return i})},OIYi:function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},Oaa7:function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(t,e,n){!function(t){"use strict";var e={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(t,e,n,i){var r="";if(e)switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":r="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":r="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":r="%d \u0924\u093e\u0938";break;case"d":r="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":r="%d \u0926\u093f\u0935\u0938";break;case"M":r="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":r="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":r="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":r="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":r="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":r="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":r="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":r="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":r="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return r.replace(/%d/i,t)}t.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(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e){return 12===t&&(t=0),"\u092a\u0939\u093e\u091f\u0947"===e||"\u0938\u0915\u093e\u0933\u0940"===e?t:"\u0926\u0941\u092a\u093e\u0930\u0940"===e||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===e||"\u0930\u093e\u0924\u094d\u0930\u0940"===e?t>=12?t:t+12:void 0},meridiem:function(t,e,n){return t>=0&&t<6?"\u092a\u0939\u093e\u091f\u0947":t<12?"\u0938\u0915\u093e\u0933\u0940":t<17?"\u0926\u0941\u092a\u093e\u0930\u0940":t<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(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u093f"===e?t<4?t:t+12:"\u092c\u093f\u0939\u093e\u0928"===e?t:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?t>=10?t:t+12:"\u0938\u093e\u0901\u091d"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"\u0930\u093e\u0924\u093f":t<12?"\u092c\u093f\u0939\u093e\u0928":t<16?"\u0926\u093f\u0909\u0901\u0938\u094b":t<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(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;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(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},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(t,e,n){!function(t){"use strict";var e={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"};t.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(t,e){return 12===t&&(t=0),"\u0448\u0430\u0431"===e?t<4?t:t+12:"\u0441\u0443\u0431\u04b3"===e?t:"\u0440\u04ef\u0437"===e?t>=11?t:t+12:"\u0431\u0435\u0433\u043e\u04b3"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0448\u0430\u0431":t<11?"\u0441\u0443\u0431\u04b3":t<16?"\u0440\u04ef\u0437":t<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},PA2r:function(t,e,n){!function(t){"use strict";var e="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),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],r=/^(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 s(t){return t>1&&t<5&&1!=~~(t/10)}function a(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||i?r+(s(t)?"sekundy":"sekund"):r+"sekundami";case"m":return e?"minuta":i?"minutu":"minutou";case"mm":return e||i?r+(s(t)?"minuty":"minut"):r+"minutami";case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?r+(s(t)?"hodiny":"hodin"):r+"hodinami";case"d":return e||i?"den":"dnem";case"dd":return e||i?r+(s(t)?"dny":"dn\xed"):r+"dny";case"M":return e||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||i?r+(s(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return e||i?"rok":"rokem";case"yy":return e||i?r+(s(t)?"roky":"let"):r+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsRegex:r,monthsShortRegex:r,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: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"))},PeUW:function(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return t+"\u0bb5\u0ba4\u0bc1"},preparse:function(t){return t.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e,n){return t<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":t<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":t<10?" \u0b95\u0bbe\u0bb2\u0bc8":t<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":t<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":t<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(t,e){return 12===t&&(t=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?t<2?t:t+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n("wd/R"))},PpIw:function(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return t.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e){return 12===t&&(t=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?t<4?t:t+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?t:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?t>=10?t:t+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":t<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":t<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":t<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(t){return t+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},Qj4J:function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={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 e?r[n][0]:r[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return n(t/=1e3)}t.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(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RnhZ:function(t,e,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-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.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 r(t){var e=s(t);return n(e)}function s(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=s,t.exports=r,r.id="RnhZ"},S6ln:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.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:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},SFxW:function(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gec\u0259":t<12?"s\u0259h\u0259r":t<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(t){if(0===t)return t+"-\u0131nc\u0131";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SatO:function(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;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(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},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"))},SeVD:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("ngJS"),r=n("NJ4a"),s=n("Lhse"),a=n("kJWO"),o=n("I55L"),l=n("c2HN"),c=n("XoHu");const u=t=>{if(t&&"function"==typeof t[a.a])return u=t,t=>{const e=u[a.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(o.a)(t))return Object(i.a)(t);if(Object(l.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,r.a),t);if(t&&"function"==typeof t[s.a])return e=t,t=>{const n=e[s.a]();for(;;){let e;try{e=n.next()}catch(i){return t.error(i),t}if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(c.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,u}},SpAZ:function(t,e,n){"use strict";function i(t){return t}n.d(e,"a",function(){return i})},UDhR:function(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"pagi"===e?t:"siang"===e?t>=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<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(t,e,n){!function(t){"use strict";t.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(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},UpQW:function(t,e,n){!function(t){"use strict";var e=["\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"];t.defineLocale("ur",{months:e,monthsShort:e,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(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(t,e,n){!function(t){"use strict";t.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(t,e,n){return t<11?"ekuseni":t<15?"emini":t<19?"entsambama":"ebusuku"},meridiemHour:function(t,e){return 12===t&&(t=0),"ekuseni"===e?t:"emini"===e?t>=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},VRyK:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("HDdC"),r=n("z+Ro"),s=n("bHdf"),a=n("yCtX");function o(...t){let e=Number.POSITIVE_INFINITY,n=null,o=t[t.length-1];return Object(r.a)(o)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof o&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof i.a?t[0]:Object(s.a)(e)(Object(a.a)(t,n))}},Vclq:function(t,e,n){!function(t){"use strict";var e="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],r=/^(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;t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,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"))},WMd4:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("EY2u"),r=n("LRne"),s=n("z6cu");let a=(()=>{class t{constructor(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}observe(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}do(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}accept(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}toObservable(){switch(this.kind){case"N":return Object(r.a)(this.value);case"E":return Object(s.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}static createError(e){return new t("E",void 0,e)}static createComplete(){return t.completeNotification}}return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t})()},WOAq:function(t,e,n){"use strict";(function(t){var i=n("Ju5/"),r=n("L3Qv"),s="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=s&&"object"==typeof t&&t&&!t.nodeType&&t,o=a&&a.exports===s?i.a.Buffer:void 0;e.a=(o?o.isBuffer:void 0)||r.a}).call(this,n("3UD+")(t))},WYrj:function(t,e,n){!function(t){"use strict";var e=["\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"];t.defineLocale("dv",{months:e,monthsShort:e,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(t){return"\u0789\u078a"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n("wd/R"))},Wv91:function(t,e,n){!function(t){"use strict";var e={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"};t.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(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'unjy";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},WxRl:function(t,e,n){!function(t){"use strict";var e="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(t,e,n,i){var r=t;switch(n){case"s":return i||e?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return r+(i||e)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(i||e?" perc":" perce");case"mm":return r+(i||e?" perc":" perce");case"h":return"egy"+(i||e?" \xf3ra":" \xf3r\xe1ja");case"hh":return r+(i||e?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(i||e?" nap":" napja");case"dd":return r+(i||e?" nap":" napja");case"M":return"egy"+(i||e?" h\xf3nap":" h\xf3napja");case"MM":return r+(i||e?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(i||e?" \xe9v":" \xe9ve");case"yy":return r+(i||e?" \xe9v":" \xe9ve")}return""}function i(t){return(t?"":"[m\xfalt] ")+"["+e[this.day()]+"] LT[-kor]"}t.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(t){return"u"===t.charAt(1).toLowerCase()},meridiem:function(t,e,n){return t<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(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?":e":1===e||2===e?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},XDpg:function(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;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(t){return t.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(t){return this.week()!==t.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u5468";default:return t}},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(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===e?t<4?t:t+12:"\u0c09\u0c26\u0c2f\u0c02"===e?t:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===e?t>=10?t:t+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":t<10?"\u0c09\u0c26\u0c2f\u0c02":t<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":t<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XNiG:function(t,e,n){"use strict";n.d(e,"b",function(){return c}),n.d(e,"a",function(){return u});var i=n("HDdC"),r=n("7o/Q"),s=n("quSY"),a=n("9ppp"),o=n("Ylt2"),l=n("2QA8");class c extends r.a{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends i.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new c(this)}lift(t){const e=new d(this,this);return e.operator=t,e}next(t){if(this.closed)throw new a.a;if(!this.isStopped){const{observers:e}=this,n=e.length,i=e.slice();for(let r=0;rnew d(t,e),t})();class d extends u{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):s.a.EMPTY}}},XoHu:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t}n.d(e,"a",function(){return i})},XqMk:function(t,e,n){"use strict";var i="object"==typeof global&&global&&global.Object===Object&&global;e.a=i},Y7HM:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("DH7j");function r(t){return!Object(i.a)(t)&&t-parseFloat(t)+1>=0}},YRex:function(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===e||"\u0633\u06d5\u06be\u06d5\u0631"===e||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===e?t:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===e||"\u0643\u06d5\u0686"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;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(t,e){switch(e){case"d":case"D":case"DDD":return t+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return t+"-\u06be\u06d5\u067e\u062a\u06d5";default:return t}},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},Ylt2:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("quSY");class r extends i.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],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}}),t.webpackPolyfill=1),t}},Z4QM:function(t,e,n){!function(t){"use strict";var e=["\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"];t.defineLocale("sd",{months:e,monthsShort:e,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(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},ZAMP:function(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<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(t,e,n){!function(t){"use strict";t.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(t){return"p"===t.charAt(0).toLowerCase()},meridiem:function(t,e,n){return t>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(t,e,n){!function(t){"use strict";function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}function n(t){return t>9?n(t%10):t}var i=[/^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],r=/^(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,s=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];t.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:s,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:s,monthsRegex:r,monthsShortRegex:r,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:i,longMonthsParse:i,shortMonthsParse:i,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:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(n(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(t){return t+(1===t?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(t){return"g.m."===t},meridiem:function(t,e,n){return t<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},b1Dy:function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},bHdf:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("5+tZ"),r=n("SpAZ");function s(t=Number.POSITIVE_INFINITY){return Object(i.a)(r.a,t)}},bOMt:function(t,e,n){!function(t){"use strict";t.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:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en 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(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t){return(/^[0-9].+$/.test(t)?"tra":"in")+" "+t},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"))},c2HN:function(t,e,n){"use strict";function i(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",function(){return i})},cRix:function(t,e,n){!function(t){"use strict";var e="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("_");t.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},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(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},czMo:function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},dNwA:function(t,e,n){!function(t){"use strict";t.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"))},"e+ae":function(t,e,n){!function(t){"use strict";var e="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(t){return t>1&&t<5}function r(t,e,n,r){var s=t+" ";switch(n){case"s":return e||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||r?s+(i(t)?"sekundy":"sek\xfand"):s+"sekundami";case"m":return e?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return e||r?s+(i(t)?"min\xfaty":"min\xfat"):s+"min\xfatami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?s+(i(t)?"hodiny":"hod\xedn"):s+"hodinami";case"d":return e||r?"de\u0148":"d\u0148om";case"dd":return e||r?s+(i(t)?"dni":"dn\xed"):s+"d\u0148ami";case"M":return e||r?"mesiac":"mesiacom";case"MM":return e||r?s+(i(t)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return e||r?"rok":"rokom";case"yy":return e||r?s+(i(t)?"roky":"rokov"):s+"rokmi"}}t.defineLocale("sk",{months:e,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:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},fXoL:function(t,e,n){"use strict";n.d(e,"a",function(){return ln}),n.d(e,"b",function(){return ec}),n.d(e,"c",function(){return Kl}),n.d(e,"d",function(){return $l}),n.d(e,"e",function(){return Xl}),n.d(e,"f",function(){return Kc}),n.d(e,"g",function(){return Pc}),n.d(e,"h",function(){return Fo}),n.d(e,"i",function(){return hc}),n.d(e,"j",function(){return ho}),n.d(e,"k",function(){return rc}),n.d(e,"l",function(){return bo}),n.d(e,"m",function(){return qc}),n.d(e,"n",function(){return xi}),n.d(e,"o",function(){return Cl}),n.d(e,"p",function(){return us}),n.d(e,"q",function(){return _n}),n.d(e,"r",function(){return k}),n.d(e,"s",function(){return on}),n.d(e,"t",function(){return Ts}),n.d(e,"u",function(){return Io}),n.d(e,"v",function(){return Ro}),n.d(e,"w",function(){return ic}),n.d(e,"x",function(){return Ko}),n.d(e,"y",function(){return Bc}),n.d(e,"z",function(){return Xo}),n.d(e,"A",function(){return Ic}),n.d(e,"B",function(){return pc}),n.d(e,"C",function(){return yn}),n.d(e,"D",function(){return tc}),n.d(e,"E",function(){return Zl}),n.d(e,"F",function(){return Tl}),n.d(e,"G",function(){return _o}),n.d(e,"H",function(){return go}),n.d(e,"I",function(){return Mi}),n.d(e,"J",function(){return vo}),n.d(e,"K",function(){return _i}),n.d(e,"L",function(){return wn}),n.d(e,"M",function(){return zc}),n.d(e,"N",function(){return Wo}),n.d(e,"O",function(){return Sc}),n.d(e,"P",function(){return cn}),n.d(e,"Q",function(){return So}),n.d(e,"R",function(){return wo}),n.d(e,"S",function(){return Qo}),n.d(e,"T",function(){return A}),n.d(e,"U",function(){return Rc}),n.d(e,"V",function(){return Ac}),n.d(e,"W",function(){return f}),n.d(e,"X",function(){return An}),n.d(e,"Y",function(){return Oc}),n.d(e,"Z",function(){return $c}),n.d(e,"ab",function(){return kc}),n.d(e,"bb",function(){return nc}),n.d(e,"cb",function(){return hs}),n.d(e,"db",function(){return Ja}),n.d(e,"eb",function(){return bi}),n.d(e,"fb",function(){return Zn}),n.d(e,"gb",function(){return Vn}),n.d(e,"hb",function(){return Un}),n.d(e,"ib",function(){return $n}),n.d(e,"jb",function(){return qn}),n.d(e,"kb",function(){return Wn}),n.d(e,"lb",function(){return Gn}),n.d(e,"mb",function(){return Ga}),n.d(e,"nb",function(){return Gc}),n.d(e,"ob",function(){return $a}),n.d(e,"pb",function(){return Xa}),n.d(e,"qb",function(){return zn}),n.d(e,"rb",function(){return j}),n.d(e,"sb",function(){return js}),n.d(e,"tb",function(){return ia}),n.d(e,"ub",function(){return na}),n.d(e,"vb",function(){return qa}),n.d(e,"wb",function(){return kt}),n.d(e,"xb",function(){return u}),n.d(e,"yb",function(){return Hn}),n.d(e,"zb",function(){return Ds}),n.d(e,"Ab",function(){return _t}),n.d(e,"Bb",function(){return lo}),n.d(e,"Cb",function(){return fr}),n.d(e,"Db",function(){return Hs}),n.d(e,"Eb",function(){return Ba}),n.d(e,"Fb",function(){return xa}),n.d(e,"Gb",function(){return Bl}),n.d(e,"Hb",function(){return G}),n.d(e,"Ib",function(){return tt}),n.d(e,"Jb",function(){return b}),n.d(e,"Kb",function(){return g}),n.d(e,"Lb",function(){return J}),n.d(e,"Mb",function(){return et}),n.d(e,"Nb",function(){return Ws}),n.d(e,"Ob",function(){return Js}),n.d(e,"Pb",function(){return ta}),n.d(e,"Qb",function(){return Zs}),n.d(e,"Rb",function(){return Qs}),n.d(e,"Sb",function(){return Ks}),n.d(e,"Tb",function(){return Xs}),n.d(e,"Ub",function(){return ea}),n.d(e,"Vb",function(){return nn}),n.d(e,"Wb",function(){return Ha}),n.d(e,"Xb",function(){return On}),n.d(e,"Yb",function(){return rn}),n.d(e,"Zb",function(){return Gl}),n.d(e,"ac",function(){return qs}),n.d(e,"bc",function(){return ra}),n.d(e,"cc",function(){return zl}),n.d(e,"dc",function(){return ye}),n.d(e,"ec",function(){return _e}),n.d(e,"fc",function(){return ca}),n.d(e,"gc",function(){return yl}),n.d(e,"hc",function(){return vl}),n.d(e,"ic",function(){return wl}),n.d(e,"jc",function(){return ha}),n.d(e,"kc",function(){return da}),n.d(e,"lc",function(){return Gs}),n.d(e,"mc",function(){return fa}),n.d(e,"nc",function(){return fl}),n.d(e,"oc",function(){return ml}),n.d(e,"pc",function(){return pl}),n.d(e,"qc",function(){return jl}),n.d(e,"rc",function(){return Us}),n.d(e,"sc",function(){return Ut}),n.d(e,"tc",function(){return yi}),n.d(e,"uc",function(){return Q}),n.d(e,"vc",function(){return Hl}),n.d(e,"wc",function(){return Nl}),n.d(e,"xc",function(){return Sa}),n.d(e,"yc",function(){return sa}),n.d(e,"zc",function(){return Va}),n.d(e,"Ac",function(){return zs}),n.d(e,"Bc",function(){return Ra}),n.d(e,"Cc",function(){return Ya}),n.d(e,"Dc",function(){return ja}),n.d(e,"Ec",function(){return Na}),n.d(e,"Fc",function(){return Pa}),n.d(e,"Gc",function(){return Fa}),n.d(e,"Hc",function(){return Pl});var i=n("XNiG"),r=n("quSY"),s=n("HDdC"),a=n("VRyK"),o=n("w1tV");function l(t){for(let e in t)if(t[e]===l)return e;throw Error("Could not find renamed property on target object.")}function c(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function u(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(u).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function d(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const h=l({__forward_ref__:l});function f(t){return t.__forward_ref__=f,t.toString=function(){return u(this())},t}function m(t){return p(t)?t():t}function p(t){return"function"==typeof t&&t.hasOwnProperty(h)&&t.__forward_ref__===f}function b(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function g(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function _(t){return y(t,w)||y(t,x)}function y(t,e){return t.hasOwnProperty(e)?t[e]:null}function v(t){return t&&(t.hasOwnProperty(S)||t.hasOwnProperty(C))?t[S]:null}const w=l({"\u0275prov":l}),S=l({"\u0275inj":l}),x=l({ngInjectableDef:l}),C=l({ngInjectorDef:l});var k=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});let T;function M(t){const e=T;return T=t,e}function D(t,e,n){const i=_(t);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&k.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${u(t)}]`)}function L(t){return{toString:t}.toString()}var O=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),A=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({});const E="undefined"!=typeof globalThis&&globalThis,I="undefined"!=typeof window&&window,R="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Y="undefined"!=typeof global&&global,j=E||Y||I||R,N={},P=[],F=l({"\u0275cmp":l}),B=l({"\u0275dir":l}),H=l({"\u0275pipe":l}),V=l({"\u0275mod":l}),z=l({"\u0275loc":l}),U=l({"\u0275fac":l}),W=l({__NG_ELEMENT_ID__:l});let q=0;function G(t){return L(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===O.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||P,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||A.Emulated,id:"c",styles:t.styles||P,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,s=t.pipes;return n.id+=q++,n.inputs=Z(t.inputs,e),n.outputs=Z(t.outputs),r&&r.forEach(t=>t(n)),n.directiveDefs=i?()=>("function"==typeof i?i():i).map($):null,n.pipeDefs=s?()=>("function"==typeof s?s():s).map(X):null,n})}function $(t){return nt(t)||function(t){return t[B]||null}(t)}function X(t){return function(t){return t[H]||null}(t)}const K={};function J(t){const e={type:t.type,bootstrap:t.bootstrap||P,declarations:t.declarations||P,imports:t.imports||P,exports:t.exports||P,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&L(()=>{K[t.id]=t.type}),e}function Q(t,e){return L(()=>{const n=it(t,!0);n.declarations=e.declarations||P,n.imports=e.imports||P,n.exports=e.exports||P})}function Z(t,e){if(null==t)return N;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=i,e&&(e[r]=s)}return n}const tt=G;function et(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function nt(t){return t[F]||null}function it(t,e){const n=t[V]||null;if(!n&&!0===e)throw new Error(`Type ${u(t)} does not have '\u0275mod' property.`);return n}const rt=20,st=10;function at(t){return Array.isArray(t)&&"object"==typeof t[1]}function ot(t){return Array.isArray(t)&&!0===t[1]}function lt(t){return 0!=(8&t.flags)}function ct(t){return 2==(2&t.flags)}function ut(t){return 1==(1&t.flags)}function dt(t){return null!==t.template}function ht(t,e){return t.hasOwnProperty(U)?t[U]:null}class ft extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function mt(t){return"string"==typeof t?t:null==t?"":String(t)}function pt(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():mt(t)}function bt(t,e){const n=e?" in "+e:"";throw new ft("201",`No provider for ${pt(t)} found${n}`)}class gt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function _t(){return yt}function yt(t){return t.type.prototype.ngOnChanges&&(t.setInput=wt),vt}function vt(){const t=St(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===N)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function wt(t,e,n,i){const r=St(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:N,current:null}),s=r.current||(r.current={}),a=r.previous,o=this.declaredInputs[n],l=a[o];s[o]=new gt(l&&l.currentValue,e,a===N),t[i]=e}function St(t){return t.__ngSimpleChanges__||null}_t.ngInherit=!0;const xt="http://www.w3.org/2000/svg";let Ct=void 0;function kt(t){Ct=t}function Tt(t){return!!t.listen}const Mt={createRenderer:(t,e)=>void 0!==Ct?Ct:"undefined"!=typeof document?document:void 0};function Dt(t){for(;Array.isArray(t);)t=t[0];return t}function Lt(t,e){return Dt(e[t])}function Ot(t,e){return Dt(e[t.index])}function At(t,e){return t.data[e]}function Et(t,e){return t[e]}function It(t,e){const n=e[t];return at(n)?n:n[0]}function Rt(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Yt(t){return 4==(4&t[2])}function jt(t){return 128==(128&t[2])}function Nt(t,e){return null==e?null:t[e]}function Pt(t){t[18]=0}function Ft(t,e){t[5]+=e;let n=t,i=t[3];for(;null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}const Bt={lFrame:de(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ht(){return Bt.bindingsEnabled}function Vt(){return Bt.lFrame.lView}function zt(){return Bt.lFrame.tView}function Ut(t){Bt.lFrame.contextLView=t}function Wt(){let t=qt();for(;null!==t&&64===t.type;)t=t.parent;return t}function qt(){return Bt.lFrame.currentTNode}function Gt(t,e){const n=Bt.lFrame;n.currentTNode=t,n.isParent=e}function $t(){return Bt.lFrame.isParent}function Xt(){Bt.lFrame.isParent=!1}function Kt(){return Bt.isInCheckNoChangesMode}function Jt(t){Bt.isInCheckNoChangesMode=t}function Qt(){const t=Bt.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Zt(){return Bt.lFrame.bindingIndex}function te(){return Bt.lFrame.bindingIndex++}function ee(t){const e=Bt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function ne(t,e){const n=Bt.lFrame;n.bindingIndex=n.bindingRootIndex=t,ie(e)}function ie(t){Bt.lFrame.currentDirectiveIndex=t}function re(t){const e=Bt.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function se(){return Bt.lFrame.currentQueryIndex}function ae(t){Bt.lFrame.currentQueryIndex=t}function oe(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function le(t,e,n){if(n&k.SkipSelf){let i=e,r=t;for(;i=i.parent,!(null!==i||n&k.Host||(i=oe(r),null===i)||(r=r[15],10&i.type)););if(null===i)return!1;e=i,t=r}const i=Bt.lFrame=ue();return i.currentTNode=e,i.lView=t,!0}function ce(t){const e=ue(),n=t[1];Bt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ue(){const t=Bt.lFrame,e=null===t?null:t.child;return null===e?de(t):e}function de(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function he(){const t=Bt.lFrame;return Bt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const fe=he;function me(){const t=he();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function pe(){return Bt.lFrame.selectedIndex}function be(t){Bt.lFrame.selectedIndex=t}function ge(){const t=Bt.lFrame;return At(t.tView,t.selectedIndex)}function _e(){Bt.lFrame.currentNamespace=xt}function ye(){Bt.lFrame.currentNamespace=null}function ve(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[o]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===e&&(t[2]+=2048,s.call(a)):s.call(a)}const Te=-1;class Me{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function De(t,e,n){const i=Tt(t);let r=0;for(;re){a=s-1;break}}}for(;s>16,i=e;for(;n>0;)i=i[15],n--;return i}let je=!0;function Ne(t){const e=je;return je=t,e}let Pe=0;function Fe(t,e){const n=He(t,e);if(-1!==n)return n;const i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Be(i.data,t),Be(e,null),Be(i.blueprint,null));const r=Ve(t,e),s=t.injectorIndex;if(Ie(r)){const t=Re(r),n=Ye(r,e),i=n[1].data;for(let r=0;r<8;r++)e[s+r]=n[t+r]|i[t+r]}return e[s+8]=r,s}function Be(t,e){t.push(0,0,0,0,0,0,0,0,e)}function He(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ve(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;null!==r;){const t=r[1],e=t.type;if(i=2===e?t.declTNode:1===e?r[6]:null,null===i)return Te;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return Te}function ze(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(W)&&(i=n[W]),null==i&&(i=n[W]=Pe++);const r=255&i,s=1<=0?255&e:$e:e}(n);if("function"==typeof s){if(!le(e,t,i))return i&k.Host?Ue(r,n,i):We(e,n,i,r);try{const t=s();if(null!=t||i&k.Optional)return t;bt(n)}finally{fe()}}else if("number"==typeof s){let r=null,a=He(t,e),o=Te,l=i&k.Host?e[16][6]:null;for((-1===a||i&k.SkipSelf)&&(o=-1===a?Ve(t,e):e[a+8],o!==Te&&Ze(i,!1)?(r=e[1],a=Re(o),e=Ye(o,e)):a=-1);-1!==a;){const t=e[1];if(Qe(s,a,t.data)){const t=Xe(a,e,n,r,i,l);if(t!==Ge)return t}o=e[a+8],o!==Te&&Ze(i,e[1].data[a+8]===l)&&Qe(s,a,e)?(r=t,a=Re(o),e=Ye(o,e)):a=-1}}}return We(e,n,i,r)}const Ge={};function $e(){return new tn(Wt(),Vt())}function Xe(t,e,n,i,r,s){const a=e[1],o=a.data[t+8],l=Ke(o,a,n,null==i?ct(o)&&je:i!=a&&0!=(3&o.type),r&k.Host&&s===o);return null!==l?Je(e,a,l,o):Ge}function Ke(t,e,n,i,r){const s=t.providerIndexes,a=e.data,o=1048575&s,l=t.directiveStart,c=s>>20,u=r?o+c:t.directiveEnd;for(let d=i?o:o+c;d=l&&t.type===n)return d}if(r){const t=a[l];if(t&&dt(t)&&t.type===n)return l}return null}function Je(t,e,n,i){let r=t[n];const s=e.data;if(r instanceof Me){const a=r;a.resolving&&function(t,e){throw new ft("200","Circular dependency in DI detected for "+t)}(pt(s[n]));const o=Ne(a.canSeeViewProviders);a.resolving=!0;const l=a.injectImpl?M(a.injectImpl):null;le(t,i,k.Default);try{r=t[n]=a.factory(void 0,s,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=e.type.prototype;if(i){const i=yt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,i)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,s))}(n,s[n],e)}finally{null!==l&&M(l),Ne(o),a.resolving=!1,fe()}}return r}function Qe(t,e,n){const i=64&t,r=32&t;let s;return s=128&t?i?r?n[e+7]:n[e+6]:r?n[e+5]:n[e+4]:i?r?n[e+3]:n[e+2]:r?n[e+1]:n[e],!!(s&1<{const t=en(m(e));return t?t():null};let n=ht(e);if(null===n){const t=v(e);n=t&&t.factory}return n||null}function nn(t){return L(()=>{const e=t.prototype.constructor,n=e[U]||en(e),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const t=r[U]||en(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t})}function rn(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let i=0;for(;i{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(sn)?t[sn]:Object.defineProperty(t,sn,{value:[]})[sn];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class on{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=b({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const ln=new on("AnalyzeForEntryComponents"),cn=Function;function un(t,e){void 0===e&&(e=t);for(let n=0;nArray.isArray(t)?dn(t,e):e(t))}function hn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function fn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function mn(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function bn(t,e){const n=gn(t,e);if(n>=0)return t[1|n]}function gn(t,e){return function(t,e,n){let i=0,r=t.length>>1;for(;r!==i;){const n=i+(r-i>>1),s=t[n<<1];if(e===s)return n<<1;s>e?r=n:i=n+1}return~(r<<1)}(t,e)}const _n=an("Inject",t=>({token:t})),yn=an("Optional"),vn=an("Self"),wn=an("SkipSelf"),Sn=an("Host"),xn={},Cn=/\n/gm,kn="__source",Tn=l({provide:String,useValue:l});let Mn=void 0;function Dn(t){const e=Mn;return Mn=t,e}function Ln(t,e=k.Default){if(void 0===Mn)throw new Error("inject() must be called from an injection context");return null===Mn?D(t,void 0,e):Mn.get(t,e&k.Optional?null:void 0,e)}function On(t,e=k.Default){return(T||Ln)(m(t),e)}const An=On;function En(t){const e=[];for(let n=0;nt,createScript:t=>t,createScriptURL:t=>t})}catch(e){}return In}())||void 0===e?void 0:e.createHTML(t))||t}class Yn{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see https://g.co/ng/security#xss)"}}class jn extends Yn{getTypeName(){return"HTML"}}class Nn extends Yn{getTypeName(){return"Style"}}class Pn extends Yn{getTypeName(){return"Script"}}class Fn extends Yn{getTypeName(){return"URL"}}class Bn extends Yn{getTypeName(){return"ResourceURL"}}function Hn(t){return t instanceof Yn?t.changingThisBreaksApplicationSecurity:t}function Vn(t,e){const n=zn(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function zn(t){return t instanceof Yn&&t.getTypeName()||null}function Un(t){return new jn(t)}function Wn(t){return new Nn(t)}function qn(t){return new Pn(t)}function Gn(t){return new Fn(t)}function $n(t){return new Bn(t)}class Xn{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Rn(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Kn{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Rn(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=Rn(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let i=e.length-1;0Zn(t.trim())).join(", ")),this.buf.push(" ",e,'="',mi(a),'"')}var i;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();ai.hasOwnProperty(e)&&!ni.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(mi(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const hi=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,fi=/([^\#-~ |!])/g;function mi(t){return t.replace(/&/g,"&").replace(hi,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(fi,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let pi;function bi(t,e){let n=null;try{pi=pi||function(t){const e=new Kn(t);return function(){try{return!!(new window.DOMParser).parseFromString(Rn(""),"text/html")}catch(t){return!1}}()?new Xn(e):e}(t);let i=e?String(e):"";n=pi.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=pi.getInertBodyElement(i)}while(i!==s);return(new di).sanitizeChildren(gi(n)||n)}finally{if(n){const t=gi(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function gi(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var _i=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function yi(t){const e=function(){const t=Vt();return t&&t[12]}();return e?e.sanitize(_i.URL,t)||"":Vn(t,"URL")?Hn(t):Zn(mt(t))}function vi(t){return t.ngDebugContext}function wi(t){return t.ngOriginalError}function Si(t,...e){t.error(...e)}class xi{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t.ngErrorLogger||Si}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?vi(t)?vi(t):this._findContext(wi(t)):null}_findOriginalError(t){let e=wi(t);for(;e&&wi(e);)e=wi(e);return e}}function Ci(t,e){t.__ngContext__=e}const ki=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(j))();function Ti(t){return t instanceof Function?t():t}var Mi=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({});function Di(t,e){return(void 0)(t,e)}function Li(t){const e=t[3];return ot(e)?e[3]:e}function Oi(t){return Ei(t[13])}function Ai(t){return Ei(t[4])}function Ei(t){for(;null!==t&&!ot(t);)t=t[4];return t}function Ii(t,e,n,i,r){if(null!=i){let s,a=!1;ot(i)?s=i:at(i)&&(a=!0,i=i[0]);const o=Dt(i);0===t&&null!==n?null==r?Hi(e,n,o):Bi(e,n,o,r||null,!0):1===t&&null!==n?Bi(e,n,o,r||null,!0):2===t?function(t,e,n){const i=zi(t,e);i&&function(t,e,n,i){Tt(t)?t.removeChild(e,n,i):e.removeChild(n)}(t,i,e,n)}(e,o,a):3===t&&e.destroyNode(o),null!=s&&function(t,e,n,i,r){const s=n[7];s!==Dt(n)&&Ii(e,t,i,s,r);for(let a=st;a0&&(t[n-1][4]=i[4]);const a=fn(t,st+e);Ki(i[1],r=i,r[11],2,null,null),r[0]=null,r[6]=null;const o=a[19];null!==o&&o.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-129}var r;return i}function Ni(t,e){if(!(256&e[2])){const n=e[11];Tt(n)&&n.destroyNode&&Ki(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Pi(t[1],t);for(;e;){let n=null;if(at(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)at(e)&&Pi(e[1],e),e=e[3];null===e&&(e=t),at(e)&&Pi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Pi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let i=0;i=0?i[r=l]():i[r=-l].unsubscribe(),s+=2}else{const t=i[r=n[s+1]];n[s].call(t)}if(null!==i){for(let t=r+1;ts?"":r[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==tr(e,c,0)||2&i&&c!==t){if(ar(i))return!1;a=!0}}}}else{if(!a&&!ar(i)&&!ar(l))return!1;if(a&&ar(l))continue;a=!1,i=l|1&i}}return ar(i)||a}function ar(t){return 0==(1&t)}function or(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&i?r+="."+a:4&i&&(r+=" "+a);else""===r||ar(a)||(e+=ur(s,r),r=""),i=a,s=s||!ar(i);n++}return""!==r&&(e+=ur(s,r)),e}const hr={};function fr(t){mr(zt(),Vt(),pe()+t,Kt())}function mr(t,e,n,i){if(!i)if(3==(3&e[2])){const i=t.preOrderCheckHooks;null!==i&&we(e,i,n)}else{const i=t.preOrderHooks;null!==i&&Se(e,i,0,n)}be(n)}function pr(t,e){return t<<17|e<<2}function br(t){return t>>17&32767}function gr(t){return 2|t}function _r(t){return(131068&t)>>2}function yr(t,e){return-131069&t|e<<2}function vr(t){return 1|t}function wr(t,e){const n=t.contentQueries;if(null!==n)for(let i=0;irt&&mr(t,e,rt,Kt()),n(i,r)}finally{be(s)}}function Lr(t,e,n){if(lt(e)){const i=e.directiveEnd;for(let r=e.directiveStart;r0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=s&&n.push(s),n.push(i,r,a)}}function Fr(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Br(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Hr(t,e,n){if(n){if(e.exportAs)for(let i=0;i0&&Xr(n)}}function Xr(t){for(let n=Oi(t);null!==n;n=Ai(n))for(let t=st;t0&&Xr(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&Xr(i)}}function Kr(t,e){const n=It(e,t),i=n[1];!function(t,e){for(let n=e.length;nPromise.resolve(null))();function is(t){return t[7]||(t[7]=[])}function rs(t){return t.cleanup||(t.cleanup=[])}function ss(t,e,n){return(null===t||dt(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}function as(t,e){const n=t[9],i=n?n.get(xi,null):null;i&&i.handleError(e)}function os(t,e,n,i,r){for(let s=0;sthis.processProvider(n,t,e)),dn([t],t=>this.processInjectorType(t,[],r)),this.records.set(us,Ss(void 0,this));const s=this.records.get(hs);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof t?null:u(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=xn,n=k.Default){this.assertNotDestroyed();const i=Dn(this);try{if(!(n&k.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(r=t)||"object"==typeof r&&r instanceof on)&&_(t);e=n&&this.injectableDefInScope(n)?Ss(vs(t),fs):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&k.Self?gs():this.parent).get(t,e=n&k.Optional&&e===xn?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(u(t)),i)throw s;return function(t,e,n,i){const r=t.ngTempTokenPath;throw e[kn]&&r.unshift(e[kn]),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let r=u(e);if(Array.isArray(e))r=e.map(u).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):u(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(Cn,"\n ")}`}("\n"+t.message,r,n,i),t.ngTokenPath=r,t.ngTempTokenPath=null,t}(s,t,"R3InjectorError",this.source)}throw s}finally{Dn(i)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(u(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=m(t)))return!1;let i=v(t);const r=null==i&&t.ngModule||void 0,s=void 0===r?t:r,a=-1!==n.indexOf(s);if(void 0!==r&&(i=v(r)),null==i)return!1;if(null!=i.imports&&!a){let t;n.push(s);try{dn(i.imports,i=>{this.processInjectorType(i,e,n)&&(void 0===t&&(t=[]),t.push(i))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,i||ps))}}this.injectorDefTypes.add(s),this.records.set(s,Ss(i.factory,fs));const o=i.providers;if(null!=o&&!a){const e=t;dn(o,t=>this.processProvider(t,e,o))}return void 0!==r&&void 0!==t.providers}processProvider(t,e,n){let i=Cs(t=m(t))?t:m(t&&t.provide);const r=function(t,e,n){return xs(t)?Ss(void 0,t.useValue):Ss(ws(t),fs)}(t);if(Cs(t)||!0!==t.multi)this.records.get(i);else{let e=this.records.get(i);e||(e=Ss(void 0,fs,!0),e.factory=()=>En(e.multi),this.records.set(i,e)),i=t,e.multi.push(t)}this.records.set(i,r)}hydrate(t,e){var n;return e.value===fs&&(e.value=ms,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function vs(t){const e=_(t),n=null!==e?e.factory:ht(t);if(null!==n)return n;const i=v(t);if(null!==i)return i.factory;if(t instanceof on)throw new Error(`Token ${u(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=mn(e,"?");throw new Error(`Can't resolve all parameters for ${u(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[w]||t[x]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function ws(t,e,n){let i=void 0;if(Cs(t)){const e=m(t);return ht(e)||vs(e)}if(xs(t))i=()=>m(t.useValue);else if((r=t)&&r.useFactory)i=()=>t.useFactory(...En(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>On(m(t.useExisting));else{const e=m(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return ht(e)||vs(e);i=()=>new e(...En(t.deps))}var r;return i}function Ss(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function xs(t){return null!==t&&"object"==typeof t&&Tn in t}function Cs(t){return"function"==typeof t}const ks=function(t,e,n){return function(t,e=null,n=null,i){const r=_s(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)};let Ts=(()=>{class t{static create(t,e){return Array.isArray(t)?ks(t,e,""):ks(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=xn,t.NULL=new ds,t.\u0275prov=b({token:t,providedIn:"any",factory:()=>On(us)}),t.__NG_ELEMENT_ID__=-1,t})();function Ms(t,e){ve(Rt(t)[1],Wt())}function Ds(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const i=[t];for(;e;){let r=void 0;if(dt(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);const e=t;e.inputs=Ls(t.inputs),e.declaredInputs=Ls(t.declaredInputs),e.outputs=Ls(t.outputs);const n=r.hostBindings;n&&Es(t,n);const s=r.viewQuery,a=r.contentQueries;if(s&&Os(t,s),a&&As(t,a),c(t.inputs,r.inputs),c(t.declaredInputs,r.declaredInputs),c(t.outputs,r.outputs),dt(r)&&r.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(r.data.animation)}}const e=r.features;if(e)for(let i=0;i=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=Ae(r.hostAttrs,n=Ae(n,r.hostAttrs))}}(i)}function Ls(t){return t===N?{}:t===P?[]:t}function Os(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function As(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function Es(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}let Is=null;function Rs(){if(!Is){const t=j.Symbol;if(t&&t.iterator)Is=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;eo(Dt(t[i.index])).target:i.index;if(Tt(n)){let a=null;if(!o&&l&&(a=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let s=0;sn?t[n]:null}"string"==typeof t&&(s+=2)}return null}(t,e,r,i.index)),null!==a)(a.__ngLastListenerFn__||a).__ngNextListenerFn__=s,a.__ngLastListenerFn__=s,d=!1;else{s=la(i,e,s,!1);const t=n.listen(f.name||m,r,s);u.push(s,t),c&&c.push(r,b,p,p+1)}}else s=la(i,e,s,!0),m.addEventListener(r,s,a),u.push(s),c&&c.push(r,b,p,a)}else s=la(i,e,s,!1);const h=i.outputs;let f;if(d&&null!==h&&(f=h[r])){const t=f.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,Bt.lFrame.contextLView))[8]}(t)}function ua(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let r=0;r=0}const _a={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ya(t){return t.substring(_a.key,_a.keyEnd)}function va(t,e){const n=_a.textEnd;return n===e?-1:(e=_a.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,_a.key=e,n),wa(t,e,n))}function wa(t,e,n){for(;e=0;n=va(e,n))pn(t,ya(e),!0)}function ka(t,e,n,i){const r=Vt(),s=zt(),a=ee(2);s.firstUpdatePass&&Ma(s,t,a,i),e!==hr&&Fs(r,a,e)&&Oa(s,s.data[pe()],r,r[11],t,r[a+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=u(Hn(t)))),t}(e,n),i,a)}function Ta(t,e){return e>=t.expandoStartIndex}function Ma(t,e,n,i){const r=t.data;if(null===r[n+1]){const s=r[pe()],a=Ta(t,n);Ia(s,i)&&null===e&&!a&&(e=!1),e=function(t,e,n,i){const r=re(t);let s=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=La(n=Da(null,t,e,n,i),e.attrs,i),s=null);else{const a=e.directiveStylingLast;if(-1===a||t[a]!==r)if(n=Da(r,t,e,n,i),null===s){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==_r(i))return t[br(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Da(null,t,e,n[1],i),n=La(n,e.attrs,i),function(t,e,n,i){t[br(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else s=function(t,e,n){let i=void 0;const r=e.directiveEnd;for(let s=1+e.directiveStylingLast;s0)&&(u=!0)}else c=n;if(r)if(0!==l){const e=br(t[o+1]);t[i+1]=pr(e,o),0!==e&&(t[e+1]=yr(t[e+1],i)),t[o+1]=131071&t[o+1]|i<<17}else t[i+1]=pr(o,0),0!==o&&(t[o+1]=yr(t[o+1],i)),o=i;else t[i+1]=pr(l,0),0===o?o=i:t[l+1]=yr(t[l+1],i),l=i;u&&(t[i+1]=gr(t[i+1])),ba(t,c,i,!0),ba(t,c,i,!1),function(t,e,n,i,r){const s=r?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof e&&gn(s,e)>=0&&(n[i+1]=vr(n[i+1]))}(e,c,t,i,s),a=pr(o,l),s?e.classBindings=a:e.styleBindings=a}(r,s,e,n,a,i)}}function Da(t,e,n,i,r){let s=null;const a=n.directiveEnd;let o=n.directiveStylingLast;for(-1===o?o=n.directiveStart:o++;o0;){const e=t[r],s=Array.isArray(e),l=s?e[1]:e,c=null===l;let u=n[r+1];u===hr&&(u=c?pa:void 0);let d=c?bn(u,i):l===i?u:void 0;if(s&&!Ea(d)&&(d=bn(e,i)),Ea(d)&&(o=d,a))return o;const h=t[r+1];r=a?br(h):_r(h)}if(null!==e){let t=s?e.residualClasses:e.residualStyles;null!=t&&(o=bn(t,i))}return o}function Ea(t){return void 0!==t}function Ia(t,e){return 0!=(t.flags&(e?16:32))}function Ra(t,e=""){const n=Vt(),i=zt(),r=t+rt,s=i.firstCreatePass?xr(i,r,1,e,null):i.data[r],a=n[r]=function(t,e){return Tt(t)?t.createText(e):t.createTextNode(e)}(n[11],e);qi(i,n,a,s),Gt(s,!1)}function Ya(t){return ja("",t,""),Ya}function ja(t,e,n){const i=Vt(),r=Vs(i,t,e,n);return r!==hr&&ls(i,pe(),r),ja}function Na(t,e,n,i,r){const s=Vt(),a=function(t,e,n,i,r,s){const a=Bs(t,Zt(),n,r);return ee(2),a?e+mt(n)+i+mt(r)+s:hr}(s,t,e,n,i,r);return a!==hr&&ls(s,pe(),a),Na}function Pa(t,e,n,i,r,s,a){const o=Vt(),l=function(t,e,n,i,r,s,a,o){const l=function(t,e,n,i,r){const s=Bs(t,e,n,i);return Fs(t,e+2,r)||s}(t,Zt(),n,r,a);return ee(3),l?e+mt(n)+i+mt(r)+s+mt(a)+o:hr}(o,t,e,n,i,r,s,a);return l!==hr&&ls(o,pe(),l),Pa}function Fa(t,e,n,i,r,s,a,o,l){const c=Vt(),u=function(t,e,n,i,r,s,a,o,l,c){const u=function(t,e,n,i,r,s){const a=Bs(t,e,n,i);return Bs(t,e+2,r,s)||a}(t,Zt(),n,r,a,l);return ee(4),u?e+mt(n)+i+mt(r)+s+mt(a)+o+mt(l)+c:hr}(c,t,e,n,i,r,s,a,o,l);return u!==hr&&ls(c,pe(),u),Fa}function Ba(t,e,n){!function(t,e,n,i){const r=zt(),s=ee(2);r.firstUpdatePass&&Ma(r,null,s,i);const a=Vt();if(n!==hr&&Fs(a,s,n)){const o=r.data[pe()];if(Ia(o,i)&&!Ta(r,s)){let t=o.classesWithoutHost;null!==t&&(n=d(t,n||"")),$s(r,o,a,n,i)}else!function(t,e,n,i,r,s,a,o){r===hr&&(r=pa);let l=0,c=0,u=0 null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Za=t.toLowerCase().replace(/_/g,"-"))}function eo(t,e,n,i,r){if(t=m(t),Array.isArray(t))for(let s=0;s>20;if(Cs(t)||!t.multi){const i=new Me(l,r,Ws),f=ro(o,e,r?u:u+h,d);-1===f?(ze(Fe(c,a),s,o),no(s,t,e.length),e.push(o),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(i),a.push(i)):(n[f]=i,a[f]=i)}else{const f=ro(o,e,u+h,d),m=ro(o,e,u,u+h),p=f>=0&&n[f],b=m>=0&&n[m];if(r&&!b||!r&&!p){ze(Fe(c,a),s,o);const u=function(t,e,n,i,r){const s=new Me(t,n,Ws);return s.multi=[],s.index=e,s.componentProviders=0,io(s,r,i&&!n),s}(r?ao:so,n.length,r,i,l);!r&&b&&(n[m].providerFactory=u),no(s,t,e.length,0),e.push(o),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(u),a.push(u)}else no(s,t,f>-1?f:m,io(n[r?m:f],l,!r&&i));!r&&i&&b&&n[m].componentProviders++}}}function no(t,e,n,i){const r=Cs(e);if(r||e.useClass){const s=(e.useClass||e).prototype.ngOnDestroy;if(s){const a=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=a.indexOf(n);-1===t?a.push(n,[i,s]):a[t+1].push(i,s)}else a.push(n,s)}}}function io(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ro(t,e,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(t,e,n){const i=zt();if(i.firstCreatePass){const r=dt(t);eo(n,i.data,i.blueprint,r,!0),eo(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class co{}class uo{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${u(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let ho=(()=>{class t{}return t.NULL=new uo,t})();function fo(...t){}function mo(t,e){return new bo(Ot(t,e))}const po=function(){return mo(Wt(),Vt())};let bo=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=po,t})();class go{}let _o=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>yo(),t})();const yo=function(){const t=Vt(),e=It(Wt().index,t);return function(t){return t[11]}(at(e)?e:t)};let vo=(()=>{class t{}return t.\u0275prov=b({token:t,providedIn:"root",factory:()=>null}),t})();class wo{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const So=new wo("11.0.8");class xo{constructor(){}supports(t){return js(t)}create(t){return new ko(t)}}const Co=(t,e)=>e;class ko{constructor(t){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||Co}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const s=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,t,i,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),s=!0),r=r._next,e++}),this.length=e;return this._truncate(r),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,i){let r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):t=this._addAfter(new To(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}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)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Do),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Do),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class To{constructor(t,e){this.item=t,this.trackById=e,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}}class Mo{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Do{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Mo,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Lo(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Eo(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Eo{constructor(t){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}}let Io=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new wn,new yn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=b({token:t,providedIn:"root",factory:()=>new t([new xo])}),t})(),Ro=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new wn,new yn]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=b({token:t,providedIn:"root",factory:()=>new t([new Oo])}),t})();function Yo(t,e,n,i,r=!1){for(;null!==n;){const s=e[n.index];if(null!==s&&i.push(Dt(s)),ot(s))for(let t=st;t-1&&(ji(t,n),fn(e,n))}this._attachedToViewContainer=!1}Ni(this._lView[1],this._lView)}onDestroy(t){Rr(this._lView[1],this._lView,null,t)}markForCheck(){Qr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Zr(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Jt(!0);try{Zr(t,e,n)}finally{Jt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Ki(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class No extends jo{constructor(t){super(t),this._view=t}detectChanges(){ts(this._view)}checkNoChanges(){!function(t){Jt(!0);try{ts(t)}finally{Jt(!1)}}(this._view)}get context(){return null}}const Po=Bo;let Fo=(()=>{class t{}return t.__NG_ELEMENT_ID__=Po,t.__ChangeDetectorRef__=!0,t})();function Bo(t=!1){return function(t,e,n){if(!n&&ct(t)){const n=It(t.index,e);return new jo(n,n)}return 47&t.type?new jo(e[16],e):null}(Wt(),Vt(),t)}const Ho=[new Oo],Vo=new Io([new xo]),zo=new Ro(Ho),Uo=function(){return $o(Wt(),Vt())};let Wo=(()=>{class t{}return t.__NG_ELEMENT_ID__=Uo,t})();const qo=Wo,Go=class extends qo{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Sr(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(e)),kr(e,n,t),new jo(n)}};function $o(t,e){return 4&t.type?new Go(e,t,mo(t,e)):null}class Xo{}class Ko{}const Jo=function(){return il(Wt(),Vt())};let Qo=(()=>{class t{}return t.__NG_ELEMENT_ID__=Jo,t})();const Zo=Qo,tl=class extends Zo{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return mo(this._hostTNode,this._hostLView)}get injector(){return new tn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ve(this._hostTNode,this._hostLView);if(Ie(t)){const e=Ye(t,this._hostLView),n=Re(t);return new tn(e[1].data[n+8],e)}return new tn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=el(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-st}createEmbeddedView(t,e,n){const i=t.createEmbeddedView(e||{});return this.insert(i,n),i}createComponent(t,e,n,i,r){const s=n||this.parentInjector;if(!r&&null==t.ngModule&&s){const t=s.get(Xo,null);t&&(r=t)}const a=t.create(s,i,void 0,r);return this.insert(a.hostView,e),a}insert(t,e){const n=t._lView,i=n[1];if(ot(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],i=new tl(e,e[6],e[3]);i.detach(i.indexOf(t))}}const r=this._adjustIndex(e),s=this._lContainer;!function(t,e,n,i){const r=st+i,s=n.length;i>0&&(n[r-1][4]=e),iki});class ll extends co{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(dr).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return al(this.componentDef.inputs)}get outputs(){return al(this.componentDef.outputs)}create(t,e,n,i){const r=(i=i||this.ngModule)?function(t,e){return{get:(n,i,r)=>{const s=t.get(n,rl,r);return s!==rl||i===rl?s:e.get(n,i,r)}}}(t,i.injector):t,s=r.get(go,Mt),a=r.get(vo,null),o=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(Tt(t))return t.selectRootElement(e,n===A.ShadowDom);let i="string"==typeof e?t.querySelector(e):e;return i.textContent="",i}(o,n,this.componentDef.encapsulation):Ri(s.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?xt:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,d={components:[],scheduler:ki,clean:ns,playerHandler:null,flags:0},h=Ir(0,null,null,1,0,null,null,null,null,null),f=Sr(null,h,d,u,null,null,s,o,a,r);let m,p;ce(f);try{const t=function(t,e,n,i,r,s){const a=n[1];n[20]=t;const o=xr(a,20,2,"#host",null),l=o.mergedAttrs=e.hostAttrs;null!==l&&(cs(o,l,!0),null!==t&&(De(r,t,l),null!==o.classes&&Zi(r,t,o.classes),null!==o.styles&&Qi(r,t,o.styles)));const c=i.createRenderer(t,e),u=Sr(n,Er(e),null,e.onPush?64:16,n[20],o,i,c,null,null);return a.firstCreatePass&&(ze(Fe(o,n),a,e.type),Br(a,o),Vr(o,n.length,1)),Jr(n,u),n[20]=u}(c,this.componentDef,f,s,o);if(c)if(n)De(o,c,["ng-version",So.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let i=1,r=2;for(;i0&&Zi(o,c,e.join(" "))}if(p=At(h,rt),void 0!==e){const t=p.projection=[];for(let n=0;nt(a,e)),e.contentQueries){const t=Wt();e.contentQueries(1,a,t.directiveStart)}const o=Wt();return!s.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(be(o.index),Pr(n[1],o,0,o.directiveStart,o.directiveEnd,e),Fr(e,a)),a}(t,this.componentDef,f,d,[Ms]),kr(h,f,null)}finally{me()}return new cl(this.componentType,m,mo(p,f),f,p)}}class cl extends class{}{constructor(t,e,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.instance=e,this.hostView=this.changeDetectorRef=new No(i),this.componentType=t}get injector(){return new tn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const ul=new Map;class dl extends Xo{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new sl(this);const n=it(t),i=t[z]||null;i&&to(i),this._bootstrapComponents=Ti(n.bootstrap),this._r3Injector=_s(t,e,[{provide:Xo,useValue:this},{provide:ho,useValue:this.componentFactoryResolver}],u(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Ts.THROW_IF_NOT_FOUND,n=k.Default){return t===Ts||t===Xo||t===us?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class hl extends Ko{constructor(t){super(),this.moduleType=t,null!==it(t)&&function(t){const e=new Set;!function t(n){const i=it(n,!0),r=i.id;null!==r&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${u(e)} vs ${u(e.name)}`)}(r,ul.get(r),n),ul.set(r,n));const s=Ti(i.imports);for(const a of s)e.has(a)||(e.add(a),t(a))}(t)}(t)}create(t){return new dl(this.moduleType,t)}}function fl(t,e,n){const i=Qt()+t,r=Vt();return r[i]===hr?Ps(r,i,n?e.call(n):e()):function(t,e){return t[e]}(r,i)}function ml(t,e,n,i){return gl(Vt(),Qt(),t,e,n,i)}function pl(t,e,n,i,r){return _l(Vt(),Qt(),t,e,n,i,r)}function bl(t,e){const n=t[e];return n===hr?void 0:n}function gl(t,e,n,i,r,s){const a=e+n;return Fs(t,a,r)?Ps(t,a+1,s?i.call(s,r):i(r)):bl(t,a+1)}function _l(t,e,n,i,r,s,a){const o=e+n;return Bs(t,o,r,s)?Ps(t,o+2,a?i.call(a,r,s):i(r,s)):bl(t,o+2)}function yl(t,e){const n=zt();let i;const r=t+rt;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}throw new ft("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const s=i.factory||(i.factory=ht(i.type)),a=M(Ws);try{const t=Ne(!1),e=s();return Ne(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,Vt(),r,e),e}finally{M(a)}}function vl(t,e,n){const i=t+rt,r=Vt(),s=Et(r,i);return xl(r,Sl(r,i)?gl(r,Qt(),e,s.transform,n,s):s.transform(n))}function wl(t,e,n,i){const r=t+rt,s=Vt(),a=Et(s,r);return xl(s,Sl(s,r)?_l(s,Qt(),e,a.transform,n,i,a):a.transform(n,i))}function Sl(t,e){return t[1].data[e].pure}function xl(t,e){return Ys.isWrapped(e)&&(e=Ys.unwrap(e),t[Zt()]=hr),e}const Cl=class extends i.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i,s=t=>null,a=()=>null;t&&"object"==typeof t?(i=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(s=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(a=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(s=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(a=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const o=super.subscribe(i,s,a);return t instanceof r.a&&t.add(o),o}};function kl(){return this._results[Rs()]()}class Tl{constructor(){this.dirty=!0,this._results=[],this.changes=new Cl,this.length=0;const t=Rs(),e=Tl.prototype;e[t]||(e[t]=kl)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=un(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class Ml{constructor(t){this.queryList=t,this.matches=null}clone(){return new Ml(this.queryList)}setDirty(){this.queryList.setDirty()}}class Dl{constructor(t=[]){this.queries=t}createEmbeddedView(t){const e=t.queries;if(null!==e){const n=null!==t.contentQueries?t.contentQueries[0]:e.length,i=[];for(let t=0;t0)i.push(a[t/2]);else{const r=s[t+1],a=e[-n];for(let t=st;t{class t{constructor(t){this.appInits=t,this.resolve=fo,this.reject=fo,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(On($l,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();const Kl=new on("AppId"),Jl={provide:Kl,useFactory:function(){return`${Ql()}${Ql()}${Ql()}`},deps:[]};function Ql(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Zl=new on("Platform Initializer"),tc=new on("Platform ID"),ec=new on("appBootstrapListener");let nc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();const ic=new on("LocaleId"),rc=new on("DefaultCurrencyCode");class sc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const ac=function(t){return new hl(t)},oc=ac,lc=function(t){return Promise.resolve(ac(t))},cc=function(t){const e=ac(t),n=Ti(it(t).declarations).reduce((t,e)=>{const n=nt(e);return n&&t.push(new ll(n)),t},[]);return new sc(e,n)},uc=cc,dc=function(t){return Promise.resolve(cc(t))};let hc=(()=>{class t{constructor(){this.compileModuleSync=oc,this.compileModuleAsync=lc,this.compileModuleAndAllComponentsSync=uc,this.compileModuleAndAllComponentsAsync=dc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();const fc=(()=>Promise.resolve(0))();function mc(t){"undefined"==typeof Zone?fc.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class pc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Cl(!1),this.onMicrotaskEmpty=new Cl(!1),this.onStable=new Cl(!1),this.onError=new Cl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=e,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function(){let t=j.requestAnimationFrame,e=j.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(j,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,_c(t),gc(t)},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),_c(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,i,r,s,a,o)=>{try{return yc(t),n.invokeTask(r,s,a,o)}finally{e&&"eventTask"===s.type&&e(),vc(t)}},onInvoke:(e,n,i,r,s,a,o)=>{try{return yc(t),e.invoke(i,r,s,a,o)}finally{vc(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,_c(t),gc(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular(()=>t.onError.emit(r)),!1)})}(n)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!pc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(pc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,t,bc,fo,fo);try{return r.runTask(s,e,n)}finally{r.cancelTask(s)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const bc={};function gc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function _c(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function yc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function vc(t){t._nesting--,gc(t)}class wc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Cl,this.onMicrotaskEmpty=new Cl,this.onStable=new Cl,this.onError=new Cl}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,i){return t.apply(e,n)}}let Sc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{pc.assertNotInAngularZone(),mc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())mc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let i=-1;e&&e>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==i),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}whenStable(t,e,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(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(On(pc))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})(),xc=(()=>{class t{constructor(){this._applications=new Map,Mc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Mc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();class Cc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function kc(t){Mc=t}let Tc,Mc=new Cc,Dc=!0,Lc=!1;function Oc(){return Lc=!0,Dc}function Ac(){if(Lc)throw new Error("Cannot enable prod mode after platform setup.");Dc=!1}const Ec=new on("AllowMultipleToken");class Ic{constructor(t,e){this.name=t,this.token=e}}function Rc(t,e,n=[]){const i="Platform: "+e,r=new on(i);return(e=[])=>{let s=Yc();if(!s||s.injector.get(Ec,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{const t=n.concat(e).concat({provide:r,useValue:!0},{provide:hs,useValue:"platform"});!function(t){if(Tc&&!Tc.destroyed&&!Tc.injector.get(Ec,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Tc=t.get(jc);const e=t.get(Zl,null);e&&e.forEach(t=>t())}(Ts.create({providers:t,name:i}))}return function(t){const e=Yc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function Yc(){return Tc&&!Tc.destroyed?Tc:null}let jc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new wc:("zone.js"===t?void 0:t)||new pc({enableLongStackTrace:Oc(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),i=[{provide:pc,useValue:n}];return n.run(()=>{const e=Ts.create({providers:i,parent:this.injector,name:t.moduleType.name}),r=t.create(e),s=r.injector.get(xi,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{s.handleError(t)}});r.onDestroy(()=>{Fc(this._modules,r),t.unsubscribe()})}),function(t,e,n){try{const i=n();return na(i)?i.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):i}catch(i){throw e.runOutsideAngular(()=>t.handleError(i)),i}}(s,n,()=>{const t=r.injector.get(Xl);return t.runInitializers(),t.donePromise.then(()=>(to(r.injector.get(ic,Qa)||Qa),this._moduleDoBootstrap(r),r))})})}bootstrapModule(t,e=[]){const n=Nc({},e);return function(t,e,n){const i=new hl(n);return Promise.resolve(i)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Pc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${u(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(On(Ts))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();function Nc(t,e){return Array.isArray(e)?e.reduce(Nc,t):Object.assign(Object.assign({},t),e)}let Pc=(()=>{class t{constructor(t,e,n,i,r,l){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new s.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),u=new s.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{pc.assertNotInAngularZone(),mc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{pc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(a.a)(c,u.pipe(Object(o.a)()))}bootstrap(t,e){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.");let n;n=t instanceof co?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const i=n.isBoundToModule?void 0:this._injector.get(Xo),r=n.create(Ts.NULL,[],e||n.selector,i),s=r.location.nativeElement,a=r.injector.get(Sc,null),o=a&&r.injector.get(xc);return a&&o&&o.registerApplication(s,a),r.onDestroy(()=>{this.detachView(r.hostView),Fc(this.components,r),o&&o.unregisterApplication(s)}),this._loadComponent(r),Oc()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Fc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ec,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(On(pc),On(nc),On(Ts),On(xi),On(ho),On(Xl))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();function Fc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class Bc{}class Hc{}const Vc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let zc=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Vc}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,i]=t.split("#");return void 0===i&&(i="default"),n("zn8P")(e).then(t=>t[i]).then(t=>Uc(t,e,i)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,i]=t.split("#"),r="NgFactory";return void 0===i&&(i="default",r=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[i+r]).then(t=>Uc(t,e,i))}}return t.\u0275fac=function(e){return new(e||t)(On(hc),On(Hc,8))},t.\u0275prov=b({token:t,factory:t.\u0275fac}),t})();function Uc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}class Wc extends Fo{}class qc extends Wc{}const Gc=function(t){return null},$c=Rc(null,"core",[{provide:tc,useValue:"unknown"},{provide:jc,deps:[Ts]},{provide:xc,deps:[]},{provide:nc,deps:[]}]),Xc=[{provide:Pc,useClass:Pc,deps:[pc,nc,Ts,xi,ho,Xl]},{provide:ol,deps:[pc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Xl,useClass:Xl,deps:[[new yn,$l]]},{provide:hc,useClass:hc,deps:[]},Jl,{provide:Io,useFactory:function(){return Vo},deps:[]},{provide:Ro,useFactory:function(){return zo},deps:[]},{provide:ic,useFactory:function(t){return to(t=t||"undefined"!=typeof $localize&&$localize.locale||Qa),t},deps:[[new _n(ic),new yn,new wn]]},{provide:rc,useValue:"USD"}];let Kc=(()=>{class t{constructor(t){}}return t.\u0275mod=J({type:t}),t.\u0275inj=g({factory:function(e){return new(e||t)(On(Pc))},providers:Xc}),t})()},fzPg:function(t,e,n){!function(t){"use strict";t.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"))},gRHU:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("2fFW"),r=n("NJ4a");const s={closed:!0,next(t){},error(t){if(i.a.useDeprecatedSynchronousErrorHandling)throw t;Object(r.a)(t)},complete(){}}},gVVK:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+(1===t?e?"sekundo":"sekundi":2===t?e||i?"sekundi":"sekundah":t<5?e||i?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return r+(1===t?e?"minuta":"minuto":2===t?e||i?"minuti":"minutama":t<5?e||i?"minute":"minutami":e||i?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return r+(1===t?e?"ura":"uro":2===t?e||i?"uri":"urama":t<5?e||i?"ure":"urami":e||i?"ur":"urami");case"d":return e||i?"en dan":"enim dnem";case"dd":return r+(1===t?e||i?"dan":"dnem":2===t?e||i?"dni":"dnevoma":e||i?"dni":"dnevi");case"M":return e||i?"en mesec":"enim mesecem";case"MM":return r+(1===t?e||i?"mesec":"mesecem":2===t?e||i?"meseca":"mesecema":t<5?e||i?"mesece":"meseci":e||i?"mesecev":"meseci");case"y":return e||i?"eno leto":"enim letom";case"yy":return r+(1===t?e||i?"leto":"letom":2===t?e||i?"leti":"letoma":t<5?e||i?"leta":"leti":e||i?"let":"leti")}}t.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gekB:function(t,e,n){!function(t){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function i(t,i,r,s){var a="";switch(r){case"s":return s?"muutaman sekunnin":"muutama sekunti";case"ss":a=s?"sekunnin":"sekuntia";break;case"m":return s?"minuutin":"minuutti";case"mm":a=s?"minuutin":"minuuttia";break;case"h":return s?"tunnin":"tunti";case"hh":a=s?"tunnin":"tuntia";break;case"d":return s?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":a=s?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return s?"kuukauden":"kuukausi";case"MM":a=s?"kuukauden":"kuukautta";break;case"y":return s?"vuoden":"vuosi";case"yy":a=s?"vuoden":"vuotta"}return function(t,i){return t<10?i?n[t]:e[t]:t}(t,s)+" "+a}t.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(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return"\u0645"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},hKrs:function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},honF:function(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return t.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},week:{dow:1,doy:4}})}(n("wd/R"))},iEDd:function(t,e,n){!function(t){"use strict";t.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(t){return 0===t.indexOf("un")?"n"+t:"en "+t},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(t,e,n){!function(t){"use strict";var e="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],r=/^(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;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,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(t,e,n){!function(t){"use strict";t.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(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.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(t,e,n){return t>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(t){return"\u03bc"===(t+"").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(t,e){var n,i=this._calendarEl[t],r=e&&e.hours();return n=i,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(e)),i.replace("{}",r%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(t,e,n){!function(t){"use strict";var e="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 r(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function s(t,e,n){var i=t+" ";switch(n){case"ss":return i+(r(t)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return i+(r(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return i+(r(t)?"godziny":"godzin");case"ww":return i+(r(t)?"tygodnie":"tygodni");case"MM":return i+(r(t)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return i+(r(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,i){return t?/D MMMM/.test(i)?n[t.month()]:e[t.month()]:e},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:s,m:s,mm:s,h:s,hh:s,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:s,M:"miesi\u0105c",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jZKg:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var i=n("HDdC"),r=n("quSY");function s(t,e){return new i.a(n=>{const i=new r.a;let s=0;return i.add(e.schedule(function(){s!==t.length?(n.next(t[s++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},jfSC:function(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(t)},meridiem:function(t,e,n){return t<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(t){return t.replace(/[\u06f0-\u06f9]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jnO4:function(t,e,n){!function(t){"use strict";var e={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(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={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"]},s=function(t){return function(e,n,s,a){var o=i(e),l=r[t][i(e)];return 2===o&&(l=l[n?0:1]),l.replace(/%d/i,e)}},a=["\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"];t.defineLocale("ar",{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(t){return"\u0645"===t},meridiem:function(t,e,n){return t<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:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(t){return n[t]}).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},kEOa:function(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e&&t>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&t<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<10?"\u09b8\u0995\u09be\u09b2":t<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kJWO:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kOpN:function(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;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(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},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"))},kiQV:function(t){t.exports=JSON.parse('{"a":"1.0.08"}')},l5ep:function(t,e,n){!function(t){"use strict";t.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(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n("wd/R"))},lJxs:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new s(t,e))}}class s{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new a(t,this.project,this.thisArg))}}class a extends i.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},lXzo:function(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+(i=+t,r={ss:e?"\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:e?"\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?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}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];t.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(t){if(t.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(t){if(t.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:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0438":t<12?"\u0443\u0442\u0440\u0430":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";default:return t}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){switch(n){case"s":return e?"\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 t+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return t+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return t+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return t+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return t+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return t+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return t}}t.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(t){return"\u04ae\u0425"===t},meridiem:function(t,e,n){return t<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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" \u04e9\u0434\u04e9\u0440";default:return t}}})}(n("wd/R"))},lgnt:function(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},loYQ:function(t,e,n){!function(t){"use strict";var e={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"};t.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(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(t){return n[t]})},postformat:function(t){return t.replace(/\d/g,function(t){return e[t]})},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(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e?t<4?t:t+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?t:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?t>=3?t:t+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<6?"\u09ad\u09cb\u09b0":t<12?"\u09b8\u0995\u09be\u09b2":t<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<18?"\u09ac\u09bf\u0995\u09be\u09b2":t<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},lyxo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=" ";return(t%100>=20||t>=100&&t%100==0)&&(i=" de "),t+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}t.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:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n("wd/R"))},n6bG:function(t,e,n){"use strict";function i(t){return"function"==typeof t}n.d(e,"a",function(){return i})},ngJS:function(t,e,n){"use strict";n.d(e,"a",function(){return i});const i=t=>e=>{for(let n=0,i=t.length;n=3&&t%100<=10?3:t%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(t){return function(i,r,s,a){var o=e(i),l=n[t][e(i)];return 2===o&&(l=l[r?0:1]),l.replace(/%d/i,i)}},r=["\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"];t.defineLocale("ar-dz",{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(t){return"\u0645"===t},meridiem:function(t,e,n){return t<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(t){return t.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n("wd/R"))},oB13:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n("XNiG"),r=n("HDdC"),s=(n("7o/Q"),n("quSY")),a=n("x+ZX");class o extends r.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new s.a,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed&&(this._connection=null,t=s.a.EMPTY)),t}refCount(){return Object(a.a)()(this)}}const l=(()=>{const t=o.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class c extends i.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function u(t,e){return function(n){let i;if(i="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new d(i,e));const r=Object.create(n,l);return r.source=n,r.subjectFactory=i,r}}class d{constructor(t,e){this.subjectFactory=t,this.selector=e}call(t,e){const{selector:n}=this,i=this.subjectFactory(),r=n(i).subscribe(t);return r.add(e.subscribe(i)),r}}},"p/rL":function(t,e,n){!function(t){"use strict";t.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"))},pxpQ:function(t,e,n){"use strict";n.d(e,"b",function(){return s}),n.d(e,"a",function(){return o});var i=n("7o/Q"),r=n("WMd4");function s(t,e=0){return function(n){return n.lift(new a(t,e))}}class a{constructor(t,e=0){this.scheduler=t,this.delay=e}call(t,e){return e.subscribe(new o(t,this.scheduler,this.delay))}}class o extends i.a{constructor(t,e,n=0){super(t),this.scheduler=e,this.delay=n}static dispatch(t){const{notification:e,destination:n}=t;e.observe(n),this.unsubscribe()}scheduleMessage(t){this.destination.add(this.scheduler.schedule(o.dispatch,this.delay,new l(t,this.destination)))}_next(t){this.scheduleMessage(r.a.createNext(t))}_error(t){this.scheduleMessage(r.a.createError(t)),this.unsubscribe()}_complete(){this.scheduleMessage(r.a.createComplete()),this.unsubscribe()}}class l{constructor(t,e){this.notification=t,this.destination=e}}},"q/0M":function(t,e,n){"use strict";function i(){for(var t=0,e=0,n=arguments.length;e=(null!=i?i:e.logLevel)&&t({level:a[n].toLowerCase(),message:o,args:r,type:e.name})}},i=0,r=s;i=0}function m(){var t=o();return t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0}function p(){return o().indexOf("MSAppHost/")>=0}var b=function(t){function e(n,i,r){var s=t.call(this,i)||this;return s.code=n,s.customData=r,s.name="FirebaseError",Object.setPrototypeOf(s,e.prototype),Error.captureStackTrace&&Error.captureStackTrace(s,g.prototype.create),s}return Object(i.c)(e,t),e}(Error),g=function(){function t(t,e,n){this.service=t,this.serviceName=e,this.errors=n}return t.prototype.create=function(t){for(var e=[],n=1;n"})}var y=/\{\$([^}]+)}/g;function v(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function w(t,e){var n=new S(t,e);return n.subscribe.bind(n)}var S=function(){function t(t,e){var n=this;this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=e,this.task.then(function(){t(n)}).catch(function(t){n.error(t)})}return t.prototype.next=function(t){this.forEachObserver(function(e){e.next(t)})},t.prototype.error=function(t){this.forEachObserver(function(e){e.error(t)}),this.close(t)},t.prototype.complete=function(){this.forEachObserver(function(t){t.complete()}),this.close()},t.prototype.subscribe=function(t,e,n){var i,r=this;if(void 0===t&&void 0===e&&void 0===n)throw new Error("Missing Observer.");void 0===(i=function(t,e){if("object"!=typeof t||null===t)return!1;for(var n=0,i=["next","error","complete"];n0?super.schedule(t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}execute(t,e){return e>0||this.closed?super.execute(t,e):this._execute(t,e)}requestAsyncId(t,e,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(t,e,n):t.flush(this)}}var s=n("IjjT");class a extends s.a{}const o=new a(r),l=o},quSY:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("DH7j"),r=n("XoHu"),s=n("n6bG");const a=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();let o=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:o,_unsubscribe:c,_subscriptions:u}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof a?e.errors:e),[])}},qvJo:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={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:[t+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",t+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[t+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",t+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[t+" \u0935\u0930\u093e\u0902\u0928\u0940",t+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[t+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",t+" \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:[t+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",t+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[t+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",t+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return i?r[n][0]:r[n][1]}t.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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(t,e){switch(e){case"D":return t+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return t}},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(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u0940"===e?t<4?t:t+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===e?t:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===e?t>12?t:t+12:"\u0938\u093e\u0902\u091c\u0947"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924\u0940":t<12?"\u0938\u0915\u093e\u0933\u0940\u0902":t<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":t<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(n("wd/R"))},raLr:function(t,e,n){!function(t){"use strict";function e(t,e,n){return"m"===n?e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?e?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":t+" "+(i=+t,r={ss:e?"\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:e?"\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:e?"\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?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}function n(t){return function(){return t+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}t.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(t,e){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===t?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):t?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(e)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.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:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0456":t<12?"\u0440\u0430\u043d\u043a\u0443":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-\u0439";case"D":return t+"-\u0433\u043e";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"s+uk":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},sp3z:function(t,e,n){!function(t){"use strict";t.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(t){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===t},meridiem:function(t,e,n){return t<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(t){return"\u0e97\u0eb5\u0ec8"+t}})}(n("wd/R"))},spgP:function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return T}),n.d(e,"b",function(){return y}),n.d(e,"c",function(){return _}),n.d(e,"d",function(){return f}),n.d(e,"e",function(){return g}),n.d(e,"f",function(){return C}),n.d(e,"g",function(){return w}),n.d(e,"h",function(){return m}),n.d(e,"i",function(){return b}),n.d(e,"j",function(){return S});var i=n("qgXg"),r=n("D0XW"),s=n("vkgz"),a=n("tf+s"),o=n("pxpQ"),l=n("fXoL"),c=n("Jgta");function u(){}class d{constructor(t,e=i.b){this.zone=t,this.delegate=e}now(){return this.delegate.now()}schedule(t,e,n){const i=this.zone;return this.delegate.schedule(function(e){i.runGuarded(()=>{t.apply(this,[e])})},e,n)}}class h{constructor(t){this.zone=t,this.task=null}call(t,e){const n=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",u,{},u,u)),e.pipe(Object(s.a)({next:n,complete:n,error:n})).subscribe(t).add(n)}unscheduleTask(){setTimeout(()=>{null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)},10)}}class f{constructor(t){this.ngZone=t,this.outsideAngular=t.runOutsideAngular(()=>new d(Zone.current)),this.insideAngular=t.run(()=>new d(Zone.current,r.b))}}function m(t){return function(e){return(e=e.lift(new h(t.ngZone))).pipe(Object(a.a)(t.outsideAngular),Object(o.b)(t.insideAngular))}}const p=["ngOnDestroy"],b=(t,e,n,i={})=>new Proxy(t,{get:(r,s)=>n.runOutsideAngular(()=>{var r;if(t[s])return(null===(r=null==i?void 0:i.spy)||void 0===r?void 0:r.get)&&i.spy.get(s,t[s]),t[s];if(p.indexOf(s)>-1)return()=>{};const a=e.toPromise().then(t=>{const e=t&&t[s];return"function"==typeof e?e.bind(t):e&&e.then?e.then(t=>n.run(()=>t)):n.run(()=>e)});return new Proxy(()=>{},{get:(t,e)=>a[e],apply:(t,e,n)=>a.then(t=>{var e;const r=t&&t(...n);return(null===(e=null==i?void 0:i.spy)||void 0===e?void 0:e.apply)&&i.spy.apply(s,n,r),r})})})}),g=(t,e)=>{e.forEach(e=>{Object.getOwnPropertyNames(e.prototype||e).forEach(n=>{Object.defineProperty(t.prototype,n,Object.getOwnPropertyDescriptor(e.prototype||e,n))})})},_=new l.s("angularfire2.app.options"),y=new l.s("angularfire2.app.nameOrConfig"),v=new l.R("6.1.4");function w(e,n,i){const r="object"==typeof i&&i||{};r.name=r.name||"string"==typeof i&&i||"[DEFAULT]";const s=c.a.apps.filter(t=>t&&t.name===r.name)[0]||n.runOutsideAngular(()=>c.a.initializeApp(e,r));try{JSON.stringify(e)!==JSON.stringify(s.options)&&x("error",`${s.name} Firebase App already initialized with different options${t.hot?", you may need to reload as Firebase is not HMR aware.":"."}`)}catch(a){}return s}const S=()=>{x("warn","You may need to import 'firebase/auth' manually in your component rather than rely on AngularFireAuth's dynamic import, when using the emulator suite https://github.com/angular/angularfire/issues/2656")},x=(t,...e)=>{Object(l.Y)()&&"undefined"!=typeof console&&console[t](...e)};function C(e,n,i,r,s){const[a,...o]=globalThis.\u0275AngularfireInstanceCache.get(e)||[];if(a){try{s.some((t,e)=>{const n=o[e];return t&&"object"==typeof t?JSON.stringify(t)!==JSON.stringify(n):t!==n})&&x("error",`${n} was already initialized on the ${i.name} Firebase App instance with different settings.${t.hot?" You may need to reload as Firebase is not HMR aware.":""}`)}catch(l){}return a}{const t=r();return globalThis.\u0275AngularfireInstanceCache.set(e,[t,...s]),t}}globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=new Map);const k={provide:class{},useFactory:w,deps:[_,l.B,[new l.C,y]]};let T=(()=>{class t{constructor(t){c.a.registerVersion("angularfire",v.full,t.toString()),c.a.registerVersion("angular",l.Q.full)}static initializeApp(e,n){return{ngModule:t,providers:[{provide:_,useValue:e},{provide:y,useValue:n}]}}}return t.\u0275mod=l.Lb({type:t}),t.\u0275inj=l.Kb({factory:function(e){return new(e||t)(l.Xb(l.D))},providers:[k]}),t})()}).call(this,n("3UD+")(t))},"t+mt":function(t,e,n){!function(t){"use strict";t.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(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},tGlX:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tT3J:function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";t.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(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<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(t,e,n){!function(t){"use strict";var e="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],r=/^(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;t.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,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"))},"tf+s":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("HDdC"),r=n("7Hc7"),s=n("Y7HM");class a extends i.a{constructor(t,e=0,n=r.a){super(),this.source=t,this.delayTime=e,this.scheduler=n,(!Object(s.a)(e)||e<0)&&(this.delayTime=0),n&&"function"==typeof n.schedule||(this.scheduler=r.a)}static create(t,e=0,n=r.a){return new a(t,e,n)}static dispatch(t){const{source:e,subscriber:n}=t;return this.add(e.subscribe(n))}_subscribe(t){return this.scheduler.schedule(a.dispatch,this.delayTime,{source:this.source,subscriber:t})}}function o(t,e=0){return function(n){return n.lift(new l(t,e))}}class l{constructor(t,e){this.scheduler=t,this.delay=e}call(t,e){return new a(e,this.delay,this.scheduler).subscribe(t)}}},u3GI:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.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:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,w:e,ww:"%d Wochen",M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uEye:function(t,e,n){!function(t){"use strict";t.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(t,e,n){!function(t){"use strict";var e={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(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function i(t,i,r){return t+" "+n(e[r],t,i)}function r(t,i,r){return n(e[r],t,i)}t.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(t,e){return e?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},vkgz:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("7o/Q"),r=n("KqfI"),s=n("n6bG");function a(t,e,n){return function(i){return i.lift(new o(t,e,n))}}class o{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends i.a{constructor(t,e,n,i){super(t),this._tapNext=r.a,this._tapError=r.a,this._tapComplete=r.a,this._tapError=n||r.a,this._tapComplete=i||r.a,Object(s.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||r.a,this._tapError=e.error||r.a,this._tapComplete=e.complete||r.a)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},w1tV:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n("oB13"),r=n("x+ZX"),s=n("XNiG");function a(){return new s.a}function o(){return t=>Object(r.a)()(Object(i.a)(a)(t))}},wQk9:function(t,e,n){!function(t){"use strict";t.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(t,e,n){(function(t){t.exports=function(){"use strict";var e,i;function r(){return e.apply(null,arguments)}function s(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function a(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function o(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function l(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var e;for(e in t)if(o(t,e))return!1;return!0}function c(t){return void 0===t}function u(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function d(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function h(t,e){var n,i=[];for(n=0;n>>0;for(e=0;e0)for(n=0;n<_.length;n++)c(r=e[i=_[n]])||(t[i]=r);return t}function w(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,r.updateOffset(this),y=!1)}function S(t){return t instanceof w||null!=t&&null!=t._isAMomentObject}function x(t){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function C(t,e){var n=!0;return f(function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,t),n){var i,s,a,l=[];for(s=0;s=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,k=Object.keys?Object.keys:function(t){var e,n=[];for(e in t)o(t,e)&&n.push(e);return n};var E=/(\[[^\[]*\])|(\\)?([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,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},Y={};function j(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(Y[t]=r),e&&(Y[e[0]]=function(){return A(r.apply(this,arguments),e[1],e[2])}),n&&(Y[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function N(t,e){return t.isValid()?(e=P(e,t.localeData()),R[e]=R[e]||function(t){var e,n,i,r=t.match(E);for(e=0,n=r.length;e=0&&I.test(t);)t=t.replace(I,i),I.lastIndex=0,n-=1;return t}var F={};function B(t,e){var n=t.toLowerCase();F[n]=F[n+"s"]=F[e]=t}function H(t){return"string"==typeof t?F[t]||F[t.toLowerCase()]:void 0}function V(t){var e,n,i={};for(n in t)o(t,n)&&(e=H(n))&&(i[e]=t[n]);return i}var z={};function U(t,e){z[t]=e}function W(t){return t%4==0&&t%100!=0||t%400==0}function q(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function G(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=q(e)),n}function $(t,e){return function(n){return null!=n?(K(this,t,n),r.updateOffset(this,e),this):X(this,t)}}function X(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function K(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&W(t.year())&&1===t.month()&&29===t.date()?(n=G(n),t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),St(n,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](n))}var J,Q=/\d/,Z=/\d\d/,tt=/\d{3}/,et=/\d{4}/,nt=/[+-]?\d{6}/,it=/\d\d?/,rt=/\d\d\d\d?/,st=/\d\d\d\d\d\d?/,at=/\d{1,3}/,ot=/\d{1,4}/,lt=/[+-]?\d{1,6}/,ct=/\d+/,ut=/[+-]?\d+/,dt=/Z|[+-]\d\d:?\d\d/gi,ht=/Z|[+-]\d\d(?::?\d\d)?/gi,ft=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function mt(t,e,n){J[t]=D(e)?e:function(t,i){return t&&n?n:e}}function pt(t,e){return o(J,t)?J[t](e._strict,e._locale):new RegExp(bt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,r){return e||n||i||r})))}function bt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}J={};var gt,_t={};function yt(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),u(e)&&(i=function(t,n){n[e]=G(t)}),n=0;n68?1900:2e3)};var It=$("FullYear",!0);function Rt(t,e,n,i,r,s,a){var o;return t<100&&t>=0?(o=new Date(t+400,e,n,i,r,s,a),isFinite(o.getFullYear())&&o.setFullYear(t)):o=new Date(t,e,n,i,r,s,a),o}function Yt(t){var e,n;return t<100&&t>=0?((n=Array.prototype.slice.call(arguments))[0]=t+400,e=new Date(Date.UTC.apply(null,n)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function jt(t,e,n){var i=7+e-n;return-(7+Yt(t,0,i).getUTCDay()-e)%7+i-1}function Nt(t,e,n,i,r){var s,a,o=1+7*(e-1)+(7+n-i)%7+jt(t,i,r);return o<=0?a=Et(s=t-1)+o:o>Et(t)?(s=t+1,a=o-Et(t)):(s=t,a=o),{year:s,dayOfYear:a}}function Pt(t,e,n){var i,r,s=jt(t.year(),e,n),a=Math.floor((t.dayOfYear()-s-1)/7)+1;return a<1?i=a+Ft(r=t.year()-1,e,n):a>Ft(t.year(),e,n)?(i=a-Ft(t.year(),e,n),r=t.year()+1):(r=t.year(),i=a),{week:i,year:r}}function Ft(t,e,n){var i=jt(t,e,n),r=jt(t+1,e,n);return(Et(t)-i+r)/7}function Bt(t,e){return t.slice(e,7).concat(t.slice(0,e))}j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),B("week","w"),B("isoWeek","W"),U("week",5),U("isoWeek",5),mt("w",it),mt("ww",it,Z),mt("W",it),mt("WW",it,Z),vt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=G(t)}),j("d",0,"do","day"),j("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),j("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),j("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),B("day","d"),B("weekday","e"),B("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),mt("d",it),mt("e",it),mt("E",it),mt("dd",function(t,e){return e.weekdaysMinRegex(t)}),mt("ddd",function(t,e){return e.weekdaysShortRegex(t)}),mt("dddd",function(t,e){return e.weekdaysRegex(t)}),vt(["dd","ddd","dddd"],function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:p(n).invalidWeekday=t}),vt(["d","e","E"],function(t,e,n,i){e[i]=G(t)});var Ht="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Vt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),zt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ut=ft,Wt=ft,qt=ft;function Gt(t,e,n){var i,r,s,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=m([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=gt.call(this._weekdaysParse,a))?r:null:"ddd"===e?-1!==(r=gt.call(this._shortWeekdaysParse,a))?r:null:-1!==(r=gt.call(this._minWeekdaysParse,a))?r:null:"dddd"===e?-1!==(r=gt.call(this._weekdaysParse,a))||-1!==(r=gt.call(this._shortWeekdaysParse,a))||-1!==(r=gt.call(this._minWeekdaysParse,a))?r:null:"ddd"===e?-1!==(r=gt.call(this._shortWeekdaysParse,a))||-1!==(r=gt.call(this._weekdaysParse,a))||-1!==(r=gt.call(this._minWeekdaysParse,a))?r:null:-1!==(r=gt.call(this._minWeekdaysParse,a))||-1!==(r=gt.call(this._weekdaysParse,a))||-1!==(r=gt.call(this._shortWeekdaysParse,a))?r:null}function $t(){function t(t,e){return e.length-t.length}var e,n,i,r,s,a=[],o=[],l=[],c=[];for(e=0;e<7;e++)n=m([2e3,1]).day(e),i=bt(this.weekdaysMin(n,"")),r=bt(this.weekdaysShort(n,"")),s=bt(this.weekdays(n,"")),a.push(i),o.push(r),l.push(s),c.push(i),c.push(r),c.push(s);a.sort(t),o.sort(t),l.sort(t),c.sort(t),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Kt(t,e){j(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function Jt(t,e){return e._meridiemParse}j("H",["HH",2],0,"hour"),j("h",["hh",2],0,Xt),j("k",["kk",2],0,function(){return this.hours()||24}),j("hmm",0,0,function(){return""+Xt.apply(this)+A(this.minutes(),2)}),j("hmmss",0,0,function(){return""+Xt.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)}),j("Hmm",0,0,function(){return""+this.hours()+A(this.minutes(),2)}),j("Hmmss",0,0,function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)}),Kt("a",!0),Kt("A",!1),B("hour","h"),U("hour",13),mt("a",Jt),mt("A",Jt),mt("H",it),mt("h",it),mt("k",it),mt("HH",it,Z),mt("hh",it,Z),mt("kk",it,Z),mt("hmm",rt),mt("hmmss",st),mt("Hmm",rt),mt("Hmmss",st),yt(["H","HH"],3),yt(["k","kk"],function(t,e,n){var i=G(t);e[3]=24===i?0:i}),yt(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),yt(["h","hh"],function(t,e,n){e[3]=G(t),p(n).bigHour=!0}),yt("hmm",function(t,e,n){var i=t.length-2;e[3]=G(t.substr(0,i)),e[4]=G(t.substr(i)),p(n).bigHour=!0}),yt("hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[3]=G(t.substr(0,i)),e[4]=G(t.substr(i,2)),e[5]=G(t.substr(r)),p(n).bigHour=!0}),yt("Hmm",function(t,e,n){var i=t.length-2;e[3]=G(t.substr(0,i)),e[4]=G(t.substr(i))}),yt("Hmmss",function(t,e,n){var i=t.length-4,r=t.length-2;e[3]=G(t.substr(0,i)),e[4]=G(t.substr(i,2)),e[5]=G(t.substr(r))});var Qt,Zt=$("Hours",!0),te={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:xt,monthsShort:Ct,week:{dow:0,doy:6},weekdays:Ht,weekdaysMin:zt,weekdaysShort:Vt,meridiemParse:/[ap]\.?m?\.?/i},ee={},ne={};function ie(t,e){var n,i=Math.min(t.length,e.length);for(n=0;n0;){if(i=se(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&ie(r,n)>=e-1)break;e--}s++}return Qt}(t)}function ce(t){var e,n=t._a;return n&&-2===p(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>St(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(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),p(t)._overflowWeeks&&-1===e&&(e=7),p(t)._overflowWeekday&&-1===e&&(e=8),p(t).overflow=e),t}var ue=/^\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)?)?$/,de=/^\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)?)?$/,he=/Z|[+-]\d\d(?::?\d\d)?/,fe=[["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]],me=[["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/]],pe=/^\/?Date\((-?\d+)/i,be=/^(?:(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}))$/,ge={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _e(t){var e,n,i,r,s,a,o=t._i,l=ue.exec(o)||de.exec(o);if(l){for(p(t).iso=!0,e=0,n=fe.length;e7)&&(l=!0)):(s=t._locale._week.dow,a=t._locale._week.doy,c=Pt(ke(),s,a),n=ve(e.gg,t._a[0],c.year),i=ve(e.w,c.week),null!=e.d?((r=e.d)<0||r>6)&&(l=!0):null!=e.e?(r=e.e+s,(e.e<0||e.e>6)&&(l=!0)):r=s),i<1||i>Ft(n,s,a)?p(t)._overflowWeeks=!0:null!=l?p(t)._overflowWeekday=!0:(o=Nt(n,i,r,s,a),t._a[0]=o.year,t._dayOfYear=o.dayOfYear)}(t),null!=t._dayOfYear&&(a=ve(t._a[0],i[0]),(t._dayOfYear>Et(a)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),n=Yt(a,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=i[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Yt:Rt).apply(null,o),s=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==s&&(p(t).weekdayMismatch=!0)}}function Se(t){if(t._f!==r.ISO_8601)if(t._f!==r.RFC_2822){t._a=[],p(t).empty=!0;var e,n,i,s,a,o,l=""+t._i,c=l.length,u=0;for(i=P(t._f,t._locale).match(E)||[],e=0;e0&&p(t).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),u+=n.length),Y[s]?(n?p(t).empty=!1:p(t).unusedTokens.push(s),wt(s,n,t)):t._strict&&!n&&p(t).unusedTokens.push(s);p(t).charsLeftOver=c-u,l.length>0&&p(t).unusedInput.push(l),t._a[3]<=12&&!0===p(t).bigHour&&t._a[3]>0&&(p(t).bigHour=void 0),p(t).parsedDateParts=t._a.slice(0),p(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),null!==(o=p(t).era)&&(t._a[0]=t._locale.erasConvertYear(o,t._a[0])),we(t),ce(t)}else ye(t);else _e(t)}function xe(t){var e=t._i,n=t._f;return t._locale=t._locale||le(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),S(e)?new w(ce(e)):(d(e)?t._d=e:s(n)?function(t){var e,n,i,r,s,a,o=!1;if(0===t._f.length)return p(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;rthis?this:t:g()});function De(t,e){var n,i;if(1===e.length&&s(e[0])&&(e=e[0]),!e.length)return ke();for(n=e[0],i=1;i=0?new Date(t+400,e,n)-sn:new Date(t,e,n).valueOf()}function ln(t,e,n){return t<100&&t>=0?Date.UTC(t+400,e,n)-sn:Date.UTC(t,e,n)}function cn(t,e){return e.erasAbbrRegex(t)}function un(){var t,e,n=[],i=[],r=[],s=[],a=this.eras();for(t=0,e=a.length;t(s=Ft(t,i,r))&&(e=s),fn.call(this,t,e,n,i,r))}function fn(t,e,n,i,r){var s=Nt(t,e,n,i,r),a=Yt(s.year,0,s.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}j("N",0,0,"eraAbbr"),j("NN",0,0,"eraAbbr"),j("NNN",0,0,"eraAbbr"),j("NNNN",0,0,"eraName"),j("NNNNN",0,0,"eraNarrow"),j("y",["y",1],"yo","eraYear"),j("y",["yy",2],0,"eraYear"),j("y",["yyy",3],0,"eraYear"),j("y",["yyyy",4],0,"eraYear"),mt("N",cn),mt("NN",cn),mt("NNN",cn),mt("NNNN",function(t,e){return e.erasNameRegex(t)}),mt("NNNNN",function(t,e){return e.erasNarrowRegex(t)}),yt(["N","NN","NNN","NNNN","NNNNN"],function(t,e,n,i){var r=n._locale.erasParse(t,i,n._strict);r?p(n).era=r:p(n).invalidEra=t}),mt("y",ct),mt("yy",ct),mt("yyy",ct),mt("yyyy",ct),mt("yo",function(t,e){return e._eraYearOrdinalRegex||ct}),yt(["y","yy","yyy","yyyy"],0),yt(["yo"],function(t,e,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=t.match(n._locale._eraYearOrdinalRegex)),e[0]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(t,r):parseInt(t,10)}),j(0,["gg",2],0,function(){return this.weekYear()%100}),j(0,["GG",2],0,function(){return this.isoWeekYear()%100}),dn("gggg","weekYear"),dn("ggggg","weekYear"),dn("GGGG","isoWeekYear"),dn("GGGGG","isoWeekYear"),B("weekYear","gg"),B("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),mt("G",ut),mt("g",ut),mt("GG",it,Z),mt("gg",it,Z),mt("GGGG",ot,et),mt("gggg",ot,et),mt("GGGGG",lt,nt),mt("ggggg",lt,nt),vt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=G(t)}),vt(["gg","GG"],function(t,e,n,i){e[i]=r.parseTwoDigitYear(t)}),j("Q",0,"Qo","quarter"),B("quarter","Q"),U("quarter",7),mt("Q",Q),yt("Q",function(t,e){e[1]=3*(G(t)-1)}),j("D",["DD",2],"Do","date"),B("date","D"),U("date",9),mt("D",it),mt("DD",it,Z),mt("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),yt(["D","DD"],2),yt("Do",function(t,e){e[2]=G(t.match(it)[0])});var mn=$("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),B("dayOfYear","DDD"),U("dayOfYear",4),mt("DDD",at),mt("DDDD",tt),yt(["DDD","DDDD"],function(t,e,n){n._dayOfYear=G(t)}),j("m",["mm",2],0,"minute"),B("minute","m"),U("minute",14),mt("m",it),mt("mm",it,Z),yt(["m","mm"],4);var pn=$("Minutes",!1);j("s",["ss",2],0,"second"),B("second","s"),U("second",15),mt("s",it),mt("ss",it,Z),yt(["s","ss"],5);var bn,gn,_n=$("Seconds",!1);for(j("S",0,0,function(){return~~(this.millisecond()/100)}),j(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,function(){return 10*this.millisecond()}),j(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),j(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),j(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),j(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),j(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),B("millisecond","ms"),U("millisecond",16),mt("S",at,Q),mt("SS",at,Z),mt("SSS",at,tt),bn="SSSS";bn.length<=9;bn+="S")mt(bn,ct);function yn(t,e){e[6]=G(1e3*("0."+t))}for(bn="S";bn.length<=9;bn+="S")yt(bn,yn);gn=$("Milliseconds",!1),j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var vn=w.prototype;function wn(t){return t}vn.add=qe,vn.calendar=function(t,e){1===arguments.length&&(arguments[0]?Xe(arguments[0])?(t=arguments[0],e=void 0):Ke(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var n=t||ke(),i=je(n,this).startOf("day"),s=r.calendarFormat(this,i)||"sameElse",a=e&&(D(e[s])?e[s].call(this,n):e[s]);return this.format(a||this.localeData().calendar(s,this,ke(n)))},vn.clone=function(){return new w(this)},vn.diff=function(t,e,n){var i,r,s;if(!this.isValid())return NaN;if(!(i=je(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=H(e)){case"year":s=Je(this,i)/12;break;case"month":s=Je(this,i);break;case"quarter":s=Je(this,i)/3;break;case"second":s=(this-i)/1e3;break;case"minute":s=(this-i)/6e4;break;case"hour":s=(this-i)/36e5;break;case"day":s=(this-i-r)/864e5;break;case"week":s=(this-i-r)/6048e5;break;default:s=this-i}return n?s:q(s)},vn.endOf=function(t){var e,n;if(void 0===(t=H(t))||"millisecond"===t||!this.isValid())return this;switch(n=this._isUTC?ln:on,t){case"year":e=n(this.year()+1,0,1)-1;break;case"quarter":e=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=n(this.year(),this.month()+1,1)-1;break;case"week":e=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=rn-an(e+(this._isUTC?0:this.utcOffset()*nn),rn)-1;break;case"minute":e=this._d.valueOf(),e+=nn-an(e,nn)-1;break;case"second":e=this._d.valueOf(),e+=en-an(e,en)-1}return this._d.setTime(e),r.updateOffset(this,!0),this},vn.format=function(t){t||(t=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var e=N(this,t);return this.localeData().postformat(e)},vn.from=function(t,e){return this.isValid()&&(S(t)&&t.isValid()||ke(t).isValid())?He({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},vn.fromNow=function(t){return this.from(ke(),t)},vn.to=function(t,e){return this.isValid()&&(S(t)&&t.isValid()||ke(t).isValid())?He({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},vn.toNow=function(t){return this.to(ke(),t)},vn.get=function(t){return D(this[t=H(t)])?this[t]():this},vn.invalidAt=function(){return p(this).overflow},vn.isAfter=function(t,e){var n=S(t)?t:ke(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=H(e)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?N(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(n,"Z")):N(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},vn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,e,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),t="["+n+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(vn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vn.toJSON=function(){return this.isValid()?this.toISOString():null},vn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vn.unix=function(){return Math.floor(this.valueOf()/1e3)},vn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vn.eraName=function(){var t,e,n,i=this.localeData().eras();for(t=0,e=i.length;tthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vn.isLocal=function(){return!!this.isValid()&&!this._isUTC},vn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vn.isUtc=Pe,vn.isUTC=Pe,vn.zoneAbbr=function(){return this._isUTC?"UTC":""},vn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vn.dates=C("dates accessor is deprecated. Use date instead.",mn),vn.months=C("months accessor is deprecated. Use month instead",Ot),vn.years=C("years accessor is deprecated. Use year instead",It),vn.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}),vn.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var t,e={};return v(e,this),(e=xe(e))._a?(t=e._isUTC?m(e._a):ke(e._a),this._isDSTShifted=this.isValid()&&function(t,e,n){var i,r=Math.min(t.length,e.length),s=Math.abs(t.length-e.length),a=0;for(i=0;i0):this._isDSTShifted=!1,this._isDSTShifted});var Sn=O.prototype;function xn(t,e,n,i){var r=le(),s=m().set(i,e);return r[n](s,t)}function Cn(t,e,n){if(u(t)&&(e=t,t=void 0),t=t||"",null!=e)return xn(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=xn(t,i,n,"month");return r}function kn(t,e,n,i){"boolean"==typeof t?(u(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,u(e)&&(n=e,e=void 0),e=e||"");var r,s=le(),a=t?s._week.dow:0,o=[];if(null!=n)return xn(e,(n+a)%7,i,"day");for(r=0;r<7;r++)o[r]=xn(e,(r+a)%7,i,"day");return o}Sn.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return D(i)?i.call(e,n):i},Sn.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.match(E).map(function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t}).join(""),this._longDateFormat[t])},Sn.invalidDate=function(){return this._invalidDate},Sn.ordinal=function(t){return this._ordinal.replace("%d",t)},Sn.preparse=wn,Sn.postformat=wn,Sn.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return D(r)?r(t,e,n,i):r.replace(/%d/i,t)},Sn.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return D(n)?n(e):n.replace(/%s/i,e)},Sn.set=function(t){var e,n;for(n in t)o(t,n)&&(D(e=t[n])?this[n]=e:this["_"+n]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Sn.eras=function(t,e){var n,i,s,a=this._eras||le("en")._eras;for(n=0,i=a.length;n=0)return l[i]},Sn.erasConvertYear=function(t,e){var n=t.since<=t.until?1:-1;return void 0===e?r(t.since).year():r(t.since).year()+(e-t.offset)*n},Sn.erasAbbrRegex=function(t){return o(this,"_erasAbbrRegex")||un.call(this),t?this._erasAbbrRegex:this._erasRegex},Sn.erasNameRegex=function(t){return o(this,"_erasNameRegex")||un.call(this),t?this._erasNameRegex:this._erasRegex},Sn.erasNarrowRegex=function(t){return o(this,"_erasNarrowRegex")||un.call(this),t?this._erasNarrowRegex:this._erasRegex},Sn.months=function(t,e){return t?s(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||kt).test(e)?"format":"standalone"][t.month()]:s(this._months)?this._months:this._months.standalone},Sn.monthsShort=function(t,e){return t?s(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[kt.test(e)?"format":"standalone"][t.month()]:s(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Sn.monthsParse=function(t,e,n){var i,r,s;if(this._monthsParseExact)return Dt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=m([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(s.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},Sn.monthsRegex=function(t){return this._monthsParseExact?(o(this,"_monthsRegex")||At.call(this),t?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=Mt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Sn.monthsShortRegex=function(t){return this._monthsParseExact?(o(this,"_monthsRegex")||At.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Tt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Sn.week=function(t){return Pt(t,this._week.dow,this._week.doy).week},Sn.firstDayOfYear=function(){return this._week.doy},Sn.firstDayOfWeek=function(){return this._week.dow},Sn.weekdays=function(t,e){var n=s(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(e)?"format":"standalone"];return!0===t?Bt(n,this._week.dow):t?n[t.day()]:n},Sn.weekdaysMin=function(t){return!0===t?Bt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Sn.weekdaysShort=function(t){return!0===t?Bt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Sn.weekdaysParse=function(t,e,n){var i,r,s;if(this._weekdaysParseExact)return Gt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=m([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(s.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},Sn.weekdaysRegex=function(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||$t.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Ut),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Sn.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||$t.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Wt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Sn.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||$t.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Sn.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Sn.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},ae("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(t){var e=t%10;return t+(1===G(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),r.lang=C("moment.lang is deprecated. Use moment.locale instead.",ae),r.langData=C("moment.langData is deprecated. Use moment.localeData instead.",le);var Tn=Math.abs;function Mn(t,e,n,i){var r=He(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function Dn(t){return t<0?Math.floor(t):Math.ceil(t)}function Ln(t){return 4800*t/146097}function On(t){return 146097*t/4800}function An(t){return function(){return this.as(t)}}var En=An("ms"),In=An("s"),Rn=An("m"),Yn=An("h"),jn=An("d"),Nn=An("w"),Pn=An("M"),Fn=An("Q"),Bn=An("y");function Hn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Vn=Hn("milliseconds"),zn=Hn("seconds"),Un=Hn("minutes"),Wn=Hn("hours"),qn=Hn("days"),Gn=Hn("months"),$n=Hn("years"),Xn=Math.round,Kn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Jn(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}var Qn=Math.abs;function Zn(t){return(t>0)-(t<0)||+t}function ti(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n,i,r,s,a,o,l=Qn(this._milliseconds)/1e3,c=Qn(this._days),u=Qn(this._months),d=this.asSeconds();return d?(t=q(l/60),e=q(t/60),l%=60,t%=60,n=q(u/12),u%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",s=Zn(this._months)!==Zn(d)?"-":"",a=Zn(this._days)!==Zn(d)?"-":"",o=Zn(this._milliseconds)!==Zn(d)?"-":"",r+"P"+(n?s+n+"Y":"")+(u?s+u+"M":"")+(c?a+c+"D":"")+(e||t||l?"T":"")+(e?o+e+"H":"")+(t?o+t+"M":"")+(l?o+i+"S":"")):"P0D"}var ei=Oe.prototype;return ei.isValid=function(){return this._isValid},ei.abs=function(){var t=this._data;return this._milliseconds=Tn(this._milliseconds),this._days=Tn(this._days),this._months=Tn(this._months),t.milliseconds=Tn(t.milliseconds),t.seconds=Tn(t.seconds),t.minutes=Tn(t.minutes),t.hours=Tn(t.hours),t.months=Tn(t.months),t.years=Tn(t.years),this},ei.add=function(t,e){return Mn(this,t,e,1)},ei.subtract=function(t,e){return Mn(this,t,e,-1)},ei.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=H(t))||"quarter"===t||"year"===t)switch(n=this._months+Ln(e=this._days+i/864e5),t){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(e=this._days+Math.round(On(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},ei.asMilliseconds=En,ei.asSeconds=In,ei.asMinutes=Rn,ei.asHours=Yn,ei.asDays=jn,ei.asWeeks=Nn,ei.asMonths=Pn,ei.asQuarters=Fn,ei.asYears=Bn,ei.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},ei._bubble=function(){var t,e,n,i,r,s=this._milliseconds,a=this._days,o=this._months,l=this._data;return s>=0&&a>=0&&o>=0||s<=0&&a<=0&&o<=0||(s+=864e5*Dn(On(o)+a),a=0,o=0),l.milliseconds=s%1e3,t=q(s/1e3),l.seconds=t%60,e=q(t/60),l.minutes=e%60,n=q(e/60),l.hours=n%24,a+=q(n/24),o+=r=q(Ln(a)),a-=Dn(On(r)),i=q(o/12),o%=12,l.days=a,l.months=o,l.years=i,this},ei.clone=function(){return He(this)},ei.get=function(t){return t=H(t),this.isValid()?this[t+"s"]():NaN},ei.milliseconds=Vn,ei.seconds=zn,ei.minutes=Un,ei.hours=Wn,ei.days=qn,ei.weeks=function(){return q(this.days()/7)},ei.months=Gn,ei.years=$n,ei.humanize=function(t,e){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,s=Kn;return"object"==typeof t&&(e=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof e&&(s=Object.assign({},Kn,e),null!=e.s&&null==e.ss&&(s.ss=e.s-1)),i=function(t,e,n,i){var r=He(t).abs(),s=Xn(r.as("s")),a=Xn(r.as("m")),o=Xn(r.as("h")),l=Xn(r.as("d")),c=Xn(r.as("M")),u=Xn(r.as("w")),d=Xn(r.as("y")),h=s<=n.ss&&["s",s]||s0,h[4]=i,Jn.apply(null,h)}(this,!r,s,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},ei.toISOString=ti,ei.toString=ti,ei.toJSON=ti,ei.locale=Qe,ei.localeData=tn,ei.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ti),ei.lang=Ze,j("X",0,0,"unix"),j("x",0,0,"valueOf"),mt("x",ut),mt("X",/[+-]?\d+(\.\d{1,3})?/),yt("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t))}),yt("x",function(t,e,n){n._d=new Date(G(t))}),r.version="2.29.1",e=ke,r.fn=vn,r.min=function(){return De("isBefore",[].slice.call(arguments,0))},r.max=function(){return De("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=m,r.unix=function(t){return ke(1e3*t)},r.months=function(t,e){return Cn(t,e,"months")},r.isDate=d,r.locale=ae,r.invalid=g,r.duration=He,r.isMoment=S,r.weekdays=function(t,e,n){return kn(t,e,n,"weekdays")},r.parseZone=function(){return ke.apply(null,arguments).parseZone()},r.localeData=le,r.isDuration=Ae,r.monthsShort=function(t,e){return Cn(t,e,"monthsShort")},r.weekdaysMin=function(t,e,n){return kn(t,e,n,"weekdaysMin")},r.defineLocale=oe,r.updateLocale=function(t,e){if(null!=e){var n,i,r=te;null!=ee[t]&&null!=ee[t].parentLocale?ee[t].set(L(ee[t]._config,e)):(null!=(i=se(t))&&(r=i._config),e=L(r,e),null==i&&(e.abbr=t),(n=new O(e)).parentLocale=ee[t],ee[t]=n),ae(t)}else null!=ee[t]&&(null!=ee[t].parentLocale?(ee[t]=ee[t].parentLocale,t===ae()&&ae(t)):null!=ee[t]&&delete ee[t]);return ee[t]},r.locales=function(){return k(ee)},r.weekdaysShort=function(t,e,n){return kn(t,e,n,"weekdaysShort")},r.normalizeUnits=H,r.relativeTimeRounding=function(t){return void 0===t?Xn:"function"==typeof t&&(Xn=t,!0)},r.relativeTimeThreshold=function(t,e){return void 0!==Kn[t]&&(void 0===e?Kn[t]:(Kn[t]=e,"s"===t&&(Kn.ss=e-1),!0))},r.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=vn,r.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"},r}()}).call(this,n("YuTi")(t))},"x+ZX":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("7o/Q");function r(){return function(t){return t.lift(new s(t))}}class s{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const i=new a(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}class a extends i.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}},x6pH:function(t,e,n){!function(t){"use strict";t.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(t){return 2===t?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":t+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(t){return 2===t?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":t+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(t){return 2===t?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":t+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(t){return 2===t?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":t%10==0&&10!==t?t+" \u05e9\u05e0\u05d4":t+" \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(t){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(t)},meridiem:function(t,e,n){return t<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":t<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":t<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":t<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(t,e,n){"use strict";(function(t){var i=n("XqMk"),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,s=r&&"object"==typeof t&&t&&!t.nodeType&&t,a=s&&s.exports===r&&i.a.process,o=function(){try{return s&&s.require&&s.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();e.a=o}).call(this,n("3UD+")(t))},yCtX:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var i=n("HDdC"),r=n("ngJS"),s=n("jZKg");function a(t,e){return e?Object(s.a)(t,e):new i.a(Object(r.a)(t))}},yPMs:function(t,e,n){!function(t){"use strict";t.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(t){return"M"===t.charAt(0)},meridiem:function(t,e,n){return t<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"))},"z+Ro":function(t,e,n){"use strict";function i(t){return t&&"function"==typeof t.schedule}n.d(e,"a",function(){return i})},z1FC:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[t+" secunds",t+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[t+" m\xeduts",t+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[t+" \xfeoras",t+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[t+" ziuas",t+" ziuas"],M:["'n mes","'iens mes"],MM:[t+" mesen",t+" mesen"],y:["'n ar","'iens ar"],yy:[t+" ars",t+" ars"]};return i||e?r[n][0]:r[n][1]}t.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(t){return"d'o"===t.toLowerCase()},meridiem:function(t,e,n){return t>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:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(t,e,n){!function(t){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,i,r){var s=function(t){var n=Math.floor(t%1e3/100),i=Math.floor(t%100/10),r=t%10,s="";return n>0&&(s+=e[n]+"vatlh"),i>0&&(s+=(""!==s?" ":"")+e[i]+"maH"),r>0&&(s+=(""!==s?" ":"")+e[r]),""===s?"pagh":s}(t);switch(i){case"ss":return s+" lup";case"mm":return s+" tup";case"hh":return s+" rep";case"dd":return s+" jaj";case"MM":return s+" jar";case"yy":return s+" DIS"}}t.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(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu\u2019":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" 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"))},z6cu:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("HDdC");function r(t,e){return new i.a(e?n=>e.schedule(s,0,{error:t,subscriber:n}):e=>e.error(t))}function s({error:t,subscriber:e}){e.error(t)}},zIRd:function(t,e,n){"use strict";var i,r,s=n("30Go"),a=n("qOnz"),o=n("/6Yf"),l=n("q/0M"),c=((i={})["no-app"]="No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()",i["bad-app-name"]="Illegal App name: '{$appName}",i["duplicate-app"]="Firebase App named '{$appName}' already exists",i["app-deleted"]="Firebase App named '{$appName}' already deleted",i["invalid-app-argument"]="firebase.{$appName}() takes either no argument or a Firebase App instance.",i["invalid-log-argument"]="First argument to `onLog` must be null or a function.",i),u=new a.b("app","Firebase",c),d="@firebase/app",h="[DEFAULT]",f=((r={})[d]="fire-core",r["@firebase/analytics"]="fire-analytics",r["@firebase/auth"]="fire-auth",r["@firebase/database"]="fire-rtdb",r["@firebase/functions"]="fire-fn",r["@firebase/installations"]="fire-iid",r["@firebase/messaging"]="fire-fcm",r["@firebase/performance"]="fire-perf",r["@firebase/remote-config"]="fire-rc",r["@firebase/storage"]="fire-gcs",r["@firebase/firestore"]="fire-fst",r["fire-js"]="fire-js",r["firebase-wrapper"]="fire-js-all",r),m=new l.b("@firebase/app"),p=function(){function t(t,e,n){var i,r,l=this;this.firebase_=n,this.isDeleted_=!1,this.name_=e.name,this.automaticDataCollectionEnabled_=e.automaticDataCollectionEnabled||!1,this.options_=Object(a.e)(t),this.container=new o.b(e.name),this._addComponent(new o.a("app",function(){return l},"PUBLIC"));try{for(var c=Object(s.h)(this.firebase_.INTERNAL.components.values()),u=c.next();!u.done;u=c.next())this._addComponent(u.value)}catch(d){i={error:d}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(i)throw i.error}}}return Object.defineProperty(t.prototype,"automaticDataCollectionEnabled",{get:function(){return this.checkDestroyed_(),this.automaticDataCollectionEnabled_},set:function(t){this.checkDestroyed_(),this.automaticDataCollectionEnabled_=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.checkDestroyed_(),this.name_},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this.checkDestroyed_(),this.options_},enumerable:!1,configurable:!0}),t.prototype.delete=function(){var t=this;return new Promise(function(e){t.checkDestroyed_(),e()}).then(function(){return t.firebase_.INTERNAL.removeApp(t.name_),Promise.all(t.container.getProviders().map(function(t){return t.delete()}))}).then(function(){t.isDeleted_=!0})},t.prototype._getService=function(t,e){return void 0===e&&(e=h),this.checkDestroyed_(),this.container.getProvider(t).getImmediate({identifier:e})},t.prototype._removeServiceInstance=function(t,e){void 0===e&&(e=h),this.container.getProvider(t).clearInstance(e)},t.prototype._addComponent=function(t){try{this.container.addComponent(t)}catch(e){m.debug("Component "+t.name+" failed to register with FirebaseApp "+this.name,e)}},t.prototype._addOrOverwriteComponent=function(t){this.container.addOrOverwriteComponent(t)},t.prototype.checkDestroyed_=function(){if(this.isDeleted_)throw u.create("app-deleted",{appName:this.name_})},t}();p.prototype.name&&p.prototype.options||p.prototype.delete||console.log("dc");var b=function t(){var e=function(t){var e={},n=new Map,i={__esModule:!0,initializeApp:function(n,r){void 0===r&&(r={}),"object"==typeof r&&null!==r||(r={name:r});var s=r;void 0===s.name&&(s.name=h);var o=s.name;if("string"!=typeof o||!o)throw u.create("bad-app-name",{appName:String(o)});if(Object(a.c)(e,o))throw u.create("duplicate-app",{appName:o});var l=new t(n,s,i);return e[o]=l,l},app:r,registerVersion:function(t,e,n){var i,r=null!==(i=f[t])&&void 0!==i?i:t;n&&(r+="-"+n);var s=r.match(/\s|\//),a=e.match(/\s|\//);if(s||a){var l=['Unable to register library "'+r+'" with version "'+e+'":'];return s&&l.push('library name "'+r+'" contains illegal characters (whitespace or "/")'),s&&a&&l.push("and"),a&&l.push('version name "'+e+'" contains illegal characters (whitespace or "/")'),void m.warn(l.join(" "))}c(new o.a(r+"-version",function(){return{library:r,version:e}},"VERSION"))},setLogLevel:l.c,onLog:function(t,e){if(null!==t&&"function"!=typeof t)throw u.create("invalid-log-argument",{appName:name});Object(l.d)(t,e)},apps:null,SDK_VERSION:"8.0.1",INTERNAL:{registerComponent:c,removeApp:function(t){delete e[t]},components:n,useAsService:function(t,e){return"serverAuth"===e?null:e}}};function r(t){if(t=t||h,!Object(a.c)(e,t))throw u.create("no-app",{appName:t});return e[t]}function c(o){var l,c,d=o.name;if(n.has(d))return m.debug("There were multiple attempts to register component "+d+"."),"PUBLIC"===o.type?i[d]:null;if(n.set(d,o),"PUBLIC"===o.type){var h=function(t){if(void 0===t&&(t=r()),"function"!=typeof t[d])throw u.create("invalid-app-argument",{appName:d});return t[d]()};void 0!==o.serviceProps&&Object(a.f)(h,o.serviceProps),i[d]=h,t.prototype[d]=function(){for(var t=[],e=0;e=0&&m.warn("\n Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n ")}var y=b.initializeApp;b.initializeApp=function(){for(var t=[],e=0;e{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:c,token:t,providedIn:"platform"}),t})();function c(){return Object(i.Xb)(d)}const u=new i.s("Location Initialized");let d=(()=>{class t extends l{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=a().getLocation(),this._history=a().getHistory()}getBaseHrefFromDOM(){return a().getBaseHref(this._doc)}onPopState(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){a().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){h()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){h()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(o))},t.\u0275prov=Object(i.Jb)({factory:f,token:t,providedIn:"platform"}),t})();function h(){return!!window.history.pushState}function f(){return new d(Object(i.Xb)(o))}function m(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function p(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function b(t){return t&&"?"!==t[0]?"?"+t:t}let g=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:_,token:t,providedIn:"root"}),t})();function _(t){const e=Object(i.Xb)(o).location;return new v(Object(i.Xb)(l),e&&e.origin||"")}const y=new i.s("appBaseHref");let v=(()=>{class t extends g{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)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.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return m(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+b(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+b(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(l),i.Xb(y,8))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),w=(()=>{class t extends g{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=m(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,i){let r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){let r=this.prepareExternalUrl(n+b(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(l),i.Xb(y,8))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),S=(()=>{class t{constructor(t,e){this._subject=new i.o,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=p(C(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+b(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,C(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+b(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(g),i.Xb(l))},t.normalizeQueryParams=b,t.joinWithSlash=m,t.stripTrailingSlash=p,t.\u0275prov=Object(i.Jb)({factory:x,token:t,providedIn:"root"}),t})();function x(){return new S(Object(i.Xb)(g),Object(i.Xb)(l))}function C(t){return t.replace(/\/index.html$/,"")}var k=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),T=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),M=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),D=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),L=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),O=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function A(t,e){return N(Object(i.mb)(t)[i.db.DateFormat],e)}function E(t,e){return N(Object(i.mb)(t)[i.db.TimeFormat],e)}function I(t,e){return N(Object(i.mb)(t)[i.db.DateTimeFormat],e)}function R(t,e){const n=Object(i.mb)(t),r=n[i.db.NumberSymbols][e];if(void 0===r){if(e===O.CurrencyDecimal)return n[i.db.NumberSymbols][O.Decimal];if(e===O.CurrencyGroup)return n[i.db.NumberSymbols][O.Group]}return r}const Y=i.pb;function j(t){if(!t[i.db.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[i.db.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function N(t,e){for(let n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function P(t){const[e,n]=t.split(":");return{hours:+e,minutes:+n}}const F=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,B={},H=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|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]*)/;var V=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),z=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),U=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function W(t,e,n,i){let r=function(t){if(it(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){const[e,n,i]=t.split("-").map(t=>+t);return new Date(e,n-1,i)}let n;if(n=t.match(F))return function(t){const e=new Date(0);let n=0,i=0;const r=t[8]?e.setUTCFullYear:e.setFullYear,s=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));const a=Number(t[4]||0)-n,o=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return s.call(e,a,o,l,c),e}(n)}const e=new Date(t);if(!it(e))throw new Error(`Unable to convert "${t}" into a date`);return e}(t);e=q(n,e)||e;let s,a=[];for(;e;){if(s=H.exec(e),!s){a.push(e);break}{a=a.concat(s.slice(1));const t=a.pop();if(!t)break;e=t}}let o=r.getTimezoneOffset();i&&(o=nt(i,o),r=function(t,e,n){const i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(nt(e,i)-i))}(r,i));let l="";return a.forEach(t=>{const e=function(t){if(et[t])return et[t];let e;switch(t){case"G":case"GG":case"GGG":e=K(U.Eras,D.Abbreviated);break;case"GGGG":e=K(U.Eras,D.Wide);break;case"GGGGG":e=K(U.Eras,D.Narrow);break;case"y":e=X(z.FullYear,1,0,!1,!0);break;case"yy":e=X(z.FullYear,2,0,!0,!0);break;case"yyy":e=X(z.FullYear,3,0,!1,!0);break;case"yyyy":e=X(z.FullYear,4,0,!1,!0);break;case"Y":e=tt(1);break;case"YY":e=tt(2,!0);break;case"YYY":e=tt(3);break;case"YYYY":e=tt(4);break;case"M":case"L":e=X(z.Month,1,1);break;case"MM":case"LL":e=X(z.Month,2,1);break;case"MMM":e=K(U.Months,D.Abbreviated);break;case"MMMM":e=K(U.Months,D.Wide);break;case"MMMMM":e=K(U.Months,D.Narrow);break;case"LLL":e=K(U.Months,D.Abbreviated,M.Standalone);break;case"LLLL":e=K(U.Months,D.Wide,M.Standalone);break;case"LLLLL":e=K(U.Months,D.Narrow,M.Standalone);break;case"w":e=Z(1);break;case"ww":e=Z(2);break;case"W":e=Z(1,!0);break;case"d":e=X(z.Date,1);break;case"dd":e=X(z.Date,2);break;case"E":case"EE":case"EEE":e=K(U.Days,D.Abbreviated);break;case"EEEE":e=K(U.Days,D.Wide);break;case"EEEEE":e=K(U.Days,D.Narrow);break;case"EEEEEE":e=K(U.Days,D.Short);break;case"a":case"aa":case"aaa":e=K(U.DayPeriods,D.Abbreviated);break;case"aaaa":e=K(U.DayPeriods,D.Wide);break;case"aaaaa":e=K(U.DayPeriods,D.Narrow);break;case"b":case"bb":case"bbb":e=K(U.DayPeriods,D.Abbreviated,M.Standalone,!0);break;case"bbbb":e=K(U.DayPeriods,D.Wide,M.Standalone,!0);break;case"bbbbb":e=K(U.DayPeriods,D.Narrow,M.Standalone,!0);break;case"B":case"BB":case"BBB":e=K(U.DayPeriods,D.Abbreviated,M.Format,!0);break;case"BBBB":e=K(U.DayPeriods,D.Wide,M.Format,!0);break;case"BBBBB":e=K(U.DayPeriods,D.Narrow,M.Format,!0);break;case"h":e=X(z.Hours,1,-12);break;case"hh":e=X(z.Hours,2,-12);break;case"H":e=X(z.Hours,1);break;case"HH":e=X(z.Hours,2);break;case"m":e=X(z.Minutes,1);break;case"mm":e=X(z.Minutes,2);break;case"s":e=X(z.Seconds,1);break;case"ss":e=X(z.Seconds,2);break;case"S":e=X(z.FractionalSeconds,1);break;case"SS":e=X(z.FractionalSeconds,2);break;case"SSS":e=X(z.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=J(V.Short);break;case"ZZZZZ":e=J(V.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=J(V.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=J(V.Long);break;default:return null}return et[t]=e,e}(t);l+=e?e(r,n,o):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function q(t,e){const n=function(t){return Object(i.mb)(t)[i.db.LocaleId]}(t);if(B[n]=B[n]||{},B[n][e])return B[n][e];let r="";switch(e){case"shortDate":r=A(t,L.Short);break;case"mediumDate":r=A(t,L.Medium);break;case"longDate":r=A(t,L.Long);break;case"fullDate":r=A(t,L.Full);break;case"shortTime":r=E(t,L.Short);break;case"mediumTime":r=E(t,L.Medium);break;case"longTime":r=E(t,L.Long);break;case"fullTime":r=E(t,L.Full);break;case"short":const e=q(t,"shortTime"),n=q(t,"shortDate");r=G(I(t,L.Short),[e,n]);break;case"medium":const i=q(t,"mediumTime"),s=q(t,"mediumDate");r=G(I(t,L.Medium),[i,s]);break;case"long":const a=q(t,"longTime"),o=q(t,"longDate");r=G(I(t,L.Long),[a,o]);break;case"full":const l=q(t,"fullTime"),c=q(t,"fullDate");r=G(I(t,L.Full),[l,c])}return r&&(B[n][e]=r),r}function G(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function $(t,e,n="-",i,r){let s="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,s=n));let a=String(t);for(;a.length0||o>-n)&&(o+=n),t===z.Hours)0===o&&-12===n&&(o=12);else if(t===z.FractionalSeconds)return l=e,$(o,3).substr(0,l);var l;const c=R(a,O.MinusSign);return $(o,e,c,i,r)}}function K(t,e,n=M.Format,r=!1){return function(s,a){return function(t,e,n,r,s,a){switch(n){case U.Months:return function(t,e,n){const r=Object(i.mb)(t),s=N([r[i.db.MonthsFormat],r[i.db.MonthsStandalone]],e);return N(s,n)}(e,s,r)[t.getMonth()];case U.Days:return function(t,e,n){const r=Object(i.mb)(t),s=N([r[i.db.DaysFormat],r[i.db.DaysStandalone]],e);return N(s,n)}(e,s,r)[t.getDay()];case U.DayPeriods:const o=t.getHours(),l=t.getMinutes();if(a){const t=function(t){const e=Object(i.mb)(t);return j(e),(e[i.db.ExtraData][2]||[]).map(t=>"string"==typeof t?P(t):[P(t[0]),P(t[1])])}(e),n=function(t,e,n){const r=Object(i.mb)(t);j(r);const s=N([r[i.db.ExtraData][0],r[i.db.ExtraData][1]],e)||[];return N(s,n)||[]}(e,s,r),a=t.findIndex(t=>{if(Array.isArray(t)){const[e,n]=t,i=o>=e.hours&&l>=e.minutes,r=o0?Math.floor(r/60):Math.ceil(r/60);switch(t){case V.Short:return(r>=0?"+":"")+$(a,2,s)+$(Math.abs(r%60),2,s);case V.ShortGMT:return"GMT"+(r>=0?"+":"")+$(a,1,s);case V.Long:return"GMT"+(r>=0?"+":"")+$(a,2,s)+":"+$(Math.abs(r%60),2,s);case V.Extended:return 0===i?"Z":(r>=0?"+":"")+$(a,2,s)+":"+$(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${t}"`)}}}function Q(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function Z(t,e=!1){return function(n,i){let r;if(e){const t=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,e=n.getDate();r=1+Math.floor((e+t)/7)}else{const t=Q(n),e=function(t){const e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}(t.getFullYear()),i=t.getTime()-e.getTime();r=1+Math.round(i/6048e5)}return $(r,t,R(i,O.MinusSign))}}function tt(t,e=!1){return function(n,i){return $(Q(n).getFullYear(),t,R(i,O.MinusSign),e)}}const et={};function nt(t,e){t=t.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function it(t){return t instanceof Date&&!isNaN(t.valueOf())}const rt=/^(\d+)?\.((\d+)(-(\d+))?)?$/,st=".",at="0";function ot(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}class lt{}let ct=(()=>{class t extends lt{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(Y(e||this.locale)(t)){case T.Zero:return"zero";case T.One:return"one";case T.Two:return"two";case T.Few:return"few";case T.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.w))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();function ut(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}let dt=(()=>{class t{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(i.sb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(i.xb)(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.u),i.Nb(i.v),i.Nb(i.l),i.Nb(i.G))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class ht{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ft=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new ht(null,this._ngForOf,-1,-1),null===i?void 0:i),r=new mt(t,n);e.push(r)}else if(null==i)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,i);const s=new mt(t,r);e.push(s)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.S),i.Nb(i.N),i.Nb(i.u))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class mt{constructor(t,e){this.record=t,this.view=e}}let pt=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new bt,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){gt("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){gt("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){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)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.S),i.Nb(i.N))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class bt{constructor(){this.$implicit=null,this.ngIf=null}}function gt(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(i.xb)(e)}'.`)}class _t{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let yt=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new _t(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.S),i.Nb(i.N),i.Nb(yt,1))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),wt=(()=>{class t{constructor(t,e,n){n._addDefault(new _t(t,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.S),i.Nb(i.N),i.Nb(yt,1))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),St=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,i]=t.split(".");null!=(e=null!=e&&i?`${e}${i}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.v),i.Nb(i.G))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})();function xt(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${Object(i.xb)(t)}'`)}class Ct{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class kt{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Tt=new kt,Mt=new Ct;let Dt=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if(Object(i.ub)(e))return Tt;if(Object(i.tb)(e))return Mt;throw xt(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Zb())},t.\u0275pipe=i.Mb({name:"async",type:t,pure:!1}),t})(),Lt=(()=>{class t{constructor(t){this.locale=t}transform(e,n="mediumDate",i,r){if(null==e||""===e||e!=e)return null;try{return W(e,n,r||this.locale,i)}catch(s){throw xt(t,s.message)}}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.w))},t.\u0275pipe=i.Mb({name:"date",type:t,pure:!0}),t})(),Ot=(()=>{class t{transform(t){return JSON.stringify(t,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=i.Mb({name:"json",type:t,pure:!1}),t})(),At=(()=>{class t{constructor(t){this._locale=t}transform(e,n,r){if(!function(t){return!(null==t||""===t||t!=t)}(e))return null;r=r||this._locale;try{return function(t,e,n){return function(t,e,n,i,r,s,a=!1){let o="",l=!1;if(isFinite(t)){let c=function(t){let e,n,i,r,s,a=Math.abs(t)+"",o=0;for((n=a.indexOf(st))>-1&&(a=a.replace(st,"")),(i=a.search(/e/i))>0?(n<0&&(n=i),n+=+a.slice(i+1),a=a.substring(0,i)):n<0&&(n=a.length),i=0;a.charAt(i)===at;i++);if(i===(s=a.length))e=[0],n=1;else{for(s--;a.charAt(s)===at;)s--;for(n-=i,e=[],r=0;i<=s;i++,r++)e[r]=Number(a.charAt(i))}return n>22&&(e=e.splice(0,21),o=n-1,n=1),{digits:e,exponent:o,integerLen:n}}(t);a&&(c=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let u=e.minInt,d=e.minFrac,h=e.maxFrac;if(s){const t=s.match(rt);if(null===t)throw new Error(s+" is not a valid digit info");const e=t[1],n=t[3],i=t[5];null!=e&&(u=ot(e)),null!=n&&(d=ot(n)),null!=i?h=ot(i):null!=n&&d>h&&(h=d)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let i=t.digits,r=i.length-t.integerLen;const s=Math.min(Math.max(e,r),n);let a=s+t.integerLen,o=i[a];if(a>0){i.splice(Math.max(t.integerLen,a));for(let t=a;t=5)if(a-1<0){for(let e=0;e>a;e--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[a-1]++;for(;r=c?i.pop():l=!1),e>=10?1:0},0);u&&(i.unshift(u),t.integerLen++)}(c,d,h);let f=c.digits,m=c.integerLen;const p=c.exponent;let b=[];for(l=f.every(t=>!t);m0?b=f.splice(m,f.length):(b=f,f=[0]);const g=[];for(f.length>=e.lgSize&&g.unshift(f.splice(-e.lgSize,f.length).join(""));f.length>e.gSize;)g.unshift(f.splice(-e.gSize,f.length).join(""));f.length&&g.unshift(f.join("")),o=g.join(R(n,i)),b.length&&(o+=R(n,r)+b.join("")),p&&(o+=R(n,O.Exponential)+"+"+p)}else o=R(n,O.Infinity);return o=t<0&&!l?e.negPre+o+e.negSuf:e.posPre+o+e.posSuf,o}(t,function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),r=i[0],s=i[1],a=-1!==r.indexOf(st)?r.split(st):[r.substring(0,r.lastIndexOf(at)+1),r.substring(r.lastIndexOf(at)+1)],o=a[0],l=a[1]||"";n.posPre=o.substr(0,o.indexOf("#"));for(let u=0;u{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[{provide:lt,useClass:ct}]}),t})();function It(t){return"browser"===t}function Rt(t){return"server"===t}let Yt=(()=>{class t{}return t.\u0275prov=Object(i.Jb)({token:t,providedIn:"root",factory:()=>new jt(Object(i.Xb)(o),window)}),t})();class jt{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){var e;if(!this.supportsScrolling())return;const n=null!==(e=this.document.getElementById(t))&&void 0!==e?e:this.document.getElementsByName(t)[0];void 0!==n&&(this.scrollToElement(n),this.attemptFocus(n))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=Nt(this.window.history)||Nt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function Nt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Pt extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var t;t=new Pt,s||(s=t)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=Bt||(Bt=document.querySelector("base"),Bt)?Bt.getAttribute("href"):null;return null==e?null:(n=e,Ft||(Ft=document.createElement("a")),Ft.setAttribute("href",n),"/"===Ft.pathname.charAt(0)?Ft.pathname:"/"+Ft.pathname);var n}resetBaseElement(){Bt=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return ut(document.cookie,t)}}let Ft,Bt=null;const Ht=new i.s("TRANSITION_ID"),Vt=[{provide:i.d,useFactory:function(t,e,n){return()=>{n.get(i.e).donePromise.then(()=>{const n=a();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[Ht,o,i.t],multi:!0}];class zt{static init(){Object(i.ab)(new zt)}addToWindow(t){i.rb.getAngularTestability=(e,n=!0)=>{const i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},i.rb.getAllAngularTestabilities=()=>t.getAllTestabilities(),i.rb.getAllAngularRootElements=()=>t.getAllRootElements(),i.rb.frameworkStabilizers||(i.rb.frameworkStabilizers=[]),i.rb.frameworkStabilizers.push(t=>{const e=i.rb.getAllAngularTestabilities();let n=e.length,r=!1;const s=function(e){r=r||e,n--,0==n&&t(r)};e.forEach(function(t){t.whenStable(s)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const i=t.getTestability(e);return null!=i?i:n?a().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const Ut=new i.s("EventManagerPlugins");let Wt=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let i=0;i{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),$t=(()=>{class t extends Gt{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>a().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(o))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const Xt={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/"},Kt=/%COMP%/g;function Jt(t,e,n){for(let i=0;i{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let Zt=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new te(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case i.T.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new ee(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case i.T.ShadowDom:return new ne(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=Jt(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Wt),i.Xb($t),i.Xb(i.c))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();class te{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(Xt[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const r=Xt[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=Xt[n];i?t.removeAttributeNS(i,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(i.I.DashCase|i.I.Important)?t.style.setProperty(e,n,r&i.I.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&i.I.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,Qt(n)):this.eventManager.addEventListener(t,e,Qt(n))}}class ee extends te{constructor(t,e,n,i){super(t),this.component=n;const r=Jt(i+"-"+n.id,n.styles,[]);e.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(Kt,i+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(Kt,i+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class ne extends te{constructor(t,e,n,i){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const r=Jt(i.id,i.styles,[]);for(let s=0;s{class t extends qt{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(o))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const re=["alt","control","meta","shift"],se={"\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"},ae={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"},oe={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let le=(()=>{class t extends qt{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,i){const r=t.parseEventName(n),s=t.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>a().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const n=e.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=t._normalizeKey(n.pop());let s="";if(re.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),s+=t+".")}),s+=r,0!=n.length||0===r.length)return null;const a={};return a.domEventName=i,a.fullKey=s,a}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&ae.hasOwnProperty(e)&&(e=ae[e]))}return se[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),re.forEach(i=>{i!=n&&(0,oe[i])(t)&&(e+=i+".")}),e+=n,e}static eventCallback(e,n,i){return r=>{t.getEventFullKey(r)===e&&i.runGuarded(()=>n(r))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(o))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),ce=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return Object(i.Xb)(ue)},token:t,providedIn:"root"}),t})(),ue=(()=>{class t extends ce{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case i.K.NONE:return e;case i.K.HTML:return Object(i.gb)(e,"HTML")?Object(i.yb)(e):Object(i.eb)(this._doc,String(e));case i.K.STYLE:return Object(i.gb)(e,"Style")?Object(i.yb)(e):e;case i.K.SCRIPT:if(Object(i.gb)(e,"Script"))return Object(i.yb)(e);throw new Error("unsafe value used in a script context");case i.K.URL:return Object(i.qb)(e),Object(i.gb)(e,"URL")?Object(i.yb)(e):Object(i.fb)(String(e));case i.K.RESOURCE_URL:if(Object(i.gb)(e,"ResourceURL"))return Object(i.yb)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return Object(i.hb)(t)}bypassSecurityTrustStyle(t){return Object(i.kb)(t)}bypassSecurityTrustScript(t){return Object(i.jb)(t)}bypassSecurityTrustUrl(t){return Object(i.lb)(t)}bypassSecurityTrustResourceUrl(t){return Object(i.ib)(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(o))},t.\u0275prov=Object(i.Jb)({factory:function(){return t=Object(i.Xb)(i.p),new ue(t.get(o));var t},token:t,providedIn:"root"}),t})();const de=[{provide:i.D,useValue:"browser"},{provide:i.E,useValue:function(){Pt.makeCurrent(),zt.init()},multi:!0},{provide:o,useFactory:function(){return Object(i.wb)(document),document},deps:[]}],he=Object(i.U)(i.Z,"browser",de),fe=[[],{provide:i.cb,useValue:"root"},{provide:i.n,useFactory:function(){return new i.n},deps:[]},{provide:Ut,useClass:ie,multi:!0,deps:[o,i.B,i.D]},{provide:Ut,useClass:le,multi:!0,deps:[o]},[],{provide:Zt,useClass:Zt,deps:[Wt,$t,i.c]},{provide:i.H,useExisting:Zt},{provide:Gt,useExisting:$t},{provide:$t,useClass:$t,deps:[o]},{provide:i.O,useClass:i.O,deps:[i.B]},{provide:Wt,useClass:Wt,deps:[Ut,i.B]},[]];let me=(()=>{class t{constructor(t){if(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.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:i.c,useValue:e.appId},{provide:Ht,useExisting:i.c},Vt]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)(i.Xb(t,12))},providers:fe,imports:[Et,i.f]}),t})();"undefined"!=typeof window&&window;class pe{}const be="*";function ge(t,e){return{type:7,name:t,definitions:e,options:{}}}function _e(t,e=null){return{type:4,styles:e,timings:t}}function ye(t,e=null){return{type:2,steps:t,options:e}}function ve(t){return{type:6,styles:t,offset:null}}function we(t,e,n){return{type:0,name:t,styles:e,options:n}}function Se(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function xe(t=null){return{type:9,options:t}}function Ce(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function ke(t){Promise.resolve(null).then(t)}class Te{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ke(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Me{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,i=0;const r=this.players.length;0==r?ke(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==r&&this._onFinish()}),t.onDestroy(()=>{++n==r&&this._onDestroy()}),t.onStart(()=>{++i==r&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}function De(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Le(t){switch(t.length){case 0:return new Te;case 1:return t[0];default:return new Me(t)}}function Oe(t,e,n,i,r={},s={}){const a=[],o=[];let l=-1,c=null;if(i.forEach(t=>{const n=t.offset,i=n==l,u=i&&c||{};Object.keys(t).forEach(n=>{let i=n,o=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),o){case"!":o=r[n];break;case be:o=s[n];break;default:o=e.normalizeStyleValue(n,i,o,a)}u[i]=o}),i||o.push(u),c=u,l=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return o}function Ae(t,e,n,i){switch(e){case"start":t.onStart(()=>i(n&&Ee(n,"start",t)));break;case"done":t.onDone(()=>i(n&&Ee(n,"done",t)));break;case"destroy":t.onDestroy(()=>i(n&&Ee(n,"destroy",t)))}}function Ee(t,e,n){const i=n.totalTime,r=Ie(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),s=t._data;return null!=s&&(r._data=s),r}function Ie(t,e,n,i,r="",s=0,a){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:s,disabled:!!a}}function Re(t,e,n){let i;return t instanceof Map?(i=t.get(e),i||t.set(e,i=n)):(i=t[e],i||(i=t[e]=n)),i}function Ye(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let je=(t,e)=>!1,Ne=(t,e)=>!1,Pe=(t,e,n)=>[];const Fe=De();(Fe||"undefined"!=typeof Element)&&(je=(t,e)=>t.contains(e),Ne=(()=>{if(Fe||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):Ne}})(),Pe=(t,e,n)=>{let i=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t{const i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}let Ge=(()=>{class t{validateStyleProperty(t){return Ve(t)}matchesElement(t,e){return ze(t,e)}containsElement(t,e){return Ue(t,e)}query(t,e,n){return We(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,r,s=[],a){return new Te(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),$e=(()=>{class t{}return t.NOOP=new Ge,t})();const Xe="ng-enter",Ke="ng-leave",Je="ng-trigger",Qe=".ng-trigger",Ze="ng-animating",tn=".ng-animating";function en(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:nn(parseFloat(e[1]),e[2])}function nn(t,e){switch(e){case"s":return 1e3*t;default:return t}}function rn(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let i,r=0,s="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};i=nn(parseFloat(n[1]),n[2]);const a=n[3];null!=a&&(r=nn(parseFloat(a),n[4]));const o=n[5];o&&(s=o)}else i=t;if(!n){let n=!1,s=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(s,0,`The provided timing value "${t}" is invalid.`)}return{duration:i,delay:r,easing:s}}(t,e,n)}function sn(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function an(t,e,n={}){if(e)for(let i in t)n[i]=t[i];else sn(t,n);return n}function on(t,e,n){return n?e+":"+n+";":""}function ln(t){let e="";for(let n=0;n{const r=gn(i);n&&!n.hasOwnProperty(i)&&(n[i]=t.style[r]),t.style[r]=e[i]}),De()&&ln(t))}function un(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=gn(e);t.style[n]=""}),De()&&ln(t))}function dn(t){return Array.isArray(t)?1==t.length?t[0]:ye(t):t}const hn=new RegExp("{{\\s*(.+?)\\s*}}","g");function fn(t){let e=[];if("string"==typeof t){let n;for(;n=hn.exec(t);)e.push(n[1]);hn.lastIndex=0}return e}function mn(t,e,n){const i=t.toString(),r=i.replace(hn,(t,i)=>{let r=e[i];return e.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),r=""),r.toString()});return r==i?t:r}function pn(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const bn=/-+([a-z0-9])/g;function gn(t){return t.replace(bn,(...t)=>t[1].toUpperCase())}function _n(t,e){return 0===t||0===e}function yn(t,e,n){const i=Object.keys(n);if(i.length&&e.length){let s=e[0],a=[];if(i.forEach(t=>{s.hasOwnProperty(t)||a.push(t),s[t]=n[t]}),a.length)for(var r=1;rfunction(t,e,n){if(":"==t[0]){const i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const r=i[1],s=i[2],a=i[3];e.push(Tn(r,a)),"<"!=s[0]||r==Sn&&a==Sn||e.push(Tn(a,r))}(t,n,e)):n.push(t),n}const Cn=new Set(["true","1"]),kn=new Set(["false","0"]);function Tn(t,e){const n=Cn.has(t)||kn.has(t),i=Cn.has(e)||kn.has(e);return(r,s)=>{let a=t==Sn||t==r,o=e==Sn||e==s;return!a&&n&&"boolean"==typeof r&&(a=r?Cn.has(t):kn.has(t)),!o&&i&&"boolean"==typeof s&&(o=s?Cn.has(e):kn.has(e)),a&&o}}const Mn=new RegExp("s*:selfs*,?","g");function Dn(t,e,n){return new Ln(t).build(e,n)}class Ln{constructor(t){this._driver=t}build(t,e){const n=new On(e);return this._resetContextStyleTimingState(n),vn(this,dn(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const r=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,r.push(this.visitState(n,e))}),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,s.push(r)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:r,transitions:s,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const r=new Set,s=i||{};if(n.styles.forEach(t=>{if(An(t)){const e=t;Object.keys(e).forEach(t=>{fn(e[t]).forEach(t=>{s.hasOwnProperty(t)||r.add(t)})})}}),r.size){const n=pn(r.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=vn(this,dn(t.animation),e);return{type:1,matchers:xn(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:En(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>vn(this,t,e)),options:En(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map(t=>{e.currentTime=n;const r=vn(this,t,e);return i=Math.max(i,e.currentTime),r});return e.currentTime=i,{type:3,steps:r,options:En(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return In(rn(t,e).duration,0,"");const i=t;if(i.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=In(0,0,"");return t.dynamic=!0,t.strValue=i,t}return n=n||rn(i,e),In(n.duration,n.delay,n.easing)}(t.timings,e.errors);let i;e.currentAnimateTimings=n;let r=t.styles?t.styles:ve({});if(5==r.type)i=this.visitKeyframes(r,e);else{let r=t.styles,s=!1;if(!r){s=!0;const t={};n.easing&&(t.easing=n.easing),r=ve(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(r,e);a.isEmptyStep=s,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==be?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,r=null;return n.forEach(t=>{if(An(t)){const e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,r=e.currentTime;n&&r>0&&(r-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const s=e.collectedStyles[e.currentQuerySelector],a=s[n];let o=!0;a&&(r!=i&&r>=a.startTime&&i<=a.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${a.startTime}ms" and "${a.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${i}ms"`),o=!1),r=a.startTime),o&&(s[n]={startTime:r,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},r=fn(t);r.length&&r.forEach(t=>{i.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let i=0;const r=[];let s=!1,a=!1,o=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(An(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(An(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(i++,c=n.offset=l),a=a||c<0||c>1,s=s||c0&&i{const s=u>0?i==d?1:u*i:r[i],a=s*m;e.currentTime=h+f.delay+a,f.duration=a,this._validateStyleAst(t,e),t.offset=s,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:vn(this,dn(t.animation),e),options:En(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:En(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:En(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,s]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(Mn,"")),[t=t.replace(/@\*/g,Qe).replace(/@\w+/g,t=>".ng-trigger-"+t.substr(1)).replace(/:animating/g,tn),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,Re(e.collectedStyles,e.currentQuerySelector,{});const a=vn(this,dn(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:En(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:rn(t.timings,e.errors,!0);return{type:12,animation:vn(this,dn(t.animation),e),timings:n,options:null}}}class On{constructor(t){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 An(t){return!Array.isArray(t)&&"object"==typeof t}function En(t){var e;return t?(t=sn(t)).params&&(t.params=(e=t.params)?sn(e):null):t={},t}function In(t,e,n){return{duration:t,delay:e,easing:n}}function Rn(t,e,n,i,r,s,a=null,o=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:a,subTimeline:o}}class Yn{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const jn=new RegExp(":enter","g"),Nn=new RegExp(":leave","g");function Pn(t,e,n,i,r,s={},a={},o,l,c=[]){return(new Fn).buildKeyframes(t,e,n,i,r,s,a,o,l,c)}class Fn{buildKeyframes(t,e,n,i,r,s,a,o,l,c=[]){l=l||new Yn;const u=new Hn(t,e,l,i,r,c,[]);u.options=o,u.currentTimeline.setStyles([s],null,u.errors,o),vn(this,n,u);const d=u.timelines.filter(t=>t.containsAnimation());if(d.length&&Object.keys(a).length){const t=d[d.length-1];t.allowOnlyTimelineStyles()||t.setStyles([a],null,u.errors,o)}return d.length?d.map(t=>t.buildKeyframes()):[Rn(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,s=this._visitSubInstructions(n,i,i.options);r!=s&&e.transformIntoNewTimeline(s)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?en(n.duration):null,s=null!=n.delay?en(n.delay):null;return 0!==r&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,r,s);i=Math.max(i,n.duration+n.delay)}),i}visitReference(t,e){e.updateOptions(t.options,!0),vn(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=Bn);const t=en(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>vn(this,t,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?en(t.options.delay):0;t.steps.forEach(s=>{const a=e.createSubContext(t.options);r&&a.delayNextStep(r),vn(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),n.push(a.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return rn(e.params?mn(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,s=e.createSubContext().currentTimeline;s.easing=n.easing,t.styles.forEach(t=>{s.forwardTime((t.offset||0)*r),s.setStyles(t.styles,t.easing,e.errors,e.options),s.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(s),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?en(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Bn);let s=n;const a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;let o=null;a.forEach((n,i)=>{e.currentQueryIndex=i;const a=e.createSubContext(t.options,n);r&&a.delayNextStep(r),n===e.element&&(o=a.currentTimeline),vn(this,t.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),o&&(e.currentTimeline.mergeTimelineCollectedStyles(o),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,i=e.currentTimeline,r=t.timings,s=Math.abs(r.duration),a=s*(e.currentQueryTotal-1);let o=s*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":o=a-o;break;case"full":o=n.currentStaggerTime}const l=e.currentTimeline;o&&l.delayNextStep(o);const c=l.currentTime;vn(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const Bn={};class Hn{constructor(t,e,n,i,r,s,a,o){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Bn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new Vn(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=en(n.duration)),null!=n.delay&&(i.delay=en(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach(n=>{e&&t.hasOwnProperty(n)||(t[n]=mn(r[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const i=e||this.element,r=new Hn(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||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}transformIntoNewTimeline(t){return this.previousNode=Bn,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new zn(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,r,s){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(jn,"."+this._enterClassName)).replace(Nn,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),a.push(...e)}return r||0!=a.length||s.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),a}}class Vn{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new Vn(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){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))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||be,this._currentKeyframe[t]=be}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const r=i&&i.params||{},s=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=be})):an(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(s).forEach(t=>{const e=mn(s[t],r,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:be),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],i=t._styleSummary[e];(!n||i.time>n.time)&&this._updateStyle(e,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((r,s)=>{const a=an(r,!0);Object.keys(a).forEach(n=>{const i=a[n];"!"==i?t.add(n):i==be&&e.add(n)}),n||(a.offset=s/this.duration),i.push(a)});const r=t.size?pn(t.values()):[],s=e.size?pn(e.values()):[];if(n){const t=i[0],e=sn(t);t.offset=0,e.offset=1,i=[t,e]}return Rn(this.element,i,r,s,this.duration,this.startTime,this.easing,!1)}}class zn extends Vn{constructor(t,e,n,i,r,s,a=!1){super(t,e,s.delay),this.element=e,this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],s=n+e,a=e/s,o=an(t[0],!1);o.offset=0,r.push(o);const l=an(t[0],!1);l.offset=Un(a),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let a=an(t[i],!1);a.offset=Un((e+a.offset*n)/s),r.push(a)}n=s,e=0,i="",t=r}return Rn(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function Un(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Wn{}class qn extends Wn{normalizePropertyName(t,e){return gn(t)}normalizeStyleValue(t,e,n,i){let r="";const s=n.toString().trim();if(Gn[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&i.push(`Please provide a CSS unit value for ${t}:${n}`)}return s+r}}const Gn=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("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(",")))();function $n(t,e,n,i,r,s,a,o,l,c,u,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:s,toState:i,toStyles:a,timelines:o,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:d,errors:h}}const Xn={};class Kn{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some(t=>t(e,n,i,r))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){const i=this._stateStyles["*"],r=this._stateStyles[t],s=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):s}build(t,e,n,i,r,s,a,o,l,c){const u=[],d=this.ast.options&&this.ast.options.params||Xn,h=this.buildStyles(n,a&&a.params||Xn,u),f=o&&o.params||Xn,m=this.buildStyles(i,f,u),p=new Set,b=new Map,g=new Map,_="void"===i,y={params:Object.assign(Object.assign({},d),f)},v=c?[]:Pn(t,e,this.ast.animation,r,s,h,m,y,l,u);let w=0;if(v.forEach(t=>{w=Math.max(t.duration+t.delay,w)}),u.length)return $n(e,this._triggerName,n,i,_,h,m,[],[],b,g,w,u);v.forEach(t=>{const n=t.element,i=Re(b,n,{});t.preStyleProps.forEach(t=>i[t]=!0);const r=Re(g,n,{});t.postStyleProps.forEach(t=>r[t]=!0),n!==e&&p.add(n)});const S=pn(p.values());return $n(e,this._triggerName,n,i,_,h,m,v,S,b,g,w)}}class Jn{constructor(t,e){this.styles=t,this.defaultParams=e}buildStyles(t,e){const n={},i=sn(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const r=t;Object.keys(r).forEach(t=>{let s=r[t];s.length>1&&(s=mn(s,i,e)),n[t]=s})}}),n}}class Qn{constructor(t,e){this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Jn(t.style,t.options&&t.options.params||{})}),Zn(this.states,"true","1"),Zn(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Kn(t,e,this.states))}),this.fallbackTransition=new Kn(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find(r=>r.match(t,e,n,i))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Zn(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const ti=new Yn;class ei{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],i=Dn(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=i}_buildPlayer(t,e,n){const i=t.element,r=Oe(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],r=this._animations[t];let s;const a=new Map;if(r?(s=Pn(this._driver,e,r,Xe,Ke,{},{},n,ti,i),s.forEach(t=>{const e=Re(a,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),s=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));a.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,be)})});const o=Le(s.map(t=>{const e=a.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=o,o.onDestroy(()=>this.destroy(t)),this.players.push(o),o}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e}listen(t,e,n,i){const r=Ie(e,"","","");return Ae(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n)return void this.create(t,e,i[0]||{});const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const ni="ng-animate-queued",ii="ng-animate-disabled",ri=".ng-animate-disabled",si=[],ai={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},oi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class li{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(i=n?t.value:t)?i:null,n){const e=sn(t);delete e.value,this.options=e}else this.options={};var i;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const ci="void",ui=new li(ci);class di{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,_i(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var r;const s=Re(this._elementListeners,t,[]),a={name:e,phase:n,callback:i};s.push(a);const o=Re(this._engine.statesByElement,t,{});return o.hasOwnProperty(e)||(_i(t,Je),_i(t,"ng-trigger-"+e),o[e]=ui),()=>{this._engine.afterFlush(()=>{const t=s.indexOf(a);t>=0&&s.splice(t,1),this._triggers[e]||delete o[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),s=new fi(this.id,e,t);let a=this._engine.statesByElement.get(t);a||(_i(t,Je),_i(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,a={}));let o=a[e];const l=new li(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&o&&l.absorbOptions(o.options),a[e]=l,o||(o=ui),l.value!==ci&&o.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let r=0;r{un(t,n),cn(t,i)})}return}const c=Re(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=r.matchTransition(o.value,l.value,t,l.params),d=!1;if(!u){if(!i)return;u=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:o,toState:l,player:s,isFallbackTransition:d}),d||(_i(t,ni),s.onStart(()=>{yi(t,ni)})),s.onDone(()=>{let e=this.players.indexOf(s);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(s);t>=0&&n.splice(t,1)}}),this.players.push(s),c.push(s),s}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,Qe,!0);n.forEach(t=>{if(t.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,i){const r=this._engine.statesByElement.get(t);if(r){const s=[];if(Object.keys(r).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,ci,i);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&Le(s).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t);if(e){const n=new Set;e.forEach(e=>{const i=e.name;if(n.has(i))return;n.add(i);const r=this._triggers[i].fallbackTransition,s=this._engine.statesByElement.get(t)[i]||ui,a=new li(ci),o=new fi(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:r,fromState:s,toState:a,player:o,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t.__ng_removed;i&&i!==ai||(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){_i(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const i=n.player;if(i.destroyed)return;const r=n.element,s=this._elementListeners.get(r);s&&s.forEach(e=>{if(e.name==n.triggerName){const i=Ie(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,Ae(n.player,e.phase,i,e.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class hi{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,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=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new di(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let i=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let i=0;i=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),_i(t,ii)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),yi(t,ii))}removeNode(t,e,n,i){if(mi(e)){const r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,i)}}else this._onRemovalComplete(e,i)}markElementAsRemoved(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,i,r){return mi(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,Qe,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,tn,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return Le(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t.__ng_removed;if(e&&e.setForRemoval){if(t.__ng_removed=ai,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,ri)&&this.markElementAsDisabled(t,!1),this.driver.query(t,ri,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?Le(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))}_flushAnimations(t,e){const n=new Yn,i=[],r=new Map,s=[],a=new Map,o=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(t=>{c.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n{const n=Xe+m++;f.set(e,n),t.forEach(t=>_i(t,n))});const p=[],b=new Set,g=new Set;for(let O=0;Ob.add(t)):g.add(t))}const _=new Map,y=gi(d,Array.from(b));y.forEach((t,e)=>{const n=Ke+m++;_.set(e,n),t.forEach(t=>_i(t,n))}),t.push(()=>{h.forEach((t,e)=>{const n=f.get(e);t.forEach(t=>yi(t,n))}),y.forEach((t,e)=>{const n=_.get(e);t.forEach(t=>yi(t,n))}),p.forEach(t=>{this.processLeaveNode(t)})});const v=[],w=[];for(let O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(e).forEach(t=>{const e=t.player,r=t.element;if(v.push(e),this.collectedEnterElements.length){const t=r.__ng_removed;if(t&&t.setForMove)return void e.destroy()}const c=!u||!this.driver.containsElement(u,r),d=_.get(r),h=f.get(r),m=this._buildInstruction(t,n,h,d,c);if(m.errors&&m.errors.length)w.push(m);else{if(c)return e.onStart(()=>un(r,m.fromStyles)),e.onDestroy(()=>cn(r,m.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>un(r,m.fromStyles)),e.onDestroy(()=>cn(r,m.toStyles)),void i.push(e);m.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(r,m.timelines),s.push({instruction:m,player:e,element:r}),m.queriedElements.forEach(t=>Re(a,t,[]).push(e)),m.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=o.get(e);t||o.set(e,t=new Set),n.forEach(e=>t.add(e))}}),m.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let i=l.get(e);i||l.set(e,i=new Set),n.forEach(t=>i.add(t))})}});if(w.length){const t=[];w.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),v.forEach(t=>t.destroy()),this.reportError(t)}const S=new Map,x=new Map;s.forEach(t=>{const e=t.element;n.has(e)&&(x.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,S))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{Re(S,e,[]).push(t),t.destroy()})});const C=p.filter(t=>Si(t,o,l)),k=new Map;bi(k,this.driver,g,l,be).forEach(t=>{Si(t,o,l)&&C.push(t)});const T=new Map;h.forEach((t,e)=>{bi(T,this.driver,new Set(t),o,"!")}),C.forEach(t=>{const e=k.get(t),n=T.get(t);k.set(t,Object.assign(Object.assign({},e),n))});const M=[],D=[],L={};s.forEach(t=>{const{element:e,player:s,instruction:a}=t;if(n.has(e)){if(c.has(e))return s.onDestroy(()=>cn(e,a.toStyles)),s.disabled=!0,s.overrideTotalTime(a.totalTime),void i.push(s);let t=L;if(x.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=x.get(n);if(e){t=e;break}i.push(n)}i.forEach(e=>x.set(e,t))}const n=this._buildAnimation(s.namespaceId,a,S,r,T,k);if(s.setRealPlayer(n),t===L)M.push(s);else{const e=this.playersByElement.get(t);e&&e.length&&(s.parentPlayer=Le(e)),i.push(s)}}else un(e,a.fromStyles),s.onDestroy(()=>cn(e,a.toStyles)),D.push(s),c.has(e)&&i.push(s)}),D.forEach(t=>{const e=r.get(t.element);if(e&&e.length){const n=Le(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let O=0;O!t.destroyed);i.length?vi(this,t,i):this.processLeaveNode(t)}return p.length=0,M.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),M}elementContainsData(t,e){let n=!1;const i=e.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let s=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(s=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||r==ci;e.forEach(e=>{e.queued||(t||e.triggerName==i)&&s.push(e)})}}return(n||i)&&(s=s.filter(t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName))),s}_beforeAnimationBuild(t,e,n){const i=e.element,r=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName;for(const a of e.timelines){const t=a.element,o=t!==i,l=Re(n,t,[]);this._getPreviousPlayers(t,o,r,s,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}un(i,e.fromStyles)}_buildAnimation(t,e,n,i,r,s){const a=e.triggerName,o=e.element,l=[],c=new Set,u=new Set,d=e.timelines.map(e=>{const d=e.element;c.add(d);const h=d.__ng_removed;if(h&&h.removedBeforeQueried)return new Te(e.duration,e.delay);const f=d!==o,m=function(t){const e=[];return wi(t,e),e}((n.get(d)||si).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===d),p=r.get(d),b=s.get(d),g=Oe(0,this._normalizer,0,e.keyframes,p,b),_=this._buildPlayer(e,g,m);if(e.subTimeline&&i&&u.add(d),f){const e=new fi(t,a,d);e.setRealPlayer(_),l.push(e)}return _});l.forEach(t=>{Re(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let i;if(t instanceof Map){if(i=t.get(e),i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}}else if(i=t[e],i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&delete t[e]}return i}(this.playersByQueriedElement,t.element,t))}),c.forEach(t=>_i(t,Ze));const h=Le(d);return h.onDestroy(()=>{c.forEach(t=>yi(t,Ze)),cn(o,e.toStyles)}),u.forEach(t=>{Re(i,t,[]).push(h)}),h}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Te(t.duration,t.delay)}}class fi{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Te,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>Ae(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){Re(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function mi(t){return t&&1===t.nodeType}function pi(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function bi(t,e,n,i,r){const s=[];n.forEach(t=>s.push(pi(t)));const a=[];i.forEach((n,i)=>{const s={};n.forEach(t=>{const n=s[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i.__ng_removed=oi,a.push(i))}),t.set(i,s)});let o=0;return n.forEach(t=>pi(t,s[o++])),a}function gi(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const i=new Set(e),r=new Map;function s(t){if(!t)return 1;let e=r.get(t);if(e)return e;const a=t.parentNode;return e=n.has(a)?a:i.has(a)?1:s(a),r.set(t,e),e}return e.forEach(t=>{const e=s(t);1!==e&&n.get(e).push(t)}),n}function _i(t,e){if(t.classList)t.classList.add(e);else{let n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function yi(t,e){if(t.classList)t.classList.remove(e);else{let n=t.$$classes;n&&delete n[e]}}function vi(t,e,n){Le(n).onDone(()=>t.processLeaveNode(e))}function wi(t,e){for(let n=0;nr.add(t)):e.set(t,i),n.delete(t),!0}class xi{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new hi(t,e,n),this._timelineEngine=new ei(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,r){const s=t+"-"+i;let a=this._triggerCache[s];if(!a){const t=[],e=Dn(this._driver,r,t);if(t.length)throw new Error(`The animation trigger "${i}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);a=function(t,e){return new Qn(t,e)}(i,e),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,i,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n,i){this._transitionEngine.removeNode(t,e,i||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=Ye(n);this._timelineEngine.command(t,e,r,i)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=Ye(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function Ci(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=Ti(e[0]),e.length>1&&(i=Ti(e[e.length-1]))):e&&(n=Ti(e)),n||i?new ki(t,n,i):null}let ki=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&cn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(cn(this._element,this._initialStyles),this._endStyles&&(cn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(un(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(un(this._element,this._endStyles),this._endStyles=null),cn(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Ti(t){let e=null;const n=Object.keys(t);for(let i=0;ithis._handleCallback(t)}apply(){!function(t,e){const n=ji(t,"").trim();n.length&&(function(t,e){let n=0;for(let i=0;i=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Ri(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=ji(t,"").split(","),i=Ii(n,e);i>=0&&(n.splice(i,1),Yi(t,"",n.join(",")))}(this._element,this._name))}}function Ai(t,e,n){Yi(t,"PlayState",n,Ei(t,e))}function Ei(t,e){const n=ji(t,"");return n.indexOf(",")>0?Ii(n.split(","),e):Ii([n],e)}function Ii(t,e){for(let n=0;n=0)return n;return-1}function Ri(t,e,n){n?t.removeEventListener(Li,e):t.addEventListener(Li,e)}function Yi(t,e,n,i){const r=Di+e;if(null!=i){const e=t.style[r];if(e.length){const t=e.split(",");t[i]=n,n=t.join(",")}}t.style[r]=n}function ji(t,e){return t.style[Di+e]||""}class Ni{constructor(t,e,n,i,r,s,a,o){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=a,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=i+r,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new Oi(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:wn(this.element,n))})}this.currentSnapshot=t}}class Pi extends Te{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=qe(e)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class Fi{constructor(){this._count=0,this._head=document.querySelector("head")}validateStyleProperty(t){return Ve(t)}matchesElement(t,e){return ze(t,e)}containsElement(t,e){return Ue(t,e)}query(t,e,n){return We(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>qe(t));let i=`@keyframes ${e} {\n`,r="";n.forEach(t=>{r=" ";const e=parseFloat(t.offset);i+=`${r}${100*e}% {\n`,r+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=`${r}animation-timing-function: ${n};\n`));default:return void(i+=`${r}${e}: ${n};\n`)}}),i+=r+"}\n"}),i+="}\n";const s=document.createElement("style");return s.textContent=i,s}animate(t,e,n,i,r,s=[],a){const o=s.filter(t=>t instanceof Ni),l={};_n(n,i)&&o.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=yn(t,e,l));if(0==n)return new Pi(t,c);const u="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(t,u,e);document.querySelector("head").appendChild(d);const h=Ci(t,e),f=new Ni(t,e,u,n,i,r,c,h);return f.onDestroy(()=>{var t;(t=d).parentNode.removeChild(t)}),f}}class Bi{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:wn(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Hi{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Vi().toString()),this._cssKeyframesDriver=new Fi}validateStyleProperty(t){return Ve(t)}matchesElement(t,e){return ze(t,e)}containsElement(t,e){return Ue(t,e)}query(t,e,n){return We(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,i,r,s=[],a){if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,i,r,s);const o={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(o.easing=r);const l={},c=s.filter(t=>t instanceof Bi);_n(n,i)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=Ci(t,e=yn(t,e=e.map(t=>an(t,!1)),l));return new Bi(t,e,o,u)}}function Vi(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let zi=(()=>{class t extends pe{constructor(t,e){super(),this._nextAnimationId=0,this._renderer=t.createRenderer(e.body,{id:"0",encapsulation:i.T.None,styles:[],data:{animation:[]}})}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?ye(t):t;return qi(this._renderer,null,e,"register",[n]),new Ui(e,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.H),i.Xb(o))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();class Ui extends class{}{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new Wi(this._id,t,e||{},this._renderer)}}class Wi{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return qi(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(t){this._command("setPosition",t)}getPosition(){var t,e;return null!==(e=null===(t=this._renderer.engine.players[+this.id])||void 0===t?void 0:t.getPosition())&&void 0!==e?e:0}}function qi(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}const Gi="@",$i="@.disabled";let Xi=(()=>{class t{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=(t,e)=>{e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);return t||(t=new Ki("",n,this.engine),this._rendererCache.set(n,t)),t}const i=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const s=e=>{Array.isArray(e)?e.forEach(s):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(s),new Ji(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(t,e,n){t>=0&&te(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(t=>{const[e,n]=t;e(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.H),i.Xb(xi),i.Xb(i.B))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();class Ki{constructor(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?t=>e.destroyNode(t):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate,n)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==Gi&&e==$i?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class Ji extends Ki{constructor(t,e,n,i){super(e,n,i),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==Gi?"."==e.charAt(1)&&e==$i?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==Gi){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.substr(1),s="";return r.charAt(0)!=Gi&&([r,s]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.substr(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,s,t=>{this.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)}}let Qi=(()=>{class t extends xi{constructor(t,e,n){super(t.body,e,n)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(o),i.Xb($e),i.Xb(Wn))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const Zi=new i.s("AnimationModuleType"),tr=[{provide:$e,useFactory:function(){return"function"==typeof Vi()?new Hi:new Fi}},{provide:Zi,useValue:"BrowserAnimations"},{provide:pe,useClass:zi},{provide:Wn,useFactory:function(){return new qn}},{provide:xi,useClass:Qi},{provide:i.H,useFactory:function(t,e,n){return new Xi(t,e,n)},deps:[Zt,xi,i.B]}];let er=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:tr,imports:[me]}),t})();var nr=n("LRne"),ir=n("HDdC"),rr=n("5+tZ");function sr(t,e){return Object(rr.a)(t,e,1)}var ar=n("7o/Q");function or(t,e){return function(n){return n.lift(new lr(t,e))}}class lr{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new cr(t,this.predicate,this.thisArg))}}class cr extends ar.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}var ur=n("lJxs");class dr{}class hr{}class fr{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),i=n.toLowerCase(),r=t.slice(e+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const i=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(i,n),this.maybeSetNormalizedName(e,i))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof fr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new fr;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof fr?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const i=("a"===t.op?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":const r=t.value;if(r){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===r.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class mr{encodeKey(t){return pr(t)}encodeValue(t){return pr(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}function pr(t){return encodeURIComponent(t).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,"/")}class br{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new mr,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.split("&").forEach(t=>{const i=t.indexOf("="),[r,s]=-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],a=n.get(r)||[];a.push(s),n.set(r,a)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new br({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(t.value),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(t.value);-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}function gr(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function _r(t){return"undefined"!=typeof Blob&&t instanceof Blob}function yr(t){return"undefined"!=typeof FormData&&t instanceof FormData}class vr{constructor(t,e,n,i){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,r=i):r=n,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 fr),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),o)),t.setParams&&(l=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),l)),new vr(e,n,r,{params:l,headers:o,reportProgress:a,responseType:i,withCredentials:s})}}var wr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({});class Sr{constructor(t,e=200,n="OK"){this.headers=t.headers||new fr,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class xr extends Sr{constructor(t={}){super(t),this.type=wr.ResponseHeader}clone(t={}){return new xr({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class Cr extends Sr{constructor(t={}){super(t),this.type=wr.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new Cr({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class kr extends Sr{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function Tr(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Mr=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let i;if(t instanceof vr)i=t;else{let r=void 0;r=n.headers instanceof fr?n.headers:new fr(n.headers);let s=void 0;n.params&&(s=n.params instanceof br?n.params:new br({fromObject:n.params})),i=new vr(t,e,void 0!==n.body?n.body:null,{headers:r,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const r=Object(nr.a)(i).pipe(sr(t=>this.handler.handle(t)));if(t instanceof vr||"events"===n.observe)return r;const s=r.pipe(or(t=>t instanceof Cr));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return s.pipe(Object(ur.a)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return s.pipe(Object(ur.a)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return s.pipe(Object(ur.a)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return s.pipe(Object(ur.a)(t=>t.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new br).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,Tr(n,e))}post(t,e,n={}){return this.request("POST",t,Tr(n,e))}put(t,e,n={}){return this.request("PUT",t,Tr(n,e))}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(dr))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();class Dr{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const Lr=new i.s("HTTP_INTERCEPTORS");let Or=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const Ar=/^\)\]\}',?\n/;class Er{}let Ir=(()=>{class t{constructor(){}build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),Rr=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new ir.a(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const i=t.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const e=1223===n.status?204:n.status,i=n.statusText||"OK",s=new fr(n.getAllResponseHeaders()),a=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return r=new xr({headers:s,status:e,statusText:i,url:a}),r},a=()=>{let{headers:i,status:r,statusText:a,url:o}=s(),l=null;204!==r&&(l=void 0===n.response?n.responseText:n.response),0===r&&(r=l?200:0);let c=r>=200&&r<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(Ar,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new Cr({body:l,headers:i,status:r,statusText:a,url:o||void 0})),e.complete()):e.error(new kr({error:l,headers:i,status:r,statusText:a,url:o||void 0}))},o=t=>{const{url:i}=s(),r=new kr({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:i||void 0});e.error(r)};let l=!1;const c=i=>{l||(e.next(s()),l=!0);let r={type:wr.DownloadProgress,loaded:i.loaded};i.lengthComputable&&(r.total=i.total),"text"===t.responseType&&n.responseText&&(r.partialText=n.responseText),e.next(r)},u=t=>{let n={type:wr.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",a),n.addEventListener("error",o),t.reportProgress&&(n.addEventListener("progress",c),null!==i&&n.upload&&n.upload.addEventListener("progress",u)),n.send(i),e.next({type:wr.Sent}),()=>{n.removeEventListener("error",o),n.removeEventListener("load",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==i&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Er))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const Yr=new i.s("XSRF_COOKIE_NAME"),jr=new i.s("XSRF_HEADER_NAME");class Nr{}let Pr=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=ut(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(o),i.Xb(i.D),i.Xb(Yr))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),Fr=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Nr),i.Xb(jr))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),Br=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(Lr,[]);this.chain=t.reduceRight((t,e)=>new Dr(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(hr),i.Xb(i.t))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),Hr=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:Fr,useClass:Or}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:Yr,useValue:e.cookieName}:[],e.headerName?{provide:jr,useValue:e.headerName}:[]]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[Fr,{provide:Lr,useExisting:Fr,multi:!0},{provide:Nr,useClass:Pr},{provide:Yr,useValue:"XSRF-TOKEN"},{provide:jr,useValue:"X-XSRF-TOKEN"}]}),t})(),Vr=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[Mr,{provide:dr,useClass:Br},Rr,{provide:hr,useExisting:Rr},Ir,{provide:Er,useExisting:Ir}],imports:[[Hr.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})();var zr=n("DH7j"),Ur=n("XoHu"),Wr=n("Cfvw");function qr(...t){if(1===t.length){const e=t[0];if(Object(zr.a)(e))return Gr(e,null);if(Object(Ur.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return Gr(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return Gr(t=1===t.length&&Object(zr.a)(t[0])?t[0]:t,null).pipe(Object(ur.a)(t=>e(...t)))}return Gr(t,null)}function Gr(t,e){return new ir.a(n=>{const i=t.length;if(0===i)return void n.complete();const r=new Array(i);let s=0,a=0;for(let o=0;o{c||(c=!0,a++),r[o]=t},error:t=>n.error(t),complete:()=>{s++,s!==i&&c||(a===i&&n.next(e?e.reduce((t,e,n)=>(t[e]=r[n],t),{}):r),n.complete())}}))}})}const $r=new i.s("NgValueAccessor"),Xr={provide:$r,useExisting:Object(i.W)(()=>Kr),multi:!0};let Kr=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(t){return e.onChange(t.target.checked)})("blur",function(){return e.onTouched()})},features:[i.Bb([Xr])]}),t})();const Jr={provide:$r,useExisting:Object(i.W)(()=>Zr),multi:!0},Qr=new i.s("CompositionEventMode");let Zr=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=a()?a().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l),i.Nb(Qr,8))},t.\u0275dir=i.Ib({type:t,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(t,e){1&t&&i.bc("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[i.Bb([Jr])]}),t})();function ts(t){return null==t||0===t.length}function es(t){return null!=t&&"number"==typeof t.length}const ns=new i.s("NgValidators"),is=new i.s("NgAsyncValidators"),rs=/^(?=.{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])?)*$/;class ss{static min(t){return e=>{if(ts(e.value)||ts(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(ts(e.value)||ts(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return ts(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return ts(t.value)||rs.test(t.value)?null:{email:!0}}static minLength(t){return e=>ts(e.value)||!es(e.value)?null:e.value.lengthes(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return ss.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(ts(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(as);return 0==e.length?null:function(t){return ls(cs(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(as);return 0==e.length?null:function(t){return qr(cs(t,e).map(os)).pipe(Object(ur.a)(ls))}}}function as(t){return null!=t}function os(t){const e=Object(i.ub)(t)?Object(Wr.a)(t):t;return Object(i.tb)(e),e}function ls(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function cs(t,e){return e.map(e=>e(t))}function us(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function ds(t){return null!=t?ss.compose(us(t)):null}function hs(t){return null!=t?ss.composeAsync(us(t)):null}function fs(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function ms(t){return t._rawValidators}function ps(t){return t._rawAsyncValidators}let bs=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=ds(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=hs(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t}),t})(),gs=(()=>{class t extends bs{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return _s(e||t)},t.\u0275dir=i.Ib({type:t,features:[i.zb]}),t})();const _s=i.Vb(gs);class ys extends bs{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class vs{constructor(t){this._cd=t}get ngClassUntouched(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.untouched)&&void 0!==n&&n}get ngClassTouched(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.touched)&&void 0!==n&&n}get ngClassPristine(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.pristine)&&void 0!==n&&n}get ngClassDirty(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.dirty)&&void 0!==n&&n}get ngClassValid(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.valid)&&void 0!==n&&n}get ngClassInvalid(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.invalid)&&void 0!==n&&n}get ngClassPending(){var t,e,n;return null!==(n=null===(e=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===e?void 0:e.pending)&&void 0!==n&&n}}let ws=(()=>{class t extends vs{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(ys,2))},t.\u0275dir=i.Ib({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.Fb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[i.zb]}),t})(),Ss=(()=>{class t extends vs{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(gs,10))},t.\u0275dir=i.Ib({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.Fb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[i.zb]}),t})();const xs={provide:$r,useExisting:Object(i.W)(()=>Cs),multi:!0};let Cs=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[i.Bb([xs])]}),t})();const ks={provide:$r,useExisting:Object(i.W)(()=>Ms),multi:!0};let Ts=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),Ms=(()=>{class t{constructor(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(ys),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l),i.Nb(Ts),i.Nb(i.t))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(){return e.onChange()})("blur",function(){return e.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i.Bb([ks])]}),t})();const Ds={provide:$r,useExisting:Object(i.W)(()=>Ls),multi:!0};let Ls=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(t){return e.onChange(t.target.value)})("input",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},features:[i.Bb([Ds])]}),t})();const Os={provide:$r,useExisting:Object(i.W)(()=>Es),multi:!0};function As(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let Es=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=As(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.G),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&i.bc("change",function(t){return e.onChange(t.target.value)})("blur",function(){return e.onTouched()})},inputs:{compareWith:"compareWith"},features:[i.Bb([Os])]}),t})(),Is=(()=>{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(As(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.G),i.Nb(Es,9))},t.\u0275dir=i.Ib({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const Rs={provide:$r,useExisting:Object(i.W)(()=>js),multi:!0};function Ys(t,e){return null==t?""+e:("string"==typeof e&&(e=`'${e}'`),e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}let js=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e{class t{constructor(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(Ys(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(Ys(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.G),i.Nb(js,9))},t.\u0275dir=i.Ib({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();function Ps(t,e){return[...e.path,t]}function Fs(t,e){Hs(t,e,!0),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&zs(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&zs(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function Bs(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function Hs(t,e,n){const i=ms(t);null!==e.validator?t.setValidators(fs(i,e.validator)):"function"==typeof i&&t.setValidators([i]);const r=ps(t);if(null!==e.asyncValidator?t.setAsyncValidators(fs(r,e.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]),n){const n=()=>t.updateValueAndValidity();Bs(e._rawValidators,n),Bs(e._rawAsyncValidators,n)}}function Vs(t,e,n){if(null!==t){if(null!==e.validator){const n=ms(t);Array.isArray(n)&&n.length>0&&t.setValidators(n.filter(t=>t!==e.validator))}if(null!==e.asyncValidator){const n=ps(t);Array.isArray(n)&&n.length>0&&t.setAsyncValidators(n.filter(t=>t!==e.asyncValidator))}}if(n){const t=()=>{};Bs(e._rawValidators,t),Bs(e._rawAsyncValidators,t)}}function zs(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Us(t,e){Hs(t,e,!1)}function Ws(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}const qs=[Kr,Ls,Cs,Es,js,Ms];function Gs(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function $s(t,e){if(!e)return null;Array.isArray(e);let n=void 0,i=void 0,r=void 0;return e.forEach(t=>{var e;t.constructor===Zr?n=t:(e=t,qs.some(t=>e.constructor===t)?i=t:r=t)}),r||i||n||null}function Xs(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Ks="VALID",Js="INVALID",Qs="PENDING",Zs="DISABLED";function ta(t){return(ra(t)?t.validators:t)||null}function ea(t){return Array.isArray(t)?ds(t):t||null}function na(t,e){return(ra(e)?e.asyncValidators:t)||null}function ia(t){return Array.isArray(t)?hs(t):t||null}function ra(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class sa{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=ea(this._rawValidators),this._composedAsyncValidatorFn=ia(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Ks}get invalid(){return this.status===Js}get pending(){return this.status==Qs}get disabled(){return this.status===Zs}get enabled(){return this.status!==Zs}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=ea(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=ia(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Qs,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Zs,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Ks,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==Ks&&this.status!==Qs||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zs:Ks}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Qs,this._hasOwnPendingAsyncValidator=!0;const e=os(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let i=t;return e.forEach(t=>{i=i instanceof oa?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof la&&i.at(t)||null}),i}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new i.o,this.statusChanges=new i.o}_calculateStatus(){return this._allControlsDisabled()?Zs:this.errors?Js:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Qs)?Qs:this._anyControlsHaveStatus(Js)?Js:Ks}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){ra(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class aa extends sa{constructor(t=null,e,n){super(ta(e),na(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){Xs(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){Xs(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class oa extends sa{constructor(t,e,n){super(ta(e),na(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof aa?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){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[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,i)=>{n=e(n,t,i)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class la extends sa{constructor(t,e,n){super(ta(e),na(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!n})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,i)=>{n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof aa?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){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(t))throw new Error("Cannot find form control at index "+t)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const ca={provide:gs,useExisting:Object(i.W)(()=>da)},ua=(()=>Promise.resolve(null))();let da=(()=>{class t extends gs{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new i.o,this.form=new oa({},ds(t),hs(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){ua.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),Fs(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){ua.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),Xs(this._directives,t)})}addFormGroup(t){ua.then(()=>{const e=this._findContainer(t.path),n=new oa({});Us(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){ua.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){ua.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Gs(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(ns,10),i.Nb(is,10))},t.\u0275dir=i.Ib({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&i.bc("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Bb([ca]),i.zb]}),t})();const ha={provide:ys,useExisting:Object(i.W)(()=>ma)},fa=(()=>Promise.resolve(null))();let ma=(()=>{class t extends ys{constructor(t,e,n,r){super(),this.control=new aa,this._registered=!1,this.update=new i.o,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=$s(0,r)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),Ws(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Ps(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Fs(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){fa.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;fa.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(gs,9),i.Nb(ns,10),i.Nb(is,10),i.Nb($r,10))},t.\u0275dir=i.Ib({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Bb([ha]),i.zb,i.Ab]}),t})();const pa=new i.s("NgModelWithFormControlWarning"),ba={provide:gs,useExisting:Object(i.W)(()=>ga)};let ga=(()=>{class t extends gs{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new i.o,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return Fs(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){Xs(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);Us(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);Us(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(t){}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,Gs(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(function(t,e){const n=()=>{};e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n),Vs(t,e,!0),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}(t.control||null,t),e&&Fs(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Hs(this.form,this,!1),this._oldForm&&Vs(this._oldForm,this,!1)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(ns,10),i.Nb(is,10))},t.\u0275dir=i.Ib({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.bc("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Bb([ba]),i.zb,i.Ab]}),t})();const _a={provide:ys,useExisting:Object(i.W)(()=>ya)};let ya=(()=>{class t extends ys{constructor(t,e,n,r,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new i.o,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=$s(0,r)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),Ws(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return Ps(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(gs,13),i.Nb(ns,10),i.Nb(is,10),i.Nb($r,10),i.Nb(pa,8))},t.\u0275dir=i.Ib({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[i.Bb([_a]),i.zb,i.Ab]}),t._ngModelWarningSentOnce=!1,t})(),va=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})(),wa=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let i=null,r=null,s=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(i=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,s=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new oa(n,{asyncValidators:r,updateOn:s,validators:i})}control(t,e,n){return new aa(t,e,n)}array(t,e,n){const i=t.map(t=>this._createControl(t));return new la(i,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof aa||t instanceof oa||t instanceof la?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),Sa=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[Ts],imports:[va]}),t})(),xa=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:pa,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[wa,Ts],imports:[va]}),t})();var Ca=n("EY2u");function ka(t){return new ir.a(e=>{let n;try{n=t()}catch(i){return void e.error(i)}return(n?Object(Wr.a)(n):Object(Ca.b)()).subscribe(e)})}var Ta=n("z6cu"),Ma=n("n6bG");function Da(t,e,n,i){return Object(Ma.a)(n)&&(i=n,n=void 0),i?Da(t,e,n).pipe(Object(ur.a)(t=>Object(zr.a)(t)?i(...t):i(t))):new ir.a(i=>{La(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function La(t,e,n,i,r){let s;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(t)){const i=t;t.addEventListener(e,n,r),s=()=>i.removeEventListener(e,n,r)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(t)){const i=t;t.on(e,n),s=()=>i.off(e,n)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(t)){const i=t;t.addListener(e,n),s=()=>i.removeListener(e,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let s=0,a=t.length;sn.pipe(Pa((n,i)=>Object(Wr.a)(t(n,i)).pipe(Object(ur.a)((t,r)=>e(n,t,i,r))))):e=>e.lift(new Fa(t))}class Fa{constructor(t){this.project=t}call(t,e){return e.subscribe(new Ba(t,this.project))}}class Ba extends Na.b{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e)}_innerSub(t){const e=this.innerSubscription;e&&e.unsubscribe();const n=new Na.a(this),i=this.destination;i.add(n),this.innerSubscription=Object(Na.c)(t,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(t){this.destination.next(t)}}var Ha=n("oB13");const Va=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})();function za(t){return e=>0===t?Object(Ca.b)():e.lift(new Ua(t))}class Ua{constructor(t){if(this.total=t,this.total<0)throw new Va}call(t,e){return e.subscribe(new Wa(t,this.total))}}class Wa extends ar.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}var qa=n("vkgz"),Ga=n("D0XW"),$a=n("WMd4");function Xa(t,e=Ga.a){var n;const i=(n=t)instanceof Date&&!isNaN(+n)?+t-e.now():Math.abs(t);return t=>t.lift(new Ka(i,e))}class Ka{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new Ja(t,this.delay,this.scheduler))}}class Ja extends ar.a{constructor(t,e,n){super(t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,n=e.queue,i=t.scheduler,r=t.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){const e=Math.max(0,n[0].time-i.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(Ja.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,n=new Qa(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification($a.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification($a.a.createComplete()),this.unsubscribe()}}class Qa{constructor(t,e){this.time=t,this.notification=e}}const Za="Service workers are disabled or not supported by this browser";class to{constructor(t){if(this.serviceWorker=t,t){const e=Da(t,"controllerchange").pipe(Object(ur.a)(()=>t.controller)),n=Ea(ka(()=>Object(nr.a)(t.controller)),e);this.worker=n.pipe(or(t=>!!t)),this.registration=this.worker.pipe(Pa(()=>t.getRegistration()));const i=Da(t,"message").pipe(Object(ur.a)(t=>t.data)).pipe(or(t=>t&&t.type)).pipe(Object(Ha.a)(new Ia.a));i.connect(),this.events=i}else this.worker=this.events=this.registration=ka(()=>Object(Ta.a)(new Error("Service workers are disabled or not supported by this browser")))}postMessage(t,e){return this.worker.pipe(za(1),Object(qa.a)(n=>{n.postMessage(Object.assign({action:t},e))})).toPromise().then(()=>{})}postMessageWithStatus(t,e,n){const i=this.waitForStatus(n),r=this.postMessage(t,e);return Promise.all([i,r]).then(()=>{})}generateNonce(){return Math.round(1e7*Math.random())}eventsOfType(t){return this.events.pipe(or(e=>e.type===t))}nextEventOfType(t){return this.eventsOfType(t).pipe(za(1))}waitForStatus(t){return this.eventsOfType("STATUS").pipe(or(e=>e.nonce===t),za(1),Object(ur.a)(t=>{if(!t.status)throw new Error(t.error)})).toPromise()}get isEnabled(){return!!this.serviceWorker}}let eo=(()=>{class t{constructor(t){if(this.sw=t,this.subscriptionChanges=new Ia.a,!t.isEnabled)return this.messages=Ya,this.notificationClicks=Ya,void(this.subscription=Ya);this.messages=this.sw.eventsOfType("PUSH").pipe(Object(ur.a)(t=>t.data)),this.notificationClicks=this.sw.eventsOfType("NOTIFICATION_CLICK").pipe(Object(ur.a)(t=>t.data)),this.pushManager=this.sw.registration.pipe(Object(ur.a)(t=>t.pushManager));const e=this.pushManager.pipe(Pa(t=>t.getSubscription()));this.subscription=Object(ja.a)(e,this.subscriptionChanges)}get isEnabled(){return this.sw.isEnabled}requestSubscription(t){if(!this.sw.isEnabled)return Promise.reject(new Error(Za));const e={userVisibleOnly:!0};let n=this.decodeBase64(t.serverPublicKey.replace(/_/g,"/").replace(/-/g,"+")),i=new Uint8Array(new ArrayBuffer(n.length));for(let r=0;rt.subscribe(e)),za(1)).toPromise().then(t=>(this.subscriptionChanges.next(t),t))}unsubscribe(){return this.sw.isEnabled?this.subscription.pipe(za(1),Pa(t=>{if(null===t)throw new Error("Not subscribed to push notifications.");return t.unsubscribe().then(t=>{if(!t)throw new Error("Unsubscribe failed!");this.subscriptionChanges.next(null)})})).toPromise():Promise.reject(new Error(Za))}decodeBase64(t){return atob(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(to))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),no=(()=>{class t{constructor(t){if(this.sw=t,!t.isEnabled)return this.available=Ya,this.activated=Ya,void(this.unrecoverable=Ya);this.available=this.sw.eventsOfType("UPDATE_AVAILABLE"),this.activated=this.sw.eventsOfType("UPDATE_ACTIVATED"),this.unrecoverable=this.sw.eventsOfType("UNRECOVERABLE_STATE")}get isEnabled(){return this.sw.isEnabled}checkForUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Za));const t=this.sw.generateNonce();return this.sw.postMessageWithStatus("CHECK_FOR_UPDATES",{statusNonce:t},t)}activateUpdate(){if(!this.sw.isEnabled)return Promise.reject(new Error(Za));const t=this.sw.generateNonce();return this.sw.postMessageWithStatus("ACTIVATE_UPDATE",{statusNonce:t},t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(to))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();class io{}const ro=new i.s("NGSW_REGISTER_SCRIPT");function so(t,e,n,r){return()=>{if(!It(r)||!("serviceWorker"in navigator)||!1===n.enabled)return;let s;if(navigator.serviceWorker.addEventListener("controllerchange",()=>{null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({action:"INITIALIZE"})}),"function"==typeof n.registrationStrategy)s=n.registrationStrategy();else{const[e,...i]=(n.registrationStrategy||"registerWhenStable:30000").split(":");switch(e){case"registerImmediately":s=Object(nr.a)(null);break;case"registerWithDelay":s=ao(+i[0]||0);break;case"registerWhenStable":s=i[0]?Object(ja.a)(oo(t),ao(+i[0])):oo(t);break;default:throw new Error("Unknown ServiceWorker registration strategy: "+n.registrationStrategy)}}t.get(i.B).runOutsideAngular(()=>s.pipe(za(1)).subscribe(()=>navigator.serviceWorker.register(e,{scope:n.scope}).catch(e=>{t.get(i.n).handleError(e)})))}}function ao(t){return Object(nr.a)(null).pipe(Xa(t))}function oo(t){return t.get(i.g).isStable.pipe(or(t=>t))}function lo(t,e){return new to(It(e)&&!1!==t.enabled?navigator.serviceWorker:void 0)}let co=(()=>{class t{static register(e,n={}){return{ngModule:t,providers:[{provide:ro,useValue:e},{provide:io,useValue:n},{provide:to,useFactory:lo,deps:[io,i.D]},{provide:i.d,useFactory:so,deps:[i.t,ro,io,i.D],multi:!0}]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[eo,no]}),t})();var uo=n("9ppp");class ho extends Ia.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new uo.a;return this._value}next(t){super.next(this._value=t)}}var fo=n("qgXg"),mo=n("pxpQ");class po extends ar.a{notifyNext(t,e,n,i,r){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}class bo extends ar.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}var go=n("SeVD");function _o(t,e,n,i,r=new bo(t,n,i)){if(!r.closed)return e instanceof ir.a?e.subscribe(r):Object(go.a)(e)(r)}class yo{constructor(t,e){this.observables=t,this.project=e}call(t,e){return e.subscribe(new vo(t,this.observables,this.project))}}class vo extends po{constructor(t,e,n){super(t),this.observables=e,this.project=n,this.toRespond=[];const i=e.length;this.values=new Array(i);for(let r=0;r0){const t=i.indexOf(n);-1!==t&&i.splice(t,1)}}notifyComplete(){}_next(t){if(0===this.toRespond.length){const e=[t,...this.values];this.project?this._tryProject(e):this.destination.next(e)}}_tryProject(t){let e;try{e=this.project.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}function wo(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new So(t,e,n))}}class So{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new xo(t,this.accumulator,this.seed,this.hasSeed))}}class xo extends ar.a{constructor(t,e,n,i){super(t),this.accumulator=e,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(i){this.destination.error(i)}this.seed=n,this.destination.next(n)}}function Co(t,e){return n=>n.lift(new ko(t,e))}class ko{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new To(t,this.compare,this.keySelector))}}class To extends ar.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(i){return this.destination.error(i)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}const Mo={};function Do(t,e){if(Mo[t]=(Mo[t]||0)+1,"function"==typeof e)return Lo(t,(...n)=>Object.assign(Object.assign({},e(...n)),{type:t}));switch(e?e._as:"empty"){case"empty":return Lo(t,()=>({type:t}));case"props":return Lo(t,e=>Object.assign(Object.assign({},e),{type:t}));default:throw new Error("Unexpected config.")}}function Lo(t,e){return Object.defineProperty(e,"type",{value:t,writable:!1})}const Oo="@ngrx/store/init";let Ao=(()=>{class t extends ho{constructor(){super({type:Oo})}next(t){if("function"==typeof t)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(void 0===t)throw new TypeError("Actions must be objects");if(void 0===t.type)throw new TypeError("Actions must have a type property");super.next(t)}complete(){}ngOnDestroy(){super.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const Eo=[Ao],Io=new i.s("@ngrx/store Internal Root Guard"),Ro=new i.s("@ngrx/store Internal Initial State"),Yo=new i.s("@ngrx/store Initial State"),jo=new i.s("@ngrx/store Reducer Factory"),No=new i.s("@ngrx/store Internal Reducer Factory Provider"),Po=new i.s("@ngrx/store Initial Reducers"),Fo=new i.s("@ngrx/store Internal Initial Reducers"),Bo=new i.s("@ngrx/store Store Features"),Ho=new i.s("@ngrx/store Internal Store Reducers"),Vo=new i.s("@ngrx/store Internal Feature Reducers"),zo=new i.s("@ngrx/store Internal Feature Configs"),Uo=new i.s("@ngrx/store Internal Store Features"),Wo=new i.s("@ngrx/store Internal Feature Reducers Token"),qo=new i.s("@ngrx/store Feature Reducers"),Go=new i.s("@ngrx/store User Provided Meta Reducers"),$o=new i.s("@ngrx/store Meta Reducers"),Xo=new i.s("@ngrx/store Internal Resolved Meta Reducers"),Ko=new i.s("@ngrx/store User Runtime Checks Config"),Jo=new i.s("@ngrx/store Internal User Runtime Checks Config"),Qo=new i.s("@ngrx/store Internal Runtime Checks"),Zo=new i.s("@ngrx/store Check if Action types are unique");function tl(t,e={}){const n=Object.keys(t),i={};for(let s=0;se(t),n(e))}}function nl(t,e){return Array.isArray(e)&&e.length>0&&(t=el.apply(null,[...e,t])),(e,n)=>{const i=t(e);return(t,e)=>i(t=void 0===t?n:t,e)}}class il extends ir.a{}class rl extends Ao{}let sl=(()=>{class t extends ho{constructor(t,e,n,i){super(i(n,e)),this.dispatcher=t,this.initialState=e,this.reducers=n,this.reducerFactory=i}addFeature(t){this.addFeatures([t])}addFeatures(t){const e=t.reduce((t,{reducers:e,reducerFactory:n,metaReducers:i,initialState:r,key:s})=>{const a="function"==typeof e?function(t){const e=Array.isArray(t)&&t.length>0?el(...t):t=>t;return(t,n)=>(t=e(t),(e,i)=>t(e=void 0===e?n:e,i))}(i)(e,r):nl(n,i)(e,r);return t[s]=a,t},{});this.addReducers(e)}removeFeature(t){this.removeFeatures([t])}removeFeatures(t){this.removeReducers(t.map(t=>t.key))}addReducer(t,e){this.addReducers({[t]:e})}addReducers(t){this.reducers=Object.assign(Object.assign({},this.reducers),t),this.updateReducers(Object.keys(t))}removeReducer(t){this.removeReducers([t])}removeReducers(t){t.forEach(t=>{var e,n;this.reducers=(e=this.reducers,n=t,Object.keys(e).filter(t=>t!==n).reduce((t,n)=>Object.assign(t,{[n]:e[n]}),{}))}),this.updateReducers(t)}updateReducers(t){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:"@ngrx/store/update-reducers",features:t})}ngOnDestroy(){this.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(rl),i.Xb(Yo),i.Xb(Po),i.Xb(jo))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const al=[sl,{provide:il,useExisting:sl},{provide:rl,useExisting:Ao}];let ol=(()=>{class t extends Ia.a{ngOnDestroy(){this.complete()}}return t.\u0275fac=function(e){return ll(e||t)},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const ll=i.Vb(ol),cl=[ol];class ul extends ir.a{}let dl=(()=>{class t extends ho{constructor(t,e,n,i){super(i);const r=t.pipe(Object(mo.b)(fo.b)).pipe(function(...t){return e=>{let n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new yo(t,n))}}(e)).pipe(wo(hl,{state:i}));this.stateSubscription=r.subscribe(({state:t,action:e})=>{this.next(t),n.next(e)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Ao),i.Xb(il),i.Xb(ol),i.Xb(Yo))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t.INIT=Oo,t})();function hl(t={state:void 0},[e,n]){const{state:i}=t;return{state:n(i,e),action:e}}const fl=[dl,{provide:ul,useExisting:dl}];let ml=(()=>{class t extends ir.a{constructor(t,e,n){super(),this.actionsObserver=e,this.reducerManager=n,this.source=t}select(t,...e){return bl.call(null,t,...e)(this)}lift(e){const n=new t(this,this.actionsObserver,this.reducerManager);return n.operator=e,n}dispatch(t){this.actionsObserver.next(t)}next(t){this.actionsObserver.next(t)}error(t){this.actionsObserver.error(t)}complete(){this.actionsObserver.complete()}addReducer(t,e){this.reducerManager.addReducer(t,e)}removeReducer(t){this.reducerManager.removeReducer(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(ul),i.Xb(Ao),i.Xb(sl))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const pl=[ml];function bl(t,e,...n){return function(i){let r;if("string"==typeof t){const s=[e,...n].filter(Boolean);r=i.pipe(function(...t){const e=t.length;if(0===e)throw new Error("list of properties cannot be empty.");return n=>Object(ur.a)(function(t,e){return n=>{let i=n;for(let r=0;rt(n,e)))}return r.pipe(Co())}}function gl(t,e){return t===e}function _l(t,e,n){for(let i=0;it.release&&"function"==typeof t.release),o=t(function(...t){return s.apply(null,t)}),l=yl(function(t,n){return e.stateFn.apply(null,[t,r,n,o])});return Object.assign(l.memoized,{release:function(){l.reset(),o.reset(),a.forEach(t=>t.release())},projector:o.memoized,setResult:l.setResult,clearResult:l.clearResult})}}(yl)(...t)}function wl(t,e,n,i){if(void 0===n){const n=e.map(e=>e(t));return i.memoized.apply(null,n)}const r=e.map(e=>e(t,n));return i.memoized.apply(null,[...r,n])}const Sl="https://ngrx.io/guide/store/configuration/runtime-checks";function xl(t){return void 0===t}function Cl(t){return null===t}function kl(t){return Array.isArray(t)}function Tl(t){return"object"==typeof t&&null!==t}function Ml(t){return"function"==typeof t}function Dl(t){Object.freeze(t);const e=Ml(t);return Object.getOwnPropertyNames(t).forEach(n=>{if(!n.startsWith("\u0275")&&function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}(t,n)&&(!e||"caller"!==n&&"callee"!==n&&"arguments"!==n)){const e=t[n];!Tl(e)&&!Ml(e)||Object.isFrozen(e)||Dl(e)}}),t}function Ll(t,e=[]){return(xl(t)||Cl(t))&&0===e.length?{path:["root"],value:t}:Object.keys(t).reduce((n,i)=>{if(n)return n;const r=t[i];return function(t){return Ml(t)&&t.hasOwnProperty("\u0275cmp")}(r)?n:!(xl(r)||Cl(r)||function(t){return"number"==typeof t}(r)||function(t){return"boolean"==typeof t}(r)||function(t){return"string"==typeof t}(r)||kl(r))&&(function(t){if(!function(t){return Tl(t)&&!kl(t)}(t))return!1;const e=Object.getPrototypeOf(t);return e===Object.prototype||null===e}(r)?Ll(r,[...e,i]):{path:[...e,i],value:r})},!1)}function Ol(t,e){if(!1===t)return;const n=t.path.join("."),i=new Error(`Detected unserializable ${e} at "${n}". ${Sl}#strict${e}serializability`);throw i.value=t.value,i.unserializablePath=n,i}function Al(t){return Object(i.Y)()?Object.assign({strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1},t):{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function El({strictActionSerializability:t,strictStateSerializability:e}){return n=>t||e?function(t,e){return function(n,i){e.action(i)&&Ol(Ll(i),"action");const r=t(n,i);return e.state()&&Ol(Ll(r),"state"),r}}(n,{action:e=>t&&!Rl(e),state:()=>e}):n}function Il({strictActionImmutability:t,strictStateImmutability:e}){return n=>t||e?function(t,e){return function(n,i){const r=e.action(i)?Dl(i):i,s=t(n,r);return e.state()?Dl(s):s}}(n,{action:e=>t&&!Rl(e),state:()=>e}):n}function Rl(t){return t.type.startsWith("@ngrx")}function Yl({strictActionWithinNgZone:t}){return e=>t?function(t,e){return function(n,r){if(e.action(r)&&!i.B.isInAngularZone())throw new Error(`Action '${r.type}' running outside NgZone. ${Sl}#strictactionwithinngzone`);return t(n,r)}}(e,{action:e=>t&&!Rl(e)}):e}function jl(){return[{provide:Zo,multi:!0,deps:[Qo],useFactory:Pl}]}function Nl(t){return t}function Pl(t){if(!t.strictActionTypeUniqueness)return;const e=Object.entries(Mo).filter(([,t])=>t>1).map(([t])=>t);if(e.length)throw new Error(`Action types are registered more than once, ${e.map(t=>`"${t}"`).join(", ")}. ${Sl}#strictactiontypeuniqueness`)}let Fl=(()=>{class t{constructor(t,e,n,i,r,s){}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)(i.Xb(Ao),i.Xb(il),i.Xb(ol),i.Xb(ml),i.Xb(Io,8),i.Xb(Zo,8))}}),t})(),Bl=(()=>{class t{constructor(t,e,n,i,r){this.features=t,this.featureReducers=e,this.reducerManager=n;const s=t.map((t,n)=>{const i=e.shift()[n];return Object.assign(Object.assign({},t),{reducers:i,initialState:Wl(t.initialState)})});n.addFeatures(s)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)(i.Xb(Uo),i.Xb(qo),i.Xb(sl),i.Xb(Fl),i.Xb(Zo,8))}}),t})(),Hl=(()=>{class t{static forRoot(t,e={}){return{ngModule:Fl,providers:[{provide:Io,useFactory:Gl,deps:[[ml,new i.C,new i.L]]},{provide:Ro,useValue:e.initialState},{provide:Yo,useFactory:Wl,deps:[Ro]},{provide:Fo,useValue:t},{provide:Ho,useExisting:t instanceof i.s?t:Fo},{provide:Po,deps:[i.t,Fo,[new i.q(Ho)]],useFactory:Vl},{provide:Go,useValue:e.metaReducers?e.metaReducers:[]},{provide:Xo,deps:[$o,Go],useFactory:ql},{provide:No,useValue:e.reducerFactory?e.reducerFactory:tl},{provide:jo,deps:[No,Xo],useFactory:nl},Eo,al,cl,fl,pl,(n=e.runtimeChecks,[{provide:Jo,useValue:n},{provide:Ko,useFactory:Nl,deps:[Jo]},{provide:Qo,deps:[Ko],useFactory:Al},{provide:$o,multi:!0,deps:[Qo],useFactory:Il},{provide:$o,multi:!0,deps:[Qo],useFactory:El},{provide:$o,multi:!0,deps:[Qo],useFactory:Yl}]),jl()]};var n}static forFeature(t,e,n={}){return{ngModule:Bl,providers:[{provide:zo,multi:!0,useValue:t instanceof Object?{}:n},{provide:Bo,multi:!0,useValue:{key:t instanceof Object?t.name:t,reducerFactory:n instanceof i.s||!n.reducerFactory?tl:n.reducerFactory,metaReducers:n instanceof i.s||!n.metaReducers?[]:n.metaReducers,initialState:n instanceof i.s||!n.initialState?void 0:n.initialState}},{provide:Uo,deps:[i.t,zo,Bo],useFactory:zl},{provide:Vo,multi:!0,useValue:t instanceof Object?t.reducer:e},{provide:Wo,multi:!0,useExisting:e instanceof i.s?e:Vo},{provide:qo,multi:!0,deps:[i.t,Vo,[new i.q(Wo)]],useFactory:Ul},jl()]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})();function Vl(t,e){return e instanceof i.s?t.get(e):e}function zl(t,e,n){return n.map((n,r)=>{if(e[r]instanceof i.s){const i=t.get(e[r]);return{key:n.key,reducerFactory:i.reducerFactory?i.reducerFactory:tl,metaReducers:i.metaReducers?i.metaReducers:[],initialState:i.initialState}}return n})}function Ul(t,e){return e.map(e=>e instanceof i.s?t.get(e):e)}function Wl(t){return"function"==typeof t?t():t}function ql(t,e){return t.concat(e)}function Gl(t){if(t)throw new TypeError("StoreModule.forRoot() called twice. Feature modules should use StoreModule.forFeature() instead.");return"guarded"}function $l(...t){return{reducer:t.pop(),types:t.map(t=>t.type)}}var Xl=n("spgP"),Kl=n("7Hc7");function Jl(t,e=Ga.a){return n=>n.lift(new Ql(t,e))}class Ql{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new Zl(t,this.dueTime,this.scheduler))}}class Zl extends ar.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(tc,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function tc(t){t.debouncedNext()}function ec(t){return e=>e.lift(new nc(t))}class nc{constructor(t){this.notifier=t}call(t,e){const n=new ic(t),i=Object(Na.c)(this.notifier,new Na.a(n));return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}class ic extends Na.b{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}const rc={provide:i.b,useFactory:function(t,e){return()=>{if(It(e)){const e=Array.from(t.querySelectorAll(`[class*=${sc}]`)),n=/\bflex-layout-.+?\b/g;e.forEach(t=>{t.classList.contains(sc+"ssr")&&t.parentNode?t.parentNode.removeChild(t):t.className.replace(n,"")})}}},deps:[o,i.D],multi:!0},sc="flex-layout-";let ac=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[rc]}),t})();class oc{constructor(t=!1,e="all",n="",i="",r=0){this.matches=t,this.mediaQuery=e,this.mqAlias=n,this.suffix=i,this.priority=r,this.property=""}clone(){return new oc(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let lc=(()=>{class t{constructor(){this.stylesheet=new Map}addStyleToElement(t,e,n){const i=this.stylesheet.get(t);i?i.set(e,n):this.stylesheet.set(t,new Map([[e,n]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(t,e){const n=this.stylesheet.get(t);let i="";if(n){const t=n.get(e);"number"!=typeof t&&"string"!=typeof t||(i=t+"")}return i}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const cc={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},uc=new i.s("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>cc}),dc=new i.s("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),hc=new i.s("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function fc(t,e){return t=t?t.clone():new oc,e&&(t.mqAlias=e.alias,t.mediaQuery=e.mediaQuery,t.suffix=e.suffix,t.priority=e.priority),t}const mc="inline",pc=["row","column","row-reverse","column-reverse"];function bc(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}let gc=(()=>{class t{constructor(t,e,n,i){this.elementRef=t,this.styleBuilder=e,this.styler=n,this.marshal=i,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new Ia.a,this.styleCache=new Map}get parentElement(){return this.elementRef.nativeElement.parentElement}get nativeElement(){return this.elementRef.nativeElement}get activatedValue(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)}set activatedValue(t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,this.marshal.activatedAlias)}ngOnChanges(t){Object.keys(t).forEach(e=>{if(-1!==this.inputs.indexOf(e)){const n=e.split(".").slice(1).join(".");this.setValue(t[e].currentValue,n)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(t=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),t)}addStyles(t,e){const n=this.styleBuilder,i=n.shouldCache;let r=this.styleCache.get(t);r&&i||(r=n.buildStyles(t,e),i&&this.styleCache.set(t,r)),this.mru=Object.assign({},r),this.applyStyleToElement(r),n.sideEffect(t,r,e)}clearStyles(){Object.keys(this.mru).forEach(t=>{this.mru[t]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(t,e=!1){if(t){const[n,i]=this.styler.getFlowDirection(t);if(!i&&e){const e=function(t){let[e,n,i]=function(t){t=t?t.toLowerCase():"";let[e,n,i]=t.split(" ");return pc.find(t=>t===e)||(e=pc[0]),n===mc&&(n=i!==mc?i:"",i=mc),[e,bc(n),!!i]}(t);return function(t,e=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,n,i)}(n);this.styler.applyStyleToElements(e,[t])}return n.trim()}return"row"}hasWrap(t){return this.styler.hasWrap(t)}applyStyleToElement(t,e,n=this.nativeElement){this.styler.applyStyleToElement(n,t,e)}setValue(t,e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,t,e)}updateWithValue(t){this.currentValue!==t&&(this.addStyles(t),this.currentValue=t)}}return t.\u0275fac=function(t){i.ac()},t.\u0275dir=i.Ib({type:t,features:[i.Ab]}),t})();const _c=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.98px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.98px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.98px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.98px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.98px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.98px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.98px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.98px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.98px)"},{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}],yc="(orientation: portrait) and (max-width: 599.98px)",vc="(orientation: landscape) and (max-width: 959.98px)",wc="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",Sc="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",xc="(orientation: portrait) and (min-width: 840px)",Cc="(orientation: landscape) and (min-width: 1280px)",kc={HANDSET:`${yc}, ${vc}`,TABLET:`${wc} , ${Sc}`,WEB:`${xc}, ${Cc} `,HANDSET_PORTRAIT:""+yc,TABLET_PORTRAIT:wc+" ",WEB_PORTRAIT:""+xc,HANDSET_LANDSCAPE:""+vc,TABLET_LANDSCAPE:""+Sc,WEB_LANDSCAPE:""+Cc},Tc=[{alias:"handset",priority:2e3,mediaQuery:kc.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:kc.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:kc.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:kc.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:kc.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:kc.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:kc.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:kc.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:kc.WEB_PORTRAIT,overlapping:!0}],Mc=/(\.|-|_)/g;function Dc(t){let e=t.length>0?t.charAt(0):"",n=t.length>1?t.slice(1):"";return e.toUpperCase()+n}const Lc=new i.s("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const t=Object(i.X)(hc),e=Object(i.X)(uc),n=[].concat.apply([],(t||[]).map(t=>Array.isArray(t)?t:[t]));return function(t,e=[]){const n={};return t.forEach(t=>{n[t.alias]=t}),e.forEach(t=>{n[t.alias]?function(t,...e){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(let n of e)if(null!=n)for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e])}(n[t.alias],t):n[t.alias]=t}),(i=Object.keys(n).map(t=>n[t])).forEach(t=>{t.suffix||(t.suffix=function(t){return t.replace(Mc,"|").split("|").map(Dc).join("")}(t.alias),t.overlapping=!!t.overlapping)}),i;var i}((e.disableDefaultBps?[]:_c).concat(e.addOrientationBps?Tc:[]),n)}});function Oc(t,e){return(e&&e.priority||0)-(t&&t.priority||0)}function Ac(t,e){return(t.priority||0)-(e.priority||0)}let Ec=(()=>{class t{constructor(t){this.findByMap=new Map,this.items=[...t].sort(Ac)}findByAlias(t){return t?this.findWithPredicate(t,e=>e.alias==t):null}findByQuery(t){return this.findWithPredicate(t,e=>e.mediaQuery==t)}get overlappings(){return this.items.filter(t=>1==t.overlapping)}get aliases(){return this.items.map(t=>t.alias)}get suffixes(){return this.items.map(t=>t.suffix?t.suffix:"")}findWithPredicate(t,e){let n=this.findByMap.get(t);return n||(n=this.items.find(e)||null,this.findByMap.set(t,n)),n||null}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Lc))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Lc))},token:t,providedIn:"root"}),t})(),Ic=(()=>{class t{constructor(t,e,n){this._zone=t,this._platformId=e,this._document=n,this.source=new ho(new oc(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const t=[];return this.registry.forEach((e,n)=>{e.matches&&t.push(n)}),t}isActive(t){const e=this.registry.get(t);return e?e.matches:this.registerQuery(t).some(t=>t.matches)}observe(t,e=!1){if(t&&t.length){const n=this._observable$.pipe(or(n=>!e||t.indexOf(n.mediaQuery)>-1)),i=new ir.a(e=>{const n=this.registerQuery(t);if(n.length){const t=n.pop();n.forEach(t=>{e.next(t)}),this.source.next(t)}e.complete()});return Object(ja.a)(i,n)}return this._observable$}registerQuery(t){const e=Array.isArray(t)?t:[t],n=[];return function(t,e){const n=t.filter(t=>!Rc[t]);if(n.length>0){const t=n.join(", ");try{const i=e.createElement("style");i.setAttribute("type","text/css"),i.styleSheet||i.appendChild(e.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${t} {.fx-query-test{ }}\n`)),e.head.appendChild(i),n.forEach(t=>Rc[t]=i)}catch(UB){console.error(UB)}}}(e,this._document),e.forEach(t=>{const e=e=>{this._zone.run(()=>this.source.next(new oc(e.matches,t)))};let i=this.registry.get(t);i||(i=this.buildMQL(t),i.addListener(e),this.pendingRemoveListenerFns.push(()=>i.removeListener(e)),this.registry.set(t,i)),i.matches&&n.push(new oc(!0,t))}),n}ngOnDestroy(){let t;for(;t=this.pendingRemoveListenerFns.pop();)t()}buildMQL(t){return function(t,e){return e&&window.matchMedia("all").addListener?window.matchMedia(t):{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(t,It(this._platformId))}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.B),i.Xb(i.D),i.Xb(o))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(i.B),Object(i.Xb)(i.D),Object(i.Xb)(o))},token:t,providedIn:"root"}),t})();const Rc={},Yc="print",jc={alias:Yc,mediaQuery:Yc,priority:1e3};let Nc=(()=>{class t{constructor(t,e,n){this.breakpoints=t,this.layoutConfig=e,this._document=n,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new Pc,this.deactivations=[]}withPrintQuery(t){return[...t,Yc]}isPrintEvent(t){return t.mediaQuery.startsWith(Yc)}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(t=>this.breakpoints.findByAlias(t)).filter(t=>null!==t)}getEventBreakpoints({mediaQuery:t}){const e=this.breakpoints.findByQuery(t);return(e?[...this.printBreakPoints,e]:this.printBreakPoints).sort(Oc)}updateEvent(t){let e=this.breakpoints.findByQuery(t.mediaQuery);return this.isPrintEvent(t)&&(e=this.getEventBreakpoints(t)[0],t.mediaQuery=e?e.mediaQuery:""),fc(t,e)}registerBeforeAfterPrintHooks(t){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const e=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(t,this.getEventBreakpoints(new oc(!0,Yc))),t.updateStyles())},n=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(t),t.updateStyles())};this._document.defaultView.addEventListener("beforeprint",e),this._document.defaultView.addEventListener("afterprint",n),this.beforePrintEventListeners.push(e),this.afterPrintEventListeners.push(n)}interceptEvents(t){return this.registerBeforeAfterPrintHooks(t),e=>{this.isPrintEvent(e)?e.matches&&!this.isPrinting?(this.startPrinting(t,this.getEventBreakpoints(e)),t.updateStyles()):e.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(t),t.updateStyles()):this.collectActivations(e)}}blockPropagation(){return t=>!(this.isPrinting||this.isPrintEvent(t))}startPrinting(t,e){this.isPrinting=!0,t.activatedBreakpoints=this.queue.addPrintBreakpoints(e)}stopPrinting(t){t.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(t){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(t.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const e=this.breakpoints.findByQuery(t.mediaQuery);e&&(this.deactivations.push(e),this.deactivations.sort(Oc))}}ngOnDestroy(){this.beforePrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("beforeprint",t)),this.afterPrintEventListeners.forEach(t=>this._document.defaultView.removeEventListener("afterprint",t))}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Ec),i.Xb(uc),i.Xb(o))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Ec),Object(i.Xb)(uc),Object(i.Xb)(o))},token:t,providedIn:"root"}),t})();class Pc{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(t){return t.push(jc),t.sort(Oc),t.forEach(t=>this.addBreakpoint(t)),this.printBreakpoints}addBreakpoint(t){t&&void 0===this.printBreakpoints.find(e=>e.mediaQuery===t.mediaQuery)&&(this.printBreakpoints=function(t){return!!t&&t.mediaQuery.startsWith(Yc)}(t)?[t,...this.printBreakpoints]:[...this.printBreakpoints,t])}clear(){this.printBreakpoints=[]}}function Fc(t){for(let e in t){let n=t[e]||"";switch(e){case"display":t.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":t["-webkit-"+e]=n;break;case"flex-direction":n=n||"row",t["-webkit-flex-direction"]=n,t["flex-direction"]=n;break;case"order":t.order=t["-webkit-"+e]=isNaN(+n)?"0":n}}return t}let Bc=(()=>{class t{constructor(t,e,n,i){this._serverStylesheet=t,this._serverModuleLoaded=e,this._platformId=n,this.layoutConfig=i}applyStyleToElement(t,e,n=null){let i={};"string"==typeof e&&(i[e]=n,e=i),i=this.layoutConfig.disableVendorPrefixes?e:Fc(e),this._applyMultiValueStyleToElement(i,t)}applyStyleToElements(t,e=[]){const n=this.layoutConfig.disableVendorPrefixes?t:Fc(t);e.forEach(t=>{this._applyMultiValueStyleToElement(n,t)})}getFlowDirection(t){const e="flex-direction";let n=this.lookupStyle(t,e);return[n||"row",this.lookupInlineStyle(t,e)||Rt(this._platformId)&&this._serverModuleLoaded?n:""]}hasWrap(t){return"wrap"===this.lookupStyle(t,"flex-wrap")}lookupAttributeValue(t,e){return t.getAttribute(e)||""}lookupInlineStyle(t,e){return It(this._platformId)?t.style.getPropertyValue(e):this._getServerStyle(t,e)}lookupStyle(t,e,n=!1){let i="";return t&&((i=this.lookupInlineStyle(t,e))||(It(this._platformId)?n||(i=getComputedStyle(t).getPropertyValue(e)):this._serverModuleLoaded&&(i=this._serverStylesheet.getStyleForElement(t,e)))),i?i.trim():""}_applyMultiValueStyleToElement(t,e){Object.keys(t).sort().forEach(n=>{const i=t[n],r=Array.isArray(i)?i:[i];r.sort();for(let t of r)t=t?t+"":"",It(this._platformId)||!this._serverModuleLoaded?It(this._platformId)?e.style.setProperty(n,t):this._setServerStyle(e,n,t):this._serverStylesheet.addStyleToElement(e,n,t)})}_setServerStyle(t,e,n){e=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const i=this._readStyleAttribute(t);i[e]=n||"",this._writeStyleAttribute(t,i)}_getServerStyle(t,e){return this._readStyleAttribute(t)[e]||""}_readStyleAttribute(t){const e={},n=t.getAttribute("style");if(n){const t=n.split(/;+/g);for(let n=0;n0){const t=i.indexOf(":");if(-1===t)throw new Error("Invalid CSS style: "+i);e[i.substr(0,t).trim()]=i.substr(t+1).trim()}}}return e}_writeStyleAttribute(t,e){let n="";for(const i in e)e[i]&&(n+=i+":"+e[i]+";");t.setAttribute("style",n)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(lc),i.Xb(dc),i.Xb(i.D),i.Xb(uc))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(lc),Object(i.Xb)(dc),Object(i.Xb)(i.D),Object(i.Xb)(uc))},token:t,providedIn:"root"}),t})();class Hc{constructor(){this.shouldCache=!0}sideEffect(t,e,n){}}function Vc(t,e="1",n="1"){let i=[e,n,t],r=t.indexOf("calc");if(r>0){i[2]=zc(t.substring(r).trim());let e=t.substr(0,r).trim().split(" ");2==e.length&&(i[0]=e[0],i[1]=e[1])}else if(0==r)i[2]=zc(t.trim());else{let r=t.split(" ");i=3===r.length?r:[e,n,t]}return i}function zc(t){return t.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}let Uc=(()=>{class t{constructor(t,e,n){this.matchMedia=t,this.breakpoints=e,this.hook=n,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 Ia.a,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(t){const e=this.findByQuery(t.mediaQuery);e&&((t=fc(t,e)).matches&&-1===this.activatedBreakpoints.indexOf(e)?(this.activatedBreakpoints.push(e),this.activatedBreakpoints.sort(Oc),this.updateStyles()):t.matches||-1===this.activatedBreakpoints.indexOf(e)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(e),1),this.activatedBreakpoints.sort(Oc),this.updateStyles()))}init(t,e,n,i,r=[]){Wc(this.updateMap,t,e,n),Wc(this.clearMap,t,e,i),this.buildElementKeyMap(t,e),this.watchExtraTriggers(t,e,r)}getValue(t,e,n){const i=this.elementMap.get(t);if(i){const t=void 0!==n?i.get(n):this.getActivatedValues(i,e);if(t)return t.get(e)}}hasValue(t,e){const n=this.elementMap.get(t);if(n){const t=this.getActivatedValues(n,e);if(t)return void 0!==t.get(e)||!1}return!1}setValue(t,e,n,i){let r=this.elementMap.get(t);if(r){const s=(r.get(i)||new Map).set(e,n);r.set(i,s),this.elementMap.set(t,r)}else r=(new Map).set(i,(new Map).set(e,n)),this.elementMap.set(t,r);const s=this.getValue(t,e);void 0!==s&&this.updateElement(t,e,s)}trackValue(t,e){return this.subject.asObservable().pipe(or(n=>n.element===t&&n.key===e))}updateStyles(){this.elementMap.forEach((t,e)=>{const n=new Set(this.elementKeyMap.get(e));let i=this.getActivatedValues(t);i&&i.forEach((t,i)=>{this.updateElement(e,i,t),n.delete(i)}),n.forEach(n=>{if(i=this.getActivatedValues(t,n),i){const t=i.get(n);this.updateElement(e,n,t)}else this.clearElement(e,n)})})}clearElement(t,e){const n=this.clearMap.get(t);if(n){const i=n.get(e);i&&(i(),this.subject.next({element:t,key:e,value:""}))}}updateElement(t,e,n){const i=this.updateMap.get(t);if(i){const r=i.get(e);r&&(r(n),this.subject.next({element:t,key:e,value:n}))}}releaseElement(t){const e=this.watcherMap.get(t);e&&(e.forEach(t=>t.unsubscribe()),this.watcherMap.delete(t));const n=this.elementMap.get(t);n&&(n.forEach((t,e)=>n.delete(e)),this.elementMap.delete(t))}triggerUpdate(t,e){const n=this.elementMap.get(t);if(n){const i=this.getActivatedValues(n,e);i&&(e?this.updateElement(t,e,i.get(e)):i.forEach((e,n)=>this.updateElement(t,n,e)))}}buildElementKeyMap(t,e){let n=this.elementKeyMap.get(t);n||(n=new Set,this.elementKeyMap.set(t,n)),n.add(e)}watchExtraTriggers(t,e,n){if(n&&n.length){let i=this.watcherMap.get(t);if(i||(i=new Map,this.watcherMap.set(t,i)),!i.get(e)){const r=Object(ja.a)(...n).subscribe(()=>{const n=this.getValue(t,e);this.updateElement(t,e,n)});i.set(e,r)}}}findByQuery(t){return this.breakpoints.findByQuery(t)}getActivatedValues(t,e){for(let i=0;it.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(t)).pipe(Object(qa.a)(this.hook.interceptEvents(this)),or(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Ic),i.Xb(Ec),i.Xb(Nc))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Ic),Object(i.Xb)(Ec),Object(i.Xb)(Nc))},token:t,providedIn:"root"}),t})();function Wc(t,e,n,i){if(void 0!==i){let r=t.get(e);r||(r=new Map,t.set(e,r)),r.set(n,i)}}function qc(t){return null!=t&&""+t!="false"}function Gc(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function $c(t){return Array.isArray(t)?t:[t]}function Xc(t){return null==t?"":"string"==typeof t?t:t+"px"}function Kc(t){return t instanceof i.l?t.nativeElement:t}new Map;let Jc=(()=>{class t extends gc{constructor(t,e,n,i,r,s,a){super(t,null,e,n),this.ngClassInstance=a,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new dt(i,r,t,s)),this.init(),this.setValue("","")}set klass(t){this.ngClassInstance.klass=t,this.setValue(t,"")}updateWithValue(t){this.ngClassInstance.ngClass=t,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(Bc),i.Nb(Uc),i.Nb(i.u),i.Nb(i.v),i.Nb(i.G),i.Nb(dt,10))},t.\u0275dir=i.Ib({type:t,inputs:{klass:["class","klass"]},features:[i.zb]}),t})();const Qc=["ngClass","ngClass.xs","ngClass.sm","ngClass.md","ngClass.lg","ngClass.xl","ngClass.lt-sm","ngClass.lt-md","ngClass.lt-lg","ngClass.lt-xl","ngClass.gt-xs","ngClass.gt-sm","ngClass.gt-md","ngClass.gt-lg"];let Zc=(()=>{class t extends Jc{constructor(){super(...arguments),this.inputs=Qc}}return t.\u0275fac=function(e){return tu(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[i.zb]}),t})();const tu=i.Vb(Zc);let eu=(()=>{class t extends Hc{buildStyles(t,e){return{display:"true"===t?e.display||(e.isServer?"initial":""):"none"}}}return t.\u0275fac=function(e){return nu(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const nu=i.Vb(eu);let iu=(()=>{class t extends gc{constructor(t,e,n,i,r,s,a){super(t,e,n,i),this.layoutConfig=r,this.platformId=s,this.serverModuleLoaded=a,this.DIRECTIVE_KEY="show-hide",this.display="",this.hasLayout=!1,this.hasFlexChild=!1}ngAfterViewInit(){this.trackExtraTriggers();const t=Array.from(this.nativeElement.children);for(let n=0;n{if(-1!==this.inputs.indexOf(e)){const n=e.split("."),i=n.slice(1).join("."),r=t[e].currentValue;let s=""===r||0!==r&&qc(r);"fxHide"===n[0]&&(s=!s),this.setValue(s,i)}})}trackExtraTriggers(){this.hasLayout=this.marshal.hasValue(this.nativeElement,"layout"),["layout","layout-align"].forEach(t=>{this.marshal.trackValue(this.nativeElement,t).pipe(ec(this.destroySubject)).subscribe(this.triggerUpdate.bind(this))})}getDisplayStyle(){return this.hasLayout||this.hasFlexChild&&this.layoutConfig.addFlexToParent?"flex":this.styler.lookupStyle(this.nativeElement,"display",!0)}updateWithValue(t=!0){if(""===t)return;const e=Rt(this.platformId);this.addStyles(t?"true":"false",{display:this.display,isServer:e}),e&&this.serverModuleLoaded&&this.nativeElement.style.setProperty("display",""),this.marshal.triggerUpdate(this.parentElement,"layout-gap")}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(eu),i.Nb(Bc),i.Nb(Uc),i.Nb(uc),i.Nb(i.D),i.Nb(dc))},t.\u0275dir=i.Ib({type:t,features:[i.zb,i.Ab]}),t})();const ru=new WeakMap,su=["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"];let au=(()=>{class t extends iu{constructor(){super(...arguments),this.inputs=su}}return t.\u0275fac=function(e){return ou(e||t)},t.\u0275dir=i.Ib({type:t,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:[i.zb]}),t})();const ou=i.Vb(au);class lu{constructor(t,e,n=!0){this.key=t,this.value=e,this.key=n?t.replace(/['"]/g,"").trim():t.trim(),this.value=n?e.replace(/['"]/g,"").trim():e.trim(),this.value=this.value.replace(/;/,"")}}function cu(t){let e=typeof t;return"object"===e?t.constructor===Array?"array":t.constructor===Set?"set":"object":e}function uu(t){const[e,...n]=t.split(":");return new lu(e,n.join(":"))}function du(t,e){return e.key&&(t[e.key]=e.value),t}let hu=(()=>{class t extends gc{constructor(t,e,n,i,r,s,a,o,l){super(t,null,e,n),this.sanitizer=i,this.ngStyleInstance=a,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new St(t,r,s)),this.init();const c=this.nativeElement.getAttribute("style")||"";this.fallbackStyles=this.buildStyleMap(c),this.isServer=o&&Rt(l)}updateWithValue(t){const e=this.buildStyleMap(t);this.ngStyleInstance.ngStyle=Object.assign(Object.assign({},this.fallbackStyles),e),this.isServer&&this.applyStyleToElement(e),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(t){const e=t=>this.sanitizer.sanitize(i.K.STYLE,t)||"";if(t)switch(cu(t)){case"string":return bu(function(t,e=";"){return String(t).trim().split(e).map(t=>t.trim()).filter(t=>""!==t)}(t),e);case"array":return bu(t,e);case"set":default:return function(t,e){let n=[];return"set"===cu(t)?t.forEach(t=>n.push(t)):Object.keys(t).forEach(e=>{n.push(`${e}:${t[e]}`)}),function(t,e){return t.map(uu).filter(t=>!!t).map(t=>(e&&(t.value=e(t.value)),t)).reduce(du,{})}(n,e)}(t,e)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(Bc),i.Nb(Uc),i.Nb(ce),i.Nb(i.v),i.Nb(i.G),i.Nb(St,10),i.Nb(dc),i.Nb(i.D))},t.\u0275dir=i.Ib({type:t,features:[i.zb]}),t})();const fu=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"];let mu=(()=>{class t extends hu{constructor(){super(...arguments),this.inputs=fu}}return t.\u0275fac=function(e){return pu(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[i.zb]}),t})();const pu=i.Vb(mu);function bu(t,e){return t.map(uu).filter(t=>!!t).map(t=>(e&&(t.value=e(t.value)),t)).reduce(du,{})}let gu=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[ac]]}),t})();const _u=new i.s("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(i.X)(o)}});let yu=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new i.o,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(_u,8))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(_u,8))},token:t,providedIn:"root"}),t})(),vu=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})();const wu="inline",Su=["row","column","row-reverse","column-reverse"];function xu(t){t=t?t.toLowerCase():"";let[e,n,i]=t.split(" ");return Su.find(t=>t===e)||(e=Su[0]),n===wu&&(n=i!==wu?i:"",i=wu),[e,ku(n),!!i]}function Cu(t){let[e]=xu(t);return e.indexOf("row")>-1}function ku(t){if(t)switch(t.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":t="wrap-reverse";break;case"no":case"none":case"nowrap":t="nowrap";break;default:t="wrap"}return t}let Tu=(()=>{class t extends Hc{buildStyles(t){return function(t){let[e,n,i]=xu(t);return function(t,e=null,n=!1){return{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":t,"flex-wrap":e||null}}(e,n,i)}(t)}}return t.\u0275fac=function(e){return Mu(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Mu=i.Vb(Tu),Du=["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"];let Lu=(()=>{class t extends gc{constructor(t,e,n,i){super(t,n,e,i),this.DIRECTIVE_KEY="layout",this.styleCache=Eu,this.init()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(Bc),i.Nb(Tu),i.Nb(Uc))},t.\u0275dir=i.Ib({type:t,features:[i.zb]}),t})(),Ou=(()=>{class t extends Lu{constructor(){super(...arguments),this.inputs=Du}}return t.\u0275fac=function(e){return Au(e||t)},t.\u0275dir=i.Ib({type:t,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:[i.zb]}),t})();const Au=i.Vb(Ou),Eu=new Map,Iu={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let Ru=(()=>{class t extends Hc{constructor(t){super(),this._styler=t}buildStyles(t,e){return t.endsWith(zu)?function(t,e){const[n,i]=t.split(" "),r=t=>"-"+t;let s="0px",a=r(i||n),o="0px";return"rtl"===e?o=r(n):s=r(n),{margin:`0px ${s} ${a} ${o}`}}(t=t.slice(0,t.indexOf(zu)),e.directionality):{}}sideEffect(t,e,n){const i=n.items;if(t.endsWith(zu)){const e=function(t,e){const[n,i]=t.split(" ");let r="0px",s="0px";return"rtl"===e?s=n:r=n,{padding:`0px ${r} ${i||n} ${s}`}}(t=t.slice(0,t.indexOf(zu)),n.directionality);this._styler.applyStyleToElements(e,n.items)}else{const e=i.pop(),r=function(t,e){const n=Uu(e.directionality,e.layout),i=Object.assign({},Iu);return i[n]=t,i}(t,n);this._styler.applyStyleToElements(r,i),this._styler.applyStyleToElements(Iu,[e])}}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Bc))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Bc))},token:t,providedIn:"root"}),t})();const Yu=["fxLayoutGap","fxLayoutGap.xs","fxLayoutGap.sm","fxLayoutGap.md","fxLayoutGap.lg","fxLayoutGap.xl","fxLayoutGap.lt-sm","fxLayoutGap.lt-md","fxLayoutGap.lt-lg","fxLayoutGap.lt-xl","fxLayoutGap.gt-xs","fxLayoutGap.gt-sm","fxLayoutGap.gt-md","fxLayoutGap.gt-lg"];let ju=(()=>{class t extends gc{constructor(t,e,n,i,r,s){super(t,r,i,s),this.zone=e,this.directionality=n,this.styleUtils=i,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new Ia.a;const a=[this.directionality.change,this.observerSubject.asObservable()];this.init(a),this.marshal.trackValue(this.nativeElement,"layout").pipe(ec(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const t=this.nativeElement.children,e=[];for(let n=t.length;n--;)e[n]=t[n];return e}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(t){const e=t.value.split(" ");this.layout=e[0],Su.find(t=>t===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(t){const e=this.childrenNodes.filter(t=>1===t.nodeType&&this.willDisplay(t)).sort((t,e)=>{const n=+this.styler.lookupStyle(t,"order"),i=+this.styler.lookupStyle(e,"order");return isNaN(n)||isNaN(i)||n===i?0:n>i?1:-1});if(e.length>0){const n=this.directionality.value,i=this.layout;"row"===i&&"rtl"===n?this.styleCache=Fu:"row"===i&&"rtl"!==n?this.styleCache=Hu:"column"===i&&"rtl"===n?this.styleCache=Bu:"column"===i&&"rtl"!==n&&(this.styleCache=Vu),this.addStyles(t,{directionality:n,items:e,layout:i})}}clearStyles(){const t=Object.keys(this.mru).length>0,e=t?"padding":Uu(this.directionality.value,this.layout);t&&super.clearStyles(),this.styleUtils.applyStyleToElements({[e]:""},this.childrenNodes)}willDisplay(t){const e=this.marshal.getValue(t,"show-hide");return!0===e||void 0===e&&"none"!==this.styleUtils.lookupStyle(t,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{"undefined"!=typeof MutationObserver&&(this.observer=new MutationObserver(t=>{t.some(t=>t.addedNodes&&t.addedNodes.length>0||t.removedNodes&&t.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.B),i.Nb(yu),i.Nb(Bc),i.Nb(Ru),i.Nb(Uc))},t.\u0275dir=i.Ib({type:t,features:[i.zb]}),t})(),Nu=(()=>{class t extends ju{constructor(){super(...arguments),this.inputs=Yu}}return t.\u0275fac=function(e){return Pu(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","fxLayoutGap",""],["","fxLayoutGap.xs",""],["","fxLayoutGap.sm",""],["","fxLayoutGap.md",""],["","fxLayoutGap.lg",""],["","fxLayoutGap.xl",""],["","fxLayoutGap.lt-sm",""],["","fxLayoutGap.lt-md",""],["","fxLayoutGap.lt-lg",""],["","fxLayoutGap.lt-xl",""],["","fxLayoutGap.gt-xs",""],["","fxLayoutGap.gt-sm",""],["","fxLayoutGap.gt-md",""],["","fxLayoutGap.gt-lg",""]],inputs:{fxLayoutGap:"fxLayoutGap","fxLayoutGap.xs":"fxLayoutGap.xs","fxLayoutGap.sm":"fxLayoutGap.sm","fxLayoutGap.md":"fxLayoutGap.md","fxLayoutGap.lg":"fxLayoutGap.lg","fxLayoutGap.xl":"fxLayoutGap.xl","fxLayoutGap.lt-sm":"fxLayoutGap.lt-sm","fxLayoutGap.lt-md":"fxLayoutGap.lt-md","fxLayoutGap.lt-lg":"fxLayoutGap.lt-lg","fxLayoutGap.lt-xl":"fxLayoutGap.lt-xl","fxLayoutGap.gt-xs":"fxLayoutGap.gt-xs","fxLayoutGap.gt-sm":"fxLayoutGap.gt-sm","fxLayoutGap.gt-md":"fxLayoutGap.gt-md","fxLayoutGap.gt-lg":"fxLayoutGap.gt-lg"},features:[i.zb]}),t})();const Pu=i.Vb(Nu),Fu=new Map,Bu=new Map,Hu=new Map,Vu=new Map,zu=" grid";function Uu(t,e){switch(e){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return"rtl"===t?"margin-left":"margin-right";case"row-reverse":return"rtl"===t?"margin-right":"margin-left";default:return"rtl"===t?"margin-left":"margin-right"}}function Wu(t,...e){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(let n of e)if(null!=n)for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}let qu=(()=>{class t extends Hc{constructor(t){super(),this.layoutConfig=t}buildStyles(t,e){let[n,i,...r]=t.split(" "),s=r.join(" ");const a=e.direction.indexOf("column")>-1?"column":"row",o=Cu(a)?"max-width":"max-height",l=Cu(a)?"min-width":"min-height",c=String(s).indexOf("calc")>-1,u=c||"auto"===s,d=String(s).indexOf("%")>-1&&!c,h=String(s).indexOf("px")>-1||String(s).indexOf("rem")>-1||String(s).indexOf("em")>-1||String(s).indexOf("vw")>-1||String(s).indexOf("vh")>-1;let f=c||h;n="0"==n?0:n,i="0"==i?0:i;const m=!n&&!i;let p={};const b={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(s||""){case"":const t=!1!==this.layoutConfig.useColumnBasisZero;s="row"===a?"0%":t?"0.000000001px":"auto";break;case"initial":case"nogrow":n=0,s="auto";break;case"grow":s="100%";break;case"noshrink":i=0,s="auto";break;case"auto":break;case"none":n=0,i=0,s="auto";break;default:f||d||isNaN(s)||(s+="%"),"0%"===s&&(f=!0),"0px"===s&&(s="0%"),p=Wu(b,c?{"flex-grow":n,"flex-shrink":i,"flex-basis":f?s:"100%"}:{flex:`${n} ${i} ${f?s:"100%"}`})}return p.flex||p["flex-grow"]||(p=Wu(b,c?{"flex-grow":n,"flex-shrink":i,"flex-basis":s}:{flex:`${n} ${i} ${s}`})),"0%"!==s&&"0px"!==s&&"0.000000001px"!==s&&"auto"!==s&&(p[l]=m||f&&n?s:null,p[o]=m||!u&&i?s:null),p[l]||p[o]?e.hasWrap&&(p[c?"flex-basis":"flex"]=p[o]?c?p[o]:`${n} ${i} ${p[o]}`:c?p[l]:`${n} ${i} ${p[l]}`):p=Wu(b,c?{"flex-grow":n,"flex-shrink":i,"flex-basis":s}:{flex:`${n} ${i} ${s}`}),Wu(p,{"box-sizing":"border-box"})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(uc))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(uc))},token:t,providedIn:"root"}),t})();const Gu=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"];let $u=(()=>{class t extends gc{constructor(t,e,n,i,r){super(t,i,e,r),this.layoutConfig=n,this.marshal=r,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(t){this.flexShrink=t||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(t){this.flexGrow=t||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(ec(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(ec(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(t){const e=t.value.split(" ");this.direction=e[0],this.wrap=void 0!==e[1]&&"wrap"===e[1],this.triggerUpdate()}updateWithValue(t){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const e=this.direction,n=e.startsWith("row"),i=this.wrap;n&&i?this.styleCache=Zu:n&&!i?this.styleCache=Ju:!n&&i?this.styleCache=td:n||i||(this.styleCache=Qu);const r=Vc(String(t).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(r.join(" "),{direction:e,hasWrap:i})}triggerReflow(){const t=this.activatedValue;if(void 0!==t){const e=Vc(t+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,e.join(" "))}}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(Bc),i.Nb(uc),i.Nb(qu),i.Nb(Uc))},t.\u0275dir=i.Ib({type:t,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[i.zb]}),t})(),Xu=(()=>{class t extends $u{constructor(){super(...arguments),this.inputs=Gu}}return t.\u0275fac=function(e){return Ku(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","fxFlex",""],["","fxFlex.xs",""],["","fxFlex.sm",""],["","fxFlex.md",""],["","fxFlex.lg",""],["","fxFlex.xl",""],["","fxFlex.lt-sm",""],["","fxFlex.lt-md",""],["","fxFlex.lt-lg",""],["","fxFlex.lt-xl",""],["","fxFlex.gt-xs",""],["","fxFlex.gt-sm",""],["","fxFlex.gt-md",""],["","fxFlex.gt-lg",""]],inputs:{fxFlex:"fxFlex","fxFlex.xs":"fxFlex.xs","fxFlex.sm":"fxFlex.sm","fxFlex.md":"fxFlex.md","fxFlex.lg":"fxFlex.lg","fxFlex.xl":"fxFlex.xl","fxFlex.lt-sm":"fxFlex.lt-sm","fxFlex.lt-md":"fxFlex.lt-md","fxFlex.lt-lg":"fxFlex.lt-lg","fxFlex.lt-xl":"fxFlex.lt-xl","fxFlex.gt-xs":"fxFlex.gt-xs","fxFlex.gt-sm":"fxFlex.gt-sm","fxFlex.gt-md":"fxFlex.gt-md","fxFlex.gt-lg":"fxFlex.gt-lg"},features:[i.zb]}),t})();const Ku=i.Vb(Xu),Ju=new Map,Qu=new Map,Zu=new Map,td=new Map;new Map,new Map,new Map,new Map,new Map,new Map,new Map;let ed=(()=>{class t extends Hc{buildStyles(t,e){const n={},[i,r]=t.split(" ");switch(i){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 Wu(n,{display:e.inline?"inline-flex":"flex","flex-direction":e.layout,"box-sizing":"border-box","max-width":"stretch"===r?Cu(e.layout)?null:"100%":null,"max-height":"stretch"===r&&Cu(e.layout)?"100%":null})}}return t.\u0275fac=function(e){return nd(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const nd=i.Vb(ed),id=["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"];let rd=(()=>{class t extends gc{constructor(t,e,n,i){super(t,n,e,i),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(ec(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(t){const e=this.layout||"row",n=this.inline;"row"===e&&n?this.styleCache=dd:"row"!==e||n?"row-reverse"===e&&n?this.styleCache=fd:"row-reverse"!==e||n?"column"===e&&n?this.styleCache=hd:"column"!==e||n?"column-reverse"===e&&n?this.styleCache=md:"column-reverse"!==e||n||(this.styleCache=ud):this.styleCache=ld:this.styleCache=cd:this.styleCache=od,this.addStyles(t,{layout:e,inline:n})}onLayoutChange(t){const e=t.value.split(" ");this.layout=e[0],this.inline=t.value.includes("inline"),Su.find(t=>t===this.layout)||(this.layout="row"),this.triggerUpdate()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(Bc),i.Nb(ed),i.Nb(Uc))},t.\u0275dir=i.Ib({type:t,features:[i.zb]}),t})(),sd=(()=>{class t extends rd{constructor(){super(...arguments),this.inputs=id}}return t.\u0275fac=function(e){return ad(e||t)},t.\u0275dir=i.Ib({type:t,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:[i.zb]}),t})();const ad=i.Vb(sd),od=new Map,ld=new Map,cd=new Map,ud=new Map,dd=new Map,hd=new Map,fd=new Map,md=new Map;let pd=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[ac,vu]]}),t})();new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map,new Map;let bd=(()=>{class t extends Hc{buildStyles(t,e){let n=!1;(t=t||"none").endsWith("!")&&(t=t.substring(0,t.indexOf("!")),n=!0);const i={display:e.inline?"inline-grid":"grid","grid-auto-columns":"","grid-template-columns":""};return i[n?"grid-auto-columns":"grid-template-columns"]=t,i}}return t.\u0275fac=function(e){return gd(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const gd=i.Vb(bd);let _d=(()=>{class t extends gc{constructor(t,e,n,i){super(t,e,n,i),this.DIRECTIVE_KEY="grid-columns",this._inline=!1,this.init()}get inline(){return this._inline}set inline(t){this._inline=qc(t)}updateWithValue(t){this.styleCache=this.inline?vd:yd,this.addStyles(t,{inline:this.inline})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(bd),i.Nb(Bc),i.Nb(Uc))},t.\u0275dir=i.Ib({type:t,inputs:{inline:["gdInline","inline"]},features:[i.zb]}),t})();const yd=new Map,vd=new Map,wd=["gdColumns","gdColumns.xs","gdColumns.sm","gdColumns.md","gdColumns.lg","gdColumns.xl","gdColumns.lt-sm","gdColumns.lt-md","gdColumns.lt-lg","gdColumns.lt-xl","gdColumns.gt-xs","gdColumns.gt-sm","gdColumns.gt-md","gdColumns.gt-lg"];let Sd=(()=>{class t extends _d{constructor(){super(...arguments),this.inputs=wd}}return t.\u0275fac=function(e){return xd(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","gdColumns",""],["","gdColumns.xs",""],["","gdColumns.sm",""],["","gdColumns.md",""],["","gdColumns.lg",""],["","gdColumns.xl",""],["","gdColumns.lt-sm",""],["","gdColumns.lt-md",""],["","gdColumns.lt-lg",""],["","gdColumns.lt-xl",""],["","gdColumns.gt-xs",""],["","gdColumns.gt-sm",""],["","gdColumns.gt-md",""],["","gdColumns.gt-lg",""]],inputs:{gdColumns:"gdColumns","gdColumns.xs":"gdColumns.xs","gdColumns.sm":"gdColumns.sm","gdColumns.md":"gdColumns.md","gdColumns.lg":"gdColumns.lg","gdColumns.xl":"gdColumns.xl","gdColumns.lt-sm":"gdColumns.lt-sm","gdColumns.lt-md":"gdColumns.lt-md","gdColumns.lt-lg":"gdColumns.lt-lg","gdColumns.lt-xl":"gdColumns.lt-xl","gdColumns.gt-xs":"gdColumns.gt-xs","gdColumns.gt-sm":"gdColumns.gt-sm","gdColumns.gt-md":"gdColumns.gt-md","gdColumns.gt-lg":"gdColumns.gt-lg"},features:[i.zb]}),t})();const xd=i.Vb(Sd);new Map,new Map,new Map,new Map,new Map;let Cd=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[ac]]}),t})();new i.R("11.0.0-beta.33");let kd,Td=(()=>{class t{constructor(t,e){Rt(e)&&!t&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(e,n=[]){return{ngModule:t,providers:e.serverLoaded?[{provide:uc,useValue:Object.assign(Object.assign({},cc),e)},{provide:hc,useValue:n,multi:!0},{provide:dc,useValue:!0}]:[{provide:uc,useValue:Object.assign(Object.assign({},cc),e)},{provide:hc,useValue:n,multi:!0}]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)(i.Xb(dc),i.Xb(i.D))},imports:[[pd,gu,Cd],pd,gu,Cd]}),t})();try{kd="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(pJ){kd=!1}let Md,Dd=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?It(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&&!kd)&&"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}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.D))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(i.D))},token:t,providedIn:"root"}),t})(),Ld=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})();const Od=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ad(){if(Md)return Md;if("object"!=typeof document||!document)return Md=new Set(Od),Md;let t=document.createElement("input");return Md=new Set(Od.filter(e=>(t.setAttribute("type",e),t.type===e))),Md}let Ed,Id;function Rd(t){return function(){if(null==Ed&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ed=!0}))}finally{Ed=Ed||!1}return Ed}()?t:!!t.capture}function Yd(t){if(function(){if(null==Id){const t="undefined"!=typeof document?document.head:null;Id=!(!t||!t.createShadowRoot&&!t.attachShadow)}return Id}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}var jd=n("quSY");const Nd=13,Pd=32,Fd=37,Bd=38,Hd=39,Vd=40;function zd(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}let Ud=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),Wd=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=Kc(t);return new ir.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new Ia.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Ud))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Ud))},token:t,providedIn:"root"}),t})(),qd=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new i.o,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=qc(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=Gc(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Jl(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){var t;null===(t=this._currentSubscription)||void 0===t||t.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Wd),i.Nb(i.l),i.Nb(i.B))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),Gd=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[Ud]}),t})();class $d{constructor(t){this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ia.a,this._typeaheadSubscription=jd.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new Ia.a,this.change=new Ia.a,t instanceof i.F&&t.changes.subscribe(t=>{if(this._activeItem){const e=t.toArray().indexOf(this._activeItem);e>-1&&e!==this._activeItemIndex&&(this._activeItemIndex=e)}})}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(qa.a)(t=>this._pressedLetters.push(t)),Jl(t),or(()=>this._pressedLetters.length>0),Object(ur.a)(()=>this._pressedLetters.join(""))).subscribe(t=>{const e=this._getItemsArray();for(let n=1;n!t[e]||this._allowedModifierKeys.indexOf(e)>-1);switch(e){case 9:return void this.tabOut.next();case Vd:if(this._vertical&&n){this.setNextItemActive();break}return;case Bd:if(this._vertical&&n){this.setPreviousItemActive();break}return;case Hd:if(this._horizontal&&n){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case Fd:if(this._horizontal&&n){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&n){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&n){this.setLastItemActive();break}return;default:return void((n||zd(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){const e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){const e=this._getItemsArray();for(let n=1;n<=e.length;n++){const i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){const n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}_getItemsArray(){return this._items instanceof i.F?this._items.toArray():this._items}}class Xd extends $d{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}}class Kd extends $d{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}}let Jd=(()=>{class t{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}isTabbable(t){if(!this._platform.isBrowser)return!1;const e=function(t){try{return t.frameElement}catch(pJ){return null}}((n=t).ownerDocument&&n.ownerDocument.defaultView||window);var n;if(e){if(-1===Zd(e))return!1;if(!this.isVisible(e))return!1}let i=t.nodeName.toLowerCase(),r=Zd(t);return t.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){let e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}isFocusable(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){let e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||Qd(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Dd))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Dd))},token:t,providedIn:"root"}),t})();function Qd(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function Zd(t){if(!Qd(t))return null;const e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}class th{constructor(t,e,n,i,r=!1){this._element=t,this._checker=e,this._ngZone=n,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,r||this.attachAnchors()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}destroy(){const t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.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)}focusInitialElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement()))})}_getRegionBoundary(t){let e=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);for(let n=0;n=0;n--){let t=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(t)return t}return null}_createAnchor(){const t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}_toggleAnchorTabIndex(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(za(1)).subscribe(t)}}let eh=(()=>{class t{constructor(t,e,n){this._checker=t,this._ngZone=e,this._document=n}create(t,e=!1){return new th(t,this._checker,this._ngZone,this._document,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Jd),i.Xb(i.B),i.Xb(o))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Jd),Object(i.Xb)(i.B),Object(i.Xb)(o))},token:t,providedIn:"root"}),t})(),nh=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(t){this.focusTrap.enabled=qc(t)}get autoCapture(){return this._autoCapture}set autoCapture(t){this._autoCapture=qc(t)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(t){const e=t.autoCapture;e&&!e.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(eh),i.Nb(o))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[i.Ab]}),t})();"undefined"!=typeof Element&∈const ih=new i.s("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),rh=new i.s("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let sh=(()=>{class t{constructor(t,e,n,i){this._ngZone=e,this._defaultOptions=i,this._document=n,this._liveElement=t||this._createLiveElement()}announce(t,...e){const n=this._defaultOptions;let i,r;return 1===e.length&&"number"==typeof e[0]?r=e[0]:[i,r]=e,this.clear(),clearTimeout(this._previousTimeout),i||(i=n&&n.politeness?n.politeness:"polite"),null==r&&n&&(r=n.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(()=>new Promise(e=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=t,e(),"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r))},100)}))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}_createLiveElement(){const t="cdk-live-announcer-element",e=this._document.getElementsByClassName(t),n=this._document.createElement("div");for(let i=0;i{class t{constructor(t,e,n,i){this._elementRef=t,this._liveAnnouncer=e,this._contentObserver=n,this._ngZone=i,this._politeness="polite"}get politeness(){return this._politeness}set politeness(t){this._politeness="off"===t||"assertive"===t?t:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const t=this._elementRef.nativeElement.textContent;t!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(t,this._politeness),this._previousAnnouncedText=t)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(sh),i.Nb(Wd),i.Nb(i.B))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),t})();function oh(t){return 0===t.buttons}const lh=new i.s("cdk-focus-monitor-default-options"),ch=Rd({passive:!0,capture:!0});let uh=(()=>{class t{constructor(t,e,n,i){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=oh(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=dh(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=dh(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let i=e;i;i=i.parentElement)n.call(this,t,i)},this._document=n,this._detectionMode=(null==i?void 0:i.detectionMode)||0}monitor(t,e=!1){const n=Kc(t);if(!this._platform.isBrowser||1!==n.nodeType)return Object(nr.a)(null);const i=Yd(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject;const s={checkChildren:e,subject:new Ia.a,rootNode:i};return this._elementInfo.set(n,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(t){const e=Kc(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const i=Kc(t);i===this._getDocument().activeElement&&this._elementInfo.has(i)?this._originChanged(i,e,this._elementInfo.get(i)):(this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.focus(n))}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=dh(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);n&&(n.checkChildren||e===dh(t))&&this._originChanged(e,this._getFocusOrigin(t),n)}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,ch),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,ch)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,ch),t.addEventListener("mousedown",this._documentMousedownListener,ch),t.addEventListener("touchstart",this._documentTouchstartListener,ch),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ch),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ch),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,ch),t.removeEventListener("mousedown",this._documentMousedownListener,ch),t.removeEventListener("touchstart",this._documentTouchstartListener,ch),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}_originChanged(t,e,n){this._setClasses(t,e),this._emitOrigin(n.subject,e),this._lastFocusOrigin=e}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.B),i.Xb(Dd),i.Xb(o,8),i.Xb(lh,8))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(i.B),Object(i.Xb)(Dd),Object(i.Xb)(o,8),Object(i.Xb)(lh,8))},token:t,providedIn:"root"}),t})();function dh(t){return t.composedPath?t.composedPath()[0]:t.target}let hh=(()=>{class t{constructor(t,e){this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new i.o}ngAfterViewInit(){const t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(t=>this.cdkFocusChange.emit(t))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(uh))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})();const fh="cdk-high-contrast-black-on-white",mh="cdk-high-contrast-white-on-black",ph="cdk-high-contrast-active";let bh=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove(ph),t.remove(fh),t.remove(mh);const e=this.getHighContrastMode();1===e?(t.add(ph),t.add(fh)):2===e&&(t.add(ph),t.add(mh))}}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Dd),i.Xb(o))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Dd),Object(i.Xb)(o))},token:t,providedIn:"root"}),t})(),gh=(()=>{class t{constructor(t){t._applyBodyHighContrastModeCssClasses()}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)(i.Xb(bh))},imports:[[Ld,Gd]]}),t})();const _h=new i.R("11.0.3");var yh=n("z+Ro");function vh(...t){const e=t[t.length-1];return Object(yh.a)(e)?(t.pop(),n=>Ea(t,n,e)):e=>Ea(t,e)}function wh(t,e){if(1&t&&i.Ob(0,"mat-pseudo-checkbox",3),2&t){const t=i.fc();i.lc("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}const Sh=["*"],xh=new i.R("11.0.3"),Ch=new i.s("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let kh=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getWindow(){const t=this._document.defaultView||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return Object(i.Y)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){if(!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme||!this._document.body||"function"!=typeof getComputedStyle)return;const t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);const e=getComputedStyle(t);e&&"none"!==e.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"),this._document.body.removeChild(t)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&xh.full!==_h.full&&console.warn("The Angular Material version ("+xh.full+") does not match the Angular CDK version ("+_h.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)(i.Xb(bh),i.Xb(Ch,8),i.Xb(o))},imports:[[vu],vu]}),t})();function Th(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=qc(t)}}}function Mh(t,e){return class extends t{constructor(...t){super(...t),this.defaultColor=e,this.color=e}get color(){return this._color}set color(t){const e=t||this.defaultColor;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),e&&this._elementRef.nativeElement.classList.add("mat-"+e),this._color=e)}}}function Dh(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=qc(t)}}}function Lh(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e,this.defaultTabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?Gc(t):this.defaultTabIndex}}}function Oh(t){return class extends t{constructor(...t){super(...t),this.errorState=!1,this.stateChanges=new Ia.a}updateErrorState(){const t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())}}}const Ah=new i.s("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(i.X)(i.w)}});class Eh{constructor(){this._localeChanges=new Ia.a,this.localeChanges=this._localeChanges}getValidDateOrNull(t){return this.isDateInstance(t)&&this.isValid(t)?t:null}deserialize(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()}setLocale(t){this.locale=t,this._localeChanges.next()}compareDate(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)}sameDate(t,e){if(t&&e){let n=this.isValid(t),i=this.isValid(e);return n&&i?!this.compareDate(t,e):n==i}return t==e}clampDate(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&this.compareDate(t,n)>0?n:t}}const Ih=new i.s("mat-date-formats");let Rh;try{Rh="undefined"!=typeof Intl}catch(pJ){Rh=!1}const Yh={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"]},jh=Fh(31,t=>String(t+1)),Nh={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},Ph=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function Fh(t,e){const n=Array(t);for(let i=0;i{class t extends Eh{constructor(t,e){super(),this.useUtcForDisplay=!0,super.setLocale(t),this.useUtcForDisplay=!e.TRIDENT,this._clampDate=e.TRIDENT||e.EDGE}getYear(t){return t.getFullYear()}getMonth(t){return t.getMonth()}getDate(t){return t.getDate()}getDayOfWeek(t){return t.getDay()}getMonthNames(t){if(Rh){const e=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return Fh(12,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,t,1))))}return Yh[t]}getDateNames(){if(Rh){const t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Fh(31,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return jh}getDayOfWeekNames(t){if(Rh){const e=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return Fh(7,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return Nh[t]}getYearName(t){if(Rh){const e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))}clone(t){return new Date(t.getTime())}createDate(t,e,n){let i=this._createDateWithOverflow(t,e,n);return i.getMonth(),i}today(){return new Date}parse(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null}format(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(Rh){this._clampDate&&(t.getFullYear()<1||t.getFullYear()>9999)&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=Object.assign(Object.assign({},e),{timeZone:"utc"});const n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())}addCalendarYears(t,e){return this.addCalendarMonths(t,12*e)}addCalendarMonths(t,e){let n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}addCalendarDays(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)}toIso8601(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")}deserialize(t){if("string"==typeof t){if(!t)return null;if(Ph.test(t)){let e=new Date(t);if(this.isValid(e))return e}}return super.deserialize(t)}isDateInstance(t){return t instanceof Date}isValid(t){return!isNaN(t.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(t,e,n){const i=new Date;return i.setFullYear(t,e,n),i.setHours(0,0,0,0),i}_2digit(t){return("00"+t).slice(-2)}_stripDirectionalityCharacters(t){return t.replace(/[\u200e\u200f]/g,"")}_format(t,e){const n=new Date;return n.setUTCFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setUTCHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t.format(n)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Ah,8),i.Xb(Dd))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),Hh=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[{provide:Eh,useClass:Bh}],imports:[[Ld]]}),t})();const Vh={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"}}};let zh=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[{provide:Ih,useValue:Vh}],imports:[[Hh]]}),t})(),Uh=(()=>{class t{isErrorState(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();class Wh{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const qh={enterDuration:450,exitDuration:400},Gh=Rd({passive:!0}),$h=["mousedown","touchstart"],Xh=["mouseup","mouseleave","touchend","touchcancel"];class Kh{constructor(t,e,n,i){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Kc(n))}fadeInRipple(t,e,n={}){const i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=Object.assign(Object.assign({},qh),n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);const s=n.radius||function(t,e,n){const i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,i),a=t-i.left,o=e-i.top,l=r.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=a-s+"px",c.style.top=o-s+"px",c.style.height=2*s+"px",c.style.width=2*s+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=l+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new Wh(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=1,n.persistent||t&&this._isPointerDown||u.fadeOut()},l),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,i=Object.assign(Object.assign({},qh),t.config.animation);n.style.transitionDuration=i.exitDuration+"ms",n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},i.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=Kc(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents($h))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Xh),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=oh(t),n=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,Gh)})})}_removeTriggerEvents(){this._triggerElement&&($h.forEach(t=>{this._triggerElement.removeEventListener(t,this,Gh)}),this._pointerUpEventsRegistered&&Xh.forEach(t=>{this._triggerElement.removeEventListener(t,this,Gh)}))}}const Jh=new i.s("mat-ripple-global-options");let Qh=(()=>{class t{constructor(t,e,n,i,r){this._elementRef=t,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new Kh(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){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}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.B),i.Nb(Dd),i.Nb(Jh,8),i.Nb(Zi,8))},t.\u0275dir=i.Ib({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&i.Fb("mat-ripple-unbounded",e.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"]}),t})(),Zh=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[kh,Ld],kh]}),t})(),tf=(()=>{class t{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Zi,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&i.Fb("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},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}),t})(),ef=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[kh]]}),t})();class nf{}const rf=Th(nf);let sf=0,af=(()=>{class t extends rf{constructor(){super(...arguments),this._labelId="mat-optgroup-label-"+sf++}}return t.\u0275fac=function(e){return of(e||t)},t.\u0275dir=i.Ib({type:t,inputs:{label:"label"},features:[i.zb]}),t})();const of=i.Vb(af),lf=new i.s("MatOptgroup");let cf=0;class uf{constructor(t,e=!1){this.source=t,this.isUserInput=e}}const df=new i.s("MAT_OPTION_PARENT_COMPONENT");let hf=(()=>{class t{constructor(t,e,n,r){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+cf++,this.onSelectionChange=new i.o,this._stateChanges=new Ia.a}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=qc(t)}get disableRipple(){return this._parent&&this._parent.disableRipple}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(t,e){const n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(t){t.keyCode!==Nd&&t.keyCode!==Pd||zd(t)||(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new uf(this,t))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.h),i.Nb(void 0),i.Nb(af))},t.\u0275dir=i.Ib({type:t,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),ff=(()=>{class t extends hf{constructor(t,e,n,i){super(t,e,n,i)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.h),i.Nb(df,8),i.Nb(lf,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&i.bc("click",function(){return e._selectViaInteraction()})("keydown",function(t){return e._handleKeydown(t)}),2&t&&(i.Wb("id",e.id),i.Db("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),i.Fb("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},exportAs:["matOption"],features:[i.zb],ngContentSelectors:Sh,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(t,e){1&t&&(i.kc(),i.Ac(0,wh,1,2,"mat-pseudo-checkbox",0),i.Tb(1,"span",1),i.jc(2),i.Sb(),i.Ob(3,"div",2)),2&t&&(i.lc("ngIf",e.multiple),i.Cb(3),i.lc("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[pt,Qh,tf],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}),t})();function mf(t,e,n){if(n.length){let i=e.toArray(),r=n.toArray(),s=0;for(let e=0;e{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[Zh,Et,kh,ef]]}),t})();const bf=["mat-button",""],gf=["*"],_f=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class yf{constructor(t){this._elementRef=t}}const vf=Mh(Th(Dh(yf)));let wf=(()=>{class t extends vf{constructor(t,e,n){super(t),this._focusMonitor=e,this._animationMode=n,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const i of _f)this._hasHostAttributes(i)&&this._getHostElement().classList.add(i);t.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(t="program",e){this._focusMonitor.focusVia(this._getHostElement(),t,e)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...t){return t.some(t=>this._getHostElement().hasAttribute(t))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(uh),i.Nb(Zi,8))},t.\u0275cmp=i.Hb({type:t,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(t,e){if(1&t&&i.Hc(Qh,!0),2&t){let t;i.qc(t=i.cc())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(t,e){2&t&&(i.Db("disabled",e.disabled||null),i.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-button-disabled",e.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[i.zb],attrs:bf,ngContentSelectors:gf,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(t,e){1&t&&(i.kc(),i.Tb(0,"span",0),i.jc(1),i.Sb(),i.Ob(2,"span",1),i.Ob(3,"span",2)),2&t&&(i.Cb(2),i.Fb("mat-button-ripple-round",e.isRoundButton||e.isIconButton),i.lc("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",e.isIconButton)("matRippleTrigger",e._getHostElement()))},directives:[Qh],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .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.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-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.mat-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.mat-button-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.mat-button-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}.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}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),t})(),Sf=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[Zh,kh],kh]}),t})();const xf=["*",[["mat-card-footer"]]],Cf=["*","mat-card-footer"],kf=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Tf=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"];let Mf=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),t})(),Df=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),t})(),Lf=(()=>{class t{constructor(){this.align="start"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(t,e){2&t&&i.Fb("mat-card-actions-align-end","end"===e.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),t})(),Of=(()=>{class t{constructor(t){this._animationMode=t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Zi,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,e){2&t&&i.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:Cf,decls:2,vars:0,template:function(t,e){1&t&&(i.kc(xf),i.jc(0),i.jc(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}),t})(),Af=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:Tf,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(t,e){1&t&&(i.kc(kf),i.jc(0),i.Tb(1,"div",0),i.jc(2,1),i.Sb(),i.jc(3,2))},encapsulation:2,changeDetection:0}),t})(),Ef=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[kh],kh]}),t})();const If=["input"],Rf=function(){return{enterDuration:150}},Yf=["*"],jf=new i.s("mat-checkbox-default-options",{providedIn:"root",factory:Nf});function Nf(){return{color:"accent",clickAction:"check-indeterminate"}}let Pf=0;const Ff=Nf(),Bf={provide:$r,useExisting:Object(i.W)(()=>Uf),multi:!0};class Hf{}class Vf{constructor(t){this._elementRef=t}}const zf=Lh(Mh(Dh(Th(Vf))));let Uf=(()=>{class t extends zf{constructor(t,e,n,r,s,a,o){super(t),this._changeDetectorRef=e,this._focusMonitor=n,this._ngZone=r,this._animationMode=a,this._options=o,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++Pf,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new i.o,this.indeterminateChange=new i.o,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||Ff,this.color=this.defaultColor=this._options.color||Ff.color,this.tabIndex=parseInt(s)||0}get inputId(){return(this.id||this._uniqueId)+"-input"}get required(){return this._required}set required(t){this._required=qc(t)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=qc(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=qc(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new Hf;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}toggle(){this.checked=!this.checked}_onInputClick(t){var e;const n=null===(e=this._options)||void 0===e?void 0:e.clickAction;t.stopPropagation(),this.disabled||"noop"===n?this.disabled||"noop"!==n||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==n&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t="keyboard",e){this._focusMonitor.focusVia(this._inputElement,t,e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.h),i.Nb(uh),i.Nb(i.B),i.Yb("tabindex"),i.Nb(Zi,8),i.Nb(jf,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){if(1&t&&(i.Hc(If,!0),i.Hc(Qh,!0)),2&t){let t;i.qc(t=i.cc())&&(e._inputElement=t.first),i.qc(t=i.cc())&&(e.ripple=t.first)}},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(i.Wb("id",e.id),i.Db("tabindex",null),i.Fb("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[i.Bb([Bf]),i.zb],ngContentSelectors:Yf,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(i.kc(),i.Tb(0,"label",0,1),i.Tb(2,"span",2),i.Tb(3,"input",3,4),i.bc("change",function(t){return e._onInteractionEvent(t)})("click",function(t){return e._onInputClick(t)}),i.Sb(),i.Tb(5,"span",5),i.Ob(6,"span",6),i.Sb(),i.Ob(7,"span",7),i.Tb(8,"span",8),i.ec(),i.Tb(9,"svg",9),i.Ob(10,"path",10),i.Sb(),i.dc(),i.Ob(11,"span",11),i.Sb(),i.Sb(),i.Tb(12,"span",12,13),i.bc("cdkObserveContent",function(){return e._onLabelTextChange()}),i.Tb(14,"span",14),i.Bc(15,"\xa0"),i.Sb(),i.jc(16),i.Sb(),i.Sb()),2&t){const t=i.rc(1),n=i.rc(13);i.Db("for",e.inputId),i.Cb(2),i.Fb("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),i.Cb(1),i.lc("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),i.Db("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),i.Cb(2),i.lc("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",i.nc(19,Rf))}},directives:[Qh,qd],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t})(),Wf=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})(),qf=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[Zh,kh,Gd,Wf],kh,Wf]}),t})();function Gf(t){return t&&"function"==typeof t.connect}class $f{applyChanges(t,e,n,i,r){t.forEachOperation((t,i,s)=>{let a,o;if(null==t.previousIndex){const r=n(t,i,s);a=e.createEmbeddedView(r.templateRef,r.context,r.index),o=1}else null==s?(e.remove(i),o=3):(a=e.get(i),e.move(a,s),o=2);r&&r({context:null==a?void 0:a.context,operation:o,record:t})})}detach(){}}class Xf{constructor(t=!1,e,n=!0){this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ia.a,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){}}let Kf=(()=>{class t{constructor(){this._listeners=[]}notify(t,e){for(let n of this._listeners)n(t,e)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(e=>t!==e)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const Jf=new i.s("_ViewRepeater"),Qf=["underline"],Zf=["connectionContainer"],tm=["inputContainer"],em=["label"];function nm(t,e){1&t&&(i.Rb(0),i.Tb(1,"div",14),i.Ob(2,"div",15),i.Ob(3,"div",16),i.Ob(4,"div",17),i.Sb(),i.Tb(5,"div",18),i.Ob(6,"div",15),i.Ob(7,"div",16),i.Ob(8,"div",17),i.Sb(),i.Qb())}function im(t,e){1&t&&(i.Tb(0,"div",19),i.jc(1,1),i.Sb())}function rm(t,e){if(1&t&&(i.Rb(0),i.jc(1,2),i.Tb(2,"span"),i.Bc(3),i.Sb(),i.Qb()),2&t){const t=i.fc(2);i.Cb(3),i.Cc(t._control.placeholder)}}function sm(t,e){1&t&&i.jc(0,3,["*ngSwitchCase","true"])}function am(t,e){1&t&&(i.Tb(0,"span",23),i.Bc(1," *"),i.Sb())}function om(t,e){if(1&t){const t=i.Ub();i.Tb(0,"label",20,21),i.bc("cdkObserveContent",function(){return i.sc(t),i.fc().updateOutlineGap()}),i.Ac(2,rm,4,1,"ng-container",12),i.Ac(3,sm,1,0,"ng-content",12),i.Ac(4,am,2,0,"span",22),i.Sb()}if(2&t){const t=i.fc();i.Fb("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),i.lc("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),i.Db("for",t._control.id)("aria-owns",t._control.id),i.Cb(2),i.lc("ngSwitchCase",!1),i.Cb(1),i.lc("ngSwitchCase",!0),i.Cb(1),i.lc("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function lm(t,e){1&t&&(i.Tb(0,"div",24),i.jc(1,4),i.Sb())}function cm(t,e){if(1&t&&(i.Tb(0,"div",25,26),i.Ob(2,"span",27),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Fb("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function um(t,e){if(1&t&&(i.Tb(0,"div"),i.jc(1,5),i.Sb()),2&t){const t=i.fc();i.lc("@transitionMessages",t._subscriptAnimationState)}}function dm(t,e){if(1&t&&(i.Tb(0,"div",31),i.Bc(1),i.Sb()),2&t){const t=i.fc(2);i.lc("id",t._hintLabelId),i.Cb(1),i.Cc(t.hintLabel)}}function hm(t,e){if(1&t&&(i.Tb(0,"div",28),i.Ac(1,dm,2,2,"div",29),i.jc(2,6),i.Ob(3,"div",30),i.jc(4,7),i.Sb()),2&t){const t=i.fc();i.lc("@transitionMessages",t._subscriptAnimationState),i.Cb(1),i.lc("ngIf",t.hintLabel)}}const fm=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],mm=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],pm=new i.s("MatError"),bm={transitionMessages:ge("transitionMessages",[we("enter",ve({opacity:1,transform:"translateY(0%)"})),Se("void => enter",[ve({opacity:0,transform:"translateY(-100%)"}),_e("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let gm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t}),t})();const _m=new i.s("MatHint");let ym=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-label"]]}),t})(),vm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-placeholder"]]}),t})();const wm=new i.s("MatPrefix"),Sm=new i.s("MatSuffix");let xm=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","matSuffix",""]],features:[i.Bb([{provide:Sm,useExisting:t}])]}),t})(),Cm=0;class km{constructor(t){this._elementRef=t}}const Tm=Mh(km,"primary"),Mm=new i.s("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Dm=new i.s("MatFormField");let Lm=(()=>{class t extends Tm{constructor(t,e,n,i,r,s,a,o){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this._defaults=r,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new Ia.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+Cm++,this._labelId="mat-form-field-label-"+Cm++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==o,this.appearance=r&&r.appearance?r.appearance:"legacy",this._hideRequiredMarker=!(!r||null==r.hideRequiredMarker)&&r.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=qc(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(vh(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(ec(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ec(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(ja.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(vh(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(vh(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(ec(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Da(this._label.nativeElement,"transitionend").pipe(za(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,n=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,n=0;const i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),s=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const r=i.getBoundingClientRect();if(0===r.width&&0===r.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const s=this._getStartEnd(r),a=t.children,o=this._getStartEnd(a[0].getBoundingClientRect());let l=0;for(let t=0;t0?.75*l+10:0}for(let a=0;a{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[Et,kh,Gd],kh]}),t})();const Am=new i.s("mat-chips-default-options"),Em={separatorKeyCodes:[Nd]};let Im=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[Uh,{provide:Am,useValue:Em}],imports:[[kh]]}),t})();n("3N8a"),n("IjjT");class Rm{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new Ym(t,this.durationSelector))}}class Ym extends Na.b{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let n;try{const{durationSelector:e}=this;n=e(t)}catch(e){return this.destination.error(e)}const i=Object(Na.c)(n,new Na.a(this));!i||i.closed?this.clearThrottle():this.add(this.throttled=i)}}clearThrottle(){const{value:t,hasValue:e,throttled:n}=this;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var jm=n("Y7HM");function Nm(t){const{index:e,period:n,subscriber:i}=t;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function Pm(t,e=Ga.a){return n=()=>function(t=0,e,n){let i=-1;return Object(jm.a)(e)?i=Number(e)<1?1:Number(e):Object(yh.a)(e)&&(n=e),Object(yh.a)(n)||(n=Ga.a),new ir.a(e=>{const r=Object(jm.a)(t)?t:+t-n.now();return n.schedule(Nm,r,{index:0,period:i,subscriber:e})})}(t,e),function(t){return t.lift(new Rm(n))};var n}function Fm(){return t=>t.lift(new Bm)}class Bm{call(t,e){return e.subscribe(new Hm(t))}}class Hm extends ar.a{constructor(t){super(t),this.hasPrev=!1}_next(t){let e;this.hasPrev?e=[this.prev,t]:this.hasPrev=!0,this.prev=t,e&&this.destination.next(e)}}var Vm=n("Ylt2");class zm extends Ia.a{constructor(t=Number.POSITIVE_INFINITY,e=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=t<1?1:t,this._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(t){if(!this.isStopped){const e=this._events;e.push(t),e.length>this._bufferSize&&e.shift()}super.next(t)}nextTimeWindow(t){this.isStopped||(this._events.push(new Um(this._getNow(),t)),this._trimBufferThenGetEvents()),super.next(t)}_subscribe(t){const e=this._infiniteTimeWindow,n=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,r=n.length;let s;if(this.closed)throw new uo.a;if(this.isStopped||this.hasError?s=jd.a.EMPTY:(this.observers.push(t),s=new Vm.a(this,t)),i&&t.add(t=new mo.a(t,i)),e)for(let a=0;ae&&(s=Math.max(s,r-e)),s>0&&i.splice(0,s),i}}class Um{constructor(t,e){this.time=t,this.value=e}}function Wm(t,e,n){let i;return i=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},t=>t.lift(function({bufferSize:t=Number.POSITIVE_INFINITY,windowTime:e=Number.POSITIVE_INFINITY,refCount:n,scheduler:i}){let r,s,a=0,o=!1,l=!1;return function(c){let u;a++,!r||o?(o=!1,r=new zm(t,e,i),u=r.subscribe(this),s=c.subscribe({next(t){r.next(t)},error(t){o=!0,r.error(t)},complete(){l=!0,s=void 0,r.complete()}})):u=r.subscribe(this),this.add(()=>{a--,u.unsubscribe(),s&&!l&&n&&0===a&&(s.unsubscribe(),s=void 0,r=void 0)})}}(i))}let qm=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new Ia.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new ir.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(Pm(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(nr.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(or(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,i)=>{this._scrollableContainsElement(i,t)&&e.push(i)}),e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,e){let n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Da(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.B),i.Xb(Dd),i.Xb(o,8))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(i.B),Object(i.Xb)(Dd),Object(i.Xb)(o,8))},token:t,providedIn:"root"}),t})(),Gm=(()=>{class t{constructor(t,e,n){this._platform=t,this._change=new Ia.a,this._changeListener=t=>{this._change.next(t)},this._document=n,e.runOutsideAngular(()=>{if(t.isBrowser){const t=this._getWindow();t.addEventListener("resize",this._changeListener),t.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){if(this._platform.isBrowser){const t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._document,e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(Pm(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Dd),i.Xb(i.B),i.Xb(o,8))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Dd),Object(i.Xb)(i.B),Object(i.Xb)(o,8))},token:t,providedIn:"root"}),t})(),$m=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})(),Xm=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[vu,Ld,$m],vu,$m]}),t})();class Km{attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class Jm extends Km{constructor(t,e,n,i){super(),this.component=t,this.viewContainerRef=e,this.injector=n,this.componentFactoryResolver=i}}class Qm extends Km{constructor(t,e,n){super(),this.templateRef=t,this.viewContainerRef=e,this.context=n}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class Zm extends Km{constructor(t){super(),this.element=t instanceof i.l?t.nativeElement:t}}class tp{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t instanceof Jm?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Qm?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Zm?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ep extends tp{constructor(t,e,n,i,r){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=n,this._defaultInjector=i,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");e.parentNode.insertBefore(n,e),this.outletElement.appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=r}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let n;return t.viewContainerRef?(n=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>n.destroy())):(n=e.create(t.injector||this._defaultInjector),this._appRef.attachView(n.hostView),this.setDisposeFn(()=>{this._appRef.detachView(n.hostView),n.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(n)),n}attachTemplatePortal(t){let e=t.viewContainerRef,n=e.createEmbeddedView(t.templateRef,t.context);return n.rootNodes.forEach(t=>this.outletElement.appendChild(t)),n.detectChanges(),this.setDisposeFn(()=>{let t=e.indexOf(n);-1!==t&&e.remove(t)}),n}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let np=(()=>{class t extends tp{constructor(t,e,n){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new i.o,this.attachDomPortal=t=>{const e=t.element,n=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(n,e),this._getRootNode().appendChild(e),super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(e,n)})},this._document=n}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=e.createComponent(n,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.j),i.Nb(i.S),i.Nb(o))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[i.zb]}),t})(),ip=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})();class rp{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new sp(t,this.predicate,this.inclusive))}}class sp extends ar.a{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(i){return void e.error(i)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}class ap{constructor(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Xc(-this._previousScrollPosition.left),t.style.top=Xc(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=i,n.scrollBehavior=r}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width}}class op{constructor(t,e,n,i){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(t){this._overlayRef=t}enable(){if(this._scrollSubscription)return;const t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{const t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class lp{enable(){}disable(){}attach(){}}function cp(t,e){return e.some(e=>t.bottome.bottom||t.righte.right)}function up(t,e){return e.some(e=>t.tope.bottom||t.lefte.right)}class dp{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}attach(t){this._overlayRef=t}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:e,height:n}=this._viewportRuler.getViewportSize();cp(t,[{width:e,height:n,bottom:n,right:e,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let hp=(()=>{class t{constructor(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=()=>new lp,this.close=t=>new op(this._scrollDispatcher,this._ngZone,this._viewportRuler,t),this.block=()=>new ap(this._viewportRuler,this._document),this.reposition=t=>new dp(this._scrollDispatcher,this._viewportRuler,this._ngZone,t),this._document=i}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(qm),i.Xb(Gm),i.Xb(i.B),i.Xb(o))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(qm),Object(i.Xb)(Gm),Object(i.Xb)(i.B),Object(i.Xb)(o))},token:t,providedIn:"root"}),t})();class fp{constructor(t){if(this.scrollStrategy=new lp,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t){const e=Object.keys(t);for(const n of e)void 0!==t[n]&&(this[n]=t[n])}}}class mp{constructor(t,e,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}class pp{constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}let bp=(()=>{class t{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){const e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(o))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(o))},token:t,providedIn:"root"}),t})(),gp=(()=>{class t extends bp{constructor(t){super(t),this._keydownListener=t=>{const e=this._attachedOverlays;for(let n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(o))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(o))},token:t,providedIn:"root"}),t})(),_p=(()=>{class t extends bp{constructor(t,e){super(t),this._platform=e,this._cursorStyleIsSet=!1,this._clickListener=t=>{const e=t.composedPath?t.composedPath()[0]:t.target,n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){const r=n[i];if(!(r._outsidePointerEvents.observers.length<1)&&r.hasAttached()){if(r.overlayElement.contains(e))break;r._outsidePointerEvents.next(t)}}}}add(t){super.add(t),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._document.body.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._document.body.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(o),i.Xb(Dd))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(o),Object(i.Xb)(Dd))},token:t,providedIn:"root"}),t})();const yp=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let vp=(()=>{class t{constructor(t,e){this._platform=e,this._document=t}ngOnDestroy(){const t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const t="cdk-overlay-container";if(this._platform.isBrowser||yp){const e=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let t=0;tthis._backdropClick.next(t),this._keydownEvents=new Ia.a,this._outsidePointerEvents=new Ia.a,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(t){let e=this._portalOutlet.attach(t);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.pipe(za(1)).subscribe(()=>{this.hasAttached()&&this.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._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){const t=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._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,t&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=Object.assign(Object.assign({},this._config),t),this._updateElementSize()}setDirection(t){this._config=Object.assign(Object.assign({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){const t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const t=this._pane.style;t.width=Xc(this._config.width),t.height=Xc(this._config.height),t.minWidth=Xc(this._config.minWidth),t.minHeight=Xc(this._config.minHeight),t.maxWidth=Xc(this._config.maxWidth),t.maxHeight=Xc(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"auto":"none"}_attachBackdrop(){const t="cdk-overlay-backdrop-showing";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(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let t,e=this._backdropElement;if(!e)return;let n=()=>{e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",n),e.parentNode&&e.parentNode.removeChild(e)),this._backdropElement==e&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),clearTimeout(t)};e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",n)}),e.style.pointerEvents="none",t=this._ngZone.runOutsideAngular(()=>setTimeout(n,500))}_toggleClasses(t,e,n){const i=t.classList;$c(e).forEach(t=>{t&&(n?i.add(t):i.remove(t))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const t=this._ngZone.onStable.pipe(ec(Object(ja.a)(this._attachments,this._detachments))).subscribe(()=>{this._pane&&this._host&&0!==this._pane.children.length||(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._previousHostParent.removeChild(this._host)),t.unsubscribe())})})}_disposeScrollStrategy(){const t=this._scrollStrategy;t&&(t.disable(),t.detach&&t.detach())}}const Sp="cdk-overlay-connected-position-bounding-box",xp=/([A-Za-z%]+)$/;class Cp{constructor(t,e,n,i,r){this._viewportRuler=e,this._document=n,this._platform=i,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 Ia.a,this._resizeSubscription=jd.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}get positions(){return this._preferredPositions}attach(t){this._validatePositions(),t.hostElement.classList.add(Sp),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();const t=this._originRect,e=this._overlayRect,n=this._viewportRect,i=[];let r;for(let s of this._preferredPositions){let a=this._getOriginPoint(t,s),o=this._getOverlayPoint(a,e,s),l=this._getOverlayFit(o,e,n,s);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,a);this._canFitWithFlexibleDimensions(l,o,n)?i.push({position:s,origin:a,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(a,s)}):(!r||r.overlayFit.visibleAreae&&(e=i,t=n)}return this._isPushed=!1,void this._applyPosition(t.position,t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&kp(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Sp),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e){let n,i;if("center"==e.originX)n=t.left+t.width/2;else{const i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return i="center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom,{x:n,y:i}}_getOverlayPoint(t,e,n){let i,r;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,r="center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height,{x:t.x+i,y:t.y+r}}_getOverlayFit(t,e,n,i){let{x:r,y:s}=t,a=this._getOffset(i,"x"),o=this._getOffset(i,"y");a&&(r+=a),o&&(s+=o);let l=0-s,c=s+e.height-n.height,u=this._subtractOverflows(e.width,0-r,r+e.width-n.width),d=this._subtractOverflows(e.height,l,c),h=u*d;return{visibleArea:h,isCompletelyWithinViewport:e.width*e.height===h,fitsInViewportVertically:d===e.height,fitsInViewportHorizontally:u==e.width}}_canFitWithFlexibleDimensions(t,e,n){if(this._hasFlexibleDimensions){const i=n.bottom-e.y,r=n.right-e.x,s=Tp(this._overlayRef.getConfig().minHeight),a=Tp(this._overlayRef.getConfig().minWidth),o=t.fitsInViewportHorizontally||null!=a&&a<=r;return(t.fitsInViewportVertically||null!=s&&s<=i)&&o}return!1}_pushOverlayOnScreen(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};const i=this._viewportRect,r=Math.max(t.x+e.width-i.width,0),s=Math.max(t.y+e.height-i.height,0),a=Math.max(i.top-n.top-t.y,0),o=Math.max(i.left-n.left-t.x,0);let l=0,c=0;return l=e.width<=i.width?o||-r:t.xi&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-i/2)}if("end"===e.overlayX&&!i||"start"===e.overlayX&&i)c=n.width-t.x+this._viewportMargin,o=t.x-this._viewportMargin;else if("start"===e.overlayX&&!i||"end"===e.overlayX&&i)l=t.x,o=n.right-t.x;else{const e=Math.min(n.right-t.x+n.left,t.x),i=this._lastBoundingBoxSize.width;o=2*e,l=t.x-e,o>i&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-i/2)}return{top:s,left:l,bottom:a,right:c,width:o,height:r}}_setBoundingBoxStyles(t,e){const n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));const i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{const t=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;i.height=Xc(n.height),i.top=Xc(n.top),i.bottom=Xc(n.bottom),i.width=Xc(n.width),i.left=Xc(n.left),i.right=Xc(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",t&&(i.maxHeight=Xc(t)),r&&(i.maxWidth=Xc(r))}this._lastBoundingBoxSize=n,kp(this._boundingBox.style,i)}_resetBoundingBoxStyles(){kp(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){kp(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){const n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){const i=this._viewportRuler.getViewportScrollPosition();kp(n,this._getExactOverlayY(e,t,i)),kp(n,this._getExactOverlayX(e,t,i))}else n.position="static";let a="",o=this._getOffset(e,"x"),l=this._getOffset(e,"y");o&&(a+=`translateX(${o}px) `),l&&(a+=`translateY(${l}px)`),n.transform=a.trim(),s.maxHeight&&(i?n.maxHeight=Xc(s.maxHeight):r&&(n.maxHeight="")),s.maxWidth&&(i?n.maxWidth=Xc(s.maxWidth):r&&(n.maxWidth="")),kp(this._pane.style,n)}_getExactOverlayY(t,e,n){let i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));let s=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=s,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=Xc(r.y),i}_getExactOverlayX(t,e,n){let i,r={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,n)),i=this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left","right"===i?r.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":r.left=Xc(s.x),r}_getScrollVisibility(){const t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map(t=>t.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:up(t,n),isOriginOutsideView:cp(t,n),isOverlayClipped:up(e,n),isOverlayOutsideView:cp(e,n)}}_subtractOverflows(t,...e){return e.reduce((t,e)=>t-Math.max(e,0),t)}_getNarrowedViewportRect(){const t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&$c(t).forEach(t=>{""!==t&&-1===this._appliedPanelClasses.indexOf(t)&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){const t=this._origin;if(t instanceof i.l)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();const e=t.width||0,n=t.height||0;return{top:t.y,bottom:t.y+n,left:t.x,right:t.x+e,height:n,width:e}}}function kp(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function Tp(t){if("number"!=typeof t&&null!=t){const[e,n]=t.split(xp);return n&&"px"!==n?null:parseFloat(e)}return t||null}class Mp{constructor(t,e,n,i,r,s,a){this._preferredPositions=[],this._positionStrategy=new Cp(n,i,r,s,a).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e),this.onPositionChange=this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(t){this._positionStrategy.withScrollableContainers(t)}withFallbackPosition(t,e,n,i){const r=new mp(t,e,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this}withOffsetX(t){return this._positionStrategy.withDefaultOffsetX(t),this}withOffsetY(t){return this._positionStrategy.withDefaultOffsetY(t),this}withLockedPosition(t){return this._positionStrategy.withLockedPosition(t),this}withPositions(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(t){return this._positionStrategy.setOrigin(t),this}}const Dp="cdk-global-overlay-wrapper";class Lp{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(t){const e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Dp),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._justifyContent="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:i,height:r,maxWidth:s,maxHeight:a}=n,o=!("100%"!==i&&"100vw"!==i||s&&"100%"!==s&&"100vw"!==s),l=!("100%"!==r&&"100vh"!==r||a&&"100%"!==a&&"100vh"!==a);t.position=this._cssPosition,t.marginLeft=o?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,o?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove(Dp),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}let Op=(()=>{class t{constructor(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}global(){return new Lp}connectedTo(t,e,n){return new Mp(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(t){return new Cp(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Gm),i.Xb(o),i.Xb(Dd),i.Xb(vp))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Gm),Object(i.Xb)(o),Object(i.Xb)(Dd),Object(i.Xb)(vp))},token:t,providedIn:"root"}),t})(),Ap=0,Ep=(()=>{class t{constructor(t,e,n,i,r,s,a,o,l,c,u){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=s,this._ngZone=a,this._document=o,this._directionality=l,this._location=c,this._outsideClickDispatcher=u}create(t){const e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new fp(t);return r.direction=r.direction||this._directionality.value,new wp(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(t){const e=this._document.createElement("div");return e.id="cdk-overlay-"+Ap++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}_createHostElement(){const t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(i.g)),new ep(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(hp),i.Xb(vp),i.Xb(i.j),i.Xb(Op),i.Xb(gp),i.Xb(i.t),i.Xb(i.B),i.Xb(o),i.Xb(yu),i.Xb(S),i.Xb(_p))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const Ip=[{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"}],Rp=new i.s("cdk-connected-overlay-scroll-strategy");let Yp=(()=>{class t{constructor(t){this.elementRef=t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),jp=(()=>{class t{constructor(t,e,n,r,s){this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=jd.a.EMPTY,this._attachSubscription=jd.a.EMPTY,this._detachSubscription=jd.a.EMPTY,this._positionSubscription=jd.a.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new i.o,this.positionChange=new i.o,this.attach=new i.o,this.detach=new i.o,this.overlayKeydown=new i.o,this.overlayOutsideClick=new i.o,this._templatePortal=new Qm(e,n),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=qc(t)}get lockPosition(){return this._lockPosition}set lockPosition(t){this._lockPosition=qc(t)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(t){this._flexibleDimensions=qc(t)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(t){this._growAfterOpen=qc(t)}get push(){return this._push}set push(t){this._push=qc(t)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=Ip);const t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(t=>{this.overlayKeydown.next(t),27!==t.keyCode||this.disableClose||zd(t)||(t.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(t=>{this.overlayOutsideClick.next(t)})}_buildConfig(){const t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new fp({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}_updatePositionStrategy(t){const e=this.positions.map(t=>({originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||this.offsetX,offsetY:t.offsetY||this.offsetY,panelClass:t.panelClass||void 0}));return t.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(t,e=!1){return n=>n.lift(new rp(t,e))}(()=>this.positionChange.observers.length>0)).subscribe(t=>{this.positionChange.emit(t),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Ep),i.Nb(i.N),i.Nb(i.S),i.Nb(Rp),i.Nb(yu,8))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],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",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[i.Ab]}),t})();const Np={provide:Rp,deps:[Ep],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};let Pp=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[Ep,Np],imports:[[vu,ip,Xm],Xm]}),t})();function Fp(t,e){}class Bp{constructor(){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}}const Hp={dialogContainer:ge("dialogContainer",[we("void, exit",ve({opacity:0,transform:"scale(0.7)"})),we("enter",ve({transform:"none"})),Se("* => enter",_e("150ms cubic-bezier(0, 0, 0.2, 1)",ve({transform:"none",opacity:1}))),Se("* => void, * => exit",_e("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",ve({opacity:0})))])};let Vp=(()=>{class t extends tp{constructor(t,e,n,r,s,a){super(),this._elementRef=t,this._focusTrapFactory=e,this._changeDetectorRef=n,this._config=s,this._focusMonitor=a,this._animationStateChanged=new i.o,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=t=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(t)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=r}_initializeWithAttachedContent(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}attachComponentPortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(t)}_recaptureFocus(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){const e=this._document.activeElement,n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}_capturePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement)}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(eh),i.Nb(i.h),i.Nb(o,8),i.Nb(Bp),i.Nb(uh))},t.\u0275dir=i.Ib({type:t,viewQuery:function(t,e){if(1&t&&i.wc(np,!0),2&t){let t;i.qc(t=i.cc())&&(e._portalOutlet=t.first)}},features:[i.zb]}),t})(),zp=(()=>{class t extends Vp{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:t,totalTime:e}){"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:e}))}_onAnimationStart({toState:t,totalTime:e}){"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:e}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:e})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return t.\u0275fac=function(e){return Up(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&i.yc("@dialogContainer.start",function(t){return e._onAnimationStart(t)})("@dialogContainer.done",function(t){return e._onAnimationDone(t)}),2&t&&(i.Wb("id",e._id),i.Db("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),i.zc("@dialogContainer",e._state))},features:[i.zb],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&i.Ac(0,Fp,0,0,"ng-template",0)},directives:[np],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;box-sizing:content-box;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:[Hp.dialogContainer]}}),t})();const Up=i.Vb(zp);let Wp=0;class qp{constructor(t,e,n="mat-dialog-"+Wp++){this._overlayRef=t,this._containerInstance=e,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Ia.a,this._afterClosed=new Ia.a,this._beforeClosed=new Ia.a,this._state=0,e._id=n,e._animationStateChanged.pipe(or(t=>"opened"===t.state),za(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(or(t=>"closed"===t.state),za(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),t.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),t.keydownEvents().pipe(or(t=>27===t.keyCode&&!this.disableClose&&!zd(t))).subscribe(t=>{t.preventDefault(),Gp(this,"keyboard")}),t.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():Gp(this,"mouse")})}close(t){this._result=t,this._containerInstance._animationStateChanged.pipe(or(t=>"closing"===t.state),za(1)).subscribe(e=>{this._beforeClosed.next(t),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(t){let e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(t="",e=""){return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}addPanelClass(t){return this._overlayRef.addPanelClass(t),this}removePanelClass(t){return this._overlayRef.removePanelClass(t),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function Gp(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}const $p=new i.s("MatDialogData"),Xp=new i.s("mat-dialog-default-options"),Kp=new i.s("mat-dialog-scroll-strategy"),Jp={provide:Kp,deps:[Ep],useFactory:function(t){return()=>t.scrollStrategies.block()}};let Qp=(()=>{class t{constructor(t,e,n,i,r,s,a,o,l){this._overlay=t,this._injector=e,this._defaultOptions=n,this._parentDialog=i,this._overlayContainer=r,this._dialogRefConstructor=a,this._dialogContainerType=o,this._dialogDataToken=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ia.a,this._afterOpenedAtThisLevel=new Ia.a,this._ariaHiddenElements=new Map,this.afterAllClosed=ka(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(vh(void 0))),this._scrollStrategy=s}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(t,e){(e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new Bp)).id&&this.getDialogById(e.id);const n=this._createOverlay(e),i=this._attachDialogContainer(n,e),r=this._attachDialogContent(t,i,n,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),i._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(e=>e.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(t){const e=this._getOverlayConfig(t);return this._overlay.create(e)}_getOverlayConfig(t){const e=new fp({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}_attachDialogContainer(t,e){const n=i.t.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Bp,useValue:e}]}),r=new Jm(this._dialogContainerType,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(r).instance}_attachDialogContent(t,e,n,r){const s=new this._dialogRefConstructor(n,e,r.id);if(t instanceof i.N)e.attachTemplatePortal(new Qm(t,null,{$implicit:r.data,dialogRef:s}));else{const n=this._createInjector(r,s,e),i=e.attachComponentPortal(new Jm(t,r.viewContainerRef,n));s.componentInstance=i.instance}return s.updateSize(r.width,r.height).updatePosition(r.position),s}_createInjector(t,e,n){const r=t&&t.viewContainerRef&&t.viewContainerRef.injector,s=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:t.data},{provide:this._dialogRefConstructor,useValue:e}];return!t.direction||r&&r.get(yu,null)||s.push({provide:yu,useValue:{value:t.direction,change:Object(nr.a)()}}),i.t.create({parent:r||this._injector,providers:s})}_removeOpenDialog(t){const e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((t,e)=>{t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const t=this._overlayContainer.getContainerElement();if(t.parentElement){const e=t.parentElement.children;for(let n=e.length-1;n>-1;n--){let i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}}_closeDialogs(t){let e=t.length;for(;e--;)t[e].close()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Ep),i.Nb(i.t),i.Nb(void 0),i.Nb(void 0),i.Nb(vp),i.Nb(void 0),i.Nb(i.P),i.Nb(i.P),i.Nb(i.s))},t.\u0275dir=i.Ib({type:t}),t})(),Zp=(()=>{class t extends Qp{constructor(t,e,n,i,r,s,a){super(t,e,i,s,a,r,qp,zp,$p)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Ep),i.Xb(i.t),i.Xb(S,8),i.Xb(Xp,8),i.Xb(Kp),i.Xb(t,12),i.Xb(vp))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),tb=0,eb=(()=>{class t{constructor(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=sb(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){const e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}_onButtonClick(t){Gp(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(qp,8),i.Nb(i.l),i.Nb(Zp))},t.\u0275dir=i.Ib({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&i.bc("click",function(t){return e._onButtonClick(t)}),2&t&&i.Db("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[i.Ab]}),t})(),nb=(()=>{class t{constructor(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+tb++}ngOnInit(){this._dialogRef||(this._dialogRef=sb(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const t=this._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(qp,8),i.Nb(i.l),i.Nb(Zp))},t.\u0275dir=i.Ib({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&i.Wb("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),ib=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),rb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t})();function sb(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(t=>t.id===n.id):null}let ab=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[Zp,Jp],imports:[[Pp,ip,kh],kh]}),t})();const ob=Rd({passive:!0});let lb=(()=>{class t{constructor(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return Ca.a;const e=Kc(t),n=this._monitoredElements.get(e);if(n)return n.subject;const i=new Ia.a,r="cdk-text-field-autofilled",s=t=>{"cdk-text-field-autofill-start"!==t.animationName||e.classList.contains(r)?"cdk-text-field-autofill-end"===t.animationName&&e.classList.contains(r)&&(e.classList.remove(r),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!1}))):(e.classList.add(r),this._ngZone.run(()=>i.next({target:t.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{e.addEventListener("animationstart",s,ob),e.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(e,{subject:i,unlisten:()=>{e.removeEventListener("animationstart",s,ob)}}),i}stopMonitoring(t){const e=Kc(t),n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))}ngOnDestroy(){this._monitoredElements.forEach((t,e)=>this.stopMonitoring(e))}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Dd),i.Xb(i.B))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Dd),Object(i.Xb)(i.B))},token:t,providedIn:"root"}),t})(),cb=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[Ld]]}),t})();const ub=new i.s("MAT_INPUT_VALUE_ACCESSOR"),db=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let hb=0;class fb{constructor(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}}const mb=Oh(fb);let pb=(()=>{class t extends mb{constructor(t,e,n,i,r,s,a,o,l,c){super(s,i,r,n),this._elementRef=t,this._platform=e,this.ngControl=n,this._autofillMonitor=o,this._formField=c,this._uid="mat-input-"+hb++,this.focused=!1,this.stateChanges=new Ia.a,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._required=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(t=>Ad().has(t));const u=this._elementRef.nativeElement,d=u.nodeName.toLowerCase();this._inputValueAccessor=a||u,this._previousNativeValue=this.value,this.id=this.id,e.IOS&&l.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",t=>{let e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===d,this._isTextarea="textarea"===d,this._isNativeSelect&&(this.controlType=u.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=qc(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){return this._required}set required(t){this._required=qc(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Ad().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=qc(t)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}_focusChanged(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var t,e;const n=(null===(e=null===(t=this._formField)||void 0===t?void 0:t._hideControlPlaceholder)||void 0===e?void 0:e.call(t))?null:this.placeholder;if(n!==this._previousPlaceholder){const t=this._elementRef.nativeElement;this._previousPlaceholder=n,n?t.setAttribute("placeholder",n):t.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_validateType(){db.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(Dd),i.Nb(ys,10),i.Nb(da,8),i.Nb(ga,8),i.Nb(Uh),i.Nb(ub,10),i.Nb(lb),i.Nb(i.B),i.Nb(Dm,8))},t.\u0275dir=i.Ib({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,e){1&t&&i.bc("focus",function(){return e._focusChanged(!0)})("blur",function(){return e._focusChanged(!1)})("input",function(){return e._onInput()}),2&t&&(i.Wb("disabled",e.disabled)("required",e.required),i.Db("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-invalid",e.errorState)("aria-required",e.required.toString()),i.Fb("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[i.Bb([{provide:gm,useExisting:t}]),i.zb,i.Ab]}),t})(),bb=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[Uh],imports:[[cb,Om,kh],cb,Om]}),t})();const gb=["mat-calendar-body",""];function _b(t,e){if(1&t&&(i.Tb(0,"tr",2),i.Tb(1,"td",3),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(1),i.xc("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),i.Db("colspan",t.numCols),i.Cb(1),i.Dc(" ",t.label," ")}}function yb(t,e){if(1&t&&(i.Tb(0,"td",7),i.Bc(1),i.Sb()),2&t){const t=i.fc(2);i.xc("padding-top",t._cellPadding)("padding-bottom",t._cellPadding),i.Db("colspan",t._firstRowOffset),i.Cb(1),i.Dc(" ",t._firstRowOffset>=t.labelMinRequiredCells?t.label:""," ")}}function vb(t,e){if(1&t){const t=i.Ub();i.Tb(0,"td",8),i.bc("click",function(n){i.sc(t);const r=e.$implicit;return i.fc(2)._cellClicked(r,n)}),i.Tb(1,"div",9),i.Bc(2),i.Sb(),i.Ob(3,"div",10),i.Sb()}if(2&t){const t=e.$implicit,n=e.index,r=i.fc().index,s=i.fc();i.xc("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),i.Fb("mat-calendar-body-disabled",!t.enabled)("mat-calendar-body-active",s._isActiveCell(r,n))("mat-calendar-body-range-start",s._isRangeStart(t.compareValue))("mat-calendar-body-range-end",s._isRangeEnd(t.compareValue))("mat-calendar-body-in-range",s._isInRange(t.compareValue))("mat-calendar-body-comparison-bridge-start",s._isComparisonBridgeStart(t.compareValue,r,n))("mat-calendar-body-comparison-bridge-end",s._isComparisonBridgeEnd(t.compareValue,r,n))("mat-calendar-body-comparison-start",s._isComparisonStart(t.compareValue))("mat-calendar-body-comparison-end",s._isComparisonEnd(t.compareValue))("mat-calendar-body-in-comparison-range",s._isInComparisonRange(t.compareValue))("mat-calendar-body-preview-start",s._isPreviewStart(t.compareValue))("mat-calendar-body-preview-end",s._isPreviewEnd(t.compareValue))("mat-calendar-body-in-preview",s._isInPreview(t.compareValue)),i.lc("ngClass",t.cssClasses)("tabindex",s._isActiveCell(r,n)?0:-1),i.Db("data-mat-row",r)("data-mat-col",n)("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null)("aria-selected",s._isSelected(t.compareValue)),i.Cb(1),i.Fb("mat-calendar-body-selected",s._isSelected(t.compareValue))("mat-calendar-body-comparison-identical",s._isComparisonIdentical(t.compareValue))("mat-calendar-body-today",s.todayValue===t.compareValue),i.Cb(1),i.Dc(" ",t.displayValue," ")}}function wb(t,e){if(1&t&&(i.Tb(0,"tr",4),i.Ac(1,yb,2,6,"td",5),i.Ac(2,vb,4,46,"td",6),i.Sb()),2&t){const t=e.$implicit,n=e.index,r=i.fc();i.Cb(1),i.lc("ngIf",0===n&&r._firstRowOffset),i.Cb(1),i.lc("ngForOf",t)}}function Sb(t,e){if(1&t&&(i.Tb(0,"th",5),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Db("aria-label",t.long),i.Cb(1),i.Cc(t.narrow)}}const xb=["*"];function Cb(t,e){}function kb(t,e){if(1&t){const t=i.Ub();i.Tb(0,"mat-month-view",5),i.bc("activeDateChange",function(e){return i.sc(t),i.fc().activeDate=e})("_userSelection",function(e){return i.sc(t),i.fc()._dateSelected(e)}),i.Sb()}if(2&t){const t=i.fc();i.lc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)}}function Tb(t,e){if(1&t){const t=i.Ub();i.Tb(0,"mat-year-view",6),i.bc("activeDateChange",function(e){return i.sc(t),i.fc().activeDate=e})("monthSelected",function(e){return i.sc(t),i.fc()._monthSelectedInYearView(e)})("selectedChange",function(e){return i.sc(t),i.fc()._goToDateInView(e,"month")}),i.Sb()}if(2&t){const t=i.fc();i.lc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}function Mb(t,e){if(1&t){const t=i.Ub();i.Tb(0,"mat-multi-year-view",7),i.bc("activeDateChange",function(e){return i.sc(t),i.fc().activeDate=e})("yearSelected",function(e){return i.sc(t),i.fc()._yearSelectedInMultiYearView(e)})("selectedChange",function(e){return i.sc(t),i.fc()._goToDateInView(e,"year")}),i.Sb()}if(2&t){const t=i.fc();i.lc("activeDate",t.activeDate)("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)("dateClass",t.dateClass)}}const Db=["button"];function Lb(t,e){1&t&&(i.ec(),i.Tb(0,"svg",3),i.Ob(1,"path",4),i.Sb())}const Ob=[[["","matDatepickerToggleIcon",""]]],Ab=["[matDatepickerToggleIcon]"];let Eb=(()=>{class t{constructor(){this.changes=new Ia.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close 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"}formatYearRange(t,e){return`${t} \u2013 ${e}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();class Ib{constructor(t,e,n,i,r={},s=t,a){this.value=t,this.displayValue=e,this.ariaLabel=n,this.enabled=i,this.cssClasses=r,this.compareValue=s,this.rawValue=a}}let Rb=(()=>{class t{constructor(t,e){this._elementRef=t,this._ngZone=e,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new i.o,this.previewChange=new i.o,this._enterHandler=t=>{if(this._skipNextFocus&&"focus"===t.type)this._skipNextFocus=!1;else if(t.target&&this.isRange){const e=this._getCellFromElement(t.target);e&&this._ngZone.run(()=>this.previewChange.emit({value:e.enabled?e:null,event:t}))}},this._leaveHandler=t=>{null!==this.previewEnd&&this.isRange&&t.target&&Yb(t.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:t}))},e.runOutsideAngular(()=>{const e=t.nativeElement;e.addEventListener("mouseenter",this._enterHandler,!0),e.addEventListener("focus",this._enterHandler,!0),e.addEventListener("mouseleave",this._leaveHandler,!0),e.addEventListener("blur",this._leaveHandler,!0)})}_cellClicked(t,e){t.enabled&&this.selectedValueChange.emit({value:t.value,event:e})}_isSelected(t){return this.startValue===t||this.endValue===t}ngOnChanges(t){const e=t.numCols,{rows:n,numCols:i}=this;(t.rows||e)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(t.cellAspectRatio||e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/i+"%"),!e&&this._cellWidth||(this._cellWidth=100/i+"%")}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("mouseenter",this._enterHandler,!0),t.removeEventListener("focus",this._enterHandler,!0),t.removeEventListener("mouseleave",this._leaveHandler,!0),t.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(t,e){let n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell}_focusActiveCell(t=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(za(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&(t||(this._skipNextFocus=!0),e.focus())})})}_isRangeStart(t){return jb(t,this.startValue,this.endValue)}_isRangeEnd(t){return Nb(t,this.startValue,this.endValue)}_isInRange(t){return Pb(t,this.startValue,this.endValue,this.isRange)}_isComparisonStart(t){return jb(t,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(t,e,n){if(!this._isComparisonStart(t)||this._isRangeStart(t)||!this._isInRange(t))return!1;let i=this.rows[e][n-1];if(!i){const t=this.rows[e-1];i=t&&t[t.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(t,e,n){if(!this._isComparisonEnd(t)||this._isRangeEnd(t)||!this._isInRange(t))return!1;let i=this.rows[e][n+1];if(!i){const t=this.rows[e+1];i=t&&t[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(t){return Nb(t,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(t){return Pb(t,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(t){return this.comparisonStart===this.comparisonEnd&&t===this.comparisonStart}_isPreviewStart(t){return jb(t,this.previewStart,this.previewEnd)}_isPreviewEnd(t){return Nb(t,this.previewStart,this.previewEnd)}_isInPreview(t){return Pb(t,this.previewStart,this.previewEnd,this.isRange)}_getCellFromElement(t){let e;if(Yb(t)?e=t:Yb(t.parentNode)&&(e=t.parentNode),e){const t=e.getAttribute("data-mat-row"),n=e.getAttribute("data-mat-col");if(t&&n)return this.rows[parseInt(t)][parseInt(n)]}return null}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.B))},t.\u0275cmp=i.Hb({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[i.Ab],attrs:gb,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-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(t,e){1&t&&(i.Ac(0,_b,3,6,"tr",0),i.Ac(1,wb,3,2,"tr",1)),2&t&&(i.lc("ngIf",e._firstRowOffset.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}),t})();function Yb(t){return"TD"===t.nodeName}function jb(t,e,n){return null!==n&&e!==n&&t=e&&t===n}function Pb(t,e,n,i){return i&&null!==e&&null!==n&&e!==n&&t>=e&&t<=n}class Fb{constructor(t,e){this.start=t,this.end=e}}let Bb=(()=>{class t{constructor(t,e){this.selection=t,this._adapter=e,this._selectionChanged=new Ia.a,this.selectionChanged=this._selectionChanged,this.selection=t}updateSelection(t,e){this.selection=t,this._selectionChanged.next({selection:t,source:e})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(t){return this._adapter.isDateInstance(t)&&this._adapter.isValid(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(void 0),i.Nb(Eh))},t.\u0275dir=i.Ib({type:t}),t})(),Hb=(()=>{class t extends Bb{constructor(t){super(null,t)}add(t){super.updateSelection(t,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Eh))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const Vb={provide:Bb,deps:[[new i.C,new i.L,Bb],Eh],useFactory:function(t,e){return t||new Hb(e)}},zb=new i.s("MAT_DATE_RANGE_SELECTION_STRATEGY");let Ub=(()=>{class t{constructor(t,e,n,r,s){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=r,this._rangeStrategy=s,this._rerenderSubscription=jd.a.EMPTY,this.selectedChange=new i.o,this._userSelection=new i.o,this.activeDateChange=new i.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){const e=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Fb?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(vh(null)).subscribe(()=>this._init())}ngOnChanges(t){const e=t.comparisonStart||t.comparisonEnd;e&&!e.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(t){const e=t.value,n=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(n,i,e);let s,a;this._selected instanceof Fb?(s=this._getDateInCurrentMonth(this._selected.start),a=this._getDateInCurrentMonth(this._selected.end)):s=a=this._getDateInCurrentMonth(this._selected),s===e&&a===e||this.selectedChange.emit(r),this._userSelection.emit({value:r,event:t.event})}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case Fd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case Hd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case Bd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case Vd: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=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case Nd:case Pd:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:t}),t.preventDefault()));case 27:return void(null==this._previewEnd||zd(t)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:t}),t.preventDefault(),t.stopPropagation()));default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(t){this._matCalendarBody._focusActiveCell(t)}_previewChanged({event:t,value:e}){if(this._rangeStrategy){const n=this._rangeStrategy.createPreview(e?e.rawValue:null,this.selected,t);this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end),this._changeDetectorRef.detectChanges()}}_initWeekdays(){const t=this._dateAdapter.getFirstDayOfWeek(),e=this._dateAdapter.getDayOfWeekNames("narrow");let n=this._dateAdapter.getDayOfWeekNames("long").map((t,n)=>({long:t,narrow:e[n]}));this._weekdays=n.slice(t).concat(n.slice(0,t))}_createWeekCells(){const t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let n=0,i=this._firstWeekOffset;n=0)&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(t))}_getDateInCurrentMonth(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null}_hasSameMonthAndYear(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))}_getCellCompareValue(t){if(t){const e=this._dateAdapter.getYear(t),n=this._dateAdapter.getMonth(t),i=this._dateAdapter.getDate(t);return new Date(e,n,i).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(t){t instanceof Fb?(this._rangeStart=this._getCellCompareValue(t.start),this._rangeEnd=this._getCellCompareValue(t.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(t),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.h),i.Nb(Ih,8),i.Nb(Eh,8),i.Nb(yu,8),i.Nb(zb,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-month-view"]],viewQuery:function(t,e){if(1&t&&i.Hc(Rb,!0),2&t){let t;i.qc(t=i.cc())&&(e._matCalendarBody=t.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[i.Ab],decls:7,vars:13,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","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(t,e){1&t&&(i.Tb(0,"table",0),i.Tb(1,"thead",1),i.Tb(2,"tr"),i.Ac(3,Sb,2,2,"th",2),i.Sb(),i.Tb(4,"tr"),i.Ob(5,"th",3),i.Sb(),i.Sb(),i.Tb(6,"tbody",4),i.bc("selectedValueChange",function(t){return e._dateSelected(t)})("previewChange",function(t){return e._previewChanged(t)})("keydown",function(t){return e._handleCalendarBodyKeydown(t)}),i.Sb(),i.Sb()),2&t&&(i.Cb(3),i.lc("ngForOf",e._weekdays),i.Cb(3),i.lc("label",e._monthLabel)("rows",e._weeks)("todayValue",e._todayDate)("startValue",e._rangeStart)("endValue",e._rangeEnd)("comparisonStart",e._comparisonRangeStart)("comparisonEnd",e._comparisonRangeEnd)("previewStart",e._previewStart)("previewEnd",e._previewEnd)("isRange",e._isRange)("labelMinRequiredCells",3)("activeCell",e._dateAdapter.getDate(e.activeDate)-1))},directives:[ft,Rb],encapsulation:2,changeDetection:0}),t})();const Wb=24;let qb=(()=>{class t{constructor(t,e,n){this._changeDetectorRef=t,this._dateAdapter=e,this._dir=n,this._rerenderSubscription=jd.a.EMPTY,this.selectedChange=new i.o,this.yearSelected=new i.o,this.activeDateChange=new i.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),Gb(this._dateAdapter,e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Fb?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedYear(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(vh(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const t=this._dateAdapter.getYear(this._activeDate)-$b(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let e=0,n=[];ethis._createCellForYear(t))),n=[]);this._changeDetectorRef.markForCheck()}_yearSelected(t){const e=t.value;this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));let n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,n,1));this.selectedChange.emit(this._dateAdapter.createDate(e,n,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case Fd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case Hd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case Bd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case Vd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-$b(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Wb-$b(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:Wb);break;case Nd:case Pd:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_getActiveCell(){return $b(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(t){const e=this._dateAdapter.createDate(t,0,1),n=this._dateAdapter.getYearName(e),i=this.dateClass?this.dateClass(e,"multi-year"):void 0;return new Ib(t,n,n,this._shouldEnableYear(t),i)}_shouldEnableYear(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t{class t{constructor(t,e,n,r){this._changeDetectorRef=t,this._dateFormats=e,this._dateAdapter=n,this._dir=r,this._rerenderSubscription=jd.a.EMPTY,this.selectedChange=new i.o,this.monthSelected=new i.o,this.activeDateChange=new i.o,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(t){let e=this._activeDate;const n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(t){this._selected=t instanceof Fb?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t)),this._setSelectedMonth(t)}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(vh(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(t){const e=t.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(n);const i=this._dateAdapter.getNumDaysInMonth(n);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(t){const e=this._activeDate,n=this._isRtl();switch(t.keyCode){case Fd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case Hd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case Bd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case Vd: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,t.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case Nd:case Pd:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:t});break;default:return}this._dateAdapter.compareDate(e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),t.preventDefault()}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(e=>e.map(e=>this._createCellForMonth(e,t[e]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null}_createCellForMonth(t,e){const n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),i=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),r=this.dateClass?this.dateClass(n,"year"):void 0;return new Ib(t,e.toLocaleUpperCase(),i,this._shouldEnableMonth(t),r)}_shouldEnableMonth(t){const e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(let n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}_isYearAndMonthAfterMaxDate(t,e){if(this.maxDate){const n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return t>n||t===n&&e>i}return!1}_isYearAndMonthBeforeMinDate(t,e){if(this.minDate){const n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return t{class t{constructor(t,e,n,i,r){this._intl=t,this.calendar=e,this._dateAdapter=n,this._dateFormats=i,this._buttonDescriptionId="mat-calendar-button-"+Jb++,this.calendar.stateChanges.subscribe(()=>r.markForCheck())}get periodButtonText(){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);const t=this._dateAdapter.getYear(this.calendar.activeDate)-$b(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),e=t+Wb-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return this._intl.formatYearRange(n,i)}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){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)}nextClicked(){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:Wb)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(t,e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this.calendar.currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):Gb(this._dateAdapter,t,e,this.calendar.minDate,this.calendar.maxDate)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Eb),i.Nb(Object(i.W)(()=>Zb)),i.Nb(Eh,8),i.Nb(Ih,8),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:xb,decls:10,vars:10,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(t,e){1&t&&(i.kc(),i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"button",2),i.bc("click",function(){return e.currentPeriodClicked()}),i.Tb(3,"span"),i.Bc(4),i.Sb(),i.Ob(5,"div",3),i.Sb(),i.Ob(6,"div",4),i.jc(7),i.Tb(8,"button",5),i.bc("click",function(){return e.previousClicked()}),i.Sb(),i.Tb(9,"button",6),i.bc("click",function(){return e.nextClicked()}),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(2),i.Db("aria-label",e.periodButtonLabel)("aria-describedby",e._buttonDescriptionId),i.Cb(1),i.Db("id",e._buttonDescriptionId),i.Cb(1),i.Cc(e.periodButtonText),i.Cb(1),i.Fb("mat-calendar-invert","month"!==e.calendar.currentView),i.Cb(3),i.lc("disabled",!e.previousEnabled()),i.Db("aria-label",e.prevButtonLabel),i.Cb(1),i.lc("disabled",!e.nextEnabled()),i.Db("aria-label",e.nextButtonLabel))},directives:[wf,ah],encapsulation:2,changeDetection:0}),t})(),Zb=(()=>{class t{constructor(t,e,n,r){this._dateAdapter=e,this._dateFormats=n,this._changeDetectorRef=r,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new i.o,this.yearSelected=new i.o,this.monthSelected=new i.o,this.viewChanged=new i.o(!0),this._userSelection=new i.o,this.stateChanges=new Ia.a,this._intlChanges=t.changes.subscribe(()=>{r.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get selected(){return this._selected}set selected(t){this._selected=t instanceof Fb?t:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get minDate(){return this._minDate}set minDate(t){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get maxDate(){return this._maxDate}set maxDate(t){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get activeDate(){return this._clampedActiveDate}set activeDate(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(t){const e=this._currentView!==t?t:null;this._currentView=t,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),e&&this.viewChanged.emit(e)}ngAfterContentInit(){this._calendarHeaderPortal=new Jm(this.headerComponent||Qb),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(t){const e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){const t=this._getCurrentViewComponent();t&&(this._changeDetectorRef.detectChanges(),t._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){const t=this.currentView;let e;e="month"===t?this.monthView:"year"===t?this.yearView:this.multiYearView,e._init()}_dateSelected(t){const e=t.value;(this.selected instanceof Fb||e&&!this._dateAdapter.sameDate(e,this.selected))&&this.selectedChange.emit(e),this._userSelection.emit(t)}_yearSelectedInMultiYearView(t){this.yearSelected.emit(t)}_monthSelectedInYearView(t){this.monthSelected.emit(t)}_goToDateInView(t,e){this.activeDate=t,this.currentView=e}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Eb),i.Nb(Eh,8),i.Nb(Ih,8),i.Nb(i.h))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-calendar"]],viewQuery:function(t,e){if(1&t&&(i.Hc(Ub,!0),i.Hc(Kb,!0),i.Hc(qb,!0)),2&t){let t;i.qc(t=i.cc())&&(e.monthView=t.first),i.qc(t=i.cc())&&(e.yearView=t.first),i.qc(t=i.cc())&&(e.multiYearView=t.first)}},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[i.Bb([Vb]),i.Ab],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(t,e){1&t&&(i.Ac(0,Cb,0,0,"ng-template",0),i.Tb(1,"div",1),i.Ac(2,kb,1,8,"mat-month-view",2),i.Ac(3,Tb,1,6,"mat-year-view",3),i.Ac(4,Mb,1,6,"mat-multi-year-view",4),i.Sb()),2&t&&(i.lc("cdkPortalOutlet",e._calendarHeaderPortal),i.Cb(1),i.lc("ngSwitch",e.currentView),i.Cb(1),i.lc("ngSwitchCase","month"),i.Cb(1),i.lc("ngSwitchCase","year"),i.Cb(1),i.lc("ngSwitchCase","multi-year"))},directives:[np,hh,yt,vt,Ub,Kb,qb],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}),t})();const tg={transformPanel:ge("transformPanel",[we("void",ve({opacity:0,transform:"scale(1, 0.8)"})),Se("void => enter",_e("120ms cubic-bezier(0, 0, 0.2, 1)",ve({opacity:1,transform:"scale(1, 1)"}))),Se("* => void",_e("100ms linear",ve({opacity:0})))]),fadeInCalendar:ge("fadeInCalendar",[we("void",ve({opacity:0})),we("enter",ve({opacity:1})),Se("void => *",_e("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let eg=0;const ng=new i.s("mat-datepicker-scroll-strategy"),ig={provide:ng,deps:[Ep],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class rg{constructor(t){this._elementRef=t}}const sg=Mh(rg);let ag=(()=>{class t extends sg{constructor(t,e,n,i,r,s){super(t),this._changeDetectorRef=e,this._model=n,this._dateAdapter=i,this._rangeSelectionStrategy=r,this._subscriptions=new jd.a,this._animationState="enter",this._animationDone=new Ia.a,this._closeButtonText=(null==s?void 0:s.closeCalendarLabel)||"Close calendar"}ngAfterViewInit(){this._subscriptions.add(this.datepicker._stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}ngOnDestroy(){this._subscriptions.unsubscribe(),this._animationDone.complete()}_handleUserSelection(t){const e=this._model.selection,n=t.value,i=e instanceof Fb;if(i&&this._rangeSelectionStrategy){const i=this._rangeSelectionStrategy.selectionFinished(n,e,t.event);this._model.updateSelection(i,this)}else!n||!i&&this._dateAdapter.sameDate(n,e)||this._model.add(n);this._model&&!this._model.isComplete()||this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_getSelected(){return this._model.selection}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.h),i.Nb(Bb),i.Nb(Eh),i.Nb(zb,8),i.Nb(Eb))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(t,e){if(1&t&&i.Hc(Zb,!0),2&t){let t;i.qc(t=i.cc())&&(e._calendar=t.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(t,e){1&t&&i.yc("@transformPanel.done",function(){return e._animationDone.next()}),2&t&&(i.zc("@transformPanel",e._animationState),i.Fb("mat-datepicker-content-touch",e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[i.zb],decls:4,vars:16,consts:[["cdkTrapFocus",""],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],["type","button","mat-raised-button","","color","primary",1,"mat-datepicker-close-button",3,"focus","blur","click"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"mat-calendar",1),i.bc("yearSelected",function(t){return e.datepicker._selectYear(t)})("monthSelected",function(t){return e.datepicker._selectMonth(t)})("viewChanged",function(t){return e.datepicker._viewChanged(t)})("_userSelection",function(t){return e._handleUserSelection(t)}),i.Sb(),i.Tb(2,"button",2),i.bc("focus",function(){return e._closeButtonFocused=!0})("blur",function(){return e._closeButtonFocused=!1})("click",function(){return e.datepicker.close()}),i.Bc(3),i.Sb(),i.Sb()),2&t&&(i.Cb(1),i.lc("id",e.datepicker.id)("ngClass",e.datepicker.panelClass)("startAt",e.datepicker.startAt)("startView",e.datepicker.startView)("minDate",e.datepicker._getMinDate())("maxDate",e.datepicker._getMaxDate())("dateFilter",e.datepicker._getDateFilter())("headerComponent",e.datepicker.calendarHeaderComponent)("selected",e._getSelected())("dateClass",e.datepicker.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("@fadeInCalendar","enter"),i.Cb(1),i.Fb("cdk-visually-hidden",!e._closeButtonFocused),i.Cb(1),i.Cc(e._closeButtonText))},directives:[nh,Zb,dt,wf],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.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:[tg.transformPanel,tg.fadeInCalendar]},changeDetection:0}),t})(),og=(()=>{class t{constructor(t,e,n,r,s,a,o,l,c){this._dialog=t,this._overlay=e,this._ngZone=n,this._viewContainerRef=r,this._dateAdapter=a,this._dir=o,this._document=l,this._model=c,this._inputStateChanges=jd.a.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this.yearSelected=new i.o,this.monthSelected=new i.o,this.viewChanged=new i.o(!0),this.openedStream=new i.o,this.closedStream=new i.o,this._opened=!1,this.id="mat-datepicker-"+eg++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=this.id+"-backdrop",this._stateChanges=new Ia.a,this._scrollStrategy=s}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.getStartValue():null)}set startAt(t){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t))}get color(){return this._color||(this._datepickerInput?this._datepickerInput.getThemePalette():void 0)}set color(t){this._color=t}get touchUi(){return this._touchUi}set touchUi(t){this._touchUi=qc(t)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(t){const e=qc(t);e!==this._disabled&&(this._disabled=e,this._stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(t){this._panelClass=function(t,e=/\s+/){const n=[];if(null!=t){const i=Array.isArray(t)?t:(""+t).split(e);for(const t of i){const e=(""+t).trim();e&&n.push(e)}}return n}(t)}get opened(){return this._opened}set opened(t){qc(t)?this.open():this.close()}_getMinDate(){return this._datepickerInput&&this._datepickerInput.min}_getMaxDate(){return this._datepickerInput&&this._datepickerInput.max}_getDateFilter(){return this._datepickerInput&&this._datepickerInput.dateFilter}ngOnChanges(t){const e=t.xPosition||t.yPosition;e&&!e.firstChange&&this._popupRef&&(this._setConnectedPositions(this._popupRef.getConfig().positionStrategy),this.opened&&this._popupRef.updatePosition()),this._stateChanges.next(void 0)}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputStateChanges.unsubscribe(),this._stateChanges.complete()}select(t){this._model.add(t)}_selectYear(t){this.yearSelected.emit(t)}_selectMonth(t){this.monthSelected.emit(t)}_viewChanged(t){this.viewChanged.emit(t)}_registerInput(t){return this._inputStateChanges.unsubscribe(),this._datepickerInput=t,this._inputStateChanges=t.stateChanges.subscribe(()=>this._stateChanges.next(void 0)),this._model}open(){this._opened||this.disabled||(this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const t=this._popupComponentRef.instance;t._startExitAnimation(),t._animationDone.pipe(za(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const t=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(t)):t()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(ag,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,backdropClass:["cdk-overlay-dark-backdrop",this._backdropHarnessClass],width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!0,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._forwardContentValues(this._dialogRef.componentInstance)}_openAsPopup(){const t=new Jm(ag,this._viewContainerRef);this._destroyPopup(),this._createPopup(),this._popupComponentRef=this._popupRef.attach(t),this._forwardContentValues(this._popupComponentRef.instance),this._ngZone.onStable.pipe(za(1)).subscribe(()=>{this._popupRef.updatePosition()})}_forwardContentValues(t){t.datepicker=this,t.color=this.color}_createPopup(){const t=this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition(),e=new fp({positionStrategy:this._setConnectedPositions(t),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(e),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(ja.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(or(t=>27===t.keyCode&&!zd(t)||this._datepickerInput&&zd(t,"altKey")&&t.keyCode===Bd))).subscribe(t=>{t&&t.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_setConnectedPositions(t){const e="end"===this.xPosition?"end":"start",n="start"===e?"end":"start",i="above"===this.yPosition?"bottom":"top",r="top"===i?"bottom":"top";return t.withPositions([{originX:e,originY:r,overlayX:e,overlayY:i},{originX:e,originY:i,overlayX:e,overlayY:r},{originX:n,originY:r,overlayX:n,overlayY:i},{originX:n,originY:i,overlayX:n,overlayY:r}])}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Zp),i.Nb(Ep),i.Nb(i.B),i.Nb(i.S),i.Nb(ng),i.Nb(Eh,8),i.Nb(yu,8),i.Nb(o,8),i.Nb(Bb))},t.\u0275dir=i.Ib({type:t,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[i.Ab]}),t})(),lg=(()=>{class t extends og{}return t.\u0275fac=function(e){return cg(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[i.Bb([Vb]),i.zb],decls:0,vars:0,template:function(t,e){},encapsulation:2,changeDetection:0}),t})();const cg=i.Vb(lg);class ug{constructor(t,e){this.target=t,this.targetElement=e,this.value=this.target.value}}let dg=(()=>{class t{constructor(t,e,n){this._elementRef=t,this._dateAdapter=e,this._dateFormats=n,this.dateChange=new i.o,this.dateInput=new i.o,this._valueChange=new i.o,this.stateChanges=new Ia.a,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=jd.a.EMPTY,this._localeSubscription=jd.a.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value));return!e||this._matchesFilter(e)?null:{matDatepickerFilter:!0}},this._minValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),n=this._getMinDate();return!n||!e||this._dateAdapter.compareDate(n,e)<=0?null:{matDatepickerMin:{min:n,actual:e}}},this._maxValidator=t=>{const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t.value)),n=this._getMaxDate();return!n||!e||this._dateAdapter.compareDate(n,e)>=0?null:{matDatepickerMax:{max:n,actual:e}}},this._lastValueValid=!1,this._localeSubscription=e.localeChanges.subscribe(()=>{this.value=this.value})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=this._isValidValue(t),t=this._dateAdapter.getValidDateOrNull(t);const e=this.value;this._assignValue(t),this._formatValue(t),this._dateAdapter.sameDate(e,t)||this._valueChange.emit(t)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(t){const e=qc(t),n=this._elementRef.nativeElement;this._disabled!==e&&(this._disabled=e,this.stateChanges.next(void 0)),e&&this._isInitialized&&n.blur&&n.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(t){this._model=t,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(t=>{if(t.source!==this){const e=this._getValueFromModel(t.selection);this._lastValueValid=this._isValidValue(e),this._cvaOnChange(e),this._onTouched(),this._formatValue(e),this._canEmitChangeEvent(t)&&(this.dateInput.emit(new ug(this,this._elementRef.nativeElement)),this.dateChange.emit(new ug(this,this._elementRef.nativeElement))),this._outsideValueChanged&&this._outsideValueChanged()}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(t){(function(t,e){const n=Object.keys(t);for(let i of n){const{previousValue:n,currentValue:r}=t[i];if(!e.isDateInstance(n)||!e.isDateInstance(r))return!0;if(!e.sameDate(n,r))return!0}return!1})(t,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this.stateChanges.complete()}registerOnValidatorChange(t){this._validatorOnChange=t}validate(t){return this._validator?this._validator(t):null}writeValue(t){this.value=t}registerOnChange(t){this._cvaOnChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_onKeydown(t){t.altKey&&t.keyCode===Vd&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),t.preventDefault())}_onInput(t){const e=this._lastValueValid;let n=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(n),n=this._dateAdapter.getValidDateOrNull(n),this._dateAdapter.sameDate(n,this.value)?(t&&!this.value&&this._cvaOnChange(n),e!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(n),this._cvaOnChange(n),this._valueChange.emit(n),this.dateInput.emit(new ug(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new ug(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(t){this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):""}_assignValue(t){this._model?(this._assignValueToModel(t),this._pendingValue=null):this._pendingValue=t}_isValidValue(t){return!t||this._dateAdapter.isValid(t)}_parentDisabled(){return!1}_matchesFilter(t){const e=this._getDateFilter();return!e||e(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(Eh,8),i.Nb(Ih,8))},t.\u0275dir=i.Ib({type:t,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[i.Ab]}),t})();const hg={provide:$r,useExisting:Object(i.W)(()=>mg),multi:!0},fg={provide:ns,useExisting:Object(i.W)(()=>mg),multi:!0};let mg=(()=>{class t extends dg{constructor(t,e,n,i){super(t,e,n),this._formField=i,this._validator=ss.compose(super._getValidators())}set matDatepicker(t){t&&(this._datepicker=t,this._registerModel(t._registerInput(this)))}get min(){return this._min}set min(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._min)||(this._min=e,this._validatorOnChange())}get max(){return this._max}set max(t){const e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(t));this._dateAdapter.sameDate(e,this._max)||(this._max=e,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(t){const e=this._matchesFilter(this.value);this._dateFilter=t,this._matchesFilter(this.value)!==e&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(t){return t}_assignValueToModel(t){this._model&&this._model.updateSelection(t,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_canEmitChangeEvent(){return!0}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(Eh,8),i.Nb(Ih,8),i.Nb(Dm,8))},t.\u0275dir=i.Ib({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(t,e){1&t&&i.bc("input",function(t){return e._onInput(t.target.value)})("change",function(){return e._onChange()})("blur",function(){return e._onBlur()})("keydown",function(t){return e._onKeydown(t)}),2&t&&(i.Wb("disabled",e.disabled),i.Db("aria-haspopup",e._datepicker?"dialog":null)("aria-owns",(null==e._datepicker?null:e._datepicker.opened)&&e._datepicker.id||null)("min",e.min?e._dateAdapter.toIso8601(e.min):null)("max",e.max?e._dateAdapter.toIso8601(e.max):null)("data-mat-calendar",e._datepicker?e._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[i.Bb([hg,fg,{provide:ub,useExisting:t}]),i.zb]}),t})(),pg=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","matDatepickerToggleIcon",""]]}),t})(),bg=(()=>{class t{constructor(t,e,n){this._intl=t,this._changeDetectorRef=e,this._stateChanges=jd.a.EMPTY;const i=Number(n);this.tabIndex=i||0===i?i:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(t){this._disabled=qc(t)}ngOnChanges(t){t.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())}_watchStateChanges(){const t=this.datepicker?this.datepicker._stateChanges:Object(nr.a)(),e=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput.stateChanges:Object(nr.a)(),n=this.datepicker?Object(ja.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(nr.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(ja.a)(this._intl.changes,t,e,n).subscribe(()=>this._changeDetectorRef.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Eb),i.Nb(i.h),i.Yb("tabindex"))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(t,e,n){if(1&t&&i.Gb(n,pg,!0),2&t){let t;i.qc(t=i.cc())&&(e._customIcon=t.first)}},viewQuery:function(t,e){if(1&t&&i.Hc(Db,!0),2&t){let t;i.qc(t=i.cc())&&(e._button=t.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(t,e){1&t&&i.bc("focus",function(){return e._button.focus()}),2&t&&(i.Db("tabindex",e.disabled?null:-1)("data-mat-calendar",e.datepicker?e.datepicker.id:null),i.Fb("mat-datepicker-toggle-active",e.datepicker&&e.datepicker.opened)("mat-accent",e.datepicker&&"accent"===e.datepicker.color)("mat-warn",e.datepicker&&"warn"===e.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[i.Ab],ngContentSelectors:Ab,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(t,e){1&t&&(i.kc(Ob),i.Tb(0,"button",0,1),i.bc("click",function(t){return e._open(t)}),i.Ac(2,Lb,2,0,"svg",2),i.jc(3),i.Sb()),2&t&&(i.lc("disabled",e.disabled)("disableRipple",e.disableRipple),i.Db("aria-haspopup",e.datepicker?"dialog":null)("aria-label",e._intl.openCalendarLabel)("tabindex",e.disabled?-1:e.tabIndex),i.Cb(2),i.lc("ngIf",!e._customIcon))},directives:[wf,pt],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}),t})(),gg=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[Eb,ig],imports:[[Et,Sf,ab,Pp,gh,ip,kh],$m]}),t})(),_g=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(t){this._vertical=qc(t)}get inset(){return this._inset}set inset(t){this._inset=qc(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(t,e){2&t&&(i.Db("aria-orientation",e.vertical?"vertical":"horizontal"),i.Fb("mat-divider-vertical",e.vertical)("mat-divider-horizontal",!e.vertical)("mat-divider-inset",e.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(t,e){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\n"],encapsulation:2,changeDetection:0}),t})(),yg=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[kh],kh]}),t})();function vg(t){return function(e){const n=new wg(t),i=e.lift(n);return n.caught=i}}class wg{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Sg(t,this.selector,this.caught))}}class Sg extends Na.b{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const i=new Na.a(this);this.add(i);const r=Object(Na.c)(n,i);r!==i&&this.add(r)}}}function xg(t){return e=>e.lift(new Cg(t))}class Cg{constructor(t){this.callback=t}call(t,e){return e.subscribe(new kg(t,this.callback))}}class kg extends ar.a{constructor(t,e){super(t),this.add(new jd.a(e))}}var Tg=n("w1tV");const Mg=["*"];function Dg(t){return Error(`Unable to find icon with the name "${t}"`)}function Lg(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function Og(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Ag{constructor(t,e,n){this.url=t,this.svgText=e,this.options=n}}let Eg=(()=>{class t{constructor(t,e,n,i){this._httpClient=t,this._sanitizer=e,this._errorHandler=i,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=n}addSvgIcon(t,e,n){return this.addSvgIconInNamespace("",t,e,n)}addSvgIconLiteral(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)}addSvgIconInNamespace(t,e,n,i){return this._addSvgIconConfig(t,e,new Ag(n,null,i))}addSvgIconLiteralInNamespace(t,e,n,r){const s=this._sanitizer.sanitize(i.K.HTML,n);if(!s)throw Og(n);return this._addSvgIconConfig(t,e,new Ag("",s,r))}addSvgIconSet(t,e){return this.addSvgIconSetInNamespace("",t,e)}addSvgIconSetLiteral(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)}addSvgIconSetInNamespace(t,e,n){return this._addSvgIconSetConfig(t,new Ag(e,null,n))}addSvgIconSetLiteralInNamespace(t,e,n){const r=this._sanitizer.sanitize(i.K.HTML,e);if(!r)throw Og(e);return this._addSvgIconSetConfig(t,new Ag("",r,n))}registerFontClassAlias(t,e=t){return this._fontCssClassesByAlias.set(t,e),this}classNameForFontAlias(t){return this._fontCssClassesByAlias.get(t)||t}setDefaultFontSetClass(t){return this._defaultFontSetClass=t,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(t){const e=this._sanitizer.sanitize(i.K.RESOURCE_URL,t);if(!e)throw Lg(t);const n=this._cachedIconsByUrl.get(e);return n?Object(nr.a)(Ig(n)):this._loadSvgIconFromConfig(new Ag(t,null)).pipe(Object(qa.a)(t=>this._cachedIconsByUrl.set(e,t)),Object(ur.a)(t=>Ig(t)))}getNamedSvgIcon(t,e=""){const n=Rg(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);const r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):Object(Ta.a)(Dg(n))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(t){return t.svgText?Object(nr.a)(Ig(this._svgElementFromConfig(t))):this._loadSvgIconFromConfig(t).pipe(Object(ur.a)(t=>Ig(t)))}_getSvgFromIconSetConfigs(t,e){const n=this._extractIconWithNameFromAnySet(t,e);return n?Object(nr.a)(n):qr(e.filter(t=>!t.svgText).map(t=>this._loadSvgIconSetFromConfig(t).pipe(vg(e=>{const n=this._sanitizer.sanitize(i.K.RESOURCE_URL,t.url);return this._errorHandler.handleError(new Error(`Loading icon set URL: ${n} failed: ${e.message}`)),Object(nr.a)(null)})))).pipe(Object(ur.a)(()=>{const n=this._extractIconWithNameFromAnySet(t,e);if(!n)throw Dg(t);return n}))}_extractIconWithNameFromAnySet(t,e){for(let n=e.length-1;n>=0;n--){const i=e[n];if(i.svgText&&i.svgText.indexOf(t)>-1){const e=this._svgElementFromConfig(i),n=this._extractSvgIconFromSet(e,t,i.options);if(n)return n}}return null}_loadSvgIconFromConfig(t){return this._fetchIcon(t).pipe(Object(qa.a)(e=>t.svgText=e),Object(ur.a)(()=>this._svgElementFromConfig(t)))}_loadSvgIconSetFromConfig(t){return t.svgText?Object(nr.a)(null):this._fetchIcon(t).pipe(Object(qa.a)(e=>t.svgText=e))}_extractSvgIconFromSet(t,e,n){const i=t.querySelector(`[id="${e}"]`);if(!i)return null;const r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);const s=this._svgElementFromString("");return s.appendChild(r),this._setSvgAttributes(s,n)}_svgElementFromString(t){const e=this._document.createElement("DIV");e.innerHTML=t;const n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n}_toSvgElement(t){const e=this._svgElementFromString(""),n=t.attributes;for(let i=0;ithis._inProgressUrlFetches.delete(a)),Object(Tg.a)());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(t,e,n){return this._svgIconConfigs.set(Rg(t,e),n),this}_addSvgIconSetConfig(t,e){const n=this._iconSetConfigs.get(t);return n?n.push(e):this._iconSetConfigs.set(t,[e]),this}_svgElementFromConfig(t){if(!t.svgElement){const e=this._svgElementFromString(t.svgText);this._setSvgAttributes(e,t.options),t.svgElement=e}return t.svgElement}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Mr,8),i.Xb(ce),i.Xb(o,8),i.Xb(i.n))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Mr,8),Object(i.Xb)(ce),Object(i.Xb)(o,8),Object(i.Xb)(i.n))},token:t,providedIn:"root"}),t})();function Ig(t){return t.cloneNode(!0)}function Rg(t,e){return t+":"+e}class Yg{constructor(t){this._elementRef=t}}const jg=Mh(Yg),Ng=new i.s("mat-icon-location",{providedIn:"root",factory:function(){const t=Object(i.X)(o),e=t?t.location:null;return{getPathname:()=>e?e.pathname+e.search:""}}}),Pg=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Fg=Pg.map(t=>`[${t}]`).join(", "),Bg=/^url\(['"]?#(.*?)['"]?\)$/;let Hg=(()=>{class t extends jg{constructor(t,e,n,i,r){super(t),this._iconRegistry=e,this._location=i,this._errorHandler=r,this._inline=!1,this._currentIconFetch=jd.a.EMPTY,n||t.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(t){this._inline=qc(t)}get svgIcon(){return this._svgIcon}set svgIcon(t){t!==this._svgIcon&&(t?this._updateSvgIcon(t):this._svgIcon&&this._clearSvgElement(),this._svgIcon=t)}get fontSet(){return this._fontSet}set fontSet(t){const e=this._cleanupFontValue(t);e!==this._fontSet&&(this._fontSet=e,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(t){const e=this._cleanupFontValue(t);e!==this._fontIcon&&(this._fontIcon=e,this._updateFontIconClasses())}_splitIconName(t){if(!t)return["",""];const e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error(`Invalid icon name: "${t}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const t=this._elementsWithExternalReferences;if(t&&t.size){const t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(t){this._clearSvgElement();const e=t.querySelectorAll("style");for(let i=0;i{e.forEach(e=>{n.setAttribute(e.name,`url('${t}#${e.value}')`)})})}_cacheChildrenWithExternalReferences(t){const e=t.querySelectorAll(Fg),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i{const r=e[i],s=r.getAttribute(t),a=s?s.match(Bg):null;if(a){let e=n.get(r);e||(e=[],n.set(r,e)),e.push({name:t,value:a[1]})}})}_updateSvgIcon(t){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),t){const[e,n]=this._splitIconName(t);e&&(this._svgNamespace=e),n&&(this._svgName=n),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(n,e).pipe(za(1)).subscribe(t=>this._setSvgElement(t),t=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${e}:${n}! ${t.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(Eg),i.Yb("aria-hidden"),i.Nb(Ng),i.Nb(i.n))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(t,e){2&t&&(i.Db("data-mat-icon-type",e._usingFontIcon()?"font":"svg")("data-mat-icon-name",e._svgName||e.fontIcon)("data-mat-icon-namespace",e._svgNamespace||e.fontSet),i.Fb("mat-icon-inline",e.inline)("mat-icon-no-color","primary"!==e.color&&"accent"!==e.color&&"warn"!==e.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[i.zb],ngContentSelectors:Mg,decls:1,vars:0,template:function(t,e){1&t&&(i.kc(),i.jc(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}),t})(),Vg=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[kh],kh]}),t})();const zg=["mat-menu-item",""],Ug=["*"];function Wg(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",0),i.bc("keydown",function(e){return i.sc(t),i.fc()._handleKeydown(e)})("click",function(){return i.sc(t),i.fc().closed.emit("click")})("@transformMenu.start",function(e){return i.sc(t),i.fc()._onAnimationStart(e)})("@transformMenu.done",function(e){return i.sc(t),i.fc()._onAnimationDone(e)}),i.Tb(1,"div",1),i.jc(2),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.lc("id",t.panelId)("ngClass",t._classList)("@transformMenu",t._panelAnimationState),i.Db("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby||null)("aria-describedby",t.ariaDescribedby||null)}}const qg={transformMenu:ge("transformMenu",[we("void",ve({opacity:0,transform:"scale(0.8)"})),Se("void => enter",_e("120ms cubic-bezier(0, 0, 0.2, 1)",ve({opacity:1,transform:"scale(1)"}))),Se("* => void",_e("100ms 25ms linear",ve({opacity:0})))]),fadeInItems:ge("fadeInItems",[we("showing",ve({opacity:1})),Se("void => *",[ve({opacity:0}),_e("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Gg=new i.s("MatMenuContent"),$g=new i.s("MAT_MENU_PANEL");class Xg{}const Kg=Dh(Th(Xg));let Jg=(()=>{class t extends Kg{constructor(t,e,n,i){super(),this._elementRef=t,this._focusMonitor=n,this._parentMenu=i,this.role="menuitem",this._hovered=new Ia.a,this._focused=new Ia.a,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.addItem&&i.addItem(this)}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var t,e;const n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons");for(let r=0;r{class t{constructor(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new i.F,this._tabSubscription=jd.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new Ia.a,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new i.o,this.close=this.closed,this.panelId="mat-menu-panel-"+Zg++}get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(t){this._overlapTrigger=qc(t)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(t){this._hasBackdrop=qc(t)}set panelClass(t){const e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach(t=>{this._classList[t]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(t=>{this._classList[t]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(t){this.panelClass=t}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Kd(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(vh(this._directDescendantItems),Pa(t=>Object(ja.a)(...t.map(t=>t._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(vh(this._directDescendantItems),Pa(t=>Object(ja.a)(...t.map(t=>t._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){const e=t.keyCode,n=this._keyManager;switch(e){case 27:zd(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case Fd:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case Hd:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:e!==Bd&&e!==Vd||n.setFocusOrigin("keyboard"),n.onKeydown(t)}}focusFirstItem(t="program"){this.lazyContent?this._ngZone.onStable.pipe(za(1)).subscribe(()=>this._focusFirstItem(t)):this._focusFirstItem(t)}_focusFirstItem(t){const e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length){let t=this._directDescendantItems.first._getHostElement().parentElement;for(;t;){if("menu"===t.getAttribute("role")){t.focus();break}t=t.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){const e="mat-elevation-z"+Math.min(4+t,24),n=Object.keys(this._classList).find(t=>t.startsWith("mat-elevation-z"));n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)}setPositionClasses(t=this.xPosition,e=this.yPosition){const n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(vh(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(t=>t._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.B),i.Nb(Qg))},t.\u0275dir=i.Ib({type:t,contentQueries:function(t,e,n){if(1&t&&(i.Gb(n,Gg,!0),i.Gb(n,Jg,!0),i.Gb(n,Jg,!1)),2&t){let t;i.qc(t=i.cc())&&(e.lazyContent=t.first),i.qc(t=i.cc())&&(e._allItems=t),i.qc(t=i.cc())&&(e.items=t)}},viewQuery:function(t,e){if(1&t&&i.Hc(i.N,!0),2&t){let t;i.qc(t=i.cc())&&(e.templateRef=t.first)}},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t})(),e_=(()=>{class t extends t_{constructor(t,e,n){super(t,e,n)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(i.B),i.Nb(Qg))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,e){2&t&&i.Db("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[i.Bb([{provide:$g,useExisting:t}]),i.zb],ngContentSelectors:Ug,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(i.kc(),i.Ac(0,Wg,3,6,"ng-template"))},directives:[dt],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-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;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}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[qg.transformMenu,qg.fadeInItems]},changeDetection:0}),t})();const n_=new i.s("mat-menu-scroll-strategy"),i_={provide:n_,deps:[Ep],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},r_=Rd({passive:!0});let s_=(()=>{class t{constructor(t,e,n,r,s,a,o,l){this._overlay=t,this._element=e,this._viewContainerRef=n,this._menuItemInstance=a,this._dir=o,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=jd.a.EMPTY,this._hoverSubscription=jd.a.EMPTY,this._menuCloseSubscription=jd.a.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new i.o,this.onMenuOpen=this.menuOpened,this.menuClosed=new i.o,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=s instanceof t_?s:void 0,e.nativeElement.addEventListener("touchstart",this._handleTouchStart,r_),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._menuCloseSubscription=t.close.subscribe(t=>{this._destroyMenu(),"click"!==t&&"tab"!==t||!this._parentMaterialMenu||this._parentMaterialMenu.closed.emit(t)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,r_),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const t=this._createOverlay(),e=t.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof t_&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(t="program",e){this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const t=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),t instanceof t_?(t._resetAnimation(),t.lazyContent?t._animationDone.pipe(or(t=>"void"===t.toState),za(1),ec(t.lazyContent._attached)).subscribe({next:()=>t.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),t.lazyContent&&t.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let t=0,e=this.menu.parentMenu;for(;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new fp({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t){this.menu.setPositionClasses&&t.positionChanges.subscribe(t=>{this.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")})}_setPosition(t){let[e,n]="before"===this.menu.xPosition?["end","start"]:["start","end"],[i,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[s,a]=[i,r],[o,l]=[e,n],c=0;this.triggersSubmenu()?(l=e="before"===this.menu.xPosition?"start":"end",n=o="end"===e?"start":"end",c="bottom"===i?8:-8):this.menu.overlapTrigger||(s="top"===i?"bottom":"top",a="top"===r?"bottom":"top"),t.withPositions([{originX:e,originY:s,overlayX:o,overlayY:i,offsetY:c},{originX:n,originY:s,overlayX:l,overlayY:i,offsetY:c},{originX:e,originY:a,overlayX:o,overlayY:r,offsetY:-c},{originX:n,originY:a,overlayX:l,overlayY:r,offsetY:-c}])}_menuClosingActions(){const t=this._overlayRef.backdropClick(),e=this._overlayRef.detachments(),n=this._parentMaterialMenu?this._parentMaterialMenu.closed:Object(nr.a)(),i=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(or(t=>t!==this._menuItemInstance),or(()=>this._menuOpen)):Object(nr.a)();return Object(ja.a)(t,n,i,e)}_handleMousedown(t){oh(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){const e=t.keyCode;this.triggersSubmenu()&&(e===Hd&&"ltr"===this.dir||e===Fd&&"rtl"===this.dir)&&this.openMenu()}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(or(t=>t===this._menuItemInstance&&!t.disabled),Xa(0,Kl.b)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof t_&&this.menu._isAnimating?this.menu._animationDone.pipe(za(1),Xa(0,Kl.b),ec(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new Qm(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Ep),i.Nb(i.l),i.Nb(i.S),i.Nb(n_),i.Nb($g,8),i.Nb(Jg,10),i.Nb(yu,8),i.Nb(uh))},t.\u0275dir=i.Ib({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&i.bc("mousedown",function(t){return e._handleMousedown(t)})("keydown",function(t){return e._handleKeydown(t)})("click",function(t){return e._handleClick(t)}),2&t&&i.Db("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t})(),a_=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[i_],imports:[kh]}),t})(),o_=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[i_],imports:[[Et,kh,Zh,Pp,a_],$m,kh,a_]}),t})();function l_(t,e){if(1&t&&(i.ec(),i.Ob(0,"circle",3)),2&t){const t=i.fc();i.xc("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}function c_(t,e){if(1&t&&(i.ec(),i.Ob(0,"circle",3)),2&t){const t=i.fc();i.xc("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}function u_(t,e){if(1&t&&(i.ec(),i.Ob(0,"circle",3)),2&t){const t=i.fc();i.xc("animation-name","mat-progress-spinner-stroke-rotate-"+t._spinnerAnimationLabel)("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}function d_(t,e){if(1&t&&(i.ec(),i.Ob(0,"circle",3)),2&t){const t=i.fc();i.xc("stroke-dashoffset",t._getStrokeDashOffset(),"px")("stroke-dasharray",t._getStrokeCircumference(),"px")("stroke-width",t._getCircleStrokeWidth(),"%"),i.Db("r",t._getCircleRadius())}}const h_=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n";class f_{constructor(t){this._elementRef=t}}const m_=Mh(f_,"primary"),p_=new i.s("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let b_=(()=>{class t extends m_{constructor(e,n,i,r,s){super(e),this._elementRef=e,this._document=i,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const a=t._diameters;this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),a.has(i.head)||a.set(i.head,new Set([100])),this._fallbackAnimation=n.EDGE||n.TRIDENT,this._noopAnimations="NoopAnimations"===r&&!!s&&!s._forceAnimations,s&&(s.diameter&&(this.diameter=s.diameter),s.strokeWidth&&(this.strokeWidth=s.strokeWidth))}get diameter(){return this._diameter}set diameter(t){this._diameter=Gc(t),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(t){this._strokeWidth=Gc(t)}get value(){return"determinate"===this.mode?this._value:0}set value(t){this._value=Math.max(0,Math.min(100,Gc(t)))}ngOnInit(){const t=this._elementRef.nativeElement;this._styleRoot=Yd(t)||this._document.head,this._attachStyleNode(),t.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}_getCircleRadius(){return(this.diameter-10)/2}_getViewBox(){const t=2*this._getCircleRadius()+this.strokeWidth;return`0 0 ${t} ${t}`}_getStrokeCircumference(){return 2*Math.PI*this._getCircleRadius()}_getStrokeDashOffset(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}_getCircleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const e=this._styleRoot,n=this._diameter,i=t._diameters;let r=i.get(e);if(!r||!r.has(n)){const t=this._document.createElement("style");t.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),t.textContent=this._getAnimationText(),e.appendChild(t),r||(r=new Set,i.set(e,r)),r.add(n)}}_getAnimationText(){const t=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*t).replace(/END_VALUE/g,""+.2*t).replace(/DIAMETER/g,""+this._spinnerAnimationLabel)}_getSpinnerAnimationLabel(){return this.diameter.toString().replace(".","_")}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(Dd),i.Nb(o,8),i.Nb(Zi,8),i.Nb(p_))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(t,e){2&t&&(i.Db("aria-valuemin","determinate"===e.mode?0:null)("aria-valuemax","determinate"===e.mode?100:null)("aria-valuenow","determinate"===e.mode?e.value:null)("mode",e.mode),i.xc("width",e.diameter,"px")("height",e.diameter,"px"),i.Fb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[i.zb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.ec(),i.Tb(0,"svg",0),i.Ac(1,l_,1,9,"circle",1),i.Ac(2,c_,1,7,"circle",2),i.Sb()),2&t&&(i.xc("width",e.diameter,"px")("height",e.diameter,"px"),i.lc("ngSwitch","indeterminate"===e.mode),i.Db("viewBox",e._getViewBox()),i.Cb(1),i.lc("ngSwitchCase",!0),i.Cb(1),i.lc("ngSwitchCase",!1))},directives:[yt,vt],styles:[h_],encapsulation:2,changeDetection:0}),t._diameters=new WeakMap,t})(),g_=(()=>{class t extends b_{constructor(t,e,n,i,r){super(t,e,n,i,r),this.mode="indeterminate"}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(Dd),i.Nb(o,8),i.Nb(Zi,8),i.Nb(p_))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(t,e){2&t&&(i.xc("width",e.diameter,"px")("height",e.diameter,"px"),i.Fb("_mat-animation-noopable",e._noopAnimations))},inputs:{color:"color"},features:[i.zb],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(t,e){1&t&&(i.ec(),i.Tb(0,"svg",0),i.Ac(1,u_,1,9,"circle",1),i.Ac(2,d_,1,7,"circle",2),i.Sb()),2&t&&(i.xc("width",e.diameter,"px")("height",e.diameter,"px"),i.lc("ngSwitch","indeterminate"===e.mode),i.Db("viewBox",e._getViewBox()),i.Cb(1),i.lc("ngSwitchCase",!0),i.Cb(1),i.lc("ngSwitchCase",!1))},directives:[yt,vt],styles:[h_],encapsulation:2,changeDetection:0}),t})(),__=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[kh,Et],kh]}),t})();const y_=["input"],v_=function(){return{enterDuration:150}},w_=["*"],S_=new i.s("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}});let x_=0;const C_={provide:$r,useExisting:Object(i.W)(()=>D_),multi:!0};class k_{constructor(t,e){this.source=t,this.value=e}}const T_=new i.s("MatRadioGroup");let M_=(()=>{class t{constructor(t){this._changeDetector=t,this._value=null,this._name="mat-radio-group-"+x_++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new i.o}get name(){return this._name}set name(t){this._name=t,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(t){this._labelPosition="before"===t?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(t){this._disabled=qc(t),this._markRadiosForCheck()}get required(){return this._required}set required(t){this._required=qc(t),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(t=>{t.name=this.name,t._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(t=>{t.checked=this.value===t.value,t.checked&&(this._selected=t)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new k_(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(t=>t._markForCheck())}writeValue(t){this.value=t,this._changeDetector.markForCheck()}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.h))},t.\u0275dir=i.Ib({type:t,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),t})(),D_=(()=>{class t extends M_{}return t.\u0275fac=function(e){return L_(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-radio-group"]],contentQueries:function(t,e,n){if(1&t&&i.Gb(n,I_,!0),2&t){let t;i.qc(t=i.cc())&&(e._radios=t)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[i.Bb([C_,{provide:T_,useExisting:t}]),i.zb]}),t})();const L_=i.Vb(D_);class O_{constructor(t){this._elementRef=t}}const A_=Dh(Lh(O_));let E_=(()=>{class t extends A_{constructor(t,e,n,r,s,a,o,l){super(e),this._changeDetector=n,this._focusMonitor=r,this._radioDispatcher=s,this._animationMode=a,this._providerOverride=o,this._uniqueId="mat-radio-"+ ++x_,this.id=this._uniqueId,this.change=new i.o,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=t,l&&(this.tabIndex=Gc(l,0)),this._removeUniqueSelectionListener=s.listen((t,e)=>{t!==this.id&&e===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(t){const e=qc(t);this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(t){this._value!==t&&(this._value=t,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===t),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(t){this._labelPosition=t}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(t){this._setDisabled(qc(t))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(t){this._required=qc(t)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(t){this._color=t}get inputId(){return(this.id||this._uniqueId)+"-input"}focus(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{!t&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new k_(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(t){t.stopPropagation()}_onInputChange(t){t.stopPropagation();const e=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),e&&this.radioGroup._emitChangeEvent())}_setDisabled(t){this._disabled!==t&&(this._disabled=t,this._changeDetector.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(M_),i.Nb(i.l),i.Nb(i.h),i.Nb(uh),i.Nb(Kf),i.Nb(String),i.Nb(void 0),i.Nb(String))},t.\u0275dir=i.Ib({type:t,viewQuery:function(t,e){if(1&t&&i.Hc(y_,!0),2&t){let t;i.qc(t=i.cc())&&(e._inputElement=t.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:[i.zb]}),t})(),I_=(()=>{class t extends E_{constructor(t,e,n,i,r,s,a,o){super(t,e,n,i,r,s,a,o)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(T_,8),i.Nb(i.l),i.Nb(i.h),i.Nb(uh),i.Nb(Kf),i.Nb(Zi,8),i.Nb(S_,8),i.Yb("tabindex"))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(t,e){1&t&&i.bc("focus",function(){return e._inputElement.nativeElement.focus()}),2&t&&(i.Db("tabindex",-1)("id",e.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),i.Fb("mat-radio-checked",e.checked)("mat-radio-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)("mat-primary","primary"===e.color)("mat-accent","accent"===e.color)("mat-warn","warn"===e.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[i.zb],ngContentSelectors:w_,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(t,e){if(1&t&&(i.kc(),i.Tb(0,"label",0,1),i.Tb(2,"span",2),i.Ob(3,"span",3),i.Ob(4,"span",4),i.Tb(5,"input",5,6),i.bc("change",function(t){return e._onInputChange(t)})("click",function(t){return e._onInputClick(t)}),i.Sb(),i.Tb(7,"span",7),i.Ob(8,"span",8),i.Sb(),i.Sb(),i.Tb(9,"span",9),i.Tb(10,"span",10),i.Bc(11,"\xa0"),i.Sb(),i.jc(12),i.Sb(),i.Sb()),2&t){const t=i.rc(1);i.Db("for",e.inputId),i.Cb(5),i.lc("id",e.inputId)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex)("required",e.required),i.Db("name",e.name)("value",e.value)("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby)("aria-describedby",e.ariaDescribedby),i.Cb(2),i.lc("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.nc(18,v_)),i.Cb(2),i.Fb("mat-radio-label-before","before"==e.labelPosition)}},directives:[Qh],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;display:block;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;display:block;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}),t})(),R_=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[Zh,kh],kh]}),t})();const Y_=["trigger"],j_=["panel"];function N_(t,e){if(1&t&&(i.Tb(0,"span",8),i.Bc(1),i.Sb()),2&t){const t=i.fc();i.Cb(1),i.Cc(t.placeholder||"\xa0")}}function P_(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.Sb()),2&t){const t=i.fc(2);i.Cb(1),i.Cc(t.triggerValue||"\xa0")}}function F_(t,e){1&t&&i.jc(0,0,["*ngSwitchCase","true"])}function B_(t,e){if(1&t&&(i.Tb(0,"span",9),i.Ac(1,P_,2,1,"span",10),i.Ac(2,F_,1,0,"ng-content",11),i.Sb()),2&t){const t=i.fc();i.lc("ngSwitch",!!t.customTrigger),i.Cb(2),i.lc("ngSwitchCase",!0)}}function H_(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",12),i.Tb(1,"div",13,14),i.bc("@transformPanel.done",function(e){return i.sc(t),i.fc()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return i.sc(t),i.fc()._handleKeydown(e)}),i.jc(3,1),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.lc("@transformPanelWrap",void 0),i.Cb(1),i.Eb("mat-select-panel ",t._getPanelTheme(),""),i.xc("transform-origin",t._transformOrigin)("font-size",t._triggerFontSize,"px"),i.lc("ngClass",t.panelClass)("@transformPanel",t.multiple?"showing-multiple":"showing"),i.Db("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}const V_=[[["mat-select-trigger"]],"*"],z_=["mat-select-trigger","*"],U_={transformPanelWrap:ge("transformPanelWrap",[Se("* => void",Ce("@transformPanel",[xe()],{optional:!0}))]),transformPanel:ge("transformPanel",[we("void",ve({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),we("showing",ve({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),we("showing-multiple",ve({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Se("void => *",_e("120ms cubic-bezier(0, 0, 0.2, 1)")),Se("* => void",_e("100ms 25ms linear",ve({opacity:0})))])};let W_=0;const q_=256,G_=new i.s("mat-select-scroll-strategy"),$_=new i.s("MAT_SELECT_CONFIG"),X_={provide:G_,deps:[Ep],useFactory:function(t){return()=>t.scrollStrategies.reposition()}};class K_{constructor(t,e){this.source=t,this.value=e}}class J_{constructor(t,e,n,i,r){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}const Q_=Dh(Lh(Th(Oh(J_)))),Z_=new i.s("MatSelectTrigger");let ty=(()=>{class t extends Q_{constructor(t,e,n,r,s,a,o,l,c,u,d,h,f,m){var p,b,g;super(s,r,o,l,u),this._viewportRuler=t,this._changeDetectorRef=e,this._ngZone=n,this._dir=a,this._parentFormField=c,this.ngControl=u,this._liveAnnouncer=f,this._defaultOptions=m,this._panelOpen=!1,this._compareWith=(t,e)=>t===e,this._uid="mat-select-"+W_++,this._triggerAriaLabelledBy=null,this._destroy=new Ia.a,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+W_++,this._panelDoneAnimatingStream=new Ia.a,this._overlayPanelClass=(null===(p=this._defaultOptions)||void 0===p?void 0:p.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._required=!1,this._multiple=!1,this._disableOptionCentering=null!==(g=null===(b=this._defaultOptions)||void 0===b?void 0:b.disableOptionCentering)&&void 0!==g&&g,this.ariaLabel="",this.optionSelectionChanges=ka(()=>{const t=this.options;return t?t.changes.pipe(vh(t),Pa(()=>Object(ja.a)(...t.map(t=>t.onSelectionChange)))):this._ngZone.onStable.pipe(za(1),Pa(()=>this.optionSelectionChanges))}),this.openedChange=new i.o,this._openedStream=this.openedChange.pipe(or(t=>t),Object(ur.a)(()=>{})),this._closedStream=this.openedChange.pipe(or(t=>!t),Object(ur.a)(()=>{})),this.selectionChange=new i.o,this.valueChange=new i.o,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==m?void 0:m.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=m.typeaheadDebounceInterval),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(d)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){return this._required}set required(t){this._required=qc(t),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._multiple=qc(t)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(t){this._disableOptionCentering=qc(t)}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){t!==this._value&&(this.options&&this._setSelectionByValue(t),this._value=t)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(t){this._typeaheadDebounceInterval=Gc(t)}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Xf(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Co(),ec(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(ec(this._destroy)).subscribe(t=>{t.added.forEach(t=>t.select()),t.removed.forEach(t=>t.deselect())}),this.options.changes.pipe(vh(null),ec(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const t=this._getTriggerAriaLabelledby();if(t!==this._triggerAriaLabelledBy){const e=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?e.setAttribute("aria-labelledby",t):e.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}ngOnChanges(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(t){this.value=t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const t=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){const e=t.keyCode,n=e===Vd||e===Bd||e===Fd||e===Hd,i=e===Nd||e===Pd,r=this._keyManager;if(!r.isTyping()&&i&&!zd(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){const e=this.selected;r.onKeydown(t);const n=this.selected;n&&e!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(t){const e=this._keyManager,n=t.keyCode,i=n===Vd||n===Bd,r=e.isTyping();if(i&&t.altKey)t.preventDefault(),this.close();else if(r||n!==Nd&&n!==Pd||!e.activeItem||zd(t))if(!r&&this._multiple&&65===n&&t.ctrlKey){t.preventDefault();const e=this.options.some(t=>!t.disabled&&!t.selected);this.options.forEach(t=>{t.disabled||(e?t.select():t.deselect())})}else{const n=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==n&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this.overlayDir.positionChange.pipe(za(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?"mat-"+this._parentFormField.color:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this._selectionModel.selected.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(t=>this._selectValue(t)),this._sortValues();else{const e=this._selectValue(t);e?this._keyManager.updateActiveItem(e):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(t){const e=this.options.find(e=>{try{return null!=e.value&&this._compareWith(e.value,t)}catch(n){return!1}});return e&&this._selectionModel.select(e),e}_initKeyManager(){this._keyManager=new Xd(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(ec(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(ec(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const t=Object(ja.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ec(t)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Object(ja.a)(...this.options.map(t=>t._stateChanges)).pipe(ec(t)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(t,e){const n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const t=this.options.toArray();this._selectionModel.sort((e,n)=>this.sortComparator?this.sortComparator(e,n,t):t.indexOf(e)-t.indexOf(n)),this.stateChanges.next()}}_propagateChanges(t){let e=null;e=this.multiple?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(this._getChangeEvent(e)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var t;return!this._panelOpen&&!this.disabled&&(null===(t=this.options)||void 0===t?void 0:t.length)>0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const t=this._getLabelId();return this.ariaLabelledby?t+" "+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getLabelId(){var t;return(null===(t=this._parentFormField)||void 0===t?void 0:t.getLabelId())||""}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._getLabelId()+" "+this._valueId;return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Gm),i.Nb(i.h),i.Nb(i.B),i.Nb(Uh),i.Nb(i.l),i.Nb(yu,8),i.Nb(da,8),i.Nb(ga,8),i.Nb(Dm,8),i.Nb(ys,10),i.Yb("tabindex"),i.Nb(G_),i.Nb(sh),i.Nb($_,8))},t.\u0275dir=i.Ib({type:t,viewQuery:function(t,e){if(1&t&&(i.Hc(Y_,!0),i.Hc(j_,!0),i.Hc(jp,!0)),2&t){let t;i.qc(t=i.cc())&&(e.trigger=t.first),i.qc(t=i.cc())&&(e.panel=t.first),i.qc(t=i.cc())&&(e.overlayDir=t.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[i.zb,i.Ab]}),t})(),ey=(()=>{class t extends ty{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(t,e,n){const i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(ec(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(za(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}_scrollOptionIntoView(t){const e=mf(t,this.options,this.optionGroups),n=this._getItemHeight();var i,r,s;this.panel.nativeElement.scrollTop=(r=n,(i=(t+e)*n)<(s=this.panel.nativeElement.scrollTop)?i:i+r>s+256?Math.max(0,i-256+r):s)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(t){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(t)}_getChangeEvent(t){return new K_(this,t)}_calculateOverlayOffsetX(){const t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),n=this._isRtl(),i=this.multiple?56:32;let r;if(this.multiple)r=40;else{let t=this._selectionModel.selected[0]||this.options.first;r=t&&t.group?32:16}n||(r*=-1);const s=0-(t.left+r-(n?i:0)),a=t.right+r-e.width+(n?0:i);s>0?r+=s+8:a>0&&(r-=a+8),this.overlayDir.offsetX=Math.round(r),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(t,e,n){const i=this._getItemHeight(),r=(i-this._triggerRect.height)/2,s=Math.floor(q_/i);let a;return this.disableOptionCentering?0:(a=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-s))*i+(i-(this._getItemCount()*i-q_)%i):e-i/2,Math.round(-1*a-r))}_checkOverlayWithinViewport(t){const e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,s=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*e,q_)-s-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):s>i?this._adjustPanelDown(s,i,t):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(t,e){const n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(t,e,n){const i=Math.round(t-e);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")}_calculateOverlayPosition(){const t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,q_),i=e*t-n;let r;r=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),r+=mf(r,this.options,this.optionGroups);const s=n/2;this._scrollTop=this._calculateOverlayScroll(r,s,i),this._offsetY=this._calculateOverlayOffsetY(r,s,i),this._checkOverlayWithinViewport(i)}_getOriginBasedOnOption(){const t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-e+t/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(e){return ny(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){if(1&t&&(i.Gb(n,Z_,!0),i.Gb(n,ff,!0),i.Gb(n,lf,!0)),2&t){let t;i.qc(t=i.cc())&&(e.customTrigger=t.first),i.qc(t=i.cc())&&(e.options=t),i.qc(t=i.cc())&&(e.optionGroups=t)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,e){1&t&&i.bc("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e._onFocus()})("blur",function(){return e._onBlur()}),2&t&&(i.Db("id",e.id)("tabindex",e.tabIndex)("aria-controls",e.panelOpen?e.id+"-panel":null)("aria-expanded",e.panelOpen)("aria-label",e.ariaLabel||null)("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),i.Fb("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty)("mat-select-multiple",e.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[i.Bb([{provide:gm,useExisting:t},{provide:df,useExisting:t}]),i.zb],ngContentSelectors:z_,decls:9,vars:12,consts:[["cdk-overlay-origin","",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,"cdkConnectedOverlayPanelClass","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"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(i.kc(V_),i.Tb(0,"div",0,1),i.bc("click",function(){return e.toggle()}),i.Tb(3,"div",2),i.Ac(4,N_,2,1,"span",3),i.Ac(5,B_,3,2,"span",4),i.Sb(),i.Tb(6,"div",5),i.Ob(7,"div",6),i.Sb(),i.Sb(),i.Ac(8,H_,4,14,"ng-template",7),i.bc("backdropClick",function(){return e.close()})("attach",function(){return e._onAttached()})("detach",function(){return e.close()})),2&t){const t=i.rc(1);i.Db("aria-owns",e.panelOpen?e.id+"-panel":null),i.Cb(3),i.lc("ngSwitch",e.empty),i.Db("id",e._valueId),i.Cb(1),i.lc("ngSwitchCase",!0),i.Cb(1),i.lc("ngSwitchCase",!1),i.Cb(3),i.lc("cdkConnectedOverlayPanelClass",e._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",t)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[Yp,yt,vt,jp,wt,dt],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;outline:0}.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:[U_.transformPanelWrap,U_.transformPanel]},changeDetection:0}),t})();const ny=i.Vb(ey);let iy=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[X_],imports:[[Et,Pp,pf,kh],$m,Om,pf,kh]}),t})();const ry=["thumbContainer"],sy=["toggleBar"],ay=["input"],oy=function(){return{enterDuration:150}},ly=["*"],cy=new i.s("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let uy=0;const dy={provide:$r,useExisting:Object(i.W)(()=>py),multi:!0};class hy{constructor(t,e){this.source=t,this.checked=e}}class fy{constructor(t){this._elementRef=t}}const my=Lh(Mh(Dh(Th(fy)),"accent"));let py=(()=>{class t extends my{constructor(t,e,n,r,s,a){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this.defaults=s,this._animationMode=a,this._onChange=t=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++uy,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new i.o,this.toggleChange=new i.o,this.tabIndex=parseInt(r)||0}get required(){return this._required}set required(t){this._required=qc(t)}get checked(){return this._checked}set checked(t){this._checked=qc(t),this._changeDetectorRef.markForCheck()}get inputId(){return(this.id||this._uniqueId)+"-input"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{"keyboard"===t||"program"===t?this._inputElement.nativeElement.focus():t||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(t){t.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(t){t.stopPropagation()}writeValue(t){this.checked=!!t}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck()}focus(t){this._focusMonitor.focusVia(this._inputElement,"keyboard",t)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new hy(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(uh),i.Nb(i.h),i.Yb("tabindex"),i.Nb(cy),i.Nb(Zi,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(t,e){if(1&t&&(i.Hc(ry,!0),i.Hc(sy,!0),i.Hc(ay,!0)),2&t){let t;i.qc(t=i.cc())&&(e._thumbEl=t.first),i.qc(t=i.cc())&&(e._thumbBarEl=t.first),i.qc(t=i.cc())&&(e._inputElement=t.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(t,e){2&t&&(i.Wb("id",e.id),i.Db("tabindex",e.disabled?null:-1)("aria-label",null)("aria-labelledby",null),i.Fb("mat-checked",e.checked)("mat-disabled",e.disabled)("mat-slide-toggle-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[i.Bb([dy]),i.zb],ngContentSelectors:ly,decls:16,vars:18,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(t,e){if(1&t&&(i.kc(),i.Tb(0,"label",0,1),i.Tb(2,"div",2,3),i.Tb(4,"input",4,5),i.bc("change",function(t){return e._onChangeEvent(t)})("click",function(t){return e._onInputClick(t)}),i.Sb(),i.Tb(6,"div",6,7),i.Ob(8,"div",8),i.Tb(9,"div",9),i.Ob(10,"div",10),i.Sb(),i.Sb(),i.Sb(),i.Tb(11,"span",11,12),i.bc("cdkObserveContent",function(){return e._onLabelTextChange()}),i.Tb(13,"span",13),i.Bc(14,"\xa0"),i.Sb(),i.jc(15),i.Sb(),i.Sb()),2&t){const t=i.rc(1),n=i.rc(12);i.Db("for",e.inputId),i.Cb(2),i.Fb("mat-slide-toggle-bar-no-side-margin",!n.textContent||!n.textContent.trim()),i.Cb(2),i.lc("id",e.inputId)("required",e.required)("tabIndex",e.tabIndex)("checked",e.checked)("disabled",e.disabled),i.Db("name",e.name)("aria-checked",e.checked.toString())("aria-label",e.ariaLabel)("aria-labelledby",e.ariaLabelledby),i.Cb(5),i.lc("matRippleTrigger",t)("matRippleDisabled",e.disableRipple||e.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",i.nc(17,oy))}},directives:[Qh,qd],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),t})(),by=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)}}),t})(),gy=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[by,Zh,kh,Gd],by,kh]}),t})();var _y=n("yCtX");const yy={};function vy(...t){let e=void 0,n=void 0;return Object(yh.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(zr.a)(t[0])&&(t=t[0]),Object(_y.a)(t,n).lift(new wy(e))}class wy{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new Sy(t,this.resultSelector))}}class Sy extends po{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(yy),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;nthis.total&&this.destination.next(t)}}const ky=new Set;let Ty,My=(()=>{class t{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Dy}matchMedia(t){return this._platform.WEBKIT&&function(t){if(!ky.has(t))try{Ty||(Ty=document.createElement("style"),Ty.setAttribute("type","text/css"),document.head.appendChild(Ty)),Ty.sheet&&(Ty.sheet.insertRule(`@media ${t} {.fx-query-test{ }}`,0),ky.add(t))}catch(UB){console.error(UB)}}(t),this._matchMedia(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Dd))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Dd))},token:t,providedIn:"root"}),t})();function Dy(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Ly=(()=>{class t{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new Ia.a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return Oy($c(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){let e=vy(Oy($c(t)).map(t=>this._registerQuery(t).observable));return e=Ea(e.pipe(za(1)),e.pipe(t=>t.lift(new xy(1)),Jl(0))),e.pipe(Object(ur.a)(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:n})=>{e.matches=e.matches||t,e.breakpoints[n]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new ir.a(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(vh(e),Object(ur.a)(({matches:e})=>({query:t,matches:e})),ec(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(My),i.Xb(i.B))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(My),Object(i.Xb)(i.B))},token:t,providedIn:"root"}),t})();function Oy(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}function Ay(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",1),i.Tb(1,"button",2),i.bc("click",function(){return i.sc(t),i.fc().action()}),i.Bc(2),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.Cb(2),i.Cc(t.data.action)}}function Ey(t,e){}const Iy=new i.s("MatSnackBarData");class Ry{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const Yy=Math.pow(2,31)-1;class jy{constructor(t,e){this._overlayRef=e,this._afterDismissed=new Ia.a,this._afterOpened=new Ia.a,this._onAction=new Ia.a,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(()=>this.dismiss()),t._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}closeWithAction(){this.dismissWithAction()}_dismissAfter(t){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(t,Yy))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}let Ny=(()=>{class t{constructor(t,e){this.snackBarRef=t,this.data=e}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(jy),i.Nb(Iy))},t.\u0275cmp=i.Hb({type:t,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(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1),i.Sb(),i.Ac(2,Ay,3,1,"div",0)),2&t&&(i.Cb(1),i.Cc(e.data.message),i.Cb(1),i.lc("ngIf",e.hasAction))},directives:[pt,wf],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}),t})();const Py={snackBarState:ge("state",[we("void, hidden",ve({transform:"scale(0.8)",opacity:0})),we("visible",ve({transform:"scale(1)",opacity:1})),Se("* => visible",_e("150ms cubic-bezier(0, 0, 0.2, 1)")),Se("* => void, * => hidden",_e("75ms cubic-bezier(0.4, 0.0, 1, 1)",ve({opacity:0})))])};let Fy=(()=>{class t extends tp{constructor(t,e,n,i,r){super(),this._ngZone=t,this._elementRef=e,this._changeDetectorRef=n,this._platform=i,this.snackBarConfig=r,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new Ia.a,this._onExit=new Ia.a,this._onEnter=new Ia.a,this._animationState="void",this.attachDomPortal=t=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(t)),this._live="assertive"!==r.politeness||r.announcementMessage?"off"===r.politeness?"off":"polite":"assertive"}attachComponentPortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}attachTemplatePortal(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}onAnimationEnd(t){const{fromState:e,toState:n}=t;if(("void"===n&&"void"!==e||"hidden"===n)&&this._completeExit(),"visible"===n){const t=this._onEnter;this._ngZone.run(()=>{t.next(),t.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe(za(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(e=>t.classList.add(e)):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const t=this._elementRef.nativeElement.querySelector("[aria-hidden]"),e=this._elementRef.nativeElement.querySelector("[aria-live]");if(t&&e){let n=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(n=document.activeElement),t.removeAttribute("aria-hidden"),e.appendChild(t),null==n||n.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.B),i.Nb(i.l),i.Nb(i.h),i.Nb(Dd),i.Nb(Ry))},t.\u0275cmp=i.Hb({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){if(1&t&&i.wc(np,!0),2&t){let t;i.qc(t=i.cc())&&(e._portalOutlet=t.first)}},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,e){1&t&&i.yc("@state.done",function(t){return e.onAnimationEnd(t)}),2&t&&i.zc("@state",e._animationState)},features:[i.zb],decls:3,vars:1,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Ac(1,Ey,0,0,"ng-template",1),i.Sb(),i.Ob(2,"div")),2&t&&(i.Cb(2),i.Db("aria-live",e._live))},directives:[np],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:[Py.snackBarState]}}),t})(),By=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[Pp,ip,Et,Sf,kh],kh]}),t})();const Hy=new i.s("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new Ry}});let Vy=(()=>{class t{constructor(t,e,n,i,r,s){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=i,this._parentSnackBar=r,this._defaultConfig=s,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=Ny,this.snackBarContainerComponent=Fy,this.handsetCssClass="mat-snack-bar-handset"}get _openedSnackBarRef(){const t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){const i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage===t&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){const n=i.t.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Ry,useValue:e}]}),r=new Jm(this.snackBarContainerComponent,e.viewContainerRef,n),s=t.attach(r);return s.instance.snackBarConfig=e,s.instance}_attach(t,e){const n=Object.assign(Object.assign(Object.assign({},new Ry),this._defaultConfig),e),r=this._createOverlay(n),s=this._attachSnackBarContainer(r,n),a=new jy(s,r);if(t instanceof i.N){const e=new Qm(t,null,{$implicit:n.data,snackBarRef:a});a.instance=s.attachTemplatePortal(e)}else{const e=this._createInjector(n,a),i=new Jm(t,void 0,e),r=s.attachComponentPortal(i);a.instance=r.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(ec(r.detachments())).subscribe(t=>{const e=r.overlayElement.classList;t.matches?e.add(this.handsetCssClass):e.remove(this.handsetCssClass)}),n.announcementMessage&&s._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(a,n),this._openedSnackBarRef=a,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration))}_createOverlay(t){const e=new fp;e.direction=t.direction;let n=this._overlay.position().global();const i="rtl"===t.direction,r="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!i||"end"===t.horizontalPosition&&i,s=!r&&"center"!==t.horizontalPosition;return r?n.left("0"):s?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}_createInjector(t,e){return i.t.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:jy,useValue:e},{provide:Iy,useValue:t.data}]})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Ep),i.Xb(sh),i.Xb(i.t),i.Xb(Ly),i.Xb(t,12),i.Xb(Hy))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Ep),Object(i.Xb)(sh),Object(i.Xb)(i.p),Object(i.Xb)(Ly),Object(i.Xb)(t,12),Object(i.Xb)(Hy))},token:t,providedIn:By}),t})();const zy=[[["caption"]],[["colgroup"],["col"]]],Uy=["caption","colgroup, col"];function Wy(t){return class extends t{constructor(...t){super(...t),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(t){const e=this._sticky;this._sticky=qc(t),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const t=this._hasStickyChanged;return this._hasStickyChanged=!1,t}resetStickyChanged(){this._hasStickyChanged=!1}}}const qy=new i.s("CDK_TABLE");let Gy=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.N))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkCellDef",""]]}),t})(),$y=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.N))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),Xy=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.N))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class Ky{}const Jy=Wy(Ky);let Qy=(()=>{class t extends Jy{constructor(t){super(),this._table=t,this._stickyEnd=!1}get name(){return this._name}set name(t){this._setNameInput(t)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){const e=this._stickyEnd;this._stickyEnd=qc(t),this._hasStickyChanged=e!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(qy,8))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,e,n){if(1&t&&(i.Gb(n,Gy,!0),i.Gb(n,$y,!0),i.Gb(n,Xy,!0)),2&t){let t;i.qc(t=i.cc())&&(e.cell=t.first),i.qc(t=i.cc())&&(e.headerCell=t.first),i.qc(t=i.cc())&&(e.footerCell=t.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[i.Bb([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),i.zb]}),t})();class Zy{constructor(t,e){const n=e.nativeElement.classList;for(const i of t._columnCssClassName)n.add(i)}}let tv=(()=>{class t extends Zy{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Qy),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[i.zb]}),t})(),ev=(()=>{class t extends Zy{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Qy),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[i.zb]}),t})();class nv{constructor(){this.tasks=[],this.endTasks=[]}}const iv=new i.s("_COALESCED_STYLE_SCHEDULER");let rv=(()=>{class t{constructor(t){this._ngZone=t,this._currentSchedule=null,this._destroyed=new Ia.a}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new nv,this._getScheduleObservable().pipe(ec(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const t=this._currentSchedule;this._currentSchedule=new nv;for(const e of t.tasks)e();for(const e of t.endTasks)e()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Object(Wr.a)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(za(1))}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.B))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),sv=(()=>{class t{constructor(t,e){this.template=t,this._differs=e}ngOnChanges(t){if(!this._columnsDiffer){const e=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof lv?t.headerCell.template:this instanceof dv?t.footerCell.template:t.cell.template}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.N),i.Nb(i.u))},t.\u0275dir=i.Ib({type:t,features:[i.Ab]}),t})();class av extends sv{}const ov=Wy(av);let lv=(()=>{class t extends ov{constructor(t,e,n){super(t,e),this._table=n}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.N),i.Nb(i.u),i.Nb(qy,8))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[i.zb,i.Ab]}),t})();class cv extends sv{}const uv=Wy(cv);let dv=(()=>{class t extends uv{constructor(t,e,n){super(t,e),this._table=n}ngOnChanges(t){super.ngOnChanges(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.N),i.Nb(i.u),i.Nb(qy,8))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[i.zb,i.Ab]}),t})(),hv=(()=>{class t extends sv{constructor(t,e,n){super(t,e),this._table=n}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.N),i.Nb(i.u),i.Nb(qy,8))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[i.zb]}),t})(),fv=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.S))},t.\u0275dir=i.Ib({type:t,selectors:[["","cdkCellOutlet",""]]}),t.mostRecentCellOutlet=null,t})(),mv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&i.Pb(0,0)},directives:[fv],encapsulation:2}),t})(),pv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&i.Pb(0,0)},directives:[fv],encapsulation:2}),t})(),bv=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.N))},t.\u0275dir=i.Ib({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const gv=["top","bottom","left","right"];class _v{constructor(t,e,n,i,r=!0,s=!0){this._isNativeHtmlTable=t,this._stickCellCss=e,this.direction=n,this._coalescedStyleScheduler=i,this._isBrowser=r,this._needsPositionStickyOnElement=s,this._cachedCellWidths=[]}clearStickyPositioning(t,e){const n=[];for(const i of t)if(i.nodeType===i.ELEMENT_NODE){n.push(i);for(let t=0;t{for(const t of n)this._removeStickyStyle(t,e)})}updateStickyColumns(t,e,n,i=!0){if(!t.length||!this._isBrowser||!e.some(t=>t)&&!n.some(t=>t))return;const r=t[0],s=r.children.length,a=this._getCellWidths(r,i),o=this._getStickyStartColumnPositions(a,e),l=this._getStickyEndColumnPositions(a,n);this._scheduleStyleChanges(()=>{const i="rtl"===this.direction,r=i?"right":"left",a=i?"left":"right";for(const c of t)for(let t=0;t{for(let t=0;t{e.some(t=>!t)?this._removeStickyStyle(n,["bottom"]):this._addStickyStyle(n,"bottom",0)})}_removeStickyStyle(t,e){for(const n of e)t.style[n]="";gv.some(n=>-1===e.indexOf(n)&&t.style[n])?t.style.zIndex=this._getCalculatedZIndex(t):(t.style.zIndex="",this._needsPositionStickyOnElement&&(t.style.position=""),t.classList.remove(this._stickCellCss))}_addStickyStyle(t,e,n){t.classList.add(this._stickCellCss),t.style[e]=n+"px",t.style.zIndex=this._getCalculatedZIndex(t),this._needsPositionStickyOnElement&&(t.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(t){const e={top:100,bottom:10,left:1,right:1};let n=0;for(const i of gv)t.style[i]&&(n+=e[i]);return n?""+n:""}_getCellWidths(t,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const n=[],i=t.children;for(let r=0;r0;r--)e[r]&&(n[r]=i,i+=t[r]);return n}_scheduleStyleChanges(t){this._coalescedStyleScheduler?this._coalescedStyleScheduler.schedule(t):t()}}let yv=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.S),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["","rowOutlet",""]]}),t})(),vv=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.S),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),wv=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.S),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),Sv=(()=>{class t{constructor(t,e){this.viewContainer=t,this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.S),i.Nb(i.l))},t.\u0275dir=i.Ib({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),xv=(()=>{class t{constructor(t,e,n,i,r,s,a,o,l,c){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=r,this._platform=a,this._viewRepeater=o,this._coalescedStyleScheduler=l,this._viewportRuler=c,this._onDestroy=new Ia.a,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._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new ho({start:0,end:Number.MAX_VALUE}),i||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=qc(t),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=qc(t),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((t,e)=>this.trackBy?this.trackBy(e.dataIndex,e.data):e),this._viewportRuler&&this._viewportRuler.change().pipe(ec(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,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._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Gf(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const t=this._dataDiffer.diff(this._renderRows);if(!t)return void this._updateNoDataRow();const e=this._rowOutlet.viewContainer;this._viewRepeater?this._viewRepeater.applyChanges(t,e,(t,e,n)=>this._getEmbeddedViewArgs(t.item,n),t=>t.item.data,t=>{1===t.operation&&t.context&&this._renderCellTemplateForItem(t.record.item.rowDef,t.context)}):t.forEachOperation((t,n,i)=>{if(null==t.previousIndex){const e=t.item;this._renderRow(this._rowOutlet,e.rowDef,i,{$implicit:e.data})}else if(null==i)e.remove(n);else{const t=e.get(n);e.move(t,i)}}),this._updateRowIndexContext(),t.forEachIdentityChange(t=>{e.get(t.currentIndex).context.$implicit=t.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._elementRef.nativeElement.querySelector("thead");e&&(e.style.display=t.length?"":"none");const n=this._headerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,n,"top"),this._headerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyFooterRowStyles(){const t=this._getRenderedRows(this._footerRowOutlet),e=this._elementRef.nativeElement.querySelector("tfoot");e&&(e.style.display=t.length?"":"none");const n=this._footerRowDefs.map(t=>t.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(t=>t.resetStickyChanged())}updateStickyColumnStyles(){const t=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),n=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...e,...n],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((t,e)=>{this._addStickyColumnStyles([t],this._headerRowDefs[e])}),this._rowDefs.forEach(t=>{const n=[];for(let i=0;i{this._addStickyColumnStyles([t],this._footerRowDefs[e])}),Array.from(this._columnDefsByName.values()).forEach(t=>t.resetStickyChanged())}_getAllRenderRows(){const t=[],e=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let n=0;n{const r=n&&n.has(i)?n.get(i):[];if(r.length){const t=r.shift();return t.dataIndex=e,t}return{data:t,rowDef:i,dataIndex:e}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Cv(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=Cv(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Cv(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Cv(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const t=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=t[0]}_renderUpdatedColumns(){const t=(t,e)=>t||!!e.getColumnsDiff(),e=this._rowDefs.reduce(t,!1);e&&this._forceRenderDataRows();const n=this._headerRowDefs.reduce(t,!1);n&&this._forceRenderHeaderRows();const i=this._footerRowDefs.reduce(t,!1);return i&&this._forceRenderFooterRows(),e||n||i}_switchDataSource(t){this._data=[],Gf(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;var e;Gf(this.dataSource)?t=this.dataSource.connect(this):(e=this.dataSource)&&(e instanceof ir.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Object(nr.a)(this.dataSource)),this._renderChangeSubscription=t.pipe(ec(this._onDestroy)).subscribe(t=>{this._data=t||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,e)=>this._renderRow(this._headerRowOutlet,t,e)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,e)=>this._renderRow(this._footerRowOutlet,t,e)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,e){const n=Array.from(e.columns||[]).map(t=>this._columnDefsByName.get(t)),i=n.map(t=>t.sticky),r=n.map(t=>t.stickyEnd);this._stickyStyler.updateStickyColumns(t,i,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){const e=[];for(let n=0;n!n.when||n.when(e,t));else{let i=this._rowDefs.find(n=>n.when&&n.when(e,t))||this._defaultRowDef;i&&n.push(i)}return n}_getEmbeddedViewArgs(t,e){return{templateRef:t.rowDef.template,context:{$implicit:t.data},index:e}}_renderRow(t,e,n,i={}){const r=t.viewContainer.createEmbeddedView(e.template,i,n);return this._renderCellTemplateForItem(e,i),r}_renderCellTemplateForItem(t,e){for(let n of this._getCellTemplates(t))fv.mostRecentCellOutlet&&fv.mostRecentCellOutlet._viewContainer.createEmbeddedView(n,e);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const t=this._rowOutlet.viewContainer;for(let e=0,n=t.length;e{const n=this._columnDefsByName.get(e);return t.extractCellTemplate(n)}):[]}_applyNativeTableSections(){const t=this._document.createDocumentFragment(),e=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const n of e){const e=this._document.createElement(n.tag);e.setAttribute("role","rowgroup");for(const t of n.outlets)e.appendChild(t.elementRef.nativeElement);t.appendChild(e)}this._elementRef.nativeElement.appendChild(t)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const t=(t,e)=>t||e.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new _v(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement),(this._dir?this._dir.change:Object(nr.a)()).pipe(ec(this._onDestroy)).subscribe(t=>{this._stickyStyler.direction=t,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){const t=this._customNoDataRow||this._noDataRow;if(t){const e=0===this._rowOutlet.viewContainer.length;if(e!==this._isShowingNoDataRow){const n=this._noDataRowOutlet.viewContainer;e?n.createEmbeddedView(t.templateRef):n.clear(),this._isShowingNoDataRow=e}}}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.u),i.Nb(i.h),i.Nb(i.l),i.Yb("role"),i.Nb(yu,8),i.Nb(o),i.Nb(Dd),i.Nb(Jf,8),i.Nb(iv,8),i.Nb(Gm,8))},t.\u0275cmp=i.Hb({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,e,n){if(1&t&&(i.Gb(n,bv,!0),i.Gb(n,Qy,!0),i.Gb(n,hv,!0),i.Gb(n,lv,!0),i.Gb(n,dv,!0)),2&t){let t;i.qc(t=i.cc())&&(e._noDataRow=t.first),i.qc(t=i.cc())&&(e._contentColumnDefs=t),i.qc(t=i.cc())&&(e._contentRowDefs=t),i.qc(t=i.cc())&&(e._contentHeaderRowDefs=t),i.qc(t=i.cc())&&(e._contentFooterRowDefs=t)}},viewQuery:function(t,e){if(1&t&&(i.wc(yv,!0),i.wc(vv,!0),i.wc(wv,!0),i.wc(Sv,!0)),2&t){let t;i.qc(t=i.cc())&&(e._rowOutlet=t.first),i.qc(t=i.cc())&&(e._headerRowOutlet=t.first),i.qc(t=i.cc())&&(e._footerRowOutlet=t.first),i.qc(t=i.cc())&&(e._noDataRowOutlet=t.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,e){2&t&&i.Fb("cdk-table-fixed-layout",e.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[i.Bb([{provide:qy,useExisting:t},{provide:Jf,useClass:$f},{provide:iv,useClass:rv}])],ngContentSelectors:Uy,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(i.kc(zy),i.jc(0),i.jc(1,1),i.Pb(2,0),i.Pb(3,1),i.Pb(4,2),i.Pb(5,3))},directives:[vv,yv,Sv,wv],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function Cv(t,e){return t.concat(Array.from(e))}let kv=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[Xm]]}),t})();const Tv=[[["caption"]],[["colgroup"],["col"]]],Mv=["caption","colgroup, col"];let Dv=(()=>{class t extends xv{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(e){return Lv(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(t,e){2&t&&i.Fb("mat-table-fixed-layout",e.fixedLayout)},exportAs:["matTable"],features:[i.Bb([{provide:Jf,useClass:$f},{provide:xv,useExisting:t},{provide:qy,useExisting:t},{provide:iv,useClass:rv}]),i.zb],ngContentSelectors:Mv,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,e){1&t&&(i.kc(Tv),i.jc(0),i.jc(1,1),i.Pb(2,0),i.Pb(3,1),i.Pb(4,2),i.Pb(5,3))},directives:[vv,yv,Sv,wv],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:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-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:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-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:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-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:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky;position:sticky}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),t})();const Lv=i.Vb(Dv);let Ov=(()=>{class t extends Gy{}return t.\u0275fac=function(e){return Av(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","matCellDef",""]],features:[i.Bb([{provide:Gy,useExisting:t}]),i.zb]}),t})();const Av=i.Vb(Ov);let Ev=(()=>{class t extends $y{}return t.\u0275fac=function(e){return Iv(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","matHeaderCellDef",""]],features:[i.Bb([{provide:$y,useExisting:t}]),i.zb]}),t})();const Iv=i.Vb(Ev);let Rv=(()=>{class t extends Qy{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)}}return t.\u0275fac=function(e){return Yv(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[i.Bb([{provide:Qy,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),i.zb]}),t})();const Yv=i.Vb(Rv);let jv=(()=>{class t extends tv{}return t.\u0275fac=function(e){return Nv(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[i.zb]}),t})();const Nv=i.Vb(jv);let Pv=(()=>{class t extends ev{}return t.\u0275fac=function(e){return Fv(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[i.zb]}),t})();const Fv=i.Vb(Pv);let Bv=(()=>{class t extends lv{}return t.\u0275fac=function(e){return Hv(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[i.Bb([{provide:lv,useExisting:t}]),i.zb]}),t})();const Hv=i.Vb(Bv);let Vv=(()=>{class t extends hv{}return t.\u0275fac=function(e){return zv(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[i.Bb([{provide:hv,useExisting:t}]),i.zb]}),t})();const zv=i.Vb(Vv);let Uv=(()=>{class t extends mv{}return t.\u0275fac=function(e){return Wv(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[i.Bb([{provide:mv,useExisting:t}]),i.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&i.Pb(0,0)},directives:[fv],encapsulation:2}),t})();const Wv=i.Vb(Uv);let qv=(()=>{class t extends pv{}return t.\u0275fac=function(e){return Gv(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[i.Bb([{provide:pv,useExisting:t}]),i.zb],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,e){1&t&&i.Pb(0,0)},directives:[fv],encapsulation:2}),t})();const Gv=i.Vb(qv);let $v=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[kv,kh],kh]}),t})();const Xv=["*",[["mat-toolbar-row"]]],Kv=["*","mat-toolbar-row"];class Jv{constructor(t){this._elementRef=t}}const Qv=Mh(Jv);let Zv=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.Ib({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),t})(),tw=(()=>{class t extends Qv{constructor(t,e,n){super(t),this._platform=e,this._document=n}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(Dd),i.Nb(o))},t.\u0275cmp=i.Hb({type:t,selectors:[["mat-toolbar"]],contentQueries:function(t,e,n){if(1&t&&i.Gb(n,Zv,!0),2&t){let t;i.qc(t=i.cc())&&(e._toolbarRows=t)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(t,e){2&t&&i.Fb("mat-toolbar-multiple-rows",e._toolbarRows.length>0)("mat-toolbar-single-row",0===e._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[i.zb],ngContentSelectors:Kv,decls:2,vars:0,template:function(t,e){1&t&&(i.kc(Xv),i.jc(0),i.jc(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%}\n"],encapsulation:2,changeDetection:0}),t})(),ew=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[kh],kh]}),t})();var nw=function(t,e){return t===e||t!=t&&e!=e},iw=function(t,e){for(var n=t.length;n--;)if(nw(t[n][0],e))return n;return-1},rw=Array.prototype.splice;function sw(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1},sw.prototype.set=function(t,e){var n=this.__data__,i=iw(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};var aw,ow=sw,lw=n("Ju5/"),cw=lw.a.Symbol,uw=Object.prototype,dw=uw.hasOwnProperty,hw=uw.toString,fw=cw?cw.toStringTag:void 0,mw=Object.prototype.toString,pw=cw?cw.toStringTag:void 0,bw=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":pw&&pw in Object(t)?function(t){var e=dw.call(t,fw),n=t[fw];try{t[fw]=void 0;var i=!0}catch(UB){}var r=hw.call(t);return i&&(e?t[fw]=n:delete t[fw]),r}(t):function(t){return mw.call(t)}(t)},gw=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},_w=function(t){if(!gw(t))return!1;var e=bw(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},yw=lw.a["__core-js_shared__"],vw=(aw=/[^.]+$/.exec(yw&&yw.keys&&yw.keys.IE_PROTO||""))?"Symbol(src)_1."+aw:"",ww=Function.prototype.toString,Sw=function(t){if(null!=t){try{return ww.call(t)}catch(UB){}try{return t+""}catch(UB){}}return""},xw=/^\[object .+?Constructor\]$/,Cw=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),kw=function(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!gw(t)||(e=t,vw&&vw in e))&&(_w(t)?Cw:xw).test(Sw(t));var e}(n)?n:void 0},Tw=kw(lw.a,"Map"),Mw=kw(Object,"create"),Dw=Object.prototype.hasOwnProperty,Lw=Object.prototype.hasOwnProperty;function Ow(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991},Zw={};Zw["[object Float32Array]"]=Zw["[object Float64Array]"]=Zw["[object Int8Array]"]=Zw["[object Int16Array]"]=Zw["[object Int32Array]"]=Zw["[object Uint8Array]"]=Zw["[object Uint8ClampedArray]"]=Zw["[object Uint16Array]"]=Zw["[object Uint32Array]"]=!0,Zw["[object Arguments]"]=Zw["[object Array]"]=Zw["[object ArrayBuffer]"]=Zw["[object Boolean]"]=Zw["[object DataView]"]=Zw["[object Date]"]=Zw["[object Error]"]=Zw["[object Function]"]=Zw["[object Map]"]=Zw["[object Number]"]=Zw["[object Object]"]=Zw["[object RegExp]"]=Zw["[object Set]"]=Zw["[object String]"]=Zw["[object WeakMap]"]=!1;var tS=function(t){return function(e){return t(e)}},eS=n("xutz"),nS=eS.a&&eS.a.isTypedArray,iS=nS?tS(nS):function(t){return Vw(t)&&Qw(t.length)&&!!Zw[bw(t)]},rS=Object.prototype.hasOwnProperty,sS=function(t,e){var n=$w(t),i=!n&&Gw(t),r=!n&&!i&&Object(Xw.a)(t),s=!n&&!i&&!r&&iS(t),a=n||i||r||s,o=a?function(t,e){for(var n=-1,i=Array(t);++nax(t,.6)),borderColor:t.map(()=>"#fff"),pointBackgroundColor:t.map(t=>ax(t,1)),pointBorderColor:t.map(()=>"#fff"),pointHoverBackgroundColor:t.map(t=>ax(t,1)),pointHoverBorderColor:t.map(t=>ax(t,1))}}function cx(){return[ox(0,255),ox(0,255),ox(0,255)]}function ux(t){return sx[t]||cx()}function dx(t){const e=new Array(t);for(let n=0;n{class t{constructor(){this.pColorschemesOptions={},this.colorschemesOptions=new ho({})}setColorschemesOptions(t){this.pColorschemesOptions=t,this.colorschemesOptions.next(t)}getColorschemesOptions(){return this.pColorschemesOptions}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Jb)({factory:function(){return new t},token:t,providedIn:"root"}),t})();const fx={Default:0,Update:1,Refresh:2};fx[fx.Default]="Default",fx[fx.Update]="Update",fx[fx.Refresh]="Refresh";let mx=(()=>{class t{constructor(t,e){this.element=t,this.themeService=e,this.options={},this.chartClick=new i.o,this.chartHover=new i.o,this.old={dataExists:!1,dataLength:0,datasetsExists:!1,datasetsLength:0,datasetsDataObjects:[],datasetsDataLengths:[],colorsExists:!1,colors:[],labelsExist:!1,labels:[],legendExists:!1,legend:{}},this.subs=[]}static registerPlugin(t){rx.pluginService.register(t)}static unregisterPlugin(t){rx.pluginService.unregister(t)}ngOnInit(){this.ctx=this.element.nativeElement.getContext("2d"),this.refresh(),this.subs.push(this.themeService.colorschemesOptions.subscribe(t=>this.themeChanged(t)))}themeChanged(t){this.refresh()}ngDoCheck(){if(!this.chart)return;let t=fx.Default;const e=e=>{t=e>t?e:t};switch(!!this.data!==this.old.dataExists&&(this.propagateDataToDatasets(this.data),this.old.dataExists=!!this.data,e(fx.Update)),this.data&&this.data.length!==this.old.dataLength&&(this.old.dataLength=this.data&&this.data.length||0,e(fx.Update)),!!this.datasets!==this.old.datasetsExists&&(this.old.datasetsExists=!!this.datasets,e(fx.Update)),this.datasets&&this.datasets.length!==this.old.datasetsLength&&(this.old.datasetsLength=this.datasets&&this.datasets.length||0,e(fx.Update)),this.datasets&&this.datasets.filter((t,e)=>t.data!==this.old.datasetsDataObjects[e]).length&&(this.old.datasetsDataObjects=this.datasets.map(t=>t.data),e(fx.Update)),this.datasets&&this.datasets.filter((t,e)=>t.data.length!==this.old.datasetsDataLengths[e]).length&&(this.old.datasetsDataLengths=this.datasets.map(t=>t.data.length),e(fx.Update)),!!this.colors!==this.old.colorsExists&&(this.old.colorsExists=!!this.colors,this.updateColors(),e(fx.Update)),this.colors&&this.colors.filter((t,e)=>!this.colorsEqual(t,this.old.colors[e])).length&&(this.old.colors=this.colors.map(t=>this.copyColor(t)),this.updateColors(),e(fx.Update)),!!this.labels!==this.old.labelsExist&&(this.old.labelsExist=!!this.labels,e(fx.Update)),this.labels&&this.labels.filter((t,e)=>!this.labelsEqual(t,this.old.labels[e])).length&&(this.old.labels=this.labels.map(t=>this.copyLabel(t)),e(fx.Update)),!!this.options.legend!==this.old.legendExists&&(this.old.legendExists=!!this.options.legend,e(fx.Refresh)),this.options.legend&&this.options.legend.position!==this.old.legend.position&&(this.old.legend.position=this.options.legend.position,e(fx.Refresh)),t){case fx.Default:break;case fx.Update:this.update();break;case fx.Refresh:this.refresh()}}copyLabel(t){return Array.isArray(t)?[...t]:t}labelsEqual(t,e){return Array.isArray(t)===Array.isArray(e)&&(Array.isArray(t)||t===e)&&(!Array.isArray(t)||t.length===e.length)&&(!Array.isArray(t)||0===t.filter((t,n)=>t!==e[n]).length)}copyColor(t){return{backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderColor:t.borderColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,pointBorderColor:t.pointBorderColor,pointBackgroundColor:t.pointBackgroundColor,pointBorderWidth:t.pointBorderWidth,pointRadius:t.pointRadius,pointHoverRadius:t.pointHoverRadius,pointHitRadius:t.pointHitRadius,pointHoverBackgroundColor:t.pointHoverBackgroundColor,pointHoverBorderColor:t.pointHoverBorderColor,pointHoverBorderWidth:t.pointHoverBorderWidth,pointStyle:t.pointStyle,hoverBackgroundColor:t.hoverBackgroundColor,hoverBorderColor:t.hoverBorderColor,hoverBorderWidth:t.hoverBorderWidth}}colorsEqual(t,e){return!t==!e&&(!t||t.backgroundColor===e.backgroundColor&&t.borderWidth===e.borderWidth&&t.borderColor===e.borderColor&&t.borderCapStyle===e.borderCapStyle&&t.borderDash===e.borderDash&&t.borderDashOffset===e.borderDashOffset&&t.borderJoinStyle===e.borderJoinStyle&&t.pointBorderColor===e.pointBorderColor&&t.pointBackgroundColor===e.pointBackgroundColor&&t.pointBorderWidth===e.pointBorderWidth&&t.pointRadius===e.pointRadius&&t.pointHoverRadius===e.pointHoverRadius&&t.pointHitRadius===e.pointHitRadius&&t.pointHoverBackgroundColor===e.pointHoverBackgroundColor&&t.pointHoverBorderColor===e.pointHoverBorderColor&&t.pointHoverBorderWidth===e.pointHoverBorderWidth&&t.pointStyle===e.pointStyle&&t.hoverBackgroundColor===e.hoverBackgroundColor&&t.hoverBorderColor===e.hoverBorderColor&&t.hoverBorderWidth===e.hoverBorderWidth)}updateColors(){this.datasets.forEach((t,e)=>{this.colors&&this.colors[e]?Object.assign(t,this.colors[e]):Object.assign(t,function(t,e,n){if("pie"===t||"doughnut"===t)return lx(dx(n));if("polarArea"===t)return{backgroundColor:(i=dx(n)).map(t=>ax(t,.6)),borderColor:i.map(t=>ax(t,1)),hoverBackgroundColor:i.map(t=>ax(t,.8)),hoverBorderColor:i.map(t=>ax(t,1))};var i;if("line"===t||"radar"===t)return function(t){return{backgroundColor:ax(t,.4),borderColor:ax(t,1),pointBackgroundColor:ax(t,1),pointBorderColor:"#fff",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:ax(t,.8)}}(ux(e));if("bar"===t||"horizontalBar"===t)return function(t){return{backgroundColor:ax(t,.6),borderColor:ax(t,1),hoverBackgroundColor:ax(t,.8),hoverBorderColor:ax(t,1)}}(ux(e));if("bubble"===t)return lx(dx(n));if("scatter"===t)return lx(dx(n));throw new Error("getColors - Unsupported chart type "+t)}(this.chartType,e,t.data.length),Object.assign({},t))})}ngOnChanges(t){let e=fx.Default;const n=t=>{e=t>e?t:e};switch(t.hasOwnProperty("data")&&t.data.currentValue&&(this.propagateDataToDatasets(t.data.currentValue),n(fx.Update)),t.hasOwnProperty("datasets")&&t.datasets.currentValue&&(this.propagateDatasetsToData(t.datasets.currentValue),n(fx.Update)),t.hasOwnProperty("labels")&&(this.chart&&(this.chart.data.labels=t.labels.currentValue),n(fx.Update)),t.hasOwnProperty("legend")&&(this.chart&&(this.chart.config.options.legend.display=t.legend.currentValue,this.chart.generateLegend()),n(fx.Update)),t.hasOwnProperty("options")&&n(fx.Refresh),e){case fx.Update:this.update();break;case fx.Refresh:case fx.Default:this.refresh()}}ngOnDestroy(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.subs.forEach(t=>t.unsubscribe())}update(t){if(this.chart)return this.chart.update(t)}hideDataset(t,e){this.chart.getDatasetMeta(t).hidden=e,this.chart.update()}isDatasetHidden(t){return this.chart.getDatasetMeta(t).hidden}toBase64Image(){return this.chart.toBase64Image()}getChartConfiguration(){const t=this.getDatasets(),e=Object.assign({},this.options);!1===this.legend&&(e.legend={display:!1}),e.hover=e.hover||{},e.hover.onHover||(e.hover.onHover=(t,e)=>{e&&!e.length||this.chartHover.emit({event:t,active:e})}),e.onClick||(e.onClick=(t,e)=>{this.chartClick.emit({event:t,active:e})});const n=this.smartMerge(e,this.themeService.getColorschemesOptions());return{type:this.chartType,data:{labels:this.labels||[],datasets:t},plugins:this.plugins,options:n}}getChartBuilder(t){const e=this.getChartConfiguration();return new rx.Chart(t,e)}smartMerge(t,e,n=0){if(0===n&&(t=ix(t,5)),Object.keys(e).forEach(i=>{if(Array.isArray(e[i])){const r=t[i];r&&r.forEach(t=>{this.smartMerge(t,e[i][0],n+1)})}else"object"==typeof e[i]?(i in t||(t[i]={}),this.smartMerge(t[i],e[i],n+1)):t[i]=e[i]}),0===n)return t}isMultiLineLabel(t){return Array.isArray(t)}joinLabel(t){return t?this.isMultiLineLabel(t)?t.join(" "):t:null}propagateDatasetsToData(t){this.data=this.datasets.map(t=>t.data),this.chart&&(this.chart.data.datasets=t),this.updateColors()}propagateDataToDatasets(t){this.isMultiDataSet(t)?this.datasets&&t.length===this.datasets.length?this.datasets.forEach((e,n)=>{e.data=t[n]}):(this.datasets=t.map((t,e)=>({data:t,label:this.joinLabel(this.labels[e])||"Label "+e})),this.chart&&(this.chart.data.datasets=this.datasets)):this.datasets?(this.datasets[0]||(this.datasets[0]={}),this.datasets[0].data=t,this.datasets.splice(1)):(this.datasets=[{data:t}],this.chart&&(this.chart.data.datasets=this.datasets)),this.updateColors()}isMultiDataSet(t){return Array.isArray(t[0])}getDatasets(){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}refresh(){this.chart&&(this.chart.destroy(),this.chart=void 0),this.ctx&&(this.chart=this.getChartBuilder(this.ctx))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(i.l),i.Nb(hx))},t.\u0275dir=i.Ib({type:t,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:[i.Ab]}),t})(),px=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[]]}),t})();const bx=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();function gx(t){return function(e){return 0===t?Object(Ca.b)():e.lift(new _x(t))}}class _x{constructor(t){if(this.total=t,this.total<0)throw new Va}call(t,e){return e.subscribe(new yx(t,this.total))}}class yx extends ar.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,i=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,i=this.ring;for(let r=0;re.lift(new wx(t))}class wx{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new Sx(t,this.errorFactory))}}class Sx extends ar.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(UB){t=UB}this.destination.error(t)}}}function xx(){return new bx}function Cx(t=null){return e=>e.lift(new kx(t))}class kx{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new Tx(t,this.defaultValue))}}class Tx extends ar.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var Mx=n("SpAZ");function Dx(t,e){const n=arguments.length>=2;return i=>i.pipe(t?or((e,n)=>t(e,n,i)):Mx.a,za(1),n?Cx(e):vx(()=>new bx))}class Lx{constructor(t,e){this.id=t,this.url=e}}class Ox extends Lx{constructor(t,e,n="imperative",i=null){super(t,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ax extends Lx{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ex extends Lx{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Ix extends Lx{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Rx extends Lx{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Yx extends Lx{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class jx extends Lx{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Nx extends Lx{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Px extends Lx{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fx{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Bx{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Hx{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Vx{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class zx{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ux{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Wx{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const qx="primary";class Gx{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function $x(t){return new Gx(t)}function Xx(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Kx(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.lengthi[e]===t)}return t===e}function Zx(t){return Array.prototype.concat.apply([],t)}function tC(t){return t.length>0?t[t.length-1]:null}function eC(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function nC(t){return Object(i.tb)(t)?t:Object(i.ub)(t)?Object(Wr.a)(Promise.resolve(t)):Object(nr.a)(t)}function iC(t,e,n){return n?function(t,e){return Jx(t,e)}(t.queryParams,e.queryParams)&&rC(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>Qx(t[n],e[n]))}(t.queryParams,e.queryParams)&&sC(t.root,e.root)}function rC(t,e){if(!uC(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(const n in e.children){if(!t.children[n])return!1;if(!rC(t.children[n],e.children[n]))return!1}return!0}function sC(t,e){return aC(t,e,e.segments)}function aC(t,e,n){if(t.segments.length>n.length)return!!uC(t.segments.slice(0,n.length),n)&&!e.hasChildren();if(t.segments.length===n.length){if(!uC(t.segments,n))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!sC(t.children[n],e.children[n]))return!1}return!0}{const i=n.slice(0,t.segments.length),r=n.slice(t.segments.length);return!!uC(t.segments,i)&&!!t.children.primary&&aC(t.children.primary,e,r)}}class oC{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$x(this.queryParams)),this._queryParamMap}toString(){return fC.serialize(this)}}class lC{constructor(t,e){this.segments=t,this.children=e,this.parent=null,eC(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return mC(this)}}class cC{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=$x(this.parameters)),this._parameterMap}toString(){return wC(this)}}function uC(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class dC{}class hC{parse(t){const e=new TC(t);return new oC(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+pC(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${gC(e)}=${gC(t)}`).join("&"):`${gC(e)}=${gC(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const fC=new hC;function mC(t){return t.segments.map(t=>wC(t)).join("/")}function pC(t,e){if(!t.hasChildren())return mC(t);if(e){const e=t.children.primary?pC(t.children.primary,!1):"",n=[];return eC(t.children,(t,e)=>{e!==qx&&n.push(`${e}:${pC(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return eC(t.children,(t,i)=>{i===qx&&(n=n.concat(e(t,i)))}),eC(t.children,(t,i)=>{i!==qx&&(n=n.concat(e(t,i)))}),n}(t,(e,n)=>n===qx?[pC(t.children.primary,!1)]:[`${n}:${pC(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children.primary?`${mC(t)}/${e[0]}`:`${mC(t)}/(${e.join("//")})`}}function bC(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gC(t){return bC(t).replace(/%3B/gi,";")}function _C(t){return bC(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function yC(t){return decodeURIComponent(t)}function vC(t){return yC(t.replace(/\+/g,"%20"))}function wC(t){return`${_C(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${_C(t)}=${_C(e[t])}`).join("")}`;var e}const SC=/^[^\/()?;=#]+/;function xC(t){const e=t.match(SC);return e?e[0]:""}const CC=/^[^=?&#]+/,kC=/^[^?&#]+/;class TC{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new lC([],{}):new lC([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new lC(t,e)),n}parseSegment(){const t=xC(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new cC(yC(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=xC(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=xC(this.remaining);t&&(n=t,this.capture(n))}t[yC(e)]=yC(n)}parseQueryParam(t){const e=function(t){const e=t.match(CC);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(kC);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=vC(e),r=vC(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=xC(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error(`Cannot parse url '${this.url}'`);let r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r=qx);const s=this.parseChildren();e[r]=1===Object.keys(s).length?s.primary:new lC([],s),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class MC{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=DC(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=DC(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=LC(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return LC(t,this._root).map(t=>t.value)}}function DC(t,e){if(t===e.value)return e;for(const n of e.children){const e=DC(t,n);if(e)return e}return null}function LC(t,e){if(t===e.value)return[e];for(const n of e.children){const i=LC(t,n);if(i.length)return i.unshift(e),i}return[]}class OC{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function AC(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class EC extends MC{constructor(t,e){super(t),this.snapshot=e,PC(this,t)}toString(){return this.snapshot.toString()}}function IC(t,e){const n=function(t,e){const n=new jC([],{},{},"",{},qx,e,null,t.root,-1,{});return new NC("",new OC(n,[]))}(t,e),i=new ho([new cC("",{})]),r=new ho({}),s=new ho({}),a=new ho({}),o=new ho(""),l=new RC(i,r,a,o,s,qx,e,n.root);return l.snapshot=n.root,new EC(new OC(l,[]),n)}class RC{constructor(t,e,n,i,r,s,a,o){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=a,this._futureSnapshot=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(ur.a)(t=>$x(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(ur.a)(t=>$x(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function YC(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(i))}class jC{constructor(t,e,n,i,r,s,a,o,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=s,this.component=a,this.routeConfig=o,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=$x(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=$x(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class NC extends MC{constructor(t,e){super(e),this.url=t,PC(this,e)}toString(){return FC(this._root)}}function PC(t,e){e.value._routerState=t,e.children.forEach(e=>PC(t,e))}function FC(t){const e=t.children.length>0?` { ${t.children.map(FC).join(", ")} } `:"";return`${t.value}${e}`}function BC(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Jx(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Jx(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nJx(t.parameters,e[n].parameters))}(t.url,e.url)&&!(!t.parent!=!e.parent)&&(!t.parent||HC(t.parent,e.parent))}function VC(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const r=function(t,e,n){return e.children.map(e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return VC(t,e,i);return VC(t,e)})}(t,e,n);return new OC(i,r)}{const n=t.retrieve(e.value);if(n){const t=n.route;return zC(e,t),t}{const n=new RC(new ho((i=e.value).url),new ho(i.params),new ho(i.queryParams),new ho(i.fragment),new ho(i.data),i.outlet,i.component,i),r=e.children.map(e=>VC(t,e));return new OC(n,r)}}var i}function zC(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{s[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new oC(n.root===t?e:GC(n.root,t,e),s,r)}function GC(t,e,n){const i={};return eC(t.children,(t,r)=>{i[r]=t===e?n:GC(t,e,n)}),new lC(t.segments,i)}class $C{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&UC(n[0]))throw new Error("Root segment cannot have matrix parameters");const i=n.find(WC);if(i&&i!==tC(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class XC{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function KC(t,e,n){if(t||(t=new lC([],{})),0===t.segments.length&&t.hasChildren())return JC(t,e,n);const i=function(t,e,n){let i=0,r=e;const s={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return s;const e=t.segments[r],a=n[i];if(WC(a))break;const o=""+a,l=i0&&void 0===o)break;if(o&&l&&"object"==typeof l&&void 0===l.outlets){if(!ek(o,l,e))return s;i+=2}else{if(!ek(o,{},e))return s;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(r[i]=KC(t.children[i],e,n))}),eC(t.children,(t,e)=>{void 0===i[e]&&(r[e]=t)}),new lC(t.segments,r)}}function QC(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=QC(new lC([],{}),0,t))}),e}function tk(t){const e={};return eC(t,(t,n)=>e[n]=""+t),e}function ek(t,e,n){return t==n.path&&Jx(e,n.parameters)}class nk{constructor(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),BC(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=AC(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]}),eC(i,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=AC(t);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}activateChildRoutes(t,e,n){const i=AC(e);t.children.forEach(t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new Ux(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Vx(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(BC(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const t=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ik(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(i.snapshot),r=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=i,e.resolver=r,e.outlet&&e.outlet.activateWith(i,r),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ik(t){BC(t.value),t.children.forEach(ik)}class rk{constructor(t,e){this.routes=t,this.module=e}}function sk(t){return"function"==typeof t}function ak(t){return t instanceof oC}const ok=Symbol("INITIAL_VALUE");function lk(){return Pa(t=>vy(...t.map(t=>t.pipe(za(1),vh(ok)))).pipe(wo((t,e)=>{let n=!1;return e.reduce((t,i,r)=>{if(t!==ok)return t;if(i===ok&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||ak(i))return i}return t},t)},ok),or(t=>t!==ok),Object(ur.a)(t=>ak(t)?t:!0===t),za(1)))}let ck=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&i.Ob(0,"router-outlet")},directives:function(){return[aT]},encapsulation:2}),t})();function uk(t,e=""){for(let n=0;nmk(t)===e);return n.push(...t.filter(t=>mk(t)!==e)),n}const bk={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function gk(t,e,n){var i;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},bk):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const r=(e.matcher||Kx)(n,t,e);if(!r)return Object.assign({},bk);const s={};eC(r.posParams,(t,e)=>{s[e]=t.path});const a=r.consumed.length>0?Object.assign(Object.assign({},s),r.consumed[r.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function _k(t,e,n,i,r="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>yk(t,e,n)&&mk(n)!==qx)}(t,n,i)){const r=new lC(e,function(t,e,n,i){const r={};r.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;for(const s of n)if(""===s.path&&mk(s)!==qx){const n=new lC([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,r[mk(s)]=n}return r}(t,e,i,new lC(n,t.children)));return r._sourceSegment=t,r._segmentIndexShift=e.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>yk(t,e,n))}(t,n,i)){const s=new lC(t.segments,function(t,e,n,i,r,s){const a={};for(const o of i)if(yk(t,n,o)&&!r[mk(o)]){const n=new lC([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===s?t.segments.length:e.length,a[mk(o)]=n}return Object.assign(Object.assign({},r),a)}(t,e,n,i,t.children,r));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}const s=new lC(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function yk(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function vk(t,e,n,i){return!!(mk(t)===i||i!==qx&&yk(e,n,t))&&("**"===t.path||gk(e,t,n).matched)}function wk(t,e,n){return 0===e.length&&!t.children[n]}class Sk{constructor(t){this.segmentGroup=t||null}}class xk{constructor(t){this.urlTree=t}}function Ck(t){return new ir.a(e=>e.error(new Sk(t)))}function kk(t){return new ir.a(e=>e.error(new xk(t)))}function Tk(t){return new ir.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Mk{constructor(t,e,n,r,s){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=s,this.allowRedirects=!0,this.ngModule=t.get(i.z)}apply(){const t=_k(this.urlTree.root,[],[],this.config).segmentGroup,e=new lC(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,qx).pipe(Object(ur.a)(t=>this.createUrlTree(Dk(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe(vg(t=>{if(t instanceof xk)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Sk)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,qx).pipe(Object(ur.a)(e=>this.createUrlTree(Dk(e),t.queryParams,t.fragment))).pipe(vg(t=>{if(t instanceof Sk)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const i=t.segments.length>0?new lC([],{[qx]:t}):t;return new oC(i,e,n)}expandSegmentGroup(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(ur.a)(t=>new lC([],t))):this.expandSegment(t,n,e,n.segments,i,!0)}expandChildren(t,e,n){const i=[];for(const r of Object.keys(n.children))"primary"===r?i.unshift(r):i.push(r);return Object(Wr.a)(i).pipe(sr(i=>{const r=n.children[i],s=pk(e,i);return this.expandSegmentGroup(t,s,r,i).pipe(Object(ur.a)(t=>({segment:t,outlet:i})))}),wo((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?or((e,n)=>t(e,n,i)):Mx.a,gx(1),n?Cx(e):vx(()=>new bx))}())}expandSegment(t,e,n,i,r,s){return Object(Wr.a)(n).pipe(sr(a=>this.expandSegmentAgainstRoute(t,e,n,a,i,r,s).pipe(vg(t=>{if(t instanceof Sk)return Object(nr.a)(null);throw t}))),Dx(t=>!!t),vg((t,n)=>{if(t instanceof bx||"EmptyError"===t.name){if(wk(e,i,r))return Object(nr.a)(new lC([],{}));throw new Sk(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,i,r,s,a){return vk(i,e,r,s)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s):Ck(e):Ck(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?kk(r):this.lineralizeSegments(n,r).pipe(Object(rr.a)(n=>{const r=new lC(n,{});return this.expandSegment(t,r,e,n,i,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,s){const{matched:a,consumedSegments:o,lastChild:l,positionalParamSegments:c}=gk(e,i,r);if(!a)return Ck(e);const u=this.applyRedirectCommands(o,i.redirectTo,c);return i.redirectTo.startsWith("/")?kk(u):this.lineralizeSegments(i,u).pipe(Object(rr.a)(i=>this.expandSegment(t,e,n,i.concat(r.slice(l)),s,!1)))}matchSegmentAgainstRoute(t,e,n,i,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(ur.a)(t=>(n._loadedConfig=t,new lC(i,{})))):Object(nr.a)(new lC(i,{}));const{matched:s,consumedSegments:a,lastChild:o}=gk(e,n,i);if(!s)return Ck(e);const l=i.slice(o);return this.getChildConfig(t,n,i).pipe(Object(rr.a)(t=>{const i=t.module,s=t.routes,{segmentGroup:o,slicedSegments:c}=_k(e,a,l,s),u=new lC(o.segments,o.children);if(0===c.length&&u.hasChildren())return this.expandChildren(i,s,u).pipe(Object(ur.a)(t=>new lC(a,t)));if(0===s.length&&0===c.length)return Object(nr.a)(new lC(a,{}));const d=mk(n)===r;return this.expandSegment(i,u,s,c,d?qx:r,!0).pipe(Object(ur.a)(t=>new lC(a.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(nr.a)(new rk(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(nr.a)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(Object(rr.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(ur.a)(t=>(e._loadedConfig=t,t))):function(t){return new ir.a(e=>e.error(Xx(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(nr.a)(new rk([],t))}runCanLoadGuards(t,e,n){const i=e.canLoad;if(!i||0===i.length)return Object(nr.a)(!0);const r=i.map(i=>{const r=t.get(i);let s;if(function(t){return t&&sk(t.canLoad)}(r))s=r.canLoad(e,n);else{if(!sk(r))throw new Error("Invalid CanLoad guard");s=r(e,n)}return nC(s)});return Object(nr.a)(r).pipe(lk(),Object(qa.a)(t=>{if(!ak(t))return;const e=Xx(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),Object(ur.a)(t=>!0===t))}lineralizeSegments(t,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(nr.a)(n);if(i.numberOfChildren>1||!i.children.primary)return Tk(t.redirectTo);i=i.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new oC(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return eC(t,(t,i)=>{if("string"==typeof t&&t.startsWith(":")){const r=t.substring(1);n[i]=e[r]}else n[i]=t}),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let s={};return eC(e.children,(e,r)=>{s[r]=this.createSegmentGroup(t,e,n,i)}),new lC(r,s)}createSegments(t,e,n,i){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n))}findPosParam(t,e,n){const i=n[e.path.substring(1)];if(!i)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return i}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}function Dk(t){const e={};for(const n of Object.keys(t.children)){const i=Dk(t.children[n]);(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new lC(t.segments.concat(e.segments),e.children)}return t}(new lC(t.segments,e))}class Lk{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ok{constructor(t,e){this.component=t,this.route=e}}function Ak(t,e,n){const i=t._root;return Ik(i,e?e._root:null,n,[i.value])}function Ek(t,e,n){const i=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function Ik(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=AC(e);return t.children.forEach(t=>{!function(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,a=e?e.value:null,o=n?n.getContext(t.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!uC(t.url,e.url);case"pathParamsOrQueryParamsChange":return!uC(t.url,e.url)||!Jx(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!HC(t,e)||!Jx(t.queryParams,e.queryParams);case"paramsChange":default:return!HC(t,e)}}(a,s,s.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Lk(i)):(s.data=a.data,s._resolvedData=a._resolvedData),Ik(t,e,s.component?o?o.children:null:n,i,r),l&&o&&o.outlet&&o.outlet.isActivated&&r.canDeactivateChecks.push(new Ok(o.outlet.component,a))}else a&&Rk(e,o,r),r.canActivateChecks.push(new Lk(i)),Ik(t,null,s.component?o?o.children:null:n,i,r)}(t,s[t.value.outlet],n,i.concat([t.value]),r),delete s[t.value.outlet]}),eC(s,(t,e)=>Rk(t,n.getContext(e),r)),r}function Rk(t,e,n){const i=AC(t),r=t.value;eC(i,(t,i)=>{Rk(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new Ok(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}function Yk(t,e){return null!==t&&e&&e(new zx(t)),Object(nr.a)(!0)}function jk(t,e){return null!==t&&e&&e(new Hx(t)),Object(nr.a)(!0)}function Nk(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return Object(nr.a)(!0);const r=i.map(i=>ka(()=>{const r=Ek(i,e,n);let s;if(function(t){return t&&sk(t.canActivate)}(r))s=nC(r.canActivate(e,t));else{if(!sk(r))throw new Error("Invalid CanActivate guard");s=nC(r(e,t))}return s.pipe(Dx())}));return Object(nr.a)(r).pipe(lk())}function Pk(t,e,n){const i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>ka(()=>{const r=e.guards.map(r=>{const s=Ek(r,e.node,n);let a;if(function(t){return t&&sk(t.canActivateChild)}(s))a=nC(s.canActivateChild(i,t));else{if(!sk(s))throw new Error("Invalid CanActivateChild guard");a=nC(s(i,t))}return a.pipe(Dx())});return Object(nr.a)(r).pipe(lk())}));return Object(nr.a)(r).pipe(lk())}class Fk{}function Bk(t){return new ir.a(e=>e.error(t))}class Hk{constructor(t,e,n,i,r,s){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){const t=_k(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,qx);if(null===e)return null;const n=new jC([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},qx,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new OC(n,e),r=new NC(this.url,i);return this.inheritParamsAndData(r._root),r}inheritParamsAndData(t){const e=t.value,n=YC(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const r of Object.keys(e.children)){const i=e.children[r],s=pk(t,r),a=this.processSegmentGroup(s,i,r);if(null===a)return null;n.push(...a)}const i=function(t){const e=[];for(const n of t){if(!Vk(n)){e.push(n);continue}const t=e.find(t=>n.value.routeConfig===t.value.routeConfig);void 0!==t?t.children.push(...n.children):e.push(n)}return e}(n);return i.sort((t,e)=>t.value.outlet===qx?-1:e.value.outlet===qx?1:t.value.outlet.localeCompare(e.value.outlet)),i}processSegment(t,e,n,i){for(const r of t){const t=this.processSegmentAgainstRoute(r,e,n,i);if(null!==t)return t}return wk(e,n,i)?[]:null}processSegmentAgainstRoute(t,e,n,i){if(t.redirectTo||!vk(t,e,n,i))return null;let r,s=[],a=[];if("**"===t.path){const i=n.length>0?tC(n).parameters:{};r=new jC(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Wk(t),mk(t),t.component,t,zk(e),Uk(e)+n.length,qk(t))}else{const i=gk(e,t,n);if(!i.matched)return null;s=i.consumedSegments,a=n.slice(i.lastChild),r=new jC(s,i.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Wk(t),mk(t),t.component,t,zk(e),Uk(e)+s.length,qk(t))}const o=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=_k(e,s,a,o.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(o,l);return null===t?null:[new OC(r,t)]}if(0===o.length&&0===c.length)return[new OC(r,[])];const u=mk(t)===i,d=this.processSegment(o,l,c,u?qx:i);return null===d?null:[new OC(r,d)]}}function Vk(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function zk(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function Uk(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function Wk(t){return t.data||{}}function qk(t){return t.resolve||{}}function Gk(t){return function(e){return e.pipe(Pa(e=>{const n=t(e);return n?Object(Wr.a)(n).pipe(Object(ur.a)(()=>e)):Object(Wr.a)([e])}))}}class $k extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const Xk=new i.s("ROUTES");class Kk{constructor(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(ur.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const i=n.create(t);return new rk(Zx(i.injector.get(Xk)).map(fk),i)}))}loadModuleFactory(t){return"string"==typeof t?Object(Wr.a)(this.loader.load(t)):nC(t()).pipe(Object(rr.a)(t=>t instanceof i.x?Object(nr.a)(t):Object(Wr.a)(this.compiler.compileModuleAsync(t))))}}class Jk{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Qk,this.attachRef=null}}class Qk{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Jk,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class Zk{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function tT(t){throw t}function eT(t,e,n){return e.parse("/")}function nT(t,e){return Object(nr.a)(null)}let iT=(()=>{class t{constructor(t,e,n,r,s,a,o,l){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new Ia.a,this.errorHandler=tT,this.malformedUriErrorHandler=eT,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:nT,afterPreactivation:nT},this.urlHandlingStrategy=new Zk,this.routeReuseStrategy=new $k,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=s.get(i.z),this.console=s.get(i.bb);const c=s.get(i.B);this.isNgZoneEnabled=c instanceof i.B,this.resetConfig(l),this.currentUrlTree=new oC(new lC([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Kk(a,o,t=>this.triggerEvent(new Fx(t)),t=>this.triggerEvent(new Bx(t))),this.routerState=IC(this.currentUrlTree,this.rootComponentType),this.transitions=new ho({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()}setupNavigations(t){const e=this.events;return t.pipe(or(t=>0!==t.id),Object(ur.a)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Pa(t=>{let n=!1,i=!1;return Object(nr.a)(t).pipe(Object(qa.a)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Pa(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(nr.a)(t).pipe(Pa(t=>{const n=this.transitions.getValue();return e.next(new Ox(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?Ca.a:[t]}),Pa(t=>Promise.resolve(t)),(i=this.ngModule.injector,r=this.configLoader,s=this.urlSerializer,a=this.config,function(t){return t.pipe(Pa(t=>function(t,e,n,i,r){return new Mk(t,e,n,i,r).apply()}(i,r,s,t.extractedUrl,a).pipe(Object(ur.a)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Object(qa.a)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,r){return function(s){return s.pipe(Object(rr.a)(s=>function(t,e,n,i,r="emptyOnly",s="legacy"){try{const a=new Hk(t,e,n,i,r,s).recognize();return null===a?Bk(new Fk):Object(nr.a)(a)}catch(UB){return Bk(UB)}}(t,e,s.urlAfterRedirects,n(s.urlAfterRedirects),i,r).pipe(Object(ur.a)(t=>Object.assign(Object.assign({},s),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(qa.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Object(qa.a)(t=>{const n=new Rx(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var i,r,s,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:i,source:r,restoredState:s,extras:a}=t,o=new Ox(n,this.serializeUrl(i),r,s);e.next(o);const l=IC(i,this.rootComponentType).snapshot;return Object(nr.a)(Object.assign(Object.assign({},t),{targetSnapshot:l,urlAfterRedirects:i,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),Ca.a}),Gk(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:a}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!a})}),Object(qa.a)(t=>{const e=new Yx(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(ur.a)(t=>Object.assign(Object.assign({},t),{guards:Ak(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(rr.a)(n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:s,canDeactivateChecks:a}}=n;return 0===a.length&&0===s.length?Object(nr.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return Object(Wr.a)(t).pipe(Object(rr.a)(t=>function(t,e,n,i,r){const s=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!s||0===s.length)return Object(nr.a)(!0);const a=s.map(s=>{const a=Ek(s,e,r);let o;if(function(t){return t&&sk(t.canDeactivate)}(a))o=nC(a.canDeactivate(t,e,n,i));else{if(!sk(a))throw new Error("Invalid CanDeactivate guard");o=nC(a(t,e,n,i))}return o.pipe(Dx())});return Object(nr.a)(a).pipe(lk())}(t.component,t.route,n,e,i)),Dx(t=>!0!==t,!0))}(a,i,r,t).pipe(Object(rr.a)(n=>n&&"boolean"==typeof n?function(t,e,n,i){return Object(Wr.a)(e).pipe(sr(e=>Object(Wr.a)([jk(e.route.parent,i),Yk(e.route,i),Pk(t,e.path,n),Nk(t,e.route,n)]).pipe(Aa(),Dx(t=>!0!==t,!0))),Dx(t=>!0!==t,!0))}(i,s,t,e):Object(nr.a)(n)),Object(ur.a)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(qa.a)(t=>{if(ak(t.guardsResult)){const e=Xx(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Object(qa.a)(t=>{const e=new jx(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),or(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new Ex(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),Gk(t=>{if(t.guards.canActivateChecks.length)return Object(nr.a)(t).pipe(Object(qa.a)(t=>{const e=new Nx(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Pa(t=>{let n=!1;return Object(nr.a)(t).pipe((i=this.paramsInheritanceStrategy,r=this.ngModule.injector,function(t){return t.pipe(Object(rr.a)(t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return Object(nr.a)(t);let s=0;return Object(Wr.a)(n).pipe(sr(t=>function(t,e,n,i){return function(t,e,n,i){const r=Object.keys(t);if(0===r.length)return Object(nr.a)({});const s={};return Object(Wr.a)(r).pipe(Object(rr.a)(r=>function(t,e,n,i){const r=Ek(t,e,i);return nC(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe(Object(qa.a)(t=>{s[r]=t}))),gx(1),Object(rr.a)(()=>Object.keys(s).length===r.length?Object(nr.a)(s):Ca.a))}(t._resolve,t,e,i).pipe(Object(ur.a)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),YC(t,n).resolve),null)))}(t.route,e,i,r)),Object(qa.a)(()=>s++),gx(1),Object(rr.a)(e=>s===n.length?Object(nr.a)(t):Ca.a))}))}),Object(qa.a)({next:()=>n=!0,complete:()=>{if(!n){const n=new Ex(t.id,this.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");e.next(n),t.resolve(!1)}}}));var i,r}),Object(qa.a)(t=>{const e=new Px(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),Gk(t=>{const{targetSnapshot:e,id:n,extractedUrl:i,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:a}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:i,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!a})}),Object(ur.a)(t=>{const e=function(t,e,n){const i=VC(t,e._root,n?n._root:void 0);return new EC(i,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Object(qa.a)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(r=this.rootContexts,s=this.routeReuseStrategy,a=t=>this.triggerEvent(t),Object(ur.a)(t=>(new nk(s,t.targetRouterState,t.currentRouterState,a).activate(r),t))),Object(qa.a)({next(){n=!0},complete(){n=!0}}),xg(()=>{if(!n&&!i){this.resetUrlToCurrentUrlTree();const n=new Ex(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null}),vg(n=>{if(i=!0,(r=n)&&r.ngNavigationCancelingError){const i=ak(n.url);i||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const r=new Ex(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(r),i?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const i=new Ix(t.id,this.serializeUrl(t.extractedUrl),n);e.next(i);try{t.resolve(this.errorHandler(n))}catch(hE){t.reject(hE)}}var r;return Ca.a}));var r,s,a}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:i}=e,r={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,0!==Object.keys(t).length&&(r.state=t)}this.scheduleNavigation(i,t,n,r)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return!(e.transitionId===t.transitionId&&n&&("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){uk(t),this.config=t.map(fk),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:s,preserveFragment:a}=e,o=n||this.routerState.root,l=a?this.currentUrlTree.fragment:r;let c=null;switch(s){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,i,r){if(0===n.length)return qC(e.root,e.root,e,i,r);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new $C(!0,0,t);let e=0,n=!1;const i=t.reduce((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return eC(i.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):[...t,i]},[]);return new $C(n,e,i)}(n);if(s.toRoot())return qC(e.root,new lC([],{}),e,i,r);const a=function(t,e,n){if(t.isAbsolute)return new XC(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new XC(t,t===e.root,0)}const i=UC(t.commands[0])?0:1;return function(t,e,n){let i=t,r=e,s=n;for(;s>r;){if(s-=r,i=i.parent,!i)throw new Error("Invalid number of '../'");r=i.segments.length}return new XC(i,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(s,e,t),o=a.processChildren?JC(a.segmentGroup,a.index,s.commands):KC(a.segmentGroup,a.index,s.commands);return qC(a.segmentGroup,o,e,i,r)}(o,this.currentUrlTree,t,c,l)}navigateByUrl(t,e={skipLocationChange:!1}){const n=ak(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new Ax(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,i,r){const s=this.getTransition(),a="imperative"!==e&&"imperative"===(null==s?void 0:s.source),o=(this.lastSuccessfulId===s.id||this.currentNavigation?s.rawUrl:s.urlAfterRedirects).toString()===t.toString();if(a&&o)return Promise.resolve(!0);let l,c,u;r?(l=r.resolve,c=r.reject,u=r.promise):u=new Promise((t,e)=>{l=t,c=e});const d=++this.navigationId;return this.setTransition({id:d,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:l,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,i){const r=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.P),i.Xb(dC),i.Xb(Qk),i.Xb(S),i.Xb(i.t),i.Xb(i.y),i.Xb(i.i),i.Xb(void 0))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),rT=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new Ia.a,this.subscription=t.events.subscribe(t=>{t instanceof Ax&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,i,r){if(0!==t||e||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const s={skipLocationChange:sT(this.skipLocationChange),replaceUrl:sT(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,s),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:sT(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(iT),i.Nb(RC),i.Nb(g))},t.\u0275dir=i.Ib({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&i.bc("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(i.Wb("href",e.href,i.tc),i.Db("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[i.Ab]}),t})();function sT(t){return""===t||!!t}let aT=(()=>{class t{constructor(t,e,n,r,s){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.o,this.deactivateEvents=new i.o,this.name=r||qx,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new oT(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Qk),i.Nb(i.S),i.Nb(i.j),i.Yb("name"),i.Nb(i.h))},t.\u0275dir=i.Ib({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class oT{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===RC?this.route:t===Qk?this.childContexts:this.parent.get(t,e)}}class lT{}class cT{preload(t,e){return Object(nr.a)(null)}}let uT=(()=>{class t{constructor(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new Kk(e,n,e=>t.triggerEvent(new Fx(e)),e=>t.triggerEvent(new Bx(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(or(t=>t instanceof Ax),sr(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(i.z);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const i of e)if(i.loadChildren&&!i.canLoad&&i._loadedConfig){const t=i._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else i.loadChildren&&!i.canLoad?n.push(this.preloadConfig(t,i)):i.children&&n.push(this.processRoutes(t,i.children));return Object(Wr.a)(n).pipe(Object(Oa.a)(),Object(ur.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(rr.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(iT),i.Xb(i.y),i.Xb(i.i),i.Xb(i.t),i.Xb(lT))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),dT=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Ox?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ax&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof Wx&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new Wx(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(iT),i.Xb(Yt),i.Xb(void 0))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();const hT=new i.s("ROUTER_CONFIGURATION"),fT=new i.s("ROUTER_FORROOT_GUARD"),mT=[S,{provide:dC,useClass:hC},{provide:iT,useFactory:function(t,e,n,i,r,s,o,l={},c,u){const d=new iT(null,t,e,n,i,r,s,Zx(o));if(c&&(d.urlHandlingStrategy=c),u&&(d.routeReuseStrategy=u),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(l,d),l.enableTracing){const t=a();d.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return d},deps:[dC,Qk,S,i.t,i.y,i.i,Xk,hT,[class{},new i.C],[class{},new i.C]]},Qk,{provide:RC,useFactory:function(t){return t.routerState.root},deps:[iT]},{provide:i.y,useClass:i.M},uT,cT,class{preload(t,e){return e().pipe(vg(()=>Object(nr.a)(null)))}},{provide:hT,useValue:{enableTracing:!1}}];function pT(){return new i.A("Router",iT)}let bT=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[mT,vT(e),{provide:fT,useFactory:yT,deps:[[iT,new i.C,new i.L]]},{provide:hT,useValue:n||{}},{provide:g,useFactory:_T,deps:[l,[new i.q(y),new i.C],hT]},{provide:dT,useFactory:gT,deps:[iT,Yt,hT]},{provide:lT,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:cT},{provide:i.A,multi:!0,useFactory:pT},[wT,{provide:i.d,multi:!0,useFactory:ST,deps:[wT]},{provide:CT,useFactory:xT,deps:[wT]},{provide:i.b,multi:!0,useExisting:CT}]]}}static forChild(e){return{ngModule:t,providers:[vT(e)]}}}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)(i.Xb(fT,8),i.Xb(iT,8))}}),t})();function gT(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new dT(t,e,n)}function _T(t,e,n={}){return n.useHash?new w(t,e):new v(t,e)}function yT(t){return"guarded"}function vT(t){return[{provide:i.a,multi:!0,useValue:t},{provide:Xk,multi:!0,useValue:t}]}let wT=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new Ia.a}appInitializer(){return this.injector.get(u,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(iT),i=this.injector.get(hT);return"disabled"===i.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===i.initialNavigation||"enabledBlocking"===i.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?Object(nr.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(hT),n=this.injector.get(uT),r=this.injector.get(dT),s=this.injector.get(iT),a=this.injector.get(i.g);t===a.components[0]&&("enabledNonBlocking"!==e.initialNavigation&&void 0!==e.initialNavigation||s.initialNavigation(),n.setUpPreloading(),r.init(),s.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(i.t))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})();function ST(t){return t.appInitializer.bind(t)}function xT(t){return t.bootstrapListener.bind(t)}const CT=new i.s("Router Initializer");function kT(t,e,n,i){return new(n||(n=Promise))(function(r,s){function a(t){try{l(i.next(t))}catch(UB){s(UB)}}function o(t){try{l(i.throw(t))}catch(UB){s(UB)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,o)}l((i=i.apply(t,e||[])).next())})}var TT=n("Jgta"),MT=n("zIRd"),DT=n("q/0M"),LT=n("qOnz"),OT=function(t,e){return(OT=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function AT(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}var ET,IT="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},RT=RT||{},YT=IT||self;function jT(){}function NT(t){var e=typeof t;return"array"==(e="object"!=e?e:t?Array.isArray(t)?"array":e:"null")||"object"==e&&"number"==typeof t.length}function PT(t){var e=typeof t;return"object"==e&&null!=t||"function"==e}var FT="closure_uid_"+(1e9*Math.random()>>>0),BT=0;function HT(t,e,n){return t.call.apply(t.bind,arguments)}function VT(t,e,n){if(!t)throw Error();if(2e?1:0}t:{var iM=YT.navigator;if(iM){var rM=iM.userAgent;if(rM){ZT=rM;break t}}ZT=""}function sM(t,e,n){for(var i in t)e.call(n,t[i],i,t)}function aM(t){var e={};for(var n in t)e[n]=t[n];return e}var oM="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function lM(t,e){for(var n,i,r=1;rparseFloat(yM)){uM=String(wM);break t}}uM=yM}var SM={};function xM(t){return function(t,e){var n=SM;return Object.prototype.hasOwnProperty.call(n,t)?n[t]:n[t]=e()}(t,function(){for(var e=0,n=tM(String(uM)).split("."),i=tM(String(t)).split("."),r=Math.max(n.length,i.length),s=0;0==e&&s=t.keyCode)&&(t.keyCode=-1)}catch(e){}};var AM="closure_listenable_"+(1e6*Math.random()|0),EM=0;function IM(t,e,n,i,r){this.listener=t,this.proxy=null,this.src=e,this.type=n,this.capture=!!i,this.ca=r,this.key=++EM,this.Y=this.Z=!1}function RM(t){t.Y=!0,t.listener=null,t.proxy=null,t.src=null,t.ca=null}function YM(t){this.src=t,this.a={},this.b=0}function jM(t,e){var n=e.type;if(n in t.a){var i,r=t.a[n],s=$T(r,e);(i=0<=s)&&Array.prototype.splice.call(r,s,1),i&&(RM(e),0==t.a[n].length&&(delete t.a[n],t.b--))}}function NM(t,e,n,i){for(var r=0;r>>0);function KM(t){return"function"==typeof t?t:(t[XM]||(t[XM]=function(e){return t.handleEvent(e)}),t[XM])}function JM(){GT.call(this),this.c=new YM(this),this.J=this,this.C=null}function QM(t,e){var n,i=t.C;if(i)for(n=[];i;i=i.C)n.push(i);if(t=t.J,i=e.type||e,"string"==typeof e)e=new DM(e,t);else if(e instanceof DM)e.target=e.target||t;else{var r=e;lM(e=new DM(i,t),r)}if(r=!0,n)for(var s=n.length-1;0<=s;s--){var a=e.a=n[s];r=ZM(a,i,!0,e)&&r}if(r=ZM(a=e.a=t,i,!0,e)&&r,r=ZM(a,i,!1,e)&&r,n)for(s=0;se.b&&(e.b++,t.next=e.a,e.a=t)}lD=!1}function dD(t,e){JM.call(this),this.b=t||1,this.a=e||YT,this.f=zT(this.Za,this),this.g=WT()}function hD(t){t.aa=!1,t.M&&(t.a.clearTimeout(t.M),t.M=null)}function fD(t,e,n){if("function"==typeof t)n&&(t=zT(t,n));else{if(!t||"function"!=typeof t.handleEvent)throw Error("Invalid listener argument");t=zT(t.handleEvent,t)}return 2147483647i.length)){var r=i[1];if(Array.isArray(r)&&!(1>r.length)){var s=r[0];if("noop"!=s&&"stop"!=s&&"close"!=s)for(var a=1;ae.length?zD:(e=e.substr(i,n),t.D=i+n,e))}function $D(t){t.T=WT()+t.P,XD(t,t.P)}function XD(t,e){if(null!=t.o)throw Error("WatchDog timer not null");t.o=OD(zT(t.Va,t),e)}function KD(t){t.o&&(YT.clearTimeout(t.o),t.o=null)}function JD(t){0==t.g.v||t.A||mO(t.g,t)}function QD(t){KD(t);var e=t.F;e&&"function"==typeof e.ja&&e.ja(),t.F=null,hD(t.R),yD(t.J),t.a&&(e=t.a,t.a=null,e.abort(),e.ja())}function ZD(t,e){try{var n=t.g;if(0!=n.v&&(n.a==t||EL(n.b,t)))if(n.I=t.N,!t.C&&EL(n.b,t)&&3==n.v){try{var i=n.ka.a.parse(e)}catch(iB){i=null}if(Array.isArray(i)&&3==i.length){var r=i;if(0==r[0]){t:if(!n.j){if(n.a){if(!(n.a.u+3e3r[2]&&n.H&&0==n.o&&!n.m&&(n.m=OD(zT(n.Sa,n),6e3));if(1>=AL(n.b)&&n.ea){try{n.ea()}catch(iB){}n.ea=void 0}}else bO(n,11)}else if((t.C||n.a==t)&&fO(n),!QT(e))for(e=i=n.ka.a.parse(e),i=0;ie||3==e&&!pM&&!this.a.$())){this.A||4!=e||7==n||TD(8==n||0>=i?3:2),KD(this);var r=this.a.W();this.N=r;var s=this.a.$();if(this.b=200==r,function(t,e,n,i,r,s,a){t.info(function(){return"XMLHTTP RESP ("+i+") [ attempt "+r+"]: "+e+"\n"+n+"\n"+s+" "+a})}(this.c,this.m,this.l,this.f,this.S,e,r),this.b){if(this.U&&!this.C){e:{if(this.a){var a,o=this.a;if((a=o.a?o.a.getResponseHeader("X-HTTP-Initial-Response"):null)&&!QT(a)){var l=a;break e}}l=null}if(!l){this.b=!1,this.h=3,DD(12),QD(this),JD(this);break t}wD(this.c,this.f,l,"Initial handshake response via X-HTTP-Initial-Response"),this.C=!0,ZD(this,l)}this.I?(qD(this,e,s),pM&&this.b&&3==e&&(_D(this.J,this.R,"tick",this.Wa),this.R.start())):(wD(this.c,this.f,s,null),ZD(this,s)),4==e&&QD(this),this.b&&!this.A&&(4==e?mO(this.g,this):(this.b=!1,$D(this)))}else 400==r&&0e)throw Error("Bad port number "+e);t.h=e}else t.h=null}function uL(t,e,n){e instanceof wL?(t.b=e,function(t,e){e&&!t.f&&(SL(t),t.c=null,t.a.forEach(function(t,e){var n=e.toLowerCase();e!=n&&(xL(this,e),kL(this,n,t))},t)),t.f=e}(t.b,t.a)):(n||(e=mL(e,yL)),t.b=new wL(e,t.a))}function dL(t,e,n){t.b.set(e,n)}function hL(t){return dL(t,"zx",Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^WT()).toString(36)),t}function fL(t,e){return t?e?decodeURI(t.replace(/%25/g,"%2525")):decodeURIComponent(t):""}function mL(t,e,n){return"string"==typeof t?(t=encodeURI(t).replace(e,pL),n&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}function pL(t){return"%"+((t=t.charCodeAt(0))>>4&15).toString(16)+(15&t).toString(16)}sL.prototype.toString=function(){var t=[],e=this.f;e&&t.push(mL(e,bL,!0),":");var n=this.c;return(n||"file"==e)&&(t.push("//"),(e=this.j)&&t.push(mL(e,bL,!0),"@"),t.push(encodeURIComponent(String(n)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(n=this.h)&&t.push(":",String(n))),(n=this.g)&&(this.c&&"/"!=n.charAt(0)&&t.push("/"),t.push(mL(n,"/"==n.charAt(0)?_L:gL,!0))),(n=this.b.toString())&&t.push("?",n),(n=this.i)&&t.push("#",mL(n,vL)),t.join("")};var bL=/[#\/\?@]/g,gL=/[#\?:]/g,_L=/[#\?]/g,yL=/[#\?@]/g,vL=/#/g;function wL(t,e){this.b=this.a=null,this.c=t||null,this.f=!!e}function SL(t){t.a||(t.a=new eL,t.b=0,t.c&&function(t,e){if(t){t=t.split("&");for(var n=0;n2*t.c&&nL(t)))}function CL(t,e){return SL(t),e=TL(t,e),iL(t.a.b,e)}function kL(t,e,n){xL(t,e),0=t.f}function AL(t){return t.b?1:t.a?t.a.size:0}function EL(t,e){return t.b?t.b==e:!!t.a&&t.a.has(e)}function IL(t,e){t.a?t.a.add(e):t.b=e}function RL(t,e){t.b&&t.b==e?t.b=null:t.a&&t.a.has(e)&&t.a.delete(e)}function YL(t){var e,n;if(null!=t.b)return t.c.concat(t.b.s);if(null!=t.a&&0!==t.a.size){var i=t.c;try{for(var r=AT(t.a.values()),s=r.next();!s.done;s=r.next())i=i.concat(s.value.s)}catch(a){e={error:a}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return i}return JT(t.c)}function jL(){}function NL(){this.a=new jL}function PL(t,e,n){var i=n||"";try{tL(t,function(t,n){var r=t;PT(t)&&(r=tD(t)),e.push(i+n+"="+encodeURIComponent(r))})}catch(UB){throw e.push(i+"type="+encodeURIComponent("_badmap")),UB}}function FL(t,e,n,i,r){try{e.onload=null,e.onerror=null,e.onabort=null,e.ontimeout=null,r(i)}catch(s){}}DL.prototype.cancel=function(){var t,e;if(this.c=YL(this),this.b)this.b.cancel(),this.b=null;else if(this.a&&0!==this.a.size){try{for(var n=AT(this.a.values()),i=n.next();!i.done;i=n.next())i.value.cancel()}catch(r){t={error:r}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}this.a.clear()}},jL.prototype.stringify=function(t){return YT.JSON.stringify(t,void 0)},jL.prototype.parse=function(t){return YT.JSON.parse(t,void 0)};var BL=YT.JSON.parse;function HL(t){JM.call(this),this.headers=new eL,this.H=t||null,this.b=!1,this.s=this.a=null,this.B="",this.h=0,this.f="",this.g=this.A=this.l=this.u=!1,this.o=0,this.m=null,this.I=VL,this.D=this.F=!1}qT(HL,JM);var VL="",zL=/^https?$/i,UL=["POST","PUT"];function WL(t){return"content-type"==t.toLowerCase()}function qL(t,e){t.b=!1,t.a&&(t.g=!0,t.a.abort(),t.g=!1),t.f=e,t.h=5,GL(t),XL(t)}function GL(t){t.u||(t.u=!0,QM(t,"complete"),QM(t,"error"))}function $L(t){if(t.b&&void 0!==RT&&(!t.s[1]||4!=JL(t)||2!=t.W()))if(t.l&&4==JL(t))fD(t.za,0,t);else if(QM(t,"readystatechange"),4==JL(t)){t.b=!1;try{var e,n=t.W();t:switch(n){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var i=!0;break t;default:i=!1}if(!(e=i)){var r;if(r=0===n){var s=String(t.B).match(rL)[1]||null;if(!s&&YT.self&&YT.self.location){var a=YT.self.location.protocol;s=a.substr(0,a.length-1)}r=!zL.test(s?s.toLowerCase():"")}e=r}if(e)QM(t,"complete"),QM(t,"success");else{t.h=6;try{var o=2(c-=s))s=Math.max(0,r[l].b-100),o=!1;else try{PL(u,a,"req"+c+"_")}catch(d){i&&i(u)}}if(o){i=a.join("&");break t}}return t=t.g.splice(0,n),e.s=t,i}function cO(t){t.a||t.j||(t.T=1,oD(t.Aa,t),t.o=0)}function uO(t){return!(t.a||t.j||3<=t.o||(t.T++,t.j=OD(zT(t.Aa,t),pO(t,t.o)),t.o++,0))}function dO(t){null!=t.s&&(YT.clearTimeout(t.s),t.s=null)}function hO(t){t.a=new BD(t,t.c,"rpc",t.T),null===t.i&&(t.a.B=t.l),t.a.O=0;var e=aL(t.la);dL(e,"RID","rpc"),dL(e,"SID",t.J),dL(e,"CI",t.H?"0":"1"),dL(e,"AID",t.P),oO(t,e),dL(e,"TYPE","xmlhttp"),t.i&&t.l&&QL(e,t.i,t.l),t.D&&t.a.setTimeout(t.D);var n=t.a;t=t.ga,n.H=1,n.i=hL(aL(e)),n.j=null,n.I=!0,WD(n,t)}function fO(t){null!=t.m&&(YT.clearTimeout(t.m),t.m=null)}function mO(t,e){var n=null;if(t.a==e){fO(t),dO(t),t.a=null;var i=2}else{if(!EL(t.b,e))return;n=e.s,RL(t.b,e),i=1}if(t.I=e.N,0!=t.v)if(e.b)if(1==i){n=e.j?e.j.length:0,e=WT()-e.u;var r=t.u;QM(i=CD(),new LD(i,n,e,r)),sO(t)}else cO(t);else if(3==(r=e.h)||0==r&&0=t.b.f-(t.h?1:0)||(t.h?(t.g=e.s.concat(t.g),0):1==t.v||2==t.v||t.u>=(t.La?0:t.Ma)||(t.h=OD(zT(t.Ba,t,e),pO(t,t.u)),t.u++,0)))}(t,e)||2==i&&uO(t)))switch(n&&0e?null:"string"==typeof t?t.charAt(e):t[e]}(r.L()),n=YT.FormData&&t instanceof YT.FormData,!(0<=$T(UL,e))||i||n||r.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),r.forEach(function(t,e){this.a.setRequestHeader(e,t)},this),this.I&&(this.a.responseType=this.I),"withCredentials"in this.a&&this.a.withCredentials!==this.F&&(this.a.withCredentials=this.F);try{KL(this),0=this.N)){var t=2*this.N;this.c.info("BP detection timer enabled: "+t),this.s=OD(zT(this.Ta,this),t)}},ET.Ta=function(){this.s&&(this.s=null,this.c.info("BP detection timeout reached."),this.c.info("Buffering proxy detected and switch to long-polling!"),this.H=!1,this.F=!0,DD(10),nO(this),hO(this))},ET.Sa=function(){null!=this.m&&(this.m=null,nO(this),uO(this),DD(19))},ET.Ya=function(t){t?(this.c.info("Successfully pinged google.com"),DD(2)):(this.c.info("Failed to ping google.com"),DD(1))},(ET=vO.prototype).ta=function(){},ET.sa=function(){},ET.ra=function(){},ET.qa=function(){},ET.Ja=function(){},wO.prototype.a=function(t,e){return new SO(t,e)},qT(SO,JM),SO.prototype.g=function(){this.a.f=this.f,this.m&&(this.a.C=!0);var t=this.a,e=this.o,n=this.b||void 0;DD(0),t.fa=e,t.V=n||{},t.H=t.S,t.B=_O(t,null,t.fa),sO(t)},SO.prototype.close=function(){eO(this.a)},SO.prototype.h=function(t){if("string"==typeof t){var e={};e.__data__=t,rO(this.a,e)}else this.l?((e={}).__data__=tD(t),rO(this.a,e)):rO(this.a,t)},SO.prototype.G=function(){this.a.f=null,delete this.f,eO(this.a),delete this.a,SO.X.G.call(this)},qT(xO,ND),qT(CO,PD),qT(kO,vO),kO.prototype.ta=function(){QM(this.a,"a")},kO.prototype.sa=function(t){QM(this.a,new xO(t))},kO.prototype.ra=function(t){QM(this.a,new CO(t))},kO.prototype.qa=function(){QM(this.a,"b")},wO.prototype.createWebChannel=wO.prototype.a,SO.prototype.send=SO.prototype.h,SO.prototype.open=SO.prototype.g,SO.prototype.close=SO.prototype.close,AD.NO_ERROR=0,AD.TIMEOUT=8,AD.HTTP_ERROR=6,ED.COMPLETE="complete",RD.EventType=jD,jD.OPEN="a",jD.CLOSE="b",jD.ERROR="c",jD.MESSAGE="d",JM.prototype.listen=JM.prototype.va,HL.prototype.listenOnce=HL.prototype.wa,HL.prototype.getLastError=HL.prototype.Qa,HL.prototype.getLastErrorCode=HL.prototype.ua,HL.prototype.getStatus=HL.prototype.W,HL.prototype.getResponseJson=HL.prototype.Pa,HL.prototype.getResponseText=HL.prototype.$,HL.prototype.send=HL.prototype.ba;var TO=AD,MO=ED,DO=SD,LO=RD,OO=HL,AO=n("30Go"),EO=new DT.b("@firebase/firestore");function IO(){return EO.logLevel}function RO(t){for(var e=[],n=1;ne?1:0}function UO(t,e,n){return t.length===e.length&&t.every(function(t,i){return n(t,e[i])})}function WO(t){return t+"\0"}var qO=function(){function t(t){this.i=t}return t.fromBase64String=function(e){return new t(atob(e))},t.fromUint8Array=function(e){return new t(function(t){for(var e="",n=0;n=1e9)throw new $O(GO.INVALID_ARGUMENT,"Timestamp nanoseconds out of range: "+e);if(t<-62135596800)throw new $O(GO.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t);if(t>=253402300800)throw new $O(GO.INVALID_ARGUMENT,"Timestamp seconds out of range: "+t)}return t.now=function(){return t.fromMillis(Date.now())},t.fromDate=function(e){return t.fromMillis(e.getTime())},t.fromMillis=function(e){var n=Math.floor(e/1e3);return new t(n,1e6*(e-1e3*n))},t.prototype.toDate=function(){return new Date(this.toMillis())},t.prototype.toMillis=function(){return 1e3*this.seconds+this.nanoseconds/1e6},t.prototype.K=function(t){return this.seconds===t.seconds?zO(this.nanoseconds,t.nanoseconds):zO(this.seconds,t.seconds)},t.prototype.isEqual=function(t){return t.seconds===this.seconds&&t.nanoseconds===this.nanoseconds},t.prototype.toString=function(){return"Timestamp(seconds="+this.seconds+", nanoseconds="+this.nanoseconds+")"},t.prototype.toJSON=function(){return{seconds:this.seconds,nanoseconds:this.nanoseconds}},t.prototype.valueOf=function(){return String(this.seconds- -62135596800).padStart(12,"0")+"."+String(this.nanoseconds).padStart(9,"0")},t}(),uA=function(){function t(t){this.timestamp=t}return t.j=function(e){return new t(e)},t.min=function(){return new t(new cA(0,0))},t.prototype.u=function(t){return this.timestamp.K(t.timestamp)},t.prototype.isEqual=function(t){return this.timestamp.isEqual(t.timestamp)},t.prototype.W=function(){return 1e6*this.timestamp.seconds+this.timestamp.nanoseconds/1e3},t.prototype.toString=function(){return"SnapshotVersion("+this.timestamp.toString()+")"},t.prototype.G=function(){return this.timestamp},t}(),dA=function(){function t(t,e,n){void 0===e?e=0:e>t.length&&PO(),void 0===n?n=t.length-e:n>t.length-e&&PO(),this.segments=t,this.offset=e,this.H=n}return Object.defineProperty(t.prototype,"length",{get:function(){return this.H},enumerable:!1,configurable:!0}),t.prototype.isEqual=function(e){return 0===t.J(this,e)},t.prototype.child=function(e){var n=this.segments.slice(this.offset,this.limit());return e instanceof t?e.forEach(function(t){n.push(t)}):n.push(e),this.Y(n)},t.prototype.limit=function(){return this.offset+this.length},t.prototype.X=function(t){return this.Y(this.segments,this.offset+(t=void 0===t?1:t),this.length-t)},t.prototype.Z=function(){return this.Y(this.segments,this.offset,this.length-1)},t.prototype.tt=function(){return this.segments[this.offset]},t.prototype.et=function(){return this.get(this.length-1)},t.prototype.get=function(t){return this.segments[this.offset+t]},t.prototype.nt=function(){return 0===this.length},t.prototype.st=function(t){if(t.lengths)return 1}return t.lengthe.length?1:0},t}(),hA=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(AO.c)(e,t),e.prototype.Y=function(t,n,i){return new e(t,n,i)},e.prototype.ot=function(){return this.rt().join("/")},e.prototype.toString=function(){return this.ot()},e.ct=function(){for(var t=[],n=0;n=0)throw new $O(GO.INVALID_ARGUMENT,"Invalid segment ("+a+"). Paths must not contain // in them.");i.push.apply(i,a.split("/").filter(function(t){return t.length>0}))}return new e(i)},e.at=function(){return new e([])},e}(dA),fA=/^[_a-zA-Z][_a-zA-Z0-9]*$/,mA=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(AO.c)(e,t),e.prototype.Y=function(t,n,i){return new e(t,n,i)},e.ut=function(t){return fA.test(t)},e.prototype.ot=function(){return this.rt().map(function(t){return t=t.replace(/\\/g,"\\\\").replace(/`/g,"\\`"),e.ut(t)||(t="`"+t+"`"),t}).join(".")},e.prototype.toString=function(){return this.ot()},e.prototype.ht=function(){return 1===this.length&&"__name__"===this.get(0)},e.lt=function(){return new e(["__name__"])},e._t=function(t){for(var n=[],i="",r=0,s=function(){if(0===i.length)throw new $O(GO.INVALID_ARGUMENT,"Invalid field path ("+t+"). Paths must not be empty, begin with '.', end with '.', or contain '..'");n.push(i),i=""},a=!1;r=2&&this.path.get(this.path.length-2)===t},t.prototype.isEqual=function(t){return null!==t&&0===hA.J(this.path,t.path)},t.prototype.toString=function(){return this.path.toString()},t.J=function(t,e){return hA.J(t.path,e.path)},t.Et=function(t){return t.length%2==0},t.Tt=function(e){return new t(new hA(e.slice()))},t}();function bA(t){var e=0;for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e++;return e}function gA(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e(n,t[n])}function _A(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0}var yA=function(){function t(t){this.fields=t,t.sort(mA.J)}return t.prototype.It=function(t){for(var e=0,n=this.fields;e=Number.MIN_SAFE_INTEGER}function OA(t){return"nullValue"in t?0:"booleanValue"in t?1:"integerValue"in t||"doubleValue"in t?2:"timestampValue"in t?3:"stringValue"in t?5:"bytesValue"in t?6:"referenceValue"in t?7:"geoPointValue"in t?8:"arrayValue"in t?9:"mapValue"in t?CA(t)?4:10:PO()}function AA(t,e){var n=OA(t);if(n!==OA(e))return!1;switch(n){case 0:return!0;case 1:return t.booleanValue===e.booleanValue;case 4:return TA(t).isEqual(TA(e));case 3:return function(t,e){if("string"==typeof t.timestampValue&&"string"==typeof e.timestampValue&&t.timestampValue.length===e.timestampValue.length)return t.timestampValue===e.timestampValue;var n=wA(t.timestampValue),i=wA(e.timestampValue);return n.seconds===i.seconds&&n.nanos===i.nanos}(t,e);case 5:return t.stringValue===e.stringValue;case 6:return function(t,e){return xA(t.bytesValue).isEqual(xA(e.bytesValue))}(t,e);case 7:return t.referenceValue===e.referenceValue;case 8:return function(t,e){return SA(t.geoPointValue.latitude)===SA(e.geoPointValue.latitude)&&SA(t.geoPointValue.longitude)===SA(e.geoPointValue.longitude)}(t,e);case 2:return function(t,e){if("integerValue"in t&&"integerValue"in e)return SA(t.integerValue)===SA(e.integerValue);if("doubleValue"in t&&"doubleValue"in e){var n=SA(t.doubleValue),i=SA(e.doubleValue);return n===i?DA(n)===DA(i):isNaN(n)&&isNaN(i)}return!1}(t,e);case 9:return UO(t.arrayValue.values||[],e.arrayValue.values||[],AA);case 10:return function(t,e){var n=t.mapValue.fields||{},i=e.mapValue.fields||{};if(bA(n)!==bA(i))return!1;for(var r in n)if(n.hasOwnProperty(r)&&(void 0===i[r]||!AA(n[r],i[r])))return!1;return!0}(t,e);default:return PO()}}function EA(t,e){return void 0!==(t.values||[]).find(function(t){return AA(t,e)})}function IA(t,e){var n=OA(t),i=OA(e);if(n!==i)return zO(n,i);switch(n){case 0:return 0;case 1:return zO(t.booleanValue,e.booleanValue);case 2:return function(t,e){var n=SA(t.integerValue||t.doubleValue),i=SA(e.integerValue||e.doubleValue);return ni?1:n===i?0:isNaN(n)?isNaN(i)?0:-1:1}(t,e);case 3:return RA(t.timestampValue,e.timestampValue);case 4:return RA(TA(t),TA(e));case 5:return zO(t.stringValue,e.stringValue);case 6:return function(t,e){var n=xA(t),i=xA(e);return n.u(i)}(t.bytesValue,e.bytesValue);case 7:return function(t,e){for(var n=t.split("/"),i=e.split("/"),r=0;r":return t>0;case">=":return t>=0;default:return PO()}},e.prototype.xt=function(){return["<","<=",">",">=","!=","not-in"].indexOf(this.op)>=0},e}(function(){}),nE=function(t){function e(e,n,i){var r=this;return(r=t.call(this,e,n,i)||this).key=pA.dt(i.referenceValue),r}return Object(AO.c)(e,t),e.prototype.matches=function(t){var e=pA.J(t.key,this.key);return this.Ct(e)},e}(eE),iE=function(t){function e(e,n){var i=this;return(i=t.call(this,e,"in",n)||this).keys=sE(0,n),i}return Object(AO.c)(e,t),e.prototype.matches=function(t){return this.keys.some(function(e){return e.isEqual(t.key)})},e}(eE),rE=function(t){function e(e,n){var i=this;return(i=t.call(this,e,"not-in",n)||this).keys=sE(0,n),i}return Object(AO.c)(e,t),e.prototype.matches=function(t){return!this.keys.some(function(e){return e.isEqual(t.key)})},e}(eE);function sE(t,e){var n;return((null===(n=e.arrayValue)||void 0===n?void 0:n.values)||[]).map(function(t){return pA.dt(t.referenceValue)})}var aE=function(t){function e(e,n){return t.call(this,e,"array-contains",n)||this}return Object(AO.c)(e,t),e.prototype.matches=function(t){var e=t.field(this.field);return FA(e)&&EA(e.arrayValue,this.value)},e}(eE),oE=function(t){function e(e,n){return t.call(this,e,"in",n)||this}return Object(AO.c)(e,t),e.prototype.matches=function(t){var e=t.field(this.field);return null!==e&&EA(this.value.arrayValue,e)},e}(eE),lE=function(t){function e(e,n){return t.call(this,e,"not-in",n)||this}return Object(AO.c)(e,t),e.prototype.matches=function(t){if(EA(this.value.arrayValue,{nullValue:"NULL_VALUE"}))return!1;var e=t.field(this.field);return null!==e&&!EA(this.value.arrayValue,e)},e}(eE),cE=function(t){function e(e,n){return t.call(this,e,"array-contains-any",n)||this}return Object(AO.c)(e,t),e.prototype.matches=function(t){var e=this,n=t.field(this.field);return!(!FA(n)||!n.arrayValue.values)&&n.arrayValue.values.some(function(t){return EA(e.value.arrayValue,t)})},e}(eE),uE=function(t,e){this.position=t,this.before=e};function dE(t){return(t.before?"b":"a")+":"+t.position.map(function(t){return YA(t)}).join(",")}var hE=function(t,e){void 0===e&&(e="asc"),this.field=t,this.dir=e};function fE(t,e){return t.dir===e.dir&&t.field.isEqual(e.field)}function mE(t,e,n){for(var i=0,r=0;r0?t.Nt[0].field:null}function SE(t){for(var e=0,n=t.filters;e0?e.Nt[e.Nt.length-1].dir:"asc";e.Ot.push(new hE(mA.lt(),l))}}}return e.Ot}function kE(t){var e=BO(t);if(!e.Ft)if("F"===e.limitType)e.Ft=JA(e.path,e.collectionGroup,CE(e),e.filters,e.limit,e.startAt,e.endAt);else{for(var n=[],i=0,r=CE(e);i0&&(e+=", orderBy: ["+t.orderBy.map(function(t){return function(t){return t.field.ot()+" ("+t.dir+")"}(t)}).join(", ")+"]"),t.startAt&&(e+=", startAt: "+dE(t.startAt)),t.endAt&&(e+=", endAt: "+dE(t.endAt)),"Target("+e+")"}(kE(t))+"; limitType="+t.limitType+")"}function OE(t,e){return function(t,e){var n=e.key.path;return null!==t.collectionGroup?e.key.wt(t.collectionGroup)&&t.path.st(n):pA.Et(t.path)?t.path.isEqual(n):t.path.it(n)}(t,e)&&function(t,e){for(var n=0,i=t.Nt;n0&&(e=e.right)}return null},t.prototype.indexOf=function(t){for(var e=0,n=this.root;!n.nt();){var i=this.J(t,n.key);if(0===i)return e+n.left.size;i<0?n=n.left:(e+=n.left.size+1,n=n.right)}return-1},t.prototype.nt=function(){return this.root.nt()},Object.defineProperty(t.prototype,"size",{get:function(){return this.root.size},enumerable:!1,configurable:!0}),t.prototype.Yt=function(){return this.root.Yt()},t.prototype.Xt=function(){return this.root.Xt()},t.prototype.Zt=function(t){return this.root.Zt(t)},t.prototype.forEach=function(t){this.Zt(function(e,n){return t(e,n),!1})},t.prototype.toString=function(){var t=[];return this.Zt(function(e,n){return t.push(e+":"+n),!1}),"{"+t.join(", ")+"}"},t.prototype.te=function(t){return this.root.te(t)},t.prototype.ee=function(){return new yI(this.root,null,this.J,!1)},t.prototype.ne=function(t){return new yI(this.root,t,this.J,!1)},t.prototype.se=function(){return new yI(this.root,null,this.J,!0)},t.prototype.ie=function(t){return new yI(this.root,t,this.J,!0)},t}(),yI=function(){function t(t,e,n,i){this.re=i,this.oe=[];for(var r=1;!t.nt();)if(r=e?n(t.key,e):1,i&&(r*=-1),r<0)t=this.re?t.left:t.right;else{if(0===r){this.oe.push(t);break}this.oe.push(t),t=this.re?t.right:t.left}}return t.prototype.ce=function(){var t=this.oe.pop(),e={key:t.key,value:t.value};if(this.re)for(t=t.left;!t.nt();)this.oe.push(t),t=t.right;else for(t=t.right;!t.nt();)this.oe.push(t),t=t.left;return e},t.prototype.ae=function(){return this.oe.length>0},t.prototype.ue=function(){if(0===this.oe.length)return null;var t=this.oe[this.oe.length-1];return{key:t.key,value:t.value}},t}(),vI=function(){function t(e,n,i,r,s){this.key=e,this.value=n,this.color=null!=i?i:t.RED,this.left=null!=r?r:t.EMPTY,this.right=null!=s?s:t.EMPTY,this.size=this.left.size+1+this.right.size}return t.prototype.copy=function(e,n,i,r,s){return new t(null!=e?e:this.key,null!=n?n:this.value,null!=i?i:this.color,null!=r?r:this.left,null!=s?s:this.right)},t.prototype.nt=function(){return!1},t.prototype.Zt=function(t){return this.left.Zt(t)||t(this.key,this.value)||this.right.Zt(t)},t.prototype.te=function(t){return this.right.te(t)||t(this.key,this.value)||this.left.te(t)},t.prototype.min=function(){return this.left.nt()?this:this.left.min()},t.prototype.Yt=function(){return this.min().key},t.prototype.Xt=function(){return this.right.nt()?this.key:this.right.Xt()},t.prototype.Ht=function(t,e,n){var i=this,r=n(t,i.key);return(i=r<0?i.copy(null,null,null,i.left.Ht(t,e,n),null):0===r?i.copy(null,e,null,null,null):i.copy(null,null,null,null,i.right.Ht(t,e,n))).he()},t.prototype.le=function(){if(this.left.nt())return t.EMPTY;var e=this;return e.left._e()||e.left.left._e()||(e=e.fe()),(e=e.copy(null,null,null,e.left.le(),null)).he()},t.prototype.remove=function(e,n){var i,r=this;if(n(e,r.key)<0)r.left.nt()||r.left._e()||r.left.left._e()||(r=r.fe()),r=r.copy(null,null,null,r.left.remove(e,n),null);else{if(r.left._e()&&(r=r.de()),r.right.nt()||r.right._e()||r.right.left._e()||(r=r.we()),0===n(e,r.key)){if(r.right.nt())return t.EMPTY;i=r.right.min(),r=r.copy(i.key,i.value,null,null,r.right.le())}r=r.copy(null,null,null,null,r.right.remove(e,n))}return r.he()},t.prototype._e=function(){return this.color},t.prototype.he=function(){var t=this;return t.right._e()&&!t.left._e()&&(t=t.Ee()),t.left._e()&&t.left.left._e()&&(t=t.de()),t.left._e()&&t.right._e()&&(t=t.Te()),t},t.prototype.fe=function(){var t=this.Te();return t.right.left._e()&&(t=(t=(t=t.copy(null,null,null,null,t.right.de())).Ee()).Te()),t},t.prototype.we=function(){var t=this.Te();return t.left.left._e()&&(t=(t=t.de()).Te()),t},t.prototype.Ee=function(){var e=this.copy(null,null,t.RED,null,this.right.left);return this.right.copy(null,null,this.color,e,null)},t.prototype.de=function(){var e=this.copy(null,null,t.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,e)},t.prototype.Te=function(){var t=this.left.copy(null,null,!this.left.color,null,null),e=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,t,e)},t.prototype.Ie=function(){var t=this.me();return Math.pow(2,t)<=this.size+1},t.prototype.me=function(){if(this._e()&&this.left._e())throw PO();if(this.right._e())throw PO();var t=this.left.me();if(t!==this.right.me())throw PO();return t+(this._e()?0:1)},t}();vI.EMPTY=null,vI.RED=!0,vI.Jt=!1,vI.EMPTY=new(function(){function t(){this.size=0}return Object.defineProperty(t.prototype,"key",{get:function(){throw PO()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){throw PO()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){throw PO()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){throw PO()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"right",{get:function(){throw PO()},enumerable:!1,configurable:!0}),t.prototype.copy=function(t,e,n,i,r){return this},t.prototype.Ht=function(t,e,n){return new vI(t,e)},t.prototype.remove=function(t,e){return this},t.prototype.nt=function(){return!0},t.prototype.Zt=function(t){return!1},t.prototype.te=function(t){return!1},t.prototype.Yt=function(){return null},t.prototype.Xt=function(){return null},t.prototype._e=function(){return!1},t.prototype.Ie=function(){return!0},t.prototype.me=function(){return 0},t}());var wI=function(){function t(t){this.J=t,this.data=new _I(this.J)}return t.prototype.has=function(t){return null!==this.data.get(t)},t.prototype.first=function(){return this.data.Yt()},t.prototype.last=function(){return this.data.Xt()},Object.defineProperty(t.prototype,"size",{get:function(){return this.data.size},enumerable:!1,configurable:!0}),t.prototype.indexOf=function(t){return this.data.indexOf(t)},t.prototype.forEach=function(t){this.data.Zt(function(e,n){return t(e),!1})},t.prototype.Ae=function(t,e){for(var n=this.data.ne(t[0]);n.ae();){var i=n.ce();if(this.J(i.key,t[1])>=0)return;e(i.key)}},t.prototype.Re=function(t,e){var n;for(n=void 0!==e?this.data.ne(e):this.data.ee();n.ae();)if(!t(n.ce().key))return},t.prototype.Pe=function(t){var e=this.data.ne(t);return e.ae()?e.ce().key:null},t.prototype.ee=function(){return new SI(this.data.ee())},t.prototype.ne=function(t){return new SI(this.data.ne(t))},t.prototype.add=function(t){return this.copy(this.data.remove(t).Ht(t,!0))},t.prototype.delete=function(t){return this.has(t)?this.copy(this.data.remove(t)):this},t.prototype.nt=function(){return this.data.nt()},t.prototype.ye=function(t){var e=this;return e.size0&&(this.Xe=!0,this.Je=t)},t.prototype.nn=function(){var t=AI(),e=AI(),n=AI();return this.He.forEach(function(i,r){switch(r){case 0:t=t.add(i);break;case 2:e=e.add(i);break;case 1:n=n.add(i);break;default:PO()}}),new PI(this.Je,this.Ye,t,e,n)},t.prototype.sn=function(){this.Xe=!1,this.He=WI()},t.prototype.rn=function(t,e){this.Xe=!0,this.He=this.He.Ht(t,e)},t.prototype.on=function(t){this.Xe=!0,this.He=this.He.remove(t)},t.prototype.cn=function(){this.ze+=1},t.prototype.an=function(){this.ze-=1},t.prototype.un=function(){this.Xe=!0,this.Ye=!0},t}(),zI=function(){function t(t){this.hn=t,this.ln=new Map,this._n=CI(),this.fn=UI(),this.dn=new wI(zO)}return t.prototype.wn=function(t){for(var e=0,n=t.je;e0?t.targetIds.forEach(e):this.ln.forEach(function(t,i){n.Rn(i)&&e(i)})},t.prototype.yn=function(t){var e=t.targetId,n=t.Ge.count,i=this.gn(e);if(i){var r=i.target;if(tE(r))if(0===n){var s=new pA(r.path);this.Tn(e,s,new $A(s,uA.min()))}else FO(1===n);else this.Vn(e)!==n&&(this.Pn(e),this.dn=this.dn.add(e))}},t.prototype.pn=function(t){var e=this,n=new Map;this.ln.forEach(function(i,r){var s=e.gn(r);if(s){if(i.qe&&tE(s.target)){var a=new pA(s.target.path);null!==e._n.get(a)||e.bn(r,a)||e.Tn(r,a,new $A(a,t))}i.tn&&(n.set(r,i.nn()),i.sn())}});var i=AI();this.fn.forEach(function(t,n){var r=!0;n.Re(function(t){var n=e.gn(t);return!n||2===n.kt||(r=!1,!1)}),r&&(i=i.add(t))});var r=new NI(t,n,this.dn,this._n,i);return this._n=CI(),this.fn=UI(),this.dn=new wI(zO),r},t.prototype.En=function(t,e){if(this.Rn(t)){var n=this.bn(t,e.key)?2:0;this.An(t).rn(e.key,n),this._n=this._n.Ht(e.key,e),this.fn=this.fn.Ht(e.key,this.vn(e.key).add(t))}},t.prototype.Tn=function(t,e,n){if(this.Rn(t)){var i=this.An(t);this.bn(t,e)?i.rn(e,1):i.on(e),this.fn=this.fn.Ht(e,this.vn(e).delete(t)),n&&(this._n=this._n.Ht(e,n))}},t.prototype.removeTarget=function(t){this.ln.delete(t)},t.prototype.Vn=function(t){var e=this.An(t).nn();return this.hn.Sn(t).size+e.Ue.size-e.Ke.size},t.prototype.cn=function(t){this.An(t).cn()},t.prototype.An=function(t){var e=this.ln.get(t);return e||(e=new VI,this.ln.set(t,e)),e},t.prototype.vn=function(t){var e=this.fn.get(t);return e||(e=new wI(zO),this.fn=this.fn.Ht(t,e)),e},t.prototype.Rn=function(t){var e=null!==this.gn(t);return e||RO("WatchChangeAggregator","Detected inactive target",t),e},t.prototype.gn=function(t){var e=this.ln.get(t);return e&&e.Ze?null:this.hn.Dn(t)},t.prototype.Pn=function(t){var e=this;this.ln.set(t,new VI),this.hn.Sn(t).forEach(function(n){e.Tn(t,n,null)})},t.prototype.bn=function(t,e){return this.hn.Sn(t).has(e)},t}();function UI(){return new _I(pA.J)}function WI(){return new _I(pA.J)}var qI={asc:"ASCENDING",desc:"DESCENDING"},GI={"<":"LESS_THAN","<=":"LESS_THAN_OR_EQUAL",">":"GREATER_THAN",">=":"GREATER_THAN_OR_EQUAL","==":"EQUAL","!=":"NOT_EQUAL","array-contains":"ARRAY_CONTAINS",in:"IN","not-in":"NOT_IN","array-contains-any":"ARRAY_CONTAINS_ANY"},$I=function(t,e){this.T=t,this.qt=e};function XI(t,e){return t.qt?new Date(1e3*e.seconds).toISOString().replace(/\.\d*/,"").replace("Z","")+"."+("000000000"+e.nanoseconds).slice(-9)+"Z":{seconds:""+e.seconds,nanos:e.nanoseconds}}function KI(t,e){return t.qt?e.toBase64():e.toUint8Array()}function JI(t,e){return XI(t,e.G())}function QI(t){return FO(!!t),uA.j(function(t){var e=wA(t);return new cA(e.seconds,e.nanos)}(t))}function ZI(t,e){return function(t){return new hA(["projects",t.projectId,"databases",t.database])}(t).child("documents").child(e).ot()}function tR(t){var e=hA.ct(t);return FO(CR(e)),e}function eR(t,e){return ZI(t.T,e.path)}function nR(t,e){var n=tR(e);if(n.get(1)!==t.T.projectId)throw new $O(GO.INVALID_ARGUMENT,"Tried to deserialize key from different project: "+n.get(1)+" vs "+t.T.projectId);if(n.get(3)!==t.T.database)throw new $O(GO.INVALID_ARGUMENT,"Tried to deserialize key from different database: "+n.get(3)+" vs "+t.T.database);return new pA(aR(n))}function iR(t,e){return ZI(t.T,e)}function rR(t){var e=tR(t);return 4===e.length?hA.at():aR(e)}function sR(t){return new hA(["projects",t.T.projectId,"databases",t.T.database]).ot()}function aR(t){return FO(t.length>4&&"documents"===t.get(4)),t.X(5)}function oR(t,e,n){return{name:eR(t,e),fields:n.proto.mapValue.fields}}function lR(t,e,n){var i=nR(t,e.name),r=QI(e.updateTime),s=new zA({mapValue:{fields:e.fields}});return new GA(i,r,s,{hasCommittedMutations:!!n})}function cR(t,e){var n;if(e instanceof sI)n={update:oR(t,e.key,e.value)};else if(e instanceof fI)n={delete:eR(t,e.key)};else if(e instanceof aI)n={update:oR(t,e.key,e.data),updateMask:xR(e.zt)};else{if(!(e instanceof mI))return PO();n={verify:eR(t,e.key)}}return e.fieldTransforms.length>0&&(n.updateTransforms=e.fieldTransforms.map(function(t){return function(t,e){var n=e.transform;if(n instanceof HE)return{fieldPath:e.field.ot(),setToServerValue:"REQUEST_TIME"};if(n instanceof VE)return{fieldPath:e.field.ot(),appendMissingElements:{values:n.elements}};if(n instanceof UE)return{fieldPath:e.field.ot(),removeAllFromArray:{values:n.elements}};if(n instanceof qE)return{fieldPath:e.field.ot(),increment:n.Qt};throw PO()}(0,t)})),e.Gt.Wt||(n.currentDocument=function(t,e){return void 0!==e.updateTime?{updateTime:JI(t,e.updateTime)}:void 0!==e.exists?{exists:e.exists}:PO()}(t,e.Gt)),n}function uR(t,e){var n=e.currentDocument?function(t){return void 0!==t.updateTime?JE.updateTime(QI(t.updateTime)):void 0!==t.exists?JE.exists(t.exists):JE.jt()}(e.currentDocument):JE.jt(),i=e.updateTransforms?e.updateTransforms.map(function(e){return function(t,e){var n=null;"setToServerValue"in e?(FO("REQUEST_TIME"===e.setToServerValue),n=new HE):"appendMissingElements"in e?n=new VE(e.appendMissingElements.values||[]):"removeAllFromArray"in e?n=new UE(e.removeAllFromArray.values||[]):"increment"in e?n=new qE(t,e.increment):PO();var i=mA._t(e.fieldPath);return new XE(i,n)}(t,e)}):[];if(e.update){var r=nR(t,e.update.name),s=new zA({mapValue:{fields:e.update.fields}});if(e.updateMask){var a=function(t){return new yA((t.fieldPaths||[]).map(function(t){return mA._t(t)}))}(e.updateMask);return new aI(r,s,a,n,i)}return new sI(r,s,n,i)}if(e.delete){var o=nR(t,e.delete);return new fI(o,n)}if(e.verify){var l=nR(t,e.verify);return new mI(l,n)}return PO()}function dR(t,e){return{documents:[iR(t,e.path)]}}function hR(t,e){var n={structuredQuery:{}},i=e.path;null!==e.collectionGroup?(n.parent=iR(t,i),n.structuredQuery.from=[{collectionId:e.collectionGroup,allDescendants:!0}]):(n.parent=iR(t,i.Z()),n.structuredQuery.from=[{collectionId:i.et()}]);var r=function(t){if(0!==t.length){var e=t.map(function(t){return function(t){if("=="===t.op){if(HA(t.value))return{unaryFilter:{field:yR(t.field),op:"IS_NAN"}};if(BA(t.value))return{unaryFilter:{field:yR(t.field),op:"IS_NULL"}}}else if("!="===t.op){if(HA(t.value))return{unaryFilter:{field:yR(t.field),op:"IS_NOT_NAN"}};if(BA(t.value))return{unaryFilter:{field:yR(t.field),op:"IS_NOT_NULL"}}}return{fieldFilter:{field:yR(t.field),op:_R(t.op),value:t.value}}}(t)});return 1===e.length?e[0]:{compositeFilter:{op:"AND",filters:e}}}}(e.filters);r&&(n.structuredQuery.where=r);var s=function(t){if(0!==t.length)return t.map(function(t){return function(t){return{field:yR(t.field),direction:gR(t.dir)}}(t)})}(e.orderBy);s&&(n.structuredQuery.orderBy=s);var a=function(t,e){return t.qt||MA(e)?e:{value:e}}(t,e.limit);return null!==a&&(n.structuredQuery.limit=a),e.startAt&&(n.structuredQuery.startAt=pR(e.startAt)),e.endAt&&(n.structuredQuery.endAt=pR(e.endAt)),n}function fR(t){var e=rR(t.parent),n=t.structuredQuery,i=n.from?n.from.length:0,r=null;if(i>0){FO(1===i);var s=n.from[0];s.allDescendants?r=s.collectionId:e=e.child(s.collectionId)}var a=[];n.where&&(a=mR(n.where));var o=[];n.orderBy&&(o=n.orderBy.map(function(t){return function(t){return new hE(vR(t.field),function(t){switch(t){case"ASCENDING":return"asc";case"DESCENDING":return"desc";default:return}}(t.direction))}(t)}));var l=null;n.limit&&(l=function(t){var e;return MA(e="object"==typeof t?t.value:t)?null:e}(n.limit));var c=null;n.startAt&&(c=bR(n.startAt));var u=null;return n.endAt&&(u=bR(n.endAt)),gE(e,r,o,a,l,"F",c,u)}function mR(t){return t?void 0!==t.unaryFilter?[SR(t)]:void 0!==t.fieldFilter?[wR(t)]:void 0!==t.compositeFilter?t.compositeFilter.filters.map(function(t){return mR(t)}).reduce(function(t,e){return t.concat(e)}):PO():[]}function pR(t){return{before:t.before,values:t.position}}function bR(t){return new uE(t.values||[],!!t.before)}function gR(t){return qI[t]}function _R(t){return GI[t]}function yR(t){return{fieldPath:t.ot()}}function vR(t){return mA._t(t.fieldPath)}function wR(t){return eE.create(vR(t.fieldFilter.field),function(t){switch(t){case"EQUAL":return"==";case"NOT_EQUAL":return"!=";case"GREATER_THAN":return">";case"GREATER_THAN_OR_EQUAL":return">=";case"LESS_THAN":return"<";case"LESS_THAN_OR_EQUAL":return"<=";case"ARRAY_CONTAINS":return"array-contains";case"IN":return"in";case"NOT_IN":return"not-in";case"ARRAY_CONTAINS_ANY":return"array-contains-any";case"OPERATOR_UNSPECIFIED":default:return PO()}}(t.fieldFilter.op),t.fieldFilter.value)}function SR(t){switch(t.unaryFilter.op){case"IS_NAN":var e=vR(t.unaryFilter.field);return eE.create(e,"==",{doubleValue:NaN});case"IS_NULL":var n=vR(t.unaryFilter.field);return eE.create(n,"==",{nullValue:"NULL_VALUE"});case"IS_NOT_NAN":var i=vR(t.unaryFilter.field);return eE.create(i,"!=",{doubleValue:NaN});case"IS_NOT_NULL":var r=vR(t.unaryFilter.field);return eE.create(r,"!=",{nullValue:"NULL_VALUE"});case"OPERATOR_UNSPECIFIED":default:return PO()}}function xR(t){var e=[];return t.fields.forEach(function(t){return e.push(t.ot())}),{fieldPaths:e}}function CR(t){return t.length>=4&&"projects"===t.get(0)&&"databases"===t.get(2)}var kR=function(){var t=this;this.promise=new Promise(function(e,n){t.resolve=e,t.reject=n})},TR=function(){function t(t){var e=this;this.Cn=null,this.xn=null,this.result=void 0,this.error=void 0,this.Nn=!1,this.On=!1,t(function(t){e.Nn=!0,e.result=t,e.Cn&&e.Cn(t)},function(t){e.Nn=!0,e.error=t,e.xn&&e.xn(t)})}return t.prototype.catch=function(t){return this.next(void 0,t)},t.prototype.next=function(e,n){var i=this;return this.On&&PO(),this.On=!0,this.Nn?this.error?this.Fn(n,this.error):this.kn(e,this.result):new t(function(t,r){i.Cn=function(n){i.kn(e,n).next(t,r)},i.xn=function(e){i.Fn(n,e).next(t,r)}})},t.prototype.Mn=function(){var t=this;return new Promise(function(e,n){t.next(e,n)})},t.prototype.Ln=function(e){try{var n=e();return n instanceof t?n:t.resolve(n)}catch(e){return t.reject(e)}},t.prototype.kn=function(e,n){return e?this.Ln(function(){return e(n)}):t.resolve(n)},t.prototype.Fn=function(e,n){return e?this.Ln(function(){return e(n)}):t.reject(n)},t.resolve=function(e){return new t(function(t,n){t(e)})},t.reject=function(e){return new t(function(t,n){n(e)})},t.$n=function(e){return new t(function(t,n){var i=0,r=0,s=!1;e.forEach(function(e){++i,e.next(function(){++r,s&&r===i&&t()},function(t){return n(t)})}),s=!0,r===i&&t()})},t.Bn=function(e){for(var n=t.resolve(!1),i=function(e){n=n.next(function(n){return n?t.resolve(n):e()})},r=0,s=e;r0||e.indexOf("Trident/")>0||e.indexOf("Edge/")>0||i||s)},t.Wn=function(){var t;return"undefined"!=typeof process&&"YES"===(null===(t=process.env)||void 0===t?void 0:t.zn)},t.Hn=function(t,e){return t.store(e)},t.Kn=function(t){var e=t.match(/i(?:phone|pad|pod) os ([\d_]+)/i),n=e?e[1].split("_").slice(0,2).join("."):"-1";return Number(n)},t.Gn=function(t){var e=t.match(/Android ([\d.]+)/i),n=e?e[1].split(".").slice(0,2).join("."):"-1";return Number(n)},t.prototype.Jn=function(t){return Object(AO.b)(this,void 0,void 0,function(){var e,n=this;return Object(AO.d)(this,function(i){switch(i.label){case 0:return this.db?[3,2]:(RO("SimpleDb","Opening database:",this.name),e=this,[4,new Promise(function(e,i){var r=indexedDB.open(n.name,n.version);r.onsuccess=function(t){e(t.target.result)},r.onblocked=function(){i(new OR(t,"Cannot upgrade IndexedDB schema while another tab is open. Close all tabs that access Firestore and reload this page to proceed."))},r.onerror=function(e){var n=e.target.error;i("VersionError"===n.name?new $O(GO.FAILED_PRECONDITION,"A newer version of the Firestore SDK was previously used and so the persisted data is not compatible with the version of the SDK you are now using. The SDK will operate with persistence disabled. If you need persistence, please re-upgrade to a newer version of the SDK or else clear the persisted IndexedDB data for your app to start fresh."):new OR(t,n))},r.onupgradeneeded=function(t){RO("SimpleDb",'Database "'+n.name+'" requires upgrade from version:',t.oldVersion),n.Qn.Yn(t.target.result,r.transaction,t.oldVersion,n.version).next(function(){RO("SimpleDb","Database upgrade to version "+n.version+" complete")})}})]);case 1:e.db=i.sent(),i.label=2;case 2:return[2,(this.Xn&&(this.db.onversionchange=function(t){return n.Xn(t)}),this.db)]}})})},t.prototype.Zn=function(t){this.Xn=t,this.db&&(this.db.onversionchange=function(e){return t(e)})},t.prototype.runTransaction=function(t,e,n,i){return Object(AO.b)(this,void 0,void 0,function(){var r,s,a,o,l;return Object(AO.d)(this,function(c){switch(c.label){case 0:r="readonly"===e,s=0,a=function(){var e,a,l,c,u;return Object(AO.d)(this,function(d){switch(d.label){case 0:++s,d.label=1;case 1:return d.trys.push([1,4,,5]),[4,o.Jn(t)];case 2:return o.db=d.sent(),e=MR.open(o.db,t,r?"readonly":"readwrite",n),a=i(e).catch(function(t){return e.abort(t),TR.reject(t)}).Mn(),l={},a.catch(function(){}),[4,e.Un];case 3:return[2,(l.value=(d.sent(),a),l)];case 4:return RO("SimpleDb","Transaction failed with error:",(c=d.sent()).message,"Retrying:",u="FirebaseError"!==c.name&&s<3),o.close(),u?[3,5]:[2,{value:Promise.reject(c)}];case 5:return[2]}})},o=this,c.label=1;case 1:return[5,a()];case 2:if("object"==typeof(l=c.sent()))return[2,l.value];c.label=3;case 3:return[3,1];case 4:return[2]}})})},t.prototype.close=function(){this.db&&this.db.close(),this.db=void 0},t}(),LR=function(){function t(t){this.ts=t,this.es=!1,this.ns=null}return Object.defineProperty(t.prototype,"Nn",{get:function(){return this.es},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ss",{get:function(){return this.ns},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cursor",{set:function(t){this.ts=t},enumerable:!1,configurable:!0}),t.prototype.done=function(){this.es=!0},t.prototype.rs=function(t){this.ns=t},t.prototype.delete=function(){return IR(this.ts.delete())},t}(),OR=function(t){function e(e,n){var i=this;return(i=t.call(this,GO.UNAVAILABLE,"IndexedDB transaction '"+e+"' failed: "+n)||this).name="IndexedDbTransactionError",i}return Object(AO.c)(e,t),e}($O);function AR(t){return"IndexedDbTransactionError"===t.name}var ER=function(){function t(t){this.store=t}return t.prototype.put=function(t,e){var n;return void 0!==e?(RO("SimpleDb","PUT",this.store.name,t,e),n=this.store.put(e,t)):(RO("SimpleDb","PUT",this.store.name,"",t),n=this.store.put(t)),IR(n)},t.prototype.add=function(t){return RO("SimpleDb","ADD",this.store.name,t,t),IR(this.store.add(t))},t.prototype.get=function(t){var e=this;return IR(this.store.get(t)).next(function(n){return void 0===n&&(n=null),RO("SimpleDb","GET",e.store.name,t,n),n})},t.prototype.delete=function(t){return RO("SimpleDb","DELETE",this.store.name,t),IR(this.store.delete(t))},t.prototype.count=function(){return RO("SimpleDb","COUNT",this.store.name),IR(this.store.count())},t.prototype.os=function(t,e){var n=this.cursor(this.options(t,e)),i=[];return this.cs(n,function(t,e){i.push(e)}).next(function(){return i})},t.prototype.us=function(t,e){RO("SimpleDb","DELETE ALL",this.store.name);var n=this.options(t,e);n.hs=!1;var i=this.cursor(n);return this.cs(i,function(t,e,n){return n.delete()})},t.prototype.ls=function(t,e){var n;e?n=t:(n={},e=t);var i=this.cursor(n);return this.cs(i,e)},t.prototype._s=function(t){var e=this.cursor({});return new TR(function(n,i){e.onerror=function(t){var e=YR(t.target.error);i(e)},e.onsuccess=function(e){var i=e.target.result;i?t(i.primaryKey,i.value).next(function(t){t?i.continue():n()}):n()}})},t.prototype.cs=function(t,e){var n=[];return new TR(function(i,r){t.onerror=function(t){r(t.target.error)},t.onsuccess=function(t){var r=t.target.result;if(r){var s=new LR(r),a=e(r.primaryKey,r.value,s);if(a instanceof TR){var o=a.catch(function(t){return s.done(),TR.reject(t)});n.push(o)}s.Nn?i():null===s.ss?r.continue():r.continue(s.ss)}else i()}}).next(function(){return TR.$n(n)})},t.prototype.options=function(t,e){var n=void 0;return void 0!==t&&("string"==typeof t?n=t:e=t),{index:n,range:e}},t.prototype.cursor=function(t){var e="next";if(t.reverse&&(e="prev"),t.index){var n=this.store.index(t.index);return t.hs?n.openKeyCursor(t.range,e):n.openCursor(t.range,e)}return this.store.openCursor(t.range,e)},t}();function IR(t){return new TR(function(e,n){t.onsuccess=function(t){e(t.target.result)},t.onerror=function(t){var e=YR(t.target.error);n(e)}})}var RR=!1;function YR(t){var e=DR.Kn(Object(LT.g)());if(e>=12.2&&e<13){var n="An internal error was encountered in the Indexed Database server";if(t.message.indexOf(n)>=0){var i=new $O("internal","IOS_INDEXEDDB_BUG1: IndexedDb has thrown '"+n+"'. This is likely due to an unavoidable bug in iOS. See https://stackoverflow.com/q/56496296/110915 for details and a potential workaround.");return RR||(RR=!0,setTimeout(function(){throw i},0)),i}}return t}var jR=function(){function t(t,e,n,i,r){this.fs=t,this.ds=e,this.ws=n,this.op=i,this.Es=r,this.Ts=new kR,this.then=this.Ts.promise.then.bind(this.Ts.promise),this.Ts.promise.catch(function(t){})}return t.Is=function(e,n,i,r,s){var a=new t(e,n,Date.now()+i,r,s);return a.start(i),a},t.prototype.start=function(t){var e=this;this.As=setTimeout(function(){return e.Rs()},t)},t.prototype.Ps=function(){return this.Rs()},t.prototype.cancel=function(t){null!==this.As&&(this.clearTimeout(),this.Ts.reject(new $O(GO.CANCELLED,"Operation cancelled"+(t?": "+t:""))))},t.prototype.Rs=function(){var t=this;this.fs.ys(function(){return null!==t.As?(t.clearTimeout(),t.op().then(function(e){return t.Ts.resolve(e)})):Promise.resolve()})},t.prototype.clearTimeout=function(){null!==this.As&&(this.Es(this),clearTimeout(this.As),this.As=null)},t}();function NR(t,e){if(YO("AsyncQueue",e+": "+t),AR(t))return new $O(GO.UNAVAILABLE,e+": "+t);throw t}var PR="The current tab is not in the required state to perform this operation. It might be necessary to refresh the browser tab.",FR=function(){function t(){this.gs=[]}return t.prototype.Vs=function(t){this.gs.push(t)},t.prototype.ps=function(){this.gs.forEach(function(t){return t()})},t}();function BR(t){for(var e="",n=0;n0&&(e=VR(e)),e=HR(t.get(n),e);return VR(e)}function HR(t,e){for(var n=e,i=t.length,r=0;r=2),2===e)return FO("\x01"===t.charAt(0)&&"\x01"===t.charAt(1)),hA.at();for(var n=e-2,i=[],r="",s=0;sn)&&PO(),t.charAt(a+1)){case"\x01":var o=t.substring(s,a),l=void 0;0===r.length?l=o:(l=r+=o,r=""),i.push(l);break;case"\x10":r+=t.substring(s,a),r+="\0";break;case"\x11":r+=t.substring(s,a+1);break;default:PO()}s=a+2}return new hA(i)}var UR=function(t,e){this.seconds=t,this.nanoseconds=e},WR=function(t,e,n){this.ownerId=t,this.allowTabSynchronization=e,this.leaseTimestampMs=n};WR.store="owner",WR.key="owner";var qR=function(t,e,n){this.userId=t,this.lastAcknowledgedBatchId=e,this.lastStreamToken=n};qR.store="mutationQueues",qR.keyPath="userId";var GR=function(t,e,n,i,r){this.userId=t,this.batchId=e,this.localWriteTimeMs=n,this.baseMutations=i,this.mutations=r};GR.store="mutations",GR.keyPath="batchId",GR.userMutationsIndex="userMutationsIndex",GR.userMutationsKeyPath=["userId","batchId"];var $R=function(){function t(){}return t.prefixForUser=function(t){return[t]},t.prefixForPath=function(t,e){return[t,BR(e)]},t.key=function(t,e,n){return[t,BR(e),n]},t}();$R.store="documentMutations",$R.PLACEHOLDER=new $R;var XR=function(t,e){this.path=t,this.readTime=e},KR=function(t,e){this.path=t,this.version=e},JR=function(t,e,n,i,r,s){this.unknownDocument=t,this.noDocument=e,this.document=n,this.hasCommittedMutations=i,this.readTime=r,this.parentPath=s};JR.store="remoteDocuments",JR.readTimeIndex="readTimeIndex",JR.readTimeIndexPath="readTime",JR.collectionReadTimeIndex="collectionReadTimeIndex",JR.collectionReadTimeIndexPath=["parentPath","readTime"];var QR=function(t){this.byteSize=t};QR.store="remoteDocumentGlobal",QR.key="remoteDocumentGlobalKey";var ZR=function(t,e,n,i,r,s,a){this.targetId=t,this.canonicalId=e,this.readTime=n,this.resumeToken=i,this.lastListenSequenceNumber=r,this.lastLimboFreeSnapshotVersion=s,this.query=a};ZR.store="targets",ZR.keyPath="targetId",ZR.queryTargetsIndexName="queryTargetsIndex",ZR.queryTargetsKeyPath=["canonicalId","targetId"];var tY=function(t,e,n){this.targetId=t,this.path=e,this.sequenceNumber=n};tY.store="targetDocuments",tY.keyPath=["targetId","path"],tY.documentTargetsIndex="documentTargetsIndex",tY.documentTargetsKeyPath=["path","targetId"];var eY=function(t,e,n,i){this.highestTargetId=t,this.highestListenSequenceNumber=e,this.lastRemoteSnapshotVersion=n,this.targetCount=i};eY.key="targetGlobalKey",eY.store="targetGlobal";var nY=function(t,e){this.collectionId=t,this.parent=e};nY.store="collectionParents",nY.keyPath=["collectionId","parent"];var iY=function(t,e,n,i){this.clientId=t,this.updateTimeMs=e,this.networkEnabled=n,this.inForeground=i};iY.store="clientMetadata",iY.keyPath="clientId";var rY=function(t,e,n){this.bundleId=t,this.createTime=e,this.version=n};rY.store="bundles",rY.keyPath="bundleId";var sY=function(t,e,n){this.name=t,this.readTime=e,this.bundledQuery=n};sY.store="namedQueries",sY.keyPath="name";var aY=Object(AO.g)(Object(AO.g)(Object(AO.g)(Object(AO.g)([qR.store,GR.store,$R.store,JR.store,ZR.store,WR.store,eY.store,tY.store],[iY.store]),[QR.store]),[nY.store]),[rY.store,sY.store]),oY=function(t){function e(e,n){var i=this;return(i=t.call(this)||this).bs=e,i.vs=n,i}return Object(AO.c)(e,t),e}(FR);function lY(t,e){var n=BO(t);return DR.Hn(n.bs,e)}var cY=function(){function t(t,e,n,i){this.batchId=t,this.Ss=e,this.baseMutations=n,this.mutations=i}return t.prototype.Ds=function(t,e,n){for(var i=n.Cs,r=0;r=0;--i){var r=e.mutations[i];void 0!==(null==r?void 0:r.transform)&&(e.mutations[i-1].updateTransforms=r.transform.fieldTransforms,e.mutations.splice(i,1),--i)}var s=e.mutations.map(function(e){return uR(t.ks,e)}),a=cA.fromMillis(e.localWriteTimeMs);return new cY(e.batchId,a,n,s)}function yY(t){var e,n,i=gY(t.readTime),r=void 0!==t.lastLimboFreeSnapshotVersion?gY(t.lastLimboFreeSnapshotVersion):uA.min();return void 0!==t.query.documents?(FO(1===(n=t.query).documents.length),e=kE(_E(rR(n.documents[0])))):e=function(t){return kE(fR(t))}(t.query),new IE(e,t.targetId,0,t.lastListenSequenceNumber,i,r,qO.fromBase64String(t.resumeToken))}function vY(t,e){var n,i=bY(e.Mt),r=bY(e.lastLimboFreeSnapshotVersion);n=tE(e.target)?dR(t.ks,e.target):hR(t.ks,e.target);var s=e.resumeToken.toBase64();return new ZR(e.targetId,QA(e.target),i,s,e.sequenceNumber,r,n)}function wY(t){var e=fR({parent:t.parent,structuredQuery:t.structuredQuery});return"LAST"===t.limitType?TE(e,e.limit,"L"):e}var SY=function(){function t(){}return t.prototype.Ms=function(t,e){return xY(t).get(e).next(function(t){if(t)return{id:(e=t).bundleId,createTime:gY(e.createTime),version:e.version};var e})},t.prototype.Ls=function(t,e){return xY(t).put({bundleId:(n=e).id,createTime:bY(QI(n.createTime)),version:n.version});var n},t.prototype.$s=function(t,e){return CY(t).get(e).next(function(t){if(t)return{name:(e=t).name,query:wY(e.bundledQuery),readTime:gY(e.readTime)};var e})},t.prototype.Bs=function(t,e){return CY(t).put(function(t){return{name:t.name,readTime:bY(QI(t.readTime)),bundledQuery:t.bundledQuery}}(e))},t}();function xY(t){return lY(t,rY.store)}function CY(t){return lY(t,sY.store)}var kY=function(){function t(){this.qs=new TY}return t.prototype.Us=function(t,e){return this.qs.add(e),TR.resolve()},t.prototype.Qs=function(t,e){return TR.resolve(this.qs.getEntries(e))},t}(),TY=function(){function t(){this.index={}}return t.prototype.add=function(t){var e=t.et(),n=t.Z(),i=this.index[e]||new wI(hA.J),r=!i.has(n);return this.index[e]=i.add(n),r},t.prototype.has=function(t){var e=t.et(),n=t.Z(),i=this.index[e];return i&&i.has(n)},t.prototype.getEntries=function(t){return(this.index[t]||new wI(hA.J)).rt()},t}(),MY=function(){function t(){this.Ks=new TY}return t.prototype.Us=function(t,e){var n=this;if(!this.Ks.has(e)){var i=e.et(),r=e.Z();t.Vs(function(){n.Ks.add(e)});var s={collectionId:i,parent:BR(r)};return DY(t).put(s)}return TR.resolve()},t.prototype.Qs=function(t,e){var n=[],i=IDBKeyRange.bound([e,""],[WO(e),""],!1,!0);return DY(t).os(i).next(function(t){for(var i=0,r=t;i=i),s=_Y(n.Kt,e)),r.done()}).next(function(){return s})},t.prototype.pi=function(t){var e=IDBKeyRange.upperBound([this.userId,Number.POSITIVE_INFINITY]),n=-1;return PY(t).ls({index:GR.userMutationsIndex,range:e,reverse:!0},function(t,e,i){n=e.batchId,i.done()}).next(function(){return n})},t.prototype.bi=function(t){var e=this,n=IDBKeyRange.bound([this.userId,-1],[this.userId,Number.POSITIVE_INFINITY]);return PY(t).os(GR.userMutationsIndex,n).next(function(t){return t.map(function(t){return _Y(e.Kt,t)})})},t.prototype.vi=function(t,e){var n=this,i=$R.prefixForPath(this.userId,e.path),r=IDBKeyRange.lowerBound(i),s=[];return FY(t).ls({range:r},function(i,r,a){var o=i[0],l=i[2],c=zR(i[1]);if(o===n.userId&&e.path.isEqual(c))return PY(t).get(l).next(function(t){if(!t)throw PO();FO(t.userId===n.userId),s.push(_Y(n.Kt,t))});a.done()}).next(function(){return s})},t.prototype.Si=function(t,e){var n=this,i=new wI(zO),r=[];return e.forEach(function(e){var s=$R.prefixForPath(n.userId,e.path),a=IDBKeyRange.lowerBound(s),o=FY(t).ls({range:a},function(t,r,s){var a=t[0],o=t[2],l=zR(t[1]);a===n.userId&&e.path.isEqual(l)?i=i.add(o):s.done()});r.push(o)}),TR.$n(r).next(function(){return n.Di(t,i)})},t.prototype.Ci=function(t,e){var n=this,i=e.path,r=i.length+1,s=$R.prefixForPath(this.userId,i),a=IDBKeyRange.lowerBound(s),o=new wI(zO);return FY(t).ls({range:a},function(t,e,s){var a=t[0],l=t[2],c=zR(t[1]);a===n.userId&&i.st(c)?c.length===r&&(o=o.add(l)):s.done()}).next(function(){return n.Di(t,o)})},t.prototype.Di=function(t,e){var n=this,i=[],r=[];return e.forEach(function(e){r.push(PY(t).get(e).next(function(t){if(null===t)throw PO();FO(t.userId===n.userId),i.push(_Y(n.Kt,t))}))}),TR.$n(r).next(function(){return i})},t.prototype.xi=function(t,e){var n=this;return RY(t.bs,this.userId,e).next(function(i){return t.Vs(function(){n.Ni(e.batchId)}),TR.forEach(i,function(e){return n.Ii.Oi(t,e)})})},t.prototype.Ni=function(t){delete this.mi[t]},t.prototype.Fi=function(t){var e=this;return this.Ri(t).next(function(n){if(!n)return TR.resolve();var i=IDBKeyRange.lowerBound($R.prefixForUser(e.userId)),r=[];return FY(t).ls({range:i},function(t,n,i){if(t[0]===e.userId){var s=zR(t[1]);r.push(s)}else i.done()}).next(function(){FO(0===r.length)})})},t.prototype.ki=function(t,e){return NY(t,this.userId,e)},t.prototype.Mi=function(t){var e=this;return BY(t).get(this.userId).next(function(t){return t||new qR(e.userId,-1,"")})},t}();function NY(t,e,n){var i=$R.prefixForPath(e,n.path),r=i[1],s=IDBKeyRange.lowerBound(i),a=!1;return FY(t).ls({range:s,hs:!0},function(t,n,i){t[0]===e&&t[1]===r&&(a=!0),i.done()}).next(function(){return a})}function PY(t){return lY(t,GR.store)}function FY(t){return lY(t,$R.store)}function BY(t){return lY(t,qR.store)}var HY=function(){function t(t){this.Li=t}return t.prototype.next=function(){return this.Li+=2,this.Li},t.$i=function(){return new t(0)},t.Bi=function(){return new t(-1)},t}(),VY=function(){function t(t,e){this.Ii=t,this.Kt=e}return t.prototype.qi=function(t){var e=this;return this.Ui(t).next(function(n){var i=new HY(n.highestTargetId);return n.highestTargetId=i.next(),e.Qi(t,n).next(function(){return n.highestTargetId})})},t.prototype.Ki=function(t){return this.Ui(t).next(function(t){return uA.j(new cA(t.lastRemoteSnapshotVersion.seconds,t.lastRemoteSnapshotVersion.nanoseconds))})},t.prototype.ji=function(t){return this.Ui(t).next(function(t){return t.highestListenSequenceNumber})},t.prototype.Wi=function(t,e,n){var i=this;return this.Ui(t).next(function(r){return r.highestListenSequenceNumber=e,n&&(r.lastRemoteSnapshotVersion=n.G()),e>r.highestListenSequenceNumber&&(r.highestListenSequenceNumber=e),i.Qi(t,r)})},t.prototype.Gi=function(t,e){var n=this;return this.zi(t,e).next(function(){return n.Ui(t).next(function(i){return i.targetCount+=1,n.Hi(e,i),n.Qi(t,i)})})},t.prototype.Ji=function(t,e){return this.zi(t,e)},t.prototype.Yi=function(t,e){var n=this;return this.Xi(t,e.targetId).next(function(){return zY(t).delete(e.targetId)}).next(function(){return n.Ui(t)}).next(function(e){return FO(e.targetCount>0),e.targetCount-=1,n.Qi(t,e)})},t.prototype.Zi=function(t,e,n){var i=this,r=0,s=[];return zY(t).ls(function(a,o){var l=yY(o);l.sequenceNumber<=e&&null===n.get(l.targetId)&&(r++,s.push(i.Yi(t,l)))}).next(function(){return TR.$n(s)}).next(function(){return r})},t.prototype.mn=function(t,e){return zY(t).ls(function(t,n){var i=yY(n);e(i)})},t.prototype.Ui=function(t){return UY(t).get(eY.key).next(function(t){return FO(null!==t),t})},t.prototype.Qi=function(t,e){return UY(t).put(eY.key,e)},t.prototype.zi=function(t,e){return zY(t).put(vY(this.Kt,e))},t.prototype.Hi=function(t,e){var n=!1;return t.targetId>e.highestTargetId&&(e.highestTargetId=t.targetId,n=!0),t.sequenceNumber>e.highestListenSequenceNumber&&(e.highestListenSequenceNumber=t.sequenceNumber,n=!0),n},t.prototype.tr=function(t){return this.Ui(t).next(function(t){return t.targetCount})},t.prototype.er=function(t,e){var n=QA(e),i=IDBKeyRange.bound([n,Number.NEGATIVE_INFINITY],[n,Number.POSITIVE_INFINITY]),r=null;return zY(t).ls({range:i,index:ZR.queryTargetsIndexName},function(t,n,i){var s=yY(n);ZA(e,s.target)&&(r=s,i.done())}).next(function(){return r})},t.prototype.nr=function(t,e,n){var i=this,r=[],s=WY(t);return e.forEach(function(e){var a=BR(e.path);r.push(s.put(new tY(n,a))),r.push(i.Ii.sr(t,n,e))}),TR.$n(r)},t.prototype.ir=function(t,e,n){var i=this,r=WY(t);return TR.forEach(e,function(e){var s=BR(e.path);return TR.$n([r.delete([n,s]),i.Ii.rr(t,n,e)])})},t.prototype.Xi=function(t,e){var n=WY(t),i=IDBKeyRange.bound([e],[e+1],!1,!0);return n.delete(i)},t.prototype.cr=function(t,e){var n=IDBKeyRange.bound([e],[e+1],!1,!0),i=WY(t),r=AI();return i.ls({range:n,hs:!0},function(t,e,n){var i=zR(t[1]),s=new pA(i);r=r.add(s)}).next(function(){return r})},t.prototype.ki=function(t,e){var n=BR(e.path),i=IDBKeyRange.bound([n],[WO(n)],!1,!0),r=0;return WY(t).ls({index:tY.documentTargetsIndex,hs:!0,range:i},function(t,e,n){0!==t[0]&&(r++,n.done())}).next(function(){return r>0})},t.prototype.Dn=function(t,e){return zY(t).get(e).next(function(t){return t?yY(t):null})},t}();function zY(t){return lY(t,ZR.store)}function UY(t){return lY(t,eY.store)}function WY(t){return lY(t,tY.store)}function qY(t,e){var n=t[1],i=e[1],r=zO(t[0],e[0]);return 0===r?zO(n,i):r}var GY=function(){function t(t){this.ar=t,this.buffer=new wI(qY),this.ur=0}return t.prototype.hr=function(){return++this.ur},t.prototype.lr=function(t){var e=[t,this.hr()];if(this.buffer.sizec.params.Ys?(RO("LruGarbageCollector","Capping sequence numbers to collect down to the maximum of "+c.params.Ys+" from "+e),i=c.params.Ys):i=e,s=Date.now(),c.yr(t,i)}).next(function(i){return n=i,a=Date.now(),c.Zi(t,n,e)}).next(function(e){return r=e,o=Date.now(),c.Vr(t,n)}).next(function(t){return l=Date.now(),IO()<=DT.a.DEBUG&&RO("LruGarbageCollector","LRU Garbage Collection\n\tCounted targets in "+(s-u)+"ms\n\tDetermined least recently used "+i+" in "+(a-s)+"ms\n\tRemoved "+r+" targets in "+(o-a)+"ms\n\tRemoved "+t+" documents in "+(l-o)+"ms\nTotal Duration: "+(l-u)+"ms"),TR.resolve({js:!0,Ws:i,Gs:r,zs:t})})},t}(),KY=function(){function t(t,e){this.db=t,this._r=function(t,e){return new XY(t,e)}(this,e)}return t.prototype.Pr=function(t){var e=this.Sr(t);return this.db.Dr().tr(t).next(function(t){return e.next(function(e){return t+e})})},t.prototype.Sr=function(t){var e=0;return this.gr(t,function(t){e++}).next(function(){return e})},t.prototype.mn=function(t,e){return this.db.Dr().mn(t,e)},t.prototype.gr=function(t,e){return this.Cr(t,function(t,n){return e(n)})},t.prototype.sr=function(t,e,n){return JY(t,n)},t.prototype.rr=function(t,e,n){return JY(t,n)},t.prototype.Zi=function(t,e,n){return this.db.Dr().Zi(t,e,n)},t.prototype.Oi=function(t,e){return JY(t,e)},t.prototype.Nr=function(t,e){return function(t,e){var n=!1;return BY(t)._s(function(i){return NY(t,i,e).next(function(t){return t&&(n=!0),TR.resolve(!t)})}).next(function(){return n})}(t,e)},t.prototype.Vr=function(t,e){var n=this,i=this.db.Fr().Or(),r=[],s=0;return this.Cr(t,function(a,o){if(o<=e){var l=n.Nr(t,a).next(function(e){if(!e)return s++,i.fi(t,a).next(function(){return i._i(a),WY(t).delete([0,BR(a.path)])})});r.push(l)}}).next(function(){return TR.$n(r)}).next(function(){return i.apply(t)}).next(function(){return s})},t.prototype.removeTarget=function(t,e){var n=e.Lt(t.vs);return this.db.Dr().Ji(t,n)},t.prototype.kr=function(t,e){return JY(t,e)},t.prototype.Cr=function(t,e){var n,i=WY(t),r=lA.U;return i.ls({index:tY.documentTargetsIndex},function(t,i){var s=i.path,a=i.sequenceNumber;0===t[0]?(r!==lA.U&&e(new pA(zR(n)),r),r=a,n=s):r=lA.U}).next(function(){r!==lA.U&&e(new pA(zR(n)),r)})},t.prototype.br=function(t){return this.db.Fr().Mr(t)},t}();function JY(t,e){return WY(t).put(function(t,e){return new tY(0,BR(t.path),e)}(e,t.vs))}var QY=function(){function t(t,e){this.Kt=t,this.Ti=e}return t.prototype.ui=function(t,e,n){return ej(t).put(nj(e),n)},t.prototype._i=function(t,e){var n=ej(t),i=nj(e);return n.delete(i)},t.prototype.updateMetadata=function(t,e){var n=this;return this.getMetadata(t).next(function(i){return i.byteSize+=e,n.Lr(t,i)})},t.prototype.fi=function(t,e){var n=this;return ej(t).get(nj(e)).next(function(t){return n.$r(t)})},t.prototype.Br=function(t,e){var n=this;return ej(t).get(nj(e)).next(function(t){var e=n.$r(t);return e?{li:e,size:YY(t)}:null})},t.prototype.getEntries=function(t,e){var n=this,i=kI();return this.qr(t,e,function(t,e){var r=n.$r(e);i=i.Ht(t,r)}).next(function(){return i})},t.prototype.Ur=function(t,e){var n=this,i=kI(),r=new _I(pA.J);return this.qr(t,e,function(t,e){var s=n.$r(e);s?(i=i.Ht(t,s),r=r.Ht(t,YY(e))):(i=i.Ht(t,null),r=r.Ht(t,0))}).next(function(){return{Qr:i,Kr:r}})},t.prototype.qr=function(t,e,n){if(e.nt())return TR.resolve();var i=IDBKeyRange.bound(e.first().path.rt(),e.last().path.rt()),r=e.ee(),s=r.ce();return ej(t).ls({range:i},function(t,e,i){for(var a=pA.Tt(t);s&&pA.J(s,a)<0;)n(s,null),s=r.ce();s&&s.isEqual(a)&&(n(s,e),s=r.ae()?r.ce():null),s?i.rs(s.path.rt()):i.done()}).next(function(){for(;s;)n(s,null),s=r.ae()?r.ce():null})},t.prototype.jr=function(t,e,n){var i=this,r=MI(),s=e.path.length+1,a={};if(n.isEqual(uA.min())){var o=e.path.rt();a.range=IDBKeyRange.lowerBound(o)}else{var l=e.path.rt(),c=mY(n);a.range=IDBKeyRange.lowerBound([l,c],!0),a.index=JR.collectionReadTimeIndex}return ej(t).ls(a,function(t,n,a){if(t.length===s){var o=hY(i.Kt,n);e.path.st(o.key.path)?o instanceof GA&&OE(e,o)&&(r=r.Ht(o.key,o)):a.done()}}).next(function(){return r})},t.prototype.Or=function(t){return new ZY(this,!!t&&t.Wr)},t.prototype.Mr=function(t){return this.getMetadata(t).next(function(t){return t.byteSize})},t.prototype.getMetadata=function(t){return tj(t).get(QR.key).next(function(t){return FO(!!t),t})},t.prototype.Lr=function(t,e){return tj(t).put(QR.key,e)},t.prototype.$r=function(t){if(t){var e=hY(this.Kt,t);return e instanceof $A&&e.version.isEqual(uA.min())?null:e}return null},t}(),ZY=function(t){function e(e,n){var i=this;return(i=t.call(this)||this).Gr=e,i.Wr=n,i.zr=new EY(function(t){return t.toString()},function(t,e){return t.isEqual(e)}),i}return Object(AO.c)(e,t),e.prototype.Ei=function(t){var e=this,n=[],i=0,r=new wI(function(t,e){return zO(t.ot(),e.ot())});return this.oi.forEach(function(s,a){var o=e.zr.get(s);if(a.li){var l=fY(e.Gr.Kt,a.li,e.ai(s));r=r.add(s.path.Z());var c=YY(l);i+=c-o,n.push(e.Gr.ui(t,s,l))}else if(i-=o,e.Wr){var u=fY(e.Gr.Kt,new $A(s,uA.min()),e.ai(s));n.push(e.Gr.ui(t,s,u))}else n.push(e.Gr._i(t,s))}),r.forEach(function(i){n.push(e.Gr.Ti.Us(t,i))}),n.push(this.Gr.updateMetadata(t,i)),TR.$n(n)},e.prototype.di=function(t,e){var n=this;return this.Gr.Br(t,e).next(function(t){return null===t?(n.zr.set(e,0),null):(n.zr.set(e,t.size),t.li)})},e.prototype.wi=function(t,e){var n=this;return this.Gr.Ur(t,e).next(function(t){var e=t.Qr;return t.Kr.forEach(function(t,e){n.zr.set(t,e)}),e})},e}(IY);function tj(t){return lY(t,QR.store)}function ej(t){return lY(t,JR.store)}function nj(t){return t.path.rt()}var ij=function(){function t(t){this.Kt=t}return t.prototype.Yn=function(t,e,n,i){var r=this;FO(n=0&&i<=11);var s=new MR("createOrUpgrade",e);n<1&&i>=1&&(function(t){t.createObjectStore(WR.store)}(t),function(t){t.createObjectStore(qR.store,{keyPath:qR.keyPath}),t.createObjectStore(GR.store,{keyPath:GR.keyPath,autoIncrement:!0}).createIndex(GR.userMutationsIndex,GR.userMutationsKeyPath,{unique:!0}),t.createObjectStore($R.store)}(t),rj(t),function(t){t.createObjectStore(JR.store)}(t));var a=TR.resolve();return n<3&&i>=3&&(0!==n&&(function(t){t.deleteObjectStore(tY.store),t.deleteObjectStore(ZR.store),t.deleteObjectStore(eY.store)}(t),rj(t)),a=a.next(function(){return function(t){var e=t.store(eY.store),n=new eY(0,0,uA.min().G(),0);return e.put(eY.key,n)}(s)})),n<4&&i>=4&&(0!==n&&(a=a.next(function(){return function(t,e){return e.store(GR.store).os().next(function(n){t.deleteObjectStore(GR.store),t.createObjectStore(GR.store,{keyPath:GR.keyPath,autoIncrement:!0}).createIndex(GR.userMutationsIndex,GR.userMutationsKeyPath,{unique:!0});var i=e.store(GR.store),r=n.map(function(t){return i.put(t)});return TR.$n(r)})}(t,s)})),a=a.next(function(){!function(t){t.createObjectStore(iY.store,{keyPath:iY.keyPath})}(t)})),n<5&&i>=5&&(a=a.next(function(){return r.Hr(s)})),n<6&&i>=6&&(a=a.next(function(){return function(t){t.createObjectStore(QR.store)}(t),r.Jr(s)})),n<7&&i>=7&&(a=a.next(function(){return r.Yr(s)})),n<8&&i>=8&&(a=a.next(function(){return r.Xr(t,s)})),n<9&&i>=9&&(a=a.next(function(){!function(t){t.objectStoreNames.contains("remoteDocumentChanges")&&t.deleteObjectStore("remoteDocumentChanges")}(t),function(t){var e=t.objectStore(JR.store);e.createIndex(JR.readTimeIndex,JR.readTimeIndexPath,{unique:!1}),e.createIndex(JR.collectionReadTimeIndex,JR.collectionReadTimeIndexPath,{unique:!1})}(e)})),n<10&&i>=10&&(a=a.next(function(){return r.Zr(s)})),n<11&&i>=11&&(a=a.next(function(){!function(t){t.createObjectStore(rY.store,{keyPath:rY.keyPath})}(t),function(t){t.createObjectStore(sY.store,{keyPath:sY.keyPath})}(t)})),a},t.prototype.Jr=function(t){var e=0;return t.store(JR.store).ls(function(t,n){e+=YY(n)}).next(function(){var n=new QR(e);return t.store(QR.store).put(QR.key,n)})},t.prototype.Hr=function(t){var e=this,n=t.store(qR.store),i=t.store(GR.store);return n.os().next(function(n){return TR.forEach(n,function(n){var r=IDBKeyRange.bound([n.userId,-1],[n.userId,n.lastAcknowledgedBatchId]);return i.os(GR.userMutationsIndex,r).next(function(i){return TR.forEach(i,function(i){FO(i.userId===n.userId);var r=_Y(e.Kt,i);return RY(t,n.userId,r).next(function(){})})})})})},t.prototype.Yr=function(t){var e=t.store(tY.store),n=t.store(JR.store);return t.store(eY.store).get(eY.key).next(function(t){var i=[];return n.ls(function(n,r){var s=new hA(n),a=function(t){return[0,BR(t)]}(s);i.push(e.get(a).next(function(n){return n?TR.resolve():function(n){return e.put(new tY(0,BR(n),t.highestListenSequenceNumber))}(s)}))}).next(function(){return TR.$n(i)})})},t.prototype.Xr=function(t,e){t.createObjectStore(nY.store,{keyPath:nY.keyPath});var n=e.store(nY.store),i=new TY,r=function(t){if(i.add(t)){var e=t.et(),r=t.Z();return n.put({collectionId:e,parent:BR(r)})}};return e.store(JR.store).ls({hs:!0},function(t,e){var n=new hA(t);return r(n.Z())}).next(function(){return e.store($R.store).ls({hs:!0},function(t,e){var n=zR(t[1]);return r(n.Z())})})},t.prototype.Zr=function(t){var e=this,n=t.store(ZR.store);return n.ls(function(t,i){var r=yY(i),s=vY(e.Kt,r);return n.put(s)})},t}();function rj(t){t.createObjectStore(tY.store,{keyPath:tY.keyPath}).createIndex(tY.documentTargetsIndex,tY.documentTargetsKeyPath,{unique:!0}),t.createObjectStore(ZR.store,{keyPath:ZR.keyPath}).createIndex(ZR.queryTargetsIndexName,ZR.queryTargetsKeyPath,{unique:!0}),t.createObjectStore(eY.store)}var sj="Failed to obtain exclusive access to the persistence layer. To allow shared access, multi-tab synchronization has to be enabled in all tabs. If you are using `experimentalForceOwningTab:true`, make sure that only one tab has persistence enabled at any given time.",aj=function(){function t(e,n,i,r,s,a,o,l,c,u){if(this.allowTabSynchronization=e,this.persistenceKey=n,this.clientId=i,this.eo=s,this.window=a,this.document=o,this.no=c,this.so=u,this.io=null,this.ro=!1,this.isPrimary=!1,this.networkEnabled=!0,this.oo=null,this.inForeground=!1,this.co=null,this.ao=null,this.uo=Number.NEGATIVE_INFINITY,this.ho=function(t){return Promise.resolve()},!t.jn())throw new $O(GO.UNIMPLEMENTED,"This platform is either missing IndexedDB or is known to have an incomplete implementation. Offline persistence has been disabled.");this.Ii=new KY(this,r),this.lo=n+"main",this.Kt=new dY(l),this._o=new DR(this.lo,11,new ij(this.Kt)),this.fo=new VY(this.Ii,this.Kt),this.Ti=new MY,this.wo=function(t,e){return new QY(t,e)}(this.Kt,this.Ti),this.Eo=new SY,this.window&&this.window.localStorage?this.To=this.window.localStorage:(this.To=null,!1===u&&YO("IndexedDbPersistence","LocalStorage is unavailable. As a result, persistence may not work reliably. In particular enablePersistence() could fail immediately after refreshing the page."))}return t.prototype.start=function(){var t=this;return this.Io().then(function(){if(!t.isPrimary&&!t.allowTabSynchronization)throw new $O(GO.FAILED_PRECONDITION,sj);return t.mo(),t.Ao(),t.Ro(),t.runTransaction("getHighestListenSequenceNumber","readonly",function(e){return t.fo.ji(e)})}).then(function(e){t.io=new lA(e,t.no)}).then(function(){t.ro=!0}).catch(function(e){return t._o&&t._o.close(),Promise.reject(e)})},t.prototype.Po=function(t){var e=this;return this.ho=function(n){return Object(AO.b)(e,void 0,void 0,function(){return Object(AO.d)(this,function(e){return this.Tr?[2,t(n)]:[2]})})},t(this.isPrimary)},t.prototype.yo=function(t){var e=this;this._o.Zn(function(n){return Object(AO.b)(e,void 0,void 0,function(){return Object(AO.d)(this,function(e){switch(e.label){case 0:return null===n.newVersion?[4,t()]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}})})})},t.prototype.Vo=function(t){var e=this;this.networkEnabled!==t&&(this.networkEnabled=t,this.eo.ys(function(){return Object(AO.b)(e,void 0,void 0,function(){return Object(AO.d)(this,function(t){switch(t.label){case 0:return this.Tr?[4,this.Io()]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}})})}))},t.prototype.Io=function(){var t=this;return this.runTransaction("updateClientMetadataAndTryBecomePrimary","readwrite",function(e){return lj(e).put(new iY(t.clientId,Date.now(),t.networkEnabled,t.inForeground)).next(function(){if(t.isPrimary)return t.po(e).next(function(e){e||(t.isPrimary=!1,t.eo.bo(function(){return t.ho(!1)}))})}).next(function(){return t.vo(e)}).next(function(n){return t.isPrimary&&!n?t.So(e).next(function(){return!1}):!!n&&t.Do(e).next(function(){return!0})})}).catch(function(e){if(AR(e))return RO("IndexedDbPersistence","Failed to extend owner lease: ",e),t.isPrimary;if(!t.allowTabSynchronization)throw e;return RO("IndexedDbPersistence","Releasing owner lease after error during lease refresh",e),!1}).then(function(e){t.isPrimary!==e&&t.eo.bo(function(){return t.ho(e)}),t.isPrimary=e})},t.prototype.po=function(t){var e=this;return oj(t).get(WR.key).next(function(t){return TR.resolve(e.Co(t))})},t.prototype.xo=function(t){return lj(t).delete(this.clientId)},t.prototype.No=function(){return Object(AO.b)(this,void 0,void 0,function(){var t,e,n,i=this;return Object(AO.d)(this,function(r){switch(r.label){case 0:return!this.isPrimary||this.Oo(this.uo,18e5)?[3,2]:(this.uo=Date.now(),[4,this.runTransaction("maybeGarbageCollectMultiClientState","readwrite-primary",function(t){var e=lY(t,iY.store);return e.os().next(function(t){var n=i.Fo(t,18e5),r=t.filter(function(t){return-1===n.indexOf(t)});return TR.forEach(r,function(t){return e.delete(t.clientId)}).next(function(){return r})})}).catch(function(){return[]})]);case 1:if(t=r.sent(),this.To)for(e=0,n=t;en&&(YO("Detected an update time that is in the future: "+t+" > "+n),1))},t.prototype.mo=function(){var t=this;null!==this.document&&"function"==typeof this.document.addEventListener&&(this.co=function(){t.eo.ys(function(){return t.inForeground="visible"===t.document.visibilityState,t.Io()})},this.document.addEventListener("visibilitychange",this.co),this.inForeground="visible"===this.document.visibilityState)},t.prototype.Bo=function(){this.co&&(this.document.removeEventListener("visibilitychange",this.co),this.co=null)},t.prototype.Ao=function(){var t,e=this;"function"==typeof(null===(t=this.window)||void 0===t?void 0:t.addEventListener)&&(this.oo=function(){e.$o(),e.eo.ys(function(){return e.Lo()})},this.window.addEventListener("unload",this.oo))},t.prototype.qo=function(){this.oo&&(this.window.removeEventListener("unload",this.oo),this.oo=null)},t.prototype.Mo=function(t){var e;try{var n=null!==(null===(e=this.To)||void 0===e?void 0:e.getItem(this.ko(t)));return RO("IndexedDbPersistence","Client '"+t+"' "+(n?"is":"is not")+" zombied in LocalStorage"),n}catch(t){return YO("IndexedDbPersistence","Failed to get zombied client id.",t),!1}},t.prototype.$o=function(){if(this.To)try{this.To.setItem(this.ko(this.clientId),String(Date.now()))}catch(t){YO("Failed to set zombie client id.",t)}},t.prototype.Uo=function(){if(this.To)try{this.To.removeItem(this.ko(this.clientId))}catch(t){}},t.prototype.ko=function(t){return"firestore_zombie_"+this.persistenceKey+"_"+t},t}();function oj(t){return lY(t,WR.store)}function lj(t){return lY(t,iY.store)}function cj(t,e){var n=t.projectId;return t.m||(n+="."+t.database),"firestore/"+e+"/"+n+"/"}var uj=function(t,e){this.progress=t,this.zo=e},dj=function(){function t(t,e,n){this.wo=t,this.Ho=e,this.Ti=n}return t.prototype.Jo=function(t,e){var n=this;return this.Ho.vi(t,e).next(function(i){return n.Yo(t,e,i)})},t.prototype.Yo=function(t,e,n){return this.wo.fi(t,e).next(function(t){for(var i=0,r=n;i0)},t.prototype.hc=function(t,e){return IO()<=DT.a.DEBUG&&RO("QueryEngine","Using full collection scan to execute query:",LE(e)),this.uc.jr(t,e,uA.min())},t}(),mj=function(){function t(t,e,n,i){this.persistence=t,this.fc=e,this.Kt=i,this.dc=new _I(zO),this.wc=new EY(function(t){return QA(t)},ZA),this.Ec=uA.min(),this.Ho=t.Ko(n),this.Tc=t.Fr(),this.fo=t.Dr(),this.Ic=new dj(this.Tc,this.Ho,this.persistence.jo()),this.Eo=t.Wo(),this.fc.ac(this.Ic)}return t.prototype.mr=function(t){var e=this;return this.persistence.runTransaction("Collect garbage","readwrite-primary",function(n){return t.pr(n,e.dc)})},t}();function pj(t,e,n,i){return new mj(t,e,n,i)}function bj(t,e){return Object(AO.b)(this,void 0,void 0,function(){var n,i,r,s;return Object(AO.d)(this,function(a){switch(a.label){case 0:return n=BO(t),i=n.Ho,r=n.Ic,[4,n.persistence.runTransaction("Handle user change","readonly",function(t){var s;return n.Ho.bi(t).next(function(a){return s=a,i=n.persistence.Ko(e),r=new dj(n.Tc,i,n.persistence.jo()),i.bi(t)}).next(function(e){for(var n=[],i=[],a=AI(),o=0,l=s;o0){var c=o.$t(l,i).Lt(t.vs);r=r.Ht(s,c),function(t,e,n){return FO(e.resumeToken.o()>0),0===t.resumeToken.o()||e.Mt.W()-t.Mt.W()>=3e8||n.Ue.size+n.Qe.size+n.Ke.size>0}(o,c,e)&&a.push(n.fo.Ji(t,c))}}});var o=CI();if(e.Me.forEach(function(i,r){e.Le.has(i)&&a.push(n.persistence.Ii.kr(t,i))}),a.push(vj(t,s,e.Me,i,void 0).next(function(t){o=t})),!i.isEqual(uA.min())){var l=n.fo.Ki(t).next(function(e){return n.fo.Wi(t,t.vs,i)});a.push(l)}return TR.$n(a).next(function(){return s.apply(t)}).next(function(){return n.Ic.tc(t,o)})}).then(function(t){return n.dc=r,t})}function vj(t,e,n,i,r){var s=AI();return n.forEach(function(t){return s=s.add(t)}),e.getEntries(t,s).next(function(t){var s=CI();return n.forEach(function(n,a){var o=t.get(n),l=(null==r?void 0:r.get(n))||i;a instanceof $A&&a.version.isEqual(uA.min())?(e._i(n,l),s=s.Ht(n,a)):null==o||a.version.u(o.version)>0||0===a.version.u(o.version)&&o.hasPendingWrites?(e.ui(a,l),s=s.Ht(n,a)):RO("LocalStore","Ignoring outdated watch update for ",n,". Current version:",o.version," Watch version:",a.version)}),s})}function wj(t,e){var n=BO(t);return n.persistence.runTransaction("Get next mutation batch","readonly",function(t){return void 0===e&&(e=-1),n.Ho.Vi(t,e)})}function Sj(t,e){var n=BO(t);return n.persistence.runTransaction("Allocate target","readwrite",function(t){var i;return n.fo.er(t,e).next(function(r){return r?TR.resolve(i=r):n.fo.qi(t).next(function(r){return i=new IE(e,r,0,t.vs),n.fo.Gi(t,i).next(function(){return i})})})}).then(function(t){var i=n.dc.get(t.targetId);return(null===i||t.Mt.u(i.Mt)>0)&&(n.dc=n.dc.Ht(t.targetId,t),n.wc.set(e,t.targetId)),t})}function xj(t,e,n){return Object(AO.b)(this,void 0,void 0,function(){var i,r,s,a;return Object(AO.d)(this,function(o){switch(o.label){case 0:i=BO(t),r=i.dc.get(e),s=n?"readwrite":"readwrite-primary",o.label=1;case 1:return o.trys.push([1,4,,5]),n?[3,3]:[4,i.persistence.runTransaction("Release target",s,function(t){return i.persistence.Ii.removeTarget(t,r)})];case 2:o.sent(),o.label=3;case 3:return[3,5];case 4:if(!AR(a=o.sent()))throw a;return RO("LocalStore","Failed to update sequence numbers for target "+e+": "+a),[3,5];case 5:return i.dc=i.dc.remove(e),i.wc.delete(r.target),[2]}})})}function Cj(t,e,n){var i=BO(t),r=uA.min(),s=AI();return i.persistence.runTransaction("Execute query","readonly",function(t){return function(t,e,n){var i=BO(t),r=i.wc.get(n);return void 0!==r?TR.resolve(i.dc.get(r)):i.fo.er(e,n)}(i,t,kE(e)).next(function(e){if(e)return r=e.lastLimboFreeSnapshotVersion,i.fo.cr(t,e.targetId).next(function(t){s=t})}).next(function(){return i.fc.jr(t,e,n?r:uA.min(),n?s:AI())}).next(function(t){return{documents:t,Pc:s}})})}function kj(t,e){var n=BO(t),i=BO(n.fo),r=n.dc.get(e);return r?Promise.resolve(r.target):n.persistence.runTransaction("Get target data","readonly",function(t){return i.Dn(t,e).next(function(t){return t?t.target:null})})}function Tj(t){var e=BO(t);return e.persistence.runTransaction("Get new document changes","readonly",function(t){return function(t,e,n){var i=BO(t),r=CI(),s=mY(n),a=ej(e),o=IDBKeyRange.lowerBound(s,!0);return a.ls({index:JR.readTimeIndex,range:o},function(t,e){var n=hY(i.Kt,e);r=r.Ht(n.key,n),s=e.readTime}).next(function(){return{zo:r,readTime:pY(s)}})}(e.Tc,t,e.Ec)}).then(function(t){var n=t.zo;return e.Ec=t.readTime,n})}function Mj(t){return Object(AO.b)(this,void 0,void 0,function(){var e;return Object(AO.d)(this,function(n){return[2,(e=BO(t)).persistence.runTransaction("Synchronize last document change read time","readonly",function(t){return function(t){var e=ej(t),n=uA.min();return e.ls({index:JR.readTimeIndex,reverse:!0},function(t,e,i){e.readTime&&(n=pY(e.readTime)),i.done()}).next(function(){return n})}(t)}).then(function(t){e.Ec=t})]})})}function Dj(t,e,n,i){return Object(AO.b)(this,void 0,void 0,function(){var r,s,a,o,l,c,u,d,h,f;return Object(AO.d)(this,function(m){switch(m.label){case 0:for(r=BO(t),s=AI(),a=CI(),o=LI(),l=0,c=n;l=0)return r.Eo.Bs(t,e);var a=i.$t(qO.h,s);return r.dc=r.dc.Ht(a.targetId,a),r.fo.Ji(t,a).next(function(){return r.fo.Xi(t,i.targetId)}).next(function(){return r.fo.nr(t,n,i.targetId)}).next(function(){return r.Eo.Bs(t,e)})})]}})})}var Oj=function(){function t(t){this.Kt=t,this.bc=new Map,this.vc=new Map}return t.prototype.Ms=function(t,e){return TR.resolve(this.bc.get(e))},t.prototype.Ls=function(t,e){var n;return this.bc.set(e.id,{id:(n=e).id,version:n.version,createTime:QI(n.createTime)}),TR.resolve()},t.prototype.$s=function(t,e){return TR.resolve(this.vc.get(e))},t.prototype.Bs=function(t,e){return this.vc.set(e.name,function(t){return{name:t.name,query:wY(t.bundledQuery),readTime:QI(t.readTime)}}(e)),TR.resolve()},t}(),Aj=function(){function t(){this.Sc=new wI(Ej.Dc),this.Cc=new wI(Ej.xc)}return t.prototype.nt=function(){return this.Sc.nt()},t.prototype.sr=function(t,e){var n=new Ej(t,e);this.Sc=this.Sc.add(n),this.Cc=this.Cc.add(n)},t.prototype.Nc=function(t,e){var n=this;t.forEach(function(t){return n.sr(t,e)})},t.prototype.rr=function(t,e){this.Oc(new Ej(t,e))},t.prototype.Fc=function(t,e){var n=this;t.forEach(function(t){return n.rr(t,e)})},t.prototype.kc=function(t){var e=this,n=new pA(new hA([])),i=new Ej(n,t),r=new Ej(n,t+1),s=[];return this.Cc.Ae([i,r],function(t){e.Oc(t),s.push(t.key)}),s},t.prototype.Mc=function(){var t=this;this.Sc.forEach(function(e){return t.Oc(e)})},t.prototype.Oc=function(t){this.Sc=this.Sc.delete(t),this.Cc=this.Cc.delete(t)},t.prototype.Lc=function(t){var e=new pA(new hA([])),n=new Ej(e,t),i=new Ej(e,t+1),r=AI();return this.Cc.Ae([n,i],function(t){r=r.add(t.key)}),r},t.prototype.ki=function(t){var e=new Ej(t,0),n=this.Sc.Pe(e);return null!==n&&t.isEqual(n.key)},t}(),Ej=function(){function t(t,e){this.key=t,this.$c=e}return t.Dc=function(t,e){return pA.J(t.key,e.key)||zO(t.$c,e.$c)},t.xc=function(t,e){return zO(t.$c,e.$c)||pA.J(t.key,e.key)},t}(),Ij=function(){function t(t,e){this.Ti=t,this.Ii=e,this.Ho=[],this.Bc=1,this.qc=new wI(Ej.Dc)}return t.prototype.Ri=function(t){return TR.resolve(0===this.Ho.length)},t.prototype.Pi=function(t,e,n,i){var r=this.Bc;this.Bc++;var s=new cY(r,e,n,i);this.Ho.push(s);for(var a=0,o=i;ai?this.Ho[i]:null)},t.prototype.pi=function(){return TR.resolve(0===this.Ho.length?-1:this.Bc-1)},t.prototype.bi=function(t){return TR.resolve(this.Ho.slice())},t.prototype.vi=function(t,e){var n=this,i=new Ej(e,0),r=new Ej(e,Number.POSITIVE_INFINITY),s=[];return this.qc.Ae([i,r],function(t){var e=n.Uc(t.$c);s.push(e)}),TR.resolve(s)},t.prototype.Si=function(t,e){var n=this,i=new wI(zO);return e.forEach(function(t){var e=new Ej(t,0),r=new Ej(t,Number.POSITIVE_INFINITY);n.qc.Ae([e,r],function(t){i=i.add(t.$c)})}),TR.resolve(this.Kc(i))},t.prototype.Ci=function(t,e){var n=e.path,i=n.length+1,r=n;pA.Et(r)||(r=r.child(""));var s=new Ej(new pA(r),0),a=new wI(zO);return this.qc.Re(function(t){var e=t.key.path;return!!n.st(e)&&(e.length===i&&(a=a.add(t.$c)),!0)},s),TR.resolve(this.Kc(a))},t.prototype.Kc=function(t){var e=this,n=[];return t.forEach(function(t){var i=e.Uc(t);null!==i&&n.push(i)}),n},t.prototype.xi=function(t,e){var n=this;FO(0===this.jc(e.batchId,"removed")),this.Ho.shift();var i=this.qc;return TR.forEach(e.mutations,function(r){var s=new Ej(r.key,e.batchId);return i=i.delete(s),n.Ii.Oi(t,r.key)}).next(function(){n.qc=i})},t.prototype.Ni=function(t){},t.prototype.ki=function(t,e){var n=new Ej(e,0),i=this.qc.Pe(n);return TR.resolve(e.isEqual(i&&i.key))},t.prototype.Fi=function(t){return TR.resolve()},t.prototype.jc=function(t,e){return this.Qc(t)},t.prototype.Qc=function(t){return 0===this.Ho.length?0:t-this.Ho[0].batchId},t.prototype.Uc=function(t){var e=this.Qc(t);return e<0||e>=this.Ho.length?null:this.Ho[e]},t}(),Rj=function(){function t(t,e){this.Ti=t,this.Wc=e,this.docs=new _I(pA.J),this.size=0}return t.prototype.ui=function(t,e,n){var i=e.key,r=this.docs.get(i),s=r?r.size:0,a=this.Wc(e);return this.docs=this.docs.Ht(i,{li:e,size:a,readTime:n}),this.size+=a-s,this.Ti.Us(t,i.path.Z())},t.prototype._i=function(t){var e=this.docs.get(t);e&&(this.docs=this.docs.remove(t),this.size-=e.size)},t.prototype.fi=function(t,e){var n=this.docs.get(e);return TR.resolve(n?n.li:null)},t.prototype.getEntries=function(t,e){var n=this,i=kI();return e.forEach(function(t){var e=n.docs.get(t);i=i.Ht(t,e?e.li:null)}),TR.resolve(i)},t.prototype.jr=function(t,e,n){for(var i=MI(),r=new pA(e.path.child("")),s=this.docs.ne(r);s.ae();){var a=s.ce(),o=a.value,l=o.li,c=o.readTime;if(!e.path.st(a.key.path))break;c.u(n)<=0||l instanceof GA&&OE(e,l)&&(i=i.Ht(l.key,l))}return TR.resolve(i)},t.prototype.Gc=function(t,e){return TR.forEach(this.docs,function(t){return e(t)})},t.prototype.Or=function(t){return new Yj(this)},t.prototype.Mr=function(t){return TR.resolve(this.size)},t}(),Yj=function(t){function e(e){var n=this;return(n=t.call(this)||this).Gr=e,n}return Object(AO.c)(e,t),e.prototype.Ei=function(t){var e=this,n=[];return this.oi.forEach(function(i,r){r&&r.li?n.push(e.Gr.ui(t,r.li,e.ai(i))):e.Gr._i(i)}),TR.$n(n)},e.prototype.di=function(t,e){return this.Gr.fi(t,e)},e.prototype.wi=function(t,e){return this.Gr.getEntries(t,e)},e}(IY),jj=function(){function t(t){this.persistence=t,this.zc=new EY(function(t){return QA(t)},ZA),this.lastRemoteSnapshotVersion=uA.min(),this.highestTargetId=0,this.Hc=0,this.Jc=new Aj,this.targetCount=0,this.Yc=HY.$i()}return t.prototype.mn=function(t,e){return this.zc.forEach(function(t,n){return e(n)}),TR.resolve()},t.prototype.Ki=function(t){return TR.resolve(this.lastRemoteSnapshotVersion)},t.prototype.ji=function(t){return TR.resolve(this.Hc)},t.prototype.qi=function(t){return this.highestTargetId=this.Yc.next(),TR.resolve(this.highestTargetId)},t.prototype.Wi=function(t,e,n){return n&&(this.lastRemoteSnapshotVersion=n),e>this.Hc&&(this.Hc=e),TR.resolve()},t.prototype.zi=function(t){this.zc.set(t.target,t);var e=t.targetId;e>this.highestTargetId&&(this.Yc=new HY(e),this.highestTargetId=e),t.sequenceNumber>this.Hc&&(this.Hc=t.sequenceNumber)},t.prototype.Gi=function(t,e){return this.zi(e),this.targetCount+=1,TR.resolve()},t.prototype.Ji=function(t,e){return this.zi(e),TR.resolve()},t.prototype.Yi=function(t,e){return this.zc.delete(e.target),this.Jc.kc(e.targetId),this.targetCount-=1,TR.resolve()},t.prototype.Zi=function(t,e,n){var i=this,r=0,s=[];return this.zc.forEach(function(a,o){o.sequenceNumber<=e&&null===n.get(o.targetId)&&(i.zc.delete(a),s.push(i.Xi(t,o.targetId)),r++)}),TR.$n(s).next(function(){return r})},t.prototype.tr=function(t){return TR.resolve(this.targetCount)},t.prototype.er=function(t,e){var n=this.zc.get(e)||null;return TR.resolve(n)},t.prototype.nr=function(t,e,n){return this.Jc.Nc(e,n),TR.resolve()},t.prototype.ir=function(t,e,n){this.Jc.Fc(e,n);var i=this.persistence.Ii,r=[];return i&&e.forEach(function(e){r.push(i.Oi(t,e))}),TR.$n(r)},t.prototype.Xi=function(t,e){return this.Jc.kc(e),TR.resolve()},t.prototype.cr=function(t,e){var n=this.Jc.Lc(e);return TR.resolve(n)},t.prototype.ki=function(t,e){return TR.resolve(this.Jc.ki(e))},t}(),Nj=function(){function t(t,e){var n=this;this.Xc={},this.io=new lA(0),this.ro=!1,this.ro=!0,this.Ii=t(this),this.fo=new jj(this),this.Ti=new kY,this.wo=function(t,e){return new Rj(t,function(t){return n.Ii.Zc(t)})}(this.Ti),this.Kt=new dY(e),this.Eo=new Oj(this.Kt)}return t.prototype.start=function(){return Promise.resolve()},t.prototype.Lo=function(){return this.ro=!1,Promise.resolve()},Object.defineProperty(t.prototype,"Tr",{get:function(){return this.ro},enumerable:!1,configurable:!0}),t.prototype.yo=function(){},t.prototype.Vo=function(){},t.prototype.jo=function(){return this.Ti},t.prototype.Ko=function(t){var e=this.Xc[t.R()];return e||(e=new Ij(this.Ti,this.Ii),this.Xc[t.R()]=e),e},t.prototype.Dr=function(){return this.fo},t.prototype.Fr=function(){return this.wo},t.prototype.Wo=function(){return this.Eo},t.prototype.runTransaction=function(t,e,n){var i=this;RO("MemoryPersistence","Starting transaction:",t);var r=new Pj(this.io.next());return this.Ii.ta(),n(r).next(function(t){return i.Ii.ea(r).next(function(){return t})}).Mn().then(function(t){return r.ps(),t})},t.prototype.na=function(t,e){return TR.Bn(Object.values(this.Xc).map(function(n){return function(){return n.ki(t,e)}}))},t}(),Pj=function(t){function e(e){var n=this;return(n=t.call(this)||this).vs=e,n}return Object(AO.c)(e,t),e}(FR),Fj=function(){function t(t){this.persistence=t,this.sa=new Aj,this.ia=null}return t.ra=function(e){return new t(e)},Object.defineProperty(t.prototype,"oa",{get:function(){if(this.ia)return this.ia;throw PO()},enumerable:!1,configurable:!0}),t.prototype.sr=function(t,e,n){return this.sa.sr(n,e),this.oa.delete(n.toString()),TR.resolve()},t.prototype.rr=function(t,e,n){return this.sa.rr(n,e),this.oa.add(n.toString()),TR.resolve()},t.prototype.Oi=function(t,e){return this.oa.add(e.toString()),TR.resolve()},t.prototype.removeTarget=function(t,e){var n=this;this.sa.kc(e.targetId).forEach(function(t){return n.oa.add(t.toString())});var i=this.persistence.Dr();return i.cr(t,e.targetId).next(function(t){t.forEach(function(t){return n.oa.add(t.toString())})}).next(function(){return i.Yi(t,e)})},t.prototype.ta=function(){this.ia=new Set},t.prototype.ea=function(t){var e=this,n=this.persistence.Fr().Or();return TR.forEach(this.oa,function(i){var r=pA.ft(i);return e.ca(t,r).next(function(t){t||n._i(r)})}).next(function(){return e.ia=null,n.apply(t)})},t.prototype.kr=function(t,e){var n=this;return this.ca(t,e).next(function(t){t?n.oa.delete(e.toString()):n.oa.add(e.toString())})},t.prototype.Zc=function(t){return 0},t.prototype.ca=function(t,e){var n=this;return TR.Bn([function(){return TR.resolve(n.sa.ki(e))},function(){return n.persistence.Dr().ki(t,e)},function(){return n.persistence.na(t,e)}])},t}();function Bj(t,e){return"firestore_clients_"+t+"_"+e}function Hj(t,e,n){var i="firestore_mutations_"+t+"_"+n;return e.A()&&(i+="_"+e.uid),i}function Vj(t,e){return"firestore_targets_"+t+"_"+e}var zj=function(){function t(t,e,n,i){this.user=t,this.batchId=e,this.state=n,this.error=i}return t.aa=function(e,n,i){var r=JSON.parse(i),s="object"==typeof r&&-1!==["pending","acknowledged","rejected"].indexOf(r.state)&&(void 0===r.error||"object"==typeof r.error),a=void 0;return s&&r.error&&(s="string"==typeof r.error.message&&"string"==typeof r.error.code)&&(a=new $O(r.error.code,r.error.message)),s?new t(e,n,r.state,a):(YO("SharedClientState","Failed to parse mutation state for ID '"+n+"': "+i),null)},t.prototype.ua=function(){var t={state:this.state,updateTimeMs:Date.now()};return this.error&&(t.error={code:this.error.code,message:this.error.message}),JSON.stringify(t)},t}(),Uj=function(){function t(t,e,n){this.targetId=t,this.state=e,this.error=n}return t.aa=function(e,n){var i=JSON.parse(n),r="object"==typeof i&&-1!==["not-current","current","rejected"].indexOf(i.state)&&(void 0===i.error||"object"==typeof i.error),s=void 0;return r&&i.error&&(r="string"==typeof i.error.message&&"string"==typeof i.error.code)&&(s=new $O(i.error.code,i.error.message)),r?new t(e,i.state,s):(YO("SharedClientState","Failed to parse target state for ID '"+e+"': "+n),null)},t.prototype.ua=function(){var t={state:this.state,updateTimeMs:Date.now()};return this.error&&(t.error={code:this.error.code,message:this.error.message}),JSON.stringify(t)},t}(),Wj=function(){function t(t,e){this.clientId=t,this.activeTargetIds=e}return t.aa=function(e,n){for(var i=JSON.parse(n),r="object"==typeof i&&i.activeTargetIds instanceof Array,s=II(),a=0;r&&a0){var i=a.getResponseJson().error;if(i&&i.status&&i.message){var o=function(t){var e=t.toLowerCase().replace(/_/g,"-");return Object.values(GO).indexOf(e)>=0?e:GO.UNKNOWN}(i.status);s(new $O(o,i.message))}else s(new $O(GO.UNKNOWN,"Server responded with status "+a.getStatus()))}else s(new $O(GO.UNAVAILABLE,"Connection failed."));break;default:PO()}}finally{RO("Connection",'RPC "'+t+'" completed.')}});var o=JSON.stringify(i);a.send(e,"POST",o,n,15)})},e.prototype.xu=function(t,e){var n=[this.Vu,"/","google.firestore.v1.Firestore","/",t,"/channel"],i=new wO,r=CD(),s={httpSessionIdParam:"gsessionid",initMessageHeaders:{},messageUrlParams:{database:"projects/"+this.T.projectId+"/databases/"+this.T.database},sendRawJson:!0,supportsCrossDomainXhr:!0,internalChannelParams:{forwardChannelRequestTimeoutMs:6e5},forceLongPolling:this.forceLongPolling,detectBufferingProxy:this.I};this.Su(s.initMessageHeaders,e),Object(LT.l)()||Object(LT.n)()||Object(LT.j)()||Object(LT.k)()||Object(LT.o)()||Object(LT.i)()||(s.httpHeadersOverwriteParam="$httpHeaders");var a=n.join("");RO("Connection","Creating WebChannel: "+a,s);var o=i.createWebChannel(a,s),l=!1,c=!1,u=new Zj({du:function(t){c?RO("Connection","Not sending because WebChannel is closed:",t):(l||(RO("Connection","Opening WebChannel transport."),o.open(),l=!0),RO("Connection","WebChannel sending:",t),o.send(t))},wu:function(){return o.close()}}),d=function(t,e,n){t.listen(e,function(t){try{n(t)}catch(t){setTimeout(function(){throw t},0)}})};return d(o,LO.EventType.OPEN,function(){c||RO("Connection","WebChannel transport opened.")}),d(o,LO.EventType.CLOSE,function(){c||(c=!0,RO("Connection","WebChannel transport closed"),u.Pu())}),d(o,LO.EventType.ERROR,function(t){c||(c=!0,jO("Connection","WebChannel transport errored:",t),u.Pu(new $O(GO.UNAVAILABLE,"The operation could not be completed")))}),d(o,LO.EventType.MESSAGE,function(t){var e;if(!c){var n=t.data[0];FO(!!n);var i=n.error||(null===(e=n[0])||void 0===e?void 0:e.error);if(i){RO("Connection","WebChannel received error:",i);var r=i.status,s=function(t){var e=dI[t];if(void 0!==e)return gI(e)}(r),a=i.message;void 0===s&&(s=GO.INTERNAL,a="Unknown error status: "+r+" with message "+i.message),c=!0,u.Pu(new $O(s,a)),o.close()}else RO("Connection","WebChannel received:",n),u.yu(n)}}),d(r,DO.STAT_EVENT,function(t){10===t.stat?RO("Connection","Detected buffering proxy"):11===t.stat&&RO("Connection","Detected no buffering proxy")}),setTimeout(function(){u.Ru()},0),u},e}(function(){function t(t){this.gu=t,this.T=t.T,this.Vu=(t.ssl?"https":"http")+"://"+t.host,this.pu="projects/"+this.T.projectId+"/databases/"+this.T.database+"/documents"}return t.prototype.bu=function(t,e,n,i){var r=this.vu(t,e);RO("RestConnection","Sending: ",r,n);var s={};return this.Su(s,i),this.Du(t,r,s,n).then(function(t){return RO("RestConnection","Received: ",t),t},function(e){throw jO("RestConnection",t+" failed with error: ",e,"url: ",r,"request:",n),e})},t.prototype.Cu=function(t,e,n,i){return this.bu(t,e,n,i)},t.prototype.Su=function(t,e){if(t["X-Goog-Api-Client"]="gl-js/ fire/8.2.2",t["Content-Type"]="text/plain",e)for(var n in e.V)e.V.hasOwnProperty(n)&&(t[n]=e.V[n])},t.prototype.vu=function(t,e){return this.Vu+"/v1/"+e+":"+Qj[t]},t}());function eN(){return"undefined"!=typeof window?window:null}function nN(){return"undefined"!=typeof document?document:null}function iN(t){return new $I(t,!0)}var rN=function(){function t(t,e,n,i,r){void 0===n&&(n=1e3),void 0===i&&(i=1.5),void 0===r&&(r=6e4),this.eo=t,this.ds=e,this.Nu=n,this.Ou=i,this.Fu=r,this.ku=0,this.Mu=null,this.Lu=Date.now(),this.reset()}return t.prototype.reset=function(){this.ku=0},t.prototype.$u=function(){this.ku=this.Fu},t.prototype.Bu=function(t){var e=this;this.cancel();var n=Math.floor(this.ku+this.qu()),i=Math.max(0,Date.now()-this.Lu),r=Math.max(0,n-i);r>0&&RO("ExponentialBackoff","Backing off for "+r+" ms (base delay: "+this.ku+" ms, delay with jitter: "+n+" ms, last attempt: "+i+" ms ago)"),this.Mu=this.eo.Ir(this.ds,r,function(){return e.Lu=Date.now(),t()}),this.ku*=this.Ou,this.kuthis.Fu&&(this.ku=this.Fu)},t.prototype.Uu=function(){null!==this.Mu&&(this.Mu.Ps(),this.Mu=null)},t.prototype.cancel=function(){null!==this.Mu&&(this.Mu.cancel(),this.Mu=null)},t.prototype.qu=function(){return(Math.random()-.5)*this.ku},t}(),sN=function(){function t(t,e,n,i,r,s){this.eo=t,this.Qu=n,this.Ku=i,this.ju=r,this.listener=s,this.state=0,this.Wu=0,this.Gu=null,this.stream=null,this.zu=new rN(t,e)}return t.prototype.Hu=function(){return 1===this.state||2===this.state||4===this.state},t.prototype.Ju=function(){return 2===this.state},t.prototype.start=function(){3!==this.state?this.auth():this.Yu()},t.prototype.stop=function(){return Object(AO.b)(this,void 0,void 0,function(){return Object(AO.d)(this,function(t){switch(t.label){case 0:return this.Hu()?[4,this.close(0)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}})})},t.prototype.Xu=function(){this.state=0,this.zu.reset()},t.prototype.Zu=function(){var t=this;this.Ju()&&null===this.Gu&&(this.Gu=this.eo.Ir(this.Qu,6e4,function(){return t.th()}))},t.prototype.eh=function(t){this.nh(),this.stream.send(t)},t.prototype.th=function(){return Object(AO.b)(this,void 0,void 0,function(){return Object(AO.d)(this,function(t){return this.Ju()?[2,this.close(0)]:[2]})})},t.prototype.nh=function(){this.Gu&&(this.Gu.cancel(),this.Gu=null)},t.prototype.close=function(t,e){return Object(AO.b)(this,void 0,void 0,function(){return Object(AO.d)(this,function(n){switch(n.label){case 0:return this.nh(),this.zu.cancel(),this.Wu++,3!==t?this.zu.reset():e&&e.code===GO.RESOURCE_EXHAUSTED?(YO(e.toString()),YO("Using maximum backoff delay to prevent overloading the backend."),this.zu.$u()):e&&e.code===GO.UNAUTHENTICATED&&this.ju.v(),null!==this.stream&&(this.sh(),this.stream.close(),this.stream=null),this.state=t,[4,this.listener.Iu(e)];case 1:return n.sent(),[2]}})})},t.prototype.sh=function(){},t.prototype.auth=function(){var t=this;this.state=1;var e=this.ih(this.Wu),n=this.Wu;this.ju.getToken().then(function(e){t.Wu===n&&t.rh(e)},function(n){e(function(){var e=new $O(GO.UNKNOWN,"Fetching auth token failed: "+n.message);return t.oh(e)})})},t.prototype.rh=function(t){var e=this,n=this.ih(this.Wu);this.stream=this.ah(t),this.stream.Eu(function(){n(function(){return e.state=2,e.listener.Eu()})}),this.stream.Iu(function(t){n(function(){return e.oh(t)})}),this.stream.onMessage(function(t){n(function(){return e.onMessage(t)})})},t.prototype.Yu=function(){var t=this;this.state=4,this.zu.Bu(function(){return Object(AO.b)(t,void 0,void 0,function(){return Object(AO.d)(this,function(t){return this.state=0,this.start(),[2]})})})},t.prototype.oh=function(t){return RO("PersistentStream","close with error: "+t),this.stream=null,this.close(3,t)},t.prototype.ih=function(t){var e=this;return function(n){e.eo.ys(function(){return e.Wu===t?n():(RO("PersistentStream","stream callback skipped by getCloseGuardedDispatcher."),Promise.resolve())})}},t}(),aN=function(t){function e(e,n,i,r,s){var a=this;return(a=t.call(this,e,"listen_stream_connection_backoff","listen_stream_idle",n,i,s)||this).Kt=r,a}return Object(AO.c)(e,t),e.prototype.ah=function(t){return this.Ku.xu("Listen",t)},e.prototype.onMessage=function(t){this.zu.reset();var e=function(t,e){var n;if("targetChange"in e){var i=function(t){return"NO_CHANGE"===t?0:"ADD"===t?1:"REMOVE"===t?2:"CURRENT"===t?3:"RESET"===t?4:PO()}(e.targetChange.targetChangeType||"NO_CHANGE"),r=e.targetChange.targetIds||[],s=function(t,e){return t.qt?(FO(void 0===e||"string"==typeof e),qO.fromBase64String(e||"")):(FO(void 0===e||e instanceof Uint8Array),qO.fromUint8Array(e||new Uint8Array))}(t,e.targetChange.resumeToken),a=(o=e.targetChange.cause)&&function(t){var e=void 0===t.code?GO.UNKNOWN:gI(t.code);return new $O(e,t.message||"")}(o);n=new HI(i,r,s,a||null)}else if("documentChange"in e){r=nR(t,(i=e.documentChange).document.name),s=QI(i.document.updateTime);var o=new zA({mapValue:{fields:i.document.fields}}),l=(a=new GA(r,s,o,{}),i.targetIds||[]);n=new FI(l,i.removedTargetIds||[],a.key,a)}else if("documentDelete"in e)r=nR(t,(i=e.documentDelete).document),s=i.readTime?QI(i.readTime):uA.min(),o=new $A(r,s),n=new FI([],a=i.removedTargetIds||[],o.key,o);else if("documentRemove"in e)r=nR(t,(i=e.documentRemove).document),n=new FI([],s=i.removedTargetIds||[],r,null);else{if(!("filter"in e))return PO();var c=e.filter;r=new pI(i=c.count||0),n=new BI(s=c.targetId,r)}return n}(this.Kt,t),n=function(t){if(!("targetChange"in t))return uA.min();var e=t.targetChange;return e.targetIds&&e.targetIds.length?uA.min():e.readTime?QI(e.readTime):uA.min()}(t);return this.listener.uh(e,n)},e.prototype.hh=function(t){var e={};e.database=sR(this.Kt),e.addTarget=function(t,e){var n,i=e.target;return(n=tE(i)?{documents:dR(t,i)}:{query:hR(t,i)}).targetId=e.targetId,e.resumeToken.o()>0?n.resumeToken=KI(t,e.resumeToken):e.Mt.u(uA.min())>0&&(n.readTime=XI(t,e.Mt.G())),n}(this.Kt,t);var n=function(t,e){var n=function(t,e){switch(e){case 0:return null;case 1:return"existence-filter-mismatch";case 2:return"limbo-document";default:return PO()}}(0,e.kt);return null==n?null:{"goog-listen-tags":n}}(0,t);n&&(e.labels=n),this.eh(e)},e.prototype.lh=function(t){var e={};e.database=sR(this.Kt),e.removeTarget=t,this.eh(e)},e}(sN),oN=function(t){function e(e,n,i,r,s){var a=this;return(a=t.call(this,e,"write_stream_connection_backoff","write_stream_idle",n,i,s)||this).Kt=r,a._h=!1,a}return Object(AO.c)(e,t),Object.defineProperty(e.prototype,"fh",{get:function(){return this._h},enumerable:!1,configurable:!0}),e.prototype.start=function(){this._h=!1,this.lastStreamToken=void 0,t.prototype.start.call(this)},e.prototype.sh=function(){this._h&&this.dh([])},e.prototype.ah=function(t){return this.Ku.xu("Write",t)},e.prototype.onMessage=function(t){if(FO(!!t.streamToken),this.lastStreamToken=t.streamToken,this._h){this.zu.reset();var e=function(t,e){return t&&t.length>0?(FO(void 0!==e),t.map(function(t){return function(t,e){var n=QI(t.updateTime?t.updateTime:e);n.isEqual(uA.min())&&(n=QI(e));var i=null;return t.transformResults&&t.transformResults.length>0&&(i=t.transformResults),new KE(n,i)}(t,e)})):[]}(t.writeResults,t.commitTime),n=QI(t.commitTime);return this.listener.wh(n,e)}return FO(!t.writeResults||0===t.writeResults.length),this._h=!0,this.listener.Eh()},e.prototype.Th=function(){var t={};t.database=sR(this.Kt),this.eh(t)},e.prototype.dh=function(t){var e=this,n={streamToken:this.lastStreamToken,writes:t.map(function(t){return cR(e.Kt,t)})};this.eh(n)},e}(sN),lN=function(t){function e(e,n,i){var r=this;return(r=t.call(this)||this).credentials=e,r.Ku=n,r.Kt=i,r.Ih=!1,r}return Object(AO.c)(e,t),e.prototype.mh=function(){if(this.Ih)throw new $O(GO.FAILED_PRECONDITION,"The client has already been terminated.")},e.prototype.bu=function(t,e,n){var i=this;return this.mh(),this.credentials.getToken().then(function(r){return i.Ku.bu(t,e,n,r)}).catch(function(t){throw t.code===GO.UNAUTHENTICATED&&i.credentials.v(),t})},e.prototype.Cu=function(t,e,n){var i=this;return this.mh(),this.credentials.getToken().then(function(r){return i.Ku.Cu(t,e,n,r)}).catch(function(t){throw t.code===GO.UNAUTHENTICATED&&i.credentials.v(),t})},e.prototype.terminate=function(){this.Ih=!1},e}(function(){}),cN=function(){function t(t,e){this.fs=t,this.da=e,this.state="Unknown",this.Ah=0,this.Rh=null,this.Ph=!0}return t.prototype.yh=function(){var t=this;0===this.Ah&&(this.gh("Unknown"),this.Rh=this.fs.Ir("online_state_timeout",1e4,function(){return t.Rh=null,t.Vh("Backend didn't respond within 10 seconds."),t.gh("Offline"),Promise.resolve()}))},t.prototype.ph=function(t){"Online"===this.state?this.gh("Unknown"):(this.Ah++,this.Ah>=1&&(this.bh(),this.Vh("Connection failed 1 times. Most recent error: "+t.toString()),this.gh("Offline")))},t.prototype.set=function(t){this.bh(),this.Ah=0,"Online"===t&&(this.Ph=!1),this.gh(t)},t.prototype.gh=function(t){t!==this.state&&(this.state=t,this.da(t))},t.prototype.Vh=function(t){var e="Could not reach Cloud Firestore backend. "+t+"\nThis typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.";this.Ph?(YO(e),this.Ph=!1):RO("OnlineStateTracker",e)},t.prototype.bh=function(){null!==this.Rh&&(this.Rh.cancel(),this.Rh=null)},t}(),uN=function(t,e,n,i,r){var s=this;this.Sh=t,this.Dh=e,this.fs=n,this.Ch={},this.xh=[],this.Nh=new Map,this.Oh=new Set,this.Fh=[],this.kh=r,this.kh.cu(function(t){n.ys(function(){return Object(AO.b)(s,void 0,void 0,function(){return Object(AO.d)(this,function(t){switch(t.label){case 0:return yN(this)?(RO("RemoteStore","Restarting streams for network reachability change."),[4,function(t){return Object(AO.b)(this,void 0,void 0,function(){var e;return Object(AO.d)(this,function(n){switch(n.label){case 0:return(e=BO(t)).Oh.add(4),[4,hN(e)];case 1:return n.sent(),e.Mh.set("Unknown"),e.Oh.delete(4),[4,dN(e)];case 2:return n.sent(),[2]}})})}(this)]):[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}})})})}),this.Mh=new cN(n,i)};function dN(t){return Object(AO.b)(this,void 0,void 0,function(){var e,n;return Object(AO.d)(this,function(i){switch(i.label){case 0:if(!yN(t))return[3,4];e=0,n=t.Fh,i.label=1;case 1:return e0}function yN(t){return 0===BO(t).Oh.size}function vN(t){t.Lh=void 0}function wN(t){return Object(AO.b)(this,void 0,void 0,function(){return Object(AO.d)(this,function(e){return t.Nh.forEach(function(e,n){pN(t,e)}),[2]})})}function SN(t,e){return Object(AO.b)(this,void 0,void 0,function(){return Object(AO.d)(this,function(n){return vN(t),_N(t)?(t.Mh.ph(e),gN(t)):t.Mh.set("Unknown"),[2]})})}function xN(t,e,n){return Object(AO.b)(this,void 0,void 0,function(){var i,r,s;return Object(AO.d)(this,function(a){switch(a.label){case 0:if(t.Mh.set("Online"),!(e instanceof HI&&2===e.state&&e.cause))return[3,6];a.label=1;case 1:return a.trys.push([1,3,,5]),[4,function(t,e){return Object(AO.b)(this,void 0,void 0,function(){var n,i,r,s;return Object(AO.d)(this,function(a){switch(a.label){case 0:n=e.cause,i=0,r=e.targetIds,a.label=1;case 1:return i=0?[4,function(t,e){var n=t.Lh.pn(e);return n.Fe.forEach(function(n,i){if(n.resumeToken.o()>0){var r=t.Nh.get(i);r&&t.Nh.set(i,r.$t(n.resumeToken,e))}}),n.ke.forEach(function(e){var n=t.Nh.get(e);if(n){t.Nh.set(e,n.$t(qO.h,n.Mt)),bN(t,e);var i=new IE(n.target,e,1,n.sequenceNumber);pN(t,i)}}),t.Ch.Bh(n)}(t,n)]:[3,10];case 9:a.sent(),a.label=10;case 10:return[3,13];case 11:return RO("RemoteStore","Failed to raise snapshot:",s=a.sent()),[4,CN(t,s)];case 12:return a.sent(),[3,13];case 13:return[2]}})})}function CN(t,e,n){return Object(AO.b)(this,void 0,void 0,function(){var i=this;return Object(AO.d)(this,function(r){switch(r.label){case 0:if(!AR(e))throw e;return t.Oh.add(1),[4,hN(t)];case 1:return r.sent(),t.Mh.set("Offline"),n||(n=function(){return _j(t.Sh)}),t.fs.bo(function(){return Object(AO.b)(i,void 0,void 0,function(){return Object(AO.d)(this,function(e){switch(e.label){case 0:return RO("RemoteStore","Retrying IndexedDB access"),[4,n()];case 1:return e.sent(),t.Oh.delete(1),[4,dN(t)];case 2:return e.sent(),[2]}})})}),[2]}})})}function kN(t,e){return e().catch(function(n){return CN(t,n,e)})}function TN(t){return Object(AO.b)(this,void 0,void 0,function(){var e,n,i,r,s;return Object(AO.d)(this,function(a){switch(a.label){case 0:e=BO(t),n=YN(e),i=e.xh.length>0?e.xh[e.xh.length-1].batchId:-1,a.label=1;case 1:if(!function(t){return yN(t)&&t.xh.length<10}(e))return[3,7];a.label=2;case 2:return a.trys.push([2,4,,6]),[4,wj(e.Sh,i)];case 3:return null===(r=a.sent())?(0===e.xh.length&&n.Zu(),[3,7]):(i=r.batchId,function(t,e){t.xh.push(e);var n=YN(t);n.Ju()&&n.fh&&n.dh(e.mutations)}(e,r),[3,6]);case 4:return s=a.sent(),[4,CN(e,s)];case 5:return a.sent(),[3,6];case 6:return[3,1];case 7:return MN(e)&&DN(e),[2]}})})}function MN(t){return yN(t)&&!YN(t).Hu()&&t.xh.length>0}function DN(t){YN(t).start()}function LN(t){return Object(AO.b)(this,void 0,void 0,function(){return Object(AO.d)(this,function(e){return YN(t).Th(),[2]})})}function ON(t){return Object(AO.b)(this,void 0,void 0,function(){var e,n,i;return Object(AO.d)(this,function(r){for(e=YN(t),n=0,i=t.xh;n0&&(RO("RemoteStore","Stopping write stream with "+t.xh.length+" pending writes"),t.xh=[]),e.label=4;case 4:return[2]}})})})),t.Kh}var jN=function(){this.jh=void 0,this.listeners=[]},NN=function(){this.queries=new EY(function(t){return DE(t)},ME),this.onlineState="Unknown",this.Wh=new Set};function PN(t,e){return Object(AO.b)(this,void 0,void 0,function(){var n,i,r,s,a,o,l;return Object(AO.d)(this,function(c){switch(c.label){case 0:if(n=BO(t),r=!1,(s=n.queries.get(i=e.query))||(r=!0,s=new jN),!r)return[3,4];c.label=1;case 1:return c.trys.push([1,3,,4]),a=s,[4,n.Gh(i)];case 2:return a.jh=c.sent(),[3,4];case 3:return o=c.sent(),l=NR(o,"Initialization of query '"+LE(e.query)+"' failed"),[2,void e.onError(l)];case 4:return n.queries.set(i,s),s.listeners.push(e),e.zh(n.onlineState),s.jh&&e.Hh(s.jh)&&VN(n),[2]}})})}function FN(t,e){return Object(AO.b)(this,void 0,void 0,function(){var n,i,r,s,a;return Object(AO.d)(this,function(o){return n=BO(t),r=!1,(s=n.queries.get(i=e.query))&&(a=s.listeners.indexOf(e))>=0&&(s.listeners.splice(a,1),r=0===s.listeners.length),r?[2,(n.queries.delete(i),n.Jh(i))]:[2]})})}function BN(t,e){for(var n=BO(t),i=!1,r=0,s=e;r0||!!(t.xe||this.Zh&&this.Zh.hasPendingWrites!==t.hasPendingWrites)&&!0===this.options.includeMetadataChanges},t.prototype.nl=function(t){t=jI.Oe(t.query,t.docs,t.Ce,t.fromCache),this.Xh=!0,this.Yh.next(t)},t}(),UN=function(){function t(t,e){this.payload=t,this.byteLength=e}return t.prototype.il=function(){return"metadata"in this.payload},t}(),WN=function(){function t(t){this.Kt=t}return t.prototype.yc=function(t){return nR(this.Kt,t)},t.prototype.gc=function(t){return t.metadata.exists?lR(this.Kt,t.document,!1):new $A(this.yc(t.metadata.name),this.Vc(t.metadata.readTime))},t.prototype.Vc=function(t){return QI(t)},t}();!function(){function t(t,e,n){this.rl=t,this.Sh=e,this.Kt=n,this.queries=[],this.documents=[],this.progress=function(t){return{taskState:"Running",documentsLoaded:0,bytesLoaded:0,totalDocuments:t.totalDocuments,totalBytes:t.totalBytes}}(t)}t.prototype.ol=function(t){this.progress.bytesLoaded+=t.byteLength;var e=this.progress.documentsLoaded;return t.payload.namedQuery?this.queries.push(t.payload.namedQuery):t.payload.documentMetadata?(this.documents.push({metadata:t.payload.documentMetadata}),t.payload.documentMetadata.exists||++e):t.payload.document&&(this.documents[this.documents.length-1].document=t.payload.document,++e),e!==this.progress.documentsLoaded?(this.progress.documentsLoaded=e,Object.assign({},this.progress)):null},t.prototype.cl=function(t){for(var e=new Map,n=new WN(this.Kt),i=0,r=t;i0||c&&n.ll(d,c)<0)&&(o=!0)):!u&&d?(i.track({type:0,doc:d}),m=!0):u&&!d&&(i.track({type:1,doc:u}),m=!0,(l||c)&&(o=!0)),m&&(d?(a=a.add(d),s=f?s.add(t):s.delete(t)):(a=a.delete(t),s=s.delete(t)))}),yE(this.query)||vE(this.query))for(;a.size>this.query.limit;){var u=yE(this.query)?a.last():a.first();a=a.delete(u.key),s=s.delete(u.key),i.track({type:1,doc:u})}return{_l:a,wl:i,_c:o,Ce:s}},t.prototype.El=function(t,e){return t.bt&&e.hasCommittedMutations&&!e.bt},t.prototype.Ei=function(t,e,n){var i=this,r=this._l;this._l=t._l,this.Ce=t.Ce;var s=t.wl.Se();s.sort(function(t,e){return function(t,e){var n=function(t){switch(t){case 0:return 1;case 2:case 3:return 2;case 1:return 0;default:return PO()}};return n(t)-n(e)}(t.type,e.type)||i.ll(t.doc,e.doc)}),this.Tl(n);var a=e?this.Il():[],o=0===this.hl.size&&this.qe?1:0,l=o!==this.ul;return this.ul=o,0!==s.length||l?{snapshot:new jI(this.query,t._l,r,s,t.Ce,0===o,l,!1),ml:a}:{ml:a}},t.prototype.zh=function(t){return this.qe&&"Offline"===t?(this.qe=!1,this.Ei({_l:this._l,wl:new YI,Ce:this.Ce,_c:!1},!1)):{ml:[]}},t.prototype.Al=function(t){return!this.al.has(t)&&!!this._l.has(t)&&!this._l.get(t).bt},t.prototype.Tl=function(t){var e=this;t&&(t.Ue.forEach(function(t){return e.al=e.al.add(t)}),t.Qe.forEach(function(t){}),t.Ke.forEach(function(t){return e.al=e.al.delete(t)}),this.qe=t.qe)},t.prototype.Il=function(){var t=this;if(!this.qe)return[];var e=this.hl;this.hl=AI(),this._l.forEach(function(e){t.Al(e.key)&&(t.hl=t.hl.add(e.key))});var n=[];return e.forEach(function(e){t.hl.has(e)||n.push(new GN(e))}),this.hl.forEach(function(t){e.has(t)||n.push(new qN(t))}),n},t.prototype.Rl=function(t){this.al=t.Pc,this.hl=AI();var e=this.dl(t.documents);return this.Ei(e,!0)},t.prototype.Pl=function(){return jI.Oe(this.query,this._l,this.Ce,0===this.ul)},t}(),XN=function(t,e,n){this.query=t,this.targetId=e,this.view=n},KN=function(t){this.key=t,this.yl=!1},JN=function(){function t(t,e,n,i,r,s){this.Sh=t,this.gl=e,this.Vl=n,this.pl=i,this.currentUser=r,this.bl=s,this.vl={},this.Sl=new EY(function(t){return DE(t)},ME),this.Dl=new Map,this.Cl=[],this.xl=new _I(pA.J),this.Nl=new Map,this.Ol=new Aj,this.Fl={},this.kl=new Map,this.Ml=HY.Bi(),this.onlineState="Unknown",this.Ll=void 0}return Object.defineProperty(t.prototype,"$l",{get:function(){return!0===this.Ll},enumerable:!1,configurable:!0}),t}();function QN(t,e){return Object(AO.b)(this,void 0,void 0,function(){var n,i,r,s,a;return Object(AO.d)(this,function(o){switch(o.label){case 0:return n=MP(t),(r=n.Sl.get(e))?(n.pl.ka(r.targetId),i=r.view.Pl(),[3,4]):[3,1];case 1:return[4,Sj(n.Sh,kE(e))];case 2:return s=o.sent(),a=n.pl.ka(s.targetId),[4,ZN(n,e,s.targetId,"current"===a)];case 3:i=o.sent(),n.$l&&fN(n.gl,s),o.label=4;case 4:return[2,i]}})})}function ZN(t,e,n,i){return Object(AO.b)(this,void 0,void 0,function(){var r,s,a,o,l,c;return Object(AO.d)(this,function(u){switch(u.label){case 0:return t.Bl=function(e,n,i){return function(t,e,n,i){return Object(AO.b)(this,void 0,void 0,function(){var r,s,a;return Object(AO.d)(this,function(o){switch(o.label){case 0:return(r=e.view.dl(n))._c?[4,Cj(t.Sh,e.query,!1).then(function(t){return e.view.dl(t.documents,r)})]:[3,2];case 1:r=o.sent(),o.label=2;case 2:return s=i&&i.Fe.get(e.targetId),a=e.view.Ei(r,t.$l,s),[2,(hP(t,e.targetId,a.ml),a.snapshot)]}})})}(t,e,n,i)},[4,Cj(t.Sh,e,!0)];case 1:return r=u.sent(),s=new $N(e,r.Pc),a=s.dl(r.documents),o=PI.Be(n,i&&"Offline"!==t.onlineState),l=s.Ei(a,t.$l,o),hP(t,n,l.ml),c=new XN(e,n,s),[2,(t.Sl.set(e,c),t.Dl.has(n)?t.Dl.get(n).push(e):t.Dl.set(n,[e]),l.snapshot)]}})})}function tP(t,e){return Object(AO.b)(this,void 0,void 0,function(){var n,i,r;return Object(AO.d)(this,function(s){switch(s.label){case 0:return n=BO(t),i=n.Sl.get(e),(r=n.Dl.get(i.targetId)).length>1?[2,(n.Dl.set(i.targetId,r.filter(function(t){return!ME(t,e)})),void n.Sl.delete(e))]:n.$l?(n.pl.La(i.targetId),n.pl.Ca(i.targetId)?[3,2]:[4,xj(n.Sh,i.targetId,!1).then(function(){n.pl.Ba(i.targetId),mN(n.gl,i.targetId),uP(n,i.targetId)}).catch(AY)]):[3,3];case 1:s.sent(),s.label=2;case 2:return[3,5];case 3:return uP(n,i.targetId),[4,xj(n.Sh,i.targetId,!0)];case 4:s.sent(),s.label=5;case 5:return[2]}})})}function eP(t,e,n){return Object(AO.b)(this,void 0,void 0,function(){var i,r,s,a;return Object(AO.d)(this,function(o){switch(o.label){case 0:i=DP(t),o.label=1;case 1:return o.trys.push([1,5,,6]),[4,function(t,e){var n,i=BO(t),r=cA.now(),s=e.reduce(function(t,e){return t.add(e.key)},AI());return i.persistence.runTransaction("Locally write mutations","readwrite",function(t){return i.Ic.Zo(t,s).next(function(s){n=s;for(var a=[],o=0,l=e;o0?i.yl=!0:t.Qe.size>0?FO(i.yl):t.Ke.size>0&&(FO(i.yl),i.yl=!1))}),[4,pP(n,i,e)];case 3:return r.sent(),[3,6];case 4:return[4,AY(r.sent())];case 5:return r.sent(),[3,6];case 6:return[2]}})})}function iP(t,e,n){var i=BO(t);if(i.$l&&0===n||!i.$l&&1===n){var r=[];i.Sl.forEach(function(t,n){var i=n.view.zh(e);i.snapshot&&r.push(i.snapshot)}),function(t,e){var n=BO(t);n.onlineState=e;var i=!1;n.queries.forEach(function(t,n){for(var r=0,s=n.listeners;r0&&t.xl.size20&&(t=t.substring(0,20)+"..."),JSON.stringify(t);if("number"==typeof t||"boolean"==typeof t)return""+t;if("object"==typeof t){if(t instanceof Array)return"an array";var e=function(t){if(t.constructor){var e=/function\s+([^\s(]+)\s*\(/.exec(t.constructor.toString());if(e&&e.length>1)return e[1]}return null}(t);return e?"a custom "+e+" object":"an object"}return"function"==typeof t?"a function":PO()}function VP(t,e){if("_delegate"in t&&(t=t._),!(t instanceof e)){if(e.name===t.constructor.name)throw new $O(GO.INVALID_ARGUMENT,"Type does not match the expected instance. Did you pass a reference from a different Firestore SDK?");var n=HP(t);throw new $O(GO.INVALID_ARGUMENT,"Expected type '"+e.name+"', but it was: "+n)}return t}function zP(t,e){if(e<=0)throw new $O(GO.INVALID_ARGUMENT,"Function "+t+"() requires a positive number, but it was: "+e+".")}var UP=function(){function t(t){var e;if(void 0===t.host){if(void 0!==t.ssl)throw new $O(GO.INVALID_ARGUMENT,"Can't provide ssl option if host option is not set");this.host="firestore.googleapis.com",this.ssl=!0}else this.host=t.host,this.ssl=null===(e=t.ssl)||void 0===e||e;if(this.credentials=t.credentials,this.ignoreUndefinedProperties=!!t.ignoreUndefinedProperties,void 0===t.cacheSizeBytes)this.cacheSizeBytes=41943040;else{if(-1!==t.cacheSizeBytes&&t.cacheSizeBytes<1048576)throw new $O(GO.INVALID_ARGUMENT,"cacheSizeBytes must be at least 1048576");this.cacheSizeBytes=t.cacheSizeBytes}this.experimentalForceLongPolling=!!t.experimentalForceLongPolling,this.experimentalAutoDetectLongPolling=!!t.experimentalAutoDetectLongPolling,PP("experimentalForceLongPolling",t.experimentalForceLongPolling,"experimentalAutoDetectLongPolling",t.experimentalAutoDetectLongPolling)}return t.prototype.isEqual=function(t){return this.host===t.host&&this.ssl===t.ssl&&this.credentials===t.credentials&&this.cacheSizeBytes===t.cacheSizeBytes&&this.experimentalForceLongPolling===t.experimentalForceLongPolling&&this.experimentalAutoDetectLongPolling===t.experimentalAutoDetectLongPolling&&this.ignoreUndefinedProperties===t.ignoreUndefinedProperties},t}(),WP=new Map,qP=function(){function t(t,e){this.w_="(lite)",this.E_=new UP({}),this.T_=!1,t instanceof eA?(this.I_=t,this.m_=new rA):(this.A_=t,this.I_=function(t){if(!Object.prototype.hasOwnProperty.apply(t.options,["projectId"]))throw new $O(GO.INVALID_ARGUMENT,'"projectId" not provided in firebase.initializeApp.');return new eA(t.options.projectId)}(t),this.m_=new sA(e))}return Object.defineProperty(t.prototype,"app",{get:function(){if(!this.A_)throw new $O(GO.FAILED_PRECONDITION,"Firestore was not initialized using the Firebase SDK. 'app' is not available");return this.A_},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"R_",{get:function(){return this.T_},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"P_",{get:function(){return void 0!==this.y_},enumerable:!1,configurable:!0}),t.prototype.g_=function(t){if(this.T_)throw new $O(GO.FAILED_PRECONDITION,"Firestore has already been started and its settings can no longer be changed. You can only modify settings before calling any other methods on a Firestore object.");this.E_=new UP(t),void 0!==t.credentials&&(this.m_=function(t){if(!t)return new rA;switch(t.type){case"gapi":var e=t.client;return FO(!("object"!=typeof e||null===e||!e.auth||!e.auth.getAuthHeaderValueForFirstParty)),new oA(e,t.sessionIndex||"0");case"provider":return t.client;default:throw new $O(GO.INVALID_ARGUMENT,"makeCredentialsProvider failed due to invalid credential type")}}(t.credentials))},t.prototype.V_=function(){return this.E_},t.prototype.p_=function(){return this.T_=!0,this.E_},t.prototype._delete=function(){return this.y_||(this.y_=this.b_()),this.y_},t.prototype.b_=function(){return(t=WP.get(this))&&(RO("ComponentProvider","Removing Datastore"),WP.delete(this),t.terminate()),Promise.resolve();var t},t}(),GP=function(){function t(t,e,n){this.v_=e,this.S_=n,this.type="document",this.firestore=t}return Object.defineProperty(t.prototype,"D_",{get:function(){return this.S_.path},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.S_.path.et()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return this.S_.path.ot()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return new XP(this.firestore,this.v_,this.S_.path.Z())},enumerable:!1,configurable:!0}),t.prototype.withConverter=function(e){return new t(this.firestore,e,this.S_)},t}(),$P=function(){function t(t,e,n){this.v_=e,this.C_=n,this.type="query",this.firestore=t}return t.prototype.withConverter=function(e){return new t(this.firestore,e,this.C_)},t}(),XP=function(t){function e(e,n,i){var r=this;return(r=t.call(this,e,n,_E(i))||this).firestore=e,r.D_=i,r.type="collection",r}return Object(AO.c)(e,t),Object.defineProperty(e.prototype,"id",{get:function(){return this.C_.path.et()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return this.C_.path.ot()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){var t=this.D_.Z();return t.nt()?null:new GP(this.firestore,null,new pA(t))},enumerable:!1,configurable:!0}),e.prototype.withConverter=function(t){return new e(this.firestore,t,this.D_)},e}($P);function KP(t,e){for(var n,i=[],r=2;r90)throw new $O(GO.INVALID_ARGUMENT,"Latitude must be a number between -90 and 90, but was: "+t);if(!isFinite(e)||e<-180||e>180)throw new $O(GO.INVALID_ARGUMENT,"Longitude must be a number between -180 and 180, but was: "+e);this.x_=t,this.N_=e}return Object.defineProperty(t.prototype,"latitude",{get:function(){return this.x_},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"longitude",{get:function(){return this.N_},enumerable:!1,configurable:!0}),t.prototype.isEqual=function(t){return this.x_===t.x_&&this.N_===t.N_},t.prototype.toJSON=function(){return{latitude:this.x_,longitude:this.N_}},t.prototype.K=function(t){return zO(this.x_,t.x_)||zO(this.N_,t.N_)},t}(),eF=/^__.*__$/,nF=function(){function t(t,e,n){this.data=t,this.zt=e,this.fieldTransforms=n}return t.prototype.O_=function(t,e){return null!==this.zt?new aI(t,this.data,this.zt,e,this.fieldTransforms):new sI(t,this.data,e,this.fieldTransforms)},t}(),iF=function(){function t(t,e,n){this.data=t,this.zt=e,this.fieldTransforms=n}return t.prototype.O_=function(t,e){return new aI(t,this.data,this.zt,e,this.fieldTransforms)},t}();function rF(t){switch(t){case 0:case 2:case 1:return!0;case 3:case 4:return!1;default:throw PO()}}var sF=function(){function t(t,e,n,i,r,s){this.settings=t,this.T=e,this.Kt=n,this.ignoreUndefinedProperties=i,void 0===r&&this.F_(),this.fieldTransforms=r||[],this.zt=s||[]}return Object.defineProperty(t.prototype,"path",{get:function(){return this.settings.path},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"k_",{get:function(){return this.settings.k_},enumerable:!1,configurable:!0}),t.prototype.M_=function(e){return new t(Object.assign(Object.assign({},this.settings),e),this.T,this.Kt,this.ignoreUndefinedProperties,this.fieldTransforms,this.zt)},t.prototype.L_=function(t){var e,n=null===(e=this.path)||void 0===e?void 0:e.child(t),i=this.M_({path:n,B_:!1});return i.q_(t),i},t.prototype.U_=function(t){var e,n=null===(e=this.path)||void 0===e?void 0:e.child(t),i=this.M_({path:n,B_:!1});return i.F_(),i},t.prototype.Q_=function(t){return this.M_({path:void 0,B_:!0})},t.prototype.K_=function(t){return kF(t,this.settings.methodName,this.settings.j_||!1,this.path,this.settings.W_)},t.prototype.contains=function(t){return void 0!==this.zt.find(function(e){return t.st(e)})||void 0!==this.fieldTransforms.find(function(e){return t.st(e.field)})},t.prototype.F_=function(){if(this.path)for(var t=0;t=0;--h)if(!TF(u,o[h])){var f=o[h],m=l[h];m instanceof KO&&(m=m._);var p=a.U_(f);if(m instanceof cF)u.push(f);else{var b=_F(m,p);null!=b&&(u.push(f),d.set(f,b))}}var g=new yA(u);return new iF(d.yt(),g,a.fieldTransforms)}function gF(t,e,n,i){return void 0===i&&(i=!1),_F(n,t.G_(i?4:3,e))}function _F(t,e){if(t instanceof KO&&(t=t._),vF(t))return wF("Unsupported field value:",e,t),yF(t,e);if(t instanceof YP)return function(t,e){if(!rF(e.k_))throw e.K_(t._methodName+"() can only be used with update() and set()");if(!e.path)throw e.K_(t._methodName+"() is not currently supported inside arrays");var n=t.z_(e);n&&e.fieldTransforms.push(n)}(t,e),null;if(e.path&&e.zt.push(e.path),t instanceof Array){if(e.settings.B_&&4!==e.k_)throw e.K_("Nested arrays are not supported");return function(t,e){for(var n=[],i=0,r=0,s=t;r0&&e.zt.push(e.path):gA(t,function(t,i){var r=_F(i,e.L_(t));null!=r&&(n[t]=r)}),{mapValue:{fields:n}}}function vF(t){return!("object"!=typeof t||null===t||t instanceof Array||t instanceof Date||t instanceof cA||t instanceof tF||t instanceof XO||t instanceof GP||t instanceof YP)}function wF(t,e,n){if(!vF(n)||!function(t){return"object"==typeof t&&null!==t&&(Object.getPrototypeOf(t)===Object.prototype||null===Object.getPrototypeOf(t))}(n)){var i=HP(n);throw e.K_("an object"===i?t+" a custom object":t+" "+i)}}function SF(t,e,n){if(e instanceof KO&&(e=e._),e instanceof RP)return e.d_;if("string"==typeof e)return CF(t,e);throw kF("Field path arguments must be of type string or FieldPath.",t,!1,void 0,n)}var xF=new RegExp("[~\\*/\\[\\]]");function CF(t,e,n){if(e.search(xF)>=0)throw kF("Invalid field path ("+e+"). Paths must not contain '~', '*', '/', '[', or ']'",t,!1,void 0,n);try{return(new(RP.bind.apply(RP,Object(AO.g)([void 0],e.split("."))))).d_}catch(i){throw kF("Invalid field path ("+e+"). Paths must not be empty, begin with '.', end with '.', or contain '..'",t,!1,void 0,n)}}function kF(t,e,n,i,r){var s=i&&!i.nt(),a=void 0!==r,o="Function "+e+"() called with invalid data";n&&(o+=" (via `toFirestore()`)");var l="";return(s||a)&&(l+=" (found",s&&(l+=" in field "+i),a&&(l+=" in document "+r),l+=")"),new $O(GO.INVALID_ARGUMENT,(o+=". ")+t+l)}function TF(t,e){return t.some(function(t){return t.isEqual(e)})}var MF=function(){function t(t){this.Dh=t,this.Y_=new Map,this.mutations=[],this.X_=!1,this.Z_=null,this.tf=new Set}return t.prototype.ef=function(t){return Object(AO.b)(this,void 0,void 0,function(){var e,n=this;return Object(AO.d)(this,function(i){switch(i.label){case 0:if(this.nf(),this.mutations.length>0)throw new $O(GO.INVALID_ARGUMENT,"Firestore transactions require all reads to be executed before all writes.");return[4,function(t,e){return Object(AO.b)(this,void 0,void 0,function(){var n,i,r,s,a,o;return Object(AO.d)(this,function(l){switch(l.label){case 0:return n=BO(t),i=sR(n.Kt)+"/documents",r={documents:e.map(function(t){return eR(n.Kt,t)})},[4,n.Cu("BatchGetDocuments",i,r)];case 1:return s=l.sent(),a=new Map,s.forEach(function(t){var e=function(t,e){return"found"in e?function(t,e){FO(!!e.found);var n=nR(t,e.found.name),i=QI(e.found.updateTime),r=new zA({mapValue:{fields:e.found.fields}});return new GA(n,i,r,{})}(t,e):"missing"in e?function(t,e){FO(!!e.missing),FO(!!e.readTime);var n=nR(t,e.missing),i=QI(e.readTime);return new $A(n,i)}(t,e):PO()}(n.Kt,t);a.set(e.key.toString(),e)}),o=[],[2,(e.forEach(function(t){var e=a.get(t.toString());FO(!!e),o.push(e)}),o)]}})})}(this.Dh,t)];case 1:return[2,((e=i.sent()).forEach(function(t){t instanceof $A||t instanceof GA?n.sf(t):PO()}),e)]}})})},t.prototype.set=function(t,e){this.write(e.O_(t,this.Gt(t))),this.tf.add(t.toString())},t.prototype.update=function(t,e){try{this.write(e.O_(t,this.rf(t)))}catch(t){this.Z_=t}this.tf.add(t.toString())},t.prototype.delete=function(t){this.write(new fI(t,this.Gt(t))),this.tf.add(t.toString())},t.prototype.commit=function(){return Object(AO.b)(this,void 0,void 0,function(){var t,e=this;return Object(AO.d)(this,function(n){switch(n.label){case 0:if(this.nf(),this.Z_)throw this.Z_;return t=this.Y_,this.mutations.forEach(function(e){t.delete(e.key.toString())}),t.forEach(function(t,n){var i=pA.ft(n);e.mutations.push(new mI(i,e.Gt(i)))}),[4,function(t,e){return Object(AO.b)(this,void 0,void 0,function(){var n,i,r;return Object(AO.d)(this,function(s){switch(s.label){case 0:return n=BO(t),i=sR(n.Kt)+"/documents",r={writes:e.map(function(t){return cR(n.Kt,t)})},[4,n.bu("Commit",i,r)];case 1:return s.sent(),[2]}})})}(this.Dh,this.mutations)];case 1:return n.sent(),this.X_=!0,[2]}})})},t.prototype.sf=function(t){var e;if(t instanceof GA)e=t.version;else{if(!(t instanceof $A))throw PO();e=uA.min()}var n=this.Y_.get(t.key.toString());if(n){if(!e.isEqual(n))throw new $O(GO.ABORTED,"Document version changed between two reads.")}else this.Y_.set(t.key.toString(),e)},t.prototype.Gt=function(t){var e=this.Y_.get(t.toString());return!this.tf.has(t.toString())&&e?JE.updateTime(e):JE.jt()},t.prototype.rf=function(t){var e=this.Y_.get(t.toString());if(!this.tf.has(t.toString())&&e){if(e.isEqual(uA.min()))throw new $O(GO.INVALID_ARGUMENT,"Can't update a document that doesn't exist.");return JE.updateTime(e)}return JE.exists(!0)},t.prototype.write=function(t){this.nf(),this.mutations.push(t)},t.prototype.nf=function(){},t}(),DF=function(){function t(t,e,n,i){this.fs=t,this.Dh=e,this.updateFunction=n,this.Ts=i,this.cf=5,this.zu=new rN(this.fs,"transaction_retry")}return t.prototype.run=function(){this.af()},t.prototype.af=function(){var t=this;this.zu.Bu(function(){return Object(AO.b)(t,void 0,void 0,function(){var t,e,n=this;return Object(AO.d)(this,function(i){return t=new MF(this.Dh),(e=this.uf(t))&&e.then(function(e){n.fs.ys(function(){return t.commit().then(function(){n.Ts.resolve(e)}).catch(function(t){n.hf(t)})})}).catch(function(t){n.hf(t)}),[2]})})})},t.prototype.uf=function(t){try{var e=this.updateFunction(t);return!MA(e)&&e.catch&&e.then?e:(this.Ts.reject(Error("Transaction callback must return a Promise")),null)}catch(t){return this.Ts.reject(t),null}},t.prototype.hf=function(t){var e=this;this.cf>0&&this.lf(t)?(this.cf-=1,this.fs.ys(function(){return e.af(),Promise.resolve()})):this.Ts.reject(t)},t.prototype.lf=function(t){if("FirebaseError"===t.name){var e=t.code;return"aborted"===e||"failed-precondition"===e||!bI(e)}return!1},t}(),LF=function(){function t(t,e,n){var i=this;this.credentials=t,this.fs=e,this.gu=n,this.user=nA.UNAUTHENTICATED,this.clientId=VO.t(),this._f=function(){},this.N=new kR,this.credentials.S(function(t){RO("FirestoreClient","Received user=",t.uid),i.user=t,i._f(t),i.N.resolve()})}return t.prototype.getConfiguration=function(){return Object(AO.b)(this,void 0,void 0,function(){return Object(AO.d)(this,function(t){switch(t.label){case 0:return[4,this.N.promise];case 1:return[2,(t.sent(),{fs:this.fs,gu:this.gu,clientId:this.clientId,credentials:this.credentials,Yl:this.user,bl:100})]}})})},t.prototype.ff=function(t){var e=this;this._f=t,this.N.promise.then(function(){return e._f(e.user)})},t.prototype.df=function(){if(this.fs.wf)throw new $O(GO.FAILED_PRECONDITION,"The client has already been terminated.")},t.prototype.terminate=function(){var t=this;this.fs.Ef();var e=new kR;return this.fs.Tf(function(){return Object(AO.b)(t,void 0,void 0,function(){var t,n;return Object(AO.d)(this,function(i){switch(i.label){case 0:return i.trys.push([0,5,,6]),this.If?[4,this.If.terminate()]:[3,2];case 1:i.sent(),i.label=2;case 2:return this.mf?[4,this.mf.terminate()]:[3,4];case 3:i.sent(),i.label=4;case 4:return this.credentials.D(),e.resolve(),[3,6];case 5:return t=i.sent(),n=NR(t,"Failed to shutdown persistence"),e.reject(n),[3,6];case 6:return[2]}})})}),e.promise},t}();function OF(t,e){return Object(AO.b)(this,void 0,void 0,function(){var n,i,r=this;return Object(AO.d)(this,function(s){switch(s.label){case 0:return t.fs.Af(),RO("FirestoreClient","Initializing OfflineComponentProvider"),[4,t.getConfiguration()];case 1:return n=s.sent(),[4,e.initialize(n)];case 2:return s.sent(),i=n.Yl,t.ff(function(n){i.isEqual(n)||(i=n,t.fs.bo(function(){return Object(AO.b)(r,void 0,void 0,function(){return Object(AO.d)(this,function(t){switch(t.label){case 0:return[4,bj(e.Sh,n)];case 1:return t.sent(),[2]}})})}))}),e.persistence.yo(function(){return t.terminate()}),t.mf=e,[2]}})})}function AF(t,e){return Object(AO.b)(this,void 0,void 0,function(){var n,i;return Object(AO.d)(this,function(r){switch(r.label){case 0:return t.fs.Af(),[4,EF(t)];case 1:return n=r.sent(),RO("FirestoreClient","Initializing OnlineComponentProvider"),[4,t.getConfiguration()];case 2:return i=r.sent(),[4,e.initialize(n,i)];case 3:return r.sent(),t.ff(function(n){return t.fs.bo(function(){return function(t,e){return Object(AO.b)(this,void 0,void 0,function(){var n,i;return Object(AO.d)(this,function(r){switch(r.label){case 0:return(n=BO(t)).fs.Af(),RO("RemoteStore","RemoteStore received new credentials"),i=yN(n),n.Oh.add(3),[4,hN(n)];case 1:return r.sent(),i&&n.Mh.set("Unknown"),[4,n.Ch.s_(e)];case 2:return r.sent(),n.Oh.delete(3),[4,dN(n)];case 3:return r.sent(),[2]}})})}(e.gl,n)})}),t.If=e,[2]}})})}function EF(t){return Object(AO.b)(this,void 0,void 0,function(){return Object(AO.d)(this,function(e){switch(e.label){case 0:return t.mf?[3,2]:(RO("FirestoreClient","Using default OfflineComponentProvider"),[4,OF(t,new LP)]);case 1:e.sent(),e.label=2;case 2:return[2,t.mf]}})})}function IF(t){return Object(AO.b)(this,void 0,void 0,function(){return Object(AO.d)(this,function(e){switch(e.label){case 0:return t.If?[3,2]:(RO("FirestoreClient","Using default OnlineComponentProvider"),[4,AF(t,new EP)]);case 1:e.sent(),e.label=2;case 2:return[2,t.If]}})})}function RF(t){return EF(t).then(function(t){return t.persistence})}function YF(t){return EF(t).then(function(t){return t.Sh})}function jF(t){return IF(t).then(function(t){return t.gl})}function NF(t){return IF(t).then(function(t){return t.fa})}function PF(t){return Object(AO.b)(this,void 0,void 0,function(){var e,n;return Object(AO.d)(this,function(i){switch(i.label){case 0:return[4,IF(t)];case 1:return e=i.sent(),[2,((n=e.Vl).Gh=QN.bind(null,e.fa),n.Jh=tP.bind(null,e.fa),n)]}})})}function FF(t,e,n){var i=this;void 0===n&&(n={});var r=new kR;return t.fs.ys(function(){return Object(AO.b)(i,void 0,void 0,function(){var i;return Object(AO.d)(this,function(s){switch(s.label){case 0:return i=function(t,e,n,i,r){var s=new IP({next:function(s){e.ys(function(){return FN(t,a)});var o=s.docs.has(n);!o&&s.fromCache?r.reject(new $O(GO.UNAVAILABLE,"Failed to get document because the client is offline.")):o&&s.fromCache&&i&&"server"===i.source?r.reject(new $O(GO.UNAVAILABLE,'Failed to get document from server. (However, this document does exist in the local cache. Run again without setting source to "server" to retrieve the cached document.)')):r.resolve(s)},error:function(t){return r.reject(t)}}),a=new zN(_E(n.path),s,{includeMetadataChanges:!0,sl:!0});return PN(t,a)},[4,PF(t)];case 1:return[2,i.apply(void 0,[s.sent(),t.fs,e,n,r])]}})})}),r.promise}function BF(t,e,n){var i=this;void 0===n&&(n={});var r=new kR;return t.fs.ys(function(){return Object(AO.b)(i,void 0,void 0,function(){var i;return Object(AO.d)(this,function(s){switch(s.label){case 0:return i=function(t,e,n,i,r){var s=new IP({next:function(n){e.ys(function(){return FN(t,a)}),n.fromCache&&"server"===i.source?r.reject(new $O(GO.UNAVAILABLE,'Failed to get documents from server. (However, these documents may exist in the local cache. Run again without setting source to "server" to retrieve the cached documents.)')):r.resolve(n)},error:function(t){return r.reject(t)}}),a=new zN(n,s,{includeMetadataChanges:!0,sl:!0});return PN(t,a)},[4,PF(t)];case 1:return[2,i.apply(void 0,[s.sent(),t.fs,e,n,r])]}})})}),r.promise}var HF=function(){function t(){var t=this;this.Rf=Promise.resolve(),this.Pf=[],this.yf=!1,this.gf=[],this.Vf=null,this.pf=!1,this.bf=[],this.zu=new rN(this,"async_queue_retry"),this.vf=function(){var e=nN();e&&RO("AsyncQueue","Visibility state changed to "+e.visibilityState),t.zu.Uu()};var e=nN();e&&"function"==typeof e.addEventListener&&e.addEventListener("visibilitychange",this.vf)}return Object.defineProperty(t.prototype,"wf",{get:function(){return this.yf},enumerable:!1,configurable:!0}),t.prototype.ys=function(t){this.enqueue(t)},t.prototype.Tf=function(t){this.Sf(),this.Df(t)},t.prototype.Ef=function(){if(!this.yf){this.yf=!0;var t=nN();t&&"function"==typeof t.removeEventListener&&t.removeEventListener("visibilitychange",this.vf)}},t.prototype.enqueue=function(t){return this.Sf(),this.yf?new Promise(function(t){}):this.Df(t)},t.prototype.bo=function(t){var e=this;this.ys(function(){return e.Pf.push(t),e.Cf()})},t.prototype.Cf=function(){return Object(AO.b)(this,void 0,void 0,function(){var t,e=this;return Object(AO.d)(this,function(n){switch(n.label){case 0:if(0===this.Pf.length)return[3,5];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.Pf[0]()];case 2:return n.sent(),this.Pf.shift(),this.zu.reset(),[3,4];case 3:if(!AR(t=n.sent()))throw t;return RO("AsyncQueue","Operation failed with retryable error: "+t),[3,4];case 4:this.Pf.length>0&&this.zu.Bu(function(){return e.Cf()}),n.label=5;case 5:return[2]}})})},t.prototype.Df=function(t){var e=this,n=this.Rf.then(function(){return e.pf=!0,t().catch(function(t){throw e.Vf=t,e.pf=!1,YO("INTERNAL UNHANDLED ERROR: ",function(t){var e=t.message||"";return t.stack&&(e=t.stack.includes(t.message)?t.stack:t.message+"\n"+t.stack),e}(t)),t}).then(function(t){return e.pf=!1,t})});return this.Rf=n,n},t.prototype.Ir=function(t,e,n){var i=this;this.Sf(),this.bf.indexOf(t)>-1&&(e=0);var r=jR.Is(this,t,e,n,function(t){return i.xf(t)});return this.gf.push(r),r},t.prototype.Sf=function(){this.Vf&&PO()},t.prototype.Af=function(){},t.prototype.Nf=function(){return Object(AO.b)(this,void 0,void 0,function(){var t;return Object(AO.d)(this,function(e){switch(e.label){case 0:return[4,t=this.Rf];case 1:e.sent(),e.label=2;case 2:if(t!==this.Rf)return[3,0];e.label=3;case 3:return[2]}})})},t.prototype.Of=function(t){for(var e=0,n=this.gf;e, or >=) must be on the same field. But you have inequality filters on '"+n.toString()+"' and '"+e.field.toString()+"'");var i=wE(t);null!==i&&lB(0,e.field,i)}var r=function(t,e){for(var n=0,i=t.filters;n=0)return r.op}return null}(t,function(t){switch(t){case"!=":return["!=","not-in"];case"array-contains":return["array-contains","array-contains-any","not-in"];case"in":return["array-contains-any","in","not-in"];case"array-contains-any":return["array-contains","array-contains-any","in","not-in"];case"not-in":return["array-contains","array-contains-any","in","not-in","!="];default:return[]}}(e.op));if(null!==r)throw new $O(GO.INVALID_ARGUMENT,r===e.op?"Invalid query. You cannot use more than one '"+e.op.toString()+"' filter.":"Invalid query. You cannot use '"+e.op.toString()+"' filters with '"+r.toString()+"' filters.")}(t,d),d}(t.C_,0,e,t.firestore.I_,this.Xf,this.Zf,this.td);return new $P(t.firestore,t.v_,function(t,e){var n=t.filters.concat([e]);return new bE(t.path,t.collectionGroup,t.Nt.slice(),n,t.limit,t.limitType,t.startAt,t.endAt)}(t.C_,n))},e}(QF),eB=function(t){function e(e,n){var i=this;return(i=t.call(this)||this).Xf=e,i.ed=n,i.type="orderBy",i}return Object(AO.c)(e,t),e.prototype.Yf=function(t){var e=function(t,e,n){if(null!==t.startAt)throw new $O(GO.INVALID_ARGUMENT,"Invalid query. You must not call startAt() or startAfter() before calling orderBy().");if(null!==t.endAt)throw new $O(GO.INVALID_ARGUMENT,"Invalid query. You must not call endAt() or endBefore() before calling orderBy().");var i=new hE(e,n);return function(t,e){if(null===wE(t)){var n=SE(t);null!==n&&lB(0,n,e.field)}}(t,i),i}(t.C_,this.Xf,this.ed);return new $P(t.firestore,t.v_,function(t,e){var n=t.Nt.concat([e]);return new bE(t.path,t.collectionGroup,n,t.filters.slice(),t.limit,t.limitType,t.startAt,t.endAt)}(t.C_,e))},e}(QF),nB=function(t){function e(e,n,i){var r=this;return(r=t.call(this)||this).type=e,r.nd=n,r.sd=i,r}return Object(AO.c)(e,t),e.prototype.Yf=function(t){return new $P(t.firestore,t.v_,TE(t.C_,this.nd,this.sd))},e}(QF),iB=function(t){function e(e,n,i){var r=this;return(r=t.call(this)||this).type=e,r.rd=n,r.od=i,r}return Object(AO.c)(e,t),e.prototype.Yf=function(t){var e=sB(t,this.type,this.rd,this.od);return new $P(t.firestore,t.v_,function(t,e){return new bE(t.path,t.collectionGroup,t.Nt.slice(),t.filters.slice(),t.limit,t.limitType,e,t.endAt)}(t.C_,e))},e}(QF),rB=function(t){function e(e,n,i){var r=this;return(r=t.call(this)||this).type=e,r.rd=n,r.od=i,r}return Object(AO.c)(e,t),e.prototype.Yf=function(t){var e=sB(t,this.type,this.rd,this.od);return new $P(t.firestore,t.v_,function(t,e){return new bE(t.path,t.collectionGroup,t.Nt.slice(),t.filters.slice(),t.limit,t.limitType,t.startAt,e)}(t.C_,e))},e}(QF);function sB(t,e,n,i){if(n[0]instanceof KO&&(n[0]=n[0]._),n[0]instanceof $F)return function(t,e,n,i,r){if(!i)throw new $O(GO.NOT_FOUND,"Can't use a DocumentSnapshot that doesn't exist for "+n+"().");for(var s=[],a=0,o=CE(t);aa.length)throw new $O(GO.INVALID_ARGUMENT,"Too many arguments provided to "+i+"(). The number of arguments must be less than or equal to the number of orderBy() clauses");for(var o=[],l=0;l10)throw new $O(GO.INVALID_ARGUMENT,"Invalid Query. '"+e.toString()+"' filters support a maximum of 10 elements in the value array.")}function lB(t,e,n){if(!n.isEqual(e))throw new $O(GO.INVALID_ARGUMENT,"Invalid query. You have a where filter with an inequality (<, <=, !=, not-in, >, or >=) on field '"+e.toString()+"' and so you must also use '"+e.toString()+"' as your first argument to orderBy(), but your first orderBy() is on field '"+n.toString()+"' instead.")}function cB(t){return function(t,e){if("object"!=typeof t||null===t)return!1;for(var n=t,i=0,r=["next","error","complete"];i0?this._d(this.fd):Promise.resolve()},t.prototype.Ed=function(){if(this.dd)throw new $O(GO.FAILED_PRECONDITION,"A write batch can no longer be used after commit() has been called.")},t}();function CB(t,e){if(t instanceof KO&&(t=t._),t.firestore!==e)throw new $O(GO.INVALID_ARGUMENT,"Provided document reference is from a different Firestore instance.");return t}var kB=function(t){function e(e,n){var i=this;return(i=t.call(this,e,n)||this).zf=e,i}return Object(AO.c)(e,t),e.prototype.get=function(e){var n=this,i=CB(e,this.zf),r=new _B(this.zf);return t.prototype.get.call(this,e).then(function(t){return new fB(n.zf,r,i.S_,t.Jf,new hB(!1,!1),i.v_)})},e}(function(){function t(t,e){this.zf=t,this.Td=e,this.wd=oF(t)}return t.prototype.get=function(t){var e=this,n=CB(t,this.zf),i=new dB(this.zf);return this.Td.ef([n.S_]).then(function(t){if(!t||1!==t.length)return PO();var r=t[0];if(r instanceof $A)return new $F(e.zf,i,n.S_,null,n.v_);if(r instanceof GA)return new $F(e.zf,i,r.key,r,n.v_);throw PO()})},t.prototype.set=function(t,e,n){var i=CB(t,this.zf),r=uB(i.v_,e,n),s=lF(this.wd,"Transaction.set",i.S_,r,null!==i.v_,n);return this.Td.set(i.S_,s),this},t.prototype.update=function(t,e,n){for(var i=[],r=3;r=0)throw new $O(GO.INVALID_ARGUMENT,"Invalid collection ID '"+e+"' passed to function collectionGroup(). Collection IDs must not contain '/'.");return new $P(t,null,function(t){return new bE(hA.at(),t)}(e))}(this._,t))}catch(t){throw EB(t,"collectionGroup()","Firestore.collectionGroup()")}},e.prototype.runTransaction=function(t){var e=this;return function(t,e){return function(t,e){var n=this,i=new kR;return t.fs.ys(function(){return Object(AO.b)(n,void 0,void 0,function(){var n;return Object(AO.d)(this,function(r){switch(r.label){case 0:return[4,function(t){return IF(t).then(function(t){return t.Dh})}(t)];case 1:return n=r.sent(),new DF(t.fs,n,e,i).run(),[2]}})})}),i.promise}(zF(t),function(n){return e(new kB(t,n))})}(this._,function(n){return t(new LB(e,n))})},e.prototype.batch=function(){var t=this;return zF(this._),new OB(new xB(this._,function(e){return wB(t._,e)}))},e.prototype.loadBundle=function(t){throw new $O(GO.FAILED_PRECONDITION,'"loadBundle()" does not exist, have you imported "firebase/firestore/bundle"?')},e.prototype.namedQuery=function(t){throw new $O(GO.FAILED_PRECONDITION,'"namedQuery()" does not exist, have you imported "firebase/firestore/bundle"?')},e}(KO),DB=function(t){function e(e){var n=this;return(n=t.call(this)||this).firestore=e,n}return Object(AO.c)(e,t),e.prototype.Uf=function(t){return new ZO(new XO(t))},e.prototype.Qf=function(t){var e=this.Gf(t,this.firestore.I_);return AB.Ad(e,this.firestore,null)},e}(GF),LB=function(t){function e(e,n){var i=this;return(i=t.call(this,n)||this).zf=e,i.Hf=new DB(e),i}return Object(AO.c)(e,t),e.prototype.get=function(t){var e=this,n=HB(t);return this._.get(n).then(function(t){return new YB(e.zf,new fB(e.zf._,e.Hf,t.S_,t.Jf,t.metadata,n.v_))})},e.prototype.set=function(t,e,n){var i=HB(t);return n?(NP("Transaction.set",n),this._.set(i,e,n)):this._.set(i,e),this},e.prototype.update=function(t,e,n){for(var i,r=[],s=3;st,e):Pa(()=>t)}(function(t,e){t.INTERNAL.registerComponent(new WB.a("firestore",function(t){return function(t,e){return new MB(t,new VF(t,e),new TB)}(t.getProvider("app").getImmediate(),t.getProvider("auth-internal"))},"PUBLIC").setServiceProps(Object.assign({},qB)))})(UB=MT.a),UB.registerVersion("@firebase/firestore","2.1.2");var $B=n("tf+s");const XB=new i.s("angularfire2.auth.use-emulator"),KB=new i.s("angularfire2.auth.settings"),JB=new i.s("angularfire2.auth.tenant-id"),QB=new i.s("angularfire2.auth.langugage-code"),ZB=new i.s("angularfire2.auth.use-device-language"),tH=new i.s("angularfire.auth.persistence");let eH=(()=>{class t{constructor(t,e,i,r,s,a,o,l,c,u){const d=new Xl.d(r),h=Object(Xl.h)(d),f=new Ia.a,m=Object(nr.a)(void 0).pipe(Object(mo.b)(d.outsideAngular),Pa(()=>r.runOutsideAngular(()=>n.e(4).then(n.bind(null,"6nsN")))),Object(ur.a)(()=>Object(Xl.g)(t,r,e)),Object(ur.a)(t=>r.runOutsideAngular(()=>{const e=s,n=a;return Object(Xl.f)(t.name+".auth","AngularFireAuth",t,()=>{const i=r.runOutsideAngular(()=>t.auth());return e&&i.useEmulator("http://"+e.join(":")),o&&(i.tenantId=o),i.languageCode=l,c&&i.useDeviceLanguage(),n&&(i.settings=n),u&&i.setPersistence(u),i},[e,o,l,c,n,u])})),Wm({bufferSize:1,refCount:!1}));if(Rt(i))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=Object(nr.a)(null);else{m.pipe(Dx()).subscribe();const t=m.pipe(Pa(t=>t.getRedirectResult().then(t=>t,()=>null)),h,Wm({bufferSize:1,refCount:!1})),e=t=>new ir.a(e=>({unsubscribe:r.runOutsideAngular(()=>t(e))})),n=m.pipe(Pa(t=>e(t.onAuthStateChanged.bind(t)))),i=m.pipe(Pa(t=>e(t.onIdTokenChanged.bind(t))));this.authState=t.pipe(GB(n),Object($B.a)(d.outsideAngular),Object(mo.b)(d.insideAngular)),this.user=t.pipe(GB(i),Object($B.a)(d.outsideAngular),Object(mo.b)(d.insideAngular)),this.idToken=this.user.pipe(Pa(t=>t?Object(Wr.a)(t.getIdToken()):Object(nr.a)(null))),this.idTokenResult=this.user.pipe(Pa(t=>t?Object(Wr.a)(t.getIdTokenResult()):Object(nr.a)(null))),this.credential=Object(ja.a)(t,f,this.authState.pipe(or(t=>!t))).pipe(Object(ur.a)(t=>(null==t?void 0:t.user)?t:null),Object($B.a)(d.outsideAngular),Object(mo.b)(d.insideAngular))}return Object(Xl.i)(this,m,r,{spy:{apply:(t,e,n)=>{(t.startsWith("signIn")||t.startsWith("createUser"))&&n.then(t=>f.next(t))}}})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Xl.c),i.Xb(Xl.b,8),i.Xb(i.D),i.Xb(i.B),i.Xb(XB,8),i.Xb(KB,8),i.Xb(JB,8),i.Xb(QB,8),i.Xb(ZB,8),i.Xb(tH,8))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Xl.c),Object(i.Xb)(Xl.b,8),Object(i.Xb)(i.D),Object(i.Xb)(i.B),Object(i.Xb)(XB,8),Object(i.Xb)(KB,8),Object(i.Xb)(JB,8),Object(i.Xb)(QB,8),Object(i.Xb)(ZB,8),Object(i.Xb)(tH,8))},token:t,providedIn:"any"}),t})();function nH(t,e){return function(t,e=Ga.b){return new ir.a(n=>{let i;return null!=e?e.schedule(()=>{i=t.onSnapshot({includeMetadataChanges:!0},n)}):i=t.onSnapshot({includeMetadataChanges:!0},n),()=>{null!=i&&i()}})}(t,e)}function iH(t,e){return nH(t,e).pipe(Object(ur.a)(t=>({payload:t,type:"query"})))}function rH(t,e){return iH(t,e).pipe(vh(void 0),Fm(),Object(ur.a)(([t,e])=>{const n=e.payload.docChanges(),i=n.map(t=>({type:t.type,payload:t}));return t&&JSON.stringify(t.payload.metadata)!==JSON.stringify(e.payload.metadata)&&e.payload.docs.forEach((e,r)=>{const s=n.find(t=>t.doc.ref.isEqual(e.ref)),a=null==t?void 0:t.payload.docs.find(t=>t.ref.isEqual(e.ref));s&&JSON.stringify(s.doc.metadata)===JSON.stringify(e.metadata)||!s&&a&&JSON.stringify(a.metadata)===JSON.stringify(e.metadata)||i.push({type:"modified",payload:{oldIndex:r,newIndex:r,type:"modified",doc:e}})}),i}))}function sH(t,e,n){return rH(t,n).pipe(wo((t,n)=>function(t,e,n){return e.forEach(e=>{n.indexOf(e.type)>-1&&(t=function(t,e){switch(e.type){case"added":if(!t[e.newIndex]||!t[e.newIndex].doc.ref.isEqual(e.doc.ref))return aH(t,e.newIndex,0,e);break;case"modified":if(null==t[e.oldIndex]||t[e.oldIndex].doc.ref.isEqual(e.doc.ref)){if(e.oldIndex!==e.newIndex){const n=t.slice();return n.splice(e.oldIndex,1),n.splice(e.newIndex,0,e),n}return aH(t,e.newIndex,1,e)}break;case"removed":if(t[e.oldIndex]&&t[e.oldIndex].doc.ref.isEqual(e.doc.ref))return aH(t,e.oldIndex,1)}return t}(t,e))}),t}(t,n.map(t=>t.payload),e),[]),Co(),Object(ur.a)(t=>t.map(t=>({type:t.type,payload:t}))))}function aH(t,e,n,...i){const r=t.slice();return r.splice(e,n,...i),r}function oH(t){return t&&0!==t.length||(t=["added","removed","modified"]),t}Object(Xl.e)(eH,[{app:null,applyActionCode:null,checkActionCode:null,confirmPasswordReset:null,createUserWithEmailAndPassword:null,currentUser:null,fetchSignInMethodsForEmail:null,isSignInWithEmailLink:null,getRedirectResult:null,languageCode:null,settings:null,onAuthStateChanged:null,onIdTokenChanged:null,sendSignInLinkToEmail:null,sendPasswordResetEmail:null,setPersistence:null,signInAndRetrieveDataWithCredential:null,signInAnonymously:null,signInWithCredential:null,signInWithCustomToken:null,signInWithEmailAndPassword:null,signInWithPhoneNumber:null,signInWithEmailLink:null,signInWithPopup:null,signInWithRedirect:null,signOut:null,tenantId:null,updateCurrentUser:null,useDeviceLanguage:null,useEmulator:null,verifyPasswordResetCode:null}]);class lH{constructor(t,e,n){this.ref=t,this.query=e,this.afs=n}stateChanges(t){let e=rH(this.query,this.afs.schedulers.outsideAngular);return t&&t.length>0&&(e=e.pipe(Object(ur.a)(e=>e.filter(e=>t.indexOf(e.type)>-1)))),e.pipe(vh(void 0),Fm(),or(([t,e])=>e.length>0||!t),Object(ur.a)(([t,e])=>e),this.afs.keepUnstableUntilFirst)}auditTrail(t){return this.stateChanges(t).pipe(wo((t,e)=>[...t,...e],[]))}snapshotChanges(t){const e=oH(t);return sH(this.query,e,this.afs.schedulers.outsideAngular).pipe(this.afs.keepUnstableUntilFirst)}valueChanges(t={}){return iH(this.query,this.afs.schedulers.outsideAngular).pipe(Object(ur.a)(e=>e.payload.docs.map(e=>t.idField?Object.assign(Object.assign({},e.data()),{[t.idField]:e.id}):e.data())),this.afs.keepUnstableUntilFirst)}get(t){return Object(Wr.a)(this.query.get(t)).pipe(Object(mo.b)(this.afs.schedulers.insideAngular))}add(t){return this.ref.add(t)}doc(t){return new cH(this.ref.doc(t),this.afs)}}class cH{constructor(t,e){this.ref=t,this.afs=e}set(t,e){return this.ref.set(t,e)}update(t){return this.ref.update(t)}delete(){return this.ref.delete()}collection(t,e){const n=this.ref.collection(t),{ref:i,query:r}=pH(n,e);return new lH(i,r,this.afs)}snapshotChanges(){return nH(this.ref,this.afs.schedulers.outsideAngular).pipe(vh(void 0),Fm(),Object(ur.a)(([t,e])=>e.exists?(null==t?void 0:t.exists)?{payload:e,type:"modified"}:{payload:e,type:"added"}:{payload:e,type:"removed"})).pipe(this.afs.keepUnstableUntilFirst)}valueChanges(t={}){return this.snapshotChanges().pipe(Object(ur.a)(({payload:e})=>t.idField?Object.assign(Object.assign({},e.data()),{[t.idField]:e.id}):e.data()))}get(t){return Object(Wr.a)(this.ref.get(t)).pipe(Object(mo.b)(this.afs.schedulers.insideAngular))}}class uH{constructor(t,e){this.query=t,this.afs=e}stateChanges(t){return t&&0!==t.length?rH(this.query,this.afs.schedulers.outsideAngular).pipe(Object(ur.a)(e=>e.filter(e=>t.indexOf(e.type)>-1)),or(t=>t.length>0),this.afs.keepUnstableUntilFirst):rH(this.query,this.afs.schedulers.outsideAngular).pipe(this.afs.keepUnstableUntilFirst)}auditTrail(t){return this.stateChanges(t).pipe(wo((t,e)=>[...t,...e],[]))}snapshotChanges(t){const e=oH(t);return sH(this.query,e,this.afs.schedulers.outsideAngular).pipe(this.afs.keepUnstableUntilFirst)}valueChanges(t={}){return iH(this.query,this.afs.schedulers.outsideAngular).pipe(Object(ur.a)(e=>e.payload.docs.map(e=>t.idField?Object.assign({[t.idField]:e.id},e.data()):e.data())),this.afs.keepUnstableUntilFirst)}get(t){return Object(Wr.a)(this.query.get(t)).pipe(Object(mo.b)(this.afs.schedulers.insideAngular))}}const dH=new i.s("angularfire2.enableFirestorePersistence"),hH=new i.s("angularfire2.firestore.persistenceSettings"),fH=new i.s("angularfire2.firestore.settings"),mH=new i.s("angularfire2.firestore.use-emulator");function pH(t,e=(t=>t)){return{query:e(t),ref:t}}let bH=(()=>{class t{constructor(t,e,n,i,r,s,a,o,l){this.schedulers=new Xl.d(s),this.keepUnstableUntilFirst=Object(Xl.h)(this.schedulers);const c=Object(Xl.g)(t,s,e);!TT.a.auth&&l&&Object(Xl.j)();const u=o;[this.firestore,this.persistenceEnabled$]=Object(Xl.f)(c.name+".firestore","AngularFirestore",c,()=>{const t=s.runOutsideAngular(()=>c.firestore());if(i&&t.settings(i),u&&t.useEmulator(...u),n&&!Rt(r)){const e=()=>{try{return Object(Wr.a)(t.enablePersistence(a||void 0).then(()=>!0,()=>!1))}catch(UB){return"undefined"!=typeof console&&console.warn(UB),Object(nr.a)(!1)}};return[t,s.runOutsideAngular(e)]}return[t,Object(nr.a)(!1)]},[i,u,n])}collection(t,e){let n;n="string"==typeof t?this.firestore.collection(t):t;const{ref:i,query:r}=pH(n,e),s=this.schedulers.ngZone.run(()=>i);return new lH(s,r,this)}collectionGroup(t,e){const n=e||(t=>t),i=this.firestore.collectionGroup(t);return new uH(n(i),this)}doc(t){let e;e="string"==typeof t?this.firestore.doc(t):t;const n=this.schedulers.ngZone.run(()=>e);return new cH(n,this)}createId(){return this.firestore.collection("_").doc().id}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Xl.c),i.Xb(Xl.b,8),i.Xb(dH,8),i.Xb(fH,8),i.Xb(i.D),i.Xb(i.B),i.Xb(hH,8),i.Xb(mH,8),i.Xb(XB,8))},t.\u0275prov=Object(i.Jb)({factory:function(){return new t(Object(i.Xb)(Xl.c),Object(i.Xb)(Xl.b,8),Object(i.Xb)(dH,8),Object(i.Xb)(fH,8),Object(i.Xb)(i.D),Object(i.Xb)(i.B),Object(i.Xb)(hH,8),Object(i.Xb)(mH,8),Object(i.Xb)(XB,8))},token:t,providedIn:"any"}),t})(),gH=(()=>{class t{constructor(t,e,n,i){this.fs=t,this.fsAuth=e,this.ngZone=n,this.router=i,this.lastRoute="",this.subscriptions=[],this.user=new ho(void 0),this.fsAuth.onAuthStateChanged(t=>{if(t)this.fsUser=t,this.setUser(t.email,!0);else{this.fsUser=void 0,this.userSubscription&&!this.userSubscription.closed&&this.userSubscription.unsubscribe();const t=this.user.value;this.ngZone.run(()=>{this.user.next(null),t&&this.router.navigate(["/login"])})}}),this.subscriptions.push(this.router.events.subscribe(t=>{t instanceof Ox&&t.url.toLowerCase().indexOf("login")<0&&t.url.toLowerCase().indexOf("create-account")<0&&(this.lastRoute=t.url)}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}get user$(){return this.user.asObservable()}get users$(){return this.fs.collection("/users").snapshotChanges().pipe(Object(ur.a)(t=>t.map(t=>{const e=t.payload.doc.data();return e.email=t.payload.doc.id,e}).sort((t,e)=>(t.firstName.toLocaleLowerCase()>e.firstName.toLocaleLowerCase()?1:t.firstName.toLocaleLowerCase()e.lastName.toLocaleLowerCase()?1:t.lastName.toLocaleLowerCase(){void 0===this.user.value?this.user$.pipe(Dx(t=>void 0!==t)).subscribe(e=>t({user:e,canActivate:!0})):t({user:this.user.value,canActivate:!0})})}createUser(t,e){return kT(this,void 0,void 0,function*(){try{return t=t.toLocaleLowerCase().trim(),yield this.fsAuth.createUserWithEmailAndPassword(t,e),yield this.fs.collection("/users").doc(t).update({verified:!0}),{success:!0}}catch(UB){return{success:!1,error:UB.message}}})}isSelf(t){const e=this.user.value;return(null==e?void 0:e.email)===t.email}setUser(t,e=!1){t&&(this.userSubscription=this.fs.doc("users/"+t).valueChanges().subscribe(n=>{if(n){const i=n;i.disabled?this.signOut():(i.email=t,this.user.next(i),e&&this.ngZone.run(()=>this.router.navigate([this.lastRoute])))}else this.signOut()},t=>{console.log("SET USER ERROR",t)}))}signIn(t,e){return kT(this,void 0,void 0,function*(){try{if(!t||!e)throw new Error("Email and password are required.");return t=t.toLocaleLowerCase().trim(),yield this.fsAuth.signInWithEmailAndPassword(t,e),{success:!0}}catch(UB){return{success:!1,error:"Incorrect email or password."}}})}signOut(){return kT(this,void 0,void 0,function*(){try{return yield this.fsAuth.signOut(),{success:!0}}catch(UB){return{success:!1,error:UB.message}}})}updatePassword(t,e){var n;return kT(this,void 0,void 0,function*(){try{if(!t||!e)throw new Error("Passwords are required.");const i=null===(n=this.user.value)||void 0===n?void 0:n.email;return i?(yield this.fsAuth.signInWithEmailAndPassword(i,t),yield this.fsUser.updatePassword(e),{success:!0}):{success:!1,error:"Unable to update your password."}}catch(UB){return{success:!1,error:"auth/wrong-password"===UB.code?"Incorrect password.":UB.message}}})}updateUser(t,e,n,i,r){return kT(this,void 0,void 0,function*(){try{return yield this.fs.collection("/users").doc(n).update({disabled:r,firstName:t,lastName:e,role:i}),{success:!0}}catch(UB){return{success:!1,error:UB.message}}})}verify(t,e){return kT(this,void 0,void 0,function*(){try{const n=(yield this.fs.collection("/users").doc(t).get().toPromise()).data();return(null==n?void 0:n.inviteCode)===e?{success:!0}:{success:!1,error:"Create account failed!"}}catch(UB){return{success:!1,error:UB.message}}})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(bH),i.Xb(eH),i.Xb(i.B),i.Xb(iT))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),_H=(()=>{class t{constructor(t,e){this.auth=t,this.router=e}canActivate(t){return new Promise(e=>{this.auth.canActivate(t).then(n=>{let i=t.url.length>0?t.url[0].path.toLocaleLowerCase():"";if(i.indexOf("/")>0&&(i=i.substr(0,i.indexOf("/"))),n.user)switch(i){case"create-account":case"login":this.router.navigate([""]),e(!1);break;default:e(!0)}else if(null===n.user)switch(i){case"create-account":case"login":e(!0);break;default:this.router.navigate(["/login"]),e(!1)}})})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(gH),i.Xb(iT))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const yH=vl(t=>t.environments,t=>t.apiEnvironment),vH=vl(t=>t.environments,t=>t.logEnvironment);let wH=(()=>{class t{constructor(t,e){this.auth=t,this.store=e,this.subscriptions=[],this.env$=this.store.pipe(bl(yH)),this.subscriptions.push(this.auth.user$.subscribe(t=>{void 0!==t&&(this.user=t)}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}intercept(t,e){return Object(Wr.a)(this.handle(t,e))}handle(t,e){return kT(this,void 0,void 0,function*(){if(this.user){const n=yield this.env$.pipe(Dx()).toPromise();return Object.assign(t,{url:`${n.url}${t.url}`,headers:t.headers.set("Authorization","BASIC "+this.user.partnerId),responseType:"json"}),t=t.clone(),e.handle(t).toPromise()}return this.auth.signOut(),Ca.a.toPromise()})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(gH),i.Xb(ml))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac}),t})(),SH=(()=>{class t{constructor(t){this.fs=t,this.subscriptions=[],this.partners$=this.fs.collection("/partners").snapshotChanges().pipe(Object(ur.a)(t=>t.map(t=>{const e=t.payload.doc.data();return e.id=t.payload.doc.id,e})))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}get(t){return kT(this,void 0,void 0,function*(){return(yield this.partners$.pipe(Dx()).toPromise()).find(e=>e.id===t)})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(bH))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),xH=(()=>{class t{constructor(t,e,n){this.fs=t,this.http=e,this.ps=n}agentLog(){const t={};return new Promise(e=>{this.http.post("/Rest/Orders/AgentLog",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}backupLog(){const t={};return new Promise(e=>{this.http.post("/Epic/Utility/BackupLog",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}emailErrors$(t="production"){return this.fs.collection("/email-errors",e=>e.where("environment","==",t).orderBy("created","desc").limit(200)).snapshotChanges().pipe(Object(ur.a)(t=>t.map(t=>{const e=t.payload.doc.data();return Object.assign(e,{id:t.payload.doc.id})})))}serviceErrors$(t="production"){return this.fs.collection("/service-errors",e=>e.where("environment","==",t).orderBy("created","desc").limit(200)).snapshotChanges().pipe(Pa(t=>vy([Object(nr.a)(t),this.ps.partners$])),Object(ur.a)(([t,e])=>t.map(t=>{const n=t.payload.doc.data();return Object.assign(n,{id:t.payload.doc.id,method:n.method.substr(n.method.lastIndexOf(".")+1),request:JSON.parse(n.request),partner:e.find(t=>t.id===n.partnerId)})})))}serviceLog$(t="production"){return this.fs.collection("/service-log",e=>e.where("environment","==",t).orderBy("created","desc").limit(200)).snapshotChanges().pipe(Pa(t=>vy([Object(nr.a)(t),this.ps.partners$])),Object(ur.a)(([t,e])=>t.map(t=>{const n=t.payload.doc.data();return Object.assign(n,{id:t.payload.doc.id,method:n.method.substr(n.method.lastIndexOf(".")+1),request:JSON.parse(n.request),partner:e.find(t=>t.id===n.partnerId)})})))}get serviceLogStats$(){return this.fs.collection("/service-log",t=>t.where("environment","==","production").limit(1e4)).valueChanges().pipe(Object(ur.a)(t=>t.map(t=>({method:t.method,responseCode:t.responseCode}))))}zetaImportLog(){const t={};return new Promise(e=>{this.http.post("/Rest/Subscriptions/Zeta/ImportLog",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}zetaLog(){const t={};return new Promise(e=>{this.http.post("/Rest/Subscriptions/Zeta/Recent",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(bH),i.Xb(Mr),i.Xb(SH))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const CH=[{borderColor:"#D3D3D3",backgroundColor:"#D3D3D3"},{borderColor:"#A0A0A0",backgroundColor:"#A0A0A0"},{borderColor:"#87CEFA",backgroundColor:"#87CEFA"},{borderColor:"#FFA500",backgroundColor:"#FFA500"},{borderColor:"#FF0000",backgroundColor:"#FF0000"},{borderColor:"#1E90FF",backgroundColor:"#1E90FF"},{borderColor:"#90EE90",backgroundColor:"#90EE90"},{borderColor:"#3CB371",backgroundColor:"#3CB371"}],kH=[{code:"AD",name:"Andorra"},{code:"AE",name:"United Arab Emirates"},{code:"AF",name:"Afghanistan"},{code:"AG",name:"Antigua and Barbuda"},{code:"AI",name:"Anguilla"},{code:"AL",name:"Albania"},{code:"AM",name:"Armenia"},{code:"AN",name:"Netherlands Antilles"},{code:"AO",name:"Angola"},{code:"AQ",name:"Antarctica"},{code:"AR",name:"Argentina"},{code:"AS",name:"American Samoa"},{code:"AT",name:"Austria"},{code:"AU",name:"Australia"},{code:"AW",name:"Aruba"},{code:"AX",name:"\xc5land Islands"},{code:"AZ",name:"Azerbaijan"},{code:"BA",name:"Bosnia and Herzegovina"},{code:"BB",name:"Barbados"},{code:"BD",name:"Bangladesh"},{code:"BE",name:"Belgium"},{code:"BF",name:"Burkina Faso"},{code:"BG",name:"Bulgaria"},{code:"BH",name:"Bahrain"},{code:"BI",name:"Burundi"},{code:"BJ",name:"Benin"},{code:"BL",name:"Saint Barth\xe9lemy"},{code:"BM",name:"Bermuda"},{code:"BN",name:"Brunei Darussalam"},{code:"BO",name:"Bolivia, Plurinational State of"},{code:"BR",name:"Brazil"},{code:"BS",name:"Bahamas"},{code:"BT",name:"Bhutan"},{code:"BV",name:"Bouvet Island"},{code:"BW",name:"Botswana"},{code:"BY",name:"Belarus"},{code:"BZ",name:"Belize"},{code:"CA",name:"Canada"},{code:"CC",name:"Cocos (Keeling) Islands"},{code:"CD",name:"Congo, the Democratic Republic of the"},{code:"CF",name:"Central African Republic"},{code:"CG",name:"Congo"},{code:"CH",name:"Switzerland"},{code:"CI",name:"C\xf4te d'Ivoire"},{code:"CK",name:"Cook Islands"},{code:"CL",name:"Chile"},{code:"CM",name:"Cameroon"},{code:"CN",name:"China"},{code:"CO",name:"Colombia"},{code:"CR",name:"Costa Rica"},{code:"CU",name:"Cuba"},{code:"CV",name:"Cape Verde"},{code:"CX",name:"Christmas Island"},{code:"CY",name:"Cyprus"},{code:"CZ",name:"Czech Republic"},{code:"DE",name:"Germany"},{code:"DJ",name:"Djibouti"},{code:"DK",name:"Denmark"},{code:"DM",name:"Dominica"},{code:"DO",name:"Dominican Republic"},{code:"DZ",name:"Algeria"},{code:"EC",name:"Ecuador"},{code:"EE",name:"Estonia"},{code:"EG",name:"Egypt"},{code:"EH",name:"Western Sahara"},{code:"ER",name:"Eritrea"},{code:"ES",name:"Spain"},{code:"ET",name:"Ethiopia"},{code:"FI",name:"Finland"},{code:"FJ",name:"Fiji"},{code:"FK",name:"Falkland Islands (Malvinas)"},{code:"FM",name:"Micronesia, Federated States of"},{code:"FO",name:"Faroe Islands"},{code:"FR",name:"France"},{code:"GA",name:"Gabon"},{code:"GB",name:"United Kingdom"},{code:"GD",name:"Grenada"},{code:"GE",name:"Georgia"},{code:"GF",name:"French Guiana"},{code:"GG",name:"Guernsey"},{code:"GH",name:"Ghana"},{code:"GI",name:"Gibraltar"},{code:"GL",name:"Greenland"},{code:"GM",name:"Gambia"},{code:"GN",name:"Guinea"},{code:"GP",name:"Guadeloupe"},{code:"GQ",name:"Equatorial Guinea"},{code:"GR",name:"Greece"},{code:"GS",name:"South Georgia and the South Sandwich Islands"},{code:"GT",name:"Guatemala"},{code:"GU",name:"Guam"},{code:"GW",name:"Guinea-Bissau"},{code:"GY",name:"Guyana"},{code:"HK",name:"Hong Kong"},{code:"HM",name:"Heard Island and McDonald Islands"},{code:"HN",name:"Honduras"},{code:"HR",name:"Croatia"},{code:"HT",name:"Haiti"},{code:"HU",name:"Hungary"},{code:"IC",name:"Ivory Coast"},{code:"ID",name:"Indonesia"},{code:"IE",name:"Ireland"},{code:"IL",name:"Israel"},{code:"IM",name:"Isle of Man"},{code:"IN",name:"India"},{code:"IO",name:"British Indian Ocean Territory"},{code:"IQ",name:"Iraq"},{code:"IR",name:"Iran, Islamic Republic of"},{code:"IS",name:"Iceland"},{code:"IT",name:"Italy"},{code:"JE",name:"Jersey"},{code:"JM",name:"Jamaica"},{code:"JO",name:"Jordan"},{code:"JP",name:"Japan"},{code:"KE",name:"Kenya"},{code:"KG",name:"Kyrgyzstan"},{code:"KH",name:"Cambodia"},{code:"KI",name:"Kiribati"},{code:"KM",name:"Comoros"},{code:"KN",name:"Saint Kitts and Nevis"},{code:"KP",name:"North Korea"},{code:"KR",name:"Korea"},{code:"KW",name:"Kuwait"},{code:"KY",name:"Cayman Islands"},{code:"KZ",name:"Kazakhstan"},{code:"LA",name:"Lao People's Democratic Republic"},{code:"LB",name:"Lebanon"},{code:"LC",name:"Saint Lucia"},{code:"LI",name:"Liechtenstein"},{code:"LK",name:"Sri Lanka"},{code:"LR",name:"Liberia"},{code:"LS",name:"Lesotho"},{code:"LT",name:"Lithuania"},{code:"LU",name:"Luxembourg"},{code:"LV",name:"Latvia"},{code:"LY",name:"Libyan Arab Jamahiriya"},{code:"MA",name:"Morocco"},{code:"MC",name:"Monaco"},{code:"MD",name:"Moldova, Republic of"},{code:"ME",name:"Montenegro"},{code:"MF",name:"Saint Martin (French part)"},{code:"MG",name:"Madagascar"},{code:"MH",name:"Marshall Islands"},{code:"MK",name:"Macedonia, the former Yugoslav Republic of"},{code:"ML",name:"Mali"},{code:"MM",name:"Myanmar"},{code:"MN",name:"Mongolia"},{code:"MO",name:"Macao"},{code:"MP",name:"Northern Mariana Islands"},{code:"MQ",name:"Martinique"},{code:"MR",name:"Mauritania"},{code:"MS",name:"Montserrat"},{code:"MT",name:"Malta"},{code:"MU",name:"Mauritius"},{code:"MV",name:"Maldives"},{code:"MW",name:"Malawi"},{code:"MX",name:"Mexico"},{code:"MY",name:"Malaysia"},{code:"MZ",name:"Mozambique"},{code:"NA",name:"Namibia"},{code:"NC",name:"New Caledonia"},{code:"NE",name:"Niger"},{code:"NF",name:"Norfolk Island"},{code:"NG",name:"Nigeria"},{code:"NI",name:"Nicaragua"},{code:"NL",name:"Netherlands"},{code:"NO",name:"Norway"},{code:"NP",name:"Nepal"},{code:"NR",name:"Nauru"},{code:"NU",name:"Niue"},{code:"NZ",name:"New Zealand"},{code:"OM",name:"Oman"},{code:"PA",name:"Panama"},{code:"PE",name:"Peru"},{code:"PF",name:"French Polynesia"},{code:"PG",name:"Papua New Guinea"},{code:"PH",name:"Philippines"},{code:"PK",name:"Pakistan"},{code:"PL",name:"Poland"},{code:"PM",name:"Saint Pierre and Miquelon"},{code:"PN",name:"Pitcairn"},{code:"PR",name:"Puerto Rico"},{code:"PS",name:"Palestinian Territory, Occupied"},{code:"PT",name:"Portugal"},{code:"PW",name:"Palau"},{code:"PY",name:"Paraguay"},{code:"QA",name:"Qatar"},{code:"RE",name:"R\xe9union"},{code:"RI",name:"Republic of Ireland"},{code:"RO",name:"Romania"},{code:"RS",name:"Serbia"},{code:"RU",name:"Russia"},{code:"RW",name:"Rwanda"},{code:"SA",name:"Saudi Arabia"},{code:"SB",name:"Solomon Islands"},{code:"SC",name:"Seychelles"},{code:"SD",name:"Sudan"},{code:"SE",name:"Sweden"},{code:"SG",name:"Singapore"},{code:"SH",name:"Saint Helena, Ascension and Tristan da Cunha"},{code:"SI",name:"Slovenia"},{code:"SJ",name:"Svalbard and Jan Mayen"},{code:"SK",name:"Slovakia"},{code:"SL",name:"Sierra Leone"},{code:"SM",name:"San Marino"},{code:"SN",name:"Senegal"},{code:"SO",name:"Somalia"},{code:"SR",name:"Suriname"},{code:"SS",name:"Scotland"},{code:"ST",name:"Sao Tome and Principe"},{code:"SV",name:"El Salvador"},{code:"SY",name:"Syrian Arab Republic"},{code:"SZ",name:"Swaziland"},{code:"TC",name:"Turks and Caicos Islands"},{code:"TD",name:"Chad"},{code:"TF",name:"French Southern Territories"},{code:"TG",name:"Togo"},{code:"TH",name:"Thailand"},{code:"TJ",name:"Tajikistan"},{code:"TK",name:"Tokelau"},{code:"TL",name:"Timor-Leste"},{code:"TM",name:"Turkmenistan"},{code:"TN",name:"Tunisia"},{code:"TO",name:"Tonga"},{code:"TR",name:"Turkey"},{code:"TT",name:"Trinidad and Tobago"},{code:"TV",name:"Tuvalu"},{code:"TW",name:"Taiwan"},{code:"TZ",name:"Tanzania, United Republic of"},{code:"UA",name:"Ukraine"},{code:"UG",name:"Uganda"},{code:"UM",name:"United States Minor Outlying Islands"},{code:"US",name:"United States"},{code:"UY",name:"Uruguay"},{code:"UZ",name:"Uzbekistan"},{code:"VA",name:"Holy See (Vatican City State)"},{code:"VC",name:"Saint Vincent and the Grenadines"},{code:"VE",name:"Venezuela, Bolivarian Republic of"},{code:"VG",name:"Virgin Islands, British"},{code:"VI",name:"Virgin Islands, US"},{code:"VN",name:"Viet Nam"},{code:"VU",name:"Vanuatu"},{code:"WF",name:"Wallis and Futuna"},{code:"WS",name:"Samoa"},{code:"YE",name:"Yemen"},{code:"YT",name:"Mayotte"},{code:"ZA",name:"South Africa"},{code:"ZM",name:"Zambia"},{code:"ZW",name:"Zimbabwe"}],TH=[{id:1,displayName:"US & Canada",name:"US"},{id:2,name:"UK"},{id:3,name:"Australia"},{id:4,name:"Brazil"},{id:5,name:"Italy"},{id:6,name:"France"},{id:7,name:"Scandinavia"},{id:8,name:"Mexico"},{id:9,name:"India"},{id:10,name:"Germany"},{id:11,name:"China"},{id:12,name:"Japan"},{id:13,name:"Korea"}],MH=[{id:"0B265671-15EE-417A-8153-037EBC7FB2E2",number:1005,name:"Bulk CA Visitor's Guide Boxes (US)",sku:"1005",countryCode:"US",languageCode:"en",bulk:!0,enabled:!0},{id:"D27F6AC6-91E3-41BE-98F7-07C2F9466995",number:1064,name:"Bulk CA Visitor's Guide Boxes (HK)",sku:"BVGHONGKONG",countryCode:"HK",languageCode:"zh",bulk:!0,enabled:!0},{id:"1162073E-25A3-4145-9228-082F6854D522",number:1002,name:"California Road Trips Guide (US)",sku:"1002",countryCode:"US",languageCode:"en",bulk:!1,enabled:!0},{id:"D06C246E-BFD6-4CAD-96BB-09838B6AE550",number:1047,name:"Bulk CA Road Trips Boxes (SC)",sku:"BRTSCANDINAVIA",countryCode:"SE",languageCode:"en",bulk:!0,enabled:!0},{id:"7FFF2F9C-BA84-4D16-B52F-1011FA3385C7",number:1049,name:"California Road Trips Guide (KR)",sku:"RTKOREA",countryCode:"KR",languageCode:"ko",bulk:!1,enabled:!0},{id:"C77565B0-4545-4305-AFC6-1CCACD549A97",number:1041,name:"California Road Trips Guide (BR)",sku:"RTBRAZIL",countryCode:"BR",languageCode:"pt",bulk:!1,enabled:!0},{id:"E78EF6D2-5B68-4A4E-BDAA-1CD57A3A3774",number:1053,name:"California Road Trips Guide (MX)",sku:"RTMEXICO",countryCode:"MX",languageCode:"es",bulk:!1,enabled:!0},{id:"EBCE80AB-407E-4D80-97CA-1D0106DF3221",number:1075,name:"California Road Trips Guide (JP)",sku:"RTJAPAN",countryCode:"JP",languageCode:"ja",bulk:!1,enabled:!0},{id:"1FDC0E28-D59F-42FF-9A77-1D3C8341563B",number:1023,name:"California Road Trips Guide (AU)",sku:"RTAUSTRALIA",countryCode:"AU",languageCode:"en",bulk:!1,enabled:!0},{id:"D9011E65-D36E-454A-9C86-1E8511CBAA33",number:1039,name:"Bulk CA Road Trips Boxes (IT)",sku:"BRTITALY",countryCode:"IT",languageCode:"it",bulk:!0,enabled:!0},{id:"2A80E7FE-9D1B-4A65-B321-1F6CB0286910",number:1050,name:"Bulk CA Visitor's Guide Boxes (KR)",sku:"BVGKOREA",countryCode:"KR",languageCode:"ko",bulk:!0,enabled:!0},{id:"775C6F9B-67D8-4AA5-9484-26E623D2730A",number:1032,name:"California Road Trips Guide (FR)",sku:"RTFRANCE",countryCode:"FR",languageCode:"fr",bulk:!1,enabled:!0},{id:"162DBA57-96D9-49B6-A954-27C591BD8538",number:1071,name:"California Road Trips Guide (IN)",sku:"RTINDIA",countryCode:"IN",languageCode:"en",bulk:!1,enabled:!0},{id:"1DE5579B-87E3-4D89-8929-2897916AEC80",number:1031,name:"California Visitor's Guide (FR)",sku:"VGFRANCE",countryCode:"FR",languageCode:"fr",bulk:!1,enabled:!0},{id:"964EBB82-2AF7-4B23-BE83-36F13D9D6B9A",number:1029,name:"Bulk CA Visitor's Guide Boxes (AU)",sku:"BVGAUSTRALIA",countryCode:"AU",languageCode:"en",bulk:!0,enabled:!0},{id:"F7D84F43-91D7-4FC3-9834-3745FBE6D55A",number:1003,name:"California State Map (US)",sku:"1003",countryCode:"US",languageCode:"en",bulk:!1,enabled:!0},{id:"4EA0D649-6AED-45C5-A8D6-3875CDC5CE60",number:1060,name:"California Road Trips Guide (CN)",sku:"RTCHINA",countryCode:"CN",languageCode:"zh",bulk:!1,enabled:!0},{id:"4B922311-BDA4-480E-9544-421D941973FB",number:1076,name:"Bulk CA Visitor's Guide Boxes (JP)",sku:"BVGJAPAN",countryCode:"JP",languageCode:"ja",bulk:!0,enabled:!0},{id:"DEE0D514-18B5-4C8B-B199-430A80671FE1",number:1007,name:"Bulk CA Maps Boxes (US)",sku:"1007",countryCode:"US",languageCode:"en",bulk:!0,enabled:!0},{id:"B39CB065-F4F8-47FD-A50A-4BC6C9120B61",number:1045,name:"California Road Trips Guide (SC)",sku:"RTSCANDINAVIA",countryCode:"SE",languageCode:"en",bulk:!1,enabled:!0},{id:"DA53D873-0DF3-4C02-8380-4F3C619C2745",number:1036,name:"California Visitor's Guide (IT)",sku:"VGITALY",countryCode:"IT",languageCode:"it",bulk:!1,enabled:!0},{id:"7B0AA0BC-8F8C-4E8C-88C7-529ED9D5DAED",number:1019,name:"California Road Trips Guide (DE)",sku:"RTGERMANY",countryCode:"DE",languageCode:"de",bulk:!1,enabled:!0},{id:"A844458A-EC0E-47C0-844C-539E3A59A506",number:1001,name:"California Visitor's Guide (US)",sku:"1001",countryCode:"US",languageCode:"en",bulk:!1,enabled:!0},{id:"AD6D9DFC-D119-48A3-B448-57272F39BA28",number:1057,name:"Bulk CA Road Trips Boxes (MX)",sku:"BRTMEXICO",countryCode:"MX",languageCode:"es",bulk:!0,enabled:!0},{id:"968A0F43-2590-4641-BA12-609AAB85C0C2",number:1059,name:"California Visitor's Guide (CN)",sku:"VGCHINA",countryCode:"CN",languageCode:"zh",bulk:!1,enabled:!0},{id:"F96778A7-3F15-4264-AF9D-63B47AD358FA",number:1004,name:"2021 California Visitor's Guide (US)",sku:"1004",countryCode:"US",languageCode:"en",bulk:!1,enabled:!0},{id:"A0FF3639-8377-4353-A609-63B94E3D695E",number:1069,name:"Bulk CA Visitor's Guide Boxes (TW)",sku:"BVGTAIWAN",countryCode:"TW",languageCode:"zh",bulk:!0,enabled:!0},{id:"AA3BB272-F733-46FD-822C-6D084D8004EB",number:1077,name:"Bulk CA Road Trips Boxes (JP)",sku:"BRTJAPAN",countryCode:"JP",languageCode:"ja",bulk:!0,enabled:!0},{id:"C3B41538-A294-4473-BF93-7066D31EF0F3",number:1043,name:"Bulk CA Road Trips Boxes (BR)",sku:"BRTBRAZIL",countryCode:"BR",languageCode:"pt",bulk:!0,enabled:!0},{id:"B2BBA79C-1A9E-4CF6-8D6B-78205E837CAF",number:1072,name:"Bulk CA Visitor's Guide Boxes (IN)",sku:"BVGINDIA",countryCode:"IN",languageCode:"en",bulk:!0,enabled:!0},{id:"52A35166-3E8D-476B-8235-7C71B299BC11",number:1017,name:"California Visitor's Guide (DE)",sku:"VGGERMANY",countryCode:"DE",languageCode:"de",bulk:!1,enabled:!0},{id:"A6A0206F-C21C-4587-8DD2-8B2965A9FB58",number:1037,name:"California Road Trips Guide (IT)",sku:"RTITALY",countryCode:"IT",languageCode:"it",bulk:!1,enabled:!0},{id:"0AF7E13B-F9D5-46D0-A582-8F779AFB18E2",number:1025,name:"California Road Trips Guide (UK)",sku:"RTUK",countryCode:"GB",languageCode:"en",bulk:!1,enabled:!0},{id:"8782B3B8-5B86-43E0-80FC-907F970E7CFA",number:1021,name:"Bulk CA Road Trips Boxes (DE)",sku:"BRTGERMANY",countryCode:"DE",languageCode:"de",bulk:!0,enabled:!0},{id:"2B83373A-18D2-47A7-8CD2-9525D7B4AB46",number:1062,name:"Bulk CA Road Trips Boxes (CN)",sku:"BRTCHINA",countryCode:"CN",languageCode:"zh",bulk:!0,enabled:!0},{id:"F797363A-7FAD-4B9B-B700-979A625AC003",number:1048,name:"California Visitor's Guide (KR)",sku:"VGKOREA",countryCode:"KR",languageCode:"ko",bulk:!1,enabled:!0},{id:"3647760F-5539-4D31-9F12-99E296DE6A33",number:1068,name:"California Visitor's Guide (TW)",sku:"VGTAIWAN",countryCode:"TW",languageCode:"zh",bulk:!1,enabled:!0},{id:"A3521DB9-E71D-4852-97D9-9B23CD8A3B8F",number:1061,name:"Bulk CA Visitor's Guide Boxes (CN)",sku:"BVGCHINA",countryCode:"CN",languageCode:"zh",bulk:!0,enabled:!0},{id:"D051EE9B-2C40-42FC-93A6-A1ED321F988F",number:1044,name:"California Visitor's Guide (SC)",sku:"VGSCANDINAVIA",countryCode:"SE",languageCode:"en",bulk:!1,enabled:!0},{id:"53CA3855-72FD-4B53-91EF-ABD7A38C9247",number:1028,name:"Bulk CA Road Trips Boxes (UK)",sku:"BRTUK",countryCode:"GB",languageCode:"en",bulk:!0,enabled:!0},{id:"FF45E558-DD16-442D-8D49-AC38EE18CD6C",number:1022,name:"California Visitor's Guide (AU)",sku:"VGAUSTRALIA",countryCode:"AU",languageCode:"en",bulk:!1,enabled:!0},{id:"A41D5E9B-3AED-44B6-92C3-ACA988F211F8",number:1040,name:"California Visitor's Guide (BR)",sku:"VGBRAZIL",countryCode:"BR",languageCode:"pt",bulk:!1,enabled:!0},{id:"88F36E0B-6590-4C65-A804-AF21FE20F4A3",number:1070,name:"California Visitor's Guide (IN)",sku:"VGINDIA",countryCode:"IN",languageCode:"en",bulk:!1,enabled:!0},{id:"5E8A4C21-A458-4CAA-96D7-B3F6F7FE8712",number:1073,name:"Bulk CA Road Trips Boxes (IN)",sku:"BRTINDIA",countryCode:"IN",languageCode:"en",bulk:!0,enabled:!0},{id:"8E60BD15-A59A-49A9-A4D1-BEB5D9B874C5",number:1074,name:"California Visitor's Guide (JP)",sku:"VGJAPAN",countryCode:"JP",languageCode:"ja",bulk:!1,enabled:!0},{id:"60EA170A-671A-4015-8E95-C574944EECB8",number:1078,name:"Michelin x CVG Promotion (US)",sku:"MICHSINGLE",countryCode:"US",languageCode:"en",bulk:!1,enabled:!0},{id:"ABC7704E-17D5-4200-93C0-C92FA60F833D",number:1030,name:"Bulk CA Road Trips Boxes (AU)",sku:"BRTAUSTRALIA",countryCode:"AU",languageCode:"en",bulk:!0,enabled:!0},{id:"34A046C2-C1FB-4348-8542-CB5F2DC55CF1",number:1035,name:"Bulk CA Road Trips Boxes (FR)",sku:"BRTFRANCE",countryCode:"FR",languageCode:"fr",bulk:!0,enabled:!0},{id:"C3EF344A-FA4C-406B-B22E-CB98102AC7A4",number:1033,name:"Bulk CA Visitor's Guide Boxes (FR)",sku:"BVGFRANCE",countryCode:"FR",languageCode:"fr",bulk:!0,enabled:!0},{id:"6D7889E8-FE93-42F6-8A5E-D383A498B848",number:1006,name:"Bulk CA Road Trips Boxes (US)",sku:"1006",countryCode:"US",languageCode:"en",bulk:!0,enabled:!0},{id:"F35EFDE9-F591-4C9D-B880-D4D870885635",number:1038,name:"Bulk CA Visitor's Guide Boxes (IT)",sku:"BVGITALY",countryCode:"IT",languageCode:"it",bulk:!0,enabled:!0},{id:"3164B323-C158-4515-945F-D7BEA151659E",number:1046,name:"Bulk CA Visitor's Guide Boxes (SC)",sku:"BVGSCANDINAVIA",countryCode:"SE",languageCode:"en",bulk:!0,enabled:!0},{id:"D224A5C0-0238-4320-BD3C-DC6EB4DA0957",number:1024,name:"California Visitor's Guide (UK)",sku:"VGUK",countryCode:"GB",languageCode:"en",bulk:!1,enabled:!0},{id:"071C696A-F97F-43F4-A635-DD079A6A0694",number:1026,name:"Bulk CA Visitor's Guide Boxes (UK)",sku:"BVGUK",countryCode:"GB",languageCode:"en",bulk:!0,enabled:!0},{id:"4F6999DE-DF83-4F53-A369-DDFF32B5D962",number:1052,name:"California Visitor's Guide (MX)",sku:"VGMEXICO",countryCode:"MX",languageCode:"es",bulk:!1,enabled:!0},{id:"637D14D8-65EC-4C09-8260-DF95AACE4EB1",number:1020,name:"Bulk CA Visitor's Guide Boxes (DE)",sku:"BVGGERMANY",countryCode:"DE",languageCode:"de",bulk:!0,enabled:!0},{id:"111A49C7-264C-46A5-AAD5-E9D0233DFA34",number:1042,name:"Bulk CA Visitor's Guide Boxes (BR)",sku:"BVGBRAZIL",countryCode:"BR",languageCode:"pt",bulk:!0,enabled:!0},{id:"23A46093-8B2F-4D19-B967-EB98D055F9B5",number:1051,name:"Bulk CA Road Trips Boxes (KR)",sku:"BRTKOREA",countryCode:"KR",languageCode:"ko",bulk:!0,enabled:!0},{id:"4B905C13-0E7D-4AD9-B8AA-FB77FDE12DB0",number:1055,name:"Bulk CA Visitor's Guide Boxes (MX)",sku:"BVGMEXICO",countryCode:"MX",languageCode:"es",bulk:!0,enabled:!0},{id:"80D05A38-676F-4C61-B3D7-FC15E27BF8AA",number:1063,name:"California Visitor's Guide(HK)",sku:"VGHONGKONG",countryCode:"HK",languageCode:"zh",bulk:!1,enabled:!0}];var DH=n("wd/R");let LH=(()=>{class t{constructor(t,e){this.auth=t,this.http=e}agentErrors(){const t={};return new Promise(e=>{this.http.post("/Rest/Orders/AgentErrors",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}cancelOrder(t){const e="/Rest/Orders/Suspended/Cancel/"+t;return new Promise(t=>{this.http.get(e).subscribe(e=>t({success:!0,data:e}),e=>t({success:!1,error:e.message}))})}getOrder(t){const e="/Rest/Orders/Order/"+t;return new Promise(t=>{this.http.get(e).subscribe(e=>{t("success"===e.status?{success:!0,data:e.order}:{success:!1,error:e.message})},e=>t({success:!1,error:e.message}))})}findOrders(t){const e={criteria:t};return new Promise(t=>{this.http.post("/Rest/Orders/Find",e).subscribe(e=>{t(e.Errors?{success:!1,error:e.Message}:{success:!0,data:e})},e=>t({success:!1,error:e.message}))})}fulfillmentStats(){const t={};return new Promise(e=>{this.http.post("/Rest/Orders/Fulfillment/Stats",t).subscribe(t=>{e(t.Message?{success:!1,error:t.Message}:{success:!0,data:t})},t=>e({success:!1,error:t.message}))})}marketOrders(){const t={};return new Promise(e=>{this.http.post("/Epic/MarketOrders",t).subscribe(t=>{t.forEach(t=>t.market=TH.find(e=>e.id===t.id)),e({success:!0,data:t})},t=>e({success:!1,error:t.message}))})}orderAction(t,e){return new Promise(n=>{this.auth.user$.pipe(Dx()).subscribe(i=>{this.http.post("/Epic/OrderAction",{action:e,orderNumbers:t,username:`${null==i?void 0:i.firstName} ${null==i?void 0:i.lastName}`}).subscribe(t=>{n({success:!0,data:t})},t=>n({success:!1,error:t.message}))},t=>n({success:!1,error:t.message}))})}ordersByMarket(t,e){const n=`/Rest/Orders/ByMarket/${decodeURIComponent(DH(t).format("MM-DD-YYYY"))}/${decodeURIComponent(DH(e).format("MM-DD-YYYY"))}`;return new Promise(t=>{this.http.get(n).subscribe(e=>t({success:!0,data:e}),e=>t({success:!1,error:e.message}))})}orderItemStats(){const t={};return new Promise(e=>{this.http.post("/Rest/Orders/OrderItem/Stats",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}pfcOrders(t,e){const n=`/Rest/Orders/PFC/${decodeURIComponent(DH(t).format("MM-DD-YYYY"))}/${decodeURIComponent(DH(e).format("MM-DD-YYYY"))}`;return new Promise(t=>{this.http.get(n).subscribe(e=>t({success:!0,data:e}),e=>t({success:!1,error:e.message}))})}submit(t){return new Promise(e=>{this.http.post("/Rest/Orders/Order",t).subscribe(t=>{e("success"===t.status?{success:!0,data:t.order}:{success:!1,error:t.message})},t=>e({success:!1,error:t.message}))})}submitted(t,e){const n={bulk:e,marketName:t};return new Promise(t=>{this.http.post("/Epic/Submitted",n).subscribe(e=>t({success:!0,data:e}),e=>t({success:!1,error:e.message}))})}suspendedDaily(){const t={};return new Promise(e=>{this.http.post("/Rest/Orders/Suspended/Daily",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}suspendedResolved(){const t={};return new Promise(e=>{this.http.post("/Rest/Orders/Suspended/Recent",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}suspendedUnresolved(){const t={};return new Promise(e=>{this.http.post("/Rest/Orders/Suspended",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}suspendedStats(){const t={};return new Promise(e=>{this.http.post("/Rest/Orders/Suspended/Stats",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}tramsmitOrder(t){const e="/Rest/Orders/Transmit/"+t;return new Promise(t=>{this.http.get(e).subscribe(e=>t({success:!0,data:e}),e=>t({success:!1,error:e.message}))})}updateOrder(t){return new Promise(e=>{this.http.post("/Epic/UpdateOrder",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(gH),i.Xb(Mr))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),OH=(()=>{class t{constructor(t){this.http=t}filterCampaign(t,e,n){let i=[];switch(e){case"reactivation":i=t.filter(t=>t.CampaignName.indexOf("Reactivation")>=0&&n(t));break;case"weekly":i=t.filter(t=>t.CampaignName.indexOf("Test")<0&&t.CampaignName.indexOf("Welcome")<0&&t.CampaignName.indexOf("CRTR 1_AU")<0&&t.CampaignName.indexOf("Reactivation")<0&&t.Sent>9&&n(t));break;case"welcome":i=t.filter(t=>(t.CampaignName.indexOf("Welcome")>=0||t.CampaignName.indexOf("CRTR 1_AU")>=0)&&n(t))}return i}optInsByCampaign(){const t={};return new Promise(e=>{this.http.post("/Rest/Subscriptions/Zeta/OptInsByCampaign",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}optInsDaily(){const t={};return new Promise(e=>{this.http.post("/Rest/Subscriptions/Zeta/OptInsDaily",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}optOutsDaily(){const t={};return new Promise(e=>{this.http.post("/Rest/Subscriptions/Zeta/OptOutsDaily",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}publicationStats(){const t={};return new Promise(e=>{this.http.post("/Rest/Subscriptions/Publications/Stats",t).subscribe(t=>e({success:!0,data:t}),t=>e({success:!1,error:t.message}))})}zetaCampaignData(t,e){const n=`/Rest/Subscriptions/ZetaCampaignData/${decodeURIComponent(DH(t).format("MM-DD-YYYY"))}/${decodeURIComponent(DH(e).format("MM-DD-YYYY"))}`;return new Promise(t=>{this.http.get(n).subscribe(e=>t({success:!0,data:e}),e=>t({success:!1,error:e.message}))})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(Mr))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var AH,EH=new Uint8Array(16);function IH(){if(!AH&&!(AH="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return AH(EH)}for(var RH=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,YH=function(t){return"string"==typeof t&&RH.test(t)},jH=[],NH=0;NH<256;++NH)jH.push((NH+256).toString(16).substr(1));var PH=function(t,e,n){var i=(t=t||{}).random||(t.rng||IH)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,e){n=n||0;for(var r=0;r<16;++r)e[n+r]=i[r];return e}return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(jH[t[e+0]]+jH[t[e+1]]+jH[t[e+2]]+jH[t[e+3]]+"-"+jH[t[e+4]]+jH[t[e+5]]+"-"+jH[t[e+6]]+jH[t[e+7]]+"-"+jH[t[e+8]]+jH[t[e+9]]+"-"+jH[t[e+10]]+jH[t[e+11]]+jH[t[e+12]]+jH[t[e+13]]+jH[t[e+14]]+jH[t[e+15]]).toLowerCase();if(!YH(n))throw TypeError("Stringified UUID is invalid");return n}(i)};let FH=(()=>{class t{constructor(t,e,n){this.auth=t,this.fs=e,this.http=n,this.subscriptions=[],this.subscriptions.push(this.auth.user$.subscribe(t=>{void 0!==t&&(this.user=t)}))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}invite(t,e,n,i){var r;return kT(this,void 0,void 0,function*(){try{const s=PH(),a=null===(r=this.user)||void 0===r?void 0:r.partnerId;yield this.fs.collection("/users").doc(n).set({disabled:!1,firstName:t,inviteCode:s,lastName:e,partnerId:a,role:i,verified:!1});const o={email:n,firstName:t,lastName:e,link:"https://epic.visitcalifornia.com/create-account/"+s};return yield new Promise(t=>{this.http.post("/Epic/SendInvite",o).subscribe(()=>{t({success:!0})},e=>t({success:!1,error:e.message}))})}catch(UB){return{success:!1,error:UB.message}}})}}return t.\u0275fac=function(e){return new(e||t)(i.Xb(gH),i.Xb(bH),i.Xb(Mr))},t.\u0275prov=i.Jb({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),BH=(()=>{class t{constructor(t,e,n,i){this.users=t,this.snackBar=e,this.dialogRef=n,this.data=i,this.disableButtons=!1,this.form=new oa({email:new aa("",[ss.required,ss.email]),firstName:new aa("",[ss.required]),lastName:new aa("",[ss.required]),role:new aa("User",[ss.required])})}send(){var t,e,n,i;return kT(this,void 0,void 0,function*(){if(this.form.markAllAsTouched(),this.form.valid){this.disableButtons=!0;const r=null===(t=this.form.get("firstName"))||void 0===t?void 0:t.value,s=null===(e=this.form.get("lastName"))||void 0===e?void 0:e.value,a=null===(n=this.form.get("email"))||void 0===n?void 0:n.value,o=null===(i=this.form.get("role"))||void 0===i?void 0:i.value,l=yield this.users.invite(r,s,a,o);l.success?(this.snackBar.open(l.error||"Invite sent successfully.",void 0,{duration:4e3,panelClass:"snack-bar-success"}),this.dialogRef.close()):(this.snackBar.open(l.error||"Unable to send invite.",void 0,{duration:4e3,panelClass:"snack-bar-error"}),this.disableButtons=!1)}})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(FH),i.Nb(Vy),i.Nb(qp),i.Nb($p))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-invite"]],decls:32,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"formGroup"],["fxLayout","column"],["fxLayout.xs","column","fxLayout.gt-xs","row","fxLayoutGap.gt-xs","24px"],["fxFlex","1 1 auto","appearance","fill"],["matInput","","formControlName","firstName","autocomplete","off"],["matInput","","formControlName","lastName","autocomplete","off"],["matInput","","formControlName","email","autocomplete","off"],["appearance","fill"],["formControlName","role"],["value","Admin"],["value","Partner"],["value","User"],["mat-dialog-actions","","align","end"],["mat-raised-button","","mat-dialog-close","cancel","cdkFocusInitial","",3,"disabled"],["mat-raised-button","","color","primary",3,"disabled","click"]],template:function(t,e){1&t&&(i.Tb(0,"h1",0),i.Bc(1,"Send Invite"),i.Sb(),i.Tb(2,"div",1),i.Tb(3,"div",2),i.Tb(4,"div",3),i.Tb(5,"mat-form-field",4),i.Tb(6,"mat-label"),i.Bc(7,"First Name"),i.Sb(),i.Ob(8,"input",5),i.Sb(),i.Tb(9,"mat-form-field",4),i.Tb(10,"mat-label"),i.Bc(11,"Last Name"),i.Sb(),i.Ob(12,"input",6),i.Sb(),i.Sb(),i.Tb(13,"mat-form-field",4),i.Tb(14,"mat-label"),i.Bc(15,"Email"),i.Sb(),i.Ob(16,"input",7),i.Sb(),i.Tb(17,"mat-form-field",8),i.Tb(18,"mat-label"),i.Bc(19,"Role"),i.Sb(),i.Tb(20,"mat-select",9),i.Tb(21,"mat-option",10),i.Bc(22,"Admin"),i.Sb(),i.Tb(23,"mat-option",11),i.Bc(24,"Partner"),i.Sb(),i.Tb(25,"mat-option",12),i.Bc(26,"User"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(27,"div",13),i.Tb(28,"button",14),i.Bc(29,"Cancel"),i.Sb(),i.Tb(30,"button",15),i.bc("click",function(){return e.send()}),i.Bc(31,"Send"),i.Sb(),i.Sb()),2&t&&(i.Cb(2),i.lc("formGroup",e.form),i.Cb(26),i.lc("disabled",e.disableButtons),i.Cb(2),i.lc("disabled",e.disableButtons))},directives:[nb,ib,Ss,ga,Ou,Nu,Lm,Xu,ym,pb,Zr,ws,ya,ey,ff,rb,wf,eb],styles:[""]}),t})(),HH=(()=>{class t{constructor(t,e,n,i){this.auth=t,this.snackBar=e,this.dialogRef=n,this.data=i,this.disableButtons=!1,this.form=new oa({});const r=this.data.user;this.form.addControl("email",new aa(r.email,[ss.required,ss.email])),this.form.addControl("firstName",new aa(r.firstName,[ss.required])),this.form.addControl("lastName",new aa(r.lastName,[ss.required])),this.form.addControl("role",new aa({value:r.role,disabled:this.auth.isSelf(r)},[ss.required])),this.form.addControl("enabled",new aa({value:!r.disabled,disabled:this.auth.isSelf(r)},[ss.required]))}save(){var t,e,n,i;return kT(this,void 0,void 0,function*(){if(this.form.markAllAsTouched(),this.form.valid){this.disableButtons=!0;const r=null===(t=this.form.get("firstName"))||void 0===t?void 0:t.value,s=null===(e=this.form.get("lastName"))||void 0===e?void 0:e.value,a=this.data.user.email,o=null===(n=this.form.get("role"))||void 0===n?void 0:n.value,l=!(null===(i=this.form.get("enabled"))||void 0===i?void 0:i.value),c=yield this.auth.updateUser(r,s,a,o,l);c.success?this.dialogRef.close():(this.snackBar.open(c.error||"Unable to update user.",void 0,{duration:4e3,panelClass:"snack-bar-error"}),this.disableButtons=!1)}})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(gH),i.Nb(Vy),i.Nb(qp),i.Nb($p))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-user"]],decls:36,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"formGroup"],["fxLayout","column"],["fxLayout.xs","column","fxLayout.gt-xs","row","fxLayoutGap.gt-xs","24px"],["fxFlex","1 1 auto","appearance","fill"],["matInput","","formControlName","firstName","autocomplete","off"],["matInput","","formControlName","lastName","autocomplete","off"],["matInput","","formControlName","email","readonly","","autocomplete","off"],["fxLayout.xs","column","fxLayout.gt-xs","row","fxLayoutAlign.gt-xs","start center","fxLayoutGap.gt-xs","24px"],["appearance","fill","fxFlex","1 1 50"],["formControlName","role"],["value","Admin"],["value","Partner"],["value","User"],["fxFlex","0 0 50"],["formControlName","enabled"],["mat-dialog-actions","","align","end"],["mat-raised-button","","mat-dialog-close","cancel","cdkFocusInitial","",3,"disabled"],["mat-raised-button","","color","primary",3,"disabled","click"]],template:function(t,e){if(1&t&&(i.Tb(0,"h1",0),i.Bc(1,"Update User"),i.Sb(),i.Tb(2,"div",1),i.Tb(3,"div",2),i.Tb(4,"div",3),i.Tb(5,"mat-form-field",4),i.Tb(6,"mat-label"),i.Bc(7,"First Name"),i.Sb(),i.Ob(8,"input",5),i.Sb(),i.Tb(9,"mat-form-field",4),i.Tb(10,"mat-label"),i.Bc(11,"Last Name"),i.Sb(),i.Ob(12,"input",6),i.Sb(),i.Sb(),i.Tb(13,"mat-form-field",4),i.Tb(14,"mat-label"),i.Bc(15,"Email"),i.Sb(),i.Ob(16,"input",7),i.Sb(),i.Tb(17,"div",8),i.Tb(18,"mat-form-field",9),i.Tb(19,"mat-label"),i.Bc(20,"Role"),i.Sb(),i.Tb(21,"mat-select",10),i.Tb(22,"mat-option",11),i.Bc(23,"Admin"),i.Sb(),i.Tb(24,"mat-option",12),i.Bc(25,"Partner"),i.Sb(),i.Tb(26,"mat-option",13),i.Bc(27,"User"),i.Sb(),i.Sb(),i.Sb(),i.Tb(28,"div",14),i.Tb(29,"mat-slide-toggle",15),i.Bc(30),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(31,"div",16),i.Tb(32,"button",17),i.Bc(33,"Cancel"),i.Sb(),i.Tb(34,"button",18),i.bc("click",function(){return e.save()}),i.Bc(35,"Save"),i.Sb(),i.Sb()),2&t){let t=null;i.Cb(2),i.lc("formGroup",e.form),i.Cb(28),i.Cc(null!=(t=e.form.get("enabled"))&&t.value?"Enabled":"Disabled"),i.Cb(2),i.lc("disabled",e.disableButtons),i.Cb(2),i.lc("disabled",e.disableButtons)}},directives:[nb,ib,Ss,ga,Ou,Nu,Lm,Xu,ym,pb,Zr,ws,ya,sd,ey,ff,py,rb,wf,eb],styles:[""]}),t})();const VH=["actionsMenu"];function zH(t,e){1&t&&(i.Tb(0,"th",22),i.Bc(1," Name "),i.Sb())}function UH(t,e){if(1&t&&(i.Tb(0,"td",23),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Ec("",t.firstName," ",t.lastName,"")}}function WH(t,e){1&t&&(i.Tb(0,"th",24),i.Bc(1," Email "),i.Sb())}function qH(t,e){if(1&t&&(i.Tb(0,"td",25),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.email)}}function GH(t,e){1&t&&(i.Tb(0,"th",22),i.Bc(1," Role "),i.Sb())}function $H(t,e){if(1&t&&(i.Tb(0,"td",23),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.role)}}function XH(t,e){1&t&&i.Ob(0,"th",26)}function KH(t,e){if(1&t){const t=i.Ub();i.Tb(0,"td",27),i.Tb(1,"button",28),i.bc("click",function(){i.sc(t);const n=e.$implicit;return i.fc(2).active=n}),i.Tb(2,"mat-icon"),i.Bc(3,"more_vert"),i.Sb(),i.Sb(),i.Sb()}if(2&t){i.fc(2);const t=i.rc(9);i.Cb(1),i.lc("matMenuTriggerFor",t)}}function JH(t,e){1&t&&i.Ob(0,"tr",29)}const QH=function(t){return{"row-disabled":t}};function ZH(t,e){1&t&&i.Ob(0,"tr",30),2&t&&i.lc("ngClass",i.oc(1,QH,e.$implicit.disabled))}function tV(t,e){if(1&t&&(i.Tb(0,"table",9),i.Rb(1,10),i.Ac(2,zH,2,0,"th",11),i.Ac(3,UH,2,2,"td",12),i.Qb(),i.Rb(4,13),i.Ac(5,WH,2,0,"th",14),i.Ac(6,qH,2,1,"td",15),i.Qb(),i.Rb(7,16),i.Ac(8,GH,2,0,"th",11),i.Ac(9,$H,2,1,"td",12),i.Qb(),i.Rb(10,17),i.Ac(11,XH,1,0,"th",18),i.Ac(12,KH,4,1,"td",19),i.Qb(),i.Ac(13,JH,1,0,"tr",20),i.Ac(14,ZH,1,3,"tr",21),i.Sb()),2&t){const t=i.fc();i.lc("dataSource",t.users),i.Cb(13),i.lc("matHeaderRowDef",t.columns),i.Cb(1),i.lc("matRowDefColumns",t.columns)}}function eV(t,e){1&t&&(i.Tb(0,"div",31),i.Ob(1,"mat-spinner",32),i.Sb())}let nV=(()=>{class t{constructor(t,e){this.auth=t,this.dialog=e,this.columns=["fullName","email","role","actions"],this.loading=!0,this.users=[],this.subscriptions=[]}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}ngOnInit(){this.subscriptions.push(this.auth.users$.subscribe(t=>{this.users=t,this.loading=!1}))}edit(){this.dialog.open(HH,{ariaLabel:"Edit User",data:{user:this.active},maxWidth:600,width:"calc(100% - 20px)"})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(gH),i.Nb(Zp))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-users"]],viewQuery:function(t,e){if(1&t&&i.Hc(VH,!0),2&t){let t;i.qc(t=i.cc())&&(e.actionsMenu=t.first)}},decls:15,vars:2,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["fxFlex","1 1 auto","mat-table","",3,"dataSource",4,"ngIf"],["fxFlex","0 0 auto","fxLayoutAlign","center center",4,"ngIf"],["xPosition","before"],["actionsMenu","matMenu"],["mat-menu-item","",3,"click"],[1,"material-icons-outlined"],["fxFlex","1 1 auto","mat-table","",3,"dataSource"],["matColumnDef","fullName"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","email"],["mat-header-cell","","fxHide.xs","",4,"matHeaderCellDef"],["mat-cell","","fxHide.xs","",4,"matCellDef"],["matColumnDef","role"],["matColumnDef","actions"],["class","actions","mat-header-cell","",4,"matHeaderCellDef"],["class","actions","mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-cell","","fxHide.xs",""],["mat-cell","","fxHide.xs",""],["mat-header-cell","",1,"actions"],["mat-cell","",1,"actions"],["mat-icon-button","",3,"matMenuTriggerFor","click"],["mat-header-row",""],["mat-row","",3,"ngClass"],["fxFlex","0 0 auto","fxLayoutAlign","center center"],["color","accent"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"h2"),i.Bc(3,"Manage Users"),i.Sb(),i.Sb(),i.Tb(4,"mat-card",2),i.Tb(5,"mat-card-content"),i.Ac(6,tV,15,3,"table",3),i.Ac(7,eV,2,0,"div",4),i.Sb(),i.Sb(),i.Tb(8,"mat-menu",5,6),i.Tb(10,"button",7),i.bc("click",function(){return e.edit()}),i.Tb(11,"mat-icon",8),i.Bc(12,"create"),i.Sb(),i.Tb(13,"span"),i.Bc(14,"Edit"),i.Sb(),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(6),i.lc("ngIf",!e.loading),i.Cb(1),i.lc("ngIf",e.loading))},directives:[Xu,Ou,Nu,Of,Mf,pt,e_,Jg,Hg,Dv,Rv,Ev,Ov,Bv,Vv,jv,Pv,au,wf,s_,Uv,qv,dt,Zc,sd,g_],styles:[""]}),t})();function iV(t,e){1&t&&(i.Tb(0,"th",24),i.Bc(1,"ID"),i.Sb())}function rV(t,e){if(1&t&&(i.Tb(0,"td",25),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.LogID)}}function sV(t,e){1&t&&(i.Tb(0,"th",26),i.Bc(1,"Database"),i.Sb())}function aV(t,e){if(1&t&&(i.Tb(0,"td",27),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.DatabaseName)}}function oV(t,e){1&t&&(i.Tb(0,"th",28),i.Bc(1,"File Path"),i.Sb())}function lV(t,e){if(1&t&&(i.Tb(0,"td",29),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.FilePath)}}function cV(t,e){1&t&&(i.Tb(0,"th",24),i.Bc(1,"Status"),i.Sb())}function uV(t,e){if(1&t&&(i.Tb(0,"td",25),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.Success?"Completed":"Error")}}function dV(t,e){1&t&&(i.Tb(0,"th",30),i.Bc(1,"Error"),i.Sb())}function hV(t,e){if(1&t&&i.Bc(0),2&t){const t=i.fc().$implicit;i.Ec(" ",t.ErrorMessage," (",t.ErrorNumber,") ")}}function fV(t,e){if(1&t&&(i.Tb(0,"td",31),i.Ac(1,hV,1,2,"ng-template",32),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.lc("ngIf",!t.Success)}}function mV(t,e){1&t&&(i.Tb(0,"th",33),i.Bc(1,"Date/Time"),i.Sb())}function pV(t,e){if(1&t&&(i.Tb(0,"td",34),i.Bc(1),i.gc(2,"date"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(i.ic(2,1,t.CreatedOn,"MMM d hh:mm a"))}}function bV(t,e){1&t&&i.Ob(0,"tr",35)}const gV=function(t){return{"text-danger":t}};function _V(t,e){1&t&&i.Ob(0,"tr",36),2&t&&i.lc("ngClass",i.oc(1,gV,!e.$implicit.Success))}function yV(t,e){if(1&t&&(i.Tb(0,"table",5),i.Rb(1,6),i.Ac(2,iV,2,0,"th",7),i.Ac(3,rV,2,1,"td",8),i.Qb(),i.Rb(4,9),i.Ac(5,sV,2,0,"th",10),i.Ac(6,aV,2,1,"td",11),i.Qb(),i.Rb(7,12),i.Ac(8,oV,2,0,"th",13),i.Ac(9,lV,2,1,"td",14),i.Qb(),i.Rb(10,15),i.Ac(11,cV,2,0,"th",7),i.Ac(12,uV,2,1,"td",8),i.Qb(),i.Rb(13,16),i.Ac(14,dV,2,0,"th",17),i.Ac(15,fV,2,1,"td",18),i.Qb(),i.Rb(16,19),i.Ac(17,mV,2,0,"th",20),i.Ac(18,pV,3,4,"td",21),i.Qb(),i.Ac(19,bV,1,0,"tr",22),i.Ac(20,_V,1,3,"tr",23),i.Sb()),2&t){const t=i.fc();i.lc("dataSource",t.logData),i.Cb(19),i.lc("matHeaderRowDef",t.columns),i.Cb(1),i.lc("matRowDefColumns",t.columns)}}function vV(t,e){1&t&&(i.Tb(0,"div",37),i.Ob(1,"mat-spinner",38),i.Sb())}function wV(t,e){if(1&t&&(i.Tb(0,"div",37),i.Tb(1,"span",39),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.errorMessage)}}let SV=(()=>{class t{constructor(t){this.ls=t,this.columns=["ID","DatabaseName","FilePath","Status","Error","CreatedOn"],this.loading=!0,this.logData=[]}ngOnInit(){this.loadBackupLog()}loadBackupLog(){return kT(this,void 0,void 0,function*(){const t=yield this.ls.backupLog();t.success?this.logData=t.data:this.errorMessage=t.error,this.loading=!1})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(xH))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-backup-log"]],decls:9,vars:3,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["fxFlex","1 1 auto","mat-table","",3,"dataSource",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],["fxFlex","1 1 auto","mat-table","",3,"dataSource"],["matColumnDef","ID"],["mat-header-cell","","fxHide.lt-md","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-md","",4,"matCellDef"],["matColumnDef","DatabaseName"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","FilePath"],["mat-header-cell","","fxHide.lt-lg","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-lg","",4,"matCellDef"],["matColumnDef","Status"],["matColumnDef","Error"],["mat-header-cell","","fxHide.xs","",4,"matHeaderCellDef"],["mat-cell","","fxHide.xs","",4,"matCellDef"],["matColumnDef","CreatedOn"],["class","text-right","mat-header-cell","",4,"matHeaderCellDef"],["class","text-right","mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","data","mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["mat-header-cell","","fxHide.lt-md",""],["mat-cell","","fxHide.lt-md",""],["mat-header-cell",""],["mat-cell",""],["mat-header-cell","","fxHide.lt-lg",""],["mat-cell","","fxHide.lt-lg",""],["mat-header-cell","","fxHide.xs",""],["mat-cell","","fxHide.xs",""],[3,"ngIf"],["mat-header-cell","",1,"text-right"],["mat-cell","",1,"text-right"],["mat-header-row",""],["mat-row","",1,"data",3,"ngClass"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],["color","accent"],[1,"error"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"h2"),i.Bc(3,"Zeta Import Log"),i.Sb(),i.Sb(),i.Tb(4,"mat-card",2),i.Tb(5,"mat-card-content"),i.Ac(6,yV,21,3,"table",3),i.Ac(7,vV,2,0,"div",4),i.Ac(8,wV,3,1,"div",4),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(6),i.lc("ngIf",!e.loading&&!e.errorMessage),i.Cb(1),i.lc("ngIf",e.loading),i.Cb(1),i.lc("ngIf",e.errorMessage))},directives:[Xu,Ou,Nu,Of,Mf,pt,Dv,Rv,Ev,Ov,Bv,Vv,jv,au,Pv,Uv,qv,dt,Zc,sd,g_],pipes:[Lt],styles:[""]}),t})();function xV(t,e){1&t&&(i.Tb(0,"th",21),i.Bc(1,"Agent"),i.Sb())}function CV(t,e){if(1&t&&(i.Tb(0,"td",22),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.Agent)}}function kV(t,e){1&t&&(i.Tb(0,"th",23),i.Bc(1,"Record Count"),i.Sb())}function TV(t,e){if(1&t&&(i.Tb(0,"td",24),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.RecordCount)}}function MV(t,e){1&t&&(i.Tb(0,"th",23),i.Bc(1,"Status"),i.Sb())}function DV(t,e){if(1&t&&(i.Tb(0,"td",24),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.Status)}}function LV(t,e){1&t&&(i.Tb(0,"th",25),i.Bc(1,"Message"),i.Sb())}function OV(t,e){if(1&t&&(i.Tb(0,"td",26),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.Message)}}function AV(t,e){1&t&&(i.Tb(0,"th",27),i.Bc(1,"Date/Time"),i.Sb())}function EV(t,e){if(1&t&&(i.Tb(0,"td",28),i.Bc(1),i.gc(2,"date"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(i.ic(2,1,t.CreatedOn,"MMM d hh:mm a"))}}function IV(t,e){1&t&&i.Ob(0,"tr",29)}const RV=function(t){return{"text-danger":t}};function YV(t,e){1&t&&i.Ob(0,"tr",30),2&t&&i.lc("ngClass",i.oc(1,RV,"ERROR"===e.$implicit.Status))}function jV(t,e){if(1&t&&(i.Tb(0,"table",5),i.Rb(1,6),i.Ac(2,xV,2,0,"th",7),i.Ac(3,CV,2,1,"td",8),i.Qb(),i.Rb(4,9),i.Ac(5,kV,2,0,"th",10),i.Ac(6,TV,2,1,"td",11),i.Qb(),i.Rb(7,12),i.Ac(8,MV,2,0,"th",10),i.Ac(9,DV,2,1,"td",11),i.Qb(),i.Rb(10,13),i.Ac(11,LV,2,0,"th",14),i.Ac(12,OV,2,1,"td",15),i.Qb(),i.Rb(13,16),i.Ac(14,AV,2,0,"th",17),i.Ac(15,EV,3,4,"td",18),i.Qb(),i.Ac(16,IV,1,0,"tr",19),i.Ac(17,YV,1,3,"tr",20),i.Sb()),2&t){const t=i.fc();i.lc("dataSource",t.logData),i.Cb(16),i.lc("matHeaderRowDef",t.columns),i.Cb(1),i.lc("matRowDefColumns",t.columns)}}function NV(t,e){1&t&&(i.Tb(0,"div",31),i.Ob(1,"mat-spinner",32),i.Sb())}function PV(t,e){if(1&t&&(i.Tb(0,"div",31),i.Tb(1,"span",33),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.errorMessage)}}let FV=(()=>{class t{constructor(t){this.ls=t,this.columns=["Agent","RecordCount","Status","Message","CreatedOn"],this.loading=!0,this.logData=[]}ngOnInit(){this.loadAgentLog()}loadAgentLog(){return kT(this,void 0,void 0,function*(){const t=yield this.ls.agentLog();t.success?this.logData=t.data:this.errorMessage=t.error,this.loading=!1})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(xH))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-orders-log"]],decls:9,vars:3,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["fxFlex","1 1 auto","mat-table","",3,"dataSource",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],["fxFlex","1 1 auto","mat-table","",3,"dataSource"],["matColumnDef","Agent"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","RecordCount"],["mat-header-cell","","fxHide.xs","",4,"matHeaderCellDef"],["mat-cell","","fxHide.xs","",4,"matCellDef"],["matColumnDef","Status"],["matColumnDef","Message"],["mat-header-cell","","fxHide.lt-lg","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-lg","",4,"matCellDef"],["matColumnDef","CreatedOn"],["class","text-right","mat-header-cell","",4,"matHeaderCellDef"],["class","text-right","mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","data","mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-cell","","fxHide.xs",""],["mat-cell","","fxHide.xs",""],["mat-header-cell","","fxHide.lt-lg",""],["mat-cell","","fxHide.lt-lg",""],["mat-header-cell","",1,"text-right"],["mat-cell","",1,"text-right"],["mat-header-row",""],["mat-row","",1,"data",3,"ngClass"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],["color","accent"],[1,"error"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"h2"),i.Bc(3,"Orders Log (PFC/Meredith)"),i.Sb(),i.Sb(),i.Tb(4,"mat-card",2),i.Tb(5,"mat-card-content"),i.Ac(6,jV,18,3,"table",3),i.Ac(7,NV,2,0,"div",4),i.Ac(8,PV,3,1,"div",4),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(6),i.lc("ngIf",!e.loading&&!e.errorMessage),i.Cb(1),i.lc("ngIf",e.loading),i.Cb(1),i.lc("ngIf",e.errorMessage))},directives:[Xu,Ou,Nu,Of,Mf,pt,Dv,Rv,Ev,Ov,Bv,Vv,jv,Pv,au,Uv,qv,dt,Zc,sd,g_],pipes:[Lt],styles:[""]}),t})();const BV=Do("[API_ENVIRONMENT] Set",{_as:"props",_p:void 0}),HV=Do("[LOG_ENVIRONMENT] Set",{_as:"props",_p:void 0});function VV(t,e){if(1&t){const t=i.Ub();i.Tb(0,"select",1),i.bc("ngModelChange",function(e){return i.sc(t),i.fc().envName=e})("change",function(){return i.sc(t),i.fc().setEnv()}),i.Tb(1,"option",2),i.Bc(2,"production"),i.Sb(),i.Tb(3,"option",3),i.Bc(4,"development"),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.lc("ngModel",t.envName)}}let zV=(()=>{class t{constructor(t){this.store=t,this.env$=this.store.pipe(bl(vH))}ngOnInit(){this.subscription=this.env$.subscribe(t=>this.envName=t.name)}ngOnDestroy(){var t;null===(t=this.subscription)||void 0===t||t.unsubscribe()}setEnv(){this.store.dispatch(HV({name:this.envName}))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(ml))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-log-environments"]],decls:1,vars:1,consts:[[3,"ngModel","ngModelChange","change",4,"ngIf"],[3,"ngModel","ngModelChange","change"],["value","production"],["value","staging"]],template:function(t,e){1&t&&i.Ac(0,VV,5,1,"select",0),2&t&&i.lc("ngIf",!0)},directives:[pt,Es,ws,ma,Is,Ns],styles:[""]}),t})();function UV(t,e){1&t&&(i.Tb(0,"th",21),i.Bc(1,"Date/Time"),i.Sb())}function WV(t,e){if(1&t&&(i.Tb(0,"td",22),i.Bc(1),i.gc(2,"date"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(i.ic(2,1,t.created,"MMM d hh:mm a"))}}function qV(t,e){1&t&&(i.Tb(0,"th",23),i.Bc(1,"Email"),i.Sb())}function GV(t,e){if(1&t&&(i.Tb(0,"td",24),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.toEmail)}}function $V(t,e){1&t&&(i.Tb(0,"th",25),i.Bc(1,"Subject"),i.Sb())}function XV(t,e){if(1&t&&(i.Tb(0,"td",26),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.subject)}}function KV(t,e){1&t&&(i.Tb(0,"th",21),i.Bc(1,"Error"),i.Sb())}function JV(t,e){if(1&t&&(i.Tb(0,"td",27),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.errorMessage)}}function QV(t,e){1&t&&i.Ob(0,"tr",28)}function ZV(t,e){1&t&&i.Ob(0,"tr",29)}function tz(t,e){if(1&t&&(i.Tb(0,"table",7),i.Rb(1,8),i.Ac(2,UV,2,0,"th",9),i.Ac(3,WV,3,4,"td",10),i.Qb(),i.Rb(4,11),i.Ac(5,qV,2,0,"th",12),i.Ac(6,GV,2,1,"td",13),i.Qb(),i.Rb(7,14),i.Ac(8,$V,2,0,"th",15),i.Ac(9,XV,2,1,"td",16),i.Qb(),i.Rb(10,17),i.Ac(11,KV,2,0,"th",9),i.Ac(12,JV,2,1,"td",18),i.Qb(),i.Ac(13,QV,1,0,"tr",19),i.Ac(14,ZV,1,0,"tr",20),i.Sb()),2&t){const t=i.fc();i.lc("dataSource",t.logData),i.Cb(13),i.lc("matHeaderRowDef",t.columns),i.Cb(1),i.lc("matRowDefColumns",t.columns)}}function ez(t,e){1&t&&(i.Tb(0,"div",30),i.Ob(1,"mat-spinner",31),i.Sb())}let nz=(()=>{class t{constructor(t,e){this.ls=t,this.store=e,this.columns=["created","toEmail","subject","errorMessage"],this.loading=!0,this.logData=[],this.env$=this.store.pipe(bl(vH))}ngOnDestroy(){var t,e;null===(t=this.subscriptionCollection)||void 0===t||t.unsubscribe(),null===(e=this.subscriptionEvironment)||void 0===e||e.unsubscribe()}ngOnInit(){this.subscriptionEvironment=this.env$.subscribe(t=>this.load(t.name))}load(t){var e;null===(e=this.subscriptionCollection)||void 0===e||e.unsubscribe(),this.loading=!0,this.subscriptionCollection=this.ls.emailErrors$(t).subscribe(t=>{this.logData=t,this.loading=!1})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(xH),i.Nb(ml))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-smtp-log"]],decls:11,vars:2,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto","fxLayout","row"],["fxFlex","1 1 auto"],["fxFlex","0 0 100px","fxLayoutAlign","end center"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["fxFlex","1 1 auto","mat-table","",3,"dataSource",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],["fxFlex","1 1 auto","mat-table","",3,"dataSource"],["matColumnDef","created"],["mat-header-cell","",4,"matHeaderCellDef"],["class","text-nowrap","mat-cell","",4,"matCellDef"],["matColumnDef","toEmail"],["mat-header-cell","","fxHide.lt-md","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-md","",4,"matCellDef"],["matColumnDef","subject"],["mat-header-cell","","fxHide.lt-lg","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-lg","",4,"matCellDef"],["matColumnDef","errorMessage"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","data text-danger","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"text-nowrap"],["mat-header-cell","","fxHide.lt-md",""],["mat-cell","","fxHide.lt-md",""],["mat-header-cell","","fxHide.lt-lg",""],["mat-cell","","fxHide.lt-lg",""],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"data","text-danger"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],["color","accent"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"div",2),i.Tb(3,"h2"),i.Bc(4,"SMTP Error Log"),i.Sb(),i.Sb(),i.Tb(5,"div",3),i.Ob(6,"app-log-environments"),i.Sb(),i.Sb(),i.Tb(7,"mat-card",4),i.Tb(8,"mat-card-content"),i.Ac(9,tz,15,3,"table",5),i.Ac(10,ez,2,0,"div",6),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(9),i.lc("ngIf",!e.loading),i.Cb(1),i.lc("ngIf",e.loading))},directives:[Xu,Ou,Nu,sd,zV,Of,Mf,pt,Dv,Rv,Ev,Ov,Bv,Vv,jv,Pv,au,Uv,qv,g_],pipes:[Lt],styles:[""]}),t})(),iz=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(qp),i.Nb($p))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-confirm"]],decls:9,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["mat-dialog-actions","","align","end"],["mat-raised-button","","color","primary","mat-dialog-close","yes"],["mat-raised-button","","cdkFocusInitial","","mat-dialog-close","no","cdkFocusInitial",""]],template:function(t,e){1&t&&(i.Tb(0,"h1",0),i.Bc(1),i.Sb(),i.Tb(2,"div",1),i.Bc(3),i.Sb(),i.Tb(4,"div",2),i.Tb(5,"button",3),i.Bc(6,"Yes"),i.Sb(),i.Tb(7,"button",4),i.Bc(8,"No"),i.Sb(),i.Sb()),2&t&&(i.Cb(1),i.Cc(e.data.title),i.Cb(2),i.Cc(e.data.prompt))},directives:[nb,ib,rb,wf,eb],styles:[""]}),t})();var rz=n("kiQV");let sz=(()=>{class t{constructor(t){this.auth=t,this.version=rz.a,this.year=(new Date).getFullYear()}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(gH))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-footer"]],decls:5,vars:2,consts:[["fxFlex","1 1 auto","fxLayout.xs","column","fxLayout.gt-xs","row","fxLayoutAlign","center center","fxLayoutGap.gt-xs","12px",1,"footer","text-small","text-light"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"span"),i.Bc(2),i.Sb(),i.Tb(3,"span"),i.Bc(4),i.Sb(),i.Sb()),2&t&&(i.Cb(2),i.Dc("EPIC - Version ",e.version,""),i.Cb(2),i.Dc("\xa9 Visit California ",e.year,""))},directives:[Xu,Ou,sd,Nu],styles:[".footer[_ngcontent-%COMP%]{padding-bottom:24px}"]}),t})();function az(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",6),i.Tb(2,"div",7),i.Tb(3,"mat-icon"),i.Bc(4,"schedule"),i.Sb(),i.Sb(),i.Tb(5,"div",8),i.Bc(6,"Date/Time"),i.Sb(),i.Tb(7,"div",9),i.Bc(8),i.gc(9,"date"),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(8),i.Dc(" ",i.ic(9,1,t.data.entry.created||t.data.entry.CreatedOn,"MMM d, yyyy hh:mm a")," ")}}function oz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",6),i.Tb(2,"div",7),i.Tb(3,"mat-icon"),i.Bc(4,"computer"),i.Sb(),i.Sb(),i.Tb(5,"div",8),i.Bc(6,"Environment"),i.Sb(),i.Tb(7,"div",9),i.Bc(8),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(8),i.Cc("staging"===t.data.entry.environment?"development":t.data.entry.environment)}}function lz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",6),i.Tb(2,"div",7),i.Tb(3,"mat-icon"),i.Bc(4,"person"),i.Sb(),i.Sb(),i.Tb(5,"div",8),i.Bc(6,"Partner"),i.Sb(),i.Tb(7,"div",9),i.Bc(8),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(8),i.Dc(" ",(null==t.data.entry.partner?null:t.data.entry.partner.name)||t.data.entry.PartnerName," ")}}function cz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",6),i.Tb(2,"div",7),i.Tb(3,"mat-icon"),i.Bc(4,"code"),i.Sb(),i.Sb(),i.Tb(5,"div",8),i.Bc(6,"Method"),i.Sb(),i.Tb(7,"div",9),i.Bc(8),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(8),i.Cc(t.data.entry.method)}}function uz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",6),i.Tb(2,"div",7),i.Tb(3,"mat-icon"),i.Bc(4,"directions_run"),i.Sb(),i.Sb(),i.Tb(5,"div",8),i.Bc(6,"Action"),i.Sb(),i.Tb(7,"div",9),i.Bc(8),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(8),i.Cc(t.data.entry.Action)}}function dz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",6),i.Tb(2,"div",7),i.Tb(3,"mat-icon"),i.Bc(4,"check"),i.Sb(),i.Sb(),i.Tb(5,"div",8),i.Bc(6,"Status"),i.Sb(),i.Tb(7,"div",9),i.Bc(8),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(8),i.Cc(0===t.data.entry.responseCode?"Success":"Error")}}function hz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",6),i.Tb(2,"div",7),i.Tb(3,"mat-icon"),i.Bc(4,"check"),i.Sb(),i.Sb(),i.Tb(5,"div",8),i.Bc(6,"Status"),i.Sb(),i.Tb(7,"div",9),i.Bc(8),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(8),i.Cc(t.data.entry.Status)}}function fz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",6),i.Tb(2,"div",7),i.Tb(3,"mat-icon"),i.Bc(4,"error_outline"),i.Sb(),i.Sb(),i.Tb(5,"div",8),i.Bc(6,"Error"),i.Sb(),i.Tb(7,"div",9),i.Bc(8),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(8),i.Cc(t.data.entry.errorMessage)}}function mz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",10),i.Bc(2,"JSON Request:"),i.Sb(),i.Tb(3,"pre",11),i.Bc(4),i.gc(5,"json"),i.Sb()),2&t){const t=i.fc();i.Cb(4),i.Cc(i.hc(5,1,t.data.entry.request))}}function pz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",10),i.Bc(2,"JSON Response:"),i.Sb(),i.Tb(3,"pre",11),i.Bc(4),i.gc(5,"json"),i.Sb()),2&t){const t=i.fc();i.Cb(4),i.Cc(i.hc(5,1,t.data.entry.response))}}let bz=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,"zeta-log"===this.data.type&&(this.data.entry.Request&&(this.data.entry.request=JSON.parse(this.data.entry.Request)),this.data.entry.Response&&(this.data.entry.response=JSON.parse(this.data.entry.Response)))}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(qp),i.Nb($p))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-log-entry"]],decls:17,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["fxLayout","column","fxLayoutGap","8px"],[3,"ngIf"],["mat-dialog-actions","","align","end"],["mat-raised-button","","mat-dialog-close","close","cdkFocusInitial",""],["fxFlex","0 0 auto","fxLayout","row","fxLayoutGap","8px",1,"text-light","entry-value"],["fxFlex","0 0 auto"],["fxFlex","1 1 auto","fxLayoutAlign","start start","fxHide.xs",""],["fxFlex","1 1 auto","fxLayoutAlign","end start"],[1,"text-light","text-bold"],[1,"text-light"]],template:function(t,e){1&t&&(i.Tb(0,"h1",0),i.Bc(1,"Log Entry Details"),i.Sb(),i.Tb(2,"div",1),i.Tb(3,"div",2),i.Ac(4,az,10,4,"ng-template",3),i.Ac(5,oz,9,1,"ng-template",3),i.Ac(6,lz,9,1,"ng-template",3),i.Ac(7,cz,9,1,"ng-template",3),i.Ac(8,uz,9,1,"ng-template",3),i.Ac(9,dz,9,1,"ng-template",3),i.Ac(10,hz,9,1,"ng-template",3),i.Ac(11,fz,9,1,"ng-template",3),i.Ac(12,mz,6,3,"ng-template",3),i.Ac(13,pz,6,3,"ng-template",3),i.Sb(),i.Sb(),i.Tb(14,"div",4),i.Tb(15,"button",5),i.Bc(16,"Close"),i.Sb(),i.Sb()),2&t&&(i.Cb(4),i.lc("ngIf",e.data.entry.created||e.data.entry.CreatedOn),i.Cb(1),i.lc("ngIf",e.data.entry.environment),i.Cb(1),i.lc("ngIf",(null==e.data.entry.partner?null:e.data.entry.partner.name)||e.data.entry.PartnerName),i.Cb(1),i.lc("ngIf",e.data.entry.method),i.Cb(1),i.lc("ngIf",e.data.entry.Action),i.Cb(1),i.lc("ngIf",void 0!==e.data.entry.responseCode),i.Cb(1),i.lc("ngIf",e.data.entry.Status),i.Cb(1),i.lc("ngIf",e.data.entry.errorMessage),i.Cb(1),i.lc("ngIf",e.data.entry.request),i.Cb(1),i.lc("ngIf",e.data.entry.response))},directives:[nb,ib,Ou,Nu,pt,rb,wf,eb,_g,Xu,Hg,sd,au],pipes:[Lt,Ot],styles:["pre[_ngcontent-%COMP%]{background:#f8f8f8;font-size:12px;margin:0;max-height:200px;overflow:auto}.entry-value[_ngcontent-%COMP%]{height:20px;overflow-y:hidden}.entry-value[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:20px;height:20px;width:20px}"]}),t})();function gz(t,e){if(1&t&&(i.Tb(0,"mat-option",35),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.lc("value",t.name),i.Cb(1),i.Cc(t.name)}}function _z(t,e){if(1&t&&(i.Tb(0,"mat-select",33),i.Ac(1,gz,2,2,"mat-option",34),i.Sb()),2&t){const t=i.fc(2);i.Cb(1),i.lc("ngForOf",t.countries)}}function yz(t,e){1&t&&i.Ob(0,"input",36),2&t&&i.lc("readonly",!0)}function vz(t,e){1&t&&(i.Tb(0,"th",46),i.Bc(1,"Product"),i.Sb())}function wz(t,e){if(1&t&&(i.Tb(0,"td",47),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.description)}}function Sz(t,e){1&t&&(i.Tb(0,"th",48),i.Bc(1,"Qty"),i.Sb())}function xz(t,e){if(1&t&&(i.Tb(0,"td",49),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.qty))}}function Cz(t,e){1&t&&i.Ob(0,"tr",50)}function kz(t,e){1&t&&i.Ob(0,"tr",51)}function Tz(t,e){if(1&t&&(i.Tb(0,"table",37),i.Rb(1,38),i.Ac(2,vz,2,0,"th",39),i.Ac(3,wz,2,1,"td",40),i.Qb(),i.Rb(4,41),i.Ac(5,Sz,2,0,"th",42),i.Ac(6,xz,3,3,"td",43),i.Qb(),i.Ac(7,Cz,1,0,"tr",44),i.Ac(8,kz,1,0,"tr",45),i.Sb()),2&t){const t=i.fc(2);i.lc("dataSource",t.order.orderItems),i.Cb(7),i.lc("matHeaderRowDef",t.columns),i.Cb(1),i.lc("matRowDefColumns",t.columns)}}function Mz(t,e){1&t&&(i.Tb(0,"th",46),i.Bc(1,"Product"),i.Sb())}function Dz(t,e){if(1&t&&(i.Tb(0,"option",35),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.lc("value",t.sku),i.Cb(1),i.Cc(t.name)}}function Lz(t,e){if(1&t&&(i.Tb(0,"td",47),i.Tb(1,"select",54),i.bc("ngModelChange",function(t){return e.$implicit.productId=t}),i.Tb(2,"option",55),i.Bc(3,"(none)"),i.Sb(),i.Ac(4,Dz,2,2,"option",34),i.Sb(),i.Sb()),2&t){const t=e.$implicit,n=i.fc(3);i.Cb(1),i.lc("ngModel",t.productId),i.Cb(3),i.lc("ngForOf",n.products)}}function Oz(t,e){1&t&&(i.Tb(0,"th",56),i.Bc(1,"Qty"),i.Sb())}function Az(t,e){if(1&t&&(i.Tb(0,"td",57),i.Tb(1,"input",58),i.bc("ngModelChange",function(t){return e.$implicit.qty=t}),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.lc("ngModel",t.qty)}}function Ez(t,e){1&t&&i.Ob(0,"tr",50)}function Iz(t,e){1&t&&i.Ob(0,"tr",51)}function Rz(t,e){if(1&t&&(i.Tb(0,"table",37),i.Rb(1,38),i.Ac(2,Mz,2,0,"th",39),i.Ac(3,Lz,5,2,"td",40),i.Qb(),i.Rb(4,41),i.Ac(5,Oz,2,0,"th",52),i.Ac(6,Az,2,1,"td",53),i.Qb(),i.Ac(7,Ez,1,0,"tr",44),i.Ac(8,Iz,1,0,"tr",45),i.Sb()),2&t){const t=i.fc(2);i.lc("dataSource",t.order.orderItems),i.Cb(7),i.lc("matHeaderRowDef",t.columns),i.Cb(1),i.lc("matRowDefColumns",t.columns)}}function Yz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",61),i.Tb(2,"div",62),i.Tb(3,"mat-icon",63),i.Bc(4,"schedule"),i.Sb(),i.Sb(),i.Tb(5,"div",64),i.Bc(6,"Submitted"),i.Sb(),i.Tb(7,"div",65),i.Bc(8),i.gc(9,"date"),i.Sb(),i.Sb()),2&t){const t=i.fc(3);i.Cb(8),i.Dc(" ",i.ic(9,1,t.data.order.SubmittedOn,"M/d/YYYY hh:mm a")," ")}}function jz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",61),i.Tb(2,"div",62),i.Tb(3,"mat-icon",63),i.Bc(4,"check"),i.Sb(),i.Sb(),i.Tb(5,"div",64),i.Bc(6,"Status"),i.Sb(),i.Tb(7,"div",65),i.Bc(8),i.Sb(),i.Sb()),2&t){const t=i.fc(3);i.Cb(8),i.Dc(" ",t.data.order.StatusText," ")}}function Nz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",61),i.Tb(2,"div",62),i.Tb(3,"mat-icon",63),i.Bc(4,"local_shipping"),i.Sb(),i.Sb(),i.Tb(5,"div",64),i.Bc(6,"Shipper"),i.Sb(),i.Tb(7,"div",65),i.Bc(8),i.Sb(),i.Sb()),2&t){const t=i.fc(3);i.Cb(8),i.Dc(" ",t.data.order.Shipper," ")}}function Pz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",61),i.Tb(2,"div",62),i.Tb(3,"mat-icon",63),i.Bc(4,"tag"),i.Sb(),i.Sb(),i.Tb(5,"div",64),i.Bc(6,"Tracking #"),i.Sb(),i.Tb(7,"div",65),i.Bc(8),i.Sb(),i.Sb()),2&t){const t=i.fc(3);i.Cb(8),i.Dc(" ",t.data.order.TrackingNumber," ")}}function Fz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",61),i.Tb(2,"div",62),i.Tb(3,"mat-icon",63),i.Bc(4,"report"),i.Sb(),i.Sb(),i.Tb(5,"div",64),i.Bc(6,"Suspended Reason"),i.Sb(),i.Tb(7,"div",65),i.Bc(8),i.Sb(),i.Sb()),2&t){const t=i.fc(3);i.Cb(8),i.Cc(t.data.order.Reason)}}function Bz(t,e){if(1&t&&(i.Ob(0,"mat-divider"),i.Tb(1,"div",61),i.Tb(2,"div",62),i.Tb(3,"mat-icon",63),i.Bc(4,"directions_run"),i.Sb(),i.Sb(),i.Tb(5,"div",64),i.Bc(6,"Action"),i.Sb(),i.Tb(7,"div",65),i.Bc(8),i.gc(9,"date"),i.Sb(),i.Sb()),2&t){const t=i.fc(3);i.Cb(8),i.Ec(" ",t.data.order.ActionTaken," on ",i.ic(9,2,t.data.order.ActionDate,"M/d/YYYY")," ")}}function Hz(t,e){if(1&t&&(i.Tb(0,"div",30),i.Tb(1,"h3"),i.Bc(2,"Other Info:"),i.Sb(),i.Tb(3,"div",59),i.Ac(4,Yz,10,4,"ng-template",60),i.Ac(5,jz,9,1,"ng-template",60),i.Ac(6,Nz,9,1,"ng-template",60),i.Ac(7,Pz,9,1,"ng-template",60),i.Ac(8,Fz,9,1,"ng-template",60),i.Ac(9,Bz,10,5,"ng-template",60),i.Sb(),i.Sb()),2&t){const t=i.fc(2);i.Cb(4),i.lc("ngIf",t.data.order.SubmittedOn),i.Cb(1),i.lc("ngIf",t.data.order.StatusText),i.Cb(1),i.lc("ngIf",t.data.order.Shipper),i.Cb(1),i.lc("ngIf",t.data.order.TrackingNumber),i.Cb(1),i.lc("ngIf",t.data.order.Reason),i.Cb(1),i.lc("ngIf",t.data.order.ActionTaken)}}const Vz=function(){return["edit","suspended"]};function zz(t,e){if(1&t&&(i.Tb(0,"div",7),i.Tb(1,"div",8),i.Tb(2,"h3"),i.Bc(3,"Shipping Info:"),i.Sb(),i.Tb(4,"div",9),i.Tb(5,"mat-form-field",10),i.Tb(6,"mat-label"),i.Bc(7,"First Name"),i.Sb(),i.Ob(8,"input",11),i.Sb(),i.Tb(9,"mat-form-field",10),i.Tb(10,"mat-label"),i.Bc(11,"Last Name"),i.Sb(),i.Ob(12,"input",12),i.Sb(),i.Sb(),i.Tb(13,"mat-form-field",10),i.Tb(14,"mat-label"),i.Bc(15,"Company"),i.Sb(),i.Ob(16,"input",13),i.Sb(),i.Tb(17,"div",9),i.Tb(18,"mat-form-field",14),i.Tb(19,"mat-label"),i.Bc(20,"Email"),i.Sb(),i.Ob(21,"input",15),i.Sb(),i.Tb(22,"mat-form-field",16),i.Tb(23,"mat-label"),i.Bc(24,"Phone"),i.Sb(),i.Ob(25,"input",17),i.Sb(),i.Sb(),i.Tb(26,"mat-form-field",10),i.Tb(27,"mat-label"),i.Bc(28,"Address 1"),i.Sb(),i.Ob(29,"input",18),i.Sb(),i.Tb(30,"mat-form-field",10),i.Tb(31,"mat-label"),i.Bc(32,"Address 2"),i.Sb(),i.Ob(33,"input",19),i.Sb(),i.Tb(34,"div",9),i.Tb(35,"mat-form-field",20),i.Tb(36,"mat-label"),i.Bc(37,"City"),i.Sb(),i.Ob(38,"input",21),i.Sb(),i.Tb(39,"mat-form-field",22),i.Tb(40,"mat-label"),i.Bc(41,"State/Province"),i.Sb(),i.Ob(42,"input",23),i.Sb(),i.Tb(43,"mat-form-field",24),i.Tb(44,"mat-label"),i.Bc(45,"Postal "),i.Ob(46,"Code"),i.Sb(),i.Ob(47,"input",25),i.Sb(),i.Sb(),i.Tb(48,"mat-form-field",10),i.Tb(49,"mat-label"),i.Bc(50,"Country"),i.Sb(),i.Ac(51,_z,2,1,"mat-select",26),i.Ac(52,yz,1,1,"input",27),i.Sb(),i.Sb(),i.Ob(53,"mat-divider",28),i.Tb(54,"div",29),i.Tb(55,"div",30),i.Tb(56,"h3"),i.Bc(57,"Order Detail:"),i.Sb(),i.Ac(58,Tz,9,3,"table",31),i.Ac(59,Rz,9,3,"table",31),i.Sb(),i.Ac(60,Hz,10,6,"div",32),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(1),i.lc("formGroup",t.form),i.Cb(7),i.lc("readonly",t.readOnly),i.Cb(4),i.lc("readonly",t.readOnly),i.Cb(4),i.lc("readonly",t.readOnly),i.Cb(5),i.lc("readonly",t.readOnly||"edit"===t.data.mode),i.Cb(4),i.lc("readonly",t.readOnly),i.Cb(4),i.lc("readonly",t.readOnly),i.Cb(4),i.lc("readonly",t.readOnly),i.Cb(5),i.lc("readonly",t.readOnly),i.Cb(4),i.lc("readonly",t.readOnly),i.Cb(5),i.lc("readonly",t.readOnly),i.Cb(4),i.lc("ngIf",!t.readOnly),i.Cb(1),i.lc("ngIf",t.readOnly),i.Cb(1),i.lc("vertical",!0),i.Cb(5),i.lc("ngIf","view"===t.data.mode&&(null==t.order||null==t.order.orderItems?null:t.order.orderItems.length)),i.Cb(1),i.lc("ngIf",i.nc(17,Vz).indexOf(t.data.mode)>=0&&(null==t.order||null==t.order.orderItems?null:t.order.orderItems.length)),i.Cb(1),i.lc("ngIf","edit"!==t.data.mode)}}function Uz(t,e){1&t&&(i.Tb(0,"div",66),i.Ob(1,"mat-spinner",67),i.Sb())}function Wz(t,e){if(1&t&&(i.Tb(0,"div",66),i.Tb(1,"span",68),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.errorMessage)}}function qz(t,e){if(1&t){const t=i.Ub();i.Tb(0,"button",69),i.bc("click",function(){return i.sc(t),i.fc().save()}),i.Tb(1,"span",70),i.Bc(2,"Save Changes"),i.Sb(),i.Tb(3,"span",71),i.Bc(4,"Save"),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.lc("disabled",t.disableButtons)}}function Gz(t,e){if(1&t){const t=i.Ub();i.Tb(0,"button",69),i.bc("click",function(){return i.sc(t),i.fc().transmit()}),i.Tb(1,"span",70),i.Bc(2,"Re-Transmit Order"),i.Sb(),i.Tb(3,"span",71),i.Bc(4,"Re-Transmit"),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.lc("disabled",t.disableButtons)}}function $z(t,e){if(1&t){const t=i.Ub();i.Tb(0,"button",69),i.bc("click",function(){return i.sc(t),i.fc().resubmit()}),i.Tb(1,"span",70),i.Bc(2,"Resubmit Order"),i.Sb(),i.Tb(3,"span",71),i.Bc(4,"Resubmit"),i.Sb(),i.Sb()}if(2&t){const t=i.fc();i.lc("disabled",t.disableButtons)}}let Xz=(()=>{class t{constructor(t,e,n,i){this.prodService=t,this.snackBar=e,this.dialogRef=n,this.data=i,this.columns=["description","qty"],this.countries=kH.sort((t,e)=>t.name>e.name?1:t.namet.name>e.name?1:t.name=0)for(;this.order.orderItems.length<5;)this.order.orderItems.push({description:"",productId:"",qty:""});this.setupForm()}else this.errorMessage=t.error;this.loading=!1})}save(){var t,e,n,i,r,s,a,o,l,c,u;return kT(this,void 0,void 0,function*(){if(this.form.markAllAsTouched(),this.form.valid){this.disableButtons=!0;const d={orderNumber:this.data.order.OrderNumber,firstName:null===(t=this.form.get("firstName"))||void 0===t?void 0:t.value,lastName:null===(e=this.form.get("lastName"))||void 0===e?void 0:e.value,email:null===(n=this.form.get("email"))||void 0===n?void 0:n.value,phone:null===(i=this.form.get("phone"))||void 0===i?void 0:i.value,company:null===(r=this.form.get("company"))||void 0===r?void 0:r.value,address1:null===(s=this.form.get("address1"))||void 0===s?void 0:s.value,address2:null===(a=this.form.get("address2"))||void 0===a?void 0:a.value,city:null===(o=this.form.get("city"))||void 0===o?void 0:o.value,stateProvince:null===(l=this.form.get("stateProvince"))||void 0===l?void 0:l.value,postalCode:null===(c=this.form.get("postalCode"))||void 0===c?void 0:c.value,country:null===(u=this.form.get("country"))||void 0===u?void 0:u.value,orderItems:[]};this.order.orderItems.forEach(t=>{t.productId&&""!==t.productId&&t.qty&&""!==t.qty&&!isNaN(t.qty)&&d.orderItems.push({productId:t.productId,qty:parseInt(t.qty,10)})});const h=yield this.prodService.updateOrder(d);h.success?this.dialogRef.close({action:"save",order:d}):(this.snackBar.open(h.error||"Unable to update order.",void 0,{duration:4e3,panelClass:"snack-bar-error"}),this.disableButtons=!1)}})}setupForm(){switch(this.data.mode){case"edit":case"suspended":this.readOnly=!1}}resubmit(){var t,e,n,i,r,s,a,o,l,c,u;return kT(this,void 0,void 0,function*(){if(this.form.markAllAsTouched(),this.form.valid){this.disableButtons=!0;const d=(null===(t=kH.find(t=>{var e;return t.name===(null===(e=this.form.get("country"))||void 0===e?void 0:e.value)}))||void 0===t?void 0:t.code)||"US",h={firstName:null===(e=this.form.get("firstName"))||void 0===e?void 0:e.value,lastName:null===(n=this.form.get("lastName"))||void 0===n?void 0:n.value,email:null===(i=this.form.get("email"))||void 0===i?void 0:i.value,phone:null===(r=this.form.get("phone"))||void 0===r?void 0:r.value,company:null===(s=this.form.get("company"))||void 0===s?void 0:s.value,address1:null===(a=this.form.get("address1"))||void 0===a?void 0:a.value,address2:null===(o=this.form.get("address2"))||void 0===o?void 0:o.value,city:null===(l=this.form.get("city"))||void 0===l?void 0:l.value,stateProvince:null===(c=this.form.get("stateProvince"))||void 0===c?void 0:c.value,postalCode:null===(u=this.form.get("postalCode"))||void 0===u?void 0:u.value,country:d,campaignCode:"Resubmitted",orderItems:[],questions:[],optIn:[],resubmitId:this.data.order.OrderNumber};this.order.orderItems.forEach(t=>{t.productId&&""!==t.productId&&t.qty&&""!==t.qty&&!isNaN(t.qty)&&h.orderItems.push({productId:t.productId,qty:parseInt(t.qty,10)})}),yield this.prodService.submit(h),this.dialogRef.close({action:"resubmit",order:h})}})}transmit(){return kT(this,void 0,void 0,function*(){if(this.form.markAllAsTouched(),this.form.valid){this.disableButtons=!0;const t=yield this.prodService.tramsmitOrder(this.data.order.OrderNumber);t.success?(this.order.StatusName=this.data.order.StatusName="Re-Transmitted",this.order.StatusText=this.data.order.StatusText="",this.snackBar.open(t.error||"Order was re-transmitted.",void 0,{duration:4e3,panelClass:"snack-bar-success"})):this.snackBar.open(t.error||"Unable to transmit order.",void 0,{duration:4e3,panelClass:"snack-bar-error"}),this.disableButtons=!1}})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(LH),i.Nb(Vy),i.Nb(qp),i.Nb($p))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-order"]],decls:12,vars:8,consts:[["mat-dialog-title",""],["mat-dialog-content","","fxLayout","column"],["fxFlex","1 1 auto","fxLayout.gt-xs","row","fxLayout.xs","column","fxLayoutGap.gt-xs","12px",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],["mat-dialog-actions","","align","end"],["mat-raised-button","","color","primary",3,"disabled","click",4,"ngIf"],["mat-raised-button","","cdkFocusInitial","","mat-dialog-close","close","cdkFocusInitial","",3,"disabled"],["fxFlex","1 1 auto","fxLayout.gt-xs","row","fxLayout.xs","column","fxLayoutGap.gt-xs","12px"],["fxFlex.xs","1 1 auto","fxFlex.gt-xs","0 0 50","fxLayout","column",3,"formGroup"],["fxFlex","1 1 auto","fxLayout.gt-sm","row","fxLayout.lt-md","column","fxLayoutGap.gt-sm","12px"],["appearance","fill","fxFlex","1 1 auto"],["matInput","","autocomplete","off","formControlName","firstName","type","text",3,"readonly"],["matInput","","autocomplete","off","formControlName","lastName","type","text",3,"readonly"],["matInput","","autocomplete","off","formControlName","company","type","text",3,"readonly"],["appearance","fill","fxFlex.gt-sm","1 1 60","fxFlex.lt-md","1 1 auto"],["matInput","","autocomplete","off","formControlName","email","type","text",3,"readonly"],["appearance","fill","fxFlex.gt-sm","1 1 40","fxFlex.lt-md","1 1 auto"],["matInput","","autocomplete","off","formControlName","phone","type","text",3,"readonly"],["matInput","","autocomplete","off","formControlName","address1","type","text",3,"readonly"],["matInput","","autocomplete","off","formControlName","address2","type","text",3,"readonly"],["appearance","fill","fxFlex.lt-md","1 1 auto","fxFlex.gt-sm","1 1 45"],["matInput","","autocomplete","off","formControlName","city","type","text",3,"readonly"],["appearance","fill","fxFlex.lt-md","1 1 auto","fxFlex.gt-sm","1 1 25"],["matInput","","autocomplete","off","formControlName","stateProvince","type","text",3,"readonly"],["appearance","fill","fxFlex.lt-md","1 1 auto","fxFlex.gt-sm","1 1 30"],["matInput","","autocomplete","off","formControlName","postalCode","type","text",3,"readonly"],["formControlName","country",4,"ngIf"],["matInput","","autocomplete","off","formControlName","country","type","text",3,"readonly",4,"ngIf"],["fxFlex","0 0 auto",3,"vertical"],["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto","fxLayout","column"],["fxFlex","0 0 auto","mat-table","",3,"dataSource",4,"ngIf"],["fxFlex","0 0 auto","fxLayout","column",4,"ngIf"],["formControlName","country"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["matInput","","autocomplete","off","formControlName","country","type","text",3,"readonly"],["fxFlex","0 0 auto","mat-table","",3,"dataSource"],["matColumnDef","description"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","qty"],["class","text-right","mat-header-cell","",4,"matHeaderCellDef"],["class","text-right","mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","data","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-cell","",1,"text-right"],["mat-cell","",1,"text-right"],["mat-header-row",""],["mat-row","",1,"data"],["class","col-qty","mat-header-cell","",4,"matHeaderCellDef"],["class","col-qty","mat-cell","",4,"matCellDef"],[1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["value",""],["mat-header-cell","",1,"col-qty"],["mat-cell","",1,"col-qty"],["type","text",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["fxLayout","column","fxLayoutGap","8px"],[3,"ngIf"],["fxFlex","0 0 auto","fxLayout","row","fxLayoutGap","8px",1,"text-light","info-value"],["fxFlex","0 0 auto"],[1,"material-icons-outlined"],["fxFlex","1 1 auto","fxLayoutAlign","start start","fxHide.xs",""],["fxFlex","1 1 auto","fxLayoutAlign","end start"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],["color","accent"],[1,"error"],["mat-raised-button","","color","primary",3,"disabled","click"],["fxHide.xs",""],["fxHide.gt-xs",""]],template:function(t,e){1&t&&(i.Tb(0,"h1",0),i.Bc(1),i.Sb(),i.Tb(2,"div",1),i.Ac(3,zz,61,18,"div",2),i.Ac(4,Uz,2,0,"div",3),i.Ac(5,Wz,3,1,"div",3),i.Sb(),i.Tb(6,"div",4),i.Ac(7,qz,5,1,"button",5),i.Ac(8,Gz,5,1,"button",5),i.Ac(9,$z,5,1,"button",5),i.Tb(10,"button",6),i.Bc(11,"Close"),i.Sb(),i.Sb()),2&t&&(i.Cb(1),i.Dc("Order #",e.data.order.OrderNumber,""),i.Cb(2),i.lc("ngIf",e.order),i.Cb(1),i.lc("ngIf",e.loading),i.Cb(1),i.lc("ngIf",e.errorMessage),i.Cb(2),i.lc("ngIf","edit"===e.data.mode),i.Cb(1),i.lc("ngIf","view"===e.data.mode&&"Error"===e.data.order.StatusName),i.Cb(1),i.lc("ngIf","suspended"===e.data.mode),i.Cb(1),i.lc("disabled",e.disableButtons))},directives:[nb,ib,Ou,pt,rb,wf,eb,Xu,Nu,Ss,ga,Lm,ym,pb,Zr,ws,ya,_g,ey,ft,ff,Dv,Rv,Ev,Ov,Bv,Vv,jv,Pv,Uv,qv,Es,ma,Is,Ns,Hg,sd,au,g_],pipes:[At,Lt],styles:[".col-qty[_ngcontent-%COMP%]{padding-left:12px;width:75px}.info-value[_ngcontent-%COMP%]{font-size:12px;height:20px;overflow-y:hidden}.info-value[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:20px;height:20px;width:20px}"]}),t})();function Kz(t,e){1&t&&(i.ec(),i.Tb(0,"svg",1),i.Tb(1,"title"),i.Bc(2,"Visit California"),i.Sb(),i.Tb(3,"g",2),i.Ob(4,"path",3),i.Sb(),i.Tb(5,"g",2),i.Ob(6,"path",4),i.Sb(),i.Ob(7,"path",5),i.Sb())}function Jz(t,e){1&t&&(i.ec(),i.Tb(0,"svg",1),i.Tb(1,"title"),i.Bc(2,"Visit California"),i.Sb(),i.Tb(3,"g",6),i.Ob(4,"path",3),i.Sb(),i.Tb(5,"g",7),i.Ob(6,"path",4),i.Sb(),i.Ob(7,"path",5),i.Sb())}let Qz=(()=>{class t{constructor(){this.color=!1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Hb({type:t,selectors:[["app-vca-logo"]],inputs:{color:"color"},decls:2,vars:2,consts:[["viewBox","0 0 202 63.157",4,"ngIf"],["viewBox","0 0 202 63.157"],["fill","#fff"],["d","M30.7 36.868a3.318 3.318 0 0 0-2.341 1.376 9.625 9.625 0 0 1-7.389 3.418c-5.361 0-9.56-4.456-9.56-10.144a10.032 10.032 0 0 1 9.849-10.183 9.094 9.094 0 0 1 6.388 2.654 3.717 3.717 0 0 0 2.4 1.243 2.261 2.261 0 0 0 2.388-2.482c0-2.135-5.173-6.488-11.176-6.488A15.093 15.093 0 0 0 6.377 31.518a15.5 15.5 0 0 0 4.276 10.754c3.055 1.307 15.089 2.09 18.18 2.084 2.557-1.614 4.215-3.684 4.215-5.008a2.391 2.391 0 0 0-2.353-2.48M169.957 23.515a2.447 2.447 0 0 0-1.618-.581 2.4 2.4 0 0 0-1.544.541 2.691 2.691 0 0 0-.891 1.644 6.288 6.288 0 0 0-.08 1.113v16.742l1.082-.038c.133 0 .26-.009.386-.014l.65-.024c.46-.014.92-.028 1.37-.047l.419.415 1.194-.052V26.165a4.644 4.644 0 0 0-.217-1.509 2.607 2.607 0 0 0-.752-1.141M168.585 15.236a2.8 2.8 0 1 0 0 5.6h.01a2.8 2.8 0 1 0-.01-5.6M195.832 29.815c-.406-1.636-1.125-3.756-2.222-4.55a12.017 12.017 0 0 0-7.423-2.193 24.69 24.69 0 0 0-6.239.856 11.242 11.242 0 0 0-2.5.97 3.993 3.993 0 0 0-.984.753 2.2 2.2 0 0 0-.618 1.5 2.656 2.656 0 0 0 .537 1.614 2.343 2.343 0 0 0 1.866.922 7.3 7.3 0 0 0 2.2-.475l.16-.05a16.359 16.359 0 0 1 5.573-.969 8.464 8.464 0 0 1 2.79.39 4.4 4.4 0 0 1 1.323.721 1.506 1.506 0 0 1 .589.916 20.526 20.526 0 0 1 .112 2.4 14.563 14.563 0 0 0-6.76-1.686 12.29 12.29 0 0 0-7.654 2.436 8.263 8.263 0 0 0-3.2 6.04l-.038.64 1.141.077c.141.012.278.02.413.028l1.981.15 1.55.122.051-.651a3.431 3.431 0 0 1 1.488-2.447 7.041 7.041 0 0 1 4.227-1.273 12.2 12.2 0 0 1 6.809 2.359v3.226l1.569.179q1.118.131 2.127.258l1.42.179-.01-8.857a14.9 14.9 0 0 0-.28-3.593M160.277 26.973l-.092-.113a8.437 8.437 0 0 0-2.749-2.133 11.068 11.068 0 0 0-4.839-.95 18.266 18.266 0 0 0-8.353 2.131 5.142 5.142 0 0 0-.394-.6 3.742 3.742 0 0 0-.919-.873 2.459 2.459 0 0 0-1.35-.424 2.546 2.546 0 0 0-1.63.642 2.494 2.494 0 0 0-.847 1.852 2.8 2.8 0 0 0 .191.978c.06.166.132.333.21.517l.42 1.044a15.608 15.608 0 0 1 .263 3.922V39.1l.616-.009c.157 0 .313-.006.47-.008h.4c.42 0 .844-.008 1.271-.009l.842-.006h1.5v-7.556a14.938 14.938 0 0 1 3.109-1.7 11.616 11.616 0 0 1 4.246-.714 6.5 6.5 0 0 1 2.267.338 3.763 3.763 0 0 1 1.464.964 2.689 2.689 0 0 1 .652 1.464 15.554 15.554 0 0 1 .125 2.524v4.872l1.515.044c.711.026 1.419.052 2.122.083l1.467.064v-5.066a18.9 18.9 0 0 0-.277-4.019 7.626 7.626 0 0 0-1.7-3.39M136.283 25.845l-.129-.2-.236-.2a9.418 9.418 0 0 0-5.518-1.805 10.549 10.549 0 0 0-6.488 2.5 8.76 8.76 0 0 0-.349-.527 5.423 5.423 0 0 0-1.017-1.1 2.693 2.693 0 0 0-1.671-.632 2.6 2.6 0 0 0-1.954.844 2.573 2.573 0 0 0-.656 1.707 3.069 3.069 0 0 0 .345 1.42 5.726 5.726 0 0 0 .542.845 4.918 4.918 0 0 1 .689 1.224 7.463 7.463 0 0 1 .366 2.55v7.354l1.457-.094c.7-.042 1.411-.083 2.12-.119l.421-.024.523-.026.577-.027v-7.5A10.775 10.775 0 0 1 127.39 30a5.037 5.037 0 0 1 3.011-1 5.462 5.462 0 0 1 1.183.141 3.633 3.633 0 0 1 1.489.686l.34.28.468.05c.033 0 .115.009.232.009a2.973 2.973 0 0 0 1-.169 2.509 2.509 0 0 0 1.341-1.11 2.583 2.583 0 0 0 .341-1.309 3.19 3.19 0 0 0-.252-1.221 3.479 3.479 0 0 0-.261-.51M113.216 27.074a15.3 15.3 0 0 0-19.359 0 11.859 11.859 0 0 0-3.952 8.979 12.053 12.053 0 0 0 1.428 5.747l.084.154 1.2-.1q1.188-.094 2.361-.193l2.555-.213-1.023-1.22a6.323 6.323 0 0 1-1.5-4.174 6.467 6.467 0 0 1 2.29-5.015 10.354 10.354 0 0 1 12.468 0 6.565 6.565 0 0 1 1.561 8l-.678 1.3 5.913-.443.071-.232a12.429 12.429 0 0 0 .529-3.615 11.86 11.86 0 0 0-3.95-8.98M91.043 21.705a2.588 2.588 0 0 0 .875-.886 2.406 2.406 0 0 0 .362-1.234 2.452 2.452 0 0 0-.534-1.544 3.4 3.4 0 0 0-1.866-1.111 9.364 9.364 0 0 0-2.35-.25 10.182 10.182 0 0 0-4.434 1 7.714 7.714 0 0 0-2.479 1.838l-.294.358-.048.079v.006a6.778 6.778 0 0 0-1.163 2.493 18.153 18.153 0 0 0-.34 4.183v15.972l1.076-.059c.129-.006.254-.014.377-.022.473-.028.936-.055 1.4-.086l2.144-.136v-9.08h2.1a2.644 2.644 0 0 0 1.805-.678 2.473 2.473 0 0 0 .8-1.841 2.7 2.7 0 0 0-.164-.949 2.273 2.273 0 0 0-1.065-1.212 2.876 2.876 0 0 0-1.38-.316h-2.1v-1.59a14.752 14.752 0 0 1 .182-2.879 2.041 2.041 0 0 1 .574-1.149 4.781 4.781 0 0 1 3.135-.938 3.431 3.431 0 0 1 1.023.113l1.1.213.2.013a2.033 2.033 0 0 0 1.066-.307M72.37 15.236a2.8 2.8 0 1 0 0 5.6h.012a2.8 2.8 0 1 0-.017-5.6M73.959 23.515a2.438 2.438 0 0 0-1.617-.581 2.393 2.393 0 0 0-1.544.541 2.7 2.7 0 0 0-.891 1.644 6.193 6.193 0 0 0-.079 1.113V43.84l1.08-.036c.133 0 .261-.009.387-.014l.65-.022c.493-.016.986-.033 1.465-.053l1.519-.067V26.165a4.658 4.658 0 0 0-.218-1.509 2.608 2.608 0 0 0-.752-1.141M66 13.83a5.787 5.787 0 0 0-.183-1.588 2.808 2.808 0 0 0-.645-1.171 2.314 2.314 0 0 0-3.283-.042 2.957 2.957 0 0 0-.764 1.677 7.835 7.835 0 0 0-.067 1.171V59.69a5.851 5.851 0 0 0 .186 1.592 2.8 2.8 0 0 0 .644 1.171 2.314 2.314 0 0 0 3.283.042 2.958 2.958 0 0 0 .764-1.679A7.8 7.8 0 0 0 66 59.647V27.7zM57.746 33.453a27.44 27.44 0 0 0-.282-4.853 5.469 5.469 0 0 0-2.223-3.228 12.066 12.066 0 0 0-7.421-2.18 24.941 24.941 0 0 0-6.239.852 11.3 11.3 0 0 0-2.5.963 3.982 3.982 0 0 0-.985.75 2.2 2.2 0 0 0-.619 1.5 2.615 2.615 0 0 0 .537 1.6 2.352 2.352 0 0 0 1.867.916 7.288 7.288 0 0 0 2.168-.459l.186-.061a16.482 16.482 0 0 1 5.581-.965 8.667 8.667 0 0 1 2.788.387 4.453 4.453 0 0 1 1.325.715 1.5 1.5 0 0 1 .593.908 21.49 21.49 0 0 1 .11 2.4 14.641 14.641 0 0 0-6.759-1.678 12.345 12.345 0 0 0-7.656 2.419A8.142 8.142 0 0 0 35 39.927a8.048 8.048 0 0 0 .36 2.392l.106.343.794.039 2.125.1.2.008c.856.039 1.718.07 2.58.1l.443.016-1.008-1.401a2.529 2.529 0 0 1-.5-1.5 3.364 3.364 0 0 1 1.5-2.65 7.091 7.091 0 0 1 4.232-1.265 11.965 11.965 0 0 1 6.642 2.244l.168.1V43.2h.357c.709.008 1.432.012 2.159.016h2.645l-.052-2.406z"],["d","M104.907 20.056h-.216a2.5 2.5 0 0 1-2.312-1.775L97.971 8.092a2.718 2.718 0 0 1-.215-.995 2.006 2.006 0 0 1 1.99-1.909 1.973 1.973 0 0 1 1.99 1.451l3.09 8.361 3.145-8.414a1.981 1.981 0 0 1 1.909-1.4 1.933 1.933 0 0 1 1.962 1.935 2.885 2.885 0 0 1-.215.968l-4.407 10.192a2.541 2.541 0 0 1-2.313 1.775M114.451 1.909a2.322 2.322 0 0 1 4.571 0v.053a2.317 2.317 0 0 1-4.571 0zm.243 5.323a2.043 2.043 0 1 1 4.086 0v10.646a2.043 2.043 0 1 1-4.086 0zM122.355 18.389a1.627 1.627 0 0 1-.78-1.4 1.585 1.585 0 0 1 1.614-1.614 1.568 1.568 0 0 1 .806.215 7.583 7.583 0 0 0 3.9 1.29c1.182 0 1.72-.43 1.72-1.075v-.053c0-.888-1.4-1.183-2.984-1.667-2.017-.591-4.3-1.532-4.3-4.328v-.052c0-2.93 2.366-4.57 5.27-4.57a10.125 10.125 0 0 1 4.462 1.1 1.665 1.665 0 0 1 .968 1.533 1.607 1.607 0 0 1-1.64 1.612 1.489 1.489 0 0 1-.753-.188 7.689 7.689 0 0 0-3.119-.915c-.994 0-1.505.431-1.505 1v.053c0 .806 1.372 1.183 2.931 1.721 2.016.671 4.355 1.64 4.355 4.274v.054c0 3.2-2.392 4.651-5.511 4.651a10.039 10.039 0 0 1-5.431-1.64M136.174 1.909a2.322 2.322 0 0 1 4.571 0v.053a2.317 2.317 0 0 1-4.571 0zm.243 5.323a2.043 2.043 0 1 1 4.086 0v10.646a2.043 2.043 0 1 1-4.086 0zM145.637 15.674V8.845h-.137a1.747 1.747 0 1 1 0-3.495h.135v-1.8a2.043 2.043 0 1 1 4.086 0v1.8h1.8a1.747 1.747 0 1 1 0 3.495h-1.8V15c0 .941.4 1.4 1.318 1.4.135 0 .4-.027.483-.027a1.7 1.7 0 0 1 1.695 1.693 1.663 1.663 0 0 1-1.047 1.534 6.034 6.034 0 0 1-2.339.4c-2.5 0-4.194-1-4.194-4.328"],["d","M201.645 43.908l-.034-.036a2.38 2.38 0 0 0-1.2-.742 3.786 3.786 0 0 0-.694-.133c-.111-.018-2.605-.429-6.932-.978-.268-.036-.542-.069-.823-.105l-.353-.042q-1.008-.127-2.129-.255l-.452-.053c-.305-.036-.616-.069-.924-.106-4.158-.47-8.518-.889-12.99-1.248-.269-.022-.535-.044-.806-.064l-.529-.04c-.648-.05-1.3-.1-1.979-.15-.138-.006-.275-.017-.416-.027-.3-.02-.619-.04-.925-.063q-1.382-.094-2.81-.185l-.844-.052-2.932-.169-.9-.044a744.232 744.232 0 0 0-4.26-.2l-.856-.036h-.1l-.293-.009c-.7-.028-1.407-.053-2.118-.079l-.42-.011c-.294-.011-.59-.017-.887-.025a412.464 412.464 0 0 0-12.3-.194h-2.121c-.428 0-.854.006-1.271.011h-.4l-.871.012c-4.86.058-9.674.2-14.645.451-.3.014-.595.025-.9.041l-.419.022c-.711.036-1.425.073-2.123.114l-.378.022-.849.05q-1.564.094-3.1.2c-.443.03-.888.058-1.327.089l-.127.01c-.161.009-.321.022-.487.031l-2.7.2c-.248.017-.494.038-.741.057-3.2.241-6.347.5-9.392.75l-.152.012c-1.448.121-2.911.238-4.381.356l-1.941.156-.2.013c-.784.064-1.569.125-2.361.185l-.838.064-.224.017c-2.022.15-3.757.272-5.386.379-.316.02-.628.042-.937.061l-1 .061a263.714 263.714 0 0 1-1.775.106c-.287.019-.566.033-.849.048-1.622.093-3.183.169-4.72.238l-.893.039-.42.017c-.478.02-.97.038-1.463.052l-.65.023c-.127.006-.254.011-.385.014l-.858.03a340.483 340.483 0 0 1-5.562.149l-.412.008q-.728.014-1.473.02l-.472.008h-.4l-.868.008c-1.073.009-2.158.016-3.267.016H55.58c-.726 0-1.448-.008-2.157-.014H53.015a427.391 427.391 0 0 1-11.416-.282l-2.578-.1-.2-.008c-.831-.039-1.653-.08-2.46-.121l-.307-.014-.347-.019c-.982-.05-1.943-.1-2.887-.161-.236-.016-.474-.028-.705-.042l-.234-.014c-.164-.009-.327-.02-.492-.031l-.521-.034A542.083 542.083 0 0 1 28.423 42c-.59-.042-1.171-.089-1.756-.135-3.6-.274-7.113-.595-10.48-.955-.446-.047-.9-.092-1.345-.142l-.19-.02c-.907-.1-1.77-.2-2.572-.3l-.66-.08a577.824 577.824 0 0 1-8.078-1.044l-.642-.095a3 3 0 0 0-.781-.106 2.04 2.04 0 0 0-1.168.335 1.715 1.715 0 0 0-.487.509 1.89 1.89 0 0 0-.264.882v.122a1.784 1.784 0 0 0 .444 1.191 2.728 2.728 0 0 0 1.184.745 4.384 4.384 0 0 0 .447.123l.145.03.121.02c.629.105 2 .321 4.083.606A386.954 386.954 0 0 0 57.68 46.9c7.39 0 14.655-.208 22.175-.628l.9-.048.949-.057q.749-.042 1.49-.089l.374-.026c.285-.017.564-.036.846-.055 5.433-.356 10.551-.778 15.5-1.188l.212-.017c12.235-1 24.887-2.046 41.466-2.046a393.6 393.6 0 0 1 57.757 4.107 1.758 1.758 0 0 0 .2.044 2.489 2.489 0 0 0 .451.041 2.1 2.1 0 0 0 1.089-.288 1.905 1.905 0 0 0 .871-1.337 2 2 0 0 0 .028-.327 1.761 1.761 0 0 0-.355-1.071","fill","#ffd100"],["fill","#005c90"],["fill","#f68b33"]],template:function(t,e){1&t&&(i.Ac(0,Kz,8,0,"svg",0),i.Ac(1,Jz,8,0,"svg",0)),2&t&&(i.lc("ngIf",!e.color),i.Cb(1),i.lc("ngIf",e.color))},directives:[pt],styles:["svg[_ngcontent-%COMP%]{height:100%}"]}),t})();function Zz(t,e){1&t&&(i.Tb(0,"th",28),i.Bc(1,"ID"),i.Sb())}function tU(t,e){if(1&t&&(i.Tb(0,"td",29),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.ID)}}function eU(t,e){1&t&&(i.Tb(0,"th",28),i.Bc(1,"Email"),i.Sb())}function nU(t,e){if(1&t&&(i.Tb(0,"td",29),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.Email)}}function iU(t,e){1&t&&(i.Tb(0,"th",30),i.Bc(1,"Partner"),i.Sb())}function rU(t,e){if(1&t&&(i.Tb(0,"td",31),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.PartnerName)}}function sU(t,e){1&t&&(i.Tb(0,"th",32),i.Bc(1,"Publication"),i.Sb())}function aU(t,e){if(1&t&&(i.Tb(0,"td",33),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.PublicationName)}}function oU(t,e){1&t&&(i.Tb(0,"th",34),i.Bc(1,"Source Code"),i.Sb())}function lU(t,e){if(1&t&&(i.Tb(0,"td",35),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.SourceCode)}}function cU(t,e){1&t&&(i.Tb(0,"th",36),i.Bc(1,"Action"),i.Sb())}function uU(t,e){if(1&t&&(i.Tb(0,"td",37),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.Action)}}function dU(t,e){1&t&&(i.Tb(0,"th",34),i.Bc(1,"Status"),i.Sb())}function hU(t,e){if(1&t&&(i.Tb(0,"td",35),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.Status)}}function fU(t,e){1&t&&(i.Tb(0,"th",38),i.Bc(1,"Date/Time"),i.Sb())}function mU(t,e){if(1&t&&(i.Tb(0,"td",39),i.Bc(1),i.gc(2,"date"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(i.ic(2,1,t.CreatedOn,"MMM d hh:mm a"))}}function pU(t,e){1&t&&i.Ob(0,"tr",40)}const bU=function(t,e){return{"text-danger":t,"text-info":e}};function gU(t,e){if(1&t){const t=i.Ub();i.Tb(0,"tr",41),i.bc("click",function(){i.sc(t);const n=e.$implicit;return i.fc(2).logEntry(n)}),i.Sb()}if(2&t){const t=e.$implicit;i.lc("ngClass",i.pc(1,bU,"ERROR"===t.Status,"ZETA"===t.Status))}}function _U(t,e){if(1&t&&(i.Tb(0,"table",5),i.Rb(1,6),i.Ac(2,Zz,2,0,"th",7),i.Ac(3,tU,2,1,"td",8),i.Qb(),i.Rb(4,9),i.Ac(5,eU,2,0,"th",7),i.Ac(6,nU,2,1,"td",8),i.Qb(),i.Rb(7,10),i.Ac(8,iU,2,0,"th",11),i.Ac(9,rU,2,1,"td",12),i.Qb(),i.Rb(10,13),i.Ac(11,sU,2,0,"th",14),i.Ac(12,aU,2,1,"td",15),i.Qb(),i.Rb(13,16),i.Ac(14,oU,2,0,"th",17),i.Ac(15,lU,2,1,"td",18),i.Qb(),i.Rb(16,19),i.Ac(17,cU,2,0,"th",20),i.Ac(18,uU,2,1,"td",21),i.Qb(),i.Rb(19,22),i.Ac(20,dU,2,0,"th",17),i.Ac(21,hU,2,1,"td",18),i.Qb(),i.Rb(22,23),i.Ac(23,fU,2,0,"th",24),i.Ac(24,mU,3,4,"td",25),i.Qb(),i.Ac(25,pU,1,0,"tr",26),i.Ac(26,gU,1,4,"tr",27),i.Sb()),2&t){const t=i.fc();i.lc("dataSource",t.logData),i.Cb(25),i.lc("matHeaderRowDef",t.columns),i.Cb(1),i.lc("matRowDefColumns",t.columns)}}function yU(t,e){1&t&&(i.Tb(0,"div",42),i.Ob(1,"mat-spinner",43),i.Sb())}function vU(t,e){if(1&t&&(i.Tb(0,"div",42),i.Tb(1,"span",44),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.errorMessage)}}let wU=(()=>{class t{constructor(t,e){this.ls=t,this.dialog=e,this.columns=["ID","Email","PartnerName","PublicationName","SourceCode","Action","Status","CreatedOn"],this.loading=!0,this.logData=[]}ngOnInit(){this.loadZetaLog()}loadZetaLog(){return kT(this,void 0,void 0,function*(){const t=yield this.ls.zetaLog();t.success?this.logData=t.data:this.errorMessage=t.error,this.loading=!1})}logEntry(t){this.dialog.open(bz,{ariaLabel:"Log Entry Details",data:{entry:t,type:"zeta-log"},maxWidth:800,width:"calc(100% - 20px)"})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(xH),i.Nb(Zp))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-zeta-communications-log"]],decls:9,vars:3,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["fxFlex","1 1 auto","mat-table","",3,"dataSource",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],["fxFlex","1 1 auto","mat-table","",3,"dataSource"],["matColumnDef","ID"],["mat-header-cell","","fxHide.lt-md","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-md","",4,"matCellDef"],["matColumnDef","Email"],["matColumnDef","PartnerName"],["mat-header-cell","","fxHide.lt-xl","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-xl","",4,"matCellDef"],["matColumnDef","PublicationName"],["mat-header-cell","","fxHide.lt-lg","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-lg","",4,"matCellDef"],["matColumnDef","SourceCode"],["mat-header-cell","","fxHide.xs","",4,"matHeaderCellDef"],["mat-cell","","fxHide.xs","",4,"matCellDef"],["matColumnDef","Action"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","Status"],["matColumnDef","CreatedOn"],["class","text-right","mat-header-cell","",4,"matHeaderCellDef"],["class","text-right","mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","data row-clickable","mat-row","",3,"ngClass","click",4,"matRowDef","matRowDefColumns"],["mat-header-cell","","fxHide.lt-md",""],["mat-cell","","fxHide.lt-md",""],["mat-header-cell","","fxHide.lt-xl",""],["mat-cell","","fxHide.lt-xl",""],["mat-header-cell","","fxHide.lt-lg",""],["mat-cell","","fxHide.lt-lg",""],["mat-header-cell","","fxHide.xs",""],["mat-cell","","fxHide.xs",""],["mat-header-cell",""],["mat-cell",""],["mat-header-cell","",1,"text-right"],["mat-cell","",1,"text-right"],["mat-header-row",""],["mat-row","",1,"data","row-clickable",3,"ngClass","click"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],["color","accent"],[1,"error"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"h2"),i.Bc(3,"Zeta Communications Log"),i.Sb(),i.Sb(),i.Tb(4,"mat-card",2),i.Tb(5,"mat-card-content"),i.Ac(6,_U,27,3,"table",3),i.Ac(7,yU,2,0,"div",4),i.Ac(8,vU,3,1,"div",4),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(6),i.lc("ngIf",!e.loading&&!e.errorMessage),i.Cb(1),i.lc("ngIf",e.loading),i.Cb(1),i.lc("ngIf",e.errorMessage))},directives:[Xu,Ou,Nu,Of,Mf,pt,Dv,Rv,Ev,Ov,Bv,Vv,jv,au,Pv,Uv,qv,dt,Zc,sd,g_],pipes:[Lt],styles:[""]}),t})();function SU(t,e){1&t&&(i.Tb(0,"th",26),i.Bc(1,"ID"),i.Sb())}function xU(t,e){if(1&t&&(i.Tb(0,"td",27),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.ID)}}function CU(t,e){1&t&&(i.Tb(0,"th",28),i.Bc(1,"Type"),i.Sb())}function kU(t,e){if(1&t&&(i.Tb(0,"td",29),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.ImportType)}}function TU(t,e){1&t&&(i.Tb(0,"th",30),i.Bc(1,"Filename"),i.Sb())}function MU(t,e){if(1&t&&(i.Tb(0,"td",31),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.Filename)}}function DU(t,e){1&t&&(i.Tb(0,"th",26),i.Bc(1,"File Size"),i.Sb())}function LU(t,e){if(1&t&&(i.Tb(0,"td",27),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.FileSize))}}function OU(t,e){1&t&&(i.Tb(0,"th",28),i.Bc(1,"Rows Imported"),i.Sb())}function AU(t,e){if(1&t&&(i.Tb(0,"td",29),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.RowsImported))}}function EU(t,e){1&t&&(i.Tb(0,"th",26),i.Bc(1,"Rows Total"),i.Sb())}function IU(t,e){if(1&t&&(i.Tb(0,"td",27),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.RowsTotal))}}function RU(t,e){1&t&&(i.Tb(0,"th",32),i.Bc(1,"Status"),i.Sb())}function YU(t,e){if(1&t&&(i.Tb(0,"td",33),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.Status)}}function jU(t,e){1&t&&(i.Tb(0,"th",34),i.Bc(1,"Date/Time"),i.Sb())}function NU(t,e){if(1&t&&(i.Tb(0,"td",35),i.Bc(1),i.gc(2,"date"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(i.ic(2,1,t.ImportDate,"MMM d hh:mm a"))}}function PU(t,e){1&t&&i.Ob(0,"tr",36)}const FU=function(t){return{"text-danger":t}};function BU(t,e){1&t&&i.Ob(0,"tr",37),2&t&&i.lc("ngClass",i.oc(1,FU,"ERROR"===e.$implicit.Status))}function HU(t,e){if(1&t&&(i.Tb(0,"table",5),i.Rb(1,6),i.Ac(2,SU,2,0,"th",7),i.Ac(3,xU,2,1,"td",8),i.Qb(),i.Rb(4,9),i.Ac(5,CU,2,0,"th",10),i.Ac(6,kU,2,1,"td",11),i.Qb(),i.Rb(7,12),i.Ac(8,TU,2,0,"th",13),i.Ac(9,MU,2,1,"td",14),i.Qb(),i.Rb(10,15),i.Ac(11,DU,2,0,"th",7),i.Ac(12,LU,3,3,"td",8),i.Qb(),i.Rb(13,16),i.Ac(14,OU,2,0,"th",10),i.Ac(15,AU,3,3,"td",11),i.Qb(),i.Rb(16,17),i.Ac(17,EU,2,0,"th",7),i.Ac(18,IU,3,3,"td",8),i.Qb(),i.Rb(19,18),i.Ac(20,RU,2,0,"th",19),i.Ac(21,YU,2,1,"td",20),i.Qb(),i.Rb(22,21),i.Ac(23,jU,2,0,"th",22),i.Ac(24,NU,3,4,"td",23),i.Qb(),i.Ac(25,PU,1,0,"tr",24),i.Ac(26,BU,1,3,"tr",25),i.Sb()),2&t){const t=i.fc();i.lc("dataSource",t.logData),i.Cb(25),i.lc("matHeaderRowDef",t.columns),i.Cb(1),i.lc("matRowDefColumns",t.columns)}}function VU(t,e){1&t&&(i.Tb(0,"div",38),i.Ob(1,"mat-spinner",39),i.Sb())}function zU(t,e){if(1&t&&(i.Tb(0,"div",38),i.Tb(1,"span",40),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.errorMessage)}}let UU=(()=>{class t{constructor(t){this.ls=t,this.columns=["ID","ImportType","Filename","FileSize","RowsImported","RowsTotal","Status","ImportDate"],this.loading=!0,this.logData=[]}ngOnInit(){this.loadZetaImportLog()}loadZetaImportLog(){return kT(this,void 0,void 0,function*(){const t=yield this.ls.zetaImportLog();t.success?this.logData=t.data:this.errorMessage=t.error,this.loading=!1})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(xH))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-zeta-import-log"]],decls:9,vars:3,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["fxFlex","1 1 auto","mat-table","",3,"dataSource",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],["fxFlex","1 1 auto","mat-table","",3,"dataSource"],["matColumnDef","ID"],["mat-header-cell","","fxHide.lt-md","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-md","",4,"matCellDef"],["matColumnDef","ImportType"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","Filename"],["mat-header-cell","","fxHide.lt-lg","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-lg","",4,"matCellDef"],["matColumnDef","FileSize"],["matColumnDef","RowsImported"],["matColumnDef","RowsTotal"],["matColumnDef","Status"],["mat-header-cell","","fxHide.xs","",4,"matHeaderCellDef"],["mat-cell","","fxHide.xs","",4,"matCellDef"],["matColumnDef","ImportDate"],["class","text-right","mat-header-cell","",4,"matHeaderCellDef"],["class","text-right","mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","data","mat-row","",3,"ngClass",4,"matRowDef","matRowDefColumns"],["mat-header-cell","","fxHide.lt-md",""],["mat-cell","","fxHide.lt-md",""],["mat-header-cell",""],["mat-cell",""],["mat-header-cell","","fxHide.lt-lg",""],["mat-cell","","fxHide.lt-lg",""],["mat-header-cell","","fxHide.xs",""],["mat-cell","","fxHide.xs",""],["mat-header-cell","",1,"text-right"],["mat-cell","",1,"text-right"],["mat-header-row",""],["mat-row","",1,"data",3,"ngClass"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],["color","accent"],[1,"error"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"h2"),i.Bc(3,"Zeta Import Log"),i.Sb(),i.Sb(),i.Tb(4,"mat-card",2),i.Tb(5,"mat-card-content"),i.Ac(6,HU,27,3,"table",3),i.Ac(7,VU,2,0,"div",4),i.Ac(8,zU,3,1,"div",4),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(6),i.lc("ngIf",!e.loading&&!e.errorMessage),i.Cb(1),i.lc("ngIf",e.loading),i.Cb(1),i.lc("ngIf",e.errorMessage))},directives:[Xu,Ou,Nu,Of,Mf,pt,Dv,Rv,Ev,Ov,Bv,Vv,jv,au,Pv,Uv,qv,dt,Zc,sd,g_],pipes:[At,Lt],styles:[""]}),t})();function WU(t,e){1&t&&(i.Tb(0,"th",21),i.Bc(1,"Date/Time"),i.Sb())}function qU(t,e){if(1&t&&(i.Tb(0,"td",22),i.Bc(1),i.gc(2,"date"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(i.ic(2,1,t.created,"MMM d hh:mm a"))}}function GU(t,e){1&t&&(i.Tb(0,"th",21),i.Bc(1,"Partner"),i.Sb())}function $U(t,e){if(1&t&&(i.Tb(0,"td",23),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(null==t.partner?null:t.partner.name)}}function XU(t,e){1&t&&(i.Tb(0,"th",24),i.Bc(1,"Method"),i.Sb())}function KU(t,e){if(1&t&&(i.Tb(0,"td",25),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.method)}}function JU(t,e){1&t&&(i.Tb(0,"th",26),i.Bc(1,"Error"),i.Sb())}function QU(t,e){if(1&t&&(i.Tb(0,"td",27),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.errorMessage)}}function ZU(t,e){1&t&&i.Ob(0,"tr",28)}function tW(t,e){if(1&t){const t=i.Ub();i.Tb(0,"tr",29),i.bc("click",function(){i.sc(t);const n=e.$implicit;return i.fc(2).logEntry(n)}),i.Sb()}}function eW(t,e){if(1&t&&(i.Tb(0,"table",7),i.Rb(1,8),i.Ac(2,WU,2,0,"th",9),i.Ac(3,qU,3,4,"td",10),i.Qb(),i.Rb(4,11),i.Ac(5,GU,2,0,"th",9),i.Ac(6,$U,2,1,"td",12),i.Qb(),i.Rb(7,13),i.Ac(8,XU,2,0,"th",14),i.Ac(9,KU,2,1,"td",15),i.Qb(),i.Rb(10,16),i.Ac(11,JU,2,0,"th",17),i.Ac(12,QU,2,1,"td",18),i.Qb(),i.Ac(13,ZU,1,0,"tr",19),i.Ac(14,tW,1,0,"tr",20),i.Sb()),2&t){const t=i.fc();i.lc("dataSource",t.logData),i.Cb(13),i.lc("matHeaderRowDef",t.columns),i.Cb(1),i.lc("matRowDefColumns",t.columns)}}function nW(t,e){1&t&&(i.Tb(0,"div",30),i.Ob(1,"mat-spinner",31),i.Sb())}let iW=(()=>{class t{constructor(t,e,n){this.ls=t,this.store=e,this.dialog=n,this.columns=["created","partner","method","errorMessage"],this.loading=!0,this.logData=[],this.env$=this.store.pipe(bl(vH))}ngOnDestroy(){var t,e;null===(t=this.subscriptionCollection)||void 0===t||t.unsubscribe(),null===(e=this.subscriptionEvironment)||void 0===e||e.unsubscribe()}ngOnInit(){this.subscriptionEvironment=this.env$.subscribe(t=>this.load(t.name))}logEntry(t){this.dialog.open(bz,{ariaLabel:"Log Entry Details",data:{entry:t,type:"service-errors"},maxWidth:800,width:"calc(100% - 20px)"})}load(t){var e;null===(e=this.subscriptionCollection)||void 0===e||e.unsubscribe(),this.loading=!0,this.subscriptionCollection=this.ls.serviceErrors$(t).subscribe(t=>{this.logData=t,this.loading=!1})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(xH),i.Nb(ml),i.Nb(Zp))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-error-log"]],decls:11,vars:2,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto","fxLayout","row"],["fxFlex","1 1 auto"],["fxFlex","0 0 100px","fxLayoutAlign","end center"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["fxFlex","1 1 auto","mat-table","",3,"dataSource",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],["fxFlex","1 1 auto","mat-table","",3,"dataSource"],["matColumnDef","created"],["mat-header-cell","",4,"matHeaderCellDef"],["class","text-nowrap","mat-cell","",4,"matCellDef"],["matColumnDef","partner"],["mat-cell","",4,"matCellDef"],["matColumnDef","method"],["mat-header-cell","","fxHide.xs","",4,"matHeaderCellDef"],["mat-cell","","fxHide.xs","",4,"matCellDef"],["matColumnDef","errorMessage"],["mat-header-cell","","fxHide.lt-md","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-md","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","data row-clickable text-danger","mat-row","",3,"click",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"text-nowrap"],["mat-cell",""],["mat-header-cell","","fxHide.xs",""],["mat-cell","","fxHide.xs",""],["mat-header-cell","","fxHide.lt-md",""],["mat-cell","","fxHide.lt-md",""],["mat-header-row",""],["mat-row","",1,"data","row-clickable","text-danger",3,"click"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],["color","accent"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"div",2),i.Tb(3,"h2"),i.Bc(4,"Error Log"),i.Sb(),i.Sb(),i.Tb(5,"div",3),i.Ob(6,"app-log-environments"),i.Sb(),i.Sb(),i.Tb(7,"mat-card",4),i.Tb(8,"mat-card-content"),i.Ac(9,eW,15,3,"table",5),i.Ac(10,nW,2,0,"div",6),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(9),i.lc("ngIf",!e.loading),i.Cb(1),i.lc("ngIf",e.loading))},directives:[Xu,Ou,Nu,sd,zV,Of,Mf,pt,Dv,Rv,Ev,Ov,Bv,Vv,jv,Pv,au,Uv,qv,g_],pipes:[Lt],styles:[""]}),t})();function rW(t,e){1&t&&(i.Tb(0,"th",20),i.Bc(1,"Date/Time"),i.Sb())}function sW(t,e){if(1&t&&(i.Tb(0,"td",21),i.Bc(1),i.gc(2,"date"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(i.ic(2,1,t.created,"MMM d hh:mm a"))}}function aW(t,e){1&t&&(i.Tb(0,"th",20),i.Bc(1,"Partner"),i.Sb())}function oW(t,e){if(1&t&&(i.Tb(0,"td",21),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(null==t.partner?null:t.partner.name)}}function lW(t,e){1&t&&(i.Tb(0,"th",22),i.Bc(1,"Method"),i.Sb())}function cW(t,e){if(1&t&&(i.Tb(0,"td",23),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.method)}}function uW(t,e){1&t&&(i.Tb(0,"th",24),i.Bc(1,"Status"),i.Sb())}function dW(t,e){if(1&t&&(i.Tb(0,"td",25),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(0===t.responseCode?"Success":"Error")}}function hW(t,e){1&t&&i.Ob(0,"tr",26)}const fW=function(t){return{"text-danger":t}};function mW(t,e){if(1&t){const t=i.Ub();i.Tb(0,"tr",27),i.bc("click",function(){i.sc(t);const n=e.$implicit;return i.fc(2).logEntry(n)}),i.Sb()}2&t&&i.lc("ngClass",i.oc(1,fW,e.$implicit.responseCode>0))}function pW(t,e){if(1&t&&(i.Tb(0,"table",7),i.Rb(1,8),i.Ac(2,rW,2,0,"th",9),i.Ac(3,sW,3,4,"td",10),i.Qb(),i.Rb(4,11),i.Ac(5,aW,2,0,"th",9),i.Ac(6,oW,2,1,"td",10),i.Qb(),i.Rb(7,12),i.Ac(8,lW,2,0,"th",13),i.Ac(9,cW,2,1,"td",14),i.Qb(),i.Rb(10,15),i.Ac(11,uW,2,0,"th",16),i.Ac(12,dW,2,1,"td",17),i.Qb(),i.Ac(13,hW,1,0,"tr",18),i.Ac(14,mW,1,3,"tr",19),i.Sb()),2&t){const t=i.fc();i.lc("dataSource",t.logData),i.Cb(13),i.lc("matHeaderRowDef",t.columns),i.Cb(1),i.lc("matRowDefColumns",t.columns)}}function bW(t,e){1&t&&(i.Tb(0,"div",28),i.Ob(1,"mat-spinner",29),i.Sb())}let gW=(()=>{class t{constructor(t,e,n){this.ls=t,this.store=e,this.dialog=n,this.columns=["created","partner","method","status"],this.loading=!0,this.logData=[],this.env$=this.store.pipe(bl(vH))}ngOnDestroy(){var t,e;null===(t=this.subscriptionCollection)||void 0===t||t.unsubscribe(),null===(e=this.subscriptionEvironment)||void 0===e||e.unsubscribe()}ngOnInit(){this.subscriptionEvironment=this.env$.subscribe(t=>this.load(t.name))}logEntry(t){this.dialog.open(bz,{ariaLabel:"Log Entry Details",data:{entry:t,type:"service-log"},maxWidth:800,width:"calc(100% - 20px)"})}load(t){var e;null===(e=this.subscriptionCollection)||void 0===e||e.unsubscribe(),this.loading=!0,this.subscriptionCollection=this.ls.serviceLog$(t).subscribe(t=>{this.logData=t,this.loading=!1})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(xH),i.Nb(ml),i.Nb(Zp))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-service-log"]],decls:11,vars:2,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto","fxLayout","row"],["fxFlex","1 1 auto"],["fxFlex","0 0 100px","fxLayoutAlign","end center"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["fxFlex","1 1 auto","mat-table","",3,"dataSource",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],["fxFlex","1 1 auto","mat-table","",3,"dataSource"],["matColumnDef","created"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","partner"],["matColumnDef","method"],["mat-header-cell","","fxHide.xs","",4,"matHeaderCellDef"],["mat-cell","","fxHide.xs","",4,"matCellDef"],["matColumnDef","status"],["mat-header-cell","","fxHide.lt-lg","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-lg","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","data row-clickable","mat-row","",3,"ngClass","click",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-header-cell","","fxHide.xs",""],["mat-cell","","fxHide.xs",""],["mat-header-cell","","fxHide.lt-lg",""],["mat-cell","","fxHide.lt-lg",""],["mat-header-row",""],["mat-row","",1,"data","row-clickable",3,"ngClass","click"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],["color","accent"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"div",2),i.Tb(3,"h2"),i.Bc(4,"Service Log"),i.Sb(),i.Sb(),i.Tb(5,"div",3),i.Ob(6,"app-log-environments"),i.Sb(),i.Sb(),i.Tb(7,"mat-card",4),i.Tb(8,"mat-card-content"),i.Ac(9,pW,15,3,"table",5),i.Ac(10,bW,2,0,"div",6),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(9),i.lc("ngIf",!e.loading),i.Cb(1),i.lc("ngIf",e.loading))},directives:[Xu,Ou,Nu,sd,zV,Of,Mf,pt,Dv,Rv,Ev,Ov,Bv,Vv,jv,Pv,au,Uv,qv,dt,Zc,g_],pipes:[Lt],styles:[""]}),t})();const _W=t=>{const e=t.get("password"),n=t.get("passwordConfirm");return n&&n.setErrors(e&&n&&e.value!==n.value?{password:!0}:null),null};let yW=(()=>{class t{constructor(t,e,n,i){this.auth=t,this.snackBar=e,this.dialogRef=n,this.data=i,this.disableButtons=!1,this.form=new oa({passwordOld:new aa("",[ss.required]),passwordNew:new aa("",[ss.required]),passwordConfirm:new aa("",[ss.required])},_W)}update(){var t,e;return kT(this,void 0,void 0,function*(){if(this.form.markAllAsTouched(),this.form.valid){this.disableButtons=!0;const n=null===(t=this.form.get("passwordOld"))||void 0===t?void 0:t.value,i=null===(e=this.form.get("passwordNew"))||void 0===e?void 0:e.value,r=yield this.auth.updatePassword(n,i);r.success?(this.snackBar.open(r.error||"Your password was updated.",void 0,{duration:4e3,panelClass:"snack-bar-success"}),this.dialogRef.close()):(this.snackBar.open(r.error||"Unable to update password.",void 0,{duration:4e3,panelClass:"snack-bar-error"}),this.disableButtons=!1)}})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(gH),i.Nb(Vy),i.Nb(qp),i.Nb($p))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-change-password"]],decls:21,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content","",3,"formGroup"],["fxLayout","column"],["fxFlex","1 1 auto","appearance","fill"],["matInput","","formControlName","passwordOld","type","password","autocomplete","off"],["matInput","","formControlName","passwordNew","type","password","autocomplete","off"],["matInput","","formControlName","passwordConfirm","type","password","autocomplete","off"],["mat-dialog-actions","","align","end"],["mat-raised-button","","mat-dialog-close","cancel","cdkFocusInitial","",3,"disabled"],["mat-raised-button","","color","primary",3,"disabled","click"]],template:function(t,e){1&t&&(i.Tb(0,"h1",0),i.Bc(1,"Change Password"),i.Sb(),i.Tb(2,"div",1),i.Tb(3,"div",2),i.Tb(4,"mat-form-field",3),i.Tb(5,"mat-label"),i.Bc(6,"Old Password"),i.Sb(),i.Ob(7,"input",4),i.Sb(),i.Tb(8,"mat-form-field",3),i.Tb(9,"mat-label"),i.Bc(10,"New Password"),i.Sb(),i.Ob(11,"input",5),i.Sb(),i.Tb(12,"mat-form-field",3),i.Tb(13,"mat-label"),i.Bc(14,"Confirm Password"),i.Sb(),i.Ob(15,"input",6),i.Sb(),i.Sb(),i.Sb(),i.Tb(16,"div",7),i.Tb(17,"button",8),i.Bc(18,"Cancel"),i.Sb(),i.Tb(19,"button",9),i.bc("click",function(){return e.update()}),i.Bc(20,"Update"),i.Sb(),i.Sb()),2&t&&(i.Cb(2),i.lc("formGroup",e.form),i.Cb(15),i.lc("disabled",e.disableButtons),i.Cb(2),i.lc("disabled",e.disableButtons))},directives:[nb,ib,Ss,ga,Ou,Lm,Xu,ym,pb,Zr,ws,ya,rb,wf,eb],styles:[""]}),t})(),vW=(()=>{class t{constructor(t){this.auth=t,this.form=new oa({email:new aa("",[ss.required,ss.email]),password:new aa("",[ss.required])})}ngOnInit(){}login(){var t,e;return kT(this,void 0,void 0,function*(){if(this.form.markAllAsTouched(),this.error=void 0,this.form.valid){const n=null===(t=this.form.get("email"))||void 0===t?void 0:t.value,i=null===(e=this.form.get("password"))||void 0===e?void 0:e.value,r=yield this.auth.signIn(n,i);r.success||(this.error=r.error)}})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(gH))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-login"]],decls:20,vars:3,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutAlign","center center","fxLayoutGap","24px"],[1,"logo",3,"color"],["fxFlex","0 0 auto",1,"login-card","mat-elevation-z3"],["fxLayout","column",3,"formGroup"],["fxFlex","1 1 auto","appearance","fill"],["matInput","","formControlName","email","placeholder","Enter your email address",3,"keyup.enter"],["matInput","","formControlName","password","placeholder","Enter your password","type","password",3,"keyup.enter"],[1,"error"],["fxLayout","row","fxLayoutAlign","end center"],["mat-raised-button","","color","accent",3,"click"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Ob(1,"app-vca-logo",1),i.Tb(2,"mat-card",2),i.Tb(3,"mat-card-header"),i.Tb(4,"mat-card-title"),i.Bc(5,"EPIC Login"),i.Sb(),i.Sb(),i.Tb(6,"mat-card-content",3),i.Tb(7,"mat-form-field",4),i.Tb(8,"mat-label"),i.Bc(9,"Email"),i.Sb(),i.Tb(10,"input",5),i.bc("keyup.enter",function(){return e.login()}),i.Sb(),i.Sb(),i.Tb(11,"mat-form-field",4),i.Tb(12,"mat-label"),i.Bc(13,"Password"),i.Sb(),i.Tb(14,"input",6),i.bc("keyup.enter",function(){return e.login()}),i.Sb(),i.Sb(),i.Tb(15,"div",7),i.Bc(16),i.Sb(),i.Sb(),i.Tb(17,"mat-card-actions",8),i.Tb(18,"button",9),i.bc("click",function(){return e.login()}),i.Bc(19,"Login"),i.Sb(),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(1),i.lc("color",!0),i.Cb(5),i.lc("formGroup",e.form),i.Cb(10),i.Dc(" ",e.error," "))},directives:[Xu,Ou,sd,Nu,Qz,Of,Af,Df,Mf,Ss,ga,Lm,ym,pb,Zr,ws,ya,Lf,wf],styles:[".login-card[_ngcontent-%COMP%]{max-width:350px;width:90%}.logo[_ngcontent-%COMP%]{height:60px;margin-top:calc((100vh - 312px) * .2)}"]}),t})(),wW=(()=>{class t{constructor(t,e,n){this.auth=t,this.route=e,this.router=n,this.form=new oa({email:new aa("",[ss.required,ss.email]),password:new aa("",[ss.required]),passwordConfirm:new aa("",[ss.required])},_W),this.inviteCode="",this.subscriptions=[]}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}ngOnInit(){this.subscriptions.push(this.route.params.subscribe(t=>kT(this,void 0,void 0,function*(){t&&t.code?this.inviteCode=t.code:this.router.navigate(["/login"])})))}verify(){var t,e;return kT(this,void 0,void 0,function*(){if(this.form.markAllAsTouched(),this.error=void 0,this.form.valid){const n=null===(t=this.form.get("email"))||void 0===t?void 0:t.value,i=null===(e=this.form.get("password"))||void 0===e?void 0:e.value,r=yield this.auth.verify(n,this.inviteCode);if(r.success){const t=yield this.auth.createUser(n,i);t.success?this.auth.signIn(n,i):this.error=t.error}else r.success||(this.error=r.error)}})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(gH),i.Nb(RC),i.Nb(iT))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-verify"]],decls:24,vars:3,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutAlign","center center","fxLayoutGap","24px"],[1,"logo",3,"color"],["fxFlex","0 0 auto",1,"verify-card","mat-elevation-z3"],["fxLayout","column",3,"formGroup"],["fxFlex","1 1 auto","appearance","fill"],["matInput","","formControlName","email","placeholder","Enter your email address","autocomplete","off",3,"keyup.enter"],["matInput","","formControlName","password","placeholder","Enter your password","type","password","autocomplete","off",3,"keyup.enter"],["matInput","","formControlName","passwordConfirm","placeholder","Confirm your password","type","password","autocomplete","off",3,"keyup.enter"],[1,"error"],["fxLayout","row","fxLayoutAlign","end center"],["mat-raised-button","","color","accent",3,"click"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Ob(1,"app-vca-logo",1),i.Tb(2,"mat-card",2),i.Tb(3,"mat-card-header"),i.Tb(4,"mat-card-title"),i.Bc(5,"EPIC - Create Account"),i.Sb(),i.Sb(),i.Tb(6,"mat-card-content",3),i.Tb(7,"mat-form-field",4),i.Tb(8,"mat-label"),i.Bc(9,"Email"),i.Sb(),i.Tb(10,"input",5),i.bc("keyup.enter",function(){return e.verify()}),i.Sb(),i.Sb(),i.Tb(11,"mat-form-field",4),i.Tb(12,"mat-label"),i.Bc(13,"Password"),i.Sb(),i.Tb(14,"input",6),i.bc("keyup.enter",function(){return e.verify()}),i.Sb(),i.Sb(),i.Tb(15,"mat-form-field",4),i.Tb(16,"mat-label"),i.Bc(17,"Confirm Password"),i.Sb(),i.Tb(18,"input",7),i.bc("keyup.enter",function(){return e.verify()}),i.Sb(),i.Sb(),i.Tb(19,"div",8),i.Bc(20),i.Sb(),i.Sb(),i.Tb(21,"mat-card-actions",9),i.Tb(22,"button",10),i.bc("click",function(){return e.verify()}),i.Bc(23,"Submit"),i.Sb(),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(1),i.lc("color",!0),i.Cb(5),i.lc("formGroup",e.form),i.Cb(14),i.Dc(" ",e.error," "))},directives:[Xu,Ou,sd,Nu,Qz,Of,Af,Df,Mf,Ss,ga,Lm,ym,pb,Zr,ws,ya,Lf,wf],styles:[".verify-card[_ngcontent-%COMP%]{max-width:350px;width:90%}.logo[_ngcontent-%COMP%]{height:60px;margin-top:calc((100vh - 312px) * .2)}"]}),t})();function SW(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Subscribers))}}function xW(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function CW(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.OptIn30))}}function kW(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function TW(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.OptOut30))}}function MW(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function DW(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Unconfirmed30))}}function LW(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function OW(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td",25),i.Tb(2,"div",26),i.Bc(3),i.Sb(),i.Sb(),i.Tb(4,"td",23),i.Ac(5,SW,3,3,"span",27),i.Ac(6,xW,2,0,"span",27),i.Sb(),i.Tb(7,"td",28),i.Ac(8,CW,3,3,"span",27),i.Ac(9,kW,2,0,"span",27),i.Sb(),i.Tb(10,"td",28),i.Ac(11,TW,3,3,"span",27),i.Ac(12,MW,2,0,"span",27),i.Sb(),i.Tb(13,"td",28),i.Ac(14,DW,3,3,"span",27),i.Ac(15,LW,2,0,"span",27),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(3),i.Cc(t.PublicationName),i.Cb(2),i.lc("ngIf",t.Subscribers>0),i.Cb(1),i.lc("ngIf",0===t.Subscribers),i.Cb(2),i.lc("ngIf",t.OptIn30>0),i.Cb(1),i.lc("ngIf",0===t.OptIn30),i.Cb(2),i.lc("ngIf",t.OptOut30>0),i.Cb(1),i.lc("ngIf",0===t.OptOut30),i.Cb(2),i.lc("ngIf",t.Unconfirmed30>0),i.Cb(1),i.lc("ngIf",0===t.Unconfirmed30)}}function AW(t,e){if(1&t&&(i.Tb(0,"table",18),i.Tb(1,"thead"),i.Tb(2,"tr"),i.Tb(3,"th",19),i.Bc(4,"Publication"),i.Sb(),i.Tb(5,"th",20),i.Bc(6,"Total Subscribers"),i.Sb(),i.Tb(7,"th",21),i.Bc(8,"Past 30 Days"),i.Sb(),i.Sb(),i.Tb(9,"tr",22),i.Tb(10,"th",23),i.Bc(11,"Opt Ins"),i.Sb(),i.Tb(12,"th",23),i.Bc(13,"Opt Outs"),i.Sb(),i.Tb(14,"th",23),i.Bc(15,"Unconfirmed"),i.Sb(),i.Sb(),i.Sb(),i.Tb(16,"tbody"),i.Ac(17,OW,16,9,"tr",24),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(17),i.lc("ngForOf",t.publications)}}function EW(t,e){1&t&&(i.Tb(0,"div",29),i.Ob(1,"mat-spinner",30),i.Sb())}function IW(t,e){if(1&t&&(i.Tb(0,"div",29),i.Tb(1,"span",31),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.publicationsStatus)}}function RW(t,e){if(1&t&&(i.Tb(0,"tr",34),i.Tb(1,"td"),i.Tb(2,"div",26),i.Bc(3),i.Sb(),i.Sb(),i.Tb(4,"td",23),i.Bc(5),i.gc(6,"number"),i.Sb(),i.Tb(7,"td",28),i.Bc(8),i.gc(9,"number"),i.Sb(),i.Tb(10,"td",28),i.Bc(11),i.gc(12,"number"),i.Sb(),i.Tb(13,"td",28),i.Bc(14),i.gc(15,"number"),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(3),i.Cc(t.CampaignName),i.Cb(2),i.Cc(i.hc(6,5,t.Sent)),i.Cb(3),i.Cc(i.hc(9,7,t.Delivered/t.Sent*100)),i.Cb(3),i.Cc(i.hc(12,9,t.OpenedUnique/t.Sent*100)),i.Cb(3),i.Cc(i.hc(15,11,t.ClickedUnique/t.Sent*100))}}function YW(t,e){if(1&t&&(i.Tb(0,"tbody"),i.Ac(1,RW,16,13,"tr",32),i.Tb(2,"tr"),i.Tb(3,"td",33),i.Tb(4,"div",26),i.Bc(5),i.Sb(),i.Sb(),i.Tb(6,"td",23),i.Bc(7),i.gc(8,"number"),i.Sb(),i.Tb(9,"td",28),i.Bc(10),i.gc(11,"number"),i.Sb(),i.Tb(12,"td",28),i.Bc(13),i.gc(14,"number"),i.Sb(),i.Tb(15,"td",28),i.Bc(16),i.gc(17,"number"),i.Sb(),i.Sb(),i.Sb()),2&t){const t=i.fc(2);i.Cb(1),i.lc("ngForOf",t.zeta.weekly),i.Cb(4),i.Cc(t.totalsWeekly.CampaignName),i.Cb(2),i.Cc(i.hc(8,6,t.totalsWeekly.Sent)),i.Cb(3),i.Dc(" ",i.hc(11,8,t.totalsWeekly.Delivered/t.totalsWeekly.Sent*100)," "),i.Cb(3),i.Dc(" ",i.hc(14,10,t.totalsWeekly.OpenedUnique/t.totalsWeekly.Sent*100)," "),i.Cb(3),i.Dc(" ",i.hc(17,12,t.totalsWeekly.ClickedUnique/t.totalsWeekly.Sent*100)," ")}}function jW(t,e){if(1&t&&(i.Tb(0,"tr",34),i.Tb(1,"td"),i.Tb(2,"div",26),i.Bc(3),i.Sb(),i.Sb(),i.Tb(4,"td",23),i.Bc(5),i.gc(6,"number"),i.Sb(),i.Tb(7,"td",28),i.Bc(8),i.gc(9,"number"),i.Sb(),i.Tb(10,"td",28),i.Bc(11),i.gc(12,"number"),i.Sb(),i.Tb(13,"td",28),i.Bc(14),i.gc(15,"number"),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(3),i.Cc(t.CampaignName),i.Cb(2),i.Cc(i.hc(6,5,t.Sent)),i.Cb(3),i.Cc(i.hc(9,7,t.Delivered/t.Sent*100)),i.Cb(3),i.Cc(i.hc(12,9,t.OpenedUnique/t.Sent*100)),i.Cb(3),i.Cc(i.hc(15,11,t.ClickedUnique/t.Sent*100))}}function NW(t,e){if(1&t&&(i.Tb(0,"tbody"),i.Ac(1,jW,16,13,"tr",32),i.Tb(2,"tr"),i.Tb(3,"td"),i.Tb(4,"div",26),i.Bc(5),i.Sb(),i.Sb(),i.Tb(6,"td",23),i.Bc(7),i.gc(8,"number"),i.Sb(),i.Tb(9,"td",28),i.Bc(10),i.gc(11,"number"),i.Sb(),i.Tb(12,"td",28),i.Bc(13),i.gc(14,"number"),i.Sb(),i.Tb(15,"td",28),i.Bc(16),i.gc(17,"number"),i.Sb(),i.Sb(),i.Sb()),2&t){const t=i.fc(2);i.Cb(1),i.lc("ngForOf",t.zeta.welcome),i.Cb(4),i.Cc(t.totalsWelcome.CampaignName),i.Cb(2),i.Cc(i.hc(8,6,t.totalsWelcome.Sent)),i.Cb(3),i.Dc(" ",i.hc(11,8,t.totalsWelcome.Delivered/t.totalsWelcome.Sent*100)," "),i.Cb(3),i.Dc(" ",i.hc(14,10,t.totalsWelcome.OpenedUnique/t.totalsWelcome.Sent*100)," "),i.Cb(3),i.Dc(" ",i.hc(17,12,t.totalsWelcome.ClickedUnique/t.totalsWelcome.Sent*100)," ")}}function PW(t,e){if(1&t&&(i.Tb(0,"tr",34),i.Tb(1,"td"),i.Tb(2,"div",26),i.Bc(3),i.Sb(),i.Sb(),i.Tb(4,"td",23),i.Bc(5),i.gc(6,"number"),i.Sb(),i.Tb(7,"td",28),i.Bc(8),i.gc(9,"number"),i.Sb(),i.Tb(10,"td",28),i.Bc(11),i.gc(12,"number"),i.Sb(),i.Tb(13,"td",28),i.Bc(14),i.gc(15,"number"),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(3),i.Cc(t.CampaignName),i.Cb(2),i.Cc(i.hc(6,5,t.Sent)),i.Cb(3),i.Cc(i.hc(9,7,t.Delivered/t.Sent*100)),i.Cb(3),i.Cc(i.hc(12,9,t.OpenedUnique/t.Sent*100)),i.Cb(3),i.Cc(i.hc(15,11,t.ClickedUnique/t.Sent*100))}}function FW(t,e){if(1&t&&(i.Tb(0,"tbody"),i.Ac(1,PW,16,13,"tr",32),i.Tb(2,"tr"),i.Tb(3,"td"),i.Tb(4,"div",26),i.Bc(5),i.Sb(),i.Sb(),i.Tb(6,"td",23),i.Bc(7),i.gc(8,"number"),i.Sb(),i.Tb(9,"td",28),i.Bc(10),i.gc(11,"number"),i.Sb(),i.Tb(12,"td",28),i.Bc(13),i.gc(14,"number"),i.Sb(),i.Tb(15,"td",28),i.Bc(16),i.gc(17,"number"),i.Sb(),i.Sb(),i.Sb()),2&t){const t=i.fc(2);i.Cb(1),i.lc("ngForOf",t.zeta.reactivation),i.Cb(4),i.Cc(t.totalsReactivation.CampaignName),i.Cb(2),i.Cc(i.hc(8,6,t.totalsReactivation.Sent)),i.Cb(3),i.Dc(" ",i.hc(11,8,t.totalsReactivation.Delivered/t.totalsReactivation.Sent*100)," "),i.Cb(3),i.Dc(" ",i.hc(14,10,t.totalsReactivation.OpenedUnique/t.totalsReactivation.Sent*100)," "),i.Cb(3),i.Dc(" ",i.hc(17,12,t.totalsReactivation.ClickedUnique/t.totalsReactivation.Sent*100)," ")}}function BW(t,e){if(1&t&&(i.Tb(0,"table",18),i.Tb(1,"thead"),i.Tb(2,"tr"),i.Tb(3,"th",25),i.Bc(4,"Campaign Type"),i.Sb(),i.Tb(5,"th",23),i.Bc(6,"Total Sent"),i.Sb(),i.Tb(7,"th",28),i.Bc(8,"Total Delivered %"),i.Sb(),i.Tb(9,"th",28),i.Bc(10,"Unique Opened %"),i.Sb(),i.Tb(11,"th",28),i.Bc(12,"Unique Clicked %"),i.Sb(),i.Sb(),i.Sb(),i.Ac(13,YW,18,14,"tbody",27),i.Ac(14,NW,18,14,"tbody",27),i.Ac(15,FW,18,14,"tbody",27),i.Sb()),2&t){const t=i.fc();i.Cb(13),i.lc("ngIf",t.zeta.weekly.length>0),i.Cb(1),i.lc("ngIf",t.zeta.welcome.length>0),i.Cb(1),i.lc("ngIf",t.zeta.reactivation.length>0)}}function HW(t,e){1&t&&(i.Tb(0,"div",29),i.Ob(1,"mat-spinner",30),i.Sb())}function VW(t,e){if(1&t&&(i.Tb(0,"div",29),i.Tb(1,"span",31),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.zetaStatus)}}function zW(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Transmitted))}}function UW(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function WW(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Shipped))}}function qW(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function GW(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Suspended))}}function $W(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function XW(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Resubmitted))}}function KW(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function JW(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Canceled))}}function QW(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function ZW(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Errors))}}function tq(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function eq(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td"),i.Bc(2),i.Sb(),i.Tb(3,"td",23),i.Ac(4,zW,3,3,"span",27),i.Ac(5,UW,2,0,"span",27),i.Sb(),i.Tb(6,"td",37),i.Ac(7,WW,3,3,"span",27),i.Ac(8,qW,2,0,"span",27),i.Sb(),i.Tb(9,"td",38),i.Ac(10,GW,3,3,"span",27),i.Ac(11,$W,2,0,"span",27),i.Sb(),i.Tb(12,"td",39),i.Ac(13,XW,3,3,"span",27),i.Ac(14,KW,2,0,"span",27),i.Sb(),i.Tb(15,"td",40),i.Ac(16,JW,3,3,"span",27),i.Ac(17,QW,2,0,"span",27),i.Sb(),i.Tb(18,"td",41),i.Ac(19,ZW,3,3,"span",27),i.Ac(20,tq,2,0,"span",27),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(2),i.Cc(t.FulfillmentCode),i.Cb(2),i.lc("ngIf",t.Transmitted>0),i.Cb(1),i.lc("ngIf",0===t.Transmitted),i.Cb(2),i.lc("ngIf",t.Shipped>0),i.Cb(1),i.lc("ngIf",0===t.Shipped),i.Cb(2),i.lc("ngIf",t.Suspended>0),i.Cb(1),i.lc("ngIf",0===t.Suspended),i.Cb(2),i.lc("ngIf",t.Resubmitted>0),i.Cb(1),i.lc("ngIf",0===t.Resubmitted),i.Cb(2),i.lc("ngIf",t.Canceled>0),i.Cb(1),i.lc("ngIf",0===t.Canceled),i.Cb(2),i.lc("ngIf",t.Errors>0),i.Cb(1),i.lc("ngIf",0===t.Errors)}}function nq(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc(2).$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Pending))}}function iq(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function rq(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td",42),i.Bc(2,"Pending"),i.Sb(),i.Tb(3,"td",43),i.Ac(4,nq,3,3,"span",27),i.Ac(5,iq,2,0,"span",27),i.Sb(),i.Tb(6,"td",37),i.Bc(7,"-"),i.Sb(),i.Tb(8,"td",38),i.Bc(9,"-"),i.Sb(),i.Tb(10,"td",39),i.Bc(11,"-"),i.Sb(),i.Tb(12,"td",40),i.Bc(13,"-"),i.Sb(),i.Tb(14,"td",41),i.Bc(15,"-"),i.Sb(),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(4),i.lc("ngIf",t.Pending>0),i.Cb(1),i.lc("ngIf",0===t.Pending)}}function sq(t,e){1&t&&i.Ac(0,rq,16,2,"tr",27),2&t&&i.lc("ngIf",e.$implicit.Pending>0)}function aq(t,e){if(1&t&&(i.Tb(0,"table",35),i.Tb(1,"thead"),i.Tb(2,"tr"),i.Ob(3,"th"),i.Tb(4,"th",23),i.Bc(5,"Orders"),i.Sb(),i.Tb(6,"th",23),i.Bc(7,"Shipped"),i.Sb(),i.Tb(8,"th",28),i.Bc(9,"Suspended"),i.Sb(),i.Tb(10,"th",28),i.Bc(11,"Resubmitted"),i.Sb(),i.Tb(12,"th",28),i.Bc(13,"Canceled"),i.Sb(),i.Tb(14,"th",28),i.Bc(15,"Errors"),i.Sb(),i.Sb(),i.Sb(),i.Tb(16,"tbody"),i.Ac(17,eq,21,13,"tr",24),i.Ac(18,sq,1,1,"ng-template",36),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(17),i.lc("ngForOf",t.fulfillment),i.Cb(1),i.lc("ngForOf",t.fulfillment)}}function oq(t,e){1&t&&(i.Tb(0,"div",29),i.Ob(1,"mat-spinner",30),i.Sb())}function lq(t,e){if(1&t&&(i.Tb(0,"div",29),i.Tb(1,"span",31),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.fulfillmentStatus)}}function cq(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td",46),i.Bc(2),i.Sb(),i.Tb(3,"td",47),i.Bc(4),i.Sb(),i.Tb(5,"td",48),i.Bc(6),i.gc(7,"number"),i.Sb(),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(2),i.Cc(t.ProductName),i.Cb(2),i.Cc(t.SKU),i.Cb(2),i.Cc(i.hc(7,3,t.Qty))}}function uq(t,e){if(1&t&&i.Ac(0,cq,8,5,"tr",27),2&t){const t=e.index,n=i.fc(2);i.lc("ngIf",t=n.products.length/2)}}function fq(t,e){if(1&t&&(i.Tb(0,"div",44),i.Tb(1,"div",45),i.Tb(2,"table",35),i.Tb(3,"thead"),i.Tb(4,"tr"),i.Tb(5,"th"),i.Bc(6,"Product"),i.Sb(),i.Tb(7,"th",22),i.Bc(8,"SKU"),i.Sb(),i.Tb(9,"th",23),i.Bc(10,"Qty"),i.Sb(),i.Sb(),i.Sb(),i.Tb(11,"tbody"),i.Ac(12,uq,1,1,"ng-template",36),i.Sb(),i.Sb(),i.Sb(),i.Tb(13,"div",45),i.Tb(14,"table",35),i.Tb(15,"thead"),i.Tb(16,"tr"),i.Tb(17,"th"),i.Bc(18,"Product"),i.Sb(),i.Tb(19,"th",22),i.Bc(20,"SKU"),i.Sb(),i.Tb(21,"th",23),i.Bc(22,"Qty"),i.Sb(),i.Sb(),i.Sb(),i.Tb(23,"tbody"),i.Ac(24,hq,1,1,"ng-template",36),i.Sb(),i.Sb(),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(12),i.lc("ngForOf",t.products),i.Cb(12),i.lc("ngForOf",t.products)}}function mq(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td",46),i.Bc(2),i.Sb(),i.Tb(3,"td",47),i.Bc(4),i.Sb(),i.Tb(5,"td",48),i.Bc(6),i.gc(7,"number"),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(2),i.Cc(t.ProductName),i.Cb(2),i.Cc(t.SKU),i.Cb(2),i.Cc(i.hc(7,3,t.Qty))}}function pq(t,e){if(1&t&&(i.Tb(0,"table",49),i.Tb(1,"thead"),i.Tb(2,"tr"),i.Tb(3,"th"),i.Bc(4,"Product"),i.Sb(),i.Tb(5,"th",22),i.Bc(6,"SKU"),i.Sb(),i.Tb(7,"th",23),i.Bc(8,"Qty"),i.Sb(),i.Sb(),i.Sb(),i.Tb(9,"tbody"),i.Ac(10,mq,8,5,"tr",24),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(10),i.lc("ngForOf",t.products)}}function bq(t,e){1&t&&(i.Tb(0,"div",29),i.Ob(1,"mat-spinner",30),i.Sb())}function gq(t,e){if(1&t&&(i.Tb(0,"div",29),i.Tb(1,"span",31),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.productsStatus)}}function _q(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Count))}}function yq(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function vq(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Errors))}}function wq(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function Sq(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Dc("",i.ic(2,1,t.Errors/t.Count*100,"1.2-2"),"%")}}function xq(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function Cq(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td"),i.Bc(2),i.Sb(),i.Tb(3,"td",23),i.Ac(4,_q,3,3,"span",27),i.Ac(5,yq,2,0,"span",27),i.Sb(),i.Tb(6,"td",50),i.Ac(7,vq,3,3,"span",27),i.Ac(8,wq,2,0,"span",27),i.Sb(),i.Tb(9,"td",41),i.Ac(10,Sq,3,4,"span",27),i.Ac(11,xq,2,0,"span",27),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(2),i.Cc(t.Method),i.Cb(2),i.lc("ngIf",t.Count>0),i.Cb(1),i.lc("ngIf",0===t.Count),i.Cb(2),i.lc("ngIf",t.Errors>0),i.Cb(1),i.lc("ngIf",0===t.Errors),i.Cb(2),i.lc("ngIf",t.Errors>0),i.Cb(1),i.lc("ngIf",0===t.Errors)}}function kq(t,e){if(1&t&&(i.Tb(0,"table",35),i.Tb(1,"thead"),i.Tb(2,"tr"),i.Tb(3,"th"),i.Bc(4,"Method"),i.Sb(),i.Tb(5,"th",23),i.Bc(6,"Total"),i.Sb(),i.Tb(7,"th",23),i.Bc(8,"Errors"),i.Sb(),i.Tb(9,"th",28),i.Bc(10,"Error %"),i.Sb(),i.Sb(),i.Sb(),i.Tb(11,"tbody"),i.Ac(12,Cq,12,7,"tr",24),i.Sb(),i.Sb()),2&t){const t=i.fc(2);i.Cb(12),i.lc("ngForOf",t.requests)}}function Tq(t,e){1&t&&(i.Tb(0,"div",29),i.Ob(1,"mat-spinner",30),i.Sb())}function Mq(t,e){if(1&t&&(i.Tb(0,"div",29),i.Tb(1,"span",31),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc(2);i.Cb(2),i.Cc(t.requestsStatus)}}const Dq=function(){return["ready","loading"]};function Lq(t,e){if(1&t&&(i.Tb(0,"div",3),i.Tb(1,"mat-card",4),i.Tb(2,"mat-card-header"),i.Tb(3,"mat-card-title",5),i.Tb(4,"div",6),i.Tb(5,"span"),i.Bc(6,"Web Service Requests"),i.Sb(),i.Tb(7,"span"),i.Bc(8,"(Last 10,000)"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(9,"mat-card-content"),i.Ac(10,kq,13,1,"table",11),i.Ac(11,Tq,2,0,"div",8),i.Ac(12,Mq,3,1,"div",8),i.Sb(),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(10),i.lc("ngIf","ready"===t.requestsStatus),i.Cb(1),i.lc("ngIf","loading"===t.requestsStatus),i.Cb(1),i.lc("ngIf",i.nc(3,Dq).indexOf(t.requestsStatus)<0)}}function Oq(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td"),i.Bc(2),i.gc(3,"date"),i.Sb(),i.Tb(4,"td",22),i.Bc(5),i.Sb(),i.Tb(6,"td",54),i.Tb(7,"div",26),i.Bc(8),i.Sb(),i.Sb(),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(2),i.Cc(i.ic(3,4,t.CreatedOn,"MM/dd hh:mm a")),i.Cb(3),i.Cc(t.Agent),i.Cb(1),i.mc("title",t.Message),i.Cb(2),i.Cc(t.Message)}}function Aq(t,e){1&t&&i.Ac(0,Oq,9,7,"tr",27),2&t&&i.lc("ngIf",e.index<5)}function Eq(t,e){if(1&t&&(i.Tb(0,"table",51),i.Tb(1,"thead"),i.Tb(2,"tr"),i.Tb(3,"th",52),i.Bc(4,"Date/Time"),i.Sb(),i.Tb(5,"th",53),i.Bc(6,"Agent"),i.Sb(),i.Tb(7,"th"),i.Bc(8,"Error Message"),i.Sb(),i.Sb(),i.Sb(),i.Tb(9,"tbody"),i.Ac(10,Aq,1,1,"ng-template",36),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(10),i.lc("ngForOf",t.agentErrors)}}function Iq(t,e){1&t&&(i.Tb(0,"div",29),i.Ob(1,"mat-spinner",30),i.Sb())}function Rq(t,e){if(1&t&&(i.Tb(0,"div",29),i.Tb(1,"span",31),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.agentErrorsStatus)}}function Yq(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Count))}}function jq(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function Nq(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td"),i.Bc(2),i.Sb(),i.Tb(3,"td",54),i.Tb(4,"div",26),i.Bc(5),i.Sb(),i.Sb(),i.Tb(6,"td",28),i.Ac(7,Yq,3,3,"span",27),i.Ac(8,jq,2,0,"span",27),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(2),i.Cc(t.Method),i.Cb(1),i.mc("title",t.ErrorMessage),i.Cb(2),i.Cc(t.ErrorMessage),i.Cb(2),i.lc("ngIf",t.Count>0),i.Cb(1),i.lc("ngIf",0===t.Count)}}function Pq(t,e){if(1&t&&(i.Tb(0,"table",56),i.Tb(1,"thead"),i.Tb(2,"tr"),i.Tb(3,"th",57),i.Bc(4,"Method"),i.Sb(),i.Tb(5,"th"),i.Bc(6,"Error Message"),i.Sb(),i.Tb(7,"th",58),i.Bc(8,"Count"),i.Sb(),i.Sb(),i.Sb(),i.Tb(9,"tbody"),i.Ac(10,Nq,9,5,"tr",24),i.Sb(),i.Sb()),2&t){const t=i.fc(2);i.Cb(10),i.lc("ngForOf",t.errors)}}function Fq(t,e){1&t&&(i.Tb(0,"div",29),i.Ob(1,"mat-spinner",30),i.Sb())}function Bq(t,e){if(1&t&&(i.Tb(0,"div",29),i.Tb(1,"span",31),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc(2);i.Cb(2),i.Cc(t.errorsStatus)}}function Hq(t,e){if(1&t&&(i.Tb(0,"div",0),i.Tb(1,"mat-card",9),i.Tb(2,"mat-card-header"),i.Tb(3,"mat-card-title",5),i.Tb(4,"div",6),i.Tb(5,"span"),i.Bc(6,"Web Service Errors"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(7,"mat-card-content"),i.Ac(8,Pq,11,1,"table",55),i.Ac(9,Fq,2,0,"div",8),i.Ac(10,Bq,3,1,"div",8),i.Sb(),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(8),i.lc("ngIf","ready"===t.errorsStatus),i.Cb(1),i.lc("ngIf","loading"===t.errorsStatus),i.Cb(1),i.lc("ngIf",i.nc(3,Dq).indexOf(t.errorsStatus)<0)}}let Vq=(()=>{class t{constructor(t,e,n,i){this.auth=t,this.ls=e,this.prodService=n,this.pubService=i,this.agentErrors=[],this.agentErrorsStatus="loading",this.dt1=DH().subtract(30,"days").toDate(),this.dt2=DH().toDate(),this.errors=[],this.errorsStatus="loading",this.fulfillment=[],this.fulfillmentStatus="loading",this.products=[],this.productsStatus="loading",this.publications=[],this.publicationsStatus="loading",this.requests=[],this.requestsStatus="loading",this.today=new Date,this.subscriptions=[],this.zetaStatus="loading"}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}ngOnInit(){this.subscriptions.push(this.auth.user$.subscribe(t=>{void 0!==t&&(this.user=t)})),this.pubService.publicationStats().then(t=>{t.success?(this.publications=t.data,this.publicationsStatus="ready"):this.publicationsStatus=t.error||"Error loading data."}),this.pubService.zetaCampaignData(this.dt1,this.dt2).then(t=>{t.success?(this.zeta={reactivation:this.pubService.filterCampaign(t.data,"reactivation",this.inRange.bind(this)),weekly:this.pubService.filterCampaign(t.data,"weekly",this.inRange.bind(this)),welcome:this.pubService.filterCampaign(t.data,"welcome",this.inRange.bind(this))},this.zeta.reactivation.forEach((t,e)=>this.updateTotals("reactivation",t,e)),this.zeta.weekly.forEach((t,e)=>this.updateTotals("weekly",t,e)),this.zeta.welcome.forEach((t,e)=>this.updateTotals("welcome",t,e)),this.zetaStatus="ready"):this.zetaStatus=t.error||"Error loading data."}),this.prodService.fulfillmentStats().then(t=>{t.success?(this.fulfillment=t.data,this.fulfillmentStatus="ready"):this.fulfillmentStatus=t.error||"Error loading data."}),this.prodService.orderItemStats().then(t=>{t.success?(this.products=t.data,this.productsStatus="ready"):this.productsStatus=t.error||"Error loading data."}),this.prodService.agentErrors().then(t=>{t.success?(this.agentErrors=t.data,this.agentErrorsStatus="ready"):this.agentErrorsStatus=t.error||"Error loading data."}),this.subscriptions.push(this.ls.serviceLogStats$.subscribe(t=>{try{const e=[];t.forEach(t=>{const n=e.find(e=>e.Method===t.method);n?(n.Count++,t.responseCode>0&&n.Errors++):e.push({Method:t.method,Count:1,Errors:t.responseCode>0?1:0})}),this.requests=e.sort((t,e)=>t.Method>e.Method?1:t.Method{try{const e=[];t.forEach(t=>{const n=e.find(e=>e.Method===t.method&&e.ErrorMessage===t.errorMessage);n?n.Count++:e.push({Method:t.method,ErrorMessage:t.errorMessage,Count:1})}),this.errors=e.sort((t,e)=>t.Count>e.Count?-1:t.Count=i||e<=r&&n>=r}updateTotals(t,e,n){if(0===n)switch(t){case"reactivation":this.totalsReactivation={CampaignName:"Reactivation",CampaignTags:"",MinDeployDate:"",MaxDeployDate:"",Sent:0,Delivered:0,OpenedUnique:0,Opened:0,ClickedUnique:0,Clicked:0,Unsubscribed:0};break;case"weekly":this.totalsWeekly={CampaignName:"Weekly",CampaignTags:"",MinDeployDate:"",MaxDeployDate:"",Sent:0,Delivered:0,OpenedUnique:0,Opened:0,ClickedUnique:0,Clicked:0,Unsubscribed:0};break;case"welcome":this.totalsWelcome={CampaignName:"Welcome",CampaignTags:"",MinDeployDate:"",MaxDeployDate:"",Sent:0,Delivered:0,OpenedUnique:0,Opened:0,ClickedUnique:0,Clicked:0,Unsubscribed:0}}let i;switch(t){case"reactivation":i=this.totalsReactivation;break;case"weekly":i=this.totalsWeekly;break;case"welcome":i=this.totalsWelcome}i.Sent+=e.Sent,i.Delivered+=e.Delivered,i.OpenedUnique+=e.OpenedUnique,i.Opened+=e.Opened,i.ClickedUnique+=e.ClickedUnique,i.Clicked+=e.Clicked,i.Unsubscribed+=e.Unsubscribed}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(gH),i.Nb(xH),i.Nb(LH),i.Nb(OH))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-dashboard"]],decls:73,vars:28,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto"],["fxFlex","1 1 auto","fxLayout.lt-md","column","fxLayout.gt-sm","row","fxLayoutGap","24px"],["fxFlex.lt-md","1 1 auto","fxFlex.gt-sm","0 0 calc(50% - 12px)"],["fxFlex","0 0 100",1,"mat-elevation-z3"],["fxLayoutAlign.xs","center center"],["fxLayout.xs","column","fxLayout.gt-xs","row","fxLayoutGap","6px"],["class","table table-sm","ngClass.xs","table-fixed",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["fxLayout.xs","column","fxLayout.gt-xs","row","fxLayout","start start","fxLayoutGap","6px"],["class","table table-sm mb-0",4,"ngIf"],["fxFlex","1 1 auto","fxLayout","row","fxLayoutGap","18px","fxHide.xs","",4,"ngIf"],["class","table table-sm mb-0","fxHide.gt-xs","",4,"ngIf"],["fxFlex.lt-md","1 1 auto","fxFlex.gt-sm","0 0 calc(50% - 12px)",4,"ngIf"],["fxFlex.lt-md","1 1 auto",3,"fxFlex.gt-sm"],["class","table table-sm mb-0","style","table-layout:fixed",4,"ngIf"],["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px",4,"ngIf"],["ngClass.xs","table-fixed",1,"table","table-sm"],["rowspan","2","ngStyle.xs","width:60%"],["rowspan","2",1,"text-right"],["colspan","3","fxHide.xs","",1,"text-center"],["fxHide.xs",""],[1,"text-right"],[4,"ngFor","ngForOf"],["ngStyle.xs","width:60%"],[1,"text-truncate"],[4,"ngIf"],["fxHide.xs","",1,"text-right"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],["color","accent"],[1,"error"],["class","d-none",4,"ngFor","ngForOf"],[1,""],[1,"d-none"],[1,"table","table-sm","mb-0"],["ngFor","",3,"ngForOf"],[1,"text-right","text-success"],["fxHide.xs","",1,"text-right","text-info"],["fxHide.xs","",1,"text-right","text-muted"],["fxHide.xs","",1,"text-right","text-warning"],["fxHide.xs","",1,"text-right","text-danger"],[1,"text-muted"],[1,"text-right","text-muted"],["fxFlex","1 1 auto","fxLayout","row","fxLayoutGap","18px","fxHide.xs",""],["fxFlex","0 0 calc(50% - 9px)"],[1,"small"],["fxHide.xs","",1,"small"],[1,"small","text-right"],["fxHide.gt-xs","",1,"table","table-sm","mb-0"],[1,"text-right","text-danger"],[1,"table","table-sm","mb-0",2,"table-layout","fixed"],[2,"width","130px"],["fxHide.xs","",2,"width","200px"],[3,"title"],["style","table-layout:fixed;","class","table table-sm",4,"ngIf"],[1,"table","table-sm",2,"table-layout","fixed"],["ngStyle.gt-xs","width:150px;"],["fxHide.xs","",1,"text-right",2,"width","80px"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"h2"),i.Bc(3),i.gc(4,"date"),i.Sb(),i.Sb(),i.Tb(5,"div",2),i.Tb(6,"div",3),i.Tb(7,"mat-card",4),i.Tb(8,"mat-card-header"),i.Tb(9,"mat-card-title",5),i.Tb(10,"div",6),i.Tb(11,"span"),i.Bc(12,"E-Newsletter Subscribers"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(13,"mat-card-content"),i.Ac(14,AW,18,1,"table",7),i.Ac(15,EW,2,0,"div",8),i.Ac(16,IW,3,1,"div",8),i.Sb(),i.Sb(),i.Sb(),i.Tb(17,"div",3),i.Tb(18,"mat-card",9),i.Tb(19,"mat-card-header"),i.Tb(20,"mat-card-title",5),i.Tb(21,"div",10),i.Tb(22,"div",6),i.Tb(23,"span"),i.Bc(24,"E-Newsletter Campaigns"),i.Sb(),i.Tb(25,"span"),i.Bc(26,"(Past 30 Days)"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(27,"mat-card-content"),i.Ac(28,BW,16,3,"table",7),i.Ac(29,HW,2,0,"div",8),i.Ac(30,VW,3,1,"div",8),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(31,"div",2),i.Tb(32,"div",3),i.Tb(33,"mat-card",4),i.Tb(34,"mat-card-header"),i.Tb(35,"mat-card-title",5),i.Tb(36,"div",6),i.Tb(37,"span"),i.Bc(38,"Visitor Guide Fulfillment"),i.Sb(),i.Tb(39,"span"),i.Bc(40,"(Past 30 Days)"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(41,"mat-card-content"),i.Ac(42,aq,19,2,"table",11),i.Ac(43,oq,2,0,"div",8),i.Ac(44,lq,3,1,"div",8),i.Sb(),i.Sb(),i.Sb(),i.Tb(45,"div",3),i.Tb(46,"mat-card",9),i.Tb(47,"mat-card-header"),i.Tb(48,"mat-card-title",5),i.Tb(49,"div",6),i.Tb(50,"span"),i.Bc(51,"Products Shipped"),i.Sb(),i.Tb(52,"span"),i.Bc(53,"(Past 30 Days)"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(54,"mat-card-content"),i.Ac(55,fq,25,2,"div",12),i.Ac(56,pq,11,1,"table",13),i.Ac(57,bq,2,0,"div",8),i.Ac(58,gq,3,1,"div",8),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(59,"div",2),i.Ac(60,Lq,13,4,"div",14),i.Tb(61,"div",15),i.Tb(62,"mat-card",9),i.Tb(63,"mat-card-header"),i.Tb(64,"mat-card-title",5),i.Tb(65,"div",6),i.Tb(66,"span"),i.Bc(67,"Order Processing Errors"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(68,"mat-card-content"),i.Ac(69,Eq,11,1,"table",16),i.Ac(70,Iq,2,0,"div",8),i.Ac(71,Rq,3,1,"div",8),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Ac(72,Hq,11,4,"div",17),i.Sb()),2&t&&(i.Cb(3),i.Cc(i.ic(4,20,e.today,"EEEE, MMMM d, yyyy")),i.Cb(11),i.lc("ngIf","ready"===e.publicationsStatus),i.Cb(1),i.lc("ngIf","loading"===e.publicationsStatus),i.Cb(1),i.lc("ngIf",i.nc(23,Dq).indexOf(e.publicationsStatus)<0),i.Cb(12),i.lc("ngIf","ready"===e.zetaStatus),i.Cb(1),i.lc("ngIf","loading"===e.zetaStatus),i.Cb(1),i.lc("ngIf",i.nc(24,Dq).indexOf(e.zetaStatus)<0),i.Cb(12),i.lc("ngIf","ready"===e.fulfillmentStatus),i.Cb(1),i.lc("ngIf","loading"===e.fulfillmentStatus),i.Cb(1),i.lc("ngIf",i.nc(25,Dq).indexOf(e.fulfillmentStatus)<0),i.Cb(11),i.lc("ngIf","ready"===e.productsStatus),i.Cb(1),i.lc("ngIf","ready"===e.productsStatus),i.Cb(1),i.lc("ngIf","loading"===e.productsStatus),i.Cb(1),i.lc("ngIf",i.nc(26,Dq).indexOf(e.productsStatus)<0),i.Cb(2),i.lc("ngIf","Admin"===(null==e.user?null:e.user.role)),i.Cb(1),i.lc("fxFlex.gt-sm","Admin"===(null==e.user?null:e.user.role)?"0 0 calc(50% - 12px)":"1 1 auto"),i.Cb(8),i.lc("ngIf","ready"===e.agentErrorsStatus),i.Cb(1),i.lc("ngIf","loading"===e.agentErrorsStatus),i.Cb(1),i.lc("ngIf",i.nc(27,Dq).indexOf(e.agentErrorsStatus)<0),i.Cb(1),i.lc("ngIf","Admin"===(null==e.user?null:e.user.role)))},directives:[Xu,Ou,Nu,Of,Af,Df,sd,Mf,pt,Zc,mu,au,ft,g_],pipes:[Lt,At],styles:[""]}),t})();function zq(t,e){if(1&t){const t=i.Ub();i.Tb(0,"button",12),i.bc("click",function(){return i.sc(t),i.fc().clear()}),i.Tb(1,"mat-icon"),i.Bc(2,"close"),i.Sb(),i.Sb()}}function Uq(t,e){1&t&&(i.Tb(0,"th",37),i.Bc(1,"Order #"),i.Sb())}function Wq(t,e){if(1&t&&(i.Tb(0,"td",38),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.OrderNumber)}}function qq(t,e){1&t&&(i.Tb(0,"th",39),i.Bc(1,"Submitted"),i.Sb())}function Gq(t,e){if(1&t&&(i.Tb(0,"td",40),i.Tb(1,"span",41),i.Bc(2),i.gc(3,"date"),i.Sb(),i.Tb(4,"span",42),i.Bc(5),i.gc(6,"date"),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(2),i.Cc(i.ic(3,2,t.SubmittedOn,"MM/dd hh:mm a")),i.Cb(3),i.Cc(i.ic(6,5,t.SubmittedOn,"MM/dd/YY hh:mm a"))}}function $q(t,e){1&t&&(i.Tb(0,"th",39),i.Bc(1,"Name"),i.Sb())}function Xq(t,e){if(1&t&&(i.Tb(0,"td",40),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Ec(" ",t.FirstName," ",t.LastName," ")}}function Kq(t,e){1&t&&(i.Tb(0,"th",43),i.Bc(1,"Address"),i.Sb())}function Jq(t,e){if(1&t&&(i.Tb(0,"td",44),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Gc(" ",t.Address1,"",t.Address2?" "+t.Address2:"",", ",t.City,", ",t.StateProvince," ")}}function Qq(t,e){1&t&&(i.Tb(0,"th",37),i.Bc(1,"Country"),i.Sb())}function Zq(t,e){if(1&t&&(i.Tb(0,"td",38),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.Country)}}function tG(t,e){1&t&&(i.Tb(0,"th",45),i.Bc(1,"Qty"),i.Sb())}function eG(t,e){if(1&t&&(i.Tb(0,"td",46),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Qty))}}function nG(t,e){1&t&&(i.Tb(0,"th",37),i.Bc(1,"Status"),i.Sb())}function iG(t,e){if(1&t&&(i.Tb(0,"td",38),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.StatusName)}}function rG(t,e){1&t&&(i.Tb(0,"th",47),i.Bc(1,"Notes"),i.Sb())}function sG(t,e){if(1&t&&(i.Tb(0,"td",48),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.StatusText)}}function aG(t,e){1&t&&i.Ob(0,"tr",49)}function oG(t,e){if(1&t){const t=i.Ub();i.Tb(0,"tr",50),i.bc("click",function(){i.sc(t);const n=e.$implicit;return i.fc(3).showOrder(n)}),i.Sb()}}function lG(t,e){if(1&t&&(i.Tb(0,"table",16),i.Rb(1,17),i.Ac(2,Uq,2,0,"th",18),i.Ac(3,Wq,2,1,"td",19),i.Qb(),i.Rb(4,20),i.Ac(5,qq,2,0,"th",21),i.Ac(6,Gq,7,8,"td",22),i.Qb(),i.Rb(7,23),i.Ac(8,$q,2,0,"th",21),i.Ac(9,Xq,2,2,"td",22),i.Qb(),i.Rb(10,24),i.Ac(11,Kq,2,0,"th",25),i.Ac(12,Jq,2,4,"td",26),i.Qb(),i.Rb(13,27),i.Ac(14,Qq,2,0,"th",18),i.Ac(15,Zq,2,1,"td",19),i.Qb(),i.Rb(16,28),i.Ac(17,tG,2,0,"th",29),i.Ac(18,eG,3,3,"td",30),i.Qb(),i.Rb(19,31),i.Ac(20,nG,2,0,"th",18),i.Ac(21,iG,2,1,"td",19),i.Qb(),i.Rb(22,32),i.Ac(23,rG,2,0,"th",33),i.Ac(24,sG,2,1,"td",34),i.Qb(),i.Ac(25,aG,1,0,"tr",35),i.Ac(26,oG,1,0,"tr",36),i.Sb()),2&t){const t=i.fc(2);i.lc("dataSource",t.orders),i.Cb(25),i.lc("matHeaderRowDef",t.columns),i.Cb(1),i.lc("matRowDefColumns",t.columns)}}function cG(t,e){1&t&&(i.Tb(0,"div",51),i.Bc(1," No orders found. "),i.Sb())}function uG(t,e){1&t&&(i.Tb(0,"div",51),i.Ob(1,"mat-spinner",52),i.Sb())}function dG(t,e){if(1&t&&(i.Tb(0,"div",51),i.Tb(1,"span",53),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc(2);i.Cb(2),i.Cc(t.errorMessage)}}function hG(t,e){if(1&t&&(i.Tb(0,"mat-card",13),i.Tb(1,"mat-card-content"),i.Ac(2,lG,27,3,"table",14),i.Ac(3,cG,2,0,"div",15),i.Ac(4,uG,2,0,"div",15),i.Ac(5,dG,3,1,"div",15),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.lc("ngIf",t.orders&&t.orders.length>0&&!t.loading&&!t.errorMessage),i.Cb(1),i.lc("ngIf",0===(null==t.orders?null:t.orders.length)&&!t.loading&&!t.errorMessage),i.Cb(1),i.lc("ngIf",t.loading),i.Cb(1),i.lc("ngIf",t.errorMessage)}}let fG=(()=>{class t{constructor(t,e){this.prodService=t,this.dialog=e,this.columns=["OrderNumber","SubmittedOn","FullName","Address","Country","Qty","StatusName","StatusText"],this.form=new oa({criteria:new aa("")}),this.loading=!1}clear(){const t=this.form.get("criteria");t&&t.setValue("")}find(){var t;return kT(this,void 0,void 0,function*(){if(!this.loading){const e=((null===(t=this.form.get("criteria"))||void 0===t?void 0:t.value)||"").trim();if(e.length){this.loading=!0;const t=yield this.prodService.findOrders(e);t.success?(this.orders=t.data,this.errorMessage=void 0):(this.orders=[],this.errorMessage=t.error),this.loading=!1}}})}showOrder(t){this.dialog.open(Xz,{ariaLabel:"Order Detail",data:{mode:"view",order:t},maxWidth:800,width:"calc(100% - 20px)"})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(LH),i.Nb(Zp))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-find-order"]],decls:22,vars:5,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto"],["fxFlex","1 1 auto",1,"tools","mat-elevation-z3"],[3,"formGroup"],["fxFlex","1 1 auto","fxLayout","row","fxLayoutGap","12px"],["appearance","fill","fxFlex","0 1 300px"],["matInput","","autocomplete","off","formControlName","criteria","placeholder","Enter your search criteria","type","text",3,"keyup.enter"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear","fxHide.xs","",3,"click",4,"ngIf"],["fxFlex","0 0 auto","fxLayoutAlign","center center"],["mat-raised-button","","color","accent","aria-label","Search","fxLayout","row","fxLayoutAlign","center center","fxHide.xs","",1,"btn-icon",3,"disabled","click"],["mat-mini-fab","","aria-label","Search","fxHide.gt-xs","",3,"disabled","click"],["class","mat-elevation-z3","fxFlex","1 1 auto",4,"ngIf"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear","fxHide.xs","",3,"click"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["fxFlex","1 1 auto","mat-table","",3,"dataSource",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],["fxFlex","1 1 auto","mat-table","",3,"dataSource"],["matColumnDef","OrderNumber"],["mat-header-cell","","fxHide.xs","",4,"matHeaderCellDef"],["mat-cell","","fxHide.xs","",4,"matCellDef"],["matColumnDef","SubmittedOn"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","FullName"],["matColumnDef","Address"],["mat-header-cell","","fxHide.lt-lg","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-lg","",4,"matCellDef"],["matColumnDef","Country"],["matColumnDef","Qty"],["mat-header-cell","","fxHide.lt-md","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-md","",4,"matCellDef"],["matColumnDef","StatusName"],["matColumnDef","StatusText"],["mat-header-cell","","fxHide.lt-xl","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-xl","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","data row-clickable","mat-row","",3,"click",4,"matRowDef","matRowDefColumns"],["mat-header-cell","","fxHide.xs",""],["mat-cell","","fxHide.xs",""],["mat-header-cell",""],["mat-cell",""],["fxHide.gt-sm",""],["fxHide.lt-md",""],["mat-header-cell","","fxHide.lt-lg",""],["mat-cell","","fxHide.lt-lg",""],["mat-header-cell","","fxHide.lt-md",""],["mat-cell","","fxHide.lt-md",""],["mat-header-cell","","fxHide.lt-xl",""],["mat-cell","","fxHide.lt-xl",""],["mat-header-row",""],["mat-row","",1,"data","row-clickable",3,"click"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],["color","accent"],[1,"error"]],template:function(t,e){if(1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"h2"),i.Bc(3,"Find Order"),i.Sb(),i.Sb(),i.Tb(4,"mat-card",2),i.Tb(5,"mat-card-content",3),i.Tb(6,"div",4),i.Tb(7,"mat-form-field",5),i.Tb(8,"mat-label"),i.Bc(9,"Search Criteria"),i.Sb(),i.Tb(10,"input",6),i.bc("keyup.enter",function(){return e.find()}),i.Sb(),i.Ac(11,zq,3,0,"button",7),i.Sb(),i.Tb(12,"div",8),i.Tb(13,"button",9),i.bc("click",function(){return e.find()}),i.Tb(14,"mat-icon"),i.Bc(15,"search"),i.Sb(),i.Tb(16,"span"),i.Bc(17,"Search"),i.Sb(),i.Sb(),i.Tb(18,"button",10),i.bc("click",function(){return e.find()}),i.Tb(19,"mat-icon"),i.Bc(20,"search"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Ac(21,hG,6,4,"mat-card",11),i.Sb()),2&t){let t=null;i.Cb(5),i.lc("formGroup",e.form),i.Cb(6),i.lc("ngIf",null==(t=e.form.get("criteria"))||null==t.value?null:t.value.length),i.Cb(2),i.lc("disabled",e.loading),i.Cb(5),i.lc("disabled",e.loading),i.Cb(3),i.lc("ngIf",e.orders||e.loading)}},directives:[Xu,Ou,Nu,Of,Mf,Ss,ga,Lm,ym,pb,Zr,ws,ya,pt,sd,wf,au,Hg,xm,Dv,Rv,Ev,Ov,Bv,Vv,jv,Pv,Uv,qv,g_],pipes:[Lt,At],styles:["td[_ngcontent-%COMP%]{font-size:12px;line-height:18px}"]}),t})();function mG(t,e){if(1&t){const t=i.Ub();i.Tb(0,"button",48),i.bc("click",function(){i.sc(t);const n=e.$implicit;return i.fc(2).setMarket(n.market.name)}),i.Bc(1),i.gc(2,"number"),i.Sb()}if(2&t){const t=e.$implicit,n=i.fc(2);i.lc("ngClass",t.market.name===n.market?"button-tab-selected":"button-tab"),i.Cb(1),i.Ec(" ",t.market.displayName||t.market.name," (",i.hc(2,3,t[n.orderType]),") ")}}function pG(t,e){if(1&t){const t=i.Ub();i.Tb(0,"th",49),i.Tb(1,"mat-checkbox",50),i.bc("ngModelChange",function(e){return i.sc(t),i.fc(2).all=e})("change",function(){return i.sc(t),i.fc(2).selectAll()}),i.Sb(),i.Sb()}if(2&t){const t=i.fc(2);i.Cb(1),i.lc("ngModel",t.all)}}function bG(t,e){if(1&t){const t=i.Ub();i.Tb(0,"td",51),i.Tb(1,"mat-checkbox",52),i.bc("ngModelChange",function(t){return e.$implicit.selected=t})("click",function(e){return i.sc(t),i.fc(2).click(e)})("change",function(){return i.sc(t),i.fc(2).checkSelected()}),i.Sb(),i.Sb()}if(2&t){const t=e.$implicit;i.Cb(1),i.lc("ngModel",t.selected)}}function gG(t,e){1&t&&(i.Tb(0,"th",53),i.Bc(1,"Order #"),i.Sb())}function _G(t,e){if(1&t&&(i.Tb(0,"td",54),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.OrderNumber)}}function yG(t,e){1&t&&(i.Tb(0,"th",55),i.Bc(1,"Name & Company"),i.Sb())}function vG(t,e){if(1&t&&(i.Tb(0,"td",56),i.Bc(1),i.Ob(2,"br"),i.Bc(3),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Ec(" ",t.FirstName," ",t.LastName,""),i.Cb(2),i.Dc("",t.Company," ")}}function wG(t,e){1&t&&(i.Tb(0,"th",55),i.Bc(1,"Address"),i.Sb())}function SG(t,e){if(1&t&&(i.Bc(0),i.Ob(1,"br")),2&t){const t=i.fc().$implicit;i.Cc(t.Address2)}}function xG(t,e){if(1&t&&(i.Tb(0,"td",56),i.Bc(1),i.Ob(2,"br"),i.Ac(3,SG,2,1,"ng-template",57),i.Bc(4),i.Ob(5,"br"),i.Bc(6),i.Ob(7,"br"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Dc(" ",t.Address1,""),i.Cb(2),i.lc("ngIf",t.Address2),i.Cb(1),i.Fc(" ",t.City,", ",t.StateProvince," ",t.Zip,""),i.Cb(2),i.Dc(" ",t.Country,"")}}function CG(t,e){1&t&&(i.Tb(0,"th",58),i.Bc(1,"Contact"),i.Sb())}function kG(t,e){if(1&t&&(i.Ob(0,"br"),i.Bc(1)),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(t.Phone)}}function TG(t,e){if(1&t&&(i.Tb(0,"td",59),i.Bc(1),i.Ac(2,kG,2,1,"ng-template",57),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Dc(" ",t.Email," "),i.Cb(1),i.lc("ngIf",t.Phone)}}function MG(t,e){1&t&&(i.Tb(0,"th",58),i.Bc(1,"Qty"),i.Sb())}function DG(t,e){if(1&t&&(i.Tb(0,"td",59),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Dc(" ",i.hc(2,1,t.qty)," ")}}function LG(t,e){1&t&&(i.Tb(0,"th",60),i.Bc(1,"Submitted"),i.Sb())}function OG(t,e){if(1&t&&(i.Tb(0,"td",61),i.Tb(1,"span",62),i.Bc(2),i.gc(3,"date"),i.Sb(),i.Tb(4,"span",63),i.Bc(5),i.gc(6,"date"),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(2),i.Cc(i.ic(3,2,t.OrderDate,"MM/dd hh:mm a")),i.Cb(3),i.Cc(i.ic(6,5,t.OrderDate,"MM/dd/YY hh:mm a"))}}function AG(t,e){1&t&&i.Ob(0,"tr",64)}function EG(t,e){if(1&t){const t=i.Ub();i.Tb(0,"tr",65),i.bc("click",function(){i.sc(t);const n=e.$implicit;return i.fc(2).showOrder(n)}),i.Sb()}}function IG(t,e){if(1&t&&(i.Tb(0,"div",24),i.Tb(1,"div",25),i.Ac(2,mG,3,5,"button",26),i.gc(3,"async"),i.Sb(),i.Tb(4,"div",27),i.Tb(5,"table",28),i.Rb(6,29),i.Ac(7,pG,2,1,"th",30),i.Ac(8,bG,2,1,"td",31),i.Qb(),i.Rb(9,32),i.Ac(10,gG,2,0,"th",33),i.Ac(11,_G,2,1,"td",34),i.Qb(),i.Rb(12,35),i.Ac(13,yG,2,0,"th",36),i.Ac(14,vG,4,3,"td",37),i.Qb(),i.Rb(15,38),i.Ac(16,wG,2,0,"th",36),i.Ac(17,xG,8,6,"td",37),i.Qb(),i.Rb(18,39),i.Ac(19,CG,2,0,"th",40),i.Ac(20,TG,3,2,"td",41),i.Qb(),i.Rb(21,42),i.Ac(22,MG,2,0,"th",40),i.Ac(23,DG,3,3,"td",41),i.Qb(),i.Rb(24,43),i.Ac(25,LG,2,0,"th",44),i.Ac(26,OG,7,8,"td",45),i.Qb(),i.Ac(27,AG,1,0,"tr",46),i.Ac(28,EG,1,0,"tr",47),i.Sb(),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.lc("ngForOf",i.hc(3,4,t.stats)),i.Cb(3),i.lc("dataSource",t.orders),i.Cb(22),i.lc("matHeaderRowDef",t.columns),i.Cb(1),i.lc("matRowDefColumns",t.columns)}}function RG(t,e){1&t&&(i.Tb(0,"div",66),i.Ob(1,"mat-spinner",67),i.Sb())}function YG(t,e){if(1&t&&(i.Tb(0,"div",68),i.Tb(1,"span",69),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.statsStatus)}}function jG(t,e){if(1&t&&(i.Tb(0,"div",68),i.Tb(1,"span",69),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.ordersStatus)}}const NG=function(t){return{spin:t}},PG=function(){return["ready","loading"]};let FG=(()=>{class t{constructor(t,e){this.prodService=t,this.dialog=e,this.acceptEnabled=!1,this.columns=["Checkbox","OrderNumber","NameCompany","Address","Contact","Qty","OrderDate"],this.market="US",this.ordersStatus="loading",this.orderType="bulk",this.refreshing=!1,this.all=!1,this.anySelected=!1,this.statsStatus="loading",this.orders=new ho([]),this.stats=new ho([])}ngOnInit(){this.setAccepted(),this.refresh()}checkSelected(){const t=this.orders.value;if(null==t?void 0:t.length){let e=!0,n=!1;t.forEach(t=>{t.selected?n=!0:e=!1}),this.all=e,this.anySelected=n}else this.all=!1,this.anySelected=!1}click(t){t.stopPropagation()}loadMarketStats(){return kT(this,void 0,void 0,function*(){const t=yield this.prodService.marketOrders();t.success?(this.stats.next(t.data),this.statsStatus="ready"):this.statsStatus=t.error||"Error loading data."})}loadSubmitted(){return kT(this,void 0,void 0,function*(){const t=yield this.prodService.submitted(this.market,"bulk"===this.orderType);t.success?(this.orders.next(t.data),this.ordersStatus="ready",this.checkSelected()):this.ordersStatus=t.error||"Error loading data."})}orderAction(t){return kT(this,void 0,void 0,function*(){const e=[];this.orders.value.forEach(t=>{t.selected&&e.push(t.OrderNumber)}),e.length>0&&(yield this.prodService.orderAction(e,t),this.refresh())})}refresh(){this.refreshing=!0,Promise.all([this.loadMarketStats(),this.loadSubmitted()]).then(()=>this.refreshing=!1)}selectAll(){const t=this.orders.value;t.forEach(t=>t.selected=this.all),this.anySelected=this.all,this.orders.next(t)}setAccepted(){this.acceptEnabled="bulk"===this.orderType?"US"===this.market:["UK","Germany","Australia","France","Italy"].indexOf(this.market)<0}setOrderType(){this.setAccepted(),this.refresh()}setMarket(t){this.market=t,this.setAccepted(),this.refresh()}showOrder(t){return kT(this,void 0,void 0,function*(){const e=this.dialog.open(Xz,{ariaLabel:"Order Detail",data:{mode:"edit",order:t},maxWidth:800,width:"calc(100% - 20px)"}),n=yield e.afterClosed().toPromise();if("save"===(null==n?void 0:n.action)){const e=this.orders.value,i=n.order,r=e.findIndex(e=>e.OrderNumber===t.OrderNumber);e[r].FirstName=i.firstName,e[r].LastName=i.lastName,e[r].Company=i.company,e[r].Address1=i.address1,e[r].Address2=i.address2,e[r].City=i.city,e[r].StateProvince=i.stateProvince,e[r].Zip=i.postalCode,e[r].Country=i.country,e[r].Email=i.email,e[r].Phone=i.phone;let s=0;i.orderItems.forEach(t=>s+=t.qty),e[r].qty=s,this.orders.next(e)}})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(LH),i.Nb(Zp))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-incoming-orders"]],decls:47,vars:15,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto"],["fxFlex","1 1 auto","fxLayout","row","fxLayoutGap","24px"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["fxLayout","column","fxLayoutGap","12px"],["fxFlex","0 0 56px","fxLayout","row","fxLayoutGap","12px",1,"tools","bg-tools"],["fxFlex","0 0 auto","fxLayout","row","fxLayoutAlign","start center","fxLayoutGap","12px","aria-label","Order type",3,"ngModel","ngModelChange","change"],["value","bulk"],["fxHide.xs",""],["fxHide.gt-xs",""],["value","single"],["fxFlex","0 0 auto","fxLayoutAlign","start center","fxHide.xs",""],[1,"tool-divider"],["fxFlex","0 0 auto","fxLayoutAlign","start center"],["mat-raised-button","","color","accent","aria-label","Accept Selected","fxLayout","row","fxLayoutAlign","center center","fxHide.xs","",1,"btn-icon",3,"disabled","click"],["mat-mini-fab","","aria-label","Accept Selected","fxHide.gt-xs","",3,"disabled","click"],["mat-raised-button","","color","accent","aria-label","Cancel Selected","fxLayout","row","fxLayoutAlign","center center","fxHide.xs","",1,"btn-icon",3,"disabled","click"],["mat-mini-fab","","aria-label","Cancel Selected","fxHide.gt-xs","",3,"disabled","click"],["fxFlex","1 1 auto","fxLayoutAlign","end center"],["mat-icon-button","","color","primary","aria-label","Refresh",3,"disabled","click"],[3,"ngClass"],["fxFlex","1 1 auto","fxLayout","row","fxLayoutGap","12px",4,"ngIf"],["fxFlex","1 0 150px","fxLayoutAlign","center center",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],["fxFlex","1 1 auto","fxLayout","row","fxLayoutGap","12px"],["fxFlex","0 0 auto","fxLayout","column",1,"border-right"],["mat-button","","color","primary",3,"ngClass","click",4,"ngFor","ngForOf"],["fxFlex","1 1 auto","fxLayout","column"],["fxFlex","1 1 auto","mat-table","",3,"dataSource"],["matColumnDef","Checkbox"],["style","width:40px","mat-header-cell","",4,"matHeaderCellDef"],["style","width:40px","mat-cell","",4,"matCellDef"],["matColumnDef","OrderNumber"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","NameCompany"],["mat-header-cell","","fxHide.xs","",4,"matHeaderCellDef"],["mat-cell","","fxHide.xs","",4,"matCellDef"],["matColumnDef","Address"],["matColumnDef","Contact"],["mat-header-cell","","fxHide.lt-lg","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-lg","",4,"matCellDef"],["matColumnDef","Qty"],["matColumnDef","OrderDate"],["mat-header-cell","","fxHide.lt-md","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-md","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","data row-clickable","mat-row","",3,"click",4,"matRowDef","matRowDefColumns"],["mat-button","","color","primary",3,"ngClass","click"],["mat-header-cell","",2,"width","40px"],[3,"ngModel","ngModelChange","change"],["mat-cell","",2,"width","40px"],[3,"ngModel","ngModelChange","click","change"],["mat-header-cell",""],["mat-cell",""],["mat-header-cell","","fxHide.xs",""],["mat-cell","","fxHide.xs",""],[3,"ngIf"],["mat-header-cell","","fxHide.lt-lg",""],["mat-cell","","fxHide.lt-lg",""],["mat-header-cell","","fxHide.lt-md",""],["mat-cell","","fxHide.lt-md",""],["fxHide.gt-md",""],["fxHide.lt-lg",""],["mat-header-row",""],["mat-row","",1,"data","row-clickable",3,"click"],["fxFlex","1 0 150px","fxLayoutAlign","center center"],["color","accent"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],[1,"error"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"h2"),i.Bc(3,"Incoming Orders"),i.Sb(),i.Sb(),i.Tb(4,"div",2),i.Tb(5,"mat-card",3),i.Tb(6,"mat-card-content",4),i.Tb(7,"div",5),i.Tb(8,"mat-radio-group",6),i.bc("ngModelChange",function(t){return e.orderType=t})("change",function(){return e.setOrderType()}),i.Tb(9,"mat-radio-button",7),i.Tb(10,"span",8),i.Bc(11,"Bulk Orders"),i.Sb(),i.Tb(12,"span",9),i.Bc(13,"Bulk"),i.Sb(),i.Sb(),i.Tb(14,"mat-radio-button",10),i.Tb(15,"span",8),i.Bc(16,"Individual Orders"),i.Sb(),i.Tb(17,"span",9),i.Bc(18,"Individual"),i.Sb(),i.Sb(),i.Sb(),i.Tb(19,"div",11),i.Ob(20,"div",12),i.Sb(),i.Tb(21,"div",13),i.Tb(22,"button",14),i.bc("click",function(){return e.orderAction("accept")}),i.Tb(23,"mat-icon"),i.Bc(24,"checkmark"),i.Sb(),i.Tb(25,"span"),i.Bc(26,"Accept Selected"),i.Sb(),i.Sb(),i.Tb(27,"button",15),i.bc("click",function(){return e.orderAction("accept")}),i.Tb(28,"mat-icon"),i.Bc(29,"checkmark"),i.Sb(),i.Sb(),i.Sb(),i.Tb(30,"div",13),i.Tb(31,"button",16),i.bc("click",function(){return e.orderAction("cancel")}),i.Tb(32,"mat-icon"),i.Bc(33,"do_not_disturb"),i.Sb(),i.Tb(34,"span"),i.Bc(35,"Cancel Selected"),i.Sb(),i.Sb(),i.Tb(36,"button",17),i.bc("click",function(){return e.orderAction("cancel")}),i.Tb(37,"mat-icon"),i.Bc(38,"do_not_disturb"),i.Sb(),i.Sb(),i.Sb(),i.Tb(39,"div",18),i.Tb(40,"button",19),i.bc("click",function(){return e.refresh()}),i.Tb(41,"mat-icon",20),i.Bc(42,"refresh"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Ac(43,IG,29,6,"div",21),i.Ac(44,RG,2,0,"div",22),i.Ac(45,YG,3,1,"div",23),i.Ac(46,jG,3,1,"div",23),i.Sb(),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(8),i.lc("ngModel",e.orderType),i.Cb(14),i.lc("disabled",!e.anySelected||!e.acceptEnabled),i.Cb(5),i.lc("disabled",!e.anySelected),i.Cb(4),i.lc("disabled",!e.anySelected),i.Cb(5),i.lc("disabled",!e.anySelected),i.Cb(4),i.lc("disabled",e.refreshing),i.Cb(1),i.lc("ngClass",i.oc(11,NG,e.refreshing)),i.Cb(2),i.lc("ngIf","ready"===e.statsStatus&&"ready"===e.ordersStatus),i.Cb(1),i.lc("ngIf","loading"===e.statsStatus||"loading"===e.ordersStatus),i.Cb(1),i.lc("ngIf",i.nc(13,PG).indexOf(e.statsStatus)<0),i.Cb(1),i.lc("ngIf",i.nc(14,PG).indexOf(e.ordersStatus)<0))},directives:[Xu,Ou,Nu,Of,Mf,D_,sd,ws,ma,I_,au,wf,Hg,dt,Zc,pt,ft,Dv,Rv,Ev,Ov,Bv,Vv,jv,Uf,Pv,Uv,qv,g_],pipes:[Dt,At,Lt],styles:[".tools[_ngcontent-%COMP%]{padding:0 12px}"]}),t})();function BG(t,e){1&t&&(i.Tb(0,"td",50),i.Bc(1,"GRAND TOTAL"),i.Sb())}function HG(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.Sb()),2&t){const t=i.fc(3).$implicit;i.Cb(1),i.Cc(t.Market)}}function VG(t,e){if(1&t&&(i.Tb(0,"td",51),i.Ac(1,HG,2,1,"span",52),i.Sb()),2&t){const t=i.fc(2).$implicit;i.Cb(1),i.lc("ngIf",!t.Country)}}function zG(t,e){if(1&t&&(i.Tb(0,"td",53),i.Bc(1),i.Sb()),2&t){const t=i.fc(2).$implicit;i.Cb(1),i.Cc(t.Country?t.Country:"TOTAL")}}const UG=function(t,e){return{"text-success":t,"text-danger":e}};function WG(t,e){if(1&t&&(i.Tb(0,"td",54),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc(2).$implicit;i.lc("ngClass",i.pc(5,UG,(t.CVG1-t.CVG2)/t.CVG2*100>0,(t.CVG1-t.CVG2)/t.CVG2*100<0)),i.Cb(1),i.Dc("",i.ic(2,2,(t.CVG1-t.CVG2)/t.CVG2*100,"1.2-2"),"% ")}}function qG(t,e){1&t&&i.Ob(0,"td",55)}function GG(t,e){if(1&t&&(i.Tb(0,"td",54),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc(2).$implicit;i.lc("ngClass",i.pc(5,UG,(t.Map1-t.Map2)/t.Map2*100>0,(t.Map1-t.Map2)/t.Map2*100<0)),i.Cb(1),i.Dc("",i.ic(2,2,(t.Map1-t.Map2)/t.Map2*100,"1.2-2"),"% ")}}function $G(t,e){1&t&&i.Ob(0,"td",55)}function XG(t,e){if(1&t&&(i.Tb(0,"td",54),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc(2).$implicit;i.lc("ngClass",i.pc(5,UG,(t.RT1-t.RT2)/t.RT2*100>0,(t.RT1-t.RT2)/t.RT2*100<0)),i.Cb(1),i.Dc("",i.ic(2,2,(t.RT1-t.RT2)/t.RT2*100,"1.2-2"),"% ")}}function KG(t,e){1&t&&i.Ob(0,"td",55)}const JG=function(t,e){return{"font-weight-bold":t,"bg-light":e}};function QG(t,e){if(1&t&&(i.Tb(0,"tr",15),i.Ac(1,BG,2,0,"td",42),i.Ac(2,VG,2,1,"td",43),i.Ac(3,zG,2,1,"td",44),i.Tb(4,"td",45),i.Bc(5),i.gc(6,"number"),i.Sb(),i.Tb(7,"td",46),i.Bc(8),i.gc(9,"number"),i.Sb(),i.Tb(10,"td",47),i.Bc(11),i.gc(12,"number"),i.Sb(),i.Tb(13,"td",46),i.Bc(14),i.gc(15,"number"),i.Sb(),i.Tb(16,"td",46),i.Bc(17),i.gc(18,"number"),i.Sb(),i.Tb(19,"td",47),i.Bc(20),i.gc(21,"number"),i.Sb(),i.Ac(22,WG,3,8,"td",48),i.Ac(23,qG,1,0,"td",49),i.Ac(24,GG,3,8,"td",48),i.Ac(25,$G,1,0,"td",49),i.Ac(26,XG,3,8,"td",48),i.Ac(27,KG,1,0,"td",49),i.Sb()),2&t){const t=i.fc().$implicit;i.lc("ngClass",i.pc(28,JG,!t.Country,!t.Country)),i.Cb(1),i.lc("ngIf",!t.Market),i.Cb(1),i.lc("ngIf",t.Market),i.Cb(1),i.lc("ngIf",t.Market),i.Cb(2),i.Cc(i.hc(6,16,t.CVG1)),i.Cb(3),i.Cc(i.hc(9,18,t.Map1)),i.Cb(3),i.Cc(i.hc(12,20,t.RT1)),i.Cb(3),i.Cc(i.hc(15,22,t.CVG2)),i.Cb(3),i.Cc(i.hc(18,24,t.Map2)),i.Cb(3),i.Cc(i.hc(21,26,t.RT2)),i.Cb(2),i.lc("ngIf",t.CVG2),i.Cb(1),i.lc("ngIf",!t.CVG2),i.Cb(1),i.lc("ngIf",t.Map2),i.Cb(1),i.lc("ngIf",!t.Map2),i.Cb(1),i.lc("ngIf",t.RT2),i.Cb(1),i.lc("ngIf",!t.RT2)}}function ZG(t,e){if(1&t&&i.Ac(0,QG,28,31,"tr",41),2&t){const t=e.$implicit;i.lc("ngIf",t.CVG1||t.Map1||t.RT1||t.CVG2||t.Map2||t.RT2)}}function t$(t,e){if(1&t&&(i.Tb(0,"table",30),i.Tb(1,"thead",31),i.Tb(2,"tr"),i.Tb(3,"th",32),i.Bc(4,"Market"),i.Sb(),i.Tb(5,"th",33),i.Bc(6,"Country"),i.Sb(),i.Tb(7,"th",34),i.Bc(8),i.Sb(),i.Tb(9,"th",34),i.Bc(10),i.Sb(),i.Tb(11,"th",35),i.Bc(12,"% Change"),i.Sb(),i.Sb(),i.Tb(13,"tr"),i.Tb(14,"th",36),i.Bc(15,"Visitor's Guides"),i.Sb(),i.Tb(16,"th",37),i.Bc(17,"CA Maps"),i.Sb(),i.Tb(18,"th",38),i.Bc(19,"Road Trips"),i.Sb(),i.Tb(20,"th",37),i.Bc(21,"Visitor's Guides"),i.Sb(),i.Tb(22,"th",37),i.Bc(23,"CA Maps"),i.Sb(),i.Tb(24,"th",38),i.Bc(25,"Road Trips"),i.Sb(),i.Tb(26,"th",39),i.Bc(27,"Visitor's Guides"),i.Sb(),i.Tb(28,"th",39),i.Bc(29,"CA Maps"),i.Sb(),i.Tb(30,"th",39),i.Bc(31,"Road Trips"),i.Sb(),i.Sb(),i.Sb(),i.Tb(32,"tbody"),i.Ac(33,ZG,1,1,"ng-template",40),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(8),i.Cc(t.dateRange1),i.Cb(2),i.Cc(t.dateRange2),i.Cb(23),i.lc("ngForOf",t.report)}}function e$(t,e){1&t&&(i.Tb(0,"td",53),i.Bc(1,"GRAND TOTAL"),i.Sb())}function n$(t,e){if(1&t&&(i.Tb(0,"td",53),i.Bc(1),i.Sb()),2&t){const t=i.fc(2).$implicit;i.Cb(1),i.Cc(t.Market)}}function i$(t,e){if(1&t&&(i.Tb(0,"td",54),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc(2).$implicit;i.lc("ngClass",i.pc(5,UG,(t.CVG1-t.CVG2)/t.CVG2*100>0,(t.CVG1-t.CVG2)/t.CVG2*100<0)),i.Cb(1),i.Dc("",i.ic(2,2,(t.CVG1-t.CVG2)/t.CVG2*100,"1.2-2"),"% ")}}function r$(t,e){1&t&&i.Ob(0,"td",55)}function s$(t,e){if(1&t&&(i.Tb(0,"td",54),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc(2).$implicit;i.lc("ngClass",i.pc(5,UG,(t.Map1-t.Map2)/t.Map2*100>0,(t.Map1-t.Map2)/t.Map2*100<0)),i.Cb(1),i.Dc("",i.ic(2,2,(t.Map1-t.Map2)/t.Map2*100,"1.2-2"),"% ")}}function a$(t,e){1&t&&i.Ob(0,"td",55)}function o$(t,e){if(1&t&&(i.Tb(0,"td",54),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc(2).$implicit;i.lc("ngClass",i.pc(5,UG,(t.RT1-t.RT2)/t.RT2*100>0,(t.RT1-t.RT2)/t.RT2*100<0)),i.Cb(1),i.Dc("",i.ic(2,2,(t.RT1-t.RT2)/t.RT2*100,"1.2-2"),"% ")}}function l$(t,e){1&t&&i.Ob(0,"td",55)}function c$(t,e){if(1&t&&(i.Tb(0,"tr",15),i.Ac(1,e$,2,0,"td",44),i.Ac(2,n$,2,1,"td",44),i.Tb(3,"td",45),i.Bc(4),i.gc(5,"number"),i.Sb(),i.Tb(6,"td",45),i.Bc(7),i.gc(8,"number"),i.Sb(),i.Tb(9,"td",57),i.Bc(10),i.gc(11,"number"),i.Sb(),i.Tb(12,"td",46),i.Bc(13),i.gc(14,"number"),i.Sb(),i.Tb(15,"td",46),i.Bc(16),i.gc(17,"number"),i.Sb(),i.Tb(18,"td",47),i.Bc(19),i.gc(20,"number"),i.Sb(),i.Ac(21,i$,3,8,"td",48),i.Ac(22,r$,1,0,"td",49),i.Ac(23,s$,3,8,"td",48),i.Ac(24,a$,1,0,"td",49),i.Ac(25,o$,3,8,"td",48),i.Ac(26,l$,1,0,"td",49),i.Sb()),2&t){const t=i.fc().$implicit;i.lc("ngClass",i.pc(27,JG,!t.Market,!t.Market)),i.Cb(1),i.lc("ngIf",!t.Market),i.Cb(1),i.lc("ngIf",t.Market),i.Cb(2),i.Cc(i.hc(5,15,t.CVG1)),i.Cb(3),i.Cc(i.hc(8,17,t.Map1)),i.Cb(3),i.Cc(i.hc(11,19,t.RT1)),i.Cb(3),i.Cc(i.hc(14,21,t.CVG2)),i.Cb(3),i.Cc(i.hc(17,23,t.Map2)),i.Cb(3),i.Cc(i.hc(20,25,t.RT2)),i.Cb(2),i.lc("ngIf",t.CVG2),i.Cb(1),i.lc("ngIf",!t.CVG2),i.Cb(1),i.lc("ngIf",t.Map2),i.Cb(1),i.lc("ngIf",!t.Map2),i.Cb(1),i.lc("ngIf",t.RT2),i.Cb(1),i.lc("ngIf",!t.RT2)}}function u$(t,e){if(1&t&&i.Ac(0,c$,27,30,"tr",41),2&t){const t=e.$implicit;i.lc("ngIf",!t.Country&&(t.CVG1||t.Map1||t.RT1||t.CVG2||t.Map2||t.RT2))}}function d$(t,e){if(1&t&&(i.Tb(0,"table",30),i.Tb(1,"thead",31),i.Tb(2,"tr"),i.Tb(3,"th",33),i.Bc(4,"Market"),i.Sb(),i.Tb(5,"th",34),i.Bc(6),i.Sb(),i.Tb(7,"th",34),i.Bc(8),i.Sb(),i.Tb(9,"th",35),i.Bc(10,"% Change"),i.Sb(),i.Sb(),i.Tb(11,"tr"),i.Tb(12,"th",36),i.Bc(13,"Visitor's Guides"),i.Sb(),i.Tb(14,"th",36),i.Bc(15,"CA Maps"),i.Sb(),i.Tb(16,"th",56),i.Bc(17,"Road Trips"),i.Sb(),i.Tb(18,"th",37),i.Bc(19,"Visitor's Guides"),i.Sb(),i.Tb(20,"th",37),i.Bc(21,"CA Maps"),i.Sb(),i.Tb(22,"th",38),i.Bc(23,"Road Trips"),i.Sb(),i.Tb(24,"th",39),i.Bc(25,"Visitor's Guides"),i.Sb(),i.Tb(26,"th",39),i.Bc(27,"CA Maps"),i.Sb(),i.Tb(28,"th",39),i.Bc(29,"Road Trips"),i.Sb(),i.Sb(),i.Sb(),i.Tb(30,"tbody"),i.Ac(31,u$,1,1,"ng-template",40),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(6),i.Cc(t.dateRange1),i.Cb(2),i.Cc(t.dateRange2),i.Cb(23),i.lc("ngForOf",t.report)}}function h$(t,e){1&t&&(i.Tb(0,"div",58),i.Ob(1,"mat-spinner",59),i.Sb())}function f$(t,e){if(1&t&&(i.Tb(0,"div",58),i.Tb(1,"span",60),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.reportStatus)}}function m$(t,e){1&t&&(i.Tb(0,"td",50),i.Bc(1,"GRAND TOTAL"),i.Sb())}function p$(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.Sb()),2&t){const t=i.fc(3).$implicit;i.Cb(1),i.Cc(t.Market)}}function b$(t,e){if(1&t&&(i.Tb(0,"td",51),i.Ac(1,p$,2,1,"span",52),i.Sb()),2&t){const t=i.fc(2).$implicit;i.Cb(1),i.lc("ngIf",!t.Country)}}function g$(t,e){if(1&t&&(i.Tb(0,"td",53),i.Bc(1),i.Sb()),2&t){const t=i.fc(2).$implicit;i.Cb(1),i.Cc(t.Country?t.Country:"TOTAL")}}function _$(t,e){if(1&t&&(i.Tb(0,"td",54),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc(2).$implicit;i.lc("ngClass",i.pc(5,UG,(t.CVGBulk1-t.CVGBulk2)/t.CVGBulk2*100>0,(t.CVGBulk1-t.CVGBulk2)/t.CVGBulk2*100<0)),i.Cb(1),i.Dc("",i.ic(2,2,(t.CVGBulk1-t.CVGBulk2)/t.CVGBulk2*100,"1.2-2"),"%")}}function y$(t,e){1&t&&i.Ob(0,"td",55)}function v$(t,e){if(1&t&&(i.Tb(0,"td",54),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc(2).$implicit;i.lc("ngClass",i.pc(5,UG,(t.MapBulk1-t.MapBulk2)/t.MapBulk2*100>0,(t.MapBulk1-t.MapBulk2)/t.MapBulk2*100<0)),i.Cb(1),i.Dc("",i.ic(2,2,(t.MapBulk1-t.MapBulk2)/t.MapBulk2*100,"1.2-2"),"%")}}function w$(t,e){1&t&&i.Ob(0,"td",55)}function S$(t,e){if(1&t&&(i.Tb(0,"td",54),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc(2).$implicit;i.lc("ngClass",i.pc(5,UG,(t.RTBulk1-t.RTBulk2)/t.RTBulk2*100>0,(t.RTBulk1-t.RTBulk2)/t.RTBulk2*100<0)),i.Cb(1),i.Dc("",i.ic(2,2,(t.RTBulk1-t.RTBulk2)/t.RTBulk2*100,"1.2-2"),"%")}}function x$(t,e){1&t&&i.Ob(0,"td",55)}function C$(t,e){if(1&t&&(i.Tb(0,"tr",15),i.Ac(1,m$,2,0,"td",61),i.Ac(2,b$,2,1,"td",43),i.Ac(3,g$,2,1,"td",44),i.Tb(4,"td",45),i.Bc(5),i.gc(6,"number"),i.Sb(),i.Tb(7,"td",46),i.Bc(8),i.gc(9,"number"),i.Sb(),i.Tb(10,"td",47),i.Bc(11),i.gc(12,"number"),i.Sb(),i.Tb(13,"td",46),i.Bc(14),i.gc(15,"number"),i.Sb(),i.Tb(16,"td",46),i.Bc(17),i.gc(18,"number"),i.Sb(),i.Tb(19,"td",47),i.Bc(20),i.gc(21,"number"),i.Sb(),i.Ac(22,_$,3,8,"td",48),i.Ac(23,y$,1,0,"td",49),i.Ac(24,v$,3,8,"td",48),i.Ac(25,w$,1,0,"td",49),i.Ac(26,S$,3,8,"td",48),i.Ac(27,x$,1,0,"td",49),i.Sb()),2&t){const t=i.fc().$implicit;i.lc("ngClass",i.pc(28,JG,!t.Country,!t.Country)),i.Cb(1),i.lc("ngIf",!t.Market),i.Cb(1),i.lc("ngIf",t.Market),i.Cb(1),i.lc("ngIf",t.Market),i.Cb(2),i.Cc(i.hc(6,16,t.CVGBulk1)),i.Cb(3),i.Cc(i.hc(9,18,t.MapBulk1)),i.Cb(3),i.Cc(i.hc(12,20,t.RTBulk1)),i.Cb(3),i.Cc(i.hc(15,22,t.CVGBulk2)),i.Cb(3),i.Cc(i.hc(18,24,t.MapBulk2)),i.Cb(3),i.Cc(i.hc(21,26,t.RTBulk2)),i.Cb(2),i.lc("ngIf",t.CVGBulk2),i.Cb(1),i.lc("ngIf",!t.CVGBulk2),i.Cb(1),i.lc("ngIf",t.MapBulk2),i.Cb(1),i.lc("ngIf",!t.MapBulk2),i.Cb(1),i.lc("ngIf",t.RTBulk2),i.Cb(1),i.lc("ngIf",!t.RTBulk2)}}function k$(t,e){if(1&t&&i.Ac(0,C$,28,31,"tr",41),2&t){const t=e.$implicit;i.lc("ngIf",t.CVGBulk1||t.MapBulk1||t.RTBulk1||t.CVGBulk2||t.MapBulk2||t.RTBulk2)}}function T$(t,e){if(1&t&&(i.Tb(0,"table",30),i.Tb(1,"thead",31),i.Tb(2,"tr"),i.Tb(3,"th",32),i.Bc(4,"Market"),i.Sb(),i.Tb(5,"th",33),i.Bc(6,"Country"),i.Sb(),i.Tb(7,"th",34),i.Bc(8),i.Sb(),i.Tb(9,"th",34),i.Bc(10),i.Sb(),i.Tb(11,"th",35),i.Bc(12,"% Change"),i.Sb(),i.Sb(),i.Tb(13,"tr"),i.Tb(14,"th",36),i.Bc(15,"Visitor's Guides"),i.Sb(),i.Tb(16,"th",37),i.Bc(17,"CA Maps"),i.Sb(),i.Tb(18,"th",38),i.Bc(19,"Road Trips"),i.Sb(),i.Tb(20,"th",37),i.Bc(21,"Visitor's Guides"),i.Sb(),i.Tb(22,"th",37),i.Bc(23,"CA Maps"),i.Sb(),i.Tb(24,"th",38),i.Bc(25,"Road Trips"),i.Sb(),i.Tb(26,"th",39),i.Bc(27,"Visitor's Guides"),i.Sb(),i.Tb(28,"th",39),i.Bc(29,"CA Maps"),i.Sb(),i.Tb(30,"th",39),i.Bc(31,"Road Trips"),i.Sb(),i.Sb(),i.Sb(),i.Tb(32,"tbody"),i.Ac(33,k$,1,1,"ng-template",40),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(8),i.Cc(t.dateRange1),i.Cb(2),i.Cc(t.dateRange2),i.Cb(23),i.lc("ngForOf",t.report)}}function M$(t,e){1&t&&(i.Tb(0,"td",53),i.Bc(1,"GRAND TOTAL"),i.Sb())}function D$(t,e){if(1&t&&(i.Tb(0,"td",53),i.Bc(1),i.Sb()),2&t){const t=i.fc(2).$implicit;i.Cb(1),i.Cc(t.Market)}}function L$(t,e){if(1&t&&(i.Tb(0,"td",54),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc(2).$implicit;i.lc("ngClass",i.pc(5,UG,(t.CVGBulk1-t.CVGBulk2)/t.CVGBulk2*100>0,(t.CVGBulk1-t.CVGBulk2)/t.CVGBulk2*100<0)),i.Cb(1),i.Dc("",i.ic(2,2,(t.CVGBulk1-t.CVGBulk2)/t.CVGBulk2*100,"1.2-2"),"%")}}function O$(t,e){1&t&&i.Ob(0,"td",55)}function A$(t,e){if(1&t&&(i.Tb(0,"td",54),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc(2).$implicit;i.lc("ngClass",i.pc(5,UG,(t.MapBulk1-t.MapBulk2)/t.MapBulk2*100>0,(t.MapBulk1-t.MapBulk2)/t.MapBulk2*100<0)),i.Cb(1),i.Dc("",i.ic(2,2,(t.MapBulk1-t.MapBulk2)/t.MapBulk2*100,"1.2-2"),"%")}}function E$(t,e){1&t&&i.Ob(0,"td",55)}function I$(t,e){if(1&t&&(i.Tb(0,"td",54),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc(2).$implicit;i.lc("ngClass",i.pc(5,UG,(t.RTBulk1-t.RTBulk2)/t.RTBulk2*100>0,(t.RTBulk1-t.RTBulk2)/t.RTBulk2*100<0)),i.Cb(1),i.Dc("",i.ic(2,2,(t.RTBulk1-t.RTBulk2)/t.RTBulk2*100,"1.2-2"),"%")}}function R$(t,e){1&t&&i.Ob(0,"td",55)}function Y$(t,e){if(1&t&&(i.Tb(0,"tr",15),i.Ac(1,M$,2,0,"td",44),i.Ac(2,D$,2,1,"td",44),i.Tb(3,"td",45),i.Bc(4),i.gc(5,"number"),i.Sb(),i.Tb(6,"td",45),i.Bc(7),i.gc(8,"number"),i.Sb(),i.Tb(9,"td",57),i.Bc(10),i.gc(11,"number"),i.Sb(),i.Tb(12,"td",46),i.Bc(13),i.gc(14,"number"),i.Sb(),i.Tb(15,"td",46),i.Bc(16),i.gc(17,"number"),i.Sb(),i.Tb(18,"td",47),i.Bc(19),i.gc(20,"number"),i.Sb(),i.Ac(21,L$,3,8,"td",48),i.Ac(22,O$,1,0,"td",49),i.Ac(23,A$,3,8,"td",48),i.Ac(24,E$,1,0,"td",49),i.Ac(25,I$,3,8,"td",48),i.Ac(26,R$,1,0,"td",49),i.Sb()),2&t){const t=i.fc().$implicit;i.lc("ngClass",i.pc(27,JG,!t.Market,!t.Market)),i.Cb(1),i.lc("ngIf",!t.Market),i.Cb(1),i.lc("ngIf",t.Market),i.Cb(2),i.Cc(i.hc(5,15,t.CVGBulk1)),i.Cb(3),i.Cc(i.hc(8,17,t.MapBulk1)),i.Cb(3),i.Cc(i.hc(11,19,t.RTBulk1)),i.Cb(3),i.Cc(i.hc(14,21,t.CVGBulk2)),i.Cb(3),i.Cc(i.hc(17,23,t.MapBulk2)),i.Cb(3),i.Cc(i.hc(20,25,t.RTBulk2)),i.Cb(2),i.lc("ngIf",t.CVGBulk2),i.Cb(1),i.lc("ngIf",!t.CVGBulk2),i.Cb(1),i.lc("ngIf",t.MapBulk2),i.Cb(1),i.lc("ngIf",!t.MapBulk2),i.Cb(1),i.lc("ngIf",t.RTBulk2),i.Cb(1),i.lc("ngIf",!t.RTBulk2)}}function j$(t,e){if(1&t&&i.Ac(0,Y$,27,30,"tr",41),2&t){const t=e.$implicit;i.lc("ngIf",!t.Country&&(t.CVGBulk1||t.MapBulk1||t.RTBulk1||t.CVGBulk2||t.MapBulk2||t.RTBulk2))}}function N$(t,e){if(1&t&&(i.Tb(0,"table",30),i.Tb(1,"thead",31),i.Tb(2,"tr"),i.Tb(3,"th",33),i.Bc(4,"Market"),i.Sb(),i.Tb(5,"th",34),i.Bc(6),i.Sb(),i.Tb(7,"th",34),i.Bc(8),i.Sb(),i.Tb(9,"th",35),i.Bc(10,"% Change"),i.Sb(),i.Sb(),i.Tb(11,"tr"),i.Tb(12,"th",36),i.Bc(13,"Visitor's Guides"),i.Sb(),i.Tb(14,"th",36),i.Bc(15,"CA Maps"),i.Sb(),i.Tb(16,"th",56),i.Bc(17,"Road Trips"),i.Sb(),i.Tb(18,"th",37),i.Bc(19,"Visitor's Guides"),i.Sb(),i.Tb(20,"th",37),i.Bc(21,"CA Maps"),i.Sb(),i.Tb(22,"th",38),i.Bc(23,"Road Trips"),i.Sb(),i.Tb(24,"th",39),i.Bc(25,"Visitor's Guides"),i.Sb(),i.Tb(26,"th",39),i.Bc(27,"CA Maps"),i.Sb(),i.Tb(28,"th",39),i.Bc(29,"Road Trips"),i.Sb(),i.Sb(),i.Sb(),i.Tb(30,"tbody"),i.Ac(31,j$,1,1,"ng-template",40),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(6),i.Cc(t.dateRange1),i.Cb(2),i.Cc(t.dateRange2),i.Cb(23),i.lc("ngForOf",t.report)}}function P$(t,e){1&t&&(i.Tb(0,"div",58),i.Ob(1,"mat-spinner",59),i.Sb())}function F$(t,e){if(1&t&&(i.Tb(0,"div",58),i.Tb(1,"span",60),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.reportStatus)}}function B$(t,e){1&t&&(i.Tb(0,"td",50),i.Bc(1,"GRAND TOTAL"),i.Sb())}function H$(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.Sb()),2&t){const t=i.fc(2).$implicit;i.Cb(1),i.Cc(t.Market)}}function V$(t,e){if(1&t&&(i.Tb(0,"td",51),i.Ac(1,H$,2,1,"span",52),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.lc("ngIf",!t.Country)}}function z$(t,e){if(1&t&&(i.Tb(0,"td",53),i.Bc(1),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(t.Country?t.Country:"TOTAL")}}function U$(t,e){if(1&t&&(i.Tb(0,"tr",15),i.Ac(1,B$,2,0,"td",61),i.Ac(2,V$,2,1,"td",43),i.Ac(3,z$,2,1,"td",44),i.Tb(4,"td",45),i.Bc(5),i.gc(6,"number"),i.Sb(),i.Tb(7,"td",45),i.Bc(8),i.gc(9,"number"),i.Sb(),i.Tb(10,"td",57),i.Bc(11),i.gc(12,"number"),i.Sb(),i.Tb(13,"td",46),i.Bc(14),i.gc(15,"number"),i.Sb(),i.Tb(16,"td",46),i.Bc(17),i.gc(18,"number"),i.Sb(),i.Tb(19,"td",47),i.Bc(20),i.gc(21,"number"),i.Sb(),i.Tb(22,"td",46),i.Bc(23),i.gc(24,"number"),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.lc("ngClass",i.pc(25,JG,!t.Country,!t.Country)),i.Cb(1),i.lc("ngIf",!t.Market),i.Cb(1),i.lc("ngIf",t.Market),i.Cb(1),i.lc("ngIf",t.Market),i.Cb(2),i.Cc(i.hc(6,11,t.CVG)),i.Cb(3),i.Cc(i.hc(9,13,t.Map)),i.Cb(3),i.Cc(i.hc(12,15,t.RT)),i.Cb(3),i.Cc(i.hc(15,17,t.CVGBulk)),i.Cb(3),i.Cc(i.hc(18,19,t.MapBulk)),i.Cb(3),i.Cc(i.hc(21,21,t.RTBulk)),i.Cb(3),i.Cc(i.hc(24,23,t.Unknown))}}function W$(t,e){if(1&t&&(i.Tb(0,"table",30),i.Tb(1,"thead",31),i.Tb(2,"tr"),i.Tb(3,"th",32),i.Bc(4,"Market"),i.Sb(),i.Tb(5,"th",33),i.Bc(6,"Country"),i.Sb(),i.Tb(7,"th",62),i.Bc(8,"Single"),i.Sb(),i.Tb(9,"th",34),i.Bc(10,"Bulk"),i.Sb(),i.Tb(11,"th",63),i.Bc(12,"Unknown"),i.Sb(),i.Sb(),i.Tb(13,"tr"),i.Tb(14,"th",36),i.Bc(15,"Visitor's Guides"),i.Sb(),i.Tb(16,"th",36),i.Bc(17,"CA Maps"),i.Sb(),i.Tb(18,"th",56),i.Bc(19,"Road Trips"),i.Sb(),i.Tb(20,"th",37),i.Bc(21,"Visitor's Guides"),i.Sb(),i.Tb(22,"th",37),i.Bc(23,"CA Maps"),i.Sb(),i.Tb(24,"th",38),i.Bc(25,"Road Trips"),i.Sb(),i.Sb(),i.Sb(),i.Tb(26,"tbody"),i.Ac(27,U$,25,28,"tr",64),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(27),i.lc("ngForOf",t.pfc)}}function q$(t,e){1&t&&(i.Tb(0,"td",53),i.Bc(1,"GRAND TOTAL"),i.Sb())}function G$(t,e){if(1&t&&(i.Tb(0,"td",53),i.Bc(1),i.Sb()),2&t){const t=i.fc(2).$implicit;i.Cb(1),i.Cc(t.Market)}}function $$(t,e){if(1&t&&(i.Tb(0,"tr",15),i.Ac(1,q$,2,0,"td",44),i.Ac(2,G$,2,1,"td",44),i.Tb(3,"td",45),i.Bc(4),i.gc(5,"number"),i.Sb(),i.Tb(6,"td",45),i.Bc(7),i.gc(8,"number"),i.Sb(),i.Tb(9,"td",57),i.Bc(10),i.gc(11,"number"),i.Sb(),i.Tb(12,"td",46),i.Bc(13),i.gc(14,"number"),i.Sb(),i.Tb(15,"td",46),i.Bc(16),i.gc(17,"number"),i.Sb(),i.Tb(18,"td",47),i.Bc(19),i.gc(20,"number"),i.Sb(),i.Tb(21,"td",46),i.Bc(22),i.gc(23,"number"),i.Sb(),i.Sb()),2&t){const t=i.fc().$implicit;i.lc("ngClass",i.pc(24,JG,!t.Market,!t.Market)),i.Cb(1),i.lc("ngIf",!t.Market),i.Cb(1),i.lc("ngIf",t.Market),i.Cb(2),i.Cc(i.hc(5,10,t.CVG)),i.Cb(3),i.Cc(i.hc(8,12,t.Map)),i.Cb(3),i.Cc(i.hc(11,14,t.RT)),i.Cb(3),i.Cc(i.hc(14,16,t.CVGBulk)),i.Cb(3),i.Cc(i.hc(17,18,t.MapBulk)),i.Cb(3),i.Cc(i.hc(20,20,t.RTBulk)),i.Cb(3),i.Cc(i.hc(23,22,t.Unknown))}}function X$(t,e){1&t&&i.Ac(0,$$,24,27,"tr",41),2&t&&i.lc("ngIf",!e.$implicit.Country)}function K$(t,e){if(1&t&&(i.Tb(0,"table",30),i.Tb(1,"thead",31),i.Tb(2,"tr"),i.Tb(3,"th",33),i.Bc(4,"Market"),i.Sb(),i.Tb(5,"th",62),i.Bc(6,"Single"),i.Sb(),i.Tb(7,"th",34),i.Bc(8,"Bulk"),i.Sb(),i.Tb(9,"th",65),i.Bc(10,"Unknown"),i.Sb(),i.Sb(),i.Tb(11,"tr"),i.Tb(12,"th",36),i.Bc(13,"Visitor's Guides"),i.Sb(),i.Tb(14,"th",36),i.Bc(15,"CA Maps"),i.Sb(),i.Tb(16,"th",56),i.Bc(17,"Road Trips"),i.Sb(),i.Tb(18,"th",37),i.Bc(19,"Visitor's Guides"),i.Sb(),i.Tb(20,"th",37),i.Bc(21,"CA Maps"),i.Sb(),i.Tb(22,"th",38),i.Bc(23,"Road Trips"),i.Sb(),i.Sb(),i.Sb(),i.Tb(24,"tbody"),i.Ac(25,X$,1,1,"ng-template",40),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(25),i.lc("ngForOf",t.pfc)}}function J$(t,e){1&t&&(i.Tb(0,"div",58),i.Ob(1,"mat-spinner",59),i.Sb())}function Q$(t,e){if(1&t&&(i.Tb(0,"div",58),i.Tb(1,"span",60),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.pfcStatus)}}const Z$=function(t){return{spin:t}},tX=function(){return["ready","loading"]};let eX=(()=>{class t{constructor(t){this.prodService=t,this.dateRange1="",this.dateRange2="",this.dt1=DH().subtract(90,"days").toDate(),this.dt2=DH().toDate(),this.form=new oa({startDate:new aa(this.dt1),endDate:new aa(this.dt2),showCountry:new aa(!1)}),this.pfc=[],this.pfcStatus="loading",this.refreshing=!1,this.report=[],this.reportStatus="loading"}ngOnInit(){this.loadOrdersByMarket(),this.loadPfcOrders()}loadOrdersByMarket(){var t,e;return kT(this,void 0,void 0,function*(){const n=new Date(null===(t=this.form.get("startDate"))||void 0===t?void 0:t.value),i=new Date(null===(e=this.form.get("endDate"))||void 0===e?void 0:e.value),r=yield this.prodService.ordersByMarket(n,i);if(r.success){this.report=r.data;const t=new Date(n.getFullYear()-1,n.getMonth(),n.getDate()),e=new Date(i.getFullYear()-1,i.getMonth(),i.getDate());this.dateRange1=n.toLocaleDateString()+" - "+i.toLocaleDateString(),this.dateRange2=t.toLocaleDateString()+" - "+e.toLocaleDateString(),this.reportStatus="ready"}else this.reportStatus=r.error||"Error loading data."})}loadPfcOrders(){var t,e;return kT(this,void 0,void 0,function*(){const n=new Date(null===(t=this.form.get("startDate"))||void 0===t?void 0:t.value),i=new Date(null===(e=this.form.get("endDate"))||void 0===e?void 0:e.value),r=yield this.prodService.pfcOrders(n,i);r.success?(this.pfc=r.data,this.pfcStatus="ready"):this.pfcStatus=r.error||"Error loading data."})}refresh(){return kT(this,void 0,void 0,function*(){this.refreshing=!0,Promise.all([this.loadOrdersByMarket(),this.loadPfcOrders()]).then(()=>this.refreshing=!1)})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(LH))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-orders-dashboard"]],decls:98,vars:33,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto"],["fxFlex","1 1 auto","fxHide.lt-md","",1,"tools","mat-elevation-z3"],[3,"formGroup"],["fxFlex","1 1 auto","fxLayout","row","fxLayoutGap","12px"],["appearance","fill"],["matInput","","readonly","","formControlName","startDate",3,"matDatepicker","dateChange","click"],["matSuffix","",3,"for"],["pickerStartDate",""],["matInput","","readonly","","formControlName","endDate",3,"matDatepicker","dateChange","click"],["pickerEndDate",""],["fxFlex","0 0 auto","fxLayoutAlign","center center"],["formControlName","showCountry"],["fxFlex","1 1 auto","fxLayoutAlign","end center"],["mat-icon-button","","color","primary","aria-label","Refresh",3,"disabled","click"],[3,"ngClass"],["fxFlex","1 1 auto","fxHide.gt-sm","",1,"mat-elevation-z3"],["fxFlex","1 1 auto","fxLayout","column"],["fxFlex","1 1 auto","appearance","fill"],["pickerStartDate2",""],["pickerEndDate2",""],["fxFlex","1 1 auto","fxLayout","row"],["fxHide.xs",""],["fxHide.sm",""],["fxFlex","1 1 auto","fxLayout","row","fxLayoutGap","24px"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["fxLayoutAlign.xs","center center"],["fxLayout.xs","column","fxLayout.gt-xs","row","fxLayoutGap","6px"],["class","table table-sm",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],[1,"table","table-sm"],[1,"thead-light"],["rowspan","2",1,"text-nowrap"],["rowspan","2",1,"text-nowrap","border-right"],["colspan","3","fxHide.xs","",1,"text-center","border-right"],["colspan","3","fxHide.lt-md","",1,"text-center"],[1,"text-right",2,"width","125px"],["fxHide.xs","",1,"text-right",2,"width","125px"],["fxHide.xs","",1,"text-right","border-right",2,"width","125px"],["fxHide.lt-md","",1,"text-right",2,"width","125px"],["ngFor","",3,"ngForOf"],[3,"ngClass",4,"ngIf"],["colspan","2","class","text-nowrap",4,"ngIf"],["class","text-nowrap",4,"ngIf"],["class","text-nowrap border-right",4,"ngIf"],[1,"text-right"],["fxHide.xs","",1,"text-right"],["fxHide.xs","",1,"text-right","border-right"],["class","text-right","fxHide.lt-md","",3,"ngClass",4,"ngIf"],["class","text-right","fxHide.lt-md","",4,"ngIf"],["colspan","2",1,"text-nowrap"],[1,"text-nowrap"],[4,"ngIf"],[1,"text-nowrap","border-right"],["fxHide.lt-md","",1,"text-right",3,"ngClass"],["fxHide.lt-md","",1,"text-right"],[1,"text-right","border-right",2,"width","125px"],[1,"text-right","border-right"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],["color","accent"],[1,"error"],["class","text-nowrap","colspan","2",4,"ngIf"],["colspan","3",1,"text-center","border-right"],["rowspan","2","fxHide.xs","",1,"text-right",2,"width","125px"],[3,"ngClass",4,"ngFor","ngForOf"],["rowspan","2","fxHide.xs","",1,"text-right","border-right",2,"width","125px"]],template:function(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"h2"),i.Bc(3,"Orders Dashboard"),i.Sb(),i.Sb(),i.Tb(4,"mat-card",2),i.Tb(5,"mat-card-content",3),i.Tb(6,"div",4),i.Tb(7,"div",1),i.Tb(8,"mat-form-field",5),i.Tb(9,"mat-label"),i.Bc(10,"Start Date"),i.Sb(),i.Tb(11,"input",6),i.bc("dateChange",function(){return e.refresh()})("click",function(){return i.sc(t),i.rc(14).open()}),i.Sb(),i.Ob(12,"mat-datepicker-toggle",7),i.Ob(13,"mat-datepicker",null,8),i.Sb(),i.Sb(),i.Tb(15,"div",1),i.Tb(16,"mat-form-field",5),i.Tb(17,"mat-label"),i.Bc(18,"End Date"),i.Sb(),i.Tb(19,"input",9),i.bc("dateChange",function(){return e.refresh()})("click",function(){return i.sc(t),i.rc(22).open()}),i.Sb(),i.Ob(20,"mat-datepicker-toggle",7),i.Ob(21,"mat-datepicker",null,10),i.Sb(),i.Sb(),i.Tb(23,"div",11),i.Tb(24,"mat-checkbox",12),i.Bc(25,"Show breakdown by country"),i.Sb(),i.Sb(),i.Tb(26,"div",13),i.Tb(27,"button",14),i.bc("click",function(){return e.refresh()}),i.Tb(28,"mat-icon",15),i.Bc(29,"refresh"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(30,"mat-card",16),i.Tb(31,"mat-card-content",3),i.Tb(32,"div",17),i.Tb(33,"mat-form-field",18),i.Tb(34,"mat-label"),i.Bc(35,"Start Date"),i.Sb(),i.Tb(36,"input",6),i.bc("dateChange",function(){return e.refresh()})("click",function(){return i.sc(t),i.rc(39).open()}),i.Sb(),i.Ob(37,"mat-datepicker-toggle",7),i.Ob(38,"mat-datepicker",null,19),i.Sb(),i.Tb(40,"mat-form-field",18),i.Tb(41,"mat-label"),i.Bc(42,"End Date"),i.Sb(),i.Tb(43,"input",9),i.bc("dateChange",function(){return e.refresh()})("click",function(){return i.sc(t),i.rc(46).open()}),i.Sb(),i.Ob(44,"mat-datepicker-toggle",7),i.Ob(45,"mat-datepicker",null,20),i.Sb(),i.Tb(47,"div",21),i.Tb(48,"div",11),i.Tb(49,"mat-checkbox",12),i.Tb(50,"span",22),i.Bc(51,"Show breakdown by country"),i.Sb(),i.Tb(52,"span",23),i.Bc(53,"Show countries"),i.Sb(),i.Sb(),i.Sb(),i.Tb(54,"div",13),i.Tb(55,"button",14),i.bc("click",function(){return e.refresh()}),i.Tb(56,"mat-icon",15),i.Bc(57,"refresh"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(58,"div",24),i.Tb(59,"mat-card",25),i.Tb(60,"mat-card-header"),i.Tb(61,"mat-card-title",26),i.Tb(62,"div",27),i.Tb(63,"span"),i.Bc(64,"Single Orders Shipped"),i.Sb(),i.Tb(65,"span"),i.Bc(66,"by Market"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(67,"mat-card-content"),i.Ac(68,t$,34,3,"table",28),i.Ac(69,d$,32,3,"table",28),i.Ac(70,h$,2,0,"div",29),i.Ac(71,f$,3,1,"div",29),i.Sb(),i.Sb(),i.Sb(),i.Tb(72,"div",24),i.Tb(73,"mat-card",25),i.Tb(74,"mat-card-header"),i.Tb(75,"mat-card-title",26),i.Tb(76,"div",27),i.Tb(77,"span"),i.Bc(78,"Bulk Orders Shipped"),i.Sb(),i.Tb(79,"span"),i.Bc(80,"by Market"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(81,"mat-card-content"),i.Ac(82,T$,34,3,"table",28),i.Ac(83,N$,32,3,"table",28),i.Ac(84,P$,2,0,"div",29),i.Ac(85,F$,3,1,"div",29),i.Sb(),i.Sb(),i.Sb(),i.Tb(86,"div",24),i.Tb(87,"mat-card",25),i.Tb(88,"mat-card-header"),i.Tb(89,"mat-card-title",26),i.Tb(90,"div",27),i.Tb(91,"span"),i.Bc(92,"PFC Orders Shipped"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(93,"mat-card-content"),i.Ac(94,W$,28,1,"table",28),i.Ac(95,K$,26,1,"table",28),i.Ac(96,J$,2,0,"div",29),i.Ac(97,Q$,3,1,"div",29),i.Sb(),i.Sb(),i.Sb(),i.Sb()}if(2&t){const t=i.rc(14),n=i.rc(22),r=i.rc(39),s=i.rc(46);let a=null,o=null,l=null,c=null,u=null,d=null;i.Cb(5),i.lc("formGroup",e.form),i.Cb(6),i.lc("matDatepicker",t),i.Cb(1),i.lc("for",t),i.Cb(7),i.lc("matDatepicker",n),i.Cb(1),i.lc("for",n),i.Cb(7),i.lc("disabled",e.refreshing),i.Cb(1),i.lc("ngClass",i.oc(26,Z$,e.refreshing)),i.Cb(3),i.lc("formGroup",e.form),i.Cb(5),i.lc("matDatepicker",r),i.Cb(1),i.lc("for",r),i.Cb(6),i.lc("matDatepicker",s),i.Cb(1),i.lc("for",s),i.Cb(11),i.lc("disabled",e.refreshing),i.Cb(1),i.lc("ngClass",i.oc(28,Z$,e.refreshing)),i.Cb(12),i.lc("ngIf",(null==(a=e.form.get("showCountry"))?null:a.value)&&"ready"===e.reportStatus),i.Cb(1),i.lc("ngIf",!(null!=(o=e.form.get("showCountry"))&&o.value)&&"ready"===e.reportStatus),i.Cb(1),i.lc("ngIf","loading"===e.reportStatus),i.Cb(1),i.lc("ngIf",i.nc(30,tX).indexOf(e.reportStatus)<0),i.Cb(11),i.lc("ngIf",(null==(l=e.form.get("showCountry"))?null:l.value)&&"ready"===e.reportStatus),i.Cb(1),i.lc("ngIf",!(null!=(c=e.form.get("showCountry"))&&c.value)&&"ready"===e.reportStatus),i.Cb(1),i.lc("ngIf","loading"===e.reportStatus),i.Cb(1),i.lc("ngIf",i.nc(31,tX).indexOf(e.reportStatus)<0),i.Cb(9),i.lc("ngIf",(null==(u=e.form.get("showCountry"))?null:u.value)&&"ready"===e.pfcStatus),i.Cb(1),i.lc("ngIf",!(null!=(d=e.form.get("showCountry"))&&d.value)&&"ready"===e.pfcStatus),i.Cb(1),i.lc("ngIf","loading"===e.pfcStatus),i.Cb(1),i.lc("ngIf",i.nc(32,tX).indexOf(e.pfcStatus)<0)}},directives:[Xu,Ou,Nu,Of,au,Mf,Ss,ga,Lm,ym,pb,Zr,mg,ws,ya,bg,xm,lg,sd,Uf,wf,Hg,dt,Zc,Af,Df,pt,ft,g_],pipes:[At],styles:[""]}),t})();function nX(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td",18),i.Bc(2,"Total Suspended Orders"),i.Sb(),i.Tb(3,"td",15),i.Bc(4),i.gc(5,"number"),i.Sb(),i.Tb(6,"td",15),i.Bc(7),i.gc(8,"number"),i.Sb(),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(4),i.Cc(i.hc(5,2,t.Today)),i.Cb(3),i.Cc(i.hc(8,4,t.Days30))}}function iX(t,e){1&t&&i.Ac(0,nX,9,6,"tr",17),2&t&&i.lc("ngIf",0==e.$implicit.DisplayOrder)}function rX(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td",19),i.Bc(2),i.Sb(),i.Tb(3,"td",15),i.Bc(4),i.gc(5,"number"),i.Sb(),i.Tb(6,"td",15),i.Bc(7),i.gc(8,"number"),i.Sb(),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(2),i.Cc(t.Reason),i.Cb(2),i.Cc(i.hc(5,3,t.Today)),i.Cb(3),i.Cc(i.hc(8,5,t.Days30))}}function sX(t,e){1&t&&i.Ac(0,rX,9,7,"tr",17),2&t&&i.lc("ngIf",1==e.$implicit.DisplayOrder)}function aX(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td",18),i.Bc(2,"# of Orders Resubmitted"),i.Sb(),i.Tb(3,"td",15),i.Bc(4),i.gc(5,"number"),i.Sb(),i.Tb(6,"td",15),i.Bc(7),i.gc(8,"number"),i.Sb(),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(4),i.Cc(i.hc(5,2,t.Today)),i.Cb(3),i.Cc(i.hc(8,4,t.Days30))}}function oX(t,e){1&t&&i.Ac(0,aX,9,6,"tr",17),2&t&&i.lc("ngIf",2==e.$implicit.DisplayOrder)}function lX(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td",18),i.Bc(2,"# of Orders Canceled"),i.Sb(),i.Tb(3,"td",15),i.Bc(4),i.gc(5,"number"),i.Sb(),i.Tb(6,"td",15),i.Bc(7),i.gc(8,"number"),i.Sb(),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(4),i.Cc(i.hc(5,2,t.Today)),i.Cb(3),i.Cc(i.hc(8,4,t.Days30))}}function cX(t,e){1&t&&i.Ac(0,lX,9,6,"tr",17),2&t&&i.lc("ngIf",3==e.$implicit.DisplayOrder)}function uX(t,e){if(1&t&&(i.Tb(0,"table",14),i.Tb(1,"thead"),i.Tb(2,"tr"),i.Ob(3,"th"),i.Tb(4,"th",15),i.Bc(5,"Today"),i.Sb(),i.Tb(6,"th",15),i.Bc(7,"Past 30 Days"),i.Sb(),i.Sb(),i.Sb(),i.Tb(8,"tbody"),i.Ac(9,iX,1,1,"ng-template",16),i.Ac(10,sX,1,1,"ng-template",16),i.Ac(11,oX,1,1,"ng-template",16),i.Ac(12,cX,1,1,"ng-template",16),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(9),i.lc("ngForOf",t.stats),i.Cb(1),i.lc("ngForOf",t.stats),i.Cb(1),i.lc("ngForOf",t.stats),i.Cb(1),i.lc("ngForOf",t.stats)}}function dX(t,e){1&t&&(i.Tb(0,"div",20),i.Ob(1,"mat-spinner",21),i.Sb())}function hX(t,e){if(1&t&&(i.Tb(0,"div",20),i.Tb(1,"span",22),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.statsStatus)}}function fX(t,e){if(1&t&&(i.Tb(0,"div",23),i.Ob(1,"canvas",24),i.Sb()),2&t){const t=i.fc();i.Cb(1),i.lc("datasets",t.chart.datasets)("labels",t.chart.labels)("options",t.chart.options)("colors",t.chart.colors)("legend",!1)}}function mX(t,e){1&t&&(i.Tb(0,"div",20),i.Ob(1,"mat-spinner",21),i.Sb())}function pX(t,e){if(1&t&&(i.Tb(0,"div",20),i.Tb(1,"span",22),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.chartStatus)}}function bX(t,e){1&t&&(i.Tb(0,"th",46),i.Bc(1,"Order #"),i.Sb())}function gX(t,e){if(1&t&&(i.Tb(0,"td",47),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.OrderNumber)}}function _X(t,e){1&t&&(i.Tb(0,"th",48),i.Bc(1,"Submitted"),i.Sb())}function yX(t,e){if(1&t&&(i.Tb(0,"td",49),i.Tb(1,"span",50),i.Bc(2),i.gc(3,"date"),i.Sb(),i.Tb(4,"span",51),i.Bc(5),i.gc(6,"date"),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(2),i.Cc(i.ic(3,2,t.SubmittedOn,"MM/dd hh:mm a")),i.Cb(3),i.Cc(i.ic(6,5,t.SubmittedOn,"MM/dd/YY hh:mm a"))}}function vX(t,e){1&t&&(i.Tb(0,"th",48),i.Bc(1,"Name"),i.Sb())}function wX(t,e){if(1&t&&(i.Tb(0,"td",49),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Ec(" ",t.FirstName," ",t.LastName," ")}}function SX(t,e){1&t&&(i.Tb(0,"th",52),i.Bc(1,"Address"),i.Sb())}function xX(t,e){if(1&t&&(i.Tb(0,"td",53),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Gc(" ",t.Address1,"",t.Address2?" "+t.Address2:"",", ",t.City,", ",t.StateProvince," ")}}function CX(t,e){1&t&&(i.Tb(0,"th",46),i.Bc(1,"Country"),i.Sb())}function kX(t,e){if(1&t&&(i.Tb(0,"td",47),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.Country)}}function TX(t,e){1&t&&(i.Tb(0,"th",54),i.Bc(1,"Reason"),i.Sb())}function MX(t,e){if(1&t&&(i.Tb(0,"td",55),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.Reason)}}function DX(t,e){1&t&&(i.Tb(0,"th",46),i.Bc(1,"Suspended"),i.Sb())}function LX(t,e){if(1&t&&(i.Tb(0,"td",47),i.Bc(1),i.gc(2,"date"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(i.ic(2,1,t.CreatedOn,"MM/dd/YY"))}}function OX(t,e){1&t&&i.Ob(0,"th",56)}function AX(t,e){if(1&t){const t=i.Ub();i.Tb(0,"td",57),i.Tb(1,"a",58),i.bc("click",function(){i.sc(t);const n=e.$implicit;return i.fc(2).showOrder(n,"suspended")}),i.Bc(2,"Resubmit"),i.Sb(),i.Bc(3," | "),i.Tb(4,"a",58),i.bc("click",function(n){i.sc(t);const r=e.$implicit;return i.fc(2).cancel(n,r)}),i.Bc(5,"Cancel"),i.Sb(),i.Sb()}}function EX(t,e){1&t&&i.Ob(0,"tr",59)}function IX(t,e){1&t&&i.Ob(0,"tr",60)}function RX(t,e){if(1&t&&(i.Tb(0,"table",25),i.Rb(1,26),i.Ac(2,bX,2,0,"th",27),i.Ac(3,gX,2,1,"td",28),i.Qb(),i.Rb(4,29),i.Ac(5,_X,2,0,"th",30),i.Ac(6,yX,7,8,"td",31),i.Qb(),i.Rb(7,32),i.Ac(8,vX,2,0,"th",30),i.Ac(9,wX,2,2,"td",31),i.Qb(),i.Rb(10,33),i.Ac(11,SX,2,0,"th",34),i.Ac(12,xX,2,4,"td",35),i.Qb(),i.Rb(13,36),i.Ac(14,CX,2,0,"th",27),i.Ac(15,kX,2,1,"td",28),i.Qb(),i.Rb(16,37),i.Ac(17,TX,2,0,"th",38),i.Ac(18,MX,2,1,"td",39),i.Qb(),i.Rb(19,40),i.Ac(20,DX,2,0,"th",27),i.Ac(21,LX,3,4,"td",28),i.Qb(),i.Rb(22,41),i.Ac(23,OX,1,0,"th",42),i.Ac(24,AX,6,0,"td",43),i.Qb(),i.Ac(25,EX,1,0,"tr",44),i.Ac(26,IX,1,0,"tr",45),i.Sb()),2&t){const t=i.fc();i.lc("dataSource",t.suspended),i.Cb(25),i.lc("matHeaderRowDef",t.suspendedColumns),i.Cb(1),i.lc("matRowDefColumns",t.suspendedColumns)}}function YX(t,e){1&t&&(i.Tb(0,"div",20),i.Ob(1,"mat-spinner",21),i.Sb())}function jX(t,e){if(1&t&&(i.Tb(0,"div",20),i.Tb(1,"span",22),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.suspendedStatus)}}function NX(t,e){1&t&&(i.Tb(0,"th",46),i.Bc(1,"Order #"),i.Sb())}function PX(t,e){if(1&t&&(i.Tb(0,"td",47),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.OrderNumber)}}function FX(t,e){1&t&&(i.Tb(0,"th",48),i.Bc(1,"Submitted"),i.Sb())}function BX(t,e){if(1&t&&(i.Tb(0,"td",49),i.Tb(1,"span",50),i.Bc(2),i.gc(3,"date"),i.Sb(),i.Tb(4,"span",51),i.Bc(5),i.gc(6,"date"),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(2),i.Cc(i.ic(3,2,t.SubmittedOn,"MM/dd hh:mm a")),i.Cb(3),i.Cc(i.ic(6,5,t.SubmittedOn,"MM/dd/YY hh:mm a"))}}function HX(t,e){1&t&&(i.Tb(0,"th",48),i.Bc(1,"Name"),i.Sb())}function VX(t,e){if(1&t&&(i.Tb(0,"td",49),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Ec(" ",t.FirstName," ",t.LastName," ")}}function zX(t,e){1&t&&(i.Tb(0,"th",52),i.Bc(1,"Address"),i.Sb())}function UX(t,e){if(1&t&&(i.Tb(0,"td",53),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Gc(" ",t.Address1,"",t.Address2?" "+t.Address2:"",", ",t.City,", ",t.StateProvince," ")}}function WX(t,e){1&t&&(i.Tb(0,"th",46),i.Bc(1,"Country"),i.Sb())}function qX(t,e){if(1&t&&(i.Tb(0,"td",47),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.Country)}}function GX(t,e){1&t&&(i.Tb(0,"th",54),i.Bc(1,"Reason"),i.Sb())}function $X(t,e){if(1&t&&(i.Tb(0,"td",55),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(t.Reason)}}function XX(t,e){1&t&&(i.Tb(0,"th",46),i.Bc(1,"Suspended"),i.Sb())}function KX(t,e){if(1&t&&(i.Tb(0,"td",47),i.Bc(1),i.gc(2,"date"),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.Cc(i.ic(2,1,t.CreatedOn,"MM/dd/YY"))}}function JX(t,e){1&t&&(i.Tb(0,"th",54),i.Bc(1,"Action\xa0Taken"),i.Sb())}function QX(t,e){if(1&t&&i.Bc(0),2&t){const t=i.fc().$implicit;i.Dc(" ",t.ActionTaken," ")}}function ZX(t,e){if(1&t){const t=i.Ub();i.Tb(0,"a",58),i.bc("click",function(e){i.sc(t);const n=i.fc().$implicit;return i.fc(2).showOrderResubmitted(e,n)}),i.Bc(1,"Resubmitted"),i.Sb()}}function tK(t,e){if(1&t&&(i.Tb(0,"td",55),i.Ac(1,QX,1,1,"ng-template",63),i.Ac(2,ZX,2,0,"ng-template",63),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.lc("ngIf","Resubmitted"!==t.ActionTaken),i.Cb(1),i.lc("ngIf","Resubmitted"===t.ActionTaken)}}function eK(t,e){1&t&&i.Ob(0,"tr",59)}function nK(t,e){if(1&t){const t=i.Ub();i.Tb(0,"tr",64),i.bc("click",function(){i.sc(t);const n=e.$implicit;return i.fc(2).showOrder(n,"view")}),i.Sb()}}function iK(t,e){if(1&t&&(i.Tb(0,"table",25),i.Rb(1,26),i.Ac(2,NX,2,0,"th",27),i.Ac(3,PX,2,1,"td",28),i.Qb(),i.Rb(4,29),i.Ac(5,FX,2,0,"th",30),i.Ac(6,BX,7,8,"td",31),i.Qb(),i.Rb(7,32),i.Ac(8,HX,2,0,"th",30),i.Ac(9,VX,2,2,"td",31),i.Qb(),i.Rb(10,33),i.Ac(11,zX,2,0,"th",34),i.Ac(12,UX,2,4,"td",35),i.Qb(),i.Rb(13,36),i.Ac(14,WX,2,0,"th",27),i.Ac(15,qX,2,1,"td",28),i.Qb(),i.Rb(16,37),i.Ac(17,GX,2,0,"th",38),i.Ac(18,$X,2,1,"td",39),i.Qb(),i.Rb(19,40),i.Ac(20,XX,2,0,"th",27),i.Ac(21,KX,3,4,"td",28),i.Qb(),i.Rb(22,61),i.Ac(23,JX,2,0,"th",38),i.Ac(24,tK,3,2,"td",39),i.Qb(),i.Ac(25,eK,1,0,"tr",44),i.Ac(26,nK,1,0,"tr",62),i.Sb()),2&t){const t=i.fc();i.lc("dataSource",t.recent),i.Cb(25),i.lc("matHeaderRowDef",t.recentColumns),i.Cb(1),i.lc("matRowDefColumns",t.recentColumns)}}function rK(t,e){1&t&&(i.Tb(0,"div",20),i.Ob(1,"mat-spinner",21),i.Sb())}function sK(t,e){if(1&t&&(i.Tb(0,"div",20),i.Tb(1,"span",22),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.recentStatus)}}const aK=function(){return["ready","loading"]};let oK=(()=>{class t{constructor(t,e){this.prodService=t,this.dialog=e,this.chart={datasets:[{data:[]}],labels:[],options:{maintainAspectRatio:!1,responsive:!0,scales:{yAxes:[{ticks:{beginAtZero:!0}}]}},colors:[CH[3]]},this.chartStatus="loading",this.recentColumns=["OrderNumber","SubmittedOn","FullName","Address","Country","Reason","CreatedOn","ActionTaken"],this.recentStatus="loading",this.stats=[],this.statsStatus="loading",this.suspendedColumns=["OrderNumber","SubmittedOn","FullName","Address","Country","Reason","CreatedOn","Actions"],this.suspendedStatus="loading",this.suspended=new ho([]),this.recent=new ho([])}ngOnInit(){this.loadSuspendedStats(),this.loadSuspendedDaily(),this.loadSuspendedUnresolved(),this.loadSuspendedResolved()}cancel(t,e){return kT(this,void 0,void 0,function*(){t.stopPropagation();const n=this.dialog.open(iz,{ariaLabel:"Confirm",data:{title:"Cancel Order",prompt:"Are you sure that you would like to cancel this order?"},maxWidth:500,width:"calc(100% - 20px)"});"yes"===(yield n.afterClosed().toPromise())&&(this.prodService.cancelOrder(e.OrderNumber),this.updateLists(e,"cancel"))})}loadSuspendedDaily(){return kT(this,void 0,void 0,function*(){const t=yield this.prodService.suspendedDaily();if(t.success){const e=[];t.data.forEach(t=>{this.chart.labels.push(t.Day),e.push(t.Count)}),this.chart.datasets[0].data=e,this.chartStatus="ready"}else this.chartStatus=t.error||"Error loading data."})}loadSuspendedResolved(){return kT(this,void 0,void 0,function*(){const t=yield this.prodService.suspendedResolved();t.success?(this.recent.next(t.data),this.recentStatus="ready"):this.recentStatus=t.error||"Error loading data."})}loadSuspendedStats(){return kT(this,void 0,void 0,function*(){const t=yield this.prodService.suspendedStats();t.success?(this.stats=t.data,this.statsStatus="ready"):this.statsStatus=t.error||"Error loading data."})}loadSuspendedUnresolved(){return kT(this,void 0,void 0,function*(){const t=yield this.prodService.suspendedUnresolved();t.success?(this.suspended.next(t.data),this.suspendedStatus="ready"):this.suspendedStatus=t.error||"Error loading data."})}showOrder(t,e){return kT(this,void 0,void 0,function*(){const n=this.dialog.open(Xz,{ariaLabel:"Order Detail",data:{mode:e,order:t},maxWidth:800,width:"calc(100% - 20px)"}),i=yield n.afterClosed().toPromise();"cancel"!==(null==i?void 0:i.action)&&"resubmit"!==(null==i?void 0:i.action)||this.updateLists(t,i.action)})}showOrderResubmitted(t,e){return kT(this,void 0,void 0,function*(){t.stopPropagation();const n=this.dialog.open(Xz,{ariaLabel:"Order Detail",data:{mode:"view",order:{OrderNumber:e.NewOrderNumber,SubmittedOn:e.ActionDate}},maxWidth:800,width:"calc(100% - 20px)"}),i=yield n.afterClosed().toPromise();"cancel"!==(null==i?void 0:i.action)&&"resubmit"!==(null==i?void 0:i.action)||this.updateLists(e,i.action)})}updateLists(t,e){const n=this.suspended.value,i=this.recent.value,r=n.findIndex(e=>e.OrderID===t.OrderID);n[r].ActionTaken="cancel"===e?"Canceled":"Resubmitted",i.unshift(n[r]),n.splice(r,1),this.suspended.next(n),this.recent.next(i)}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(LH),i.Nb(Zp))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-suspended-orders"]],decls:49,vars:16,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto"],["fxFlex","1 1 auto","fxLayout.lt-md","column","fxLayout.gt-sm","row","fxLayoutGap","24px"],["fxFlex.lt-md","1 1 auto","fxFlex.md","0 0 calc(50% - 12px)","fxFlex.lg","0 0 calc(40% - 12px)","fxFlex.xl","0 0 calc(30% - 12px)"],["fxFlex","0 0 100",1,"mat-elevation-z3"],["fxLayoutAlign.xs","center center"],["fxLayout.xs","column","fxLayout.gt-xs","row","fxLayoutGap","6px"],["class","table table-sm",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],["fxFlex.lt-md","1 1 auto","fxFlex.md","0 0 calc(50% - 12px)","fxFlex.lg","0 0 calc(60% - 12px)","fxFlex.xl","0 0 calc(70% - 12px)"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["ngClass.xs","chart-200-xs","ngClass.gt-xs","chart-300",4,"ngIf"],["fxFlex","1 1 auto","fxLayout","row","fxLayoutGap","24px"],["fxFlex","1 1 auto","mat-table","",3,"dataSource",4,"ngIf"],[1,"table","table-sm"],[1,"text-right"],["ngFor","",3,"ngForOf"],[4,"ngIf"],[1,"text-bold"],[2,"padding-left","2em"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],["color","accent"],[1,"error"],["ngClass.xs","chart-200-xs","ngClass.gt-xs","chart-300"],["baseChart","","chartType","bar",3,"datasets","labels","options","colors","legend"],["fxFlex","1 1 auto","mat-table","",3,"dataSource"],["matColumnDef","OrderNumber"],["mat-header-cell","","fxHide.xs","",4,"matHeaderCellDef"],["mat-cell","","fxHide.xs","",4,"matCellDef"],["matColumnDef","SubmittedOn"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","FullName"],["matColumnDef","Address"],["style","width:25%;","mat-header-cell","","fxHide.lt-lg","",4,"matHeaderCellDef"],["style","width:25%;","mat-cell","","fxHide.lt-lg","",4,"matCellDef"],["matColumnDef","Country"],["matColumnDef","Reason"],["mat-header-cell","","fxHide.lt-md","",4,"matHeaderCellDef"],["mat-cell","","fxHide.lt-md","",4,"matCellDef"],["matColumnDef","CreatedOn"],["matColumnDef","Actions"],["style","width:120px;","mat-header-cell","","fxHide.xs","",4,"matHeaderCellDef"],["style","width:120px;white-space:nowrap;","mat-cell","","fxHide.xs","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","data","mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell","","fxHide.xs",""],["mat-cell","","fxHide.xs",""],["mat-header-cell",""],["mat-cell",""],["fxHide.gt-sm",""],["fxHide.lt-md",""],["mat-header-cell","","fxHide.lt-lg","",2,"width","25%"],["mat-cell","","fxHide.lt-lg","",2,"width","25%"],["mat-header-cell","","fxHide.lt-md",""],["mat-cell","","fxHide.lt-md",""],["mat-header-cell","","fxHide.xs","",2,"width","120px"],["mat-cell","","fxHide.xs","",2,"width","120px","white-space","nowrap"],["href","javascript:void(0)",3,"click"],["mat-header-row",""],["mat-row","",1,"data"],["matColumnDef","ActionTaken"],["class","data row-clickable","mat-row","",3,"click",4,"matRowDef","matRowDefColumns"],[3,"ngIf"],["mat-row","",1,"data","row-clickable",3,"click"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"h2"),i.Bc(3,"Suspended Orders"),i.Sb(),i.Sb(),i.Tb(4,"div",2),i.Tb(5,"div",3),i.Tb(6,"mat-card",4),i.Tb(7,"mat-card-header"),i.Tb(8,"mat-card-title",5),i.Tb(9,"div",6),i.Tb(10,"span"),i.Bc(11,"Stats"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(12,"mat-card-content"),i.Ac(13,uX,13,4,"table",7),i.Ac(14,dX,2,0,"div",8),i.Ac(15,hX,3,1,"div",8),i.Sb(),i.Sb(),i.Sb(),i.Tb(16,"div",9),i.Tb(17,"mat-card",10),i.Tb(18,"mat-card-header"),i.Tb(19,"mat-card-title",5),i.Tb(20,"div",6),i.Tb(21,"span"),i.Bc(22,"Daily Suspended Orders"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(23,"mat-card-content"),i.Ac(24,fX,2,5,"div",11),i.Ac(25,mX,2,0,"div",8),i.Ac(26,pX,3,1,"div",8),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(27,"div",12),i.Tb(28,"mat-card",10),i.Tb(29,"mat-card-header"),i.Tb(30,"mat-card-title",5),i.Tb(31,"div",6),i.Tb(32,"span"),i.Bc(33,"Unresolved"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(34,"mat-card-content"),i.Ac(35,RX,27,3,"table",13),i.Ac(36,YX,2,0,"div",8),i.Ac(37,jX,3,1,"div",8),i.Sb(),i.Sb(),i.Sb(),i.Tb(38,"div",12),i.Tb(39,"mat-card",10),i.Tb(40,"mat-card-header"),i.Tb(41,"mat-card-title",5),i.Tb(42,"div",6),i.Tb(43,"span"),i.Bc(44,"Recently Resolved"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(45,"mat-card-content"),i.Ac(46,iK,27,3,"table",13),i.Ac(47,rK,2,0,"div",8),i.Ac(48,sK,3,1,"div",8),i.Sb(),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(13),i.lc("ngIf","ready"===e.statsStatus),i.Cb(1),i.lc("ngIf","loading"===e.statsStatus),i.Cb(1),i.lc("ngIf",i.nc(12,aK).indexOf(e.statsStatus)<0),i.Cb(9),i.lc("ngIf","ready"===e.chartStatus),i.Cb(1),i.lc("ngIf","loading"===e.chartStatus),i.Cb(1),i.lc("ngIf",i.nc(13,aK).indexOf(e.chartStatus)<0),i.Cb(9),i.lc("ngIf","ready"===e.suspendedStatus),i.Cb(1),i.lc("ngIf","loading"===e.suspendedStatus),i.Cb(1),i.lc("ngIf",i.nc(14,aK).indexOf(e.suspendedStatus)<0),i.Cb(9),i.lc("ngIf","ready"===e.recentStatus),i.Cb(1),i.lc("ngIf","loading"===e.recentStatus),i.Cb(1),i.lc("ngIf",i.nc(15,aK).indexOf(e.recentStatus)<0))},directives:[Xu,Ou,Nu,Of,Af,Df,sd,Mf,pt,ft,g_,Zc,mx,Dv,Rv,Ev,Ov,Bv,Vv,jv,au,Pv,Uv,qv],pipes:[At,Lt],styles:["table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:12px}"]}),t})();function lK(t,e){if(1&t&&(i.Tb(0,"mat-checkbox",11),i.bc("ngModelChange",function(t){return e.$implicit.selected=t}),i.Bc(1),i.Sb()),2&t){const t=e.$implicit;i.lc("ngModel",t.selected),i.Cb(1),i.Dc(" ",t.name," ")}}let cK=(()=>{class t{constructor(t,e){this.dialogRef=t,this.data=e,this.filterType="Or",this.items=[],this.filterType=this.data.filterType,this.data.tags.forEach(t=>{this.items.push({name:t,selected:this.data.selected.indexOf(t)>=0})})}clear(){this.items.forEach(t=>t.selected=!1)}setTags(){const t=[];this.items.filter(t=>t.selected).forEach(e=>t.push(e.name)),this.dialogRef.close({filterType:this.filterType,selected:t})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(qp),i.Nb($p))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-select-tags"]],decls:21,vars:2,consts:[["mat-dialog-title",""],["mat-dialog-content","","fxLayout","column","fxLayoutGap","12px"],["aria-label","Select a filter type","fxLayout","row","fxLayoutGap","16px",3,"ngModel","ngModelChange"],["value","Or"],["value","And"],["fxFlex","1 1 auto","gdColumns.gt-md","25% 25% 25% 25%","gdColumns.md","33% 33% 33%","gdColumns.sm","50% 50%","gdColumns.xs","100%"],[3,"ngModel","ngModelChange",4,"ngFor","ngForOf"],["mat-dialog-actions","","align","end"],["mat-raised-button","","color","primary",3,"click"],["mat-raised-button","",3,"click"],["mat-raised-button","","cdkFocusInitial","","mat-dialog-close","cancel","cdkFocusInitial",""],[3,"ngModel","ngModelChange"]],template:function(t,e){1&t&&(i.Tb(0,"h1",0),i.Bc(1,"Select Tags"),i.Sb(),i.Tb(2,"div",1),i.Tb(3,"h2"),i.Bc(4,"Filter Type:"),i.Sb(),i.Tb(5,"mat-radio-group",2),i.bc("ngModelChange",function(t){return e.filterType=t}),i.Tb(6,"mat-radio-button",3),i.Bc(7,"Or"),i.Sb(),i.Tb(8,"mat-radio-button",4),i.Bc(9,"And"),i.Sb(),i.Sb(),i.Tb(10,"h2"),i.Bc(11,"Campaign Tags:"),i.Sb(),i.Tb(12,"div",5),i.Ac(13,lK,2,2,"mat-checkbox",6),i.Sb(),i.Sb(),i.Tb(14,"div",7),i.Tb(15,"button",8),i.bc("click",function(){return e.setTags()}),i.Bc(16,"OK"),i.Sb(),i.Tb(17,"button",9),i.bc("click",function(){return e.clear()}),i.Bc(18,"Clear All"),i.Sb(),i.Tb(19,"button",10),i.Bc(20,"Cancel"),i.Sb(),i.Sb()),2&t&&(i.Cb(5),i.lc("ngModel",e.filterType),i.Cb(8),i.lc("ngForOf",e.items))},directives:[nb,ib,Ou,Nu,D_,ws,ma,I_,Xu,Sd,ft,rb,wf,eb,Uf],styles:["h2[_ngcontent-%COMP%]{margin-bottom:8px!important}"]}),t})();function uK(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.Sb()),2&t){const t=i.fc();i.Cb(1),i.Dc("(",t.tagFilterType,")")}}function dK(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.Sb()),2&t){const t=i.fc();i.Cb(1),i.Dc("(",t.tagFilterType,")")}}function hK(t,e){if(1&t&&(i.Tb(0,"td",45),i.Bc(1),i.gc(2,"date"),i.gc(3,"date"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Ec(" ",i.ic(2,2,t.MinDeployDate,"MM/dd/yy")," - ",i.ic(3,5,t.MaxDeployDate,"MM/dd/yy"),"")}}function fK(t,e){if(1&t&&(i.Tb(0,"td",45),i.Bc(1),i.gc(2,"date"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Dc(" ",i.ic(2,1,t.MinDeployDate,"MM/dd/yy"),"")}}function mK(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td",58),i.Bc(2),i.Sb(),i.Ac(3,hK,4,8,"td",59),i.Ac(4,fK,3,4,"td",59),i.Tb(5,"td",54),i.Bc(6),i.gc(7,"number"),i.Sb(),i.Tb(8,"td",54),i.Bc(9),i.gc(10,"number"),i.Sb(),i.Tb(11,"td",55),i.Bc(12),i.gc(13,"number"),i.Sb(),i.Tb(14,"td",56),i.Bc(15),i.gc(16,"number"),i.Sb(),i.Tb(17,"td",56),i.Bc(18),i.gc(19,"number"),i.Sb(),i.Tb(20,"td",56),i.Bc(21),i.gc(22,"number"),i.Sb(),i.Tb(23,"td",56),i.Bc(24),i.gc(25,"number"),i.Sb(),i.Tb(26,"td",57),i.Bc(27),i.gc(28,"number"),i.Sb(),i.Tb(29,"td",57),i.Bc(30),i.gc(31,"number"),i.Sb(),i.Tb(32,"td",57),i.Bc(33),i.gc(34,"number"),i.Sb(),i.Tb(35,"td",57),i.Bc(36),i.gc(37,"number"),i.Sb(),i.Tb(38,"td",57),i.Bc(39),i.gc(40,"number"),i.Sb(),i.Tb(41,"td",57),i.Bc(42),i.gc(43,"number"),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.mc("title",t.CampaignTags),i.Cb(1),i.Cc(t.CampaignName),i.Cb(1),i.lc("ngIf",t.MinDeployDate!==t.MaxDeployDate),i.Cb(1),i.lc("ngIf",t.MinDeployDate===t.MaxDeployDate),i.Cb(2),i.Cc(i.hc(7,17,t.Sent)),i.Cb(3),i.Cc(i.hc(10,19,t.Delivered)),i.Cb(3),i.Cc(i.hc(13,21,t.Delivered/t.Sent*100)),i.Cb(3),i.Cc(i.hc(16,23,t.OpenedUnique)),i.Cb(3),i.Cc(i.hc(19,25,t.OpenedUnique/t.Sent*100)),i.Cb(3),i.Cc(i.hc(22,27,t.Opened)),i.Cb(3),i.Cc(i.hc(25,29,t.Opened/t.Sent*100)),i.Cb(3),i.Cc(i.hc(28,31,t.ClickedUnique)),i.Cb(3),i.Cc(i.hc(31,33,t.ClickedUnique/t.Sent*100)),i.Cb(3),i.Cc(i.hc(34,35,t.Clicked)),i.Cb(3),i.Cc(i.hc(37,37,t.Clicked/t.Sent*100)),i.Cb(3),i.Cc(i.hc(40,39,t.Unsubscribed)),i.Cb(3),i.Cc(i.hc(43,41,t.Unsubscribed/t.Sent*100))}}function pK(t,e){if(1&t&&(i.Tb(0,"table",42),i.Tb(1,"thead",43),i.Tb(2,"tr"),i.Tb(3,"th",44),i.Bc(4,"Campaign"),i.Sb(),i.Tb(5,"th",45),i.Bc(6,"Deploy Date"),i.Sb(),i.Tb(7,"th",46),i.Bc(8,"Total"),i.Ob(9,"br"),i.Bc(10,"Sent"),i.Sb(),i.Tb(11,"th",46),i.Bc(12,"Total"),i.Ob(13,"br"),i.Bc(14,"Delivered"),i.Sb(),i.Tb(15,"th",47),i.Bc(16,"Total"),i.Ob(17,"br"),i.Bc(18,"Delivered %"),i.Sb(),i.Tb(19,"th",48),i.Bc(20,"Unique"),i.Ob(21,"br"),i.Bc(22,"Opened"),i.Sb(),i.Tb(23,"th",48),i.Bc(24,"Unique"),i.Ob(25,"br"),i.Bc(26,"Opened %"),i.Sb(),i.Tb(27,"th",48),i.Bc(28,"Total"),i.Ob(29,"br"),i.Bc(30,"Opened"),i.Sb(),i.Tb(31,"th",48),i.Bc(32,"Total"),i.Ob(33,"br"),i.Bc(34,"Opened %"),i.Sb(),i.Tb(35,"th",49),i.Bc(36,"Unique"),i.Ob(37,"br"),i.Bc(38,"Clicked"),i.Sb(),i.Tb(39,"th",49),i.Bc(40,"Unique"),i.Ob(41,"br"),i.Bc(42,"Clicked %"),i.Sb(),i.Tb(43,"th",49),i.Bc(44,"Total"),i.Ob(45,"br"),i.Bc(46,"Clicked"),i.Sb(),i.Tb(47,"th",49),i.Bc(48,"Total"),i.Ob(49,"br"),i.Bc(50,"Clicked %"),i.Sb(),i.Tb(51,"th",49),i.Bc(52,"Total"),i.Ob(53,"br"),i.Bc(54,"Unsub."),i.Sb(),i.Tb(55,"th",49),i.Bc(56,"Total"),i.Ob(57,"br"),i.Bc(58,"Unsub. %"),i.Sb(),i.Sb(),i.Sb(),i.Tb(59,"tbody"),i.Ac(60,mK,44,43,"tr",50),i.Sb(),i.Tb(61,"tfoot"),i.Tb(62,"tr",51),i.Tb(63,"td",52),i.Bc(64),i.Sb(),i.Ob(65,"td",53),i.Tb(66,"td",54),i.Bc(67),i.gc(68,"number"),i.Sb(),i.Tb(69,"td",54),i.Bc(70),i.gc(71,"number"),i.Sb(),i.Tb(72,"td",55),i.Bc(73),i.gc(74,"number"),i.Sb(),i.Tb(75,"td",56),i.Bc(76),i.gc(77,"number"),i.Sb(),i.Tb(78,"td",56),i.Bc(79),i.gc(80,"number"),i.Sb(),i.Tb(81,"td",56),i.Bc(82),i.gc(83,"number"),i.Sb(),i.Tb(84,"td",56),i.Bc(85),i.gc(86,"number"),i.Sb(),i.Tb(87,"td",57),i.Bc(88),i.gc(89,"number"),i.Sb(),i.Tb(90,"td",57),i.Bc(91),i.gc(92,"number"),i.Sb(),i.Tb(93,"td",57),i.Bc(94),i.gc(95,"number"),i.Sb(),i.Tb(96,"td",57),i.Bc(97),i.gc(98,"number"),i.Sb(),i.Tb(99,"td",57),i.Bc(100),i.gc(101,"number"),i.Sb(),i.Tb(102,"td",57),i.Bc(103),i.gc(104,"number"),i.Sb(),i.Sb(),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(60),i.lc("ngForOf",t.zeta.weekly),i.Cb(4),i.Cc(t.totalsWeekly.CampaignName),i.Cb(3),i.Cc(i.hc(68,15,t.totalsWeekly.Sent)),i.Cb(3),i.Cc(i.hc(71,17,t.totalsWeekly.Delivered)),i.Cb(3),i.Cc(i.hc(74,19,t.totalsWeekly.Delivered/t.totalsWeekly.Sent*100)),i.Cb(3),i.Cc(i.hc(77,21,t.totalsWeekly.OpenedUnique)),i.Cb(3),i.Dc("",i.hc(80,23,t.totalsWeekly.OpenedUnique/t.totalsWeekly.Sent*100)," "),i.Cb(3),i.Cc(i.hc(83,25,t.totalsWeekly.Opened)),i.Cb(3),i.Cc(i.hc(86,27,t.totalsWeekly.Opened/t.totalsWeekly.Sent*100)),i.Cb(3),i.Cc(i.hc(89,29,t.totalsWeekly.ClickedUnique)),i.Cb(3),i.Dc("",i.hc(92,31,t.totalsWeekly.ClickedUnique/t.totalsWeekly.Sent*100)," "),i.Cb(3),i.Cc(i.hc(95,33,t.totalsWeekly.Clicked)),i.Cb(3),i.Cc(i.hc(98,35,t.totalsWeekly.Clicked/t.totalsWeekly.Sent*100)),i.Cb(3),i.Cc(i.hc(101,37,t.totalsWeekly.Unsubscribed)),i.Cb(3),i.Dc("",i.hc(104,39,t.totalsWeekly.Unsubscribed/t.totalsWeekly.Sent*100)," ")}}function bK(t,e){1&t&&(i.Tb(0,"div",60),i.Tb(1,"span",61),i.Bc(2,"There are no weekly campaigns for the specified dates."),i.Sb(),i.Sb())}function gK(t,e){1&t&&(i.Tb(0,"div",60),i.Ob(1,"mat-spinner",62),i.Sb())}function _K(t,e){if(1&t&&(i.Tb(0,"div",60),i.Tb(1,"span",63),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.zetaStatus)}}function yK(t,e){if(1&t&&(i.Tb(0,"td",45),i.Bc(1),i.gc(2,"date"),i.gc(3,"date"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Ec(" ",i.ic(2,2,t.MinDeployDate,"MM/dd/yy")," - ",i.ic(3,5,t.MaxDeployDate,"MM/dd/yy"),"")}}function vK(t,e){if(1&t&&(i.Tb(0,"td",45),i.Bc(1),i.gc(2,"date"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Dc(" ",i.ic(2,1,t.MinDeployDate,"MM/dd/yy"),"")}}function wK(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td",58),i.Bc(2),i.Sb(),i.Ac(3,yK,4,8,"td",59),i.Ac(4,vK,3,4,"td",59),i.Tb(5,"td",54),i.Bc(6),i.gc(7,"number"),i.Sb(),i.Tb(8,"td",54),i.Bc(9),i.gc(10,"number"),i.Sb(),i.Tb(11,"td",55),i.Bc(12),i.gc(13,"number"),i.Sb(),i.Tb(14,"td",56),i.Bc(15),i.gc(16,"number"),i.Sb(),i.Tb(17,"td",56),i.Bc(18),i.gc(19,"number"),i.Sb(),i.Tb(20,"td",56),i.Bc(21),i.gc(22,"number"),i.Sb(),i.Tb(23,"td",56),i.Bc(24),i.gc(25,"number"),i.Sb(),i.Tb(26,"td",57),i.Bc(27),i.gc(28,"number"),i.Sb(),i.Tb(29,"td",57),i.Bc(30),i.gc(31,"number"),i.Sb(),i.Tb(32,"td",57),i.Bc(33),i.gc(34,"number"),i.Sb(),i.Tb(35,"td",57),i.Bc(36),i.gc(37,"number"),i.Sb(),i.Tb(38,"td",57),i.Bc(39),i.gc(40,"number"),i.Sb(),i.Tb(41,"td",57),i.Bc(42),i.gc(43,"number"),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.mc("title",t.CampaignTags),i.Cb(1),i.Cc(t.CampaignName),i.Cb(1),i.lc("ngIf",t.MinDeployDate!==t.MaxDeployDate),i.Cb(1),i.lc("ngIf",t.MinDeployDate===t.MaxDeployDate),i.Cb(2),i.Cc(i.hc(7,17,t.Sent)),i.Cb(3),i.Cc(i.hc(10,19,t.Delivered)),i.Cb(3),i.Cc(i.hc(13,21,t.Delivered/t.Sent*100)),i.Cb(3),i.Cc(i.hc(16,23,t.OpenedUnique)),i.Cb(3),i.Cc(i.hc(19,25,t.OpenedUnique/t.Sent*100)),i.Cb(3),i.Cc(i.hc(22,27,t.Opened)),i.Cb(3),i.Cc(i.hc(25,29,t.Opened/t.Sent*100)),i.Cb(3),i.Cc(i.hc(28,31,t.ClickedUnique)),i.Cb(3),i.Cc(i.hc(31,33,t.ClickedUnique/t.Sent*100)),i.Cb(3),i.Cc(i.hc(34,35,t.Clicked)),i.Cb(3),i.Cc(i.hc(37,37,t.Clicked/t.Sent*100)),i.Cb(3),i.Cc(i.hc(40,39,t.Unsubscribed)),i.Cb(3),i.Cc(i.hc(43,41,t.Unsubscribed/t.Sent*100))}}function SK(t,e){if(1&t&&(i.Tb(0,"table",42),i.Tb(1,"thead",43),i.Tb(2,"tr"),i.Tb(3,"th",44),i.Bc(4,"Campaign"),i.Sb(),i.Tb(5,"th",45),i.Bc(6,"Deploy Date"),i.Sb(),i.Tb(7,"th",46),i.Bc(8,"Total"),i.Ob(9,"br"),i.Bc(10,"Sent"),i.Sb(),i.Tb(11,"th",46),i.Bc(12,"Total"),i.Ob(13,"br"),i.Bc(14,"Delivered"),i.Sb(),i.Tb(15,"th",47),i.Bc(16,"Total"),i.Ob(17,"br"),i.Bc(18,"Delivered %"),i.Sb(),i.Tb(19,"th",48),i.Bc(20,"Unique"),i.Ob(21,"br"),i.Bc(22,"Opened"),i.Sb(),i.Tb(23,"th",48),i.Bc(24,"Unique"),i.Ob(25,"br"),i.Bc(26,"Opened %"),i.Sb(),i.Tb(27,"th",48),i.Bc(28,"Total"),i.Ob(29,"br"),i.Bc(30,"Opened"),i.Sb(),i.Tb(31,"th",48),i.Bc(32,"Total"),i.Ob(33,"br"),i.Bc(34,"Opened %"),i.Sb(),i.Tb(35,"th",49),i.Bc(36,"Unique"),i.Ob(37,"br"),i.Bc(38,"Clicked"),i.Sb(),i.Tb(39,"th",49),i.Bc(40,"Unique"),i.Ob(41,"br"),i.Bc(42,"Clicked %"),i.Sb(),i.Tb(43,"th",49),i.Bc(44,"Total"),i.Ob(45,"br"),i.Bc(46,"Clicked"),i.Sb(),i.Tb(47,"th",49),i.Bc(48,"Total"),i.Ob(49,"br"),i.Bc(50,"Clicked %"),i.Sb(),i.Tb(51,"th",49),i.Bc(52,"Total"),i.Ob(53,"br"),i.Bc(54,"Unsub."),i.Sb(),i.Tb(55,"th",49),i.Bc(56,"Total"),i.Ob(57,"br"),i.Bc(58,"Unsub. %"),i.Sb(),i.Sb(),i.Sb(),i.Tb(59,"tbody"),i.Ac(60,wK,44,43,"tr",50),i.Sb(),i.Tb(61,"tfoot"),i.Tb(62,"tr",51),i.Tb(63,"td",64),i.Bc(64),i.Sb(),i.Ob(65,"td",53),i.Tb(66,"td",54),i.Bc(67),i.gc(68,"number"),i.Sb(),i.Tb(69,"td",54),i.Bc(70),i.gc(71,"number"),i.Sb(),i.Tb(72,"td",55),i.Bc(73),i.gc(74,"number"),i.Sb(),i.Tb(75,"td",56),i.Bc(76),i.gc(77,"number"),i.Sb(),i.Tb(78,"td",56),i.Bc(79),i.gc(80,"number"),i.Sb(),i.Tb(81,"td",56),i.Bc(82),i.gc(83,"number"),i.Sb(),i.Tb(84,"td",56),i.Bc(85),i.gc(86,"number"),i.Sb(),i.Tb(87,"td",57),i.Bc(88),i.gc(89,"number"),i.Sb(),i.Tb(90,"td",57),i.Bc(91),i.gc(92,"number"),i.Sb(),i.Tb(93,"td",57),i.Bc(94),i.gc(95,"number"),i.Sb(),i.Tb(96,"td",57),i.Bc(97),i.gc(98,"number"),i.Sb(),i.Tb(99,"td",57),i.Bc(100),i.gc(101,"number"),i.Sb(),i.Tb(102,"td",57),i.Bc(103),i.gc(104,"number"),i.Sb(),i.Sb(),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(60),i.lc("ngForOf",t.zeta.welcome),i.Cb(4),i.Cc(t.totalsWelcome.CampaignName),i.Cb(3),i.Cc(i.hc(68,15,t.totalsWelcome.Sent)),i.Cb(3),i.Cc(i.hc(71,17,t.totalsWelcome.Delivered)),i.Cb(3),i.Dc("",i.hc(74,19,t.totalsWelcome.Delivered/t.totalsWelcome.Sent*100)," "),i.Cb(3),i.Cc(i.hc(77,21,t.totalsWelcome.OpenedUnique)),i.Cb(3),i.Dc("",i.hc(80,23,t.totalsWelcome.OpenedUnique/t.totalsWelcome.Sent*100)," "),i.Cb(3),i.Cc(i.hc(83,25,t.totalsWelcome.Opened)),i.Cb(3),i.Cc(i.hc(86,27,t.totalsWelcome.Opened/t.totalsWelcome.Sent*100)),i.Cb(3),i.Cc(i.hc(89,29,t.totalsWelcome.ClickedUnique)),i.Cb(3),i.Dc("",i.hc(92,31,t.totalsWelcome.ClickedUnique/t.totalsWelcome.Sent*100)," "),i.Cb(3),i.Cc(i.hc(95,33,t.totalsWelcome.Clicked)),i.Cb(3),i.Cc(i.hc(98,35,t.totalsWelcome.Clicked/t.totalsWelcome.Sent*100)),i.Cb(3),i.Cc(i.hc(101,37,t.totalsWelcome.Unsubscribed)),i.Cb(3),i.Dc("",i.hc(104,39,t.totalsWelcome.Unsubscribed/t.totalsWelcome.Sent*100)," ")}}function xK(t,e){1&t&&(i.Tb(0,"div",60),i.Tb(1,"span",61),i.Bc(2,"There are no welcome campaigns for the specified dates."),i.Sb(),i.Sb())}function CK(t,e){1&t&&(i.Tb(0,"div",60),i.Ob(1,"mat-spinner",62),i.Sb())}function kK(t,e){if(1&t&&(i.Tb(0,"div",60),i.Tb(1,"span",63),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.zetaStatus)}}function TK(t,e){if(1&t&&(i.Tb(0,"td",45),i.Bc(1),i.gc(2,"date"),i.gc(3,"date"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Ec(" ",i.ic(2,2,t.MinDeployDate,"MM/dd/yy")," - ",i.ic(3,5,t.MaxDeployDate,"MM/dd/yy"),"")}}function MK(t,e){if(1&t&&(i.Tb(0,"td",45),i.Bc(1),i.gc(2,"date"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Dc(" ",i.ic(2,1,t.MinDeployDate,"MM/dd/yy"),"")}}function DK(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td",58),i.Bc(2),i.Sb(),i.Ac(3,TK,4,8,"td",59),i.Ac(4,MK,3,4,"td",59),i.Tb(5,"td",54),i.Bc(6),i.gc(7,"number"),i.Sb(),i.Tb(8,"td",54),i.Bc(9),i.gc(10,"number"),i.Sb(),i.Tb(11,"td",55),i.Bc(12),i.gc(13,"number"),i.Sb(),i.Tb(14,"td",56),i.Bc(15),i.gc(16,"number"),i.Sb(),i.Tb(17,"td",56),i.Bc(18),i.gc(19,"number"),i.Sb(),i.Tb(20,"td",56),i.Bc(21),i.gc(22,"number"),i.Sb(),i.Tb(23,"td",56),i.Bc(24),i.gc(25,"number"),i.Sb(),i.Tb(26,"td",57),i.Bc(27),i.gc(28,"number"),i.Sb(),i.Tb(29,"td",57),i.Bc(30),i.gc(31,"number"),i.Sb(),i.Tb(32,"td",57),i.Bc(33),i.gc(34,"number"),i.Sb(),i.Tb(35,"td",57),i.Bc(36),i.gc(37,"number"),i.Sb(),i.Tb(38,"td",57),i.Bc(39),i.gc(40,"number"),i.Sb(),i.Tb(41,"td",57),i.Bc(42),i.gc(43,"number"),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(1),i.mc("title",t.CampaignTags),i.Cb(1),i.Cc(t.CampaignName),i.Cb(1),i.lc("ngIf",t.MinDeployDate!==t.MaxDeployDate),i.Cb(1),i.lc("ngIf",t.MinDeployDate===t.MaxDeployDate),i.Cb(2),i.Cc(i.hc(7,17,t.Sent)),i.Cb(3),i.Cc(i.hc(10,19,t.Delivered)),i.Cb(3),i.Cc(i.hc(13,21,t.Delivered/t.Sent*100)),i.Cb(3),i.Cc(i.hc(16,23,t.OpenedUnique)),i.Cb(3),i.Cc(i.hc(19,25,t.OpenedUnique/t.Sent*100)),i.Cb(3),i.Cc(i.hc(22,27,t.Opened)),i.Cb(3),i.Cc(i.hc(25,29,t.Opened/t.Sent*100)),i.Cb(3),i.Cc(i.hc(28,31,t.ClickedUnique)),i.Cb(3),i.Cc(i.hc(31,33,t.ClickedUnique/t.Sent*100)),i.Cb(3),i.Cc(i.hc(34,35,t.Clicked)),i.Cb(3),i.Cc(i.hc(37,37,t.Clicked/t.Sent*100)),i.Cb(3),i.Cc(i.hc(40,39,t.Unsubscribed)),i.Cb(3),i.Cc(i.hc(43,41,t.Unsubscribed/t.Sent*100))}}function LK(t,e){if(1&t&&(i.Tb(0,"table",42),i.Tb(1,"thead",43),i.Tb(2,"tr"),i.Tb(3,"th",44),i.Bc(4,"Campaign"),i.Sb(),i.Tb(5,"th",45),i.Bc(6,"Deploy Date"),i.Sb(),i.Tb(7,"th",46),i.Bc(8,"Total"),i.Ob(9,"br"),i.Bc(10,"Sent"),i.Sb(),i.Tb(11,"th",46),i.Bc(12,"Total"),i.Ob(13,"br"),i.Bc(14,"Delivered"),i.Sb(),i.Tb(15,"th",47),i.Bc(16,"Total"),i.Ob(17,"br"),i.Bc(18,"Delivered %"),i.Sb(),i.Tb(19,"th",48),i.Bc(20,"Unique"),i.Ob(21,"br"),i.Bc(22,"Opened"),i.Sb(),i.Tb(23,"th",48),i.Bc(24,"Unique"),i.Ob(25,"br"),i.Bc(26,"Opened %"),i.Sb(),i.Tb(27,"th",48),i.Bc(28,"Total"),i.Ob(29,"br"),i.Bc(30,"Opened"),i.Sb(),i.Tb(31,"th",48),i.Bc(32,"Total"),i.Ob(33,"br"),i.Bc(34,"Opened %"),i.Sb(),i.Tb(35,"th",49),i.Bc(36,"Unique"),i.Ob(37,"br"),i.Bc(38,"Clicked"),i.Sb(),i.Tb(39,"th",49),i.Bc(40,"Unique"),i.Ob(41,"br"),i.Bc(42,"Clicked %"),i.Sb(),i.Tb(43,"th",49),i.Bc(44,"Total"),i.Ob(45,"br"),i.Bc(46,"Clicked"),i.Sb(),i.Tb(47,"th",49),i.Bc(48,"Total"),i.Ob(49,"br"),i.Bc(50,"Clicked %"),i.Sb(),i.Tb(51,"th",49),i.Bc(52,"Total"),i.Ob(53,"br"),i.Bc(54,"Unsub."),i.Sb(),i.Tb(55,"th",49),i.Bc(56,"Total"),i.Ob(57,"br"),i.Bc(58,"Unsub. %"),i.Sb(),i.Sb(),i.Sb(),i.Tb(59,"tbody"),i.Ac(60,DK,44,43,"tr",50),i.Sb(),i.Tb(61,"tfoot"),i.Tb(62,"tr",51),i.Tb(63,"td",64),i.Bc(64),i.Sb(),i.Ob(65,"td",53),i.Tb(66,"td",54),i.Bc(67),i.gc(68,"number"),i.Sb(),i.Tb(69,"td",54),i.Bc(70),i.gc(71,"number"),i.Sb(),i.Tb(72,"td",55),i.Bc(73),i.gc(74,"number"),i.Sb(),i.Tb(75,"td",56),i.Bc(76),i.gc(77,"number"),i.Sb(),i.Tb(78,"td",56),i.Bc(79),i.gc(80,"number"),i.Sb(),i.Tb(81,"td",56),i.Bc(82),i.gc(83,"number"),i.Sb(),i.Tb(84,"td",56),i.Bc(85),i.gc(86,"number"),i.Sb(),i.Tb(87,"td",57),i.Bc(88),i.gc(89,"number"),i.Sb(),i.Tb(90,"td",57),i.Bc(91),i.gc(92,"number"),i.Sb(),i.Tb(93,"td",57),i.Bc(94),i.gc(95,"number"),i.Sb(),i.Tb(96,"td",57),i.Bc(97),i.gc(98,"number"),i.Sb(),i.Tb(99,"td",57),i.Bc(100),i.gc(101,"number"),i.Sb(),i.Tb(102,"td",57),i.Bc(103),i.gc(104,"number"),i.Sb(),i.Sb(),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(60),i.lc("ngForOf",t.zeta.reactivation),i.Cb(4),i.Cc(t.totalsReactivation.CampaignName),i.Cb(3),i.Cc(i.hc(68,15,t.totalsReactivation.Sent)),i.Cb(3),i.Cc(i.hc(71,17,t.totalsReactivation.Delivered)),i.Cb(3),i.Cc(i.hc(74,19,t.totalsReactivation.Delivered/t.totalsReactivation.Sent*100)),i.Cb(3),i.Cc(i.hc(77,21,t.totalsReactivation.OpenedUnique)),i.Cb(3),i.Cc(i.hc(80,23,t.totalsReactivation.OpenedUnique/t.totalsReactivation.Sent*100)),i.Cb(3),i.Cc(i.hc(83,25,t.totalsReactivation.Opened)),i.Cb(3),i.Cc(i.hc(86,27,t.totalsReactivation.Opened/t.totalsReactivation.Sent*100)),i.Cb(3),i.Cc(i.hc(89,29,t.totalsReactivation.ClickedUnique)),i.Cb(3),i.Cc(i.hc(92,31,t.totalsReactivation.ClickedUnique/t.totalsReactivation.Sent*100)),i.Cb(3),i.Cc(i.hc(95,33,t.totalsReactivation.Clicked)),i.Cb(3),i.Cc(i.hc(98,35,t.totalsReactivation.Clicked/t.totalsReactivation.Sent*100)),i.Cb(3),i.Cc(i.hc(101,37,t.totalsReactivation.Unsubscribed)),i.Cb(3),i.Cc(i.hc(104,39,t.totalsReactivation.Unsubscribed/t.totalsReactivation.Sent*100))}}function OK(t,e){1&t&&(i.Tb(0,"div",60),i.Tb(1,"span",61),i.Bc(2,"There are no reactivation campaigns for the specified dates."),i.Sb(),i.Sb())}function AK(t,e){1&t&&(i.Tb(0,"div",60),i.Ob(1,"mat-spinner",62),i.Sb())}function EK(t,e){if(1&t&&(i.Tb(0,"div",60),i.Tb(1,"span",63),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.zetaStatus)}}const IK=function(t){return{spin:t}},RK=function(){return["ready","loading"]};function YK(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Subscribers))}}function jK(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function NK(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.OptIn30))}}function PK(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function FK(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.OptOut30))}}function BK(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function HK(t,e){if(1&t&&(i.Tb(0,"span"),i.Bc(1),i.gc(2,"number"),i.Sb()),2&t){const t=i.fc().$implicit;i.Cb(1),i.Cc(i.hc(2,1,t.Unconfirmed30))}}function VK(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"-"),i.Sb())}function zK(t,e){if(1&t&&(i.Tb(0,"tr"),i.Tb(1,"td",19),i.Tb(2,"div",20),i.Bc(3),i.Sb(),i.Sb(),i.Tb(4,"td",17),i.Ac(5,YK,3,3,"span",21),i.Ac(6,jK,2,0,"span",21),i.Sb(),i.Tb(7,"td",22),i.Ac(8,NK,3,3,"span",21),i.Ac(9,PK,2,0,"span",21),i.Sb(),i.Tb(10,"td",22),i.Ac(11,FK,3,3,"span",21),i.Ac(12,BK,2,0,"span",21),i.Sb(),i.Tb(13,"td",22),i.Ac(14,HK,3,3,"span",21),i.Ac(15,VK,2,0,"span",21),i.Sb(),i.Sb()),2&t){const t=e.$implicit;i.Cb(3),i.Cc(t.PublicationName),i.Cb(2),i.lc("ngIf",t.Subscribers>0),i.Cb(1),i.lc("ngIf",0===t.Subscribers),i.Cb(2),i.lc("ngIf",t.OptIn30>0),i.Cb(1),i.lc("ngIf",0===t.OptIn30),i.Cb(2),i.lc("ngIf",t.OptOut30>0),i.Cb(1),i.lc("ngIf",0===t.OptOut30),i.Cb(2),i.lc("ngIf",t.Unconfirmed30>0),i.Cb(1),i.lc("ngIf",0===t.Unconfirmed30)}}function UK(t,e){if(1&t&&(i.Tb(0,"table",12),i.Tb(1,"thead"),i.Tb(2,"tr"),i.Tb(3,"th",13),i.Bc(4,"Publication"),i.Sb(),i.Tb(5,"th",14),i.Bc(6,"Total Subscribers"),i.Sb(),i.Tb(7,"th",15),i.Bc(8,"Past 30 Days"),i.Sb(),i.Sb(),i.Tb(9,"tr",16),i.Tb(10,"th",17),i.Bc(11,"Opt Ins"),i.Sb(),i.Tb(12,"th",17),i.Bc(13,"Opt Outs"),i.Sb(),i.Tb(14,"th",17),i.Bc(15,"Unconfirmed"),i.Sb(),i.Sb(),i.Sb(),i.Tb(16,"tbody"),i.Ac(17,zK,16,9,"tr",18),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(17),i.lc("ngForOf",t.publications)}}function WK(t,e){1&t&&(i.Tb(0,"div",23),i.Ob(1,"mat-spinner",24),i.Sb())}function qK(t,e){if(1&t&&(i.Tb(0,"div",23),i.Tb(1,"span",25),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.publicationsStatus)}}function GK(t,e){if(1&t&&(i.Tb(0,"div",26),i.Ob(1,"canvas",27),i.Sb()),2&t){const t=i.fc();i.Cb(1),i.lc("datasets",t.chart1.datasets)("labels",t.chart1.labels)("options",t.chart1.options)("colors",t.chart1.colors)("legend",!0)}}function $K(t,e){1&t&&(i.Tb(0,"div",23),i.Ob(1,"mat-spinner",24),i.Sb())}function XK(t,e){if(1&t&&(i.Tb(0,"span",25),i.Bc(1),i.Sb()),2&t){const t=i.fc(2);i.Cb(1),i.Dc(" ",t.optInsDailyStatus," ")}}function KK(t,e){if(1&t&&(i.Tb(0,"span",25),i.Bc(1),i.Sb()),2&t){const t=i.fc(2);i.Cb(1),i.Dc(" ",t.optOutsDailyStatus," ")}}const JK=function(){return["ready","loading"]};function QK(t,e){if(1&t&&(i.Tb(0,"div",28),i.Ac(1,XK,2,1,"span",29),i.Ac(2,KK,2,1,"span",29),i.Sb()),2&t){const t=i.fc();i.Cb(1),i.lc("ngIf",i.nc(2,JK).indexOf(t.optInsDailyStatus)<0),i.Cb(1),i.lc("ngIf",i.nc(3,JK).indexOf(t.optOutsDailyStatus)<0)}}const ZK=function(t){return{height:t}};function tJ(t,e){if(1&t&&(i.Tb(0,"div",30),i.Ob(1,"canvas",31),i.Sb()),2&t){const t=i.fc();i.lc("ngStyle",i.oc(6,ZK,50*((null==t.chart2.datasets[0]||null==t.chart2.datasets[0].data?null:t.chart2.datasets[0].data.length)||1)+"px")),i.Cb(1),i.lc("datasets",t.chart2.datasets)("labels",t.chart2.labels)("options",t.chart2.options)("colors",t.chart2.colors)("legend",!1)}}function eJ(t,e){1&t&&(i.Tb(0,"div",23),i.Ob(1,"mat-spinner",24),i.Sb())}function nJ(t,e){if(1&t&&(i.Tb(0,"div",23),i.Tb(1,"span",25),i.Bc(2),i.Sb(),i.Sb()),2&t){const t=i.fc();i.Cb(2),i.Cc(t.optInsByCampaignStatus)}}const iJ=[{path:"admin/backup-log",component:SV,canActivate:[_H]},{path:"admin/orders-log",component:FV,canActivate:[_H]},{path:"admin/smtp-log",component:nz,canActivate:[_H]},{path:"admin/users",component:nV,canActivate:[_H]},{path:"admin/zeta-communication-log",component:wU,canActivate:[_H]},{path:"admin/zeta-import-log",component:UU,canActivate:[_H]},{path:"api/error-log",component:iW,canActivate:[_H]},{path:"api/service-log",component:gW,canActivate:[_H]},{path:"create-account",component:wW,canActivate:[_H]},{path:"create-account/:code",component:wW,canActivate:[_H]},{path:"login",component:vW,canActivate:[_H]},{path:"orders/dashboard",component:eX,canActivate:[_H]},{path:"orders/find",component:fG,canActivate:[_H]},{path:"orders/incoming",component:FG,canActivate:[_H]},{path:"orders/suspended",component:oK,canActivate:[_H]},{path:"subscriptions/campaign-dashboard",component:(()=>{class t{constructor(t,e){this.dialog=t,this.pubService=e,this.data=[],this.dt1=DH().subtract(90,"days").toDate(),this.dt2=DH().toDate(),this.form=new oa({startDate:new aa(this.dt1),endDate:new aa(this.dt2),market:new aa(""),campaignTag:new aa("")}),this.refreshing=!1,this.selectedTags=[],this.tagFilterType="Or",this.tags=[],this.zetaStatus="loading"}ngOnInit(){this.loadCampaignData()}clear(){const t=this.form.get("campaignTag");t&&(t.setValue(""),this.refresh())}inRange(t){var e,n,i,r,s,a;const o=new Date(null===(e=this.form.get("startDate"))||void 0===e?void 0:e.value).getTime(),l=new Date(null===(n=this.form.get("endDate"))||void 0===n?void 0:n.value).getTime(),c=new Date(t.MinDeployDate).getTime(),u=new Date(t.MaxDeployDate).getTime();let d=!0;if(null===(r=null===(i=this.form.get("market"))||void 0===i?void 0:i.value)||void 0===r?void 0:r.length)switch(null===(s=this.form.get("market"))||void 0===s?void 0:s.value){case"US":d=t.CampaignName.indexOf("US")>=0&&t.CampaignName.indexOf("AUS")<0;break;case"AU":d=t.CampaignName.indexOf("AU")>=0||t.CampaignName.indexOf("AUS")>=0||t.CampaignName.indexOf("Australia")>=0;break;case"CA":d=(t.CampaignName.indexOf("CA")>=0||t.CampaignName.indexOf("Canada")>=0)&&0!==t.CampaignName.indexOf("VCA")&&t.CampaignName.indexOf("US-CA")<0;break;case"DE":d=t.CampaignName.indexOf("DE")>=0||t.CampaignName.indexOf("Germany")>=0;break;case"MX":d=t.CampaignName.indexOf("MX")>=0||t.CampaignName.indexOf("Mexico")>=0;break;case"UK":d=t.CampaignName.indexOf("UK")>=0}let h=0===this.selectedTags.length;if(!h&&(null===(a=t.CampaignTags)||void 0===a?void 0:a.length)){let e=0;this.selectedTags.forEach(n=>e+=JSON.parse(t.CampaignTags).indexOf(n.trim())>-1?1:0),"And"===this.tagFilterType?e===this.selectedTags.length&&(h=!0):h=e>0}return h&&d&&(o<=c&&l>=c||o<=u&&l>=u)}export(t,e){t&&t.preventDefault();let n=[];switch(e){case"reactivation":n=this.zeta.reactivation,n.push(this.totalsReactivation);break;case"weekly":n=this.zeta.weekly,n.push(this.totalsWeekly);break;case"welcome":n=this.zeta.welcome,n.push(this.totalsWelcome)}this.exportJSON(n,e)}exportCSV(t,e){const n=new Blob([e],{type:"text/csv;charset=utf-8;"});if(navigator.msSaveBlob)navigator.msSaveBlob(n,t);else{const e=document.createElement("a");if(void 0!==e.download){const i=URL.createObjectURL(n);e.setAttribute("href",i),e.setAttribute("download",t),e.style.visibility="hidden",document.body.appendChild(e),e.click(),document.body.removeChild(e)}}}exportJSON(t,e){let n="Campaign,Campaign Tags,Deployment Start,Deployment End,Total Sent,Total Delivered,Total Delivered %,Unique Opened,Unique Opened %,Total Opened,Total Opened %,Unique Clicked,Unique Clicked %,Total Clicked,Total Clicked %,Total Unsubscribed,Total Unsubscribed %";if(t.length>0)for(let i=0;i=0&&(t='"'+t+'"'),t)}filterData(){var t;this.refreshing=!0,null===(t=this.form.get("campaignTag"))||void 0===t||t.setValue(this.selectedTags.join(", ")),setTimeout(()=>{this.zeta={reactivation:this.pubService.filterCampaign(this.data,"reactivation",this.inRange.bind(this)),weekly:this.pubService.filterCampaign(this.data,"weekly",this.inRange.bind(this)),welcome:this.pubService.filterCampaign(this.data,"welcome",this.inRange.bind(this))},this.zeta.reactivation.forEach((t,e)=>this.updateTotals("reactivation",t,e)),this.zeta.weekly.forEach((t,e)=>this.updateTotals("weekly",t,e)),this.zeta.welcome.forEach((t,e)=>this.updateTotals("welcome",t,e)),this.zetaStatus="ready",this.refreshing=!1},1)}loadCampaignData(){var t,e;return kT(this,void 0,void 0,function*(){this.refreshing=!0;const n=new Date(null===(t=this.form.get("startDate"))||void 0===t?void 0:t.value),i=new Date(null===(e=this.form.get("endDate"))||void 0===e?void 0:e.value),r=yield this.pubService.zetaCampaignData(n,i);r.success?(this.pubService.filterCampaign(r.data,"reactivation",()=>!0).forEach(t=>{this.tags=[...new Set([...this.tags,...JSON.parse(t.CampaignTags)])]}),this.pubService.filterCampaign(r.data,"weekly",()=>!0).forEach(t=>{this.tags=[...new Set([...this.tags,...JSON.parse(t.CampaignTags)])]}),this.pubService.filterCampaign(r.data,"welcome",()=>!0).forEach(t=>{this.tags=[...new Set([...this.tags,...JSON.parse(t.CampaignTags)])]}),this.tags=this.tags.sort((t,e)=>t.localeCompare(e,"en",{sensitivity:"base"})),this.data=r.data,this.filterData()):(this.zetaStatus=r.error||"Error loading data.",this.refreshing=!1)})}refresh(){return kT(this,void 0,void 0,function*(){yield this.loadCampaignData()})}selectTags(){return kT(this,void 0,void 0,function*(){if(this.tags.length>0){const t=this.dialog.open(cK,{ariaLabel:"Order Detail",data:{filterType:this.tagFilterType,tags:this.tags,selected:this.selectedTags},maxWidth:1200,width:"calc(100% - 20px)"}),e=yield t.afterClosed().toPromise();Array.isArray(null==e?void 0:e.selected)&&(this.tagFilterType=e.filterType,this.selectedTags=e.selected,this.filterData())}else this.selectedTags=[],this.filterData()})}updateTotals(t,e,n){if(0===n)switch(t){case"reactivation":this.totalsReactivation={CampaignName:"TOTAL",CampaignTags:"",MinDeployDate:"",MaxDeployDate:"",Sent:0,Delivered:0,OpenedUnique:0,Opened:0,ClickedUnique:0,Clicked:0,Unsubscribed:0};break;case"weekly":this.totalsWeekly={CampaignName:"TOTAL",CampaignTags:"",MinDeployDate:"",MaxDeployDate:"",Sent:0,Delivered:0,OpenedUnique:0,Opened:0,ClickedUnique:0,Clicked:0,Unsubscribed:0};break;case"welcome":this.totalsWelcome={CampaignName:"TOTAL",CampaignTags:"",MinDeployDate:"",MaxDeployDate:"",Sent:0,Delivered:0,OpenedUnique:0,Opened:0,ClickedUnique:0,Clicked:0,Unsubscribed:0}}let i;switch(t){case"reactivation":i=this.totalsReactivation;break;case"weekly":i=this.totalsWeekly;break;case"welcome":i=this.totalsWelcome}i.Sent+=e.Sent,i.Delivered+=e.Delivered,i.OpenedUnique+=e.OpenedUnique,i.Opened+=e.Opened,i.ClickedUnique+=e.ClickedUnique,i.Clicked+=e.Clicked,i.Unsubscribed+=e.Unsubscribed}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(Zp),i.Nb(OH))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-campaign-dashboard"]],decls:149,vars:40,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto"],["fxFlex","1 1 auto","fxHide.lt-md","",1,"tools","mat-elevation-z3"],[3,"formGroup"],["fxFlex","1 1 auto","fxLayout","row","fxLayoutGap","12px"],["appearance","fill"],["matInput","","readonly","","formControlName","startDate",3,"matDatepicker","dateChange","click"],["matSuffix","",3,"for"],["pickerStartDate",""],["matInput","","readonly","","formControlName","endDate",3,"matDatepicker","dateChange","click"],["pickerEndDate",""],["fxFlex","0 0 160px","appearance","fill"],["formControlName","market",3,"selectionChange"],["value",""],["value","US"],["value","AU"],["value","CA"],["value","DE"],["value","MX"],["value","UK"],["fxFlex","1 1 auto","appearance","fill"],[4,"ngIf"],["matInput","","autocomplete","off","formControlName","campaignTag","type","text",3,"readonly","click"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Edit",3,"click"],["fxFlex","0 0 auto","fxLayoutAlign","end center"],["mat-icon-button","","color","primary","aria-label","Refresh",3,"disabled","click"],[3,"ngClass"],["fxFlex","1 1 auto","fxHide.gt-sm","",1,"mat-elevation-z3"],["fxFlex","1 1 auto","fxLayout","column"],["pickerStartDate2",""],["pickerEndDate2",""],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Edit","fxHide.xs","",3,"click"],["fxFlex","1 1 auto","fxLayout","row"],["fxFlex","1 1 auto","fxLayoutAlign","end center"],["fxFlex","1 1 auto","fxLayout","row","fxLayoutGap","24px"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["fxFlex","0 0 100","fxLayout","row"],["fxFlex","1 1 auto","fxLayoutAlign","start center"],["mat-icon-button","","color","primary","aria-label","Export","title","Export",3,"disabled","click"],[1,"material-icons-outlined"],["class","table table-sm",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],[1,"table","table-sm"],[1,"thead-dark"],[1,"text-nowrap"],["fxHide.lt-lg","",1,"text-center","text-nowrap"],[1,"text-right","text-nowrap"],["fxHide.xs","",1,"text-right","text-nowrap"],["fxHide.lt-md","",1,"text-right","text-nowrap"],["fxHide.lt-lg","",1,"text-right","text-nowrap"],[4,"ngFor","ngForOf"],[1,"bg-light"],[1,""],["fxHide.lt-lg",""],[1,"text-right"],["fxHide.xs","",1,"text-right"],["fxHide.lt-md","",1,"text-right"],["fxHide.lt-lg","",1,"text-right"],[1,"",3,"title"],["class","text-center text-nowrap","fxHide.lt-lg","",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],[1,"text-info"],["color","accent"],[1,"error"],[1,"small"]],template:function(t,e){if(1&t){const t=i.Ub();i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"h2"),i.Bc(3,"Campaign Dashboard"),i.Sb(),i.Sb(),i.Tb(4,"mat-card",2),i.Tb(5,"mat-card-content",3),i.Tb(6,"div",4),i.Tb(7,"div",1),i.Tb(8,"mat-form-field",5),i.Tb(9,"mat-label"),i.Bc(10,"Start Date"),i.Sb(),i.Tb(11,"input",6),i.bc("dateChange",function(){return e.refresh()})("click",function(){return i.sc(t),i.rc(14).open()}),i.Sb(),i.Ob(12,"mat-datepicker-toggle",7),i.Ob(13,"mat-datepicker",null,8),i.Sb(),i.Sb(),i.Tb(15,"div",1),i.Tb(16,"mat-form-field",5),i.Tb(17,"mat-label"),i.Bc(18,"End Date"),i.Sb(),i.Tb(19,"input",9),i.bc("dateChange",function(){return e.refresh()})("click",function(){return i.sc(t),i.rc(22).open()}),i.Sb(),i.Ob(20,"mat-datepicker-toggle",7),i.Ob(21,"mat-datepicker",null,10),i.Sb(),i.Sb(),i.Tb(23,"mat-form-field",11),i.Tb(24,"mat-label"),i.Bc(25,"Market"),i.Sb(),i.Tb(26,"mat-select",12),i.bc("selectionChange",function(){return e.refresh()}),i.Tb(27,"mat-option",13),i.Bc(28,"All Markets"),i.Sb(),i.Tb(29,"mat-option",14),i.Bc(30,"US"),i.Sb(),i.Tb(31,"mat-option",15),i.Bc(32,"Australia"),i.Sb(),i.Tb(33,"mat-option",16),i.Bc(34,"Canada"),i.Sb(),i.Tb(35,"mat-option",17),i.Bc(36,"Germany"),i.Sb(),i.Tb(37,"mat-option",18),i.Bc(38,"Mexico"),i.Sb(),i.Tb(39,"mat-option",19),i.Bc(40,"UK"),i.Sb(),i.Sb(),i.Sb(),i.Tb(41,"mat-form-field",20),i.Tb(42,"mat-label"),i.Bc(43," Campaign Tags "),i.Ac(44,uK,2,1,"span",21),i.Sb(),i.Tb(45,"input",22),i.bc("click",function(){return e.selectTags()}),i.Sb(),i.Tb(46,"button",23),i.bc("click",function(){return e.selectTags()}),i.Tb(47,"mat-icon"),i.Bc(48,"edit"),i.Sb(),i.Sb(),i.Sb(),i.Tb(49,"div",24),i.Tb(50,"button",25),i.bc("click",function(){return e.refresh()}),i.Tb(51,"mat-icon",26),i.Bc(52,"refresh"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(53,"mat-card",27),i.Tb(54,"mat-card-content",3),i.Tb(55,"div",28),i.Tb(56,"mat-form-field",20),i.Tb(57,"mat-label"),i.Bc(58,"Start Date"),i.Sb(),i.Tb(59,"input",6),i.bc("dateChange",function(){return e.refresh()})("click",function(){return i.sc(t),i.rc(62).open()}),i.Sb(),i.Ob(60,"mat-datepicker-toggle",7),i.Ob(61,"mat-datepicker",null,29),i.Sb(),i.Tb(63,"mat-form-field",20),i.Tb(64,"mat-label"),i.Bc(65,"End Date"),i.Sb(),i.Tb(66,"input",9),i.bc("dateChange",function(){return e.refresh()})("click",function(){return i.sc(t),i.rc(69).open()}),i.Sb(),i.Ob(67,"mat-datepicker-toggle",7),i.Ob(68,"mat-datepicker",null,30),i.Sb(),i.Tb(70,"mat-form-field",20),i.Tb(71,"mat-label"),i.Bc(72,"Market"),i.Sb(),i.Tb(73,"mat-select",12),i.bc("selectionChange",function(){return e.refresh()}),i.Tb(74,"mat-option",13),i.Bc(75,"All Markets"),i.Sb(),i.Tb(76,"mat-option",14),i.Bc(77,"US"),i.Sb(),i.Tb(78,"mat-option",15),i.Bc(79,"Australia"),i.Sb(),i.Tb(80,"mat-option",16),i.Bc(81,"Canada"),i.Sb(),i.Tb(82,"mat-option",17),i.Bc(83,"Germany"),i.Sb(),i.Tb(84,"mat-option",18),i.Bc(85,"Mexico"),i.Sb(),i.Tb(86,"mat-option",19),i.Bc(87,"UK"),i.Sb(),i.Sb(),i.Sb(),i.Tb(88,"mat-form-field",20),i.Tb(89,"mat-label"),i.Bc(90," Campaign Tags "),i.Ac(91,dK,2,1,"span",21),i.Sb(),i.Tb(92,"input",22),i.bc("click",function(){return e.selectTags()}),i.Sb(),i.Tb(93,"button",31),i.bc("click",function(){return e.selectTags()}),i.Tb(94,"mat-icon"),i.Bc(95,"edit"),i.Sb(),i.Sb(),i.Sb(),i.Tb(96,"div",32),i.Tb(97,"div",33),i.Tb(98,"button",25),i.bc("click",function(){return e.refresh()}),i.Tb(99,"mat-icon",26),i.Bc(100,"refresh"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(101,"div",34),i.Tb(102,"mat-card",35),i.Tb(103,"mat-card-header"),i.Tb(104,"mat-card-title"),i.Tb(105,"div",36),i.Tb(106,"div",37),i.Bc(107,"Weekly Campaigns"),i.Sb(),i.Tb(108,"div",1),i.Tb(109,"button",38),i.bc("click",function(t){return e.export(t,"weekly")}),i.Tb(110,"mat-icon",39),i.Bc(111,"file_download"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(112,"mat-card-content"),i.Ac(113,pK,105,41,"table",40),i.Ac(114,bK,3,0,"div",41),i.Ac(115,gK,2,0,"div",41),i.Ac(116,_K,3,1,"div",41),i.Sb(),i.Sb(),i.Sb(),i.Tb(117,"div",34),i.Tb(118,"mat-card",35),i.Tb(119,"mat-card-header"),i.Tb(120,"mat-card-title"),i.Tb(121,"div",36),i.Tb(122,"div",37),i.Bc(123,"Welcome Campaigns"),i.Sb(),i.Tb(124,"div",1),i.Tb(125,"button",38),i.bc("click",function(t){return e.export(t,"welcome")}),i.Tb(126,"mat-icon",39),i.Bc(127,"file_download"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(128,"mat-card-content"),i.Ac(129,SK,105,41,"table",40),i.Ac(130,xK,3,0,"div",41),i.Ac(131,CK,2,0,"div",41),i.Ac(132,kK,3,1,"div",41),i.Sb(),i.Sb(),i.Sb(),i.Tb(133,"div",34),i.Tb(134,"mat-card",35),i.Tb(135,"mat-card-header"),i.Tb(136,"mat-card-title"),i.Tb(137,"div",36),i.Tb(138,"div",37),i.Bc(139,"Reactivation Campaigns"),i.Sb(),i.Tb(140,"div",1),i.Tb(141,"button",38),i.bc("click",function(t){return e.export(t,"reactivation")}),i.Tb(142,"mat-icon",39),i.Bc(143,"file_download"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(144,"mat-card-content"),i.Ac(145,LK,105,41,"table",40),i.Ac(146,OK,3,0,"div",41),i.Ac(147,AK,2,0,"div",41),i.Ac(148,EK,3,1,"div",41),i.Sb(),i.Sb(),i.Sb(),i.Sb()}if(2&t){const t=i.rc(14),n=i.rc(22),r=i.rc(62),s=i.rc(69);i.Cb(5),i.lc("formGroup",e.form),i.Cb(6),i.lc("matDatepicker",t),i.Cb(1),i.lc("for",t),i.Cb(7),i.lc("matDatepicker",n),i.Cb(1),i.lc("for",n),i.Cb(24),i.lc("ngIf",e.selectedTags.length>0),i.Cb(1),i.lc("readonly",!0),i.Cb(5),i.lc("disabled",e.refreshing),i.Cb(1),i.lc("ngClass",i.oc(33,IK,e.refreshing)),i.Cb(3),i.lc("formGroup",e.form),i.Cb(5),i.lc("matDatepicker",r),i.Cb(1),i.lc("for",r),i.Cb(6),i.lc("matDatepicker",s),i.Cb(1),i.lc("for",s),i.Cb(24),i.lc("ngIf",e.selectedTags.length>0),i.Cb(1),i.lc("readonly",!0),i.Cb(6),i.lc("disabled",e.refreshing),i.Cb(1),i.lc("ngClass",i.oc(35,IK,e.refreshing)),i.Cb(10),i.lc("disabled","ready"!==e.zetaStatus||!(null!=e.zeta.weekly&&e.zeta.weekly.length)),i.Cb(4),i.lc("ngIf","ready"===e.zetaStatus&&(null==e.zeta.weekly?null:e.zeta.weekly.length)),i.Cb(1),i.lc("ngIf","ready"===e.zetaStatus&&!(null!=e.zeta.weekly&&e.zeta.weekly.length)),i.Cb(1),i.lc("ngIf","loading"===e.zetaStatus),i.Cb(1),i.lc("ngIf",i.nc(37,RK).indexOf(e.zetaStatus)<0),i.Cb(9),i.lc("disabled","ready"!==e.zetaStatus||!(null!=e.zeta.welcome&&e.zeta.welcome.length)),i.Cb(4),i.lc("ngIf","ready"===e.zetaStatus&&(null==e.zeta.welcome?null:e.zeta.welcome.length)),i.Cb(1),i.lc("ngIf","ready"===e.zetaStatus&&!(null!=e.zeta.welcome&&e.zeta.welcome.length)),i.Cb(1),i.lc("ngIf","loading"===e.zetaStatus),i.Cb(1),i.lc("ngIf",i.nc(38,RK).indexOf(e.zetaStatus)<0),i.Cb(9),i.lc("disabled","ready"!==e.zetaStatus||!(null!=e.zeta.reactivation&&e.zeta.reactivation.length)),i.Cb(4),i.lc("ngIf","ready"===e.zetaStatus&&(null==e.zeta.reactivation?null:e.zeta.reactivation.length)),i.Cb(1),i.lc("ngIf","ready"===e.zetaStatus&&!(null!=e.zeta.reactivation&&e.zeta.reactivation.length)),i.Cb(1),i.lc("ngIf","loading"===e.zetaStatus),i.Cb(1),i.lc("ngIf",i.nc(39,RK).indexOf(e.zetaStatus)<0)}},directives:[Xu,Ou,Nu,Of,au,Mf,Ss,ga,Lm,ym,pb,Zr,mg,ws,ya,bg,xm,lg,ey,ff,pt,wf,Hg,sd,dt,Zc,Af,Df,ft,g_],pipes:[At,Lt],styles:[""]}),t})(),canActivate:[_H]},{path:"subscriptions/subscriber-dashboard",component:(()=>{class t{constructor(t){this.pubService=t,this.chart1={datasets:[{data:[],label:"Opt In"},{data:[],label:"Opt Out"}],labels:[],options:{legend:{position:"bottom"},maintainAspectRatio:!1,responsive:!0,scales:{yAxes:[{ticks:{beginAtZero:!0}}]}},colors:[CH[7],CH[3]]},this.chart2={datasets:[{data:[]}],labels:[],options:{maintainAspectRatio:!1,responsive:!0,scales:{yAxes:[{ticks:{beginAtZero:!0}}]}},colors:[CH[5]]},this.optInsDailyStatus="loading",this.optOutsDailyStatus="loading",this.optInsByCampaignStatus="loading",this.publications=[],this.publicationsStatus="loading"}ngOnInit(){this.pubService.publicationStats().then(t=>{t.success?(this.publications=t.data,this.publicationsStatus="ready"):this.publicationsStatus=t.error||"Error loading data."}),this.pubService.optInsDaily().then(t=>{if(t.success){const e=[];t.data.forEach(t=>{this.chart1.labels.push(t.Day),e.push(t.Count)}),this.chart1.datasets[0].data=e,this.optInsDailyStatus="ready"}else this.optInsDailyStatus=t.error||"Error loading data."}),this.pubService.optOutsDaily().then(t=>{if(t.success){const e=[];t.data.forEach(t=>e.push(t.Count)),this.chart1.datasets[1].data=e,this.optOutsDailyStatus="ready"}else this.optOutsDailyStatus=t.error||"Error loading data."}),this.pubService.optInsByCampaign().then(t=>{if(t.success){const e=[];t.data.forEach(t=>{this.chart2.labels.push(t.Campaign),e.push(t.Count)}),this.chart2.datasets[0].data=e,this.optInsByCampaignStatus="ready"}else this.optInsByCampaignStatus=t.error||"Error loading data."})}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(OH))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-subscriber-dashboard"]],decls:41,vars:13,consts:[["fxFlex","1 1 auto","fxLayout","column","fxLayoutGap","24px"],["fxFlex","0 0 auto"],["fxFlex","1 1 auto","fxLayout","row","fxLayoutGap","24px"],["fxFlex","0 1 625px",1,"mat-elevation-z3"],["fxLayoutAlign.xs","center center"],["fxLayout.xs","column","fxLayout.gt-xs","row","fxLayoutGap","6px"],["class","table table-sm","ngClass.xs","table-fixed",4,"ngIf"],["fxFlex","1 1 auto","fxLayoutAlign","center center",4,"ngIf"],["fxFlex","1 1 auto",1,"mat-elevation-z3"],["ngClass.xs","chart-300-xs","ngClass.gt-xs","chart-300",4,"ngIf"],["fxFlex","1 1 auto","fxLayout","column","fxLayoutAlign","center center",4,"ngIf"],["ngClass.xs","chart-200-xs","ngClass.gt-xs","chart-200",3,"ngStyle",4,"ngIf"],["ngClass.xs","table-fixed",1,"table","table-sm"],["rowspan","2","ngStyle.xs","width:60%"],["rowspan","2",1,"text-right"],["colspan","3","fxHide.xs","",1,"text-center"],["fxHide.xs",""],[1,"text-right"],[4,"ngFor","ngForOf"],["ngStyle.xs","width:60%"],[1,"text-truncate"],[4,"ngIf"],["fxHide.xs","",1,"text-right"],["fxFlex","1 1 auto","fxLayoutAlign","center center"],["color","accent"],[1,"error"],["ngClass.xs","chart-300-xs","ngClass.gt-xs","chart-300"],["baseChart","","chartType","bar",3,"datasets","labels","options","colors","legend"],["fxFlex","1 1 auto","fxLayout","column","fxLayoutAlign","center center"],["class","error",4,"ngIf"],["ngClass.xs","chart-200-xs","ngClass.gt-xs","chart-200",3,"ngStyle"],["baseChart","","chartType","horizontalBar",3,"datasets","labels","options","colors","legend"]],template:function(t,e){1&t&&(i.Tb(0,"div",0),i.Tb(1,"div",1),i.Tb(2,"h2"),i.Bc(3,"Subscriber Dashboard"),i.Sb(),i.Sb(),i.Tb(4,"div",2),i.Tb(5,"mat-card",3),i.Tb(6,"mat-card-header"),i.Tb(7,"mat-card-title",4),i.Tb(8,"div",5),i.Tb(9,"span"),i.Bc(10,"E-Newsletter Subscribers"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(11,"mat-card-content"),i.Ac(12,UK,18,1,"table",6),i.Ac(13,WK,2,0,"div",7),i.Ac(14,qK,3,1,"div",7),i.Sb(),i.Sb(),i.Sb(),i.Tb(15,"div",2),i.Tb(16,"mat-card",8),i.Tb(17,"mat-card-header"),i.Tb(18,"mat-card-title",4),i.Tb(19,"div",5),i.Tb(20,"span"),i.Bc(21,"Daily Activity"),i.Sb(),i.Tb(22,"span"),i.Bc(23,"(Past 30 Days)"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(24,"mat-card-content"),i.Ac(25,GK,2,5,"div",9),i.Ac(26,$K,2,0,"div",7),i.Ac(27,QK,3,4,"div",10),i.Sb(),i.Sb(),i.Sb(),i.Tb(28,"div",2),i.Tb(29,"mat-card",8),i.Tb(30,"mat-card-header"),i.Tb(31,"mat-card-title",4),i.Tb(32,"div",5),i.Tb(33,"span"),i.Bc(34,"Opt Ins by Source Code"),i.Sb(),i.Tb(35,"span"),i.Bc(36,"(Past 30 Days)"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(37,"mat-card-content"),i.Ac(38,tJ,2,8,"div",11),i.Ac(39,eJ,2,0,"div",7),i.Ac(40,nJ,3,1,"div",7),i.Sb(),i.Sb(),i.Sb(),i.Sb()),2&t&&(i.Cb(12),i.lc("ngIf","ready"===e.publicationsStatus),i.Cb(1),i.lc("ngIf","loading"===e.publicationsStatus),i.Cb(1),i.lc("ngIf",i.nc(9,JK).indexOf(e.publicationsStatus)<0),i.Cb(11),i.lc("ngIf","ready"===e.optInsDailyStatus&&"ready"===e.optOutsDailyStatus),i.Cb(1),i.lc("ngIf","loading"===e.optInsDailyStatus||"loading"===e.optOutsDailyStatus),i.Cb(1),i.lc("ngIf",i.nc(10,JK).indexOf(e.optInsDailyStatus)<0||i.nc(11,JK).indexOf(e.optOutsDailyStatus)<0),i.Cb(11),i.lc("ngIf","ready"===e.optInsByCampaignStatus),i.Cb(1),i.lc("ngIf","loading"===e.optInsByCampaignStatus),i.Cb(1),i.lc("ngIf",i.nc(12,JK).indexOf(e.optInsByCampaignStatus)<0))},directives:[Xu,Ou,Nu,Of,Af,Df,sd,Mf,pt,Zc,mu,au,ft,g_,mx,St],pipes:[At],styles:[""]}),t})(),canActivate:[_H]},{path:"**",component:Vq,canActivate:[_H]}];let rJ=(()=>{class t{}return t.\u0275mod=i.Lb({type:t}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},imports:[[bT.forRoot(iJ)],bT]}),t})();function sJ(t,e){1&t&&(i.Tb(0,"span"),i.Bc(1,"|"),i.Sb())}const aJ=function(t){return{"text-bold-selected":t}};function oJ(t,e){if(1&t){const t=i.Ub();i.Ac(0,sJ,2,0,"span",46),i.Tb(1,"a",47),i.bc("click",function(){i.sc(t);const n=e.$implicit;return i.fc(3).setEnv(n)}),i.Bc(2),i.Sb()}if(2&t){const t=e.$implicit,n=e.index,r=i.fc(3);i.lc("ngIf",n>0),i.Cb(1),i.lc("ngClass",i.oc(3,aJ,t.name===r.apiEnv.name)),i.Cb(1),i.Cc(t.name)}}const lJ=function(t){return{active:t}};function cJ(t,e){if(1&t){const t=i.Ub();i.Tb(0,"mat-toolbar",5),i.Tb(1,"div",6),i.Tb(2,"button",7),i.Tb(3,"mat-icon"),i.Bc(4,"menu"),i.Sb(),i.Sb(),i.Tb(5,"mat-menu",null,8),i.Tb(7,"a",9),i.Tb(8,"mat-icon",10),i.Bc(9,"home"),i.Sb(),i.Tb(10,"span"),i.Bc(11,"Home"),i.Sb(),i.Sb(),i.Tb(12,"button",11),i.Tb(13,"mat-icon",10),i.Bc(14,"local_shipping"),i.Sb(),i.Tb(15,"span"),i.Bc(16,"Orders"),i.Sb(),i.Sb(),i.Tb(17,"button",11),i.Tb(18,"mat-icon",10),i.Bc(19,"email"),i.Sb(),i.Tb(20,"span"),i.Bc(21,"Subscriptions"),i.Sb(),i.Sb(),i.Tb(22,"button",11),i.Tb(23,"mat-icon",10),i.Bc(24,"handyman"),i.Sb(),i.Tb(25,"span"),i.Bc(26,"API Tools"),i.Sb(),i.Sb(),i.Tb(27,"button",12),i.Tb(28,"mat-icon",10),i.Bc(29,"admin_panel_settings"),i.Sb(),i.Tb(30,"span"),i.Bc(31,"Admin"),i.Sb(),i.Sb(),i.Ob(32,"mat-divider"),i.Tb(33,"button",13),i.bc("click",function(){return i.sc(t),i.fc(2).changePassword()}),i.Tb(34,"mat-icon",10),i.Bc(35,"lock"),i.Sb(),i.Tb(36,"span"),i.Bc(37,"Change Password"),i.Sb(),i.Sb(),i.Tb(38,"button",13),i.bc("click",function(){return i.sc(t),i.fc(2).signOut()}),i.Tb(39,"mat-icon"),i.Bc(40,"exit_to_app"),i.Sb(),i.Tb(41,"span"),i.Bc(42,"Log Out"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(43,"div",14),i.Tb(44,"a",15),i.Ob(45,"app-vca-logo"),i.Sb(),i.Sb(),i.Tb(46,"ul",16),i.Tb(47,"li"),i.Tb(48,"a",17),i.Bc(49,"Home"),i.Sb(),i.Sb(),i.Tb(50,"li"),i.Tb(51,"a",18),i.Tb(52,"span"),i.Bc(53,"Orders"),i.Sb(),i.Tb(54,"mat-icon"),i.Bc(55,"expand_more"),i.Sb(),i.Sb(),i.Tb(56,"mat-menu",null,19),i.Tb(58,"a",20),i.Bc(59,"Dashboard"),i.Sb(),i.Tb(60,"a",21),i.Bc(61,"Incoming Orders"),i.Sb(),i.Tb(62,"a",22),i.Bc(63,"Suspended Orders"),i.Sb(),i.Tb(64,"a",23),i.Bc(65,"Find Order"),i.Sb(),i.Sb(),i.Sb(),i.Tb(66,"li"),i.Tb(67,"a",18),i.Tb(68,"span"),i.Bc(69,"Subscriptions"),i.Sb(),i.Tb(70,"mat-icon"),i.Bc(71,"expand_more"),i.Sb(),i.Sb(),i.Tb(72,"mat-menu",null,24),i.Tb(74,"a",25),i.Bc(75,"Subscriber Dashboard"),i.Sb(),i.Tb(76,"a",26),i.Bc(77,"Campaign Dashboard"),i.Sb(),i.Sb(),i.Sb(),i.Tb(78,"li"),i.Tb(79,"a",18),i.Tb(80,"span"),i.Bc(81,"API Tools"),i.Sb(),i.Tb(82,"mat-icon"),i.Bc(83,"expand_more"),i.Sb(),i.Sb(),i.Tb(84,"mat-menu",null,27),i.Tb(86,"a",28),i.Bc(87,"Service Log"),i.Sb(),i.Tb(88,"a",29),i.Bc(89,"Error Log"),i.Sb(),i.Ob(90,"mat-divider"),i.Tb(91,"a",30),i.Tb(92,"mat-icon",10),i.Bc(93,"article"),i.Sb(),i.Tb(94,"span"),i.Bc(95,"REST API Specifications"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(96,"li",31),i.Tb(97,"a",18),i.Tb(98,"span"),i.Bc(99,"Admin"),i.Sb(),i.Tb(100,"mat-icon"),i.Bc(101,"expand_more"),i.Sb(),i.Sb(),i.Tb(102,"mat-menu",null,32),i.Tb(104,"a",33),i.Tb(105,"mat-icon"),i.Bc(106,"people_outline"),i.Sb(),i.Tb(107,"span"),i.Bc(108,"Manage Users"),i.Sb(),i.Sb(),i.Tb(109,"button",13),i.bc("click",function(){return i.sc(t),i.fc(2).sendInvite()}),i.Tb(110,"mat-icon",10),i.Bc(111,"email"),i.Sb(),i.Tb(112,"span"),i.Bc(113,"Send Invite"),i.Sb(),i.Sb(),i.Ob(114,"mat-divider"),i.Tb(115,"a",34),i.Bc(116,"Orders Log"),i.Sb(),i.Tb(117,"a",35),i.Bc(118,"Zeta Communication Log"),i.Sb(),i.Tb(119,"a",36),i.Bc(120,"Zeta Inport Log"),i.Sb(),i.Ob(121,"mat-divider"),i.Tb(122,"a",37),i.Bc(123,"SMTP Error Log"),i.Sb(),i.Tb(124,"a",38),i.Bc(125,"SQL Backup Log"),i.Sb(),i.Tb(126,"div",39),i.Ac(127,oJ,3,5,"ng-template",40),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Tb(128,"div",41),i.Tb(129,"ul",42),i.Tb(130,"li"),i.Tb(131,"a",43),i.Tb(132,"span"),i.Bc(133),i.Sb(),i.Tb(134,"mat-icon"),i.Bc(135,"expand_more"),i.Sb(),i.Sb(),i.Tb(136,"mat-menu",44,45),i.Tb(138,"button",13),i.bc("click",function(){return i.sc(t),i.fc(2).changePassword()}),i.Tb(139,"mat-icon",10),i.Bc(140,"lock"),i.Sb(),i.Tb(141,"span"),i.Bc(142,"Change Password"),i.Sb(),i.Sb(),i.Tb(143,"button",13),i.bc("click",function(){return i.sc(t),i.fc(2).signOut()}),i.Tb(144,"mat-icon"),i.Bc(145,"exit_to_app"),i.Sb(),i.Tb(146,"span"),i.Bc(147,"Log Out"),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb(),i.Sb()}if(2&t){const t=i.rc(6),e=i.rc(57),n=i.rc(73),r=i.rc(85),s=i.rc(103),a=i.rc(137),o=i.fc(2);i.Cb(2),i.lc("matMenuTriggerFor",t),i.Cb(10),i.lc("matMenuTriggerFor",e),i.Cb(5),i.lc("matMenuTriggerFor",n),i.Cb(5),i.lc("matMenuTriggerFor",r),i.Cb(5),i.lc("matMenuTriggerFor",s)("hidden","Admin"!==(null==o.user?null:o.user.role)),i.Cb(21),i.lc("ngClass",i.oc(16,lJ,"/"===o.activeRoute)),i.Cb(3),i.lc("matMenuTriggerFor",e),i.Cb(16),i.lc("matMenuTriggerFor",n),i.Cb(12),i.lc("matMenuTriggerFor",r),i.Cb(17),i.lc("hidden","Admin"!==(null==o.user?null:o.user.role)),i.Cb(1),i.lc("matMenuTriggerFor",s),i.Cb(30),i.lc("ngForOf",o.apiEnvs),i.Cb(4),i.lc("matMenuTriggerFor",a),i.Cb(2),i.Ec("",o.user.firstName," ",o.user.lastName,"")}}function uJ(t,e){if(1&t&&(i.Ac(0,cJ,148,18,"mat-toolbar",1),i.Tb(1,"div",2),i.Tb(2,"div",3),i.Ob(3,"router-outlet"),i.Sb(),i.Ob(4,"app-footer",4),i.Sb()),2&t){const t=i.fc();i.lc("ngIf",t.user)}}let dJ=(()=>{class t{constructor(t,e,n,i,s){this.auth=t,this.dialog=e,this.router=n,this.store=i,this.updates=s,this.activeRoute="",this.ready=!1,this.subscriptions=[],this.apiEnvs=r.api,this.env$=this.store.pipe(bl(yH))}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}ngOnInit(){this.subscriptions.push(this.env$.subscribe(t=>this.apiEnv=t)),this.subscriptions.push(this.router.events.subscribe(t=>{t instanceof Ax&&(this.activeRoute=t.url,this.updates.isEnabled&&this.updates.checkForUpdate())})),this.subscriptions.push(this.auth.user$.subscribe(t=>{void 0!==t&&(this.user=t,this.ready=!0)})),this.subscriptions.push(this.updates.available.subscribe(()=>{this.updates.activateUpdate().then(()=>location.reload())}))}changePassword(){this.dialog.open(yW,{ariaLabel:"Change Password",data:{},maxWidth:400,width:"calc(100% - 20px)"})}sendInvite(){this.dialog.open(BH,{ariaLabel:"Send Invite",data:{},maxWidth:600,width:"calc(100% - 20px)"})}setEnv(t){this.store.dispatch(BV(t)),location.reload()}signOut(){this.auth.signOut()}}return t.\u0275fac=function(e){return new(e||t)(i.Nb(gH),i.Nb(Zp),i.Nb(iT),i.Nb(ml),i.Nb(no))},t.\u0275cmp=i.Hb({type:t,selectors:[["app-root"]],decls:1,vars:1,consts:[[3,"ngIf"],["class","app-toolbar mat-elevation-z6","ngClass.xs","app-toolbar-xs","fxLayoutAlign","row","fxLayoutAlign","start center","fxLayoutGap.gt-sm","30px","fxLayoutGap.lt-md","15px","color","primary",4,"ngIf"],["fxLayout","column"],["ngClass.sm","app-content-sm","ngClass.xs","app-content-xs","fxFlex","0 0 auto",1,"app-content"],["fxFlex","0 0 auto"],["ngClass.xs","app-toolbar-xs","fxLayoutAlign","row","fxLayoutAlign","start center","fxLayoutGap.gt-sm","30px","fxLayoutGap.lt-md","15px","color","primary",1,"app-toolbar","mat-elevation-z6"],["fxHide.gt-sm",""],["mat-icon-button","","aria-label","Menu",3,"matMenuTriggerFor"],["mobileMenu","matMenu"],["mat-menu-item","","routerLink","/"],[1,"material-icons-outlined"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"matMenuTriggerFor","hidden"],["mat-menu-item","",3,"click"],["ngClass.gt-xs","app-logo","ngClass.xs","app-logo-xs"],["routerLink","/"],["fxLayout","","fxLayoutGap","30px","fxHide.lt-md","",1,"navigation-items"],["routerLink","/",3,"ngClass"],["href","javascript:void(0)","fxLayout","row","fxLayoutGap","5px","fxLayoutAlign","start center",3,"matMenuTriggerFor"],["ordersMenu","matMenu"],["mat-menu-item","","routerLink","/orders/dashboard"],["mat-menu-item","","routerLink","/orders/incoming"],["mat-menu-item","","routerLink","/orders/suspended"],["mat-menu-item","","routerLink","/orders/find"],["subscriptionsMenu","matMenu"],["mat-menu-item","","routerLink","/subscriptions/subscriber-dashboard"],["mat-menu-item","","routerLink","/subscriptions/campaign-dashboard"],["apiMenu","matMenu"],["mat-menu-item","","routerLink","/api/service-log"],["mat-menu-item","","routerLink","/api/error-log"],["mat-menu-item","","href","/assets/pdf/VCA_REST_API.pdf","target","_blank"],[3,"hidden"],["adminMenu","matMenu"],["mat-menu-item","","routerLink","/admin/users"],["mat-menu-item","","routerLink","/admin/orders-log"],["mat-menu-item","","routerLink","/admin/zeta-communication-log"],["mat-menu-item","","routerLink","/admin/zeta-import-log"],["mat-menu-item","","routerLink","/admin/smtp-log"],["mat-menu-item","","routerLink","/admin/backup-log"],["fxLayout","row","fxLayoutAlign","center center","fxLayoutGap","8px",1,"api-env"],["ngFor","",3,"ngForOf"],["fxFlex","1 1 auto","fxLayout","row","fxLayoutAlign","end","fxLayoutGap","20px"],["fxLayout","row","fxLayoutAlign","center center","fxLayoutGap","15px","fxHide.lt-md","",1,"navigation-items"],["href","javascript:void(0)","fxLayout","row","fxLayoutGap","5px","fxLayoutAlign","start center",1,"no-outline",3,"matMenuTriggerFor"],["xPosition","before"],["userMenu","matMenu"],[4,"ngIf"],["href","javascript:void(0)",3,"ngClass","click"]],template:function(t,e){1&t&&i.Ac(0,uJ,5,1,"ng-template",0),2&t&&i.lc("ngIf",e.ready)},directives:[pt,Ou,Zc,Xu,aT,sz,tw,sd,Nu,au,wf,s_,Hg,e_,rT,Jg,_g,Qz,dt,ft],styles:[".api-env[_ngcontent-%COMP%]{font-size:75%}.app-content[_ngcontent-%COMP%]{margin-top:64px;padding:24px}.app-content-sm[_ngcontent-%COMP%]{padding:12px}.app-content-xs[_ngcontent-%COMP%]{margin-top:56px;padding:8px}.app-logo[_ngcontent-%COMP%]{display:block;height:40px}.app-logo-xs[_ngcontent-%COMP%]{display:block;height:34px}.app-toolbar[_ngcontent-%COMP%]{height:64px;position:fixed;top:0;z-index:998}.app-toolbar-xs[_ngcontent-%COMP%]{height:56px}.navigation-items[_ngcontent-%COMP%]{list-style-type:none;padding:0;margin:0}.navigation-items[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{border-bottom:1px solid transparent;display:flex;text-decoration:none;color:#fff;font-size:18px;font-weight:400;line-height:38px}.navigation-items[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;height:auto;line-height:38px;width:auto}.navigation-items[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{border-bottom-color:#fff}"]}),t})();const hJ=function(t,...e){const n=new Map;for(let i of e)for(let t of i.types){const e=n.get(t);n.set(t,e?(t,n)=>i.reducer(e(t,n),n):i.reducer)}return function(e=t,i){const r=n.get(i.type);return r?r(e,i):e}}((()=>{const t=sessionStorage.getItem("apiEnv")||"prod";return{apiEnvironment:r.api.find(e=>e.name===t)||r.api[0],logEnvironment:{name:sessionStorage.getItem("logEnv")||"production"}}})(),$l(BV,(t,e)=>(sessionStorage.setItem("apiEnv",e.name),Object.assign(Object.assign({},t),{apiEnvironment:e}))),$l(HV,(t,e)=>(sessionStorage.setItem("logEnv",e.name),Object.assign(Object.assign({},t),{logEnvironment:e}))));function fJ(t,e){return hJ(t,e)}let mJ=(()=>{class t{}return t.\u0275mod=i.Lb({type:t,bootstrap:[dJ]}),t.\u0275inj=i.Kb({factory:function(e){return new(e||t)},providers:[{provide:Lr,useClass:wH,multi:!0}],imports:[[Xl.a.initializeApp(r.firebase),rJ,er,me,px,Td,Sa,Vr,Sf,Ef,qf,Im,gg,ab,yg,Vg,bb,o_,zh,__,R_,iy,gy,By,$v,ew,xa,co.register("ngsw-worker.js",{enabled:r.production}),Hl.forRoot({environments:fJ},{})]]}),t})();r.production&&Object(i.V)(),he().bootstrapModule(mJ).catch(t=>console.error(t))},zn8P:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"},zx2A:function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return o}),n.d(e,"c",function(){return l});var i=n("7o/Q"),r=n("HDdC"),s=n("SeVD");class a extends i.a{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class o extends i.a{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function l(t,e){if(!e.closed)return t instanceof r.a?t.subscribe(e):Object(s.a)(t)(e)}},zx6S:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.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:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}},[[0,0]]]);