| Server IP : 18.193.92.211 / Your IP : 216.73.216.128 Web Server : Apache/2.4.63 (Ubuntu) System : Linux ip-10-0-0-90 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/mobile.dispo24.de/ |
Upload File : |
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+/Qn":function(e,t){var i={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},"+Qru":function(e,t,i){var n,s=i("TZtQ"),r=i("1iTk"),a=i("7YbX"),o=i("GAZO"),l=i("o920");"undefined"!=typeof ArrayBuffer&&(n=i("KRNn"));var c="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),d="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),h=c||d;t.protocol=3;var u=t.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},m=s(u),p={type:"error",data:"parser error"},f=i("TSGc");function g(e,t,i){for(var n=new Array(e.length),s=o(e.length,i),r=function(e,i,s){t(i,(function(t,i){n[e]=i,s(t,n)}))},a=0;a<e.length;a++)r(a,e[a],s)}t.encodePacket=function(e,i,n,s){"function"==typeof i&&(s=i,i=!1),"function"==typeof n&&(s=n,n=null);var r=void 0===e.data?void 0:e.data.buffer||e.data;if("undefined"!=typeof ArrayBuffer&&r instanceof ArrayBuffer)return function(e,i,n){if(!i)return t.encodeBase64Packet(e,n);var s=e.data,r=new Uint8Array(s),a=new Uint8Array(1+s.byteLength);a[0]=u[e.type];for(var o=0;o<r.length;o++)a[o+1]=r[o];return n(a.buffer)}(e,i,s);if(void 0!==f&&r instanceof f)return function(e,i,n){if(!i)return t.encodeBase64Packet(e,n);if(h)return function(e,i,n){if(!i)return t.encodeBase64Packet(e,n);var s=new FileReader;return s.onload=function(){t.encodePacket({type:e.type,data:s.result},i,!0,n)},s.readAsArrayBuffer(e.data)}(e,i,n);var s=new Uint8Array(1);return s[0]=u[e.type],n(new f([s.buffer,e.data]))}(e,i,s);if(r&&r.base64)return function(e,i){return i("b"+t.packets[e.type]+e.data.data)}(e,s);var a=u[e.type];return void 0!==e.data&&(a+=n?l.encode(String(e.data),{strict:!1}):String(e.data)),s(""+a)},t.encodeBase64Packet=function(e,i){var n,s="b"+t.packets[e.type];if(void 0!==f&&e.data instanceof f){var r=new FileReader;return r.onload=function(){var e=r.result.split(",")[1];i(s+e)},r.readAsDataURL(e.data)}try{n=String.fromCharCode.apply(null,new Uint8Array(e.data))}catch(c){for(var a=new Uint8Array(e.data),o=new Array(a.length),l=0;l<a.length;l++)o[l]=a[l];n=String.fromCharCode.apply(null,o)}return s+=btoa(n),i(s)},t.decodePacket=function(e,i,n){if(void 0===e)return p;if("string"==typeof e){if("b"===e.charAt(0))return t.decodeBase64Packet(e.substr(1),i);if(n&&!1===(e=function(e){try{e=l.decode(e,{strict:!1})}catch(t){return!1}return e}(e)))return p;var s=e.charAt(0);return Number(s)==s&&m[s]?e.length>1?{type:m[s],data:e.substring(1)}:{type:m[s]}:p}s=new Uint8Array(e)[0];var r=a(e,1);return f&&"blob"===i&&(r=new f([r])),{type:m[s],data:r}},t.decodeBase64Packet=function(e,t){var i=m[e.charAt(0)];if(!n)return{type:i,data:{base64:!0,data:e.substr(1)}};var s=n.decode(e.substr(1));return"blob"===t&&f&&(s=new f([s])),{type:i,data:s}},t.encodePayload=function(e,i,n){"function"==typeof i&&(n=i,i=null);var s=r(e);return i&&s?f&&!h?t.encodePayloadAsBlob(e,n):t.encodePayloadAsArrayBuffer(e,n):e.length?void g(e,(function(e,n){t.encodePacket(e,!!s&&i,!1,(function(e){n(null,function(e){return e.length+":"+e}(e))}))}),(function(e,t){return n(t.join(""))})):n("0:")},t.decodePayload=function(e,i,n){if("string"!=typeof e)return t.decodePayloadAsBinary(e,i,n);var s;if("function"==typeof i&&(n=i,i=null),""===e)return n(p,0,1);for(var r,a,o="",l=0,c=e.length;l<c;l++){var d=e.charAt(l);if(":"===d){if(""===o||o!=(r=Number(o)))return n(p,0,1);if(o!=(a=e.substr(l+1,r)).length)return n(p,0,1);if(a.length){if(s=t.decodePacket(a,i,!1),p.type===s.type&&p.data===s.data)return n(p,0,1);if(!1===n(s,l+r,c))return}l+=r,o=""}else o+=d}return""!==o?n(p,0,1):void 0},t.encodePayloadAsArrayBuffer=function(e,i){if(!e.length)return i(new ArrayBuffer(0));g(e,(function(e,i){t.encodePacket(e,!0,!0,(function(e){return i(null,e)}))}),(function(e,t){var n=t.reduce((function(e,t){var i;return e+(i="string"==typeof t?t.length:t.byteLength).toString().length+i+2}),0),s=new Uint8Array(n),r=0;return t.forEach((function(e){var t="string"==typeof e,i=e;if(t){for(var n=new Uint8Array(e.length),a=0;a<e.length;a++)n[a]=e.charCodeAt(a);i=n.buffer}s[r++]=t?0:1;var o=i.byteLength.toString();for(a=0;a<o.length;a++)s[r++]=parseInt(o[a]);for(s[r++]=255,n=new Uint8Array(i),a=0;a<n.length;a++)s[r++]=n[a]})),i(s.buffer)}))},t.encodePayloadAsBlob=function(e,i){g(e,(function(e,i){t.encodePacket(e,!0,!0,(function(e){var t=new Uint8Array(1);if(t[0]=1,"string"==typeof e){for(var n=new Uint8Array(e.length),s=0;s<e.length;s++)n[s]=e.charCodeAt(s);e=n.buffer,t[0]=0}var r=(e instanceof ArrayBuffer?e.byteLength:e.size).toString(),a=new Uint8Array(r.length+1);for(s=0;s<r.length;s++)a[s]=parseInt(r[s]);if(a[r.length]=255,f){var o=new f([t.buffer,a.buffer,e]);i(null,o)}}))}),(function(e,t){return i(new f(t))}))},t.decodePayloadAsBinary=function(e,i,n){"function"==typeof i&&(n=i,i=null);for(var s=e,r=[];s.byteLength>0;){for(var o=new Uint8Array(s),l=0===o[0],c="",d=1;255!==o[d];d++){if(c.length>310)return n(p,0,1);c+=o[d]}s=a(s,2+c.length),c=parseInt(c);var h=a(s,0,c);if(l)try{h=String.fromCharCode.apply(null,new Uint8Array(h))}catch(f){var u=new Uint8Array(h);for(h="",d=0;d<u.length;d++)h+=String.fromCharCode(u[d])}r.push(h),s=a(s,c)}var m=r.length;r.forEach((function(e,s){n(t.decodePacket(e,i,!0),s,m)}))}},"+h6j":function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^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],s=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wgY5"))},"+n5x":function(e,t,i){!function(e){"use strict";e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,i=e%100;return 0===e?e+"-\u0435\u0432":0===i?e+"-\u0435\u043d":i>10&&i<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i("wgY5"))},"/hi0":function(e,t,i){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wgY5"))},0:function(e,t,i){e.exports=i("zUnb")},"0yow":function(e,t,i){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(i("wgY5"))},1:function(e,t){},"1KVU":function(e,t,i){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wgY5"))},"1XvF":function(e,t){var i=[].indexOf;e.exports=function(e,t){if(i)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}},"1iTk":function(e,t,i){var n=i("+/Qn"),s=Object.prototype.toString,r="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===s.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===s.call(File);e.exports=function e(t){if(!t||"object"!=typeof t)return!1;if(n(t)){for(var i=0,s=t.length;i<s;i++)if(e(t[i]))return!0;return!1}if("function"==typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(t)||"function"==typeof ArrayBuffer&&t instanceof ArrayBuffer||r&&t instanceof Blob||a&&t instanceof File)return!0;if(t.toJSON&&"function"==typeof t.toJSON&&1===arguments.length)return e(t.toJSON(),!0);for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)&&e(t[o]))return!0;return!1}},"1ors":function(e,t,i){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},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"]},n=function(e){return function(n,s,r,a){var o=t(n),l=i[e][t(n)];return 2===o&&(l=l[s?0:1]),l.replace(/%d/i,n)}},s=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-dz",{months: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(e){return"\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(i("wgY5"))},"2B8G":function(e,t,i){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,i){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(i("wgY5"))},"2JSI":function(e,t,i){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,i){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(i("wgY5"))},"3Ci8":function(e,t,i){var n=i("E10a"),s=i("sp+t"),r=i("vMid"),a=i("baYg"),o=i("CgLm"),l=i("jh13"),c=i("KQpv")("socket.io-client:manager"),d=i("1XvF"),h=i("JI/+"),u=Object.prototype.hasOwnProperty;function m(e,t){if(!(this instanceof m))return new m(e,t);e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.nsps={},this.subs=[],this.opts=t,this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(t.randomizationFactor||.5),this.backoff=new h({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this.readyState="closed",this.uri=e,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var i=t.parser||a;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this.autoConnect=!1!==t.autoConnect,this.autoConnect&&this.open()}e.exports=m,m.prototype.emitAll=function(){for(var e in this.emit.apply(this,arguments),this.nsps)u.call(this.nsps,e)&&this.nsps[e].emit.apply(this.nsps[e],arguments)},m.prototype.updateSocketIds=function(){for(var e in this.nsps)u.call(this.nsps,e)&&(this.nsps[e].id=this.generateId(e))},m.prototype.generateId=function(e){return("/"===e?"":e+"#")+this.engine.id},r(m.prototype),m.prototype.reconnection=function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection},m.prototype.reconnectionAttempts=function(e){return arguments.length?(this._reconnectionAttempts=e,this):this._reconnectionAttempts},m.prototype.reconnectionDelay=function(e){return arguments.length?(this._reconnectionDelay=e,this.backoff&&this.backoff.setMin(e),this):this._reconnectionDelay},m.prototype.randomizationFactor=function(e){return arguments.length?(this._randomizationFactor=e,this.backoff&&this.backoff.setJitter(e),this):this._randomizationFactor},m.prototype.reconnectionDelayMax=function(e){return arguments.length?(this._reconnectionDelayMax=e,this.backoff&&this.backoff.setMax(e),this):this._reconnectionDelayMax},m.prototype.timeout=function(e){return arguments.length?(this._timeout=e,this):this._timeout},m.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},m.prototype.open=m.prototype.connect=function(e,t){if(c("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;c("opening %s",this.uri),this.engine=n(this.uri,this.opts);var i=this.engine,s=this;this.readyState="opening",this.skipReconnect=!1;var r=o(i,"open",(function(){s.onopen(),e&&e()})),a=o(i,"error",(function(t){if(c("connect_error"),s.cleanup(),s.readyState="closed",s.emitAll("connect_error",t),e){var i=new Error("Connection error");i.data=t,e(i)}else s.maybeReconnectOnOpen()}));if(!1!==this._timeout){var l=this._timeout;c("connect attempt will timeout after %d",l);var d=setTimeout((function(){c("connect attempt timed out after %d",l),r.destroy(),i.close(),i.emit("error","timeout"),s.emitAll("connect_timeout",l)}),l);this.subs.push({destroy:function(){clearTimeout(d)}})}return this.subs.push(r),this.subs.push(a),this},m.prototype.onopen=function(){c("open"),this.cleanup(),this.readyState="open",this.emit("open");var e=this.engine;this.subs.push(o(e,"data",l(this,"ondata"))),this.subs.push(o(e,"ping",l(this,"onping"))),this.subs.push(o(e,"pong",l(this,"onpong"))),this.subs.push(o(e,"error",l(this,"onerror"))),this.subs.push(o(e,"close",l(this,"onclose"))),this.subs.push(o(this.decoder,"decoded",l(this,"ondecoded")))},m.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},m.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},m.prototype.ondata=function(e){this.decoder.add(e)},m.prototype.ondecoded=function(e){this.emit("packet",e)},m.prototype.onerror=function(e){c("error",e),this.emitAll("error",e)},m.prototype.socket=function(e,t){var i=this.nsps[e];if(!i){i=new s(this,e,t),this.nsps[e]=i;var n=this;i.on("connecting",r),i.on("connect",(function(){i.id=n.generateId(e)})),this.autoConnect&&r()}function r(){~d(n.connecting,i)||n.connecting.push(i)}return i},m.prototype.destroy=function(e){var t=d(this.connecting,e);~t&&this.connecting.splice(t,1),this.connecting.length||this.close()},m.prototype.packet=function(e){c("writing packet %j",e);var t=this;e.query&&0===e.type&&(e.nsp+="?"+e.query),t.encoding?t.packetBuffer.push(e):(t.encoding=!0,this.encoder.encode(e,(function(i){for(var n=0;n<i.length;n++)t.engine.write(i[n],e.options);t.encoding=!1,t.processPacketQueue()})))},m.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e)}},m.prototype.cleanup=function(){c("cleanup");for(var e=this.subs.length,t=0;t<e;t++)this.subs.shift().destroy();this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},m.prototype.close=m.prototype.disconnect=function(){c("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},m.prototype.onclose=function(e){c("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()},m.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var e=this;if(this.backoff.attempts>=this._reconnectionAttempts)c("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var t=this.backoff.duration();c("will wait %dms before reconnect attempt",t),this.reconnecting=!0;var i=setTimeout((function(){e.skipReconnect||(c("attempting reconnect"),e.emitAll("reconnect_attempt",e.backoff.attempts),e.emitAll("reconnecting",e.backoff.attempts),e.skipReconnect||e.open((function(t){t?(c("reconnect attempt error"),e.reconnecting=!1,e.reconnect(),e.emitAll("reconnect_error",t.data)):(c("reconnect success"),e.onreconnect())})))}),t);this.subs.push({destroy:function(){clearTimeout(i)}})}},m.prototype.onreconnect=function(){var e=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",e)}},"3WqV":function(e,t,i){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(i("wgY5"))},"3fuC":function(e,t){e.exports="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")()},"3g1g":function(e,t,i){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i("wgY5"))},"3l+g":function(e,t,i){function n(){var e;try{e=t.storage.debug}catch(i){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=i("NgZG")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var i=this.useColors;if(e[0]=(i?"%c":"")+this.namespace+(i?" %c":" ")+e[0]+(i?"%c ":" ")+"+"+t.humanize(this.diff),i){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var s=0,r=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(s++,"%c"===e&&(r=s))})),e.splice(r,0,n)}},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(i){}},t.load=n,t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},t.enable(n())},"4MAb":function(e,t,i){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(i("wgY5"))},"4VvY":function(e,t,i){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(i("wgY5"))},"4bvN":function(e,t,i){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,i){return e>11?i?"p.t.m.":"P.T.M.":i?"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}})}(i("wgY5"))},"5BRa":function(e,t,i){!function(e){"use strict";e.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i("wgY5"))},"5Mza":function(e,t,i){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(i("wgY5"))},"5dAn":function(e,t){t.encode=function(e){var t="";for(var i in e)e.hasOwnProperty(i)&&(t.length&&(t+="&"),t+=encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return t},t.decode=function(e){for(var t={},i=e.split("&"),n=0,s=i.length;n<s;n++){var r=i[n].split("=");t[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return t}},"5j0y":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return n?s[i][0]:s[i][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(i("wgY5"))},"6Olw":function(e,t,i){!function(e){"use strict";function t(e,t,i){return"m"===i?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===i?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(n=+e,s={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:t?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}function i(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var i={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?i.nominative.slice(1,7).concat(i.nominative.slice(0,1)):e?i[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:i.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:i("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:i("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:i("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:i("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,i){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(i("wgY5"))},"6PD3":function(e,t,i){!function(e){"use strict";var t={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function i(e,t,i,n){return t?s(i)[0]:n?s(i)[1]:s(i)[2]}function n(e){return e%10==0||e>10&&e<20}function s(e){return t[e].split("_")}function r(e,t,r,a){var o=e+" ";return 1===e?o+i(0,t,r[0],a):t?o+(n(e)?s(r)[1]:s(r)[0]):a?o+s(r)[1]:o+(n(e)?s(r)[1]:s(r)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,i,n){return t?"kelios sekund\u0117s":n?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:r,m:i,mm:r,h:i,hh:r,d:i,dd:r,M:i,MM:r,y:i,yy:r},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(i("wgY5"))},"6cYq":function(e,t,i){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(i("wgY5"))},"73V4":function(e,t,i){"use strict";var n,s="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),r={},a=0,o=0;function l(e){var t="";do{t=s[e%64]+t,e=Math.floor(e/64)}while(e>0);return t}function c(){var e=l(+new Date);return e!==n?(a=0,n=e):e+"."+l(a++)}for(;o<64;o++)r[s[o]]=o;c.encode=l,c.decode=function(e){var t=0;for(o=0;o<e.length;o++)t=64*t+r[e.charAt(o)];return t},e.exports=c},"7YbX":function(e,t){e.exports=function(e,t,i){var n=e.byteLength;if(t=t||0,i=i||n,e.slice)return e.slice(t,i);if(t<0&&(t+=n),i<0&&(i+=n),i>n&&(i=n),t>=n||t>=i||0===n)return new ArrayBuffer(0);for(var s=new Uint8Array(e),r=new Uint8Array(i-t),a=t,o=0;a<i;a++,o++)r[o]=s[a];return r.buffer}},"8Bez":function(e,t,i){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),i="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function n(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function s(e,t,i){var s=e+" ";switch(i){case"ss":return s+(n(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return s+(n(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return s+(n(e)?"godziny":"godzin");case"MM":return s+(n(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return s+(n(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,n){return e?""===n?"("+i[e.month()]+"|"+t[e.month()]+")":/D MMMM/.test(n)?i[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),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",M:"miesi\u0105c",MM:s,y:"rok",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},"8Cju":function(e,t,i){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},i={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,i){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,(function(e){return i[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(i("wgY5"))},"8GSH":function(e,t,i){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,i){return e<12?i?"vm":"VM":i?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wgY5"))},"8M93":function(e,t,i){var n=i("PUWO"),s=i("3fuC");e.exports=function(e){var t=e.xdomain,i=e.xscheme,r=e.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!t||n))return new XMLHttpRequest}catch(a){}try{if("undefined"!=typeof XDomainRequest&&!i&&r)return new XDomainRequest}catch(a){}if(!t)try{return new(s[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(a){}}},"8Ygf":function(e,t,i){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},ACAV:function(e,t,i){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,i){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?i?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?i?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(i("wgY5"))},"BAN/":function(e,t,i){!function(e){"use strict";e.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,(function(e,t,i){return"\u10d8"===i?t+"\u10e8\u10d8":t+i+"\u10e8\u10d8"}))},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):e},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(i("wgY5"))},"BKZ+":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[i][0]:s[i][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},CPJk:function(e,t,i){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},i={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function n(e,t,i,n){var s="";if(t)switch(i){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":s="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":s="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":s="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":s="%d \u0924\u093e\u0938";break;case"d":s="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":s="%d \u0926\u093f\u0935\u0938";break;case"M":s="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":s="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u0947"}else switch(i){case"s":s="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":s="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":s="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":s="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":s="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":s="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":s="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":s="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":s="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":s="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":s="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":s="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return s.replace(/%d/i,e)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===t||"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t||"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,i){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(i("wgY5"))},CZRU:function(e,t,i){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},CgLm:function(e,t){e.exports=function(e,t,i){return e.on(t,i),{destroy:function(){e.removeListener(t,i)}}}},DDip:function(e,t,i){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",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}})}(i("wgY5"))},E10a:function(e,t,i){e.exports=i("JRy8"),e.exports.parser=i("+Qru")},EL7g:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=e+" ";switch(i){case"ss":return n+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wgY5"))},EQmw:function(e,t,i){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function i(e,t,i,n){var s=e;switch(i){case"s":return n||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return s+(n||t)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return s+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return s+(n||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return s+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" h\xf3nap":" h\xf3napja");case"MM":return s+(n||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(n||t?" \xe9v":" \xe9ve");case"yy":return s+(n||t?" \xe9v":" \xe9ve")}return""}function n(e){return(e?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,i){return e<12?!0===i?"de":"DE":!0===i?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",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}})}(i("wgY5"))},EnIJ:function(e,t,i){!function(e){"use strict";e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,i){return e<12?i?"sa":"SA":i?"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",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i("wgY5"))},EqYs:function(e,t,i){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(e,t,i){return e<12?i?"\xf6\xf6":"\xd6\xd6":i?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(e){return"\xf6s"===e||"\xd6S"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e,i){switch(i){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(i("wgY5"))},GAZO:function(e,t){function i(){}e.exports=function(e,t,n){var s=!1;return n=n||i,r.count=e,0===e?t():r;function r(e,i){if(r.count<=0)throw new Error("after called too many times");--r.count,e?(s=!0,t(e),t=n):0!==r.count||s||t(null,i)}}},GJYX:function(e,t,i){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i("wgY5"))},GNPT:function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",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 invalida"})}(i("wgY5"))},GzvP:function(e,t,i){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},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"]},s=function(e){return function(t,s,r,a){var o=i(t),l=n[e][i(t)];return 2===o&&(l=l[s?0:1]),l.replace(/%d/i,t)}},r=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s: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(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i("wgY5"))},HISM:function(e,t){e.exports=function(e,t){for(var i=[],n=(t=t||0)||0;n<e.length;n++)i[n-t]=e[n];return i}},HgyJ:function(e,t,i){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(i("wgY5"))},"J+SV":function(e,t,i){!function(e){"use strict";e.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===t||"\u0633\u06d5\u06be\u06d5\u0631"===t||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===t?e:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===t||"\u0643\u06d5\u0686"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":n<900?"\u0633\u06d5\u06be\u06d5\u0631":n<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":n<1230?"\u0686\u06c8\u0634":n<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(i("wgY5"))},JFCg:function(e,t,i){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1200?"\u4e0a\u5348":1200===n?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i("wgY5"))},"JI/+":function(e,t){function i(e){this.ms=(e=e||{}).min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=i,i.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),i=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-i:e+i}return 0|Math.min(e,this.max)},i.prototype.reset=function(){this.attempts=0},i.prototype.setMin=function(e){this.ms=e},i.prototype.setMax=function(e){this.max=e},i.prototype.setJitter=function(e){this.jitter=e}},"JO+T":function(e,t,i){!function(e){"use strict";var t={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};e.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i("wgY5"))},JRy8:function(e,t,i){var n=i("cbhl"),s=i("dMso"),r=i("KQpv")("engine.io-client:socket"),a=i("1XvF"),o=i("+Qru"),l=i("VdbV"),c=i("5dAn");function d(e,t){if(!(this instanceof d))return new d(e,t);t=t||{},e&&"object"==typeof e&&(t=e,e=null),e?(e=l(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=l(t.host).host),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.agent=t.agent||!1,this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?443:80),this.query=t.query||{},"string"==typeof this.query&&(this.query=c.decode(this.query)),this.upgrade=!1!==t.upgrade,this.path=(t.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!t.forceJSONP,this.jsonp=!1!==t.jsonp,this.forceBase64=!!t.forceBase64,this.enablesXDR=!!t.enablesXDR,this.withCredentials=!1!==t.withCredentials,this.timestampParam=t.timestampParam||"t",this.timestampRequests=t.timestampRequests,this.transports=t.transports||["polling","websocket"],this.transportOptions=t.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=t.policyPort||843,this.rememberUpgrade=t.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=t.onlyBinaryUpgrades,this.perMessageDeflate=!1!==t.perMessageDeflate&&(t.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=t.pfx||null,this.key=t.key||null,this.passphrase=t.passphrase||null,this.cert=t.cert||null,this.ca=t.ca||null,this.ciphers=t.ciphers||null,this.rejectUnauthorized=void 0===t.rejectUnauthorized||t.rejectUnauthorized,this.forceNode=!!t.forceNode,this.isReactNative="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),("undefined"==typeof self||this.isReactNative)&&(t.extraHeaders&&Object.keys(t.extraHeaders).length>0&&(this.extraHeaders=t.extraHeaders),t.localAddress&&(this.localAddress=t.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}e.exports=d,d.priorWebsocketSuccess=!1,s(d.prototype),d.protocol=o.protocol,d.Socket=d,d.Transport=i("Y3rH"),d.transports=i("cbhl"),d.parser=i("+Qru"),d.prototype.createTransport=function(e){r('creating transport "%s"',e);var t=function(e){var t={};for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}(this.query);t.EIO=o.protocol,t.transport=e;var i=this.transportOptions[e]||{};return this.id&&(t.sid=this.id),new n[e]({query:t,socket:this,agent:i.agent||this.agent,hostname:i.hostname||this.hostname,port:i.port||this.port,secure:i.secure||this.secure,path:i.path||this.path,forceJSONP:i.forceJSONP||this.forceJSONP,jsonp:i.jsonp||this.jsonp,forceBase64:i.forceBase64||this.forceBase64,enablesXDR:i.enablesXDR||this.enablesXDR,withCredentials:i.withCredentials||this.withCredentials,timestampRequests:i.timestampRequests||this.timestampRequests,timestampParam:i.timestampParam||this.timestampParam,policyPort:i.policyPort||this.policyPort,pfx:i.pfx||this.pfx,key:i.key||this.key,passphrase:i.passphrase||this.passphrase,cert:i.cert||this.cert,ca:i.ca||this.ca,ciphers:i.ciphers||this.ciphers,rejectUnauthorized:i.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:i.perMessageDeflate||this.perMessageDeflate,extraHeaders:i.extraHeaders||this.extraHeaders,forceNode:i.forceNode||this.forceNode,localAddress:i.localAddress||this.localAddress,requestTimeout:i.requestTimeout||this.requestTimeout,protocols:i.protocols||void 0,isReactNative:this.isReactNative})},d.prototype.open=function(){var e;if(this.rememberUpgrade&&d.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length){var t=this;return void setTimeout((function(){t.emit("error","No transports available")}),0)}e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(i){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)},d.prototype.setTransport=function(e){r("setting transport %s",e.name);var t=this;this.transport&&(r("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",(function(){t.onDrain()})).on("packet",(function(e){t.onPacket(e)})).on("error",(function(e){t.onError(e)})).on("close",(function(){t.onClose("transport close")}))},d.prototype.probe=function(e){r('probing transport "%s"',e);var t=this.createTransport(e,{probe:1}),i=!1,n=this;function s(){n.onlyBinaryUpgrades&&(i=i||!this.supportsBinary&&n.transport.supportsBinary),i||(r('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",(function(s){if(!i)if("pong"===s.type&&"probe"===s.data){if(r('probe transport "%s" pong',e),n.upgrading=!0,n.emit("upgrading",t),!t)return;d.priorWebsocketSuccess="websocket"===t.name,r('pausing current transport "%s"',n.transport.name),n.transport.pause((function(){i||"closed"!==n.readyState&&(r("changing transport and sending upgrade packet"),u(),n.setTransport(t),t.send([{type:"upgrade"}]),n.emit("upgrade",t),t=null,n.upgrading=!1,n.flush())}))}else{r('probe transport "%s" failed',e);var a=new Error("probe error");a.transport=t.name,n.emit("upgradeError",a)}})))}function a(){i||(i=!0,u(),t.close(),t=null)}function o(i){var s=new Error("probe error: "+i);s.transport=t.name,a(),r('probe transport "%s" failed because of error: %s',e,i),n.emit("upgradeError",s)}function l(){o("transport closed")}function c(){o("socket closed")}function h(e){t&&e.name!==t.name&&(r('"%s" works - aborting "%s"',e.name,t.name),a())}function u(){t.removeListener("open",s),t.removeListener("error",o),t.removeListener("close",l),n.removeListener("close",c),n.removeListener("upgrading",h)}d.priorWebsocketSuccess=!1,t.once("open",s),t.once("error",o),t.once("close",l),this.once("close",c),this.once("upgrading",h),t.open()},d.prototype.onOpen=function(){if(r("socket open"),this.readyState="open",d.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){r("starting upgrade probes");for(var e=0,t=this.upgrades.length;e<t;e++)this.probe(this.upgrades[e])}},d.prototype.onPacket=function(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(r('socket receive: type "%s", data "%s"',e.type,e.data),this.emit("packet",e),this.emit("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emit("data",e.data),this.emit("message",e.data)}else r('packet received with socket readyState "%s"',this.readyState)},d.prototype.onHandshake=function(e){this.emit("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.onOpen(),"closed"!==this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},d.prototype.onHeartbeat=function(e){clearTimeout(this.pingTimeoutTimer);var t=this;t.pingTimeoutTimer=setTimeout((function(){"closed"!==t.readyState&&t.onClose("ping timeout")}),e||t.pingInterval+t.pingTimeout)},d.prototype.setPing=function(){var e=this;clearTimeout(e.pingIntervalTimer),e.pingIntervalTimer=setTimeout((function(){r("writing ping packet - expecting pong within %sms",e.pingTimeout),e.ping(),e.onHeartbeat(e.pingTimeout)}),e.pingInterval)},d.prototype.ping=function(){var e=this;this.sendPacket("ping",(function(){e.emit("ping")}))},d.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},d.prototype.flush=function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(r("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},d.prototype.write=d.prototype.send=function(e,t,i){return this.sendPacket("message",e,t,i),this},d.prototype.sendPacket=function(e,t,i,n){if("function"==typeof t&&(n=t,t=void 0),"function"==typeof i&&(n=i,i=null),"closing"!==this.readyState&&"closed"!==this.readyState){(i=i||{}).compress=!1!==i.compress;var s={type:e,data:t,options:i};this.emit("packetCreate",s),this.writeBuffer.push(s),n&&this.once("flush",n),this.flush()}},d.prototype.close=function(){if("opening"===this.readyState||"open"===this.readyState){this.readyState="closing";var e=this;this.writeBuffer.length?this.once("drain",(function(){this.upgrading?n():t()})):this.upgrading?n():t()}function t(){e.onClose("forced close"),r("socket closing - telling transport to close"),e.transport.close()}function i(){e.removeListener("upgrade",i),e.removeListener("upgradeError",i),t()}function n(){e.once("upgrade",i),e.once("upgradeError",i)}return this},d.prototype.onError=function(e){r("socket error %j",e),d.priorWebsocketSuccess=!1,this.emit("error",e),this.onClose("transport error",e)},d.prototype.onClose=function(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(r('socket close with reason: "%s"',e),clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)},d.prototype.filterUpgrades=function(e){for(var t=[],i=0,n=e.length;i<n;i++)~a(this.transports,e[i])&&t.push(e[i]);return t}},Jt3X:function(e,t,i){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(i("wgY5"))},"K+3W":function(e,t,i){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),i="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),n=[/^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],s=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function r(e){return e>1&&e<5&&1!=~~(e/10)}function a(e,t,i,n){var s=e+" ";switch(i){case"s":return t||n?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||n?s+(r(e)?"sekundy":"sekund"):s+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?s+(r(e)?"minuty":"minut"):s+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?s+(r(e)?"hodiny":"hodin"):s+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?s+(r(e)?"dny":"dn\xed"):s+"dny";case"M":return t||n?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||n?s+(r(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):s+"m\u011bs\xedci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?s+(r(e)?"roky":"let"):s+"lety"}}e.defineLocale("cs",{months:t,monthsShort:i,monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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}})}(i("wgY5"))},"K+Lk":function(e,t,i){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),i="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function s(e,t,i,s){var r=e+" ";switch(i){case"s":return t||s?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||s?r+(n(e)?"sekundy":"sek\xfand"):r+"sekundami";case"m":return t?"min\xfata":s?"min\xfatu":"min\xfatou";case"mm":return t||s?r+(n(e)?"min\xfaty":"min\xfat"):r+"min\xfatami";case"h":return t?"hodina":s?"hodinu":"hodinou";case"hh":return t||s?r+(n(e)?"hodiny":"hod\xedn"):r+"hodinami";case"d":return t||s?"de\u0148":"d\u0148om";case"dd":return t||s?r+(n(e)?"dni":"dn\xed"):r+"d\u0148ami";case"M":return t||s?"mesiac":"mesiacom";case"MM":return t||s?r+(n(e)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return t||s?"rok":"rokom";case"yy":return t||s?r+(n(e)?"roky":"rokov"):r+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:i,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,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},KQpv:function(e,t,i){t.log=function(...e){return"object"==typeof console&&console.log&&console.log(...e)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const i="color: "+this.color;t.splice(1,0,i,"color: inherit");let n=0,s=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(s=n))}),t.splice(s,0,i)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(i){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(i){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=i("SC2c")(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},KRNn:function(e,t){!function(){"use strict";for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(256),n=0;n<e.length;n++)i[e.charCodeAt(n)]=n;t.encode=function(t){var i,n=new Uint8Array(t),s=n.length,r="";for(i=0;i<s;i+=3)r+=e[n[i]>>2],r+=e[(3&n[i])<<4|n[i+1]>>4],r+=e[(15&n[i+1])<<2|n[i+2]>>6],r+=e[63&n[i+2]];return s%3==2?r=r.substring(0,r.length-1)+"=":s%3==1&&(r=r.substring(0,r.length-2)+"=="),r},t.decode=function(e){var t,n,s,r,a,o=.75*e.length,l=e.length,c=0;"="===e[e.length-1]&&(o--,"="===e[e.length-2]&&o--);var d=new ArrayBuffer(o),h=new Uint8Array(d);for(t=0;t<l;t+=4)n=i[e.charCodeAt(t)],s=i[e.charCodeAt(t+1)],r=i[e.charCodeAt(t+2)],a=i[e.charCodeAt(t+3)],h[c++]=n<<2|s>>4,h[c++]=(15&s)<<4|r>>2,h[c++]=(3&r)<<6|63&a;return d}}()},Kmv7:function(e,t){var i=1e3,n=60*i,s=60*n,r=24*s;function a(e,t,i){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+i:Math.ceil(e/t)+" "+i+"s"}e.exports=function(e,t){t=t||{};var o,l=typeof e;if("string"===l&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"days":case"day":case"d":return a*r;case"hours":case"hour":case"hrs":case"hr":case"h":return a*s;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===l&&!1===isNaN(e))return t.long?a(o=e,r,"day")||a(o,s,"hour")||a(o,n,"minute")||a(o,i,"second")||o+" ms":function(e){return e>=r?Math.round(e/r)+"d":e>=s?Math.round(e/s)+"h":e>=n?Math.round(e/n)+"m":e>=i?Math.round(e/i)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},KqOT:function(e,t,i){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(i("wgY5"))},LsNb:function(e,t,i){!function(e){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},i={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(i("wgY5"))},MMod:function(e,t,i){var n=i("QLVs"),s=i("baYg"),r=i("3Ci8"),a=i("KQpv")("socket.io-client");e.exports=t=l;var o=t.managers={};function l(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,s=n(e),l=s.source,c=s.id;return t.forceNew||t["force new connection"]||!1===t.multiplex||o[c]&&s.path in o[c].nsps?(a("ignoring socket cache for %s",l),i=r(l,t)):(o[c]||(a("new io instance for %s",l),o[c]=r(l,t)),i=o[c]),s.query&&!t.query&&(t.query=s.query),i.socket(s.path,t)}t.protocol=s.protocol,t.connect=l,t.Manager=i("3Ci8"),t.Socket=i("sp+t")},MNf7:function(e,t,i){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(i("wgY5"))},MROq:function(e,t,i){var n={"./af":"8GSH","./af.js":"8GSH","./ar":"NcOb","./ar-dz":"1ors","./ar-dz.js":"1ors","./ar-kw":"Sc1Y","./ar-kw.js":"Sc1Y","./ar-ly":"GzvP","./ar-ly.js":"GzvP","./ar-ma":"hH25","./ar-ma.js":"hH25","./ar-sa":"u2jB","./ar-sa.js":"u2jB","./ar-tn":"5Mza","./ar-tn.js":"5Mza","./ar.js":"NcOb","./az":"ZVVJ","./az.js":"ZVVJ","./be":"kQaN","./be.js":"kQaN","./bg":"+n5x","./bg.js":"+n5x","./bm":"TTiN","./bm.js":"TTiN","./bn":"aIF2","./bn.js":"aIF2","./bo":"QWb5","./bo.js":"QWb5","./br":"iQoZ","./br.js":"iQoZ","./bs":"EL7g","./bs.js":"EL7g","./ca":"vd/2","./ca.js":"vd/2","./cs":"K+3W","./cs.js":"K+3W","./cv":"Jt3X","./cv.js":"Jt3X","./cy":"sWi3","./cy.js":"sWi3","./da":"YcFX","./da.js":"YcFX","./de":"BKZ+","./de-at":"Oq9h","./de-at.js":"Oq9h","./de-ch":"hHY4","./de-ch.js":"hHY4","./de.js":"BKZ+","./dv":"w8Ej","./dv.js":"w8Ej","./el":"tSbB","./el.js":"tSbB","./en-au":"HgyJ","./en-au.js":"HgyJ","./en-ca":"ZyTy","./en-ca.js":"ZyTy","./en-gb":"exaB","./en-gb.js":"exaB","./en-ie":"yKzn","./en-ie.js":"yKzn","./en-il":"TB59","./en-il.js":"TB59","./en-in":"S70V","./en-in.js":"S70V","./en-nz":"iDxo","./en-nz.js":"iDxo","./en-sg":"zS0P","./en-sg.js":"zS0P","./eo":"4bvN","./eo.js":"4bvN","./es":"GNPT","./es-do":"R7mU","./es-do.js":"R7mU","./es-us":"Nstw","./es-us.js":"Nstw","./es.js":"GNPT","./et":"ZOjb","./et.js":"ZOjb","./eu":"kFC9","./eu.js":"kFC9","./fa":"8Cju","./fa.js":"8Cju","./fi":"vcN1","./fi.js":"vcN1","./fil":"3g1g","./fil.js":"3g1g","./fo":"8Ygf","./fo.js":"8Ygf","./fr":"Y8Ij","./fr-ca":"t+Zl","./fr-ca.js":"t+Zl","./fr-ch":"SPXN","./fr-ch.js":"SPXN","./fr.js":"Y8Ij","./fy":"T3MF","./fy.js":"T3MF","./ga":"NowM","./ga.js":"NowM","./gd":"GJYX","./gd.js":"GJYX","./gl":"MdC8","./gl.js":"MdC8","./gom-deva":"QJjq","./gom-deva.js":"QJjq","./gom-latn":"5j0y","./gom-latn.js":"5j0y","./gu":"fY0S","./gu.js":"fY0S","./he":"ACAV","./he.js":"ACAV","./hi":"3WqV","./hi.js":"3WqV","./hr":"OnNk","./hr.js":"OnNk","./hu":"EQmw","./hu.js":"EQmw","./hy-am":"MNf7","./hy-am.js":"MNf7","./id":"0yow","./id.js":"0yow","./is":"TmOJ","./is.js":"TmOJ","./it":"xD/0","./it-ch":"foQf","./it-ch.js":"foQf","./it.js":"xD/0","./ja":"jOnb","./ja.js":"jOnb","./jv":"lOtj","./jv.js":"lOtj","./ka":"BAN/","./ka.js":"BAN/","./kk":"iNiw","./kk.js":"iNiw","./km":"TUxt","./km.js":"TUxt","./kn":"hQzt","./kn.js":"hQzt","./ko":"ZNZT","./ko.js":"ZNZT","./ku":"S0Tg","./ku.js":"S0Tg","./ky":"JO+T","./ky.js":"JO+T","./lb":"vn/h","./lb.js":"vn/h","./lo":"gnIm","./lo.js":"gnIm","./lt":"6PD3","./lt.js":"6PD3","./lv":"YKe2","./lv.js":"YKe2","./me":"d3TR","./me.js":"d3TR","./mi":"hTlv","./mi.js":"hTlv","./mk":"ffVN","./mk.js":"ffVN","./ml":"ejL1","./ml.js":"ejL1","./mn":"RIsM","./mn.js":"RIsM","./mr":"CPJk","./mr.js":"CPJk","./ms":"d5Hy","./ms-my":"t4T9","./ms-my.js":"t4T9","./ms.js":"d5Hy","./mt":"1KVU","./mt.js":"1KVU","./my":"LsNb","./my.js":"LsNb","./nb":"h+U8","./nb.js":"h+U8","./ne":"2JSI","./ne.js":"2JSI","./nl":"jsZ8","./nl-be":"+h6j","./nl-be.js":"+h6j","./nl.js":"jsZ8","./nn":"mh29","./nn.js":"mh29","./oc-lnc":"zX+o","./oc-lnc.js":"zX+o","./pa-in":"O6bP","./pa-in.js":"O6bP","./pl":"8Bez","./pl.js":"8Bez","./pt":"DDip","./pt-br":"uHm5","./pt-br.js":"uHm5","./pt.js":"DDip","./ro":"baBi","./ro.js":"baBi","./ru":"ecsu","./ru.js":"ecsu","./sd":"e9KM","./sd.js":"e9KM","./se":"CZRU","./se.js":"CZRU","./si":"TO58","./si.js":"TO58","./sk":"K+Lk","./sk.js":"K+Lk","./sl":"QK6v","./sl.js":"QK6v","./sq":"v3Qg","./sq.js":"v3Qg","./sr":"Ndyf","./sr-cyrl":"PGvg","./sr-cyrl.js":"PGvg","./sr.js":"Ndyf","./ss":"2B8G","./ss.js":"2B8G","./sv":"WF5B","./sv.js":"WF5B","./sw":"4VvY","./sw.js":"4VvY","./ta":"dw3T","./ta.js":"dw3T","./te":"4MAb","./te.js":"4MAb","./tet":"/hi0","./tet.js":"/hi0","./tg":"PoVJ","./tg.js":"PoVJ","./th":"OY2w","./th.js":"OY2w","./tk":"zO4H","./tk.js":"zO4H","./tl-ph":"UC+K","./tl-ph.js":"UC+K","./tlh":"cWLW","./tlh.js":"cWLW","./tr":"EqYs","./tr.js":"EqYs","./tzl":"fN8o","./tzl.js":"fN8o","./tzm":"6cYq","./tzm-latn":"pdAN","./tzm-latn.js":"pdAN","./tzm.js":"6cYq","./ug-cn":"J+SV","./ug-cn.js":"J+SV","./uk":"6Olw","./uk.js":"6Olw","./ur":"QNGR","./ur.js":"QNGR","./uz":"hLzJ","./uz-latn":"KqOT","./uz-latn.js":"KqOT","./uz.js":"hLzJ","./vi":"EnIJ","./vi.js":"EnIJ","./x-pseudo":"W7dU","./x-pseudo.js":"W7dU","./yo":"QDhB","./yo.js":"QDhB","./zh-cn":"bjMe","./zh-cn.js":"bjMe","./zh-hk":"JFCg","./zh-hk.js":"JFCg","./zh-mo":"5BRa","./zh-mo.js":"5BRa","./zh-tw":"xBDH","./zh-tw.js":"xBDH"};function s(e){var t=r(e);return i(t)}function r(e){if(!i.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}s.keys=function(){return Object.keys(n)},s.resolve=r,e.exports=s,s.id="MROq"},MdC8:function(e,t,i){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wgY5"))},NcOb:function(e,t,i){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},s={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(e){return function(t,i,r,a){var o=n(t),l=s[e][n(t)];return 2===o&&(l=l[i?0:1]),l.replace(/%d/i,t)}},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"];e.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(e){return"\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return i[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i("wgY5"))},Ndyf:function(e,t,i){!function(e){"use strict";var t={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(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var s=t.words[n];return 1===n.length?i?s[0]:s[1]:e+" "+t.correctGrammaticalCase(e,s)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"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] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wgY5"))},NgZG:function(e,t,i){function n(e){var i;function n(){if(n.enabled){var e=n,s=+new Date,r=s-(i||s);e.diff=r,e.prev=i,e.curr=s,i=s;for(var a=new Array(arguments.length),o=0;o<a.length;o++)a[o]=arguments[o];a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var l=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(function(i,n){if("%%"===i)return i;l++;var s=t.formatters[n];return"function"==typeof s&&(i=s.call(e,a[l]),a.splice(l,1),l--),i})),t.formatArgs.call(e,a);var c=n.log||t.log||console.log.bind(console);c.apply(e,a)}}return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=function(e){var i,n=0;for(i in e)n=(n<<5)-n+e.charCodeAt(i),n|=0;return t.colors[Math.abs(n)%t.colors.length]}(e),n.destroy=s,"function"==typeof t.init&&t.init(n),t.instances.push(n),n}function s(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}(t=e.exports=n.debug=n.default=n).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){var i;t.save(e),t.names=[],t.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),s=n.length;for(i=0;i<s;i++)n[i]&&("-"===(e=n[i].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));for(i=0;i<t.instances.length;i++){var r=t.instances[i];r.enabled=t.enabled(r.namespace)}},t.enabled=function(e){if("*"===e[e.length-1])return!0;var i,n;for(i=0,n=t.skips.length;i<n;i++)if(t.skips[i].test(e))return!1;for(i=0,n=t.names.length;i<n;i++)if(t.names[i].test(e))return!0;return!1},t.humanize=i("Kmv7"),t.instances=[],t.names=[],t.skips=[],t.formatters={}},NowM:function(e,t,i){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i("wgY5"))},Nstw:function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",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}})}(i("wgY5"))},O6bP:function(e,t,i){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},i={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(i("wgY5"))},OY2w:function(e,t,i){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,i){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(i("wgY5"))},OnNk:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=e+" ";switch(i){case"ss":return n+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return n+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return n+(1===e?"dan":"dana");case"MM":return n+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return n+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wgY5"))},Oq9h:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[i][0]:s[i][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},PGvg:function(e,t,i){!function(e){"use strict";var t={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\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(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var s=t.words[n];return 1===n.length?i?s[0]:s[1]:e+" "+t.correctGrammaticalCase(e,s)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\u0434\u0430\u043d",dd:t.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:t.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wgY5"))},PUWO:function(e,t){try{e.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(i){e.exports=!1}},PoVJ:function(e,t,i){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:"\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:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i("wgY5"))},QDhB:function(e,t,i){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(i("wgY5"))},QJjq:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[e+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",e+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[e+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",e+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[e+" \u0935\u0930\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[e+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",e+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[e+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",e+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[e+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return n?s[i][0]:s[i][1]}e.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(e,t){switch(t){case"D":return e+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:1,doy:4},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===t?e:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===t?e>12?e:e+12:"\u0938\u093e\u0902\u091c\u0947"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0930\u093e\u0924\u0940":e<12?"\u0938\u0915\u093e\u0933\u0940\u0902":e<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":e<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(i("wgY5"))},QK6v:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s=e+" ";switch(i){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":return s+(1===e?t?"sekundo":"sekundi":2===e?t||n?"sekundi":"sekundah":e<5?t||n?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return s+(1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return s+(1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami");case"d":return t||n?"en dan":"enim dnem";case"dd":return s+(1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi");case"M":return t||n?"en mesec":"enim mesecem";case"MM":return s+(1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci");case"y":return t||n?"eno leto":"enim letom";case"yy":return s+(1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wgY5"))},QLVs:function(e,t,i){var n=i("VdbV"),s=i("KQpv")("socket.io-client:url");e.exports=function(e,t){var i=e;t=t||"undefined"!=typeof location&&location,null==e&&(e=t.protocol+"//"+t.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?t.protocol+e:t.host+e),/^(https?|wss?):\/\//.test(e)||(s("protocol-less url %s",e),e=void 0!==t?t.protocol+"//"+e:"https://"+e),s("parse %s",e),i=n(e)),i.port||(/^(http|ws)$/.test(i.protocol)?i.port="80":/^(http|ws)s$/.test(i.protocol)&&(i.port="443")),i.path=i.path||"/";var r=-1!==i.host.indexOf(":")?"["+i.host+"]":i.host;return i.id=i.protocol+"://"+r+":"+i.port,i.href=i.protocol+"://"+r+(t&&t.port===i.port?"":":"+i.port),i}},QNGR:function(e,t,i){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],i=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i("wgY5"))},QWb5:function(e,t,i){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},i={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,i){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(i("wgY5"))},R7mU:function(e,t,i){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,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",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}})}(i("wgY5"))},RIsM:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){switch(i){case"s":return t?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return e+(t?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(t?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(t?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(t?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(t?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(t?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e}}e.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(e){return"\u04ae\u0425"===e},meridiem:function(e,t,i){return e<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e}}})}(i("wgY5"))},S0Tg:function(e,t,i){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},n=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];e.defineLocale("ku",{months:n,monthsShort:n,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,t,i){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return i[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i("wgY5"))},S70V:function(e,t,i){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(i("wgY5"))},SC2c:function(e,t,i){e.exports=function(e){function t(e){let t=0;for(let i=0;i<e.length;i++)t=(t<<5)-t+e.charCodeAt(i),t|=0;return n.colors[Math.abs(t)%n.colors.length]}function n(e){let i;function a(...e){if(!a.enabled)return;const t=a,s=Number(new Date);t.diff=s-(i||s),t.prev=i,t.curr=s,i=s,e[0]=n.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(i,s)=>{if("%%"===i)return i;r++;const a=n.formatters[s];return"function"==typeof a&&(i=a.call(t,e[r]),e.splice(r,1),r--),i}),n.formatArgs.call(t,e),(t.log||n.log).apply(t,e)}return a.namespace=e,a.enabled=n.enabled(e),a.useColors=n.useColors(),a.color=t(e),a.destroy=s,a.extend=r,"function"==typeof n.init&&n.init(a),n.instances.push(a),a}function s(){const e=n.instances.indexOf(this);return-1!==e&&(n.instances.splice(e,1),!0)}function r(e,t){const i=n(this.namespace+(void 0===t?":":t)+e);return i.log=this.log,i}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return n.debug=n,n.default=n,n.coerce=function(e){return e instanceof Error?e.stack||e.message:e},n.disable=function(){const e=[...n.names.map(a),...n.skips.map(a).map(e=>"-"+e)].join(",");return n.enable(""),e},n.enable=function(e){let t;n.save(e),n.names=[],n.skips=[];const i=("string"==typeof e?e:"").split(/[\s,]+/),s=i.length;for(t=0;t<s;t++)i[t]&&("-"===(e=i[t].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")));for(t=0;t<n.instances.length;t++){const e=n.instances[t];e.enabled=n.enabled(e.namespace)}},n.enabled=function(e){if("*"===e[e.length-1])return!0;let t,i;for(t=0,i=n.skips.length;t<i;t++)if(n.skips[t].test(e))return!1;for(t=0,i=n.names.length;t<i;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=i("a+Rm"),Object.keys(e).forEach(t=>{n[t]=e[t]}),n.instances=[],n.names=[],n.skips=[],n.formatters={},n.selectColor=t,n.enable(n.load()),n}},SPXN:function(e,t,i){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(i("wgY5"))},Sc1Y:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(i("wgY5"))},T3MF:function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),i="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wgY5"))},TB59:function(e,t,i){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(i("wgY5"))},TO58:function(e,t,i){!function(e){"use strict";e.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,t,i){return e>11?i?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":i?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(i("wgY5"))},TSGc:function(e,t){var i=void 0!==i?i:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder&&MozBlobBuilder,n=function(){try{return 2===new Blob(["hi"]).size}catch(e){return!1}}(),s=n&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(e){return!1}}(),r=i&&i.prototype.append&&i.prototype.getBlob;function a(e){return e.map((function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var i=new Uint8Array(e.byteLength);i.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=i.buffer}return t}return e}))}function o(e,t){t=t||{};var n=new i;return a(e).forEach((function(e){n.append(e)})),t.type?n.getBlob(t.type):n.getBlob()}function l(e,t){return new Blob(a(e),t||{})}"undefined"!=typeof Blob&&(o.prototype=Blob.prototype,l.prototype=Blob.prototype),e.exports=n?s?Blob:l:r?o:void 0},TTiN:function(e,t,i){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(i("wgY5"))},TUxt:function(e,t,i){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},i={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,i){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(i("wgY5"))},TZtQ:function(e,t){e.exports=Object.keys||function(e){var t=[],i=Object.prototype.hasOwnProperty;for(var n in e)i.call(e,n)&&t.push(n);return t}},TmOJ:function(e,t,i){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function i(e,i,n,s){var r=e+" ";switch(n){case"s":return i||s?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(e)?r+(i||s?"sek\xfandur":"sek\xfandum"):r+"sek\xfanda";case"m":return i?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?r+(i||s?"m\xedn\xfatur":"m\xedn\xfatum"):i?r+"m\xedn\xfata":r+"m\xedn\xfatu";case"hh":return t(e)?r+(i||s?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return i?"dagur":s?"dag":"degi";case"dd":return t(e)?i?r+"dagar":r+(s?"daga":"d\xf6gum"):i?r+"dagur":r+(s?"dag":"degi");case"M":return i?"m\xe1nu\xf0ur":s?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?i?r+"m\xe1nu\xf0ir":r+(s?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):i?r+"m\xe1nu\xf0ur":r+(s?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return i||s?"\xe1r":"\xe1ri";case"yy":return t(e)?r+(i||s?"\xe1r":"\xe1rum"):r+(i||s?"\xe1r":"\xe1ri")}}e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:i,ss:i,m:i,mm:i,h:"klukkustund",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}})}(i("wgY5"))},"UC+K":function(e,t,i){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(i("wgY5"))},VdbV:function(e,t){var i=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,n=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];e.exports=function(e){var t=e,s=e.indexOf("["),r=e.indexOf("]");-1!=s&&-1!=r&&(e=e.substring(0,s)+e.substring(s,r).replace(/:/g,";")+e.substring(r,e.length));for(var a=i.exec(e||""),o={},l=14;l--;)o[n[l]]=a[l]||"";return-1!=s&&-1!=r&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o}},W7dU:function(e,t,i){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wgY5"))},WF5B:function(e,t,i){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(i("wgY5"))},Y3rH:function(e,t,i){var n=i("+Qru"),s=i("dMso");function r(e){this.path=e.path,this.hostname=e.hostname,this.port=e.port,this.secure=e.secure,this.query=e.query,this.timestampParam=e.timestampParam,this.timestampRequests=e.timestampRequests,this.readyState="",this.agent=e.agent||!1,this.socket=e.socket,this.enablesXDR=e.enablesXDR,this.withCredentials=e.withCredentials,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.forceNode=e.forceNode,this.isReactNative=e.isReactNative,this.extraHeaders=e.extraHeaders,this.localAddress=e.localAddress}e.exports=r,s(r.prototype),r.prototype.onError=function(e,t){var i=new Error(e);return i.type="TransportError",i.description=t,this.emit("error",i),this},r.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},r.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},r.prototype.send=function(e){if("open"!==this.readyState)throw new Error("Transport not open");this.write(e)},r.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},r.prototype.onData=function(e){var t=n.decodePacket(e,this.socket.binaryType);this.onPacket(t)},r.prototype.onPacket=function(e){this.emit("packet",e)},r.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},Y8Ij:function(e,t,i){!function(e){"use strict";var t=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,i=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,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|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(i("wgY5"))},YKe2:function(e,t,i){!function(e){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function i(e,t,i){return i?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,s){return e+" "+i(t[s],e,n)}function s(e,n,s){return i(t[s],e,n)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:n,m:s,mm:n,h:s,hh:n,d:s,dd:n,M:s,MM:n,y:s,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},YcFX:function(e,t,i){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},ZNZT:function(e,t,i){!function(e){"use strict";e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,t,i){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(i("wgY5"))},ZOjb:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return t?s[i][2]?s[i][2]:s[i][1]:n?s[i][0]:s[i][1]}e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},ZVVJ:function(e,t,i){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,t,i){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i("wgY5"))},ZyTy:function(e,t,i){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(i("wgY5"))},"a+Rm":function(e,t){var i=1e3,n=60*i,s=60*n,r=24*s;function a(e,t,i,n){var s=t>=1.5*i;return Math.round(e/i)+" "+n+(s?"s":"")}e.exports=function(e,t){t=t||{};var o,l,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*r;case"hours":case"hour":case"hrs":case"hr":case"h":return a*s;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===c&&isFinite(e))return t.long?(o=e,(l=Math.abs(o))>=r?a(o,l,r,"day"):l>=s?a(o,l,s,"hour"):l>=n?a(o,l,n,"minute"):l>=i?a(o,l,i,"second"):o+" ms"):function(e){var t=Math.abs(e);return t>=r?Math.round(e/r)+"d":t>=s?Math.round(e/s)+"h":t>=n?Math.round(e/n)+"m":t>=i?Math.round(e/i)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},aIF2:function(e,t,i){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},i={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,i){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(i("wgY5"))},aYSr:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},baBi:function(e,t,i){!function(e){"use strict";function t(e,t,i){var n=" ";return(e%100>=20||e>=100&&e%100==0)&&(n=" de "),e+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[i]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(i("wgY5"))},baYg:function(e,t,i){var n=i("3l+g")("socket.io-parser"),s=i("vMid"),r=i("psHv"),a=i("+/Qn"),o=i("r99W");function l(){}t.protocol=4,t.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],t.CONNECT=0,t.DISCONNECT=1,t.EVENT=2,t.ACK=3,t.ERROR=4,t.BINARY_EVENT=5,t.BINARY_ACK=6,t.Encoder=l,t.Decoder=h;var c=t.ERROR+'"encode error"';function d(e){var i=""+e.type;if(t.BINARY_EVENT!==e.type&&t.BINARY_ACK!==e.type||(i+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(i+=e.nsp+","),null!=e.id&&(i+=e.id),null!=e.data){var s=function(e){try{return JSON.stringify(e)}catch(t){return!1}}(e.data);if(!1===s)return c;i+=s}return n("encoded %j as %s",e,i),i}function h(){this.reconstructor=null}function u(e){this.reconPack=e,this.buffers=[]}function m(e){return{type:t.ERROR,data:"parser error: "+e}}l.prototype.encode=function(e,i){n("encoding packet %j",e),t.BINARY_EVENT===e.type||t.BINARY_ACK===e.type?function(e,t){r.removeBlobs(e,(function(e){var i=r.deconstructPacket(e),n=d(i.packet),s=i.buffers;s.unshift(n),t(s)}))}(e,i):i([d(e)])},s(h.prototype),h.prototype.add=function(e){var i;if("string"==typeof e)i=function(e){var i=0,s={type:Number(e.charAt(0))};if(null==t.types[s.type])return m("unknown packet type "+s.type);if(t.BINARY_EVENT===s.type||t.BINARY_ACK===s.type){for(var r="";"-"!==e.charAt(++i)&&(r+=e.charAt(i),i!=e.length););if(r!=Number(r)||"-"!==e.charAt(i))throw new Error("Illegal attachments");s.attachments=Number(r)}if("/"===e.charAt(i+1))for(s.nsp="";++i&&","!==(l=e.charAt(i))&&(s.nsp+=l,i!==e.length););else s.nsp="/";var o=e.charAt(i+1);if(""!==o&&Number(o)==o){for(s.id="";++i;){var l;if(null==(l=e.charAt(i))||Number(l)!=l){--i;break}if(s.id+=e.charAt(i),i===e.length)break}s.id=Number(s.id)}if(e.charAt(++i)){var c=function(e){try{return JSON.parse(e)}catch(t){return!1}}(e.substr(i));if(!1===c||s.type!==t.ERROR&&!a(c))return m("invalid payload");s.data=c}return n("decoded %s as %j",e,s),s}(e),t.BINARY_EVENT===i.type||t.BINARY_ACK===i.type?(this.reconstructor=new u(i),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",i)):this.emit("decoded",i);else{if(!o(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(i=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,this.emit("decoded",i))}},h.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},u.prototype.takeBinaryData=function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=r.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null},u.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},bjMe:function(e,t,i){!function(e){"use strict";e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(i("wgY5"))},blx1:function(e,t,i){var n,s,r;!function(a){if("object"==typeof e.exports){var o=a(0,t);void 0!==o&&(e.exports=o)}else s=[i,t],void 0===(r="function"==typeof(n=a)?n.apply(t,s):n)||(e.exports=r)}((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=void 0;t.default=["de",[["AM","PM"],i,i],i,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],i,i],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",i,"{1} 'um' {0}",i],[",",".",";","%","+","-","E","\xb7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","Euro",{ATS:["\xf6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],CUC:[i,"Cub$"],DEM:["DM"],FKP:[i,"Fl\xa3"],GNF:[i,"F.G."],KMF:[i,"FC"],RON:[i,"L"],RWF:[i,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],XXX:[],ZMW:[i,"K"]},"ltr",function(e){var t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===i?1:5}]}))},bnMc:function(e,t,i){var n=i("Y3rH"),s=i("5dAn"),r=i("+Qru"),a=i("eyYQ"),o=i("73V4"),l=i("KQpv")("engine.io-client:polling");e.exports=d;var c=null!=new(i("8M93"))({xdomain:!1}).responseType;function d(e){c&&!(e&&e.forceBase64)||(this.supportsBinary=!1),n.call(this,e)}a(d,n),d.prototype.name="polling",d.prototype.doOpen=function(){this.poll()},d.prototype.pause=function(e){var t=this;function i(){l("paused"),t.readyState="paused",e()}if(this.readyState="pausing",this.polling||!this.writable){var n=0;this.polling&&(l("we are currently polling - waiting to pause"),n++,this.once("pollComplete",(function(){l("pre-pause polling complete"),--n||i()}))),this.writable||(l("we are currently writing - waiting to pause"),n++,this.once("drain",(function(){l("pre-pause writing complete"),--n||i()})))}else i()},d.prototype.poll=function(){l("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},d.prototype.onData=function(e){var t=this;l("polling got data %s",e),r.decodePayload(e,this.socket.binaryType,(function(e,i,n){if("opening"===t.readyState&&t.onOpen(),"close"===e.type)return t.onClose(),!1;t.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():l('ignoring poll - transport state "%s"',this.readyState))},d.prototype.doClose=function(){var e=this;function t(){l("writing close packet"),e.write([{type:"close"}])}"open"===this.readyState?(l("transport open - closing"),t()):(l("transport not open - deferring close"),this.once("open",t))},d.prototype.write=function(e){var t=this;this.writable=!1;var i=function(){t.writable=!0,t.emit("drain")};r.encodePayload(e,this.supportsBinary,(function(e){t.doWrite(e,i)}))},d.prototype.uri=function(){var e=this.query||{},t=this.secure?"https":"http",i="";return!1!==this.timestampRequests&&(e[this.timestampParam]=o()),this.supportsBinary||e.sid||(e.b64=1),e=s.encode(e),this.port&&("https"===t&&443!==Number(this.port)||"http"===t&&80!==Number(this.port))&&(i=":"+this.port),e.length&&(e="?"+e),t+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+i+this.path+e}},cWLW:function(e,t,i){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function i(e,i,n,s){var r=function(e){var i=Math.floor(e%1e3/100),n=Math.floor(e%100/10),s=e%10,r="";return i>0&&(r+=t[i]+"vatlh"),n>0&&(r+=(""!==r?" ":"")+t[n]+"maH"),s>0&&(r+=(""!==r?" ":"")+t[s]),""===r?"pagh":r}(e);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:i,m:"wa\u2019 tup",mm:i,h:"wa\u2019 rep",hh:i,d:"wa\u2019 jaj",dd:i,M:"wa\u2019 jar",MM:i,y:"wa\u2019 DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},cbhl:function(e,t,i){var n=i("8M93"),s=i("uqcd"),r=i("ffIY"),a=i("vabA");t.polling=function(e){var t=!1,i=!1,a=!1!==e.jsonp;if("undefined"!=typeof location){var o="https:"===location.protocol,l=location.port;l||(l=o?443:80),t=e.hostname!==location.hostname||l!==e.port,i=e.secure!==o}if(e.xdomain=t,e.xscheme=i,"open"in new n(e)&&!e.forceJSONP)return new s(e);if(!a)throw new Error("JSONP disabled");return new r(e)},t.websocket=a},d3TR:function(e,t,i){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,i,n){var s=t.words[n];return 1===n.length?i?s[0]:s[1]:e+" "+t.correctGrammaticalCase(e,s)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wgY5"))},d5Hy:function(e,t,i){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i("wgY5"))},dMso:function(e,t,i){function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}e.exports=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},n.prototype.once=function(e,t){function i(){this.off(e,i),t.apply(this,arguments)}return i.fn=t,this.on(e,i),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var i,n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var s=0;s<n.length;s++)if((i=n[s])===t||i.fn===t){n.splice(s,1);break}return 0===n.length&&delete this._callbacks["$"+e],this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),i=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(i){n=0;for(var s=(i=i.slice(0)).length;n<s;++n)i[n].apply(this,t)}return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},dw3T:function(e,t,i){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},i={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,i){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(i("wgY5"))},e9KM:function(e,t,i){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],i=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i("wgY5"))},ecsu:function(e,t,i){!function(e){"use strict";function t(e,t,i){return"m"===i?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(n=+e,s={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",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"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}var i=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,i){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(i("wgY5"))},ejL1:function(e,t,i){!function(e){"use strict";e.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===t&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,i){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(i("wgY5"))},exaB:function(e,t,i){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wgY5"))},eyYQ:function(e,t){e.exports=function(e,t){var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}},fN8o:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return n||t?s[i][0]:s[i][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,i){return e>11?i?"d'o":"D'O":i?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},fY0S:function(e,t,i){!function(e){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},i={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===t?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===t?e:"\u0aac\u0aaa\u0acb\u0ab0"===t?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(i("wgY5"))},ffIY:function(e,t,i){var n=i("bnMc"),s=i("eyYQ"),r=i("3fuC");e.exports=d;var a,o=/\n/g,l=/\\n/g;function c(){}function d(e){n.call(this,e),this.query=this.query||{},a||(a=r.___eio=r.___eio||[]),this.index=a.length;var t=this;a.push((function(e){t.onData(e)})),this.query.j=this.index,"function"==typeof addEventListener&&addEventListener("beforeunload",(function(){t.script&&(t.script.onerror=c)}),!1)}s(d,n),d.prototype.supportsBinary=!1,d.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),n.prototype.doClose.call(this)},d.prototype.doPoll=function(){var e=this,t=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),t.async=!0,t.src=this.uri(),t.onerror=function(t){e.onError("jsonp poll error",t)};var i=document.getElementsByTagName("script")[0];i?i.parentNode.insertBefore(t,i):(document.head||document.body).appendChild(t),this.script=t,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout((function(){var e=document.createElement("iframe");document.body.appendChild(e),document.body.removeChild(e)}),100)},d.prototype.doWrite=function(e,t){var i=this;if(!this.form){var n,s=document.createElement("form"),r=document.createElement("textarea"),a=this.iframeId="eio_iframe_"+this.index;s.className="socketio",s.style.position="absolute",s.style.top="-1000px",s.style.left="-1000px",s.target=a,s.method="POST",s.setAttribute("accept-charset","utf-8"),r.name="d",s.appendChild(r),document.body.appendChild(s),this.form=s,this.area=r}function c(){d(),t()}function d(){if(i.iframe)try{i.form.removeChild(i.iframe)}catch(e){i.onError("jsonp polling iframe removal error",e)}try{n=document.createElement('<iframe src="javascript:0" name="'+i.iframeId+'">')}catch(e){(n=document.createElement("iframe")).name=i.iframeId,n.src="javascript:0"}n.id=i.iframeId,i.form.appendChild(n),i.iframe=n}this.form.action=this.uri(),d(),e=e.replace(l,"\\\n"),this.area.value=e.replace(o,"\\n");try{this.form.submit()}catch(h){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===i.iframe.readyState&&c()}:this.iframe.onload=c}},ffVN:function(e,t,i){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,i=e%100;return 0===e?e+"-\u0435\u0432":0===i?e+"-\u0435\u043d":i>10&&i<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i("wgY5"))},foQf:function(e,t,i){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wgY5"))},gnIm:function(e,t,i){!function(e){"use strict";e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,t,i){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}})}(i("wgY5"))},"h+U8":function(e,t,i){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",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}})}(i("wgY5"))},hH25:function(e,t,i){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}})}(i("wgY5"))},hHY4:function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[i][0]:s[i][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},hLzJ:function(e,t,i){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(i("wgY5"))},hQzt:function(e,t,i){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},i={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,i){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(i("wgY5"))},hTlv:function(e,t,i){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i("wgY5"))},iDxo:function(e,t,i){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wgY5"))},iNiw:function(e,t,i){!function(e){"use strict";var t={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(i("wgY5"))},iQoZ:function(e,t,i){!function(e){"use strict";function t(e,t,i){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[i],e)}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],n=/^(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];e.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse: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:n,monthsShortRegex:n,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:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,i){return e<12?"a.m.":"g.m."}})}(i("wgY5"))},jOnb:function(e,t,i){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(e,t){return"\u5143"===t[1]?1:parseInt(t[1]||e,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,i){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,t){switch(t){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(i("wgY5"))},jh13:function(e,t){var i=[].slice;e.exports=function(e,t){if("string"==typeof t&&(t=e[t]),"function"!=typeof t)throw new Error("bind() requires a function");var n=i.call(arguments,2);return function(){return t.apply(e,n.concat(i.call(arguments)))}}},jsZ8:function(e,t,i){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^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],s=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?i[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,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:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(i("wgY5"))},kFC9:function(e,t,i){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i("wgY5"))},kQaN:function(e,t,i){!function(e){"use strict";function t(e,t,i){return"m"===i?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===i?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(n=+e,s={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[i].split("_"),n%10==1&&n%100!=11?s[0]:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?s[1]:s[2]);var n,s}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,i){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(i("wgY5"))},lOtj:function(e,t,i){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(i("wgY5"))},mh29:function(e,t,i){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",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}})}(i("wgY5"))},o920:function(e,t){var i,n,s,r=String.fromCharCode;function a(e){for(var t,i,n=[],s=0,r=e.length;s<r;)(t=e.charCodeAt(s++))>=55296&&t<=56319&&s<r?56320==(64512&(i=e.charCodeAt(s++)))?n.push(((1023&t)<<10)+(1023&i)+65536):(n.push(t),s--):n.push(t);return n}function o(e,t){if(e>=55296&&e<=57343){if(t)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function l(e,t){return r(e>>t&63|128)}function c(e,t){if(0==(4294967168&e))return r(e);var i="";return 0==(4294965248&e)?i=r(e>>6&31|192):0==(4294901760&e)?(o(e,t)||(e=65533),i=r(e>>12&15|224),i+=l(e,6)):0==(4292870144&e)&&(i=r(e>>18&7|240),i+=l(e,12),i+=l(e,6)),i+r(63&e|128)}function d(){if(s>=n)throw Error("Invalid byte index");var e=255&i[s];if(s++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function h(e){var t,r;if(s>n)throw Error("Invalid byte index");if(s==n)return!1;if(t=255&i[s],s++,0==(128&t))return t;if(192==(224&t)){if((r=(31&t)<<6|d())>=128)return r;throw Error("Invalid continuation byte")}if(224==(240&t)){if((r=(15&t)<<12|d()<<6|d())>=2048)return o(r,e)?r:65533;throw Error("Invalid continuation byte")}if(240==(248&t)&&(r=(7&t)<<18|d()<<12|d()<<6|d())>=65536&&r<=1114111)return r;throw Error("Invalid UTF-8 detected")}e.exports={version:"2.1.2",encode:function(e,t){for(var i=!1!==(t=t||{}).strict,n=a(e),s=n.length,r=-1,o="";++r<s;)o+=c(n[r],i);return o},decode:function(e,t){var o=!1!==(t=t||{}).strict;i=a(e),n=i.length,s=0;for(var l,c=[];!1!==(l=h(o));)c.push(l);return function(e){for(var t,i=e.length,n=-1,s="";++n<i;)(t=e[n])>65535&&(s+=r((t-=65536)>>>10&1023|55296),t=56320|1023&t),s+=r(t);return s}(c)}}},pdAN:function(e,t,i){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(i("wgY5"))},psHv:function(e,t,i){var n=i("+/Qn"),s=i("r99W"),r=Object.prototype.toString,a="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===r.call(Blob),o="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===r.call(File);t.deconstructPacket=function(e){var t=[],i=e;return i.data=function e(t,i){if(!t)return t;if(s(t)){var r={_placeholder:!0,num:i.length};return i.push(t),r}if(n(t)){for(var a=new Array(t.length),o=0;o<t.length;o++)a[o]=e(t[o],i);return a}if("object"==typeof t&&!(t instanceof Date)){for(var l in a={},t)a[l]=e(t[l],i);return a}return t}(e.data,t),i.attachments=t.length,{packet:i,buffers:t}},t.reconstructPacket=function(e,t){return e.data=function e(t,i){if(!t)return t;if(t&&t._placeholder)return i[t.num];if(n(t))for(var s=0;s<t.length;s++)t[s]=e(t[s],i);else if("object"==typeof t)for(var r in t)t[r]=e(t[r],i);return t}(e.data,t),e.attachments=void 0,e},t.removeBlobs=function(e,t){var i=0,r=e;!function e(l,c,d){if(!l)return l;if(a&&l instanceof Blob||o&&l instanceof File){i++;var h=new FileReader;h.onload=function(){d?d[c]=this.result:r=this.result,--i||t(r)},h.readAsArrayBuffer(l)}else if(n(l))for(var u=0;u<l.length;u++)e(l[u],u,l);else if("object"==typeof l&&!s(l))for(var m in l)e(l[m],m,l)}(r),i||t(r)}},r99W:function(e,t){e.exports=function(e){return i&&Buffer.isBuffer(e)||n&&(e instanceof ArrayBuffer||function(e){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer}(e))};var i="function"==typeof Buffer&&"function"==typeof Buffer.isBuffer,n="function"==typeof ArrayBuffer},sWi3:function(e,t,i){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(i("wgY5"))},"sp+t":function(e,t,i){var n=i("baYg"),s=i("vMid"),r=i("HISM"),a=i("CgLm"),o=i("jh13"),l=i("KQpv")("socket.io-client:socket"),c=i("5dAn"),d=i("1iTk");e.exports=m;var h={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},u=s.prototype.emit;function m(e,t,i){this.io=e,this.nsp=t,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},i&&i.query&&(this.query=i.query),this.io.autoConnect&&this.open()}s(m.prototype),m.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[a(e,"open",o(this,"onopen")),a(e,"packet",o(this,"onpacket")),a(e,"close",o(this,"onclose"))]}},m.prototype.open=m.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},m.prototype.send=function(){var e=r(arguments);return e.unshift("message"),this.emit.apply(this,e),this},m.prototype.emit=function(e){if(h.hasOwnProperty(e))return u.apply(this,arguments),this;var t=r(arguments),i={type:(void 0!==this.flags.binary?this.flags.binary:d(t))?n.BINARY_EVENT:n.EVENT,data:t,options:{}};return i.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof t[t.length-1]&&(l("emitting packet with ack id %d",this.ids),this.acks[this.ids]=t.pop(),i.id=this.ids++),this.connected?this.packet(i):this.sendBuffer.push(i),this.flags={},this},m.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},m.prototype.onopen=function(){if(l("transport is open - connecting"),"/"!==this.nsp)if(this.query){var e="object"==typeof this.query?c.encode(this.query):this.query;l("sending connect packet with query %s",e),this.packet({type:n.CONNECT,query:e})}else this.packet({type:n.CONNECT})},m.prototype.onclose=function(e){l("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e)},m.prototype.onpacket=function(e){if(e.nsp===this.nsp||e.type===n.ERROR&&"/"===e.nsp)switch(e.type){case n.CONNECT:this.onconnect();break;case n.EVENT:case n.BINARY_EVENT:this.onevent(e);break;case n.ACK:case n.BINARY_ACK:this.onack(e);break;case n.DISCONNECT:this.ondisconnect();break;case n.ERROR:this.emit("error",e.data)}},m.prototype.onevent=function(e){var t=e.data||[];l("emitting event %j",t),null!=e.id&&(l("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?u.apply(this,t):this.receiveBuffer.push(t)},m.prototype.ack=function(e){var t=this,i=!1;return function(){if(!i){i=!0;var s=r(arguments);l("sending ack %j",s),t.packet({type:d(s)?n.BINARY_ACK:n.ACK,id:e,data:s})}}},m.prototype.onack=function(e){var t=this.acks[e.id];"function"==typeof t?(l("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):l("bad ack %s",e.id)},m.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},m.prototype.emitBuffered=function(){var e;for(e=0;e<this.receiveBuffer.length;e++)u.apply(this,this.receiveBuffer[e]);for(this.receiveBuffer=[],e=0;e<this.sendBuffer.length;e++)this.packet(this.sendBuffer[e]);this.sendBuffer=[]},m.prototype.ondisconnect=function(){l("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},m.prototype.destroy=function(){if(this.subs){for(var e=0;e<this.subs.length;e++)this.subs[e].destroy();this.subs=null}this.io.destroy(this)},m.prototype.close=m.prototype.disconnect=function(){return this.connected&&(l("performing disconnect (%s)",this.nsp),this.packet({type:n.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},m.prototype.compress=function(e){return this.flags.compress=e,this},m.prototype.binary=function(e){return this.flags.binary=e,this}},"t+Zl":function(e,t,i){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(i("wgY5"))},t4T9:function(e,t,i){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,i){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i("wgY5"))},tSbB:function(e,t,i){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,i){return e>11?i?"\u03bc\u03bc":"\u039c\u039c":i?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var i,n=this._calendarEl[e],s=t&&t.hours();return i=n,("undefined"!=typeof Function&&i instanceof Function||"[object Function]"===Object.prototype.toString.call(i))&&(n=n.apply(t)),n.replace("{}",s%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}})}(i("wgY5"))},u2jB:function(e,t,i){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},i={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,i){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return i[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(i("wgY5"))},uHm5:function(e,t,i){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(i("wgY5"))},uqcd:function(e,t,i){var n=i("8M93"),s=i("bnMc"),r=i("dMso"),a=i("eyYQ"),o=i("KQpv")("engine.io-client:polling-xhr"),l=i("3fuC");function c(){}function d(e){if(s.call(this,e),this.requestTimeout=e.requestTimeout,this.extraHeaders=e.extraHeaders,"undefined"!=typeof location){var t="https:"===location.protocol,i=location.port;i||(i=t?443:80),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||i!==e.port,this.xs=e.secure!==t}}function h(e){this.method=e.method||"GET",this.uri=e.uri,this.xd=!!e.xd,this.xs=!!e.xs,this.async=!1!==e.async,this.data=void 0!==e.data?e.data:null,this.agent=e.agent,this.isBinary=e.isBinary,this.supportsBinary=e.supportsBinary,this.enablesXDR=e.enablesXDR,this.withCredentials=e.withCredentials,this.requestTimeout=e.requestTimeout,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.extraHeaders=e.extraHeaders,this.create()}function u(){for(var e in h.requests)h.requests.hasOwnProperty(e)&&h.requests[e].abort()}e.exports=d,e.exports.Request=h,a(d,s),d.prototype.supportsBinary=!0,d.prototype.request=function(e){return(e=e||{}).uri=this.uri(),e.xd=this.xd,e.xs=this.xs,e.agent=this.agent||!1,e.supportsBinary=this.supportsBinary,e.enablesXDR=this.enablesXDR,e.withCredentials=this.withCredentials,e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized,e.requestTimeout=this.requestTimeout,e.extraHeaders=this.extraHeaders,new h(e)},d.prototype.doWrite=function(e,t){var i=this.request({method:"POST",data:e,isBinary:"string"!=typeof e&&void 0!==e}),n=this;i.on("success",t),i.on("error",(function(e){n.onError("xhr post error",e)})),this.sendXhr=i},d.prototype.doPoll=function(){o("xhr poll");var e=this.request(),t=this;e.on("data",(function(e){t.onData(e)})),e.on("error",(function(e){t.onError("xhr poll error",e)})),this.pollXhr=e},r(h.prototype),h.prototype.create=function(){var e={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized;var t=this.xhr=new n(e),i=this;try{o("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var s in t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(s)&&t.setRequestHeader(s,this.extraHeaders[s])}catch(r){}if("POST"===this.method)try{t.setRequestHeader("Content-type",this.isBinary?"application/octet-stream":"text/plain;charset=UTF-8")}catch(r){}try{t.setRequestHeader("Accept","*/*")}catch(r){}"withCredentials"in t&&(t.withCredentials=this.withCredentials),this.requestTimeout&&(t.timeout=this.requestTimeout),this.hasXDR()?(t.onload=function(){i.onLoad()},t.onerror=function(){i.onError(t.responseText)}):t.onreadystatechange=function(){if(2===t.readyState)try{var e=t.getResponseHeader("Content-Type");(i.supportsBinary&&"application/octet-stream"===e||"application/octet-stream; charset=UTF-8"===e)&&(t.responseType="arraybuffer")}catch(r){}4===t.readyState&&(200===t.status||1223===t.status?i.onLoad():setTimeout((function(){i.onError("number"==typeof t.status?t.status:0)}),0))},o("xhr data %s",this.data),t.send(this.data)}catch(r){return void setTimeout((function(){i.onError(r)}),0)}"undefined"!=typeof document&&(this.index=h.requestsCount++,h.requests[this.index]=this)},h.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},h.prototype.onData=function(e){this.emit("data",e),this.onSuccess()},h.prototype.onError=function(e){this.emit("error",e),this.cleanup(!0)},h.prototype.cleanup=function(e){if(null!=this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=c:this.xhr.onreadystatechange=c,e)try{this.xhr.abort()}catch(t){}"undefined"!=typeof document&&delete h.requests[this.index],this.xhr=null}},h.prototype.onLoad=function(){var e;try{var t;try{t=this.xhr.getResponseHeader("Content-Type")}catch(i){}e=("application/octet-stream"===t||"application/octet-stream; charset=UTF-8"===t)&&this.xhr.response||this.xhr.responseText}catch(i){this.onError(i)}null!=e&&this.onData(e)},h.prototype.hasXDR=function(){return"undefined"!=typeof XDomainRequest&&!this.xs&&this.enablesXDR},h.prototype.abort=function(){this.cleanup()},h.requestsCount=0,h.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",u):"function"==typeof addEventListener&&addEventListener("onpagehide"in l?"pagehide":"unload",u,!1))},v3Qg:function(e,t,i){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,i){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},vMid:function(e,t,i){function n(e){if(e)return function(e){for(var t in n.prototype)e[t]=n.prototype[t];return e}(e)}e.exports=n,n.prototype.on=n.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},n.prototype.once=function(e,t){function i(){this.off(e,i),t.apply(this,arguments)}return i.fn=t,this.on(e,i),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var i,n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var s=0;s<n.length;s++)if((i=n[s])===t||i.fn===t){n.splice(s,1);break}return this},n.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),i=this._callbacks["$"+e];if(i)for(var n=0,s=(i=i.slice(0)).length;n<s;++n)i[n].apply(this,t);return this},n.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},n.prototype.hasListeners=function(e){return!!this.listeners(e).length}},vabA:function(e,t,i){var n,s,r=i("Y3rH"),a=i("+Qru"),o=i("5dAn"),l=i("eyYQ"),c=i("73V4"),d=i("KQpv")("engine.io-client:websocket");if("undefined"!=typeof WebSocket?n=WebSocket:"undefined"!=typeof self&&(n=self.WebSocket||self.MozWebSocket),"undefined"==typeof window)try{s=i(1)}catch(m){}var h=n||s;function u(e){e&&e.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=e.perMessageDeflate,this.usingBrowserWebSocket=n&&!e.forceNode,this.protocols=e.protocols,this.usingBrowserWebSocket||(h=s),r.call(this,e)}e.exports=u,l(u,r),u.prototype.name="websocket",u.prototype.supportsBinary=!0,u.prototype.doOpen=function(){if(this.check()){var e=this.uri(),t=this.protocols,i={};this.isReactNative||(i.agent=this.agent,i.perMessageDeflate=this.perMessageDeflate,i.pfx=this.pfx,i.key=this.key,i.passphrase=this.passphrase,i.cert=this.cert,i.ca=this.ca,i.ciphers=this.ciphers,i.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(i.headers=this.extraHeaders),this.localAddress&&(i.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?t?new h(e,t):new h(e):new h(e,t,i)}catch(n){return this.emit("error",n)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},u.prototype.addEventListeners=function(){var e=this;this.ws.onopen=function(){e.onOpen()},this.ws.onclose=function(){e.onClose()},this.ws.onmessage=function(t){e.onData(t.data)},this.ws.onerror=function(t){e.onError("websocket error",t)}},u.prototype.write=function(e){var t=this;this.writable=!1;for(var i=e.length,n=0,s=i;n<s;n++)!function(e){a.encodePacket(e,t.supportsBinary,(function(n){if(!t.usingBrowserWebSocket){var s={};e.options&&(s.compress=e.options.compress),t.perMessageDeflate&&("string"==typeof n?Buffer.byteLength(n):n.length)<t.perMessageDeflate.threshold&&(s.compress=!1)}try{t.usingBrowserWebSocket?t.ws.send(n):t.ws.send(n,s)}catch(m){d("websocket closed before onclose event")}--i||(t.emit("flush"),setTimeout((function(){t.writable=!0,t.emit("drain")}),0))}))}(e[n])},u.prototype.onClose=function(){r.prototype.onClose.call(this)},u.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},u.prototype.uri=function(){var e=this.query||{},t=this.secure?"wss":"ws",i="";return this.port&&("wss"===t&&443!==Number(this.port)||"ws"===t&&80!==Number(this.port))&&(i=":"+this.port),this.timestampRequests&&(e[this.timestampParam]=c()),this.supportsBinary||(e.b64=1),(e=o.encode(e)).length&&(e="?"+e),t+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+i+this.path+e},u.prototype.check=function(){return!(!h||"__initialize"in h&&this.name===u.prototype.name)}},vcN1:function(e,t,i){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),i=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function n(e,n,s,r){var a="";switch(s){case"s":return r?"muutaman sekunnin":"muutama sekunti";case"ss":a=r?"sekunnin":"sekuntia";break;case"m":return r?"minuutin":"minuutti";case"mm":a=r?"minuutin":"minuuttia";break;case"h":return r?"tunnin":"tunti";case"hh":a=r?"tunnin":"tuntia";break;case"d":return r?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":a=r?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return r?"kuukauden":"kuukausi";case"MM":a=r?"kuukauden":"kuukautta";break;case"y":return r?"vuoden":"vuosi";case"yy":a=r?"vuoden":"vuotta"}return function(e,n){return e<10?n?i[e]:t[e]:e}(e,r)+" "+a}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s: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}})}(i("wgY5"))},"vd/2":function(e,t,i){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var i=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(i="a"),e+i},week:{dow:1,doy:4}})}(i("wgY5"))},"vn/h":function(e,t,i){!function(e){"use strict";function t(e,t,i,n){var s={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?s[i][0]:s[i][1]}function i(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return i(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return i(e)}return i(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return i(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return i(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i("wgY5"))},w8Ej:function(e,t,i){!function(e){"use strict";var t=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],i=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:i,weekdaysShort:i,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,t,i){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(i("wgY5"))},wgY5:function(e,t,i){(function(e){e.exports=function(){"use strict";var t,n;function s(){return t.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(o(e,t))return!1;return!0}function c(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var i,n=[];for(i=0;i<e.length;++i)n.push(t(e[i],i));return n}function m(e,t){for(var i in t)o(t,i)&&(e[i]=t[i]);return o(t,"toString")&&(e.toString=t.toString),o(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,i,n){return Ct(e,t,i,n,!0).utc()}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=f(e),i=n.call(t.parsedDateParts,(function(e){return null!=e})),s=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&i);if(e._strict&&(s=s&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function _(e){var t=p(NaN);return null!=e?m(f(t),e):f(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,i=Object(this),n=i.length>>>0;for(t=0;t<n;t++)if(t in i&&e.call(this,i[t],t,i))return!0;return!1};var y=s.momentProperties=[],b=!1;function v(e,t){var i,n,s;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=f(t)),c(t._locale)||(e._locale=t._locale),y.length>0)for(i=0;i<y.length;i++)c(s=t[n=y[i]])||(e[n]=s);return e}function w(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,s.updateOffset(this),b=!1)}function k(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function x(e){!1===s.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function C(e,t){var i=!0;return m((function(){if(null!=s.deprecationHandler&&s.deprecationHandler(null,e),i){var n,r,a,l=[];for(r=0;r<arguments.length;r++){if(n="","object"==typeof arguments[r]){for(a in n+="\n["+r+"] ",arguments[0])o(arguments[0],a)&&(n+=a+": "+arguments[0][a]+", ");n=n.slice(0,-2)}else n=arguments[r];l.push(n)}x(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),i=!1}return t.apply(this,arguments)}),t)}var S,M={};function D(e,t){null!=s.deprecationHandler&&s.deprecationHandler(e,t),M[e]||(x(t),M[e]=!0)}function L(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e,t){var i,n=m({},e);for(i in t)o(t,i)&&(a(e[i])&&a(t[i])?(n[i]={},m(n[i],e[i]),m(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)o(e,i)&&!o(t,i)&&a(e[i])&&(n[i]=m({},n[i]));return n}function A(e){null!=e&&this.set(e)}function E(e,t,i){var n=""+Math.abs(e);return(e>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}s.suppressDeprecationWarnings=!1,s.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,i=[];for(t in e)o(e,t)&&i.push(t);return i};var I=/(\[[^\[]*\])|(\\)?([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,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Y={},O={};function F(e,t,i,n){var s=n;"string"==typeof n&&(s=function(){return this[n]()}),e&&(O[e]=s),t&&(O[t[0]]=function(){return E(s.apply(this,arguments),t[1],t[2])}),i&&(O[i]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=N(t,e.localeData()),Y[t]=Y[t]||function(e){var t,i,n,s=e.match(I);for(t=0,i=s.length;t<i;t++)s[t]=O[s[t]]?O[s[t]]:(n=s[t]).match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"");return function(t){var n,r="";for(n=0;n<i;n++)r+=L(s[n])?s[n].call(t,e):s[n];return r}}(t),Y[t](e)):e.localeData().invalidDate()}function N(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(P.lastIndex=0;i>=0&&P.test(e);)e=e.replace(P,n),P.lastIndex=0,i-=1;return e}var j={};function H(e,t){var i=e.toLowerCase();j[i]=j[i+"s"]=j[t]=e}function V(e){return"string"==typeof e?j[e]||j[e.toLowerCase()]:void 0}function B(e){var t,i,n={};for(i in e)o(e,i)&&(t=V(i))&&(n[t]=e[i]);return n}var z={};function W(e,t){z[e]=t}function U(e){return e%4==0&&e%100!=0||e%400==0}function $(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function G(e){var t=+e,i=0;return 0!==t&&isFinite(t)&&(i=$(t)),i}function q(e,t){return function(i){return null!=i?(J(this,e,i),s.updateOffset(this,t),this):K(this,e)}}function K(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function J(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&U(e.year())&&1===e.month()&&29===e.date()?(i=G(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),ke(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}var Q,Z=/\d/,X=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ie=/[+-]?\d{6}/,ne=/\d\d?/,se=/\d\d\d\d?/,re=/\d\d\d\d\d\d?/,ae=/\d{1,3}/,oe=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,de=/[+-]?\d+/,he=/Z|[+-]\d\d:?\d\d/gi,ue=/Z|[+-]\d\d(?::?\d\d)?/gi,me=/[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 pe(e,t,i){Q[e]=L(t)?t:function(e,n){return e&&i?i:t}}function fe(e,t){return o(Q,e)?Q[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,i,n,s){return t||i||n||s}))))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var _e,ye={};function be(e,t){var i,n=t;for("string"==typeof e&&(e=[e]),d(t)&&(n=function(e,i){i[t]=G(e)}),i=0;i<e.length;i++)ye[e[i]]=n}function ve(e,t){be(e,(function(e,i,n,s){n._w=n._w||{},t(e,n._w,n,s)}))}function we(e,t,i){null!=t&&o(ye,e)&&ye[e](t,i._a,i,e)}function ke(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=(t%12+12)%12;return e+=(t-i)/12,1===i?U(e)?29:28:31-i%7%2}_e=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},F("M",["MM",2],"Mo",(function(){return this.month()+1})),F("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),F("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),H("month","M"),W("month",8),pe("M",ne),pe("MM",ne,X),pe("MMM",(function(e,t){return t.monthsShortRegex(e)})),pe("MMMM",(function(e,t){return t.monthsRegex(e)})),be(["M","MM"],(function(e,t){t[1]=G(e)-1})),be(["MMM","MMMM"],(function(e,t,i,n){var s=i._locale.monthsParse(e,n,i._strict);null!=s?t[1]=s:f(i).invalidMonth=e}));var xe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ce="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Se=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Me=me,De=me;function Le(e,t,i){var n,s,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)r=p([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(r,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(s=_e.call(this._shortMonthsParse,a))?s:null:-1!==(s=_e.call(this._longMonthsParse,a))?s:null:"MMM"===t?-1!==(s=_e.call(this._shortMonthsParse,a))||-1!==(s=_e.call(this._longMonthsParse,a))?s:null:-1!==(s=_e.call(this._longMonthsParse,a))||-1!==(s=_e.call(this._shortMonthsParse,a))?s:null}function Te(e,t){var i;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=G(t);else if(!d(t=e.localeData().monthsParse(t)))return e;return i=Math.min(e.date(),ke(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,i),e}function Ae(e){return null!=e?(Te(this,e),s.updateOffset(this,!0),this):K(this,"Month")}function Ee(){function e(e,t){return t.length-e.length}var t,i,n=[],s=[],r=[];for(t=0;t<12;t++)i=p([2e3,t]),n.push(this.monthsShort(i,"")),s.push(this.months(i,"")),r.push(this.months(i,"")),r.push(this.monthsShort(i,""));for(n.sort(e),s.sort(e),r.sort(e),t=0;t<12;t++)n[t]=ge(n[t]),s[t]=ge(s[t]);for(t=0;t<24;t++)r[t]=ge(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ie(e){return U(e)?366:365}F("Y",0,0,(function(){var e=this.year();return e<=9999?E(e,4):"+"+e})),F(0,["YY",2],0,(function(){return this.year()%100})),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),H("year","y"),W("year",1),pe("Y",de),pe("YY",ne,X),pe("YYYY",oe,te),pe("YYYYY",le,ie),pe("YYYYYY",le,ie),be(["YYYYY","YYYYYY"],0),be("YYYY",(function(e,t){t[0]=2===e.length?s.parseTwoDigitYear(e):G(e)})),be("YY",(function(e,t){t[0]=s.parseTwoDigitYear(e)})),be("Y",(function(e,t){t[0]=parseInt(e,10)})),s.parseTwoDigitYear=function(e){return G(e)+(G(e)>68?1900:2e3)};var Pe=q("FullYear",!0);function Ye(e,t,i,n,s,r,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,i,n,s,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,i,n,s,r,a),o}function Oe(e){var t,i;return e<100&&e>=0?((i=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,i)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Fe(e,t,i){var n=7+t-i;return-(7+Oe(e,0,n).getUTCDay()-t)%7+n-1}function Re(e,t,i,n,s){var r,a,o=1+7*(t-1)+(7+i-n)%7+Fe(e,n,s);return o<=0?a=Ie(r=e-1)+o:o>Ie(e)?(r=e+1,a=o-Ie(e)):(r=e,a=o),{year:r,dayOfYear:a}}function Ne(e,t,i){var n,s,r=Fe(e.year(),t,i),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?n=a+je(s=e.year()-1,t,i):a>je(e.year(),t,i)?(n=a-je(e.year(),t,i),s=e.year()+1):(s=e.year(),n=a),{week:n,year:s}}function je(e,t,i){var n=Fe(e,t,i),s=Fe(e+1,t,i);return(Ie(e)-n+s)/7}function He(e,t){return e.slice(t,7).concat(e.slice(0,t))}F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),W("week",5),W("isoWeek",5),pe("w",ne),pe("ww",ne,X),pe("W",ne),pe("WW",ne,X),ve(["w","ww","W","WW"],(function(e,t,i,n){t[n.substr(0,1)]=G(e)})),F("d",0,"do","day"),F("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),F("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),F("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),pe("d",ne),pe("e",ne),pe("E",ne),pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),ve(["dd","ddd","dddd"],(function(e,t,i,n){var s=i._locale.weekdaysParse(e,n,i._strict);null!=s?t.d=s:f(i).invalidWeekday=e})),ve(["d","e","E"],(function(e,t,i,n){t[n]=G(e)}));var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Be="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),We=me,Ue=me,$e=me;function Ge(e,t,i){var n,s,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)r=p([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(r,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(s=_e.call(this._weekdaysParse,a))?s:null:"ddd"===t?-1!==(s=_e.call(this._shortWeekdaysParse,a))?s:null:-1!==(s=_e.call(this._minWeekdaysParse,a))?s:null:"dddd"===t?-1!==(s=_e.call(this._weekdaysParse,a))||-1!==(s=_e.call(this._shortWeekdaysParse,a))||-1!==(s=_e.call(this._minWeekdaysParse,a))?s:null:"ddd"===t?-1!==(s=_e.call(this._shortWeekdaysParse,a))||-1!==(s=_e.call(this._weekdaysParse,a))||-1!==(s=_e.call(this._minWeekdaysParse,a))?s:null:-1!==(s=_e.call(this._minWeekdaysParse,a))||-1!==(s=_e.call(this._weekdaysParse,a))||-1!==(s=_e.call(this._shortWeekdaysParse,a))?s:null}function qe(){function e(e,t){return t.length-e.length}var t,i,n,s,r,a=[],o=[],l=[],c=[];for(t=0;t<7;t++)i=p([2e3,1]).day(t),n=ge(this.weekdaysMin(i,"")),s=ge(this.weekdaysShort(i,"")),r=ge(this.weekdays(i,"")),a.push(n),o.push(s),l.push(r),c.push(n),c.push(s),c.push(r);a.sort(e),o.sort(e),l.sort(e),c.sort(e),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 Ke(){return this.hours()%12||12}function Je(e,t){F(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Qe(e,t){return t._meridiemParse}F("H",["HH",2],0,"hour"),F("h",["hh",2],0,Ke),F("k",["kk",2],0,(function(){return this.hours()||24})),F("hmm",0,0,(function(){return""+Ke.apply(this)+E(this.minutes(),2)})),F("hmmss",0,0,(function(){return""+Ke.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)})),F("Hmm",0,0,(function(){return""+this.hours()+E(this.minutes(),2)})),F("Hmmss",0,0,(function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)})),Je("a",!0),Je("A",!1),H("hour","h"),W("hour",13),pe("a",Qe),pe("A",Qe),pe("H",ne),pe("h",ne),pe("k",ne),pe("HH",ne,X),pe("hh",ne,X),pe("kk",ne,X),pe("hmm",se),pe("hmmss",re),pe("Hmm",se),pe("Hmmss",re),be(["H","HH"],3),be(["k","kk"],(function(e,t,i){var n=G(e);t[3]=24===n?0:n})),be(["a","A"],(function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e})),be(["h","hh"],(function(e,t,i){t[3]=G(e),f(i).bigHour=!0})),be("hmm",(function(e,t,i){var n=e.length-2;t[3]=G(e.substr(0,n)),t[4]=G(e.substr(n)),f(i).bigHour=!0})),be("hmmss",(function(e,t,i){var n=e.length-4,s=e.length-2;t[3]=G(e.substr(0,n)),t[4]=G(e.substr(n,2)),t[5]=G(e.substr(s)),f(i).bigHour=!0})),be("Hmm",(function(e,t,i){var n=e.length-2;t[3]=G(e.substr(0,n)),t[4]=G(e.substr(n))})),be("Hmmss",(function(e,t,i){var n=e.length-4,s=e.length-2;t[3]=G(e.substr(0,n)),t[4]=G(e.substr(n,2)),t[5]=G(e.substr(s))}));var Ze,Xe=q("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:xe,monthsShort:Ce,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:ze,weekdaysShort:Be,meridiemParse:/[ap]\.?m?\.?/i},tt={},it={};function nt(e,t){var i,n=Math.min(e.length,t.length);for(i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}function st(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var n=null;if(void 0===tt[t]&&void 0!==e&&e&&e.exports)try{n=Ze._abbr,i("MROq")("./"+t),at(n)}catch(s){tt[t]=null}return tt[t]}function at(e,t){var i;return e&&((i=c(t)?lt(e):ot(e,t))?Ze=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ze._abbr}function ot(e,t){if(null!==t){var i,n=et;if(t.abbr=e,null!=tt[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])n=tt[t.parentLocale]._config;else{if(null==(i=rt(t.parentLocale)))return it[t.parentLocale]||(it[t.parentLocale]=[]),it[t.parentLocale].push({name:e,config:t}),null;n=i._config}return tt[e]=new A(T(n,t)),it[e]&&it[e].forEach((function(e){ot(e.name,e.config)})),at(e),tt[e]}return delete tt[e],null}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ze;if(!r(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,i,n,s,r=0;r<e.length;){for(t=(s=st(e[r]).split("-")).length,i=(i=st(e[r+1]))?i.split("-"):null;t>0;){if(n=rt(s.slice(0,t).join("-")))return n;if(i&&i.length>=t&&nt(s,i)>=t-1)break;t--}r++}return Ze}(e)}function ct(e){var t,i=e._a;return i&&-2===f(e).overflow&&(t=i[1]<0||i[1]>11?1:i[2]<1||i[2]>ke(i[0],i[1])?2:i[3]<0||i[3]>24||24===i[3]&&(0!==i[4]||0!==i[5]||0!==i[6])?3:i[4]<0||i[4]>59?4:i[5]<0||i[5]>59?5:i[6]<0||i[6]>999?6:-1,f(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),f(e)._overflowWeeks&&-1===t&&(t=7),f(e)._overflowWeekday&&-1===t&&(t=8),f(e).overflow=t),e}var dt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ht=/^\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)?)?$/,ut=/Z|[+-]\d\d(?::?\d\d)?/,mt=[["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]],pt=[["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/]],ft=/^\/?Date\((-?\d+)/i,gt=/^(?:(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}))$/,_t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function yt(e){var t,i,n,s,r,a,o=e._i,l=dt.exec(o)||ht.exec(o);if(l){for(f(e).iso=!0,t=0,i=mt.length;t<i;t++)if(mt[t][1].exec(l[1])){s=mt[t][0],n=!1!==mt[t][2];break}if(null==s)return void(e._isValid=!1);if(l[3]){for(t=0,i=pt.length;t<i;t++)if(pt[t][1].exec(l[3])){r=(l[2]||" ")+pt[t][0];break}if(null==r)return void(e._isValid=!1)}if(!n&&null!=r)return void(e._isValid=!1);if(l[4]){if(!ut.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=s+(r||"")+(a||""),kt(e)}else e._isValid=!1}function bt(e){var t,i,n,s,r,a,o,l,c,d=gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(d){if(i=d[3],n=d[2],s=d[5],r=d[6],a=d[7],o=[(l=d[4],c=parseInt(l,10),c<=49?2e3+c:c<=999?1900+c:c),Ce.indexOf(i),parseInt(n,10),parseInt(s,10),parseInt(r,10)],a&&o.push(parseInt(a,10)),!function(e,t,i){return!e||Be.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(f(i).weekdayMismatch=!0,i._isValid=!1,!1)}(d[1],t=o,e))return;e._a=t,e._tzm=function(e,t,i){if(e)return _t[e];if(t)return 0;var n=parseInt(i,10),s=n%100;return(n-s)/100*60+s}(d[8],d[9],d[10]),e._d=Oe.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function vt(e,t,i){return null!=e?e:null!=t?t:i}function wt(e){var t,i,n,r,a,o=[];if(!e._d){for(n=function(e){var t=new Date(s.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,i,n,s,r,a,o,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,a=4,i=vt(t.GG,e._a[0],Ne(St(),1,4).year),n=vt(t.W,1),((s=vt(t.E,1))<1||s>7)&&(l=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,c=Ne(St(),r,a),i=vt(t.gg,e._a[0],c.year),n=vt(t.w,c.week),null!=t.d?((s=t.d)<0||s>6)&&(l=!0):null!=t.e?(s=t.e+r,(t.e<0||t.e>6)&&(l=!0)):s=r),n<1||n>je(i,r,a)?f(e)._overflowWeeks=!0:null!=l?f(e)._overflowWeekday=!0:(o=Re(i,n,s,r,a),e._a[0]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(a=vt(e._a[0],n[0]),(e._dayOfYear>Ie(a)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),i=Oe(a,0,e._dayOfYear),e._a[1]=i.getUTCMonth(),e._a[2]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=n[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Oe:Ye).apply(null,o),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==s.ISO_8601)if(e._f!==s.RFC_2822){e._a=[],f(e).empty=!0;var t,i,n,r,a,o,l=""+e._i,c=l.length,d=0;for(n=N(e._f,e._locale).match(I)||[],t=0;t<n.length;t++)(i=(l.match(fe(r=n[t],e))||[])[0])&&((a=l.substr(0,l.indexOf(i))).length>0&&f(e).unusedInput.push(a),l=l.slice(l.indexOf(i)+i.length),d+=i.length),O[r]?(i?f(e).empty=!1:f(e).unusedTokens.push(r),we(r,i,e)):e._strict&&!i&&f(e).unusedTokens.push(r);f(e).charsLeftOver=c-d,l.length>0&&f(e).unusedInput.push(l),e._a[3]<=12&&!0===f(e).bigHour&&e._a[3]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[3]=function(e,t,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?((n=e.isPM(i))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(o=f(e).era)&&(e._a[0]=e._locale.erasConvertYear(o,e._a[0])),wt(e),ct(e)}else bt(e);else yt(e)}function xt(e){var t=e._i,i=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===i&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new w(ct(t)):(h(t)?e._d=t:r(i)?function(e){var t,i,n,s,r,a,o=!1;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(s=0;s<e._f.length;s++)r=0,a=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[s],kt(t),g(t)&&(a=!0),r+=f(t).charsLeftOver,r+=10*f(t).unusedTokens.length,f(t).score=r,o?r<n&&(n=r,i=t):(null==n||r<n||a)&&(n=r,i=t,a&&(o=!0));m(e,i||t)}(e):i?kt(e):function(e){var t=e._i;c(t)?e._d=new Date(s.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=ft.exec(e._i);null===t?(yt(e),!1===e._isValid&&(delete e._isValid,bt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:s.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):r(t)?(e._a=u(t.slice(0),(function(e){return parseInt(e,10)})),wt(e)):a(t)?function(e){if(!e._d){var t=B(e._i);e._a=u([t.year,t.month,void 0===t.day?t.date:t.day,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),wt(e)}}(e):d(t)?e._d=new Date(t):s.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function Ct(e,t,i,n,s){var o,c={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(a(e)&&l(e)||r(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=s,c._l=i,c._i=e,c._f=t,c._strict=n,(o=new w(ct(xt(c))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function St(e,t,i,n){return Ct(e,t,i,n,!1)}s.createFromInputFallback=C("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),s.ISO_8601=function(){},s.RFC_2822=function(){};var Mt=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_()})),Dt=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=St.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_()}));function Lt(e,t){var i,n;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return St();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}var Tt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function At(e){var t=B(e),i=t.year||0,n=t.quarter||0,s=t.month||0,r=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,c=t.minute||0,d=t.second||0,h=t.millisecond||0;this._isValid=function(e){var t,i,n=!1;for(t in e)if(o(e,t)&&(-1===_e.call(Tt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<Tt.length;++i)if(e[Tt[i]]){if(n)return!1;parseFloat(e[Tt[i]])!==G(e[Tt[i]])&&(n=!0)}return!0}(t),this._milliseconds=+h+1e3*d+6e4*c+1e3*l*60*60,this._days=+a+7*r,this._months=+s+3*n+12*i,this._data={},this._locale=lt(),this._bubble()}function Et(e){return e instanceof At}function It(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Pt(e,t){F(e,0,0,(function(){var e=this.utcOffset(),i="+";return e<0&&(e=-e,i="-"),i+E(~~(e/60),2)+t+E(~~e%60,2)}))}Pt("Z",":"),Pt("ZZ",""),pe("Z",ue),pe("ZZ",ue),be(["Z","ZZ"],(function(e,t,i){i._useUTC=!0,i._tzm=Ot(ue,e)}));var Yt=/([\+\-]|\d\d)/gi;function Ot(e,t){var i,n,s=(t||"").match(e);return null===s?null:0===(n=60*(i=((s[s.length-1]||[])+"").match(Yt)||["-",0,0])[1]+G(i[2]))?0:"+"===i[0]?n:-n}function Ft(e,t){var i,n;return t._isUTC?(i=t.clone(),n=(k(e)||h(e)?e.valueOf():St(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+n),s.updateOffset(i,!1),i):St(e).local()}function Rt(e){return-Math.round(e._d.getTimezoneOffset())}function Nt(){return!!this.isValid()&&this._isUTC&&0===this._offset}s.updateOffset=function(){};var jt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ht=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Vt(e,t){var i,n,s,r,a,l,c=e,h=null;return Et(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:d(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(h=jt.exec(e))?(i="-"===h[1]?-1:1,c={y:0,d:G(h[2])*i,h:G(h[3])*i,m:G(h[4])*i,s:G(h[5])*i,ms:G(It(1e3*h[6]))*i}):(h=Ht.exec(e))?c={y:Bt(h[2],i="-"===h[1]?-1:1),M:Bt(h[3],i),w:Bt(h[4],i),d:Bt(h[5],i),h:Bt(h[6],i),m:Bt(h[7],i),s:Bt(h[8],i)}:null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(r=St(c.from),a=St(c.to),s=r.isValid()&&a.isValid()?(a=Ft(a,r),r.isBefore(a)?l=zt(r,a):((l=zt(a,r)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=s.milliseconds,c.M=s.months),n=new At(c),Et(e)&&o(e,"_locale")&&(n._locale=e._locale),Et(e)&&o(e,"_isValid")&&(n._isValid=e._isValid),n}function Bt(e,t){var i=e&&parseFloat(e.replace(",","."));return(isNaN(i)?0:i)*t}function zt(e,t){var i={};return i.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+e.clone().add(i.months,"M"),i}function Wt(e,t){return function(i,n){var s;return null===n||isNaN(+n)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=i,i=n,n=s),Ut(this,Vt(i,n),e),this}}function Ut(e,t,i,n){var r=t._milliseconds,a=It(t._days),o=It(t._months);e.isValid()&&(n=null==n||n,o&&Te(e,K(e,"Month")+o*i),a&&J(e,"Date",K(e,"Date")+a*i),r&&e._d.setTime(e._d.valueOf()+r*i),n&&s.updateOffset(e,a||o))}Vt.fn=At.prototype,Vt.invalid=function(){return Vt(NaN)};var $t=Wt(1,"add"),Gt=Wt(-1,"subtract");function qt(e){return"string"==typeof e||e instanceof String}function Kt(e){return k(e)||h(e)||qt(e)||d(e)||function(e){var t=r(e),i=!1;return t&&(i=0===e.filter((function(t){return!d(t)&&qt(e)})).length),t&&i}(e)||function(e){var t,i=a(e)&&!l(e),n=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<s.length;t+=1)n=n||o(e,s[t]);return i&&n}(e)||null==e}function Jt(e){var t,i=a(e)&&!l(e),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<s.length;t+=1)n=n||o(e,s[t]);return i&&n}function Qt(e,t){if(e.date()<t.date())return-Qt(t,e);var i=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(i,"months");return-(i+(t-n<0?(t-n)/(n-e.clone().add(i-1,"months")):(t-n)/(e.clone().add(i+1,"months")-n)))||0}function Zt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}s.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",s.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Xt=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ei(){return this._locale}function ti(e,t){return(e%t+t)%t}function ii(e,t,i){return e<100&&e>=0?new Date(e+400,t,i)-126227808e5:new Date(e,t,i).valueOf()}function ni(e,t,i){return e<100&&e>=0?Date.UTC(e+400,t,i)-126227808e5:Date.UTC(e,t,i)}function si(e,t){return t.erasAbbrRegex(e)}function ri(){var e,t,i=[],n=[],s=[],r=[],a=this.eras();for(e=0,t=a.length;e<t;++e)n.push(ge(a[e].name)),i.push(ge(a[e].abbr)),s.push(ge(a[e].narrow)),r.push(ge(a[e].name)),r.push(ge(a[e].abbr)),r.push(ge(a[e].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function ai(e,t){F(0,[e,e.length],0,t)}function oi(e,t,i,n,s){var r;return null==e?Ne(this,n,s).year:(t>(r=je(e,n,s))&&(t=r),li.call(this,e,t,i,n,s))}function li(e,t,i,n,s){var r=Re(e,t,i,n,s),a=Oe(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}F("N",0,0,"eraAbbr"),F("NN",0,0,"eraAbbr"),F("NNN",0,0,"eraAbbr"),F("NNNN",0,0,"eraName"),F("NNNNN",0,0,"eraNarrow"),F("y",["y",1],"yo","eraYear"),F("y",["yy",2],0,"eraYear"),F("y",["yyy",3],0,"eraYear"),F("y",["yyyy",4],0,"eraYear"),pe("N",si),pe("NN",si),pe("NNN",si),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),be(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,i,n){var s=i._locale.erasParse(e,n,i._strict);s?f(i).era=s:f(i).invalidEra=e})),pe("y",ce),pe("yy",ce),pe("yyy",ce),pe("yyyy",ce),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),be(["y","yy","yyy","yyyy"],0),be(["yo"],(function(e,t,i,n){var s;i._locale._eraYearOrdinalRegex&&(s=e.match(i._locale._eraYearOrdinalRegex)),t[0]=i._locale.eraYearOrdinalParse?i._locale.eraYearOrdinalParse(e,s):parseInt(e,10)})),F(0,["gg",2],0,(function(){return this.weekYear()%100})),F(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ai("gggg","weekYear"),ai("ggggg","weekYear"),ai("GGGG","isoWeekYear"),ai("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),pe("G",de),pe("g",de),pe("GG",ne,X),pe("gg",ne,X),pe("GGGG",oe,te),pe("gggg",oe,te),pe("GGGGG",le,ie),pe("ggggg",le,ie),ve(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,i,n){t[n.substr(0,2)]=G(e)})),ve(["gg","GG"],(function(e,t,i,n){t[n]=s.parseTwoDigitYear(e)})),F("Q",0,"Qo","quarter"),H("quarter","Q"),W("quarter",7),pe("Q",Z),be("Q",(function(e,t){t[1]=3*(G(e)-1)})),F("D",["DD",2],"Do","date"),H("date","D"),W("date",9),pe("D",ne),pe("DD",ne,X),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),be(["D","DD"],2),be("Do",(function(e,t){t[2]=G(e.match(ne)[0])}));var ci=q("Date",!0);F("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),W("dayOfYear",4),pe("DDD",ae),pe("DDDD",ee),be(["DDD","DDDD"],(function(e,t,i){i._dayOfYear=G(e)})),F("m",["mm",2],0,"minute"),H("minute","m"),W("minute",14),pe("m",ne),pe("mm",ne,X),be(["m","mm"],4);var di=q("Minutes",!1);F("s",["ss",2],0,"second"),H("second","s"),W("second",15),pe("s",ne),pe("ss",ne,X),be(["s","ss"],5);var hi,ui,mi=q("Seconds",!1);for(F("S",0,0,(function(){return~~(this.millisecond()/100)})),F(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),F(0,["SSS",3],0,"millisecond"),F(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),F(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),F(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),F(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),F(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),F(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),H("millisecond","ms"),W("millisecond",16),pe("S",ae,Z),pe("SS",ae,X),pe("SSS",ae,ee),hi="SSSS";hi.length<=9;hi+="S")pe(hi,ce);function pi(e,t){t[6]=G(1e3*("0."+e))}for(hi="S";hi.length<=9;hi+="S")be(hi,pi);ui=q("Milliseconds",!1),F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");var fi=w.prototype;function gi(e){return e}fi.add=$t,fi.calendar=function(e,t){1===arguments.length&&(Kt(arguments[0])?(e=arguments[0],t=void 0):Jt(arguments[0])&&(t=arguments[0],e=void 0));var i=e||St(),n=Ft(i,this).startOf("day"),r=s.calendarFormat(this,n)||"sameElse",a=t&&(L(t[r])?t[r].call(this,i):t[r]);return this.format(a||this.localeData().calendar(r,this,St(i)))},fi.clone=function(){return new w(this)},fi.diff=function(e,t,i){var n,s,r;if(!this.isValid())return NaN;if(!(n=Ft(e,this)).isValid())return NaN;switch(s=6e4*(n.utcOffset()-this.utcOffset()),t=V(t)){case"year":r=Qt(this,n)/12;break;case"month":r=Qt(this,n);break;case"quarter":r=Qt(this,n)/3;break;case"second":r=(this-n)/1e3;break;case"minute":r=(this-n)/6e4;break;case"hour":r=(this-n)/36e5;break;case"day":r=(this-n-s)/864e5;break;case"week":r=(this-n-s)/6048e5;break;default:r=this-n}return i?r:$(r)},fi.endOf=function(e){var t,i;if(void 0===(e=V(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?ni:ii,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-ti(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-ti(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-ti(t,1e3)-1}return this._d.setTime(t),s.updateOffset(this,!0),this},fi.format=function(e){e||(e=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var t=R(this,e);return this.localeData().postformat(t)},fi.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||St(e).isValid())?Vt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fi.fromNow=function(e){return this.from(St(),e)},fi.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||St(e).isValid())?Vt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},fi.toNow=function(e){return this.to(St(),e)},fi.get=function(e){return L(this[e=V(e)])?this[e]():this},fi.invalidAt=function(){return f(this).overflow},fi.isAfter=function(e,t){var i=k(e)?e:St(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf())},fi.isBefore=function(e,t){var i=k(e)?e:St(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf())},fi.isBetween=function(e,t,i,n){var s=k(e)?e:St(e),r=k(t)?t:St(t);return!!(this.isValid()&&s.isValid()&&r.isValid())&&("("===(n=n||"()")[0]?this.isAfter(s,i):!this.isBefore(s,i))&&(")"===n[1]?this.isBefore(r,i):!this.isAfter(r,i))},fi.isSame=function(e,t){var i,n=k(e)?e:St(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()))},fi.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},fi.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},fi.isValid=function(){return g(this)},fi.lang=Xt,fi.locale=Zt,fi.localeData=ei,fi.max=Dt,fi.min=Mt,fi.parsingFlags=function(){return m({},f(this))},fi.set=function(e,t){if("object"==typeof e){var i,n=function(e){var t,i=[];for(t in e)o(e,t)&&i.push({unit:t,priority:z[t]});return i.sort((function(e,t){return e.priority-t.priority})),i}(e=B(e));for(i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit])}else if(L(this[e=V(e)]))return this[e](t);return this},fi.startOf=function(e){var t,i;if(void 0===(e=V(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?ni:ii,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ti(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=ti(t,6e4);break;case"second":t=this._d.valueOf(),t-=ti(t,1e3)}return this._d.setTime(t),s.updateOffset(this,!0),this},fi.subtract=Gt,fi.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},fi.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},fi.toDate=function(){return new Date(this.valueOf())},fi.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,i=t?this.clone().utc():this;return i.year()<0||i.year()>9999?R(i,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(i,"Z")):R(i,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},fi.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,i="moment",n="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",n="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(fi[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),fi.toJSON=function(){return this.isValid()?this.toISOString():null},fi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},fi.unix=function(){return Math.floor(this.valueOf()/1e3)},fi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},fi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},fi.eraName=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].name;if(n[e].until<=i&&i<=n[e].since)return n[e].name}return""},fi.eraNarrow=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].narrow;if(n[e].until<=i&&i<=n[e].since)return n[e].narrow}return""},fi.eraAbbr=function(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(i=this.startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].abbr;if(n[e].until<=i&&i<=n[e].since)return n[e].abbr}return""},fi.eraYear=function(){var e,t,i,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(i=r[e].since<=r[e].until?1:-1,n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return(this.year()-s(r[e].since).year())*i+r[e].offset;return this.year()},fi.year=Pe,fi.isLeapYear=function(){return U(this.year())},fi.weekYear=function(e){return oi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},fi.isoWeekYear=function(e){return oi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},fi.quarter=fi.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},fi.month=Ae,fi.daysInMonth=function(){return ke(this.year(),this.month())},fi.week=fi.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},fi.isoWeek=fi.isoWeeks=function(e){var t=Ne(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},fi.weeksInYear=function(){var e=this.localeData()._week;return je(this.year(),e.dow,e.doy)},fi.weeksInWeekYear=function(){var e=this.localeData()._week;return je(this.weekYear(),e.dow,e.doy)},fi.isoWeeksInYear=function(){return je(this.year(),1,4)},fi.isoWeeksInISOWeekYear=function(){return je(this.isoWeekYear(),1,4)},fi.date=ci,fi.day=fi.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},fi.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},fi.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},fi.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},fi.hour=fi.hours=Xe,fi.minute=fi.minutes=di,fi.second=fi.seconds=mi,fi.millisecond=fi.milliseconds=ui,fi.utcOffset=function(e,t,i){var n,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Ot(ue,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(n=Rt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?Ut(this,Vt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,s.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:Rt(this)},fi.utc=function(e){return this.utcOffset(0,e)},fi.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Rt(this),"m")),this},fi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ot(he,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},fi.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?St(e).utcOffset():0,(this.utcOffset()-e)%60==0)},fi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},fi.isLocal=function(){return!!this.isValid()&&!this._isUTC},fi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},fi.isUtc=Nt,fi.isUTC=Nt,fi.zoneAbbr=function(){return this._isUTC?"UTC":""},fi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},fi.dates=C("dates accessor is deprecated. Use date instead.",ci),fi.months=C("months accessor is deprecated. Use month instead",Ae),fi.years=C("years accessor is deprecated. Use year instead",Pe),fi.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),fi.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 e,t={};return v(t,this),(t=xt(t))._a?(e=t._isUTC?p(t._a):St(t._a),this._isDSTShifted=this.isValid()&&function(e,t,i){var n,s=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(n=0;n<s;n++)G(e[n])!==G(t[n])&&a++;return a+r}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var _i=A.prototype;function yi(e,t,i,n){var s=lt(),r=p().set(n,t);return s[i](r,e)}function bi(e,t,i){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return yi(e,t,i,"month");var n,s=[];for(n=0;n<12;n++)s[n]=yi(e,n,i,"month");return s}function vi(e,t,i,n){"boolean"==typeof e?(d(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,d(t)&&(i=t,t=void 0),t=t||"");var s,r=lt(),a=e?r._week.dow:0,o=[];if(null!=i)return yi(t,(i+a)%7,n,"day");for(s=0;s<7;s++)o[s]=yi(t,(s+a)%7,n,"day");return o}_i.calendar=function(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return L(n)?n.call(t,i):n},_i.longDateFormat=function(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(I).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},_i.invalidDate=function(){return this._invalidDate},_i.ordinal=function(e){return this._ordinal.replace("%d",e)},_i.preparse=gi,_i.postformat=gi,_i.relativeTime=function(e,t,i,n){var s=this._relativeTime[i];return L(s)?s(e,t,i,n):s.replace(/%d/i,e)},_i.pastFuture=function(e,t){var i=this._relativeTime[e>0?"future":"past"];return L(i)?i(t):i.replace(/%s/i,t)},_i.set=function(e){var t,i;for(i in e)o(e,i)&&(L(t=e[i])?this[i]=t:this["_"+i]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},_i.eras=function(e,t){var i,n,r,a=this._eras||lt("en")._eras;for(i=0,n=a.length;i<n;++i){switch(typeof a[i].since){case"string":r=s(a[i].since).startOf("day"),a[i].since=r.valueOf()}switch(typeof a[i].until){case"undefined":a[i].until=1/0;break;case"string":r=s(a[i].until).startOf("day").valueOf(),a[i].until=r.valueOf()}}return a},_i.erasParse=function(e,t,i){var n,s,r,a,o,l=this.eras();for(e=e.toUpperCase(),n=0,s=l.length;n<s;++n)if(r=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),o=l[n].narrow.toUpperCase(),i)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[n];break;case"NNNN":if(r===e)return l[n];break;case"NNNNN":if(o===e)return l[n]}else if([r,a,o].indexOf(e)>=0)return l[n]},_i.erasConvertYear=function(e,t){var i=e.since<=e.until?1:-1;return void 0===t?s(e.since).year():s(e.since).year()+(t-e.offset)*i},_i.erasAbbrRegex=function(e){return o(this,"_erasAbbrRegex")||ri.call(this),e?this._erasAbbrRegex:this._erasRegex},_i.erasNameRegex=function(e){return o(this,"_erasNameRegex")||ri.call(this),e?this._erasNameRegex:this._erasRegex},_i.erasNarrowRegex=function(e){return o(this,"_erasNarrowRegex")||ri.call(this),e?this._erasNarrowRegex:this._erasRegex},_i.months=function(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Se).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone},_i.monthsShort=function(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Se.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},_i.monthsParse=function(e,t,i){var n,s,r;if(this._monthsParseExact)return Le.call(this,e,t,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=p([2e3,n]),i&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),i||this._monthsParse[n]||(r="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),i&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(i&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!i&&this._monthsParse[n].test(e))return n}},_i.monthsRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Ee.call(this),e?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=De),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},_i.monthsShortRegex=function(e){return this._monthsParseExact?(o(this,"_monthsRegex")||Ee.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Me),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},_i.week=function(e){return Ne(e,this._week.dow,this._week.doy).week},_i.firstDayOfYear=function(){return this._week.doy},_i.firstDayOfWeek=function(){return this._week.dow},_i.weekdays=function(e,t){var i=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?He(i,this._week.dow):e?i[e.day()]:i},_i.weekdaysMin=function(e){return!0===e?He(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},_i.weekdaysShort=function(e){return!0===e?He(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},_i.weekdaysParse=function(e,t,i){var n,s,r;if(this._weekdaysParseExact)return Ge.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=p([2e3,1]).day(n),i&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),i&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(i&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(i&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!i&&this._weekdaysParse[n].test(e))return n}},_i.weekdaysRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=We),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},_i.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ue),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},_i.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$e),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},_i.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},_i.meridiem=function(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"},at("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===G(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),s.lang=C("moment.lang is deprecated. Use moment.locale instead.",at),s.langData=C("moment.langData is deprecated. Use moment.localeData instead.",lt);var wi=Math.abs;function ki(e,t,i,n){var s=Vt(t,i);return e._milliseconds+=n*s._milliseconds,e._days+=n*s._days,e._months+=n*s._months,e._bubble()}function xi(e){return e<0?Math.floor(e):Math.ceil(e)}function Ci(e){return 4800*e/146097}function Si(e){return 146097*e/4800}function Mi(e){return function(){return this.as(e)}}var Di=Mi("ms"),Li=Mi("s"),Ti=Mi("m"),Ai=Mi("h"),Ei=Mi("d"),Ii=Mi("w"),Pi=Mi("M"),Yi=Mi("Q"),Oi=Mi("y");function Fi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ri=Fi("milliseconds"),Ni=Fi("seconds"),ji=Fi("minutes"),Hi=Fi("hours"),Vi=Fi("days"),Bi=Fi("months"),zi=Fi("years"),Wi=Math.round,Ui={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $i(e,t,i,n,s){return s.relativeTime(t||1,!!i,e,n)}var Gi=Math.abs;function qi(e){return(e>0)-(e<0)||+e}function Ki(){if(!this.isValid())return this.localeData().invalidDate();var e,t,i,n,s,r,a,o,l=Gi(this._milliseconds)/1e3,c=Gi(this._days),d=Gi(this._months),h=this.asSeconds();return h?(e=$(l/60),t=$(e/60),l%=60,e%=60,i=$(d/12),d%=12,n=l?l.toFixed(3).replace(/\.?0+$/,""):"",s=h<0?"-":"",r=qi(this._months)!==qi(h)?"-":"",a=qi(this._days)!==qi(h)?"-":"",o=qi(this._milliseconds)!==qi(h)?"-":"",s+"P"+(i?r+i+"Y":"")+(d?r+d+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+n+"S":"")):"P0D"}var Ji=At.prototype;return Ji.isValid=function(){return this._isValid},Ji.abs=function(){var e=this._data;return this._milliseconds=wi(this._milliseconds),this._days=wi(this._days),this._months=wi(this._months),e.milliseconds=wi(e.milliseconds),e.seconds=wi(e.seconds),e.minutes=wi(e.minutes),e.hours=wi(e.hours),e.months=wi(e.months),e.years=wi(e.years),this},Ji.add=function(e,t){return ki(this,e,t,1)},Ji.subtract=function(e,t){return ki(this,e,t,-1)},Ji.as=function(e){if(!this.isValid())return NaN;var t,i,n=this._milliseconds;if("month"===(e=V(e))||"quarter"===e||"year"===e)switch(i=this._months+Ci(t=this._days+n/864e5),e){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(t=this._days+Math.round(Si(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},Ji.asMilliseconds=Di,Ji.asSeconds=Li,Ji.asMinutes=Ti,Ji.asHours=Ai,Ji.asDays=Ei,Ji.asWeeks=Ii,Ji.asMonths=Pi,Ji.asQuarters=Yi,Ji.asYears=Oi,Ji.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},Ji._bubble=function(){var e,t,i,n,s,r=this._milliseconds,a=this._days,o=this._months,l=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*xi(Si(o)+a),a=0,o=0),l.milliseconds=r%1e3,e=$(r/1e3),l.seconds=e%60,t=$(e/60),l.minutes=t%60,i=$(t/60),l.hours=i%24,a+=$(i/24),o+=s=$(Ci(a)),a-=xi(Si(s)),n=$(o/12),o%=12,l.days=a,l.months=o,l.years=n,this},Ji.clone=function(){return Vt(this)},Ji.get=function(e){return e=V(e),this.isValid()?this[e+"s"]():NaN},Ji.milliseconds=Ri,Ji.seconds=Ni,Ji.minutes=ji,Ji.hours=Hi,Ji.days=Vi,Ji.weeks=function(){return $(this.days()/7)},Ji.months=Bi,Ji.years=zi,Ji.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var i,n,s=!1,r=Ui;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(s=e),"object"==typeof t&&(r=Object.assign({},Ui,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),n=function(e,t,i,n){var s=Vt(e).abs(),r=Wi(s.as("s")),a=Wi(s.as("m")),o=Wi(s.as("h")),l=Wi(s.as("d")),c=Wi(s.as("M")),d=Wi(s.as("w")),h=Wi(s.as("y")),u=r<=i.ss&&["s",r]||r<i.s&&["ss",r]||a<=1&&["m"]||a<i.m&&["mm",a]||o<=1&&["h"]||o<i.h&&["hh",o]||l<=1&&["d"]||l<i.d&&["dd",l];return null!=i.w&&(u=u||d<=1&&["w"]||d<i.w&&["ww",d]),(u=u||c<=1&&["M"]||c<i.M&&["MM",c]||h<=1&&["y"]||["yy",h])[2]=t,u[3]=+e>0,u[4]=n,$i.apply(null,u)}(this,!s,r,i=this.localeData()),s&&(n=i.pastFuture(+this,n)),i.postformat(n)},Ji.toISOString=Ki,Ji.toString=Ki,Ji.toJSON=Ki,Ji.locale=Zt,Ji.localeData=ei,Ji.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ki),Ji.lang=Xt,F("X",0,0,"unix"),F("x",0,0,"valueOf"),pe("x",de),pe("X",/[+-]?\d+(\.\d{1,3})?/),be("X",(function(e,t,i){i._d=new Date(1e3*parseFloat(e))})),be("x",(function(e,t,i){i._d=new Date(G(e))})),s.version="2.27.0",t=St,s.fn=fi,s.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},s.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},s.now=function(){return Date.now?Date.now():+new Date},s.utc=p,s.unix=function(e){return St(1e3*e)},s.months=function(e,t){return bi(e,t,"months")},s.isDate=h,s.locale=at,s.invalid=_,s.duration=Vt,s.isMoment=k,s.weekdays=function(e,t,i){return vi(e,t,i,"weekdays")},s.parseZone=function(){return St.apply(null,arguments).parseZone()},s.localeData=lt,s.isDuration=Et,s.monthsShort=function(e,t){return bi(e,t,"monthsShort")},s.weekdaysMin=function(e,t,i){return vi(e,t,i,"weekdaysMin")},s.defineLocale=ot,s.updateLocale=function(e,t){if(null!=t){var i,n,s=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(T(tt[e]._config,t)):(null!=(n=rt(e))&&(s=n._config),t=T(s,t),null==n&&(t.abbr=e),(i=new A(t)).parentLocale=tt[e],tt[e]=i),at(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===at()&&at(e)):null!=tt[e]&&delete tt[e]);return tt[e]},s.locales=function(){return S(tt)},s.weekdaysShort=function(e,t,i){return vi(e,t,i,"weekdaysShort")},s.normalizeUnits=V,s.relativeTimeRounding=function(e){return void 0===e?Wi:"function"==typeof e&&(Wi=e,!0)},s.relativeTimeThreshold=function(e,t){return void 0!==Ui[e]&&(void 0===t?Ui[e]:(Ui[e]=t,"s"===e&&(Ui.ss=t-1),!0))},s.calendarFormat=function(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},s.prototype=fi,s.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"},s}()}).call(this,i("aYSr")(e))},xBDH:function(e,t,i){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,i){var n=100*e+t;return n<600?"\u51cc\u6668":n<900?"\u65e9\u4e0a":n<1130?"\u4e0a\u5348":n<1230?"\u4e2d\u5348":n<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i("wgY5"))},"xD/0":function(e,t,i){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",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}})}(i("wgY5"))},yKzn:function(e,t,i){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wgY5"))},zO4H:function(e,t,i){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(e,i){switch(i){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(i("wgY5"))},zS0P:function(e,t,i){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(i("wgY5"))},zUnb:function(e,t,i){"use strict";function n(e){return"function"==typeof e}i.r(t);let s=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=e},get useDeprecatedSynchronousErrorHandling(){return s}};function a(e){setTimeout(()=>{throw e},0)}const o={closed:!0,next(e){},error(e){if(r.useDeprecatedSynchronousErrorHandling)throw e;a(e)},complete(){}},l=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function c(e){return null!==e&&"object"==typeof e}const d=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let h=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:i,_unsubscribe:s,_subscriptions:r}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,i instanceof e)i.remove(this);else if(null!==i)for(let e=0;e<i.length;++e)i[e].remove(this);if(n(s))try{s.call(this)}catch(a){t=a instanceof d?u(a.errors):[a]}if(l(r)){let e=-1,i=r.length;for(;++e<i;){const i=r[e];if(c(i))try{i.unsubscribe()}catch(a){t=t||[],a instanceof d?t=t.concat(u(a.errors)):t.push(a)}}}if(t)throw new d(t)}add(t){let i=t;if(!t)return e.EMPTY;switch(typeof t){case"function":i=new e(t);case"object":if(i===this||i.closed||"function"!=typeof i.unsubscribe)return i;if(this.closed)return i.unsubscribe(),i;if(!(i instanceof e)){const t=i;i=new e,i._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:n}=i;if(null===n)i._parentOrParents=this;else if(n instanceof e){if(n===this)return i;i._parentOrParents=[n,this]}else{if(-1!==n.indexOf(this))return i;n.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[i]:s.push(i),i}remove(e){const t=this._subscriptions;if(t){const i=t.indexOf(e);-1!==i&&t.splice(i,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function u(e){return e.reduce((e,t)=>e.concat(t instanceof d?t.errors:t),[])}const m=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class p extends h{constructor(e,t,i){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=o;break;case 1:if(!e){this.destination=o;break}if("object"==typeof e){e instanceof p?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new f(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new f(this,e,t,i)}}[m](){return this}static create(e,t,i){const n=new p(e,t,i);return n.syncErrorThrowable=!1,n}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class f extends p{constructor(e,t,i,s){let r;super(),this._parentSubscriber=e;let a=this;n(t)?r=t:t&&(r=t.next,i=t.error,s=t.complete,t!==o&&(a=Object.create(t),n(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=r,this._error=i,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;r.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:i}=r;if(this._error)i&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)i?(t.syncErrorValue=e,t.syncErrorThrown=!0):a(e),this.unsubscribe();else{if(this.unsubscribe(),i)throw e;a(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);r.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(i){if(this.unsubscribe(),r.useDeprecatedSynchronousErrorHandling)throw i;a(i)}}__tryOrSetError(e,t,i){if(!r.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,i)}catch(n){return r.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=n,e.syncErrorThrown=!0,!0):(a(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const g=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function _(e){return e}let y=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const i=new e;return i.source=this,i.operator=t,i}subscribe(e,t,i){const{operator:n}=this,s=function(e,t,i){if(e){if(e instanceof p)return e;if(e[m])return e[m]()}return e||t||i?new p(e,t,i):new p(o)}(e,t,i);if(s.add(n?n.call(s,this.source):this.source||r.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),r.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){r.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:i,isStopped:n}=e;if(t||n)return!1;e=i&&i instanceof p?i:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=b(t))((t,i)=>{let n;n=this.subscribe(t=>{try{e(t)}catch(s){i(s),n&&n.unsubscribe()}},i,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[g](){return this}pipe(...e){return 0===e.length?this:(0===(t=e).length?_:1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)})(this);var t}toPromise(e){return new(e=b(e))((e,t)=>{let i;this.subscribe(e=>i=e,e=>t(e),()=>e(i))})}}return e.create=t=>new e(t),e})();function b(e){if(e||(e=r.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const v=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class w extends h{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const i=t.indexOf(this.subscriber);-1!==i&&t.splice(i,1)}}class k extends p{constructor(e){super(e),this.destination=e}}let x=(()=>{class e extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[m](){return new k(this)}lift(e){const t=new C(this,this);return t.operator=e,t}next(e){if(this.closed)throw new v;if(!this.isStopped){const{observers:t}=this,i=t.length,n=t.slice();for(let s=0;s<i;s++)n[s].next(e)}}error(e){if(this.closed)throw new v;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,i=t.length,n=t.slice();for(let s=0;s<i;s++)n[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new v;this.isStopped=!0;const{observers:e}=this,t=e.length,i=e.slice();for(let n=0;n<t;n++)i[n].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new v;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new v;return this.hasError?(e.error(this.thrownError),h.EMPTY):this.isStopped?(e.complete(),h.EMPTY):(this.observers.push(e),new w(this,e))}asObservable(){const e=new y;return e.source=this,e}}return e.create=(e,t)=>new C(e,t),e})();class C extends x{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):h.EMPTY}}function S(e){return e&&"function"==typeof e.schedule}class M extends p{constructor(e,t,i){super(),this.parent=e,this.outerValue=t,this.outerIndex=i,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const D=e=>t=>{for(let i=0,n=e.length;i<n&&!t.closed;i++)t.next(e[i]);t.complete()};function L(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const T=L(),A=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function E(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const I=e=>{if(e&&"function"==typeof e[g])return n=e,e=>{const t=n[g]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(A(e))return D(e);if(E(e))return i=e,e=>(i.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,a),e);if(e&&"function"==typeof e[T])return t=e,e=>{const i=t[T]();for(;;){const t=i.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof i.return&&e.add(()=>{i.return&&i.return()}),e};{const t=c(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,i,n};function P(e,t,i,n,s=new M(e,i,n)){if(!s.closed)return t instanceof y?t.subscribe(s):I(t)(s)}class Y extends p{notifyNext(e,t,i,n,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}function O(e,t){return function(i){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return i.lift(new F(e,t))}}class F{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new R(e,this.project,this.thisArg))}}class R extends p{constructor(e,t,i){super(e),this.project=t,this.count=0,this.thisArg=i||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}this.destination.next(t)}}function N(e,t){return new y(i=>{const n=new h;let s=0;return n.add(t.schedule((function(){s!==e.length?(i.next(e[s++]),i.closed||n.add(this.schedule())):i.complete()}))),n})}function j(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[g]}(e))return function(e,t){return new y(i=>{const n=new h;return n.add(t.schedule(()=>{const s=e[g]();n.add(s.subscribe({next(e){n.add(t.schedule(()=>i.next(e)))},error(e){n.add(t.schedule(()=>i.error(e)))},complete(){n.add(t.schedule(()=>i.complete()))}}))})),n})}(e,t);if(E(e))return function(e,t){return new y(i=>{const n=new h;return n.add(t.schedule(()=>e.then(e=>{n.add(t.schedule(()=>{i.next(e),n.add(t.schedule(()=>i.complete()))}))},e=>{n.add(t.schedule(()=>i.error(e)))}))),n})}(e,t);if(A(e))return N(e,t);if(function(e){return e&&"function"==typeof e[T]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new y(i=>{const n=new h;let s;return n.add(()=>{s&&"function"==typeof s.return&&s.return()}),n.add(t.schedule(()=>{s=e[T](),n.add(t.schedule((function(){if(i.closed)return;let e,t;try{const i=s.next();e=i.value,t=i.done}catch(n){return void i.error(n)}t?i.complete():(i.next(e),this.schedule())})))})),n})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof y?e:new y(I(e))}function H(e,t,i=Number.POSITIVE_INFINITY){return"function"==typeof t?n=>n.pipe(H((i,n)=>j(e(i,n)).pipe(O((e,s)=>t(i,e,n,s))),i)):("number"==typeof t&&(i=t),t=>t.lift(new V(e,i)))}class V{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new B(e,this.project,this.concurrent))}}class B extends Y{constructor(e,t,i=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const i=this.index++;try{t=this.project(e,i)}catch(n){return void this.destination.error(n)}this.active++,this._innerSub(t,e,i)}_innerSub(e,t,i){const n=new M(this,t,i),s=this.destination;s.add(n);const r=P(this,e,void 0,void 0,n);r!==n&&s.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,i,n,s){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function z(e=Number.POSITIVE_INFINITY){return H(_,e)}function W(e,t){return t?N(e,t):new y(D(e))}function U(...e){let t=Number.POSITIVE_INFINITY,i=null,n=e[e.length-1];return S(n)?(i=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof n&&(t=e.pop()),null===i&&1===e.length&&e[0]instanceof y?e[0]:z(t)(W(e,i))}function $(){return function(e){return e.lift(new G(e))}}class G{constructor(e){this.connectable=e}call(e,t){const{connectable:i}=this;i._refCount++;const n=new q(e,i),s=t.subscribe(n);return n.closed||(n.connection=i.connect()),s}}class q extends p{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:i}=this,n=e._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}class K extends y{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new h,e.add(this.source.subscribe(new Q(this.getSubject(),this))),e.closed&&(this._connection=null,e=h.EMPTY)),e}refCount(){return $()(this)}}const J=(()=>{const e=K.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class Q extends k{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function Z(){return new x}function X(){return e=>{return $()((t=Z,function(e){let i;i="function"==typeof t?t:function(){return t};const n=Object.create(e,J);return n.source=e,n.subjectFactory=i,n})(e));var t}}function ee(e){return{toString:e}.toString()}function te(e,t,i){return ee(()=>{const n=function(e){return function(...t){if(e){const i=e(...t);for(const e in i)this[e]=i[e]}}}(t);function s(...e){if(this instanceof s)return n.apply(this,e),this;const t=new s(...e);return i.annotation=t,i;function i(e,i,n){const s=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;s.length<=n;)s.push(null);return(s[n]=s[n]||[]).push(t),e}}return i&&(s.prototype=Object.create(i.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const ie=te("Inject",e=>({token:e})),ne=te("Optional"),se=te("Self"),re=te("SkipSelf");var ae=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function oe(e){for(let t in e)if(e[t]===oe)return t;throw Error("Could not find renamed property on target object.")}function le(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function ce(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function de(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function he(e){return ue(e,e[pe])||ue(e,e[_e])}function ue(e,t){return t&&t.token===e?t:null}function me(e){return e&&(e.hasOwnProperty(fe)||e.hasOwnProperty(ye))?e[fe]:null}const pe=oe({\u0275prov:oe}),fe=oe({\u0275inj:oe}),ge=oe({\u0275provFallback:oe}),_e=oe({ngInjectableDef:oe}),ye=oe({ngInjectorDef:oe});function be(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(be).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function ve(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const we=oe({__forward_ref__:oe});function ke(e){return e.__forward_ref__=ke,e.toString=function(){return be(this())},e}function xe(e){return Ce(e)?e():e}function Ce(e){return"function"==typeof e&&e.hasOwnProperty(we)&&e.__forward_ref__===ke}const Se="undefined"!=typeof globalThis&&globalThis,Me="undefined"!=typeof window&&window,De="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Le="undefined"!=typeof global&&global,Te=Se||Le||Me||De,Ae=oe({\u0275cmp:oe}),Ee=oe({\u0275dir:oe}),Ie=oe({\u0275pipe:oe}),Pe=oe({\u0275mod:oe}),Ye=oe({\u0275loc:oe}),Oe=oe({\u0275fac:oe}),Fe=oe({__NG_ELEMENT_ID__:oe});class Re{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=ce({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const Ne=new Re("INJECTOR",-1),je={},He=/\n/gm,Ve=oe({provide:String,useValue:oe});let Be,ze=void 0;function We(e){const t=ze;return ze=e,t}function Ue(e){const t=Be;return Be=e,t}function $e(e,t=ae.Default){if(void 0===ze)throw new Error("inject() must be called from an injection context");return null===ze?Ke(e,void 0,t):ze.get(e,t&ae.Optional?null:void 0,t)}function Ge(e,t=ae.Default){return(Be||$e)(xe(e),t)}const qe=Ge;function Ke(e,t,i){const n=he(e);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(i&ae.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${be(e)}]`)}function Je(e){const t=[];for(let i=0;i<e.length;i++){const n=xe(e[i]);if(Array.isArray(n)){if(0===n.length)throw new Error("Arguments array must have arguments.");let e=void 0,i=ae.Default;for(let t=0;t<n.length;t++){const s=n[t];s instanceof ne||"Optional"===s.ngMetadataName||s===ne?i|=ae.Optional:s instanceof re||"SkipSelf"===s.ngMetadataName||s===re?i|=ae.SkipSelf:s instanceof se||"Self"===s.ngMetadataName||s===se?i|=ae.Self:e=s instanceof ie||s===ie?s.token:s}t.push(Ge(e,i))}else t.push(Ge(n))}return t}class Qe{get(e,t=je){if(t===je){const t=new Error(`NullInjectorError: No provider for ${be(e)}!`);throw t.name="NullInjectorError",t}return t}}class Ze{}class Xe{}function et(e,t){e.forEach(e=>Array.isArray(e)?et(e,t):t(e))}function tt(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function it(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function nt(e,t){const i=[];for(let n=0;n<e;n++)i.push(t);return i}function st(e,t,i){let n=at(e,t);return n>=0?e[1|n]=i:(n=~n,function(e,t,i,n){let s=e.length;if(s==t)e.push(i,n);else if(1===s)e.push(n,e[0]),e[0]=i;else{for(s--,e.push(e[s-1],e[s]);s>t;)e[s]=e[s-2],s--;e[t]=i,e[t+1]=n}}(e,n,t,i)),n}function rt(e,t){const i=at(e,t);if(i>=0)return e[1|i]}function at(e,t){return function(e,t,i){let n=0,s=e.length>>1;for(;s!==n;){const i=n+(s-n>>1),r=e[i<<1];if(t===r)return i<<1;r>t?s=i:n=i+1}return~(s<<1)}(e,t)}var ot=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),lt=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({});const ct={},dt=[];let ht=0;function ut(e){return ee(()=>{const t={},i={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ot.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||dt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||lt.Emulated,id:"c",styles:e.styles||dt,_:null,setInput:null,schemas:e.schemas||null,tView:null},n=e.directives,s=e.features,r=e.pipes;return i.id+=ht++,i.inputs=_t(e.inputs,t),i.outputs=_t(e.outputs),s&&s.forEach(e=>e(i)),i.directiveDefs=n?()=>("function"==typeof n?n():n).map(mt):null,i.pipeDefs=r?()=>("function"==typeof r?r():r).map(pt):null,i})}function mt(e){return vt(e)||function(e){return e[Ee]||null}(e)}function pt(e){return function(e){return e[Ie]||null}(e)}const ft={};function gt(e){const t={type:e.type,bootstrap:e.bootstrap||dt,declarations:e.declarations||dt,imports:e.imports||dt,exports:e.exports||dt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&ee(()=>{ft[e.id]=e.type}),t}function _t(e,t){if(null==e)return ct;const i={};for(const n in e)if(e.hasOwnProperty(n)){let s=e[n],r=s;Array.isArray(s)&&(r=s[1],s=s[0]),i[s]=n,t&&(t[s]=r)}return i}const yt=ut;function bt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function vt(e){return e[Ae]||null}function wt(e,t){return e.hasOwnProperty(Oe)?e[Oe]:null}function kt(e,t){const i=e[Pe]||null;if(!i&&!0===t)throw new Error(`Type ${be(e)} does not have '\u0275mod' property.`);return i}function xt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ct(e){return Array.isArray(e)&&!0===e[1]}function St(e){return 0!=(8&e.flags)}function Mt(e){return 2==(2&e.flags)}function Dt(e){return 1==(1&e.flags)}function Lt(e){return null!==e.template}function Tt(e){return 0!=(512&e[2])}class At{constructor(e,t,i){this.previousValue=e,this.currentValue=t,this.firstChange=i}isFirstChange(){return this.firstChange}}function Et(){return It}function It(e){return e.type.prototype.ngOnChanges&&(e.setInput=Yt),Pt}function Pt(){const e=Ot(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===ct)e.previous=t;else for(let e in t)i[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Yt(e,t,i,n){const s=Ot(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:ct,current:null}),r=s.current||(s.current={}),a=s.previous,o=this.declaredInputs[i],l=a[o];r[o]=new At(l&&l.currentValue,t,a===ct),e[n]=t}function Ot(e){return e.__ngSimpleChanges__||null}Et.ngInherit=!0;let Ft=void 0;function Rt(){return void 0!==Ft?Ft:"undefined"!=typeof document?document:void 0}function Nt(e){return!!e.listen}const jt={createRenderer:(e,t)=>Rt()};function Ht(e){for(;Array.isArray(e);)e=e[0];return e}function Vt(e,t){return Ht(t[e+20])}function Bt(e,t){return Ht(t[e.index])}function zt(e,t){return e.data[t+20]}function Wt(e,t){return e[t+20]}function Ut(e,t){const i=t[e];return xt(i)?i:i[0]}function $t(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Gt(e){return 4==(4&e[2])}function qt(e){return 128==(128&e[2])}function Kt(e,t){return null===e||null==t?null:e[t]}function Jt(e){e[18]=0}function Qt(e,t){e[5]+=t;let i=e,n=e[3];for(;null!==n&&(1===t&&1===i[5]||-1===t&&0===i[5]);)n[5]+=t,i=n,n=n[3]}const Zt={lFrame:wi(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Xt(){return Zt.bindingsEnabled}function ei(){return Zt.lFrame.lView}function ti(){return Zt.lFrame.tView}function ii(e){Zt.lFrame.contextLView=e}function ni(){return Zt.lFrame.previousOrParentTNode}function si(e,t){Zt.lFrame.previousOrParentTNode=e,Zt.lFrame.isParent=t}function ri(){return Zt.lFrame.isParent}function ai(){Zt.lFrame.isParent=!1}function oi(){return Zt.checkNoChangesMode}function li(e){Zt.checkNoChangesMode=e}function ci(){const e=Zt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function di(){return Zt.lFrame.bindingIndex}function hi(){return Zt.lFrame.bindingIndex++}function ui(e){const t=Zt.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function mi(e,t){const i=Zt.lFrame;i.bindingIndex=i.bindingRootIndex=e,pi(t)}function pi(e){Zt.lFrame.currentDirectiveIndex=e}function fi(e){const t=Zt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function gi(){return Zt.lFrame.currentQueryIndex}function _i(e){Zt.lFrame.currentQueryIndex=e}function yi(e,t){const i=vi();Zt.lFrame=i,i.previousOrParentTNode=t,i.lView=e}function bi(e,t){const i=vi(),n=e[1];Zt.lFrame=i,i.previousOrParentTNode=t,i.lView=e,i.tView=n,i.contextLView=e,i.bindingIndex=n.bindingStartIndex}function vi(){const e=Zt.lFrame,t=null===e?null:e.child;return null===t?wi(e):t}function wi(e){const t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function ki(){const e=Zt.lFrame;return Zt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}const xi=ki;function Ci(){const e=ki();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Si(){return Zt.lFrame.selectedIndex}function Mi(e){Zt.lFrame.selectedIndex=e}function Di(){const e=Zt.lFrame;return zt(e.tView,e.selectedIndex)}function Li(){Zt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Ti(){Zt.lFrame.currentNamespace=null}function Ai(e,t){for(let i=t.directiveStart,n=t.directiveEnd;i<n;i++){const t=e.data[i].type.prototype,{ngAfterContentInit:n,ngAfterContentChecked:s,ngAfterViewInit:r,ngAfterViewChecked:a,ngOnDestroy:o}=t;n&&(e.contentHooks||(e.contentHooks=[])).push(-i,n),s&&((e.contentHooks||(e.contentHooks=[])).push(i,s),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(i,s)),r&&(e.viewHooks||(e.viewHooks=[])).push(-i,r),a&&((e.viewHooks||(e.viewHooks=[])).push(i,a),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(i,a)),null!=o&&(e.destroyHooks||(e.destroyHooks=[])).push(i,o)}}function Ei(e,t,i){Yi(e,t,3,i)}function Ii(e,t,i,n){(3&e[2])===i&&Yi(e,t,i,n)}function Pi(e,t){let i=e[2];(3&i)===t&&(i&=2047,i+=1,e[2]=i)}function Yi(e,t,i,n){const s=null!=n?n:-1;let r=0;for(let a=void 0!==n?65535&e[18]:0;a<t.length;a++)if("number"==typeof t[a+1]){if(r=t[a],null!=n&&r>=n)break}else t[a]<0&&(e[18]+=65536),(r<s||-1==s)&&(Oi(e,i,t,a),e[18]=(4294901760&e[18])+a+2),a++}function Oi(e,t,i,n){const s=i[n]<0,r=i[n+1],a=e[s?-i[n]:i[n]];s?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,r.call(a)):r.call(a)}class Fi{constructor(e,t,i){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=i}}function Ri(e,t,i){const n=Nt(e);let s=0;for(;s<i.length;){const r=i[s];if("number"==typeof r){if(0!==r)break;s++;const a=i[s++],o=i[s++],l=i[s++];n?e.setAttribute(t,o,l,a):t.setAttributeNS(a,o,l)}else{const a=r,o=i[++s];ji(a)?n&&e.setProperty(t,a,o):n?e.setAttribute(t,a,o):t.setAttribute(a,o),s++}}return s}function Ni(e){return 3===e||4===e||6===e}function ji(e){return 64===e.charCodeAt(0)}function Hi(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let i=-1;for(let n=0;n<t.length;n++){const s=t[n];"number"==typeof s?i=s:0===i||Vi(e,i,s,null,-1===i||2===i?t[++n]:null)}}return e}function Vi(e,t,i,n,s){let r=0,a=e.length;if(-1===t)a=-1;else for(;r<e.length;){const i=e[r++];if("number"==typeof i){if(i===t){a=-1;break}if(i>t){a=r-1;break}}}for(;r<e.length;){const t=e[r];if("number"==typeof t)break;if(t===i){if(null===n)return void(null!==s&&(e[r+1]=s));if(n===e[r+1])return void(e[r+2]=s)}r++,null!==n&&r++,null!==s&&r++}-1!==a&&(e.splice(a,0,t),r=a+1),e.splice(r++,0,i),null!==n&&e.splice(r++,0,n),null!==s&&e.splice(r++,0,s)}function Bi(e){return-1!==e}function zi(e){return 32767&e}function Wi(e){return e>>16}function Ui(e,t){let i=Wi(e),n=t;for(;i>0;)n=n[15],i--;return n}function $i(e){return"string"==typeof e?e:null==e?"":""+e}function Gi(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():$i(e)}const qi=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Te))();function Ki(e){return{name:"body",target:e.ownerDocument.body}}function Ji(e){return e instanceof Function?e():e}let Qi=!0;function Zi(e){const t=Qi;return Qi=e,t}let Xi=0;function en(e,t){const i=nn(e,t);if(-1!==i)return i;const n=t[1];n.firstCreatePass&&(e.injectorIndex=t.length,tn(n.data,e),tn(t,null),tn(n.blueprint,null));const s=sn(e,t),r=e.injectorIndex;if(Bi(s)){const e=zi(s),i=Ui(s,t),n=i[1].data;for(let s=0;s<8;s++)t[r+s]=i[e+s]|n[e+s]}return t[r+8]=s,r}function tn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function nn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function sn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=t[6],n=1;for(;i&&-1===i.injectorIndex;)i=(t=t[15])?t[6]:null,n++;return i?i.injectorIndex|n<<16:-1}function rn(e,t,i){!function(e,t,i){let n;"string"==typeof i?n=i.charCodeAt(0)||0:i.hasOwnProperty(Fe)&&(n=i[Fe]),null==n&&(n=i[Fe]=Xi++);const s=255&n,r=1<<s,a=64&s,o=32&s,l=t.data;128&s?a?o?l[e+7]|=r:l[e+6]|=r:o?l[e+5]|=r:l[e+4]|=r:a?o?l[e+3]|=r:l[e+2]|=r:o?l[e+1]|=r:l[e]|=r}(e,t,i)}function an(e,t,i,n=ae.Default,s){if(null!==e){const s=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Fe)?e[Fe]:void 0;return"number"==typeof t&&t>0?255&t:t}(i);if("function"==typeof s){yi(t,e);try{const e=s();if(null!=e||n&ae.Optional)return e;throw new Error(`No provider for ${Gi(i)}!`)}finally{xi()}}else if("number"==typeof s){if(-1===s)return new mn(e,t);let r=null,a=nn(e,t),o=-1,l=n&ae.Host?t[16][6]:null;for((-1===a||n&ae.SkipSelf)&&(o=-1===a?sn(e,t):t[a+8],un(n,!1)?(r=t[1],a=zi(o),t=Ui(o,t)):a=-1);-1!==a;){o=t[a+8];const e=t[1];if(hn(s,a,e.data)){const e=ln(a,t,i,r,n,l);if(e!==on)return e}un(n,t[1].data[a+8]===l)&&hn(s,a,t)?(r=e,a=zi(o),t=Ui(o,t)):a=-1}}}if(n&ae.Optional&&void 0===s&&(s=null),0==(n&(ae.Self|ae.Host))){const e=t[9],r=Ue(void 0);try{return e?e.get(i,s,n&ae.Optional):Ke(i,s,n&ae.Optional)}finally{Ue(r)}}if(n&ae.Optional)return s;throw new Error(`NodeInjector: NOT_FOUND [${Gi(i)}]`)}const on={};function ln(e,t,i,n,s,r){const a=t[1],o=a.data[e+8],l=cn(o,a,i,null==n?Mt(o)&&Qi:n!=a&&3===o.type,s&ae.Host&&r===o);return null!==l?dn(t,a,l,o):on}function cn(e,t,i,n,s){const r=e.providerIndexes,a=t.data,o=1048575&r,l=e.directiveStart,c=r>>20,d=s?o+c:e.directiveEnd;for(let h=n?o:o+c;h<d;h++){const e=a[h];if(h<l&&i===e||h>=l&&e.type===i)return h}if(s){const e=a[l];if(e&&Lt(e)&&e.type===i)return l}return null}function dn(e,t,i,n){let s=e[i];const r=t.data;if(s instanceof Fi){const a=s;if(a.resolving)throw new Error("Circular dep for "+Gi(r[i]));const o=Zi(a.canSeeViewProviders);let l;a.resolving=!0,a.injectImpl&&(l=Ue(a.injectImpl)),yi(e,n);try{s=e[i]=a.factory(void 0,r,e,n),t.firstCreatePass&&i>=n.directiveStart&&function(e,t,i){const{ngOnChanges:n,ngOnInit:s,ngDoCheck:r}=t.type.prototype;if(n){const n=It(t);(i.preOrderHooks||(i.preOrderHooks=[])).push(e,n),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,n)}s&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-e,s),r&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,r),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,r))}(i,r[i],t)}finally{a.injectImpl&&Ue(l),Zi(o),a.resolving=!1,xi()}}return s}function hn(e,t,i){const n=64&e,s=32&e;let r;return r=128&e?n?s?i[t+7]:i[t+6]:s?i[t+5]:i[t+4]:n?s?i[t+3]:i[t+2]:s?i[t+1]:i[t],!!(r&1<<e)}function un(e,t){return!(e&ae.Self||e&ae.Host&&t)}class mn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return an(this._tNode,this._lView,e,void 0,t)}}function pn(e){const t=e;if(Ce(e))return()=>{const e=pn(xe(t));return e?e():null};let i=wt(t);if(null===i){const e=me(t);i=e&&e.factory}return i||null}function fn(e){return ee(()=>{const t=e.prototype.constructor,i=t[Oe]||pn(t),n=Object.prototype;let s=Object.getPrototypeOf(e.prototype).constructor;for(;s&&s!==n;){const e=s[Oe]||pn(s);if(e&&e!==i)return e;s=Object.getPrototypeOf(s)}return e=>new e})}function gn(e){return e.ngDebugContext}function _n(e){return e.ngOriginalError}function yn(e,...t){e.error(...t)}class bn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),i=this._findContext(e),n=function(e){return e.ngErrorLogger||yn}(e);n(this._console,"ERROR",e),t&&n(this._console,"ORIGINAL ERROR",t),i&&n(this._console,"ERROR CONTEXT",i)}_findContext(e){return e?gn(e)?gn(e):this._findContext(_n(e)):null}_findOriginalError(e){let t=_n(e);for(;t&&_n(t);)t=_n(t);return t}}class vn{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class wn extends vn{getTypeName(){return"HTML"}}class kn extends vn{getTypeName(){return"Style"}}class xn extends vn{getTypeName(){return"Script"}}class Cn extends vn{getTypeName(){return"URL"}}class Sn extends vn{getTypeName(){return"ResourceURL"}}function Mn(e){return e instanceof vn?e.changingThisBreaksApplicationSecurity:e}function Dn(e,t){const i=Ln(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see http://g.co/ng/security#xss)`)}return i===t}function Ln(e){return e instanceof vn&&e.getTypeName()||null}let Tn=!0,An=!1;function En(){return An=!0,Tn}class In{getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}}class Pn{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const t=this.inertDocument.createElement("body");e.appendChild(t)}}getInertBodyElement(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const i=this.inertDocument.createElement("body");return i.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(e){const t=e.attributes;for(let n=t.length-1;0<n;n--){const i=t.item(n).name;"xmlns:ns1"!==i&&0!==i.indexOf("ns1:")||e.removeAttribute(i)}let i=e.firstChild;for(;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}const Yn=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,On=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Fn(e){return(e=String(e)).match(Yn)||e.match(On)?e:(En()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function Rn(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function Nn(...e){const t={};for(const i of e)for(const e in i)i.hasOwnProperty(e)&&(t[e]=!0);return t}const jn=Rn("area,br,col,hr,img,wbr"),Hn=Rn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Vn=Rn("rp,rt"),Bn=Nn(Vn,Hn),zn=Nn(jn,Nn(Hn,Rn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Nn(Vn,Rn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Bn),Wn=Rn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Un=Rn("srcset"),$n=Nn(Wn,Un,Rn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Rn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Gn=Rn("script,style,template");class qn{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,i=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?i=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,i&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!zn.hasOwnProperty(t))return this.sanitizedSomething=!0,!Gn.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const i=e.attributes;for(let s=0;s<i.length;s++){const e=i.item(s),t=e.name,r=t.toLowerCase();if(!$n.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let a=e.value;Wn[r]&&(a=Fn(a)),Un[r]&&(n=a,a=(n=String(n)).split(",").map(e=>Fn(e.trim())).join(", ")),this.buf.push(" ",t,'="',Qn(a),'"')}var n;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();zn.hasOwnProperty(t)&&!jn.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Qn(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}const Kn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Jn=/([^\#-~ |!])/g;function Qn(e){return e.replace(/&/g,"&").replace(Kn,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Jn,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let Zn;function Xn(e,t){let i=null;try{Zn=Zn||function(e){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(e){return!1}}()?new In:new Pn(e)}(e);let n=t?String(t):"";i=Zn.getInertBodyElement(n);let s=5,r=n;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,n=r,r=i.innerHTML,i=Zn.getInertBodyElement(n)}while(n!==r);const a=new qn,o=a.sanitizeChildren(es(i)||i);return En()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),o}finally{if(i){const e=es(i)||i;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function es(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ts=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function is(e){const t=ss();return t?t.sanitize(ts.HTML,e)||"":Dn(e,"HTML")?Mn(e):Xn(Rt(),$i(e))}function ns(e){const t=ss();return t?t.sanitize(ts.URL,e)||"":Dn(e,"URL")?Mn(e):Fn($i(e))}function ss(){const e=ei();return e&&e[12]}function rs(e,t){e.__ngContext__=t}function as(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function os(){throw new Error("Cannot mix multi providers and regular providers")}function ls(e,t,i){let n=e.length;for(;;){const s=e.indexOf(t,i);if(-1===s)return s;if(0===s||e.charCodeAt(s-1)<=32){const i=t.length;if(s+i===n||e.charCodeAt(s+i)<=32)return s}i=s+1}}function cs(e,t,i){let n=0;for(;n<e.length;){let s=e[n++];if(i&&"class"===s){if(s=e[n],-1!==ls(s.toLowerCase(),t,0))return!0}else if(1===s){for(;n<e.length&&"string"==typeof(s=e[n++]);)if(s.toLowerCase()===t)return!0;return!1}}return!1}function ds(e){return 0===e.type&&"ng-template"!==e.tagName}function hs(e,t,i){return t===(0!==e.type||i?e.tagName:"ng-template")}function us(e,t,i){let n=4;const s=e.attrs||[],r=function(e){for(let t=0;t<e.length;t++)if(Ni(e[t]))return t;return e.length}(s);let a=!1;for(let o=0;o<t.length;o++){const l=t[o];if("number"!=typeof l){if(!a)if(4&n){if(n=2|1&n,""!==l&&!hs(e,l,i)||""===l&&1===t.length){if(ms(n))return!1;a=!0}}else{const c=8&n?l:t[++o];if(8&n&&null!==e.attrs){if(!cs(e.attrs,c,i)){if(ms(n))return!1;a=!0}continue}const d=ps(8&n?"class":l,s,ds(e),i);if(-1===d){if(ms(n))return!1;a=!0;continue}if(""!==c){let e;e=d>r?"":s[d+1].toLowerCase();const t=8&n?e:null;if(t&&-1!==ls(t,c,0)||2&n&&c!==e){if(ms(n))return!1;a=!0}}}}else{if(!a&&!ms(n)&&!ms(l))return!1;if(a&&ms(l))continue;a=!1,n=l|1&n}}return ms(n)||a}function ms(e){return 0==(1&e)}function ps(e,t,i,n){if(null===t)return-1;let s=0;if(n||!i){let i=!1;for(;s<t.length;){const n=t[s];if(n===e)return s;if(3===n||6===n)i=!0;else{if(1===n||2===n){let e=t[++s];for(;"string"==typeof e;)e=t[++s];continue}if(4===n)break;if(0===n){s+=4;continue}}s+=i?1:2}return-1}return function(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){const n=e[i];if("number"==typeof n)return-1;if(n===t)return i;i++}return-1}(t,e)}function fs(e,t,i=!1){for(let n=0;n<t.length;n++)if(us(e,t[n],i))return!0;return!1}function gs(e,t){e:for(let i=0;i<t.length;i++){const n=t[i];if(e.length===n.length){for(let t=0;t<e.length;t++)if(e[t]!==n[t])continue e;return!0}}return!1}function _s(e,t){return e?":not("+t.trim()+")":t}function ys(e){let t=e[0],i=1,n=2,s="",r=!1;for(;i<e.length;){let a=e[i];if("string"==typeof a)if(2&n){const t=e[++i];s+="["+a+(t.length>0?'="'+t+'"':"")+"]"}else 8&n?s+="."+a:4&n&&(s+=" "+a);else""===s||ms(a)||(t+=_s(r,s),s=""),n=a,r=r||!ms(n);i++}return""!==s&&(t+=_s(r,s)),t}const bs={};function vs(e){const t=e[3];return Ct(t)?t[3]:t}function ws(e){return xs(e[13])}function ks(e){return xs(e[4])}function xs(e){for(;null!==e&&!Ct(e);)e=e[4];return e}function Cs(e){Ss(ti(),ei(),Si()+e,oi())}function Ss(e,t,i,n){if(!n)if(3==(3&t[2])){const n=e.preOrderCheckHooks;null!==n&&Ei(t,n,i)}else{const n=e.preOrderHooks;null!==n&&Ii(t,n,0,i)}Mi(i)}function Ms(e,t){return e<<17|t<<2}function Ds(e){return e>>17&32767}function Ls(e){return 2|e}function Ts(e){return(131068&e)>>2}function As(e,t){return-131069&e|t<<2}function Es(e){return 1|e}function Is(e,t){const i=e.contentQueries;if(null!==i)for(let n=0;n<i.length;n+=2){const s=i[n],r=i[n+1];if(-1!==r){const i=e.data[r];_i(s),i.contentQueries(2,t[r],r)}}}function Ps(e,t,i){return Nt(t)?t.createElement(e,i):null===i?t.createElement(e):t.createElementNS(i,e)}function Ys(e,t,i,n,s,r,a,o,l,c){const d=t.blueprint.slice();return d[0]=s,d[2]=140|n,Jt(d),d[3]=d[15]=e,d[8]=i,d[10]=a||e&&e[10],d[11]=o||e&&e[11],d[12]=l||e&&e[12]||null,d[9]=c||e&&e[9]||null,d[6]=r,d[16]=2==t.type?e[16]:d,d}function Os(e,t,i,n,s,r){const a=i+20,o=e.data[a]||function(e,t,i,n,s,r){const a=ni(),o=ri(),l=o?a:a&&a.parent,c=e.data[i]=$s(0,l&&l!==t?l:null,n,i,s,r);return null===e.firstChild&&(e.firstChild=c),a&&(!o||null!=a.child||null===c.parent&&2!==a.type?o||(a.next=c):a.child=c),c}(e,t,a,n,s,r);return si(o,!0),o}function Fs(e,t,i){bi(t,t[6]);try{const n=e.viewQuery;null!==n&&pr(1,n,i);const s=e.template;null!==s&&js(e,t,s,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Is(e,t),e.staticViewQueries&&pr(2,e.viewQuery,i);const r=e.components;null!==r&&function(e,t){for(let i=0;i<t.length;i++)cr(e,t[i])}(t,r)}catch(n){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),n}finally{t[2]&=-5,Ci()}}function Rs(e,t,i,n){const s=t[2];if(256==(256&s))return;bi(t,t[6]);const r=oi();try{Jt(t),Zt.lFrame.bindingIndex=e.bindingStartIndex,null!==i&&js(e,t,i,2,n);const a=3==(3&s);if(!r)if(a){const i=e.preOrderCheckHooks;null!==i&&Ei(t,i,null)}else{const i=e.preOrderHooks;null!==i&&Ii(t,i,0,null),Pi(t,0)}if(function(e){for(let t=ws(e);null!==t;t=ks(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const i=e[t],n=i[3];0==(1024&i[2])&&Qt(n,1),i[2]|=1024}}}(t),function(e){for(let t=ws(e);null!==t;t=ks(t))for(let e=10;e<t.length;e++){const i=t[e],n=i[1];qt(i)&&Rs(n,i,n.template,i[8])}}(t),null!==e.contentQueries&&Is(e,t),!r)if(a){const i=e.contentCheckHooks;null!==i&&Ei(t,i)}else{const i=e.contentHooks;null!==i&&Ii(t,i,1),Pi(t,1)}!function(e,t){try{const i=e.expandoInstructions;if(null!==i){let n=e.expandoStartIndex,s=-1,r=-1;for(let e=0;e<i.length;e++){const a=i[e];"number"==typeof a?a<=0?(r=0-a,Mi(r),n+=9+i[++e],s=n):n+=a:(null!==a&&(mi(n,s),a(2,t[s])),s++)}}}finally{Mi(-1)}}(e,t);const o=e.components;null!==o&&function(e,t){for(let i=0;i<t.length;i++)lr(e,t[i])}(t,o);const l=e.viewQuery;if(null!==l&&pr(2,l,n),!r)if(a){const i=e.viewCheckHooks;null!==i&&Ei(t,i)}else{const i=e.viewHooks;null!==i&&Ii(t,i,2),Pi(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),r||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Qt(t[3],-1))}finally{Ci()}}function Ns(e,t,i,n){const s=t[10],r=!oi(),a=Gt(t);try{r&&!a&&s.begin&&s.begin(),a&&Fs(e,t,n),Rs(e,t,i,n)}finally{r&&!a&&s.end&&s.end()}}function js(e,t,i,n,s){const r=Si();try{Mi(-1),2&n&&t.length>20&&Ss(e,t,0,oi()),i(n,s)}finally{Mi(r)}}function Hs(e,t,i){if(St(t)){const n=t.directiveEnd;for(let s=t.directiveStart;s<n;s++){const t=e.data[s];t.contentQueries&&t.contentQueries(1,i[s],s)}}}function Vs(e,t,i){Xt()&&(function(e,t,i,n){const s=i.directiveStart,r=i.directiveEnd;e.firstCreatePass||en(i,t),rs(n,t);const a=i.initialInputs;for(let o=s;o<r;o++){const n=e.data[o],r=Lt(n);r&&sr(t,i,n);const l=dn(t,e,o,i);rs(l,t),null!==a&&rr(0,o-s,l,n,0,a),r&&(Ut(i.index,t)[8]=l)}}(e,t,i,Bt(i,t)),128==(128&i.flags)&&function(e,t,i){const n=i.directiveStart,s=i.directiveEnd,r=e.expandoInstructions,a=e.firstCreatePass,o=i.index-20,l=Zt.lFrame.currentDirectiveIndex;try{Mi(o);for(let i=n;i<s;i++){const n=e.data[i],s=t[i];pi(i),null!==n.hostBindings||0!==n.hostVars||null!==n.hostAttrs?Zs(n,s):a&&r.push(null)}}finally{Mi(-1),pi(l)}}(e,t,i))}function Bs(e,t,i=Bt){const n=t.localNames;if(null!==n){let s=t.index+1;for(let r=0;r<n.length;r+=2){const a=n[r+1],o=-1===a?i(t,e):e[a];e[s++]=o}}}function zs(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ws(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Ws(e,t,i,n,s,r,a,o,l,c){const d=20+n,h=d+s,u=function(e,t){const i=[];for(let n=0;n<t;n++)i.push(n<e?null:bs);return i}(d,h);return u[1]={type:e,id:t,blueprint:u,template:i,queries:null,viewQuery:o,node:null,data:u.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:l,consts:c,incompleteFirstPass:!1}}function Us(e,t,i,n){const s=gr(t);s.push(i),e.firstCreatePass&&function(e){return e.cleanup||(e.cleanup=[])}(e).push(n,s.length-1)}function $s(e,t,i,n,s,r){return{type:i,index:n,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:s,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Gs(e,t,i){for(let n in e)if(e.hasOwnProperty(n)){const s=e[n];(i=null===i?{}:i).hasOwnProperty(n)?i[n].push(t,s):i[n]=[t,s]}return i}function qs(e,t,i,n,s,r,a,o){const l=Bt(t,i);let c,d=t.inputs;var h;!o&&null!=d&&(c=d[n])?(br(e,i,c,n,s),Mt(t)&&function(e,t){const i=Ut(t,e);16&i[2]||(i[2]|=64)}(i,t.index)):3===t.type&&(n="class"===(h=n)?"className":"for"===h?"htmlFor":"formaction"===h?"formAction":"innerHtml"===h?"innerHTML":"readonly"===h?"readOnly":"tabindex"===h?"tabIndex":h,s=null!=a?a(s,t.tagName||"",n):s,Nt(r)?r.setProperty(l,n,s):ji(n)||(l.setProperty?l.setProperty(n,s):l[n]=s))}function Ks(e,t,i,n){let s=!1;if(Xt()){const r=function(e,t,i){const n=e.directiveRegistry;let s=null;if(n)for(let r=0;r<n.length;r++){const a=n[r];fs(i,a.selectors,!1)&&(s||(s=[]),rn(en(i,t),e,a.type),Lt(a)?(2&i.flags&&as(i),er(e,i),s.unshift(a)):s.push(a))}return s}(e,t,i),a=null===n?null:{"":-1};if(null!==r){let n=0;s=!0,ir(i,e.data.length,r.length);for(let e=0;e<r.length;e++){const t=r[e];t.providersResolver&&t.providersResolver(t)}Xs(e,i,r.length);let o=!1,l=!1;for(let s=0;s<r.length;s++){const c=r[s];i.mergedAttrs=Hi(i.mergedAttrs,c.hostAttrs),nr(e,t,c),tr(e.data.length-1,c,a),null!==c.contentQueries&&(i.flags|=8),null===c.hostBindings&&null===c.hostAttrs&&0===c.hostVars||(i.flags|=128);const d=c.type.prototype;!o&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(i.index-20),o=!0),l||!d.ngOnChanges&&!d.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i.index-20),l=!0),Js(e,c),n+=c.hostVars}!function(e,t){const i=t.directiveEnd,n=e.data,s=t.attrs,r=[];let a=null,o=null;for(let l=t.directiveStart;l<i;l++){const e=n[l],i=e.inputs,c=null===s||ds(t)?null:ar(i,s);r.push(c),a=Gs(i,l,a),o=Gs(e.outputs,l,o)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=r,t.inputs=a,t.outputs=o}(e,i),Qs(e,t,n)}a&&function(e,t,i){if(t){const n=e.localNames=[];for(let e=0;e<t.length;e+=2){const s=i[t[e+1]];if(null==s)throw new Error(`Export of name '${t[e+1]}' not found!`);n.push(t[e],s)}}}(i,n,a)}return i.mergedAttrs=Hi(i.mergedAttrs,i.attrs),s}function Js(e,t){const i=e.expandoInstructions;i.push(t.hostBindings),0!==t.hostVars&&i.push(t.hostVars)}function Qs(e,t,i){for(let n=0;n<i;n++)t.push(bs),e.blueprint.push(bs),e.data.push(null)}function Zs(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Xs(e,t,i){const n=20-t.index,s=e.data.length-(1048575&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(n,s,i)}function er(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function tr(e,t,i){if(i){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)i[t.exportAs[n]]=e;Lt(t)&&(i[""]=e)}}function ir(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}function nr(e,t,i){e.data.push(i);const n=i.factory||(i.factory=wt(i.type)),s=new Fi(n,Lt(i),null);e.blueprint.push(s),t.push(s)}function sr(e,t,i){const n=Bt(t,e),s=zs(i),r=e[10],a=dr(e,Ys(e,s,null,i.onPush?64:16,n,t,r,r.createRenderer(n,i)));e[t.index]=a}function rr(e,t,i,n,s,r){const a=r[t];if(null!==a){const e=n.setInput;for(let t=0;t<a.length;){const s=a[t++],r=a[t++],o=a[t++];null!==e?n.setInput(i,o,s,r):i[r]=o}}}function ar(e,t){let i=null,n=0;for(;n<t.length;){const s=t[n];if(0!==s)if(5!==s){if("number"==typeof s)break;e.hasOwnProperty(s)&&(null===i&&(i=[]),i.push(s,e[s],t[n+1])),n+=2}else n+=2;else n+=4}return i}function or(e,t,i,n){return new Array(e,!0,!1,t,null,0,n,i,null,null)}function lr(e,t){const i=Ut(t,e);if(qt(i)){const e=i[1];80&i[2]?Rs(e,i,e.template,i[8]):i[5]>0&&function e(t){for(let n=ws(t);null!==n;n=ks(n))for(let t=10;t<n.length;t++){const i=n[t];if(1024&i[2]){const e=i[1];Rs(e,i,e.template,i[8])}else i[5]>0&&e(i)}const i=t[1].components;if(null!==i)for(let n=0;n<i.length;n++){const s=Ut(i[n],t);qt(s)&&s[5]>0&&e(s)}}(i)}}function cr(e,t){const i=Ut(t,e),n=i[1];!function(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])}(n,i),Fs(n,i,i[8])}function dr(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function hr(e){for(;e;){e[2]|=64;const t=vs(e);if(Tt(e)&&!t)return e;e=t}return null}function ur(e,t,i){const n=t[10];n.begin&&n.begin();try{Rs(e,t,e.template,i)}catch(s){throw yr(t,s),s}finally{n.end&&n.end()}}function mr(e){!function(e){for(let t=0;t<e.components.length;t++){const i=e.components[t],n=$t(i),s=n[1];Ns(s,n,s.template,i)}}(e[8])}function pr(e,t,i){_i(0),t(e,i)}const fr=(()=>Promise.resolve(null))();function gr(e){return e[7]||(e[7]=[])}function _r(e,t,i){return(null===e||Lt(e))&&(i=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(i[t.index])),i[11]}function yr(e,t){const i=e[9],n=i?i.get(bn,null):null;n&&n.handleError(t)}function br(e,t,i,n,s){for(let r=0;r<i.length;){const a=i[r++],o=i[r++],l=t[a],c=e.data[a];null!==c.setInput?c.setInput(l,s,n,o):l[o]=s}}function vr(e,t,i){const n=Vt(t,e),s=e[11];Nt(s)?s.setValue(n,i):n.textContent=i}function wr(e,t){const i=t[3];return-1===e.index?Ct(i)?i:null:i}function kr(e,t){const i=wr(e,t);return i?Yr(t[11],i[7]):null}function xr(e,t,i,n,s){if(null!=n){let r,a=!1;Ct(n)?r=n:xt(n)&&(a=!0,n=n[0]);const o=Ht(n);0===e&&null!==i?null==s?Ir(t,i,o):Er(t,i,o,s||null):1===e&&null!==i?Er(t,i,o,s||null):2===e?function(e,t,i){const n=Yr(e,t);n&&function(e,t,i,n){Nt(e)?e.removeChild(t,i,n):t.removeChild(i)}(e,n,t,i)}(t,o,a):3===e&&t.destroyNode(o),null!=r&&function(e,t,i,n,s){const r=i[7];r!==Ht(i)&&xr(t,e,n,r,s);for(let a=10;a<i.length;a++){const s=i[a];jr(s[1],s,e,t,n,r)}}(t,e,r,i,s)}}function Cr(e,t,i,n){const s=kr(e.node,t);s&&jr(e,t,t[11],i?1:2,s,n)}function Sr(e,t){const i=e[9],n=i.indexOf(t);1024&t[2]&&Qt(t[3],-1),i.splice(n,1)}function Mr(e,t){if(e.length<=10)return;const i=10+t,n=e[i];if(n){const s=n[17];null!==s&&s!==e&&Sr(s,n),t>0&&(e[i-1][4]=n[4]);const r=it(e,10+t);Cr(n[1],n,!1,null);const a=r[19];null!==a&&a.detachView(r[1]),n[3]=null,n[4]=null,n[2]&=-129}return n}function Dr(e,t){if(!(256&t[2])){const i=t[11];Nt(i)&&i.destroyNode&&jr(e,t,i,3,null,null),function(e){let t=e[13];if(!t)return Tr(e[1],e);for(;t;){let i=null;if(xt(t))i=t[13];else{const e=t[10];e&&(i=e)}if(!i){for(;t&&!t[4]&&t!==e;)xt(t)&&Tr(t[1],t),t=Lr(t,e);null===t&&(t=e),xt(t)&&Tr(t[1],t),i=t&&t[4]}t=i}}(t)}}function Lr(e,t){let i;return xt(e)&&(i=e[6])&&2===i.type?wr(i,e):e[3]===t?null:e[3]}function Tr(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let n=0;n<i.length;n+=2){const e=t[i[n]];if(!(e instanceof Fi)){const t=i[n+1];if(Array.isArray(t))for(let i=0;i<t.length;i+=2)t[i+1].call(e[t[i]]);else t.call(e)}}}(e,t),function(e,t){const i=e.cleanup;if(null!==i){const e=t[7];for(let n=0;n<i.length-1;n+=2)if("string"==typeof i[n]){const s=i[n+1],r="function"==typeof s?s(t):Ht(t[s]),a=e[i[n+2]],o=i[n+3];"boolean"==typeof o?r.removeEventListener(i[n],a,o):o>=0?e[o]():e[-o].unsubscribe(),n+=2}else i[n].call(e[i[n+1]]);t[7]=null}}(e,t);const i=t[6];i&&3===i.type&&Nt(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&Ct(t[3])){n!==t[3]&&Sr(n,t);const i=t[19];null!==i&&i.detachView(e)}}}function Ar(e,t,i){let n=t.parent;for(;null!=n&&(4===n.type||5===n.type);)n=(t=n).parent;if(null==n){const e=i[6];return 2===e.type?kr(e,i):i[0]}if(t&&5===t.type&&4&t.flags)return Bt(t,i).parentNode;if(2&n.flags){const t=e.data,i=t[t[n.index].directiveStart].encapsulation;if(i!==lt.ShadowDom&&i!==lt.Native)return null}return Bt(n,i)}function Er(e,t,i,n){Nt(e)?e.insertBefore(t,i,n):t.insertBefore(i,n,!0)}function Ir(e,t,i){Nt(e)?e.appendChild(t,i):t.appendChild(i)}function Pr(e,t,i,n){null!==n?Er(e,t,i,n):Ir(e,t,i)}function Yr(e,t){return Nt(e)?e.parentNode(t):t.parentNode}function Or(e,t){if(2===e.type){const i=wr(e,t);return null===i?null:Rr(i.indexOf(t,10)-10,i)}return 4===e.type||5===e.type?Bt(e,t):null}function Fr(e,t,i,n){const s=Ar(e,n,t);if(null!=s){const e=t[11],r=Or(n.parent||t[6],t);if(Array.isArray(i))for(let t=0;t<i.length;t++)Pr(e,s,i[t],r);else Pr(e,s,i,r)}}function Rr(e,t){const i=10+e+1;if(i<t.length){const e=t[i],n=e[1].firstChild;if(null!==n)return function e(t,i){if(null!==i){const n=i.type;if(3===n)return Bt(i,t);if(0===n)return Rr(-1,t[i.index]);if(4===n||5===n){const n=i.child;if(null!==n)return e(t,n);{const e=t[i.index];return Ct(e)?Rr(-1,e):Ht(e)}}{const n=t[16],s=n[6],r=vs(n),a=s.projection[i.projection];return null!=a?e(r,a):e(t,i.next)}}return null}(e,n)}return t[7]}function Nr(e,t,i,n,s,r,a){for(;null!=i;){const o=n[i.index],l=i.type;a&&0===t&&(o&&rs(Ht(o),n),i.flags|=4),64!=(64&i.flags)&&(4===l||5===l?(Nr(e,t,i.child,n,s,r,!1),xr(t,e,s,o,r)):1===l?Hr(e,t,n,i,s,r):xr(t,e,s,o,r)),i=a?i.projectionNext:i.next}}function jr(e,t,i,n,s,r){Nr(i,n,e.node.child,t,s,r,!1)}function Hr(e,t,i,n,s,r){const a=i[16],o=a[6].projection[n.projection];if(Array.isArray(o))for(let l=0;l<o.length;l++)xr(t,e,s,o[l],r);else Nr(e,t,o,a[3],s,r,!0)}function Vr(e,t,i){Nt(e)?e.setAttribute(t,"style",i):t.style.cssText=i}function Br(e,t,i){Nt(e)?""===i?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i):t.className=i}class zr{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView;return null==e[0]?function e(t,i,n,s,r=!1){for(;null!==n;){const a=i[n.index];if(null!==a&&s.push(Ht(a)),Ct(a))for(let t=10;t<a.length;t++){const i=a[t],n=i[1].firstChild;null!==n&&e(i[1],i,n,s)}const o=n.type;if(4===o||5===o)e(t,i,n.child,s);else if(1===o){const t=i[16],r=t[6].projection[n.projection];if(Array.isArray(r))s.push(...r);else{const i=vs(t);e(i[1],i,r,s,!0)}}n=r?n.projectionNext:n.next}return s}(e[1],e,e[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Dr(this._lView[1],this._lView)}onDestroy(e){Us(this._lView[1],this._lView,null,e)}markForCheck(){hr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ur(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,i){li(!0);try{ur(e,t,i)}finally{li(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,jr(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class Wr extends zr{constructor(e){super(e),this._view=e}detectChanges(){mr(this._view)}checkNoChanges(){!function(e){li(!0);try{mr(e)}finally{li(!1)}}(this._view)}get context(){return null}}let Ur,$r,Gr;function qr(e,t,i){return Ur||(Ur=class extends e{}),new Ur(Bt(t,i))}function Kr(e,t,i,n){return $r||($r=class extends e{constructor(e,t,i){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=i}createEmbeddedView(e){const t=this._declarationTContainer.tViews,i=Ys(this._declarationView,t,e,16,null,t.node);i[17]=this._declarationView[this._declarationTContainer.index];const n=this._declarationView[19];return null!==n&&(i[19]=n.createEmbeddedView(t)),Fs(t,i,e),new zr(i)}}),0===i.type?new $r(n,i,qr(t,i,n)):null}function Jr(e,t,i,n){let s;Gr||(Gr=class extends e{constructor(e,t,i){super(),this._lContainer=e,this._hostTNode=t,this._hostView=i}get element(){return qr(t,this._hostTNode,this._hostView)}get injector(){return new mn(this._hostTNode,this._hostView)}get parentInjector(){const e=sn(this._hostTNode,this._hostView),t=Ui(e,this._hostView),i=function(e,t,i){if(i.parent&&-1!==i.parent.injectorIndex){const e=i.parent.injectorIndex;let t=i.parent;for(;null!=t.parent&&e==t.parent.injectorIndex;)t=t.parent;return t}let n=Wi(e),s=t,r=t[6];for(;n>1;)s=s[15],r=s[6],n--;return r}(e,this._hostView,this._hostTNode);return Bi(e)&&null!=i?new mn(i,t):new mn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,i){const n=e.createEmbeddedView(t||{});return this.insert(n,i),n}createComponent(e,t,i,n,s){const r=i||this.parentInjector;if(!s&&null==e.ngModule&&r){const e=r.get(Ze,null);e&&(s=e)}const a=e.create(r,n,void 0,s);return this.insert(a.hostView,t),a}insert(e,t){const i=e._lView,n=i[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Ct(i[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=i[3],n=new Gr(t,t[6],t[3]);n.detach(n.indexOf(e))}}const s=this._adjustIndex(t);return function(e,t,i,n){const s=10+n,r=i.length;n>0&&(i[s-1][4]=t),n<r-10?(t[4]=i[s],tt(i,10+n,t)):(i.push(t),t[4]=null),t[3]=i;const a=t[17];null!==a&&i!==a&&function(e,t){const i=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===i?e[9]=[t]:i.push(t)}(a,t);const o=t[19];null!==o&&o.insertView(e),t[2]|=128}(n,i,this._lContainer,s),Cr(n,i,!0,Rr(s,this._lContainer)),e.attachToViewContainerRef(this),tt(this._lContainer[8],s,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),i=Mr(this._lContainer,t);i&&(it(this._lContainer[8],t),Dr(i[1],i))}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),i=Mr(this._lContainer,t);return i&&null!=it(this._lContainer[8],t)?new zr(i):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const r=n[i.index];if(Ct(r))s=r;else{let e;if(4===i.type)e=Ht(r);else if(e=n[11].createComment(""),Tt(n)){const t=n[11],s=Bt(i,n);Er(t,Yr(t,s),e,function(e,t){return Nt(e)?e.nextSibling(t):t.nextSibling}(t,s))}else Fr(n[1],n,e,i);n[i.index]=s=or(r,n,e,i),dr(n,s)}return new Gr(s,i,n)}function Qr(e=!1){return function(e,t,i){if(!i&&Mt(e)){const i=Ut(e.index,t);return new zr(i,i)}return 3===e.type||0===e.type||4===e.type||5===e.type?new zr(t[16],t):null}(ni(),ei(),e)}let Zr=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Xr(),e})();const Xr=Qr,ea=Function,ta=new Re("Set Injector scope."),ia={},na={},sa=[];let ra=void 0;function aa(){return void 0===ra&&(ra=new Qe),ra}function oa(e,t=null,i=null,n){return new la(e,i,t||aa(),n)}class la{constructor(e,t,i,n=null){this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];t&&et(t,i=>this.processProvider(i,e,t)),et([e],e=>this.processInjectorType(e,[],s)),this.records.set(Ne,ha(void 0,this));const r=this.records.get(ta);this.scope=null!=r?r.value:null,this.source=n||("object"==typeof e?null:be(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=je,i=ae.Default){this.assertNotDestroyed();const n=We(this);try{if(!(i&ae.SkipSelf)){let t=this.records.get(e);if(void 0===t){const i=("function"==typeof(s=e)||"object"==typeof s&&s instanceof Re)&&he(e);t=i&&this.injectableDefInScope(i)?ha(ca(e),ia):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(i&ae.Self?aa():this.parent).get(e,t=i&ae.Optional&&t===je?null:t)}catch(r){if("NullInjectorError"===r.name){if((r.ngTempTokenPath=r.ngTempTokenPath||[]).unshift(be(e)),n)throw r;return function(e,t,i,n){const s=e.ngTempTokenPath;throw t.__source&&s.unshift(t.__source),e.message=function(e,t,i,n=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let s=be(t);if(Array.isArray(t))s=t.map(be).join(" -> ");else if("object"==typeof t){let e=[];for(let i in t)if(t.hasOwnProperty(i)){let n=t[i];e.push(i+":"+("string"==typeof n?JSON.stringify(n):be(n)))}s=`{${e.join(", ")}}`}return`${i}${n?"("+n+")":""}[${s}]: ${e.replace(He,"\n ")}`}("\n"+e.message,s,i,n),e.ngTokenPath=s,e.ngTempTokenPath=null,e}(r,e,"R3InjectorError",this.source)}throw r}finally{We(n)}var s}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,i)=>e.push(be(i))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,i){if(!(e=xe(e)))return!1;let n=me(e);const s=null==n&&e.ngModule||void 0,r=void 0===s?e:s,a=-1!==i.indexOf(r);if(void 0!==s&&(n=me(s)),null==n)return!1;if(null!=n.imports&&!a){let e;i.push(r);try{et(n.imports,n=>{this.processInjectorType(n,t,i)&&(void 0===e&&(e=[]),e.push(n))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:i,providers:n}=e[t];et(n,e=>this.processProvider(e,i,n||sa))}}this.injectorDefTypes.add(r),this.records.set(r,ha(n.factory,ia));const o=n.providers;if(null!=o&&!a){const t=e;et(o,e=>this.processProvider(e,t,o))}return void 0!==s&&void 0!==e.providers}processProvider(e,t,i){let n=ma(e=xe(e))?e:xe(e&&e.provide);const s=function(e,t,i){return ua(e)?ha(void 0,e.useValue):ha(da(e,t,i),ia)}(e,t,i);if(ma(e)||!0!==e.multi){const e=this.records.get(n);e&&void 0!==e.multi&&os()}else{let t=this.records.get(n);t?void 0===t.multi&&os():(t=ha(void 0,ia,!0),t.factory=()=>Je(t.multi),this.records.set(n,t)),n=e,t.multi.push(e)}this.records.set(n,s)}hydrate(e,t){var i;return t.value===na?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(be(e)):t.value===ia&&(t.value=na,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(i=t.value)&&"object"==typeof i&&"function"==typeof i.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function ca(e){const t=he(e),i=null!==t?t.factory:wt(e);if(null!==i)return i;const n=me(e);if(null!==n)return n.factory;if(e instanceof Re)throw new Error(`Token ${be(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const i=nt(t,"?");throw new Error(`Can't resolve all parameters for ${be(e)}: (${i.join(", ")}).`)}const i=function(e){const t=e&&(e[pe]||e[_e]||e[ge]&&e[ge]());if(t){const i=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" 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 "${i}" class.`),t}return null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new Error("unreachable")}function da(e,t,i){let n=void 0;if(ma(e)){const t=xe(e);return wt(t)||ca(t)}if(ua(e))n=()=>xe(e.useValue);else if((s=e)&&s.useFactory)n=()=>e.useFactory(...Je(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))n=()=>Ge(xe(e.useExisting));else{const s=xe(e&&(e.useClass||e.provide));if(s||function(e,t,i){let n="";throw e&&t&&(n=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==i?"?"+i+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${be(e)}'`+n)}(t,i,e),!function(e){return!!e.deps}(e))return wt(s)||ca(s);n=()=>new s(...Je(e.deps))}var s;return n}function ha(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function ua(e){return null!==e&&"object"==typeof e&&Ve in e}function ma(e){return"function"==typeof e}const pa=function(e,t,i){return function(e,t=null,i=null,n){const s=oa(e,t,i,n);return s._resolveInjectorDefTypes(),s}({name:i},t,e,i)};let fa=(()=>{class e{static create(e,t){return Array.isArray(e)?pa(e,t,""):pa(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=je,e.NULL=new Qe,e.\u0275prov=ce({token:e,providedIn:"any",factory:()=>Ge(Ne)}),e.__NG_ELEMENT_ID__=-1,e})();const ga=new Re("AnalyzeForEntryComponents");function _a(e,t,i){let n=i?e.styles:null,s=i?e.classes:null,r=0;if(null!==t)for(let a=0;a<t.length;a++){const e=t[a];"number"==typeof e?r=e:1==r?s=ve(s,e):2==r&&(n=ve(n,e+": "+t[++a]+";"))}i?e.styles=n:e.stylesWithoutHost=n,i?e.classes=s:e.classesWithoutHost=s}let ya=null;function ba(){if(!ya){const e=Te.Symbol;if(e&&e.iterator)ya=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const i=e[t];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(ya=i)}}}return ya}class va{constructor(e){this.wrapped=e}static wrap(e){return new va(e)}static unwrap(e){return va.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof va}}function wa(e){return!!ka(e)&&(Array.isArray(e)||!(e instanceof Map)&&ba()in e)}function ka(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function xa(e,t,i){return e[t]=i}function Ca(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function Sa(e,t,i,n){const s=Ca(e,t,i);return Ca(e,t+1,n)||s}function Ma(e,t,i,n,s){const r=Sa(e,t,i,n);return Ca(e,t+2,s)||r}function Da(e,t,i,n){const s=ei();return Ca(s,hi(),t)&&(ti(),function(e,t,i,n,s,r){const a=Bt(e,t),o=t[11];if(null==n)Nt(o)?o.removeAttribute(a,i,r):a.removeAttribute(i);else{const t=null==s?$i(n):s(n,e.tagName||"",i);Nt(o)?o.setAttribute(a,i,t,r):r?a.setAttributeNS(r,i,t):a.setAttribute(i,t)}}(Di(),s,e,t,i,n)),Da}function La(e,t,i,n){return Ca(e,hi(),i)?t+$i(i)+n:bs}function Ta(e,t,i,n,s,r,a,o){const l=ei(),c=ti(),d=e+20,h=c.firstCreatePass?function(e,t,i,n,s,r,a,o,l){const c=t.consts,d=Os(t,i[6],e,0,a||null,Kt(c,o));Ks(t,i,d,Kt(c,l)),Ai(t,d);const h=d.tViews=Ws(2,-1,n,s,r,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c),u=$s(0,null,2,-1,null,null);return u.injectorIndex=d.injectorIndex,h.node=u,null!==t.queries&&(t.queries.template(t,d),h.queries=t.queries.embeddedTView(d)),d}(e,c,l,t,i,n,s,r,a):c.data[d];si(h,!1);const u=l[11].createComment("");Fr(c,l,u,h),rs(u,l),dr(l,l[d]=or(u,l,u,h)),Dt(h)&&Vs(c,l,h),null!=a&&Bs(l,h,o)}function Aa(e){return Wt(Zt.lFrame.contextLView,e)}function Ea(e,t=ae.Default){const i=ei();return null==i?Ge(e,t):an(ni(),i,xe(e),t)}function Ia(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const e=i.length;let n=0;for(;n<e;){const s=i[n];if(Ni(s))break;if(0===s)n+=2;else if("number"==typeof s)for(n++;n<e&&"string"==typeof i[n];)n++;else{if(s===t)return i[n+1];n+=2}}}return null}(ni(),e)}function Pa(e,t,i){const n=ei();return Ca(n,hi(),t)&&qs(ti(),Di(),n,e,t,n[11],i,!1),Pa}function Ya(e,t,i,n,s){const r=s?"class":"style";br(e,i,t.inputs[r],r,n)}function Oa(e,t,i,n){const s=ei(),r=ti(),a=20+e,o=s[11],l=s[a]=Ps(t,o,Zt.lFrame.currentNamespace),c=r.firstCreatePass?function(e,t,i,n,s,r,a){const o=t.consts,l=Kt(o,r),c=Os(t,i[6],e,3,s,l);return Ks(t,i,c,Kt(o,a)),null!==c.attrs&&_a(c,c.attrs,!1),null!==c.mergedAttrs&&_a(c,c.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,c),c}(e,r,s,0,t,i,n):r.data[a];si(c,!0);const d=c.mergedAttrs;null!==d&&Ri(o,l,d);const h=c.classes;null!==h&&Br(o,l,h);const u=c.styles;null!==u&&Vr(o,l,u),Fr(r,s,l,c),0===Zt.lFrame.elementDepthCount&&rs(l,s),Zt.lFrame.elementDepthCount++,Dt(c)&&(Vs(r,s,c),Hs(r,c,s)),null!==n&&Bs(s,c)}function Fa(){let e=ni();ri()?ai():(e=e.parent,si(e,!1));const t=e;Zt.lFrame.elementDepthCount--;const i=ti();i.firstCreatePass&&(Ai(i,e),St(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Ya(i,t,ei(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Ya(i,t,ei(),t.stylesWithoutHost,!1)}function Ra(e,t,i,n){Oa(e,t,i,n),Fa()}function Na(e,t,i){const n=ei(),s=ti(),r=e+20,a=s.firstCreatePass?function(e,t,i,n,s){const r=t.consts,a=Kt(r,n),o=Os(t,i[6],e,4,"ng-container",a);return null!==a&&_a(o,a,!0),Ks(t,i,o,Kt(r,s)),null!==t.queries&&t.queries.elementStart(t,o),o}(e,s,n,t,i):s.data[r];si(a,!0);const o=n[r]=n[11].createComment("");Fr(s,n,o,a),rs(o,n),Dt(a)&&(Vs(s,n,a),Hs(s,a,n)),null!=i&&Bs(n,a)}function ja(){let e=ni();const t=ti();ri()?ai():(e=e.parent,si(e,!1)),t.firstCreatePass&&(Ai(t,e),St(e)&&t.queries.elementEnd(e))}function Ha(e,t,i){Na(e,t,i),ja()}function Va(){return ei()}function Ba(e){return!!e&&"function"==typeof e.then}function za(e){return!!e&&"function"==typeof e.subscribe}function Wa(e,t,i=!1,n){const s=ei(),r=ti(),a=ni();return $a(r,s,s[11],a,e,t,i,n),Wa}function Ua(e,t,i=!1,n){const s=ni(),r=ei(),a=ti();return $a(a,r,_r(fi(a.data),s,r),s,e,t,i,n),Ua}function $a(e,t,i,n,s,r,a=!1,o){const l=Dt(n),c=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),d=gr(t);let h=!0;if(3===n.type){const u=Bt(n,t),m=o?o(u):ct,p=m.target||u,f=d.length,g=o?e=>o(Ht(e[n.index])).target:n.index;if(Nt(i)){let a=null;if(!o&&l&&(a=function(e,t,i,n){const s=e.cleanup;if(null!=s)for(let r=0;r<s.length-1;r+=2){const e=s[r];if(e===i&&s[r+1]===n){const e=t[7],i=s[r+2];return e.length>i?e[i]:null}"string"==typeof e&&(r+=2)}return null}(e,t,s,n.index)),null!==a)(a.__ngLastListenerFn__||a).__ngNextListenerFn__=r,a.__ngLastListenerFn__=r,h=!1;else{r=qa(n,t,r,!1);const e=i.listen(m.name||p,s,r);d.push(r,e),c&&c.push(s,g,f,f+1)}}else r=qa(n,t,r,!0),p.addEventListener(s,r,a),d.push(r),c&&c.push(s,g,f,a)}const u=n.outputs;let m;if(h&&null!==u&&(m=u[s])){const e=m.length;if(e)for(let i=0;i<e;i+=2){const e=t[m[i]][m[i+1]].subscribe(r),a=d.length;d.push(r,e),c&&c.push(s,n.index,a,-(a+1))}}}function Ga(e,t,i){try{return!1!==t(i)}catch(n){return yr(e,n),!1}}function qa(e,t,i,n){return function s(r){if(r===Function)return i;const a=2&e.flags?Ut(e.index,t):t;0==(32&t[2])&&hr(a);let o=Ga(t,i,r),l=s.__ngNextListenerFn__;for(;l;)o=Ga(t,l,r)&&o,l=l.__ngNextListenerFn__;return n&&!1===o&&(r.preventDefault(),r.returnValue=!1),o}}function Ka(e=1){return function(e){return(Zt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Zt.lFrame.contextLView))[8]}(e)}function Ja(e,t){let i=null;const n=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let s=0;s<t.length;s++){const r=t[s];if("*"!==r){if(null===n?fs(e,r,!0):gs(n,r))return s}else i=s}return i}function Qa(e){const t=ei()[16][6];if(!t.projection){const i=t.projection=nt(e?e.length:1,null),n=i.slice();let s=t.child;for(;null!==s;){const t=e?Ja(s,e):0;null!==t&&(n[t]?n[t].projectionNext=s:i[t]=s,n[t]=s),s=s.next}}}function Za(e,t=0,i){const n=ei(),s=ti(),r=Os(s,n[6],e,1,null,i||null);null===r.projection&&(r.projection=t),ai(),function(e,t,i){Hr(t[11],0,t,i,Ar(e,i,t),Or(i.parent||t[6],t))}(s,n,r)}const Xa=[];function eo(e,t,i,n,s){const r=e[i+1],a=null===t;let o=n?Ds(r):Ts(r),l=!1;for(;0!==o&&(!1===l||a);){const i=e[o+1];to(e[o],t)&&(l=!0,e[o+1]=n?Es(i):Ls(i)),o=n?Ds(i):Ts(i)}l&&(e[i+1]=n?Ls(r):Es(r))}function to(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&at(e,t)>=0}const io={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function no(e){return e.substring(io.key,io.keyEnd)}function so(e,t){const i=io.textEnd;return i===t?-1:(t=io.keyEnd=function(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}(e,io.key=t,i),ro(e,t,i))}function ro(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function ao(e,t,i){return co(e,t,i,!1),ao}function oo(e,t){return co(e,t,null,!0),oo}function lo(e,t){for(let i=function(e){return function(e){io.key=0,io.keyEnd=0,io.value=0,io.valueEnd=0,io.textEnd=e.length}(e),so(e,ro(e,0,io.textEnd))}(t);i>=0;i=so(t,i))st(e,no(t),!0)}function co(e,t,i,n){const s=ei(),r=ti(),a=ui(2);r.firstUpdatePass&&mo(r,e,a,n),t!==bs&&Ca(s,a,t)&&go(r,r.data[Si()+20],s,s[11],e,s[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=be(Mn(e)))),e}(t,i),n,a)}function ho(e,t,i,n){const s=ti(),r=ui(2);s.firstUpdatePass&&mo(s,null,r,n);const a=ei();if(i!==bs&&Ca(a,r,i)){const o=s.data[Si()+20];if(bo(o,n)&&!uo(s,r)){let e=n?o.classesWithoutHost:o.stylesWithoutHost;null!==e&&(i=ve(e,i||"")),Ya(s,o,a,i,n)}else!function(e,t,i,n,s,r,a,o){s===bs&&(s=Xa);let l=0,c=0,d=0<s.length?s[0]:null,h=0<r.length?r[0]:null;for(;null!==d||null!==h;){const u=l<s.length?s[l+1]:void 0,m=c<r.length?r[c+1]:void 0;let p=null,f=void 0;d===h?(l+=2,c+=2,u!==m&&(p=h,f=m)):null===h||null!==d&&d<h?(l+=2,p=d):(c+=2,p=h,f=m),null!==p&&go(e,t,i,n,p,f,a,o),d=l<s.length?s[l]:null,h=c<r.length?r[c]:null}}(s,o,a,a[11],a[r+1],a[r+1]=function(e,t,i){if(null==i||""===i)return Xa;const n=[],s=Mn(i);if(Array.isArray(s))for(let r=0;r<s.length;r++)e(n,s[r],!0);else if("object"==typeof s)for(const r in s)s.hasOwnProperty(r)&&e(n,r,s[r]);else"string"==typeof s&&t(n,s);return n}(e,t,i),n,r)}}function uo(e,t){return t>=e.expandoStartIndex}function mo(e,t,i,n){const s=e.data;if(null===s[i+1]){const r=s[Si()+20],a=uo(e,i);bo(r,n)&&null===t&&!a&&(t=!1),t=function(e,t,i,n){const s=fi(e);let r=n?t.residualClasses:t.residualStyles;if(null===s)0===(n?t.classBindings:t.styleBindings)&&(i=fo(i=po(null,e,t,i,n),t.attrs,n),r=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==s)if(i=po(s,e,t,i,n),null===r){let i=function(e,t,i){const n=i?t.classBindings:t.styleBindings;if(0!==Ts(n))return e[Ds(n)]}(e,t,n);void 0!==i&&Array.isArray(i)&&(i=po(null,e,t,i[1],n),i=fo(i,t.attrs,n),function(e,t,i,n){e[Ds(i?t.classBindings:t.styleBindings)]=n}(e,t,n,i))}else r=function(e,t,i){let n=void 0;const s=t.directiveEnd;for(let r=1+t.directiveStylingLast;r<s;r++)n=fo(n,e[r].hostAttrs,i);return fo(n,t.attrs,i)}(e,t,n)}return void 0!==r&&(n?t.residualClasses=r:t.residualStyles=r),i}(s,r,t,n),function(e,t,i,n,s,r){let a=r?t.classBindings:t.styleBindings,o=Ds(a),l=Ts(a);e[n]=i;let c,d=!1;if(Array.isArray(i)){const e=i;c=e[1],(null===c||at(e,c)>0)&&(d=!0)}else c=i;if(s)if(0!==l){const t=Ds(e[o+1]);e[n+1]=Ms(t,o),0!==t&&(e[t+1]=As(e[t+1],n)),e[o+1]=131071&e[o+1]|n<<17}else e[n+1]=Ms(o,0),0!==o&&(e[o+1]=As(e[o+1],n)),o=n;else e[n+1]=Ms(l,0),0===o?o=n:e[l+1]=As(e[l+1],n),l=n;d&&(e[n+1]=Ls(e[n+1])),eo(e,c,n,!0),eo(e,c,n,!1),function(e,t,i,n,s){const r=s?e.residualClasses:e.residualStyles;null!=r&&"string"==typeof t&&at(r,t)>=0&&(i[n+1]=Es(i[n+1]))}(t,c,e,n,r),a=Ms(o,l),r?t.classBindings=a:t.styleBindings=a}(s,r,t,i,a,n)}}function po(e,t,i,n,s){let r=null;const a=i.directiveEnd;let o=i.directiveStylingLast;for(-1===o?o=i.directiveStart:o++;o<a&&(r=t[o],n=fo(n,r.hostAttrs,s),r!==e);)o++;return null!==e&&(i.directiveStylingLast=o),n}function fo(e,t,i){const n=i?1:2;let s=-1;if(null!==t)for(let r=0;r<t.length;r++){const a=t[r];"number"==typeof a?s=a:s===n&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),st(e,a,!!i||t[++r]))}return void 0===e?null:e}function go(e,t,i,n,s,r,a,o){if(3!==t.type)return;const l=e.data,c=l[o+1];yo(1==(1&c)?_o(l,t,i,s,Ts(c),a):void 0)||(yo(r)||2==(2&c)&&(r=_o(l,null,i,s,o,a)),function(e,t,i,n,s){const r=Nt(e);if(t)s?r?e.addClass(i,n):i.classList.add(n):r?e.removeClass(i,n):i.classList.remove(n);else{const t=-1==n.indexOf("-")?void 0:2;null==s?r?e.removeStyle(i,n,t):i.style.removeProperty(n):r?e.setStyle(i,n,s,t):i.style.setProperty(n,s)}}(n,a,Vt(Si(),i),s,r))}function _o(e,t,i,n,s,r){const a=null===t;let o=void 0;for(;s>0;){const t=e[s],r=Array.isArray(t),l=r?t[1]:t,c=null===l;let d=i[s+1];d===bs&&(d=c?Xa:void 0);let h=c?rt(d,n):l===n?d:void 0;if(r&&!yo(h)&&(h=rt(t,n)),yo(h)&&(o=h,a))return o;const u=e[s+1];s=a?Ds(u):Ts(u)}if(null!==t){let e=r?t.residualClasses:t.residualStyles;null!=e&&(o=rt(e,n))}return o}function yo(e){return void 0!==e}function bo(e,t){return 0!=(e.flags&(t?16:32))}function vo(e,t=""){const i=ei(),n=ti(),s=e+20,r=n.firstCreatePass?Os(n,i[6],e,3,null,null):n.data[s],a=i[s]=function(e,t){return Nt(t)?t.createText(e):t.createTextNode(e)}(t,i[11]);Fr(n,i,a,r),si(r,!1)}function wo(e){return ko("",e,""),wo}function ko(e,t,i){const n=ei(),s=La(n,e,t,i);return s!==bs&&vr(n,Si(),s),ko}function xo(e,t,i,n,s){const r=ei(),a=function(e,t,i,n,s,r){const a=Sa(e,di(),i,s);return ui(2),a?t+$i(i)+n+$i(s)+r:bs}(r,e,t,i,n,s);return a!==bs&&vr(r,Si(),a),xo}function Co(e,t,i,n,s,r,a){const o=ei(),l=function(e,t,i,n,s,r,a,o){const l=Ma(e,di(),i,s,a);return ui(3),l?t+$i(i)+n+$i(s)+r+$i(a)+o:bs}(o,e,t,i,n,s,r,a);return l!==bs&&vr(o,Si(),l),Co}function So(e,t,i){const n=ei();return Ca(n,hi(),t)&&qs(ti(),Di(),n,e,t,n[11],i,!0),So}function Mo(e,t,i){const n=ei();if(Ca(n,hi(),t)){const s=ti(),r=Di();qs(s,r,n,e,t,_r(fi(s.data),r,n),i,!0)}return Mo}function Do(e,t){const i=$t(e)[1],n=i.data.length-1;Ai(i,{directiveStart:n,directiveEnd:n+1})}function Lo(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,i=!0;const n=[e];for(;t;){let s=void 0;if(Lt(e))s=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");s=t.\u0275dir}if(s){if(i){n.push(s);const t=e;t.inputs=To(e.inputs),t.declaredInputs=To(e.declaredInputs),t.outputs=To(e.outputs);const i=s.hostBindings;i&&Io(e,i);const r=s.viewQuery,a=s.contentQueries;if(r&&Ao(e,r),a&&Eo(e,a),le(e.inputs,s.inputs),le(e.declaredInputs,s.declaredInputs),le(e.outputs,s.outputs),Lt(s)&&s.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(s.data.animation)}}const t=s.features;if(t)for(let n=0;n<t.length;n++){const s=t[n];s&&s.ngInherit&&s(e),s===Lo&&(i=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,i=null;for(let n=e.length-1;n>=0;n--){const s=e[n];s.hostVars=t+=s.hostVars,s.hostAttrs=Hi(s.hostAttrs,i=Hi(i,s.hostAttrs))}}(n)}function To(e){return e===ct?{}:e===dt?[]:e}function Ao(e,t){const i=e.viewQuery;e.viewQuery=i?(e,n)=>{t(e,n),i(e,n)}:t}function Eo(e,t){const i=e.contentQueries;e.contentQueries=i?(e,n,s)=>{t(e,n,s),i(e,n,s)}:t}function Io(e,t){const i=e.hostBindings;e.hostBindings=i?(e,n)=>{t(e,n),i(e,n)}:t}function Po(e,t,i,n,s){if(e=xe(e),Array.isArray(e))for(let r=0;r<e.length;r++)Po(e[r],t,i,n,s);else{const r=ti(),a=ei();let o=ma(e)?e:xe(e.provide),l=da(e);const c=ni(),d=1048575&c.providerIndexes,h=c.directiveStart,u=c.providerIndexes>>20;if(ma(e)||!e.multi){const n=new Fi(l,s,Ea),m=Fo(o,t,s?d:d+u,h);-1===m?(rn(en(c,a),r,o),Yo(r,e,t.length),t.push(o),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),i.push(n),a.push(n)):(i[m]=n,a[m]=n)}else{const m=Fo(o,t,d+u,h),p=Fo(o,t,d,d+u),f=m>=0&&i[m],g=p>=0&&i[p];if(s&&!g||!s&&!f){rn(en(c,a),r,o);const d=function(e,t,i,n,s){const r=new Fi(e,i,Ea);return r.multi=[],r.index=t,r.componentProviders=0,Oo(r,s,n&&!i),r}(s?No:Ro,i.length,s,n,l);!s&&g&&(i[p].providerFactory=d),Yo(r,e,t.length,0),t.push(o),c.directiveStart++,c.directiveEnd++,s&&(c.providerIndexes+=1048576),i.push(d),a.push(d)}else Yo(r,e,m>-1?m:p,Oo(i[s?p:m],l,!s&&n));!s&&n&&g&&i[p].componentProviders++}}}function Yo(e,t,i,n){const s=ma(t);if(s||t.useClass){const r=(t.useClass||t).prototype.ngOnDestroy;if(r){const a=e.destroyHooks||(e.destroyHooks=[]);if(!s&&t.multi){const e=a.indexOf(i);-1===e?a.push(i,[n,r]):a[e+1].push(n,r)}else a.push(i,r)}}}function Oo(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function Fo(e,t,i,n){for(let s=i;s<n;s++)if(t[s]===e)return s;return-1}function Ro(e,t,i,n){return jo(this.multi,[])}function No(e,t,i,n){const s=this.multi;let r;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=dn(i,i[1],this.providerFactory.index,n);r=t.slice(0,e),jo(s,r);for(let i=e;i<t.length;i++)r.push(t[i])}else r=[],jo(s,r);return r}function jo(e,t){for(let i=0;i<e.length;i++)t.push((0,e[i])());return t}function Ho(e,t=[]){return i=>{i.providersResolver=(i,n)=>function(e,t,i){const n=ti();if(n.firstCreatePass){const s=Lt(e);Po(i,n.data,n.blueprint,s,!0),Po(t,n.data,n.blueprint,s,!1)}}(i,n?n(e):e,t)}}class Vo{}class Bo{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${be(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let zo=(()=>{class e{}return e.NULL=new Bo,e})(),Wo=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Uo(e),e})();const Uo=function(e){return qr(e,ni(),ei())};class $o{}var Go=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});let qo=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Ko(),e})();const Ko=function(){const e=ei(),t=Ut(ni().index,e);return function(e){const t=e[11];if(Nt(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(xt(t)?t:e)};let Jo=(()=>{class e{}return e.\u0275prov=ce({token:e,providedIn:"root",factory:()=>null}),e})();class Qo{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Zo=new Qo("10.0.14");class Xo{constructor(){}supports(e){return wa(e)}create(e){return new tl(e)}}const el=(e,t)=>t;class tl{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||el}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,i=this._removalsHead,n=0,s=null;for(;t||i;){const r=!i||t&&t.currentIndex<rl(i,n,s)?t:i,a=rl(r,n,s),o=r.currentIndex;if(r===i)n--,i=i._nextRemoved;else if(t=t._next,null==r.previousIndex)n++;else{s||(s=[]);const e=a-n,t=o-n;if(e!=t){for(let i=0;i<e;i++){const n=i<s.length?s[i]:s[i]=0,r=n+i;t<=r&&r<e&&(s[i]=n+1)}s[r.previousIndex]=t-e}}a!==o&&e(r,a,o)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!wa(e))throw new Error(`Error trying to diff '${be(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,i,n,s=this._itHead,r=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)i=e[t],n=this._trackByFn(t,i),null!==s&&Object.is(s.trackById,n)?(r&&(s=this._verifyReinsertion(s,i,n,t)),Object.is(s.item,i)||this._addIdentityChange(s,i)):(s=this._mismatch(s,i,n,t),r=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let i=0;i<e.length;i++)t(e[i]);else{const i=e[ba()]();let n;for(;!(n=i.next()).done;)t(n.value)}}(e,e=>{n=this._trackByFn(t,e),null!==s&&Object.is(s.trackById,n)?(r&&(s=this._verifyReinsertion(s,e,n,t)),Object.is(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,n,t),r=!0),s=s._next,t++}),this.length=t;return this._truncate(s),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,i,n){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(i,n))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,n)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,n)):e=this._addAfter(new il(t,i),s,n),e}_verifyReinsertion(e,t,i,n){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?e=this._reinsertAfter(s,e._prev,n):e.currentIndex!=n&&(e.currentIndex=n,this._addToMoves(e,n)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const n=e._prevRemoved,s=e._nextRemoved;return null===n?this._removalsHead=s:n._nextRemoved=s,null===s?this._removalsTail=n:s._prevRemoved=n,this._insertAfter(e,t,i),this._addToMoves(e,i),e}_moveAfter(e,t,i){return this._unlink(e),this._insertAfter(e,t,i),this._addToMoves(e,i),e}_addAfter(e,t,i){return this._insertAfter(e,t,i),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,i){const n=null===t?this._itHead:t._next;return e._next=n,e._prev=t,null===n?this._itTail=e:n._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new sl),this._linkedRecords.put(e),e.currentIndex=i,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,i=e._next;return null===t?this._itHead=i:t._next=i,null===i?this._itTail=t:i._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new sl),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class il{constructor(e,t){this.item=e,this.trackById=t,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 nl{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===t||t<=i.currentIndex)&&Object.is(i.trackById,e))return i;return null}remove(e){const t=e._prevDup,i=e._nextDup;return null===t?this._head=i:t._nextDup=i,null===i?this._tail=t:i._prevDup=t,null===this._head}}class sl{constructor(){this.map=new Map}put(e){const t=e.trackById;let i=this.map.get(t);i||(i=new nl,this.map.set(t,i)),i.add(e)}get(e,t){const i=this.map.get(e);return i?i.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function rl(e,t,i){const n=e.previousIndex;if(null===n)return n;let s=0;return i&&n<i.length&&(s=i[n]),n+t+s}class al{constructor(){}supports(e){return e instanceof Map||ka(e)}create(){return new ol}}class ol{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||ka(e)))throw new Error(`Error trying to diff '${be(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,i)=>{if(t&&t.key===i)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const n=this._getOrCreateRecordForKey(i,e);t=this._insertBeforeOrAppend(t,n)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const i=e._prev;return t._next=e,t._prev=i,e._prev=t,i&&(i._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const i=this._records.get(e);this._maybeAddToChanges(i,t);const n=i._prev,s=i._next;return n&&(n._next=s),s&&(s._prev=n),i._next=null,i._prev=null,i}const i=new ll(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(i=>t(e[i],i))}}class ll{constructor(e){this.key=e,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 cl=(()=>{class e{constructor(e){this.factories=e}static create(t,i){if(null!=i){const e=i.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>{if(!i)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,i)},deps:[[e,new re,new ne]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${i=e,i.name||typeof i}'`);var i}}return e.\u0275prov=ce({token:e,providedIn:"root",factory:()=>new e([new Xo])}),e})(),dl=(()=>{class e{constructor(e){this.factories=e}static create(t,i){if(i){const e=i.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>{if(!i)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,i)},deps:[[e,new re,new ne]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=ce({token:e,providedIn:"root",factory:()=>new e([new al])}),e})();const hl=[new al],ul=new cl([new Xo]),ml=new dl(hl);let pl=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>fl(e,Wo),e})();const fl=function(e,t){return Kr(e,t,ni(),ei())};let gl=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>_l(e,Wo),e})();const _l=function(e,t){return Jr(e,t,ni(),ei())},yl={};class bl extends zo{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=vt(e);return new kl(t,this.ngModule)}}function vl(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}const wl=new Re("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>qi});class kl extends Vo{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(ys).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return vl(this.componentDef.inputs)}get outputs(){return vl(this.componentDef.outputs)}create(e,t,i,n){const s=(n=n||this.ngModule)?function(e,t){return{get:(i,n,s)=>{const r=e.get(i,yl,s);return r!==yl||n===yl?r:t.get(i,n,s)}}}(e,n.injector):e,r=s.get($o,jt),a=s.get(Jo,null),o=r.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=i?function(e,t,i){if(Nt(e))return e.selectRootElement(t,i===lt.ShadowDom);let n="string"==typeof t?e.querySelector(t):t;return n.textContent="",n}(o,i,this.componentDef.encapsulation):Ps(l,r.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,h={components:[],scheduler:qi,clean:fr,playerHandler:null,flags:0},u=Ws(0,-1,null,1,0,null,null,null,null,null),m=Ys(null,u,h,d,null,null,r,o,a,s);let p,f;bi(m,null);try{const e=function(e,t,i,n,s,r){const a=i[1];i[20]=e;const o=Os(a,null,0,3,null,null),l=o.mergedAttrs=t.hostAttrs;null!==l&&(_a(o,l,!0),null!==e&&(Ri(s,e,l),null!==o.classes&&Br(s,e,o.classes),null!==o.styles&&Vr(s,e,o.styles)));const c=n.createRenderer(e,t),d=Ys(i,zs(t),null,t.onPush?64:16,i[20],o,n,c,void 0);return a.firstCreatePass&&(rn(en(o,i),a,t.type),er(a,o),ir(o,i.length,1)),dr(i,d),i[20]=d}(c,this.componentDef,m,r,o);if(c)if(i)Ri(o,c,["ng-version",Zo.full]);else{const{attrs:e,classes:t}=function(e){const t=[],i=[];let n=1,s=2;for(;n<e.length;){let r=e[n];if("string"==typeof r)2===s?""!==r&&t.push(r,e[++n]):8===s&&i.push(r);else{if(!ms(s))break;s=r}n++}return{attrs:t,classes:i}}(this.componentDef.selectors[0]);e&&Ri(o,c,e),t&&t.length>0&&Br(o,c,t.join(" "))}if(f=zt(u,0),void 0!==t){const e=f.projection=[];for(let i=0;i<this.ngContentSelectors.length;i++){const n=t[i];e.push(null!=n?Array.from(n):null)}}p=function(e,t,i,n,s){const r=i[1],a=function(e,t,i){const n=ni();e.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),Xs(e,n,1),nr(e,t,i));const s=dn(t,e,t.length-1,n);rs(s,t);const r=Bt(n,t);return r&&rs(r,t),s}(r,i,t);n.components.push(a),e[8]=a,s&&s.forEach(e=>e(a,t)),t.contentQueries&&t.contentQueries(1,a,i.length-1);const o=ni();if(r.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){Mi(o.index-20);const e=i[1];Js(e,t),Qs(e,i,t.hostVars),Zs(t,a)}return a}(e,this.componentDef,m,h,[Do]),Fs(u,m,null)}finally{Ci()}const g=new xl(this.componentType,p,qr(Wo,f,m),m,f);return u.node.child=f,g}}class xl extends class{}{constructor(e,t,i,n,s){super(),this.location=i,this._rootLView=n,this._tNode=s,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new Wr(n),function(e,t,i,n){let s=e.node;null==s&&(e.node=s=$s(0,null,2,-1,null,null)),n[6]=s}(n[1],0,0,n),this.componentType=e}get injector(){return new mn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const Cl=void 0;var Sl=["en",[["a","p"],["AM","PM"],Cl],[["AM","PM"],Cl,Cl],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Cl,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Cl,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Cl,"{1} 'at' {0}",Cl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),i=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===i?1:5}];let Ml={};function Dl(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=Ll(t);if(i)return i;const n=t.split("-")[0];if(i=Ll(n),i)return i;if("en"===n)return Sl;throw new Error(`Missing locale data for the locale "${e}".`)}function Ll(e){return e in Ml||(Ml[e]=Te.ng&&Te.ng.common&&Te.ng.common.locales&&Te.ng.common.locales[e]),Ml[e]}var Tl=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({});let Al="en-US";function El(e){var t,i;i="Expected localeId to be defined",null==(t=e)&&function(e,t,i,n){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(i,t),"string"==typeof e&&(Al=e.toLowerCase().replace(/_/g,"-"))}const Il=new Map;class Pl extends Ze{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new bl(this);const i=kt(e),n=e[Ye]||null;n&&El(n),this._bootstrapComponents=Ji(i.bootstrap),this._r3Injector=oa(e,t,[{provide:Ze,useValue:this},{provide:zo,useValue:this.componentFactoryResolver}],be(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=fa.THROW_IF_NOT_FOUND,i=ae.Default){return e===fa||e===Ze||e===Ne?this:this._r3Injector.get(e,t,i)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Yl extends Xe{constructor(e){super(),this.moduleType=e,null!==kt(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,i){if(t&&t!==i)throw new Error(`Duplicate module registered for ${e} - ${be(t)} vs ${be(t.name)}`)})(e,Il.get(e),t),Il.set(e,t)}let i=t.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach(t=>e(t))}(e)}create(e){return new Pl(this.moduleType,e)}}function Ol(e,t,i){const n=ci()+e,s=ei();return s[n]===bs?xa(s,n,i?t.call(i):t()):function(e,t){return e[t]}(s,n)}function Fl(e,t,i,n){return Hl(ei(),ci(),e,t,i,n)}function Rl(e,t,i,n,s){return Vl(ei(),ci(),e,t,i,n,s)}function Nl(e,t,i,n,s,r){return function(e,t,i,n,s,r,a,o){const l=t+i;return Ma(e,l,s,r,a)?xa(e,l+3,o?n.call(o,s,r,a):n(s,r,a)):jl(e,l+3)}(ei(),ci(),e,t,i,n,s,r)}function jl(e,t){const i=e[t];return i===bs?void 0:i}function Hl(e,t,i,n,s,r){const a=t+i;return Ca(e,a,s)?xa(e,a+1,r?n.call(r,s):n(s)):jl(e,a+1)}function Vl(e,t,i,n,s,r,a){const o=t+i;return Sa(e,o,s,r)?xa(e,o+2,a?n.call(a,s,r):n(s,r)):jl(e,o+2)}function Bl(e,t){const i=ti();let n;const s=e+20;i.firstCreatePass?(n=function(e,t){if(t)for(let i=t.length-1;i>=0;i--){const n=t[i];if(e===n.name)return n}throw new Error(`The pipe '${e}' could not be found!`)}(t,i.pipeRegistry),i.data[s]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(s,n.onDestroy)):n=i.data[s];const r=n.factory||(n.factory=wt(n.type)),a=Ue(Ea),o=Zi(!1),l=r();return Zi(o),Ue(a),function(e,t,i,n){const s=i+20;s>=e.data.length&&(e.data[s]=null,e.blueprint[s]=null),t[s]=n}(i,ei(),e,l),l}function zl(e,t,i){const n=ei(),s=Wt(n,e);return $l(n,Ul(n,e)?Hl(n,ci(),t,s.transform,i,s):s.transform(i))}function Wl(e,t,i,n){const s=ei(),r=Wt(s,e);return $l(s,Ul(s,e)?Vl(s,ci(),t,r.transform,i,n,r):r.transform(i,n))}function Ul(e,t){return e[1].data[t+20].pure}function $l(e,t){return va.isWrapped(t)&&(t=va.unwrap(t),e[di()]=bs),t}const Gl=class extends x{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,i){let n,s=e=>null,r=()=>null;e&&"object"==typeof e?(n=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(r=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(n=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),i&&(r=this.__isAsync?()=>{setTimeout(()=>i())}:()=>{i()}));const a=super.subscribe(n,s,r);return e instanceof h&&e.add(a),a}};function ql(){return this._results[ba()]()}class Kl{constructor(){this.dirty=!0,this._results=[],this.changes=new Gl,this.length=0;const e=ba(),t=Kl.prototype;t[e]||(t[e]=ql)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,i){void 0===i&&(i=t);for(let n=0;n<t.length;n++){let s=t[n];Array.isArray(s)?(i===t&&(i=t.slice(0,n)),e(s,i)):i!==t&&i.push(s)}return i}(e),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 Jl{constructor(e){this.queryList=e,this.matches=null}clone(){return new Jl(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ql{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const i=null!==e.contentQueries?e.contentQueries[0]:t.length,n=[];for(let e=0;e<i;e++){const i=t.getByIndex(e);n.push(this.queries[i.indexInDeclarationView].clone())}return new Ql(n)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==pc(e,t).matches&&this.queries[t].setDirty()}}class Zl{constructor(e,t,i,n=null){this.predicate=e,this.descendants=t,this.isStatic=i,this.read=n}}class Xl{constructor(e=[]){this.queries=e}elementStart(e,t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let i=0;i<this.length;i++){const n=null!==t?t.length:0,s=this.getByIndex(i).embeddedTView(e,n);s&&(s.indexInDeclarationView=i,null!==t?t.push(s):t=[s])}return null!==t?new Xl(t):null}template(e,t){for(let i=0;i<this.queries.length;i++)this.queries[i].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class ec{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new ec(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){const t=this._declarationNodeIndex;let i=e.parent;for(;null!==i&&4===i.type&&i.index!==t;)i=i.parent;return t===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const i=this.metadata.predicate;if(Array.isArray(i))for(let n=0;n<i.length;n++){const s=i[n];this.matchTNodeWithReadOption(e,t,tc(t,s)),this.matchTNodeWithReadOption(e,t,cn(t,e,s,!1,!1))}else i===pl?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,cn(t,e,i,!1,!1))}matchTNodeWithReadOption(e,t,i){if(null!==i){const n=this.metadata.read;if(null!==n)if(n===Wo||n===gl||n===pl&&0===t.type)this.addMatch(t.index,-2);else{const i=cn(t,e,n,!1,!1);null!==i&&this.addMatch(t.index,i)}else this.addMatch(t.index,i)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function tc(e,t){const i=e.localNames;if(null!==i)for(let n=0;n<i.length;n+=2)if(i[n]===t)return i[n+1];return null}function ic(e,t,i,n){return-1===i?function(e,t){return 3===e.type||4===e.type?qr(Wo,e,t):0===e.type?Kr(pl,Wo,e,t):null}(t,e):-2===i?function(e,t,i){return i===Wo?qr(Wo,t,e):i===pl?Kr(pl,Wo,t,e):i===gl?Jr(gl,Wo,t,e):void 0}(e,t,n):dn(e,e[1],i,t)}function nc(e,t,i,n){const s=t[19].queries[n];if(null===s.matches){const n=e.data,r=i.matches,a=[];for(let e=0;e<r.length;e+=2){const s=r[e];a.push(s<0?null:ic(t,n[s],r[e+1],i.metadata.read))}s.matches=a}return s.matches}function sc(e){const t=ei(),i=ti(),n=gi();_i(n+1);const s=pc(i,n);if(e.dirty&&Gt(t)===s.metadata.isStatic){if(null===s.matches)e.reset([]);else{const r=s.crossesNgTemplate?function e(t,i,n,s){const r=t.queries.getByIndex(n),a=r.matches;if(null!==a){const o=nc(t,i,r,n);for(let t=0;t<a.length;t+=2){const n=a[t];if(n>0)s.push(o[t/2]);else{const r=a[t+1],o=i[-n];for(let t=10;t<o.length;t++){const i=o[t];i[17]===i[3]&&e(i[1],i,r,s)}if(null!==o[9]){const t=o[9];for(let i=0;i<t.length;i++){const n=t[i];e(n[1],n,r,s)}}}}}return s}(i,t,n,[]):nc(i,t,s,n);e.reset(r),e.notifyOnChanges()}return!0}return!1}function rc(e,t,i){oc(ti(),ei(),e,t,i,!0)}function ac(e,t,i){oc(ti(),ei(),e,t,i,!1)}function oc(e,t,i,n,s,r){e.firstCreatePass&&(mc(e,new Zl(i,n,r,s),-1),r&&(e.staticViewQueries=!0)),uc(e,t)}function lc(e,t,i,n){dc(ti(),ei(),t,i,n,!1,ni(),e)}function cc(e,t,i,n){dc(ti(),ei(),t,i,n,!0,ni(),e)}function dc(e,t,i,n,s,r,a,o){e.firstCreatePass&&(mc(e,new Zl(i,n,r,s),a.index),function(e,t){const i=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?i[i.length-1]:-1)&&i.push(e.queries.length-1,t)}(e,o),r&&(e.staticContentQueries=!0)),uc(e,t)}function hc(){return e=ei(),t=gi(),e[19].queries[t].queryList;var e,t}function uc(e,t){const i=new Kl;Us(e,t,i,i.destroy),null===t[19]&&(t[19]=new Ql),t[19].queries.push(new Jl(i))}function mc(e,t,i){null===e.queries&&(e.queries=new Xl),e.queries.track(new ec(t,i))}function pc(e,t){return e.queries.getByIndex(t)}function fc(e,t){return Kr(pl,Wo,e,t)}const gc=new Re("Application Initializer");let _c=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const t=this.appInits[i]();Ba(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(Ge(gc,8))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();const yc=new Re("AppId"),bc={provide:yc,useFactory:function(){return`${vc()}${vc()}${vc()}`},deps:[]};function vc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const wc=new Re("Platform Initializer"),kc=new Re("Platform ID"),xc=new Re("appBootstrapListener");let Cc=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();const Sc=new Re("LocaleId"),Mc=new Re("DefaultCurrencyCode");class Dc{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const Lc=function(e){return new Yl(e)},Tc=Lc,Ac=function(e){return Promise.resolve(Lc(e))},Ec=function(e){const t=Lc(e),i=Ji(kt(e).declarations).reduce((e,t)=>{const i=vt(t);return i&&e.push(new kl(i)),e},[]);return new Dc(t,i)},Ic=Ec,Pc=function(e){return Promise.resolve(Ec(e))};let Yc=(()=>{class e{constructor(){this.compileModuleSync=Tc,this.compileModuleAsync=Ac,this.compileModuleAndAllComponentsSync=Ic,this.compileModuleAndAllComponentsAsync=Pc}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();const Oc=(()=>Promise.resolve(0))();function Fc(e){"undefined"==typeof Zone?Oc.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Rc{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Gl(!1),this.onMicrotaskEmpty=new Gl(!1),this.onStable=new Gl(!1),this.onError=new Gl(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=t,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=Te.requestAnimationFrame,t=Te.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Te,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Vc(e),Hc(e)},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Vc(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(i,n,s,r,a,o)=>{try{return Bc(e),i.invokeTask(s,r,a,o)}finally{t&&"eventTask"===r.type&&t(),zc(e)}},onInvoke:(t,i,n,s,r,a,o)=>{try{return Bc(e),t.invoke(n,s,r,a,o)}finally{zc(e)}},onHasTask:(t,i,n,s)=>{t.hasTask(n,s),i===n&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Vc(e),Hc(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(t,i,n,s)=>(t.handleError(n,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Rc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Rc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,i){return this._inner.run(e,t,i)}runTask(e,t,i,n){const s=this._inner,r=s.scheduleEventTask("NgZoneEvent: "+n,e,jc,Nc,Nc);try{return s.runTask(r,t,i)}finally{s.cancelTask(r)}}runGuarded(e,t,i){return this._inner.runGuarded(e,t,i)}runOutsideAngular(e){return this._outer.run(e)}}function Nc(){}const jc={};function Hc(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Vc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Bc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function zc(e){e._nesting--,Hc(e)}class Wc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Gl,this.onMicrotaskEmpty=new Gl,this.onStable=new Gl,this.onError=new Gl}run(e,t,i){return e.apply(t,i)}runGuarded(e,t,i){return e.apply(t,i)}runOutsideAngular(e){return e()}runTask(e,t,i,n){return e.apply(t,i)}}let Uc=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.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:()=>{Rc.assertNotInAngularZone(),Fc(()=>{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())Fc(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,i){let n=-1;t&&t>0&&(n=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==n),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:n,updateCb:i})}whenStable(e,t,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,i){return[]}}return e.\u0275fac=function(t){return new(t||e)(Ge(Rc))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),$c=(()=>{class e{constructor(){this._applications=new Map,Kc.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Kc.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();class Gc{addToWindow(e){}findTestabilityInTree(e,t,i){return null}}let qc,Kc=new Gc;const Jc=new Re("AllowMultipleToken");class Qc{constructor(e,t){this.name=e,this.token=t}}function Zc(e,t,i=[]){const n="Platform: "+t,s=new Re(n);return(t=[])=>{let r=Xc();if(!r||r.injector.get(Jc,!1))if(e)e(i.concat(t).concat({provide:s,useValue:!0}));else{const e=i.concat(t).concat({provide:s,useValue:!0},{provide:ta,useValue:"platform"});!function(e){if(qc&&!qc.destroyed&&!qc.injector.get(Jc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");qc=e.get(ed);const t=e.get(wc,null);t&&t.forEach(e=>e())}(fa.create({providers:e,name:n}))}return function(e){const t=Xc();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function Xc(){return qc&&!qc.destroyed?qc:null}let ed=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const i=function(e,t){let i;return i="noop"===e?new Wc:("zone.js"===e?void 0:e)||new Rc({enableLongStackTrace:En(),shouldCoalesceEventChangeDetection:t}),i}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),n=[{provide:Rc,useValue:i}];return i.run(()=>{const t=fa.create({providers:n,parent:this.injector,name:e.moduleType.name}),s=e.create(t),r=s.injector.get(bn,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>nd(this._modules,s)),i.runOutsideAngular(()=>i.onError.subscribe({next:e=>{r.handleError(e)}})),function(e,t,i){try{const n=i();return Ba(n)?n.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):n}catch(n){throw t.runOutsideAngular(()=>e.handleError(n)),n}}(r,i,()=>{const e=s.injector.get(_c);return e.runInitializers(),e.donePromise.then(()=>(El(s.injector.get(Sc,"en-US")||"en-US"),this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const i=td({},t);return function(e,t,i){const n=new Yl(i);return Promise.resolve(n)}(0,0,e).then(e=>this.bootstrapModuleFactory(e,i))}_moduleDoBootstrap(e){const t=e.injector.get(id);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${be(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(Ge(fa))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();function td(e,t){return Array.isArray(t)?t.reduce(td,e):Object.assign(Object.assign({},e),t)}let id=(()=>{class e{constructor(e,t,i,n,s,r){this._zone=e,this._console=t,this._injector=i,this._exceptionHandler=n,this._componentFactoryResolver=s,this._initStatus=r,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=En(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),o=new y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Rc.assertNotInAngularZone(),Fc(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const i=this._zone.onUnstable.subscribe(()=>{Rc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),i.unsubscribe()}});this.isStable=U(a,o.pipe(X()))}bootstrap(e,t){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 i;i=e instanceof Vo?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(i.componentType);const n=i.isBoundToModule?void 0:this._injector.get(Ze),s=i.create(fa.NULL,[],t||i.selector,n);s.onDestroy(()=>{this._unloadComponent(s)});const r=s.injector.get(Uc,null);return r&&s.injector.get($c).registerApplication(s.location.nativeElement,r),this._loadComponent(s),En()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;nd(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(xc,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),nd(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(Ge(Rc),Ge(Cc),Ge(fa),Ge(bn),Ge(zo),Ge(_c))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();function nd(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}class sd{}class rd{}const ad={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let od=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||ad}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,n]=e.split("#");return void 0===n&&(n="default"),i("zn8P")(t).then(e=>e[n]).then(e=>ld(e,t,n)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,n]=e.split("#"),s="NgFactory";return void 0===n&&(n="default",s=""),i("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[n+s]).then(e=>ld(e,t,n))}}return e.\u0275fac=function(t){return new(t||e)(Ge(Yc),Ge(rd,8))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();function ld(e,t,i){if(!e)throw new Error(`Cannot find '${i}' in '${t}'`);return e}const cd=Zc(null,"core",[{provide:kc,useValue:"unknown"},{provide:ed,deps:[fa]},{provide:$c,deps:[]},{provide:Cc,deps:[]}]),dd=[{provide:id,useClass:id,deps:[Rc,Cc,fa,bn,zo,_c]},{provide:wl,deps:[Rc],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:_c,useClass:_c,deps:[[new ne,gc]]},{provide:Yc,useClass:Yc,deps:[]},bc,{provide:cl,useFactory:function(){return ul},deps:[]},{provide:dl,useFactory:function(){return ml},deps:[]},{provide:Sc,useFactory:function(e){return El(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new ie(Sc),new ne,new re]]},{provide:Mc,useValue:"USD"}];let hd=(()=>{class e{constructor(e){}}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)(Ge(id))},providers:dd}),e})(),ud=null;function md(){return ud}const pd=new Re("DocumentToken");let fd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({factory:gd,token:e,providedIn:"platform"}),e})();function gd(){return Ge(yd)}const _d=new Re("Location Initialized");let yd=(()=>{class e extends fd{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=md().getLocation(),this._history=md().getHistory()}getBaseHrefFromDOM(){return md().getBaseHref(this._doc)}onPopState(e){md().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){md().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!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(e){this.location.pathname=e}pushState(e,t,i){bd()?this._history.pushState(e,t,i):this.location.hash=i}replaceState(e,t,i){bd()?this._history.replaceState(e,t,i):this.location.hash=i}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(Ge(pd))},e.\u0275prov=ce({factory:vd,token:e,providedIn:"platform"}),e})();function bd(){return!!window.history.pushState}function vd(){return new yd(Ge(pd))}function wd(e,t){if(0==e.length)return t;if(0==t.length)return e;let i=0;return e.endsWith("/")&&i++,t.startsWith("/")&&i++,2==i?e+t.substring(1):1==i?e+t:e+"/"+t}function kd(e){const t=e.match(/#|\?|$/),i=t&&t.index||e.length;return e.slice(0,i-("/"===e[i-1]?1:0))+e.slice(i)}function xd(e){return e&&"?"!==e[0]?"?"+e:e}let Cd=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({factory:Sd,token:e,providedIn:"root"}),e})();function Sd(e){const t=Ge(pd).location;return new Dd(Ge(fd),t&&t.origin||"")}const Md=new Re("appBaseHref");let Dd=(()=>{class e extends Cd{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)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=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return wd(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+xd(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${t}${i}`:t}pushState(e,t,i,n){const s=this.prepareExternalUrl(i+xd(n));this._platformLocation.pushState(e,t,s)}replaceState(e,t,i,n){const s=this.prepareExternalUrl(i+xd(n));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(Ge(fd),Ge(Md,8))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),Ld=(()=>{class e extends Cd{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=wd(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,i,n){let s=this.prepareExternalUrl(i+xd(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,t,s)}replaceState(e,t,i,n){let s=this.prepareExternalUrl(i+xd(n));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(Ge(fd),Ge(Md,8))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),Td=(()=>{class e{constructor(e,t){this._subject=new Gl,this._urlChangeListeners=[],this._platformStrategy=e;const i=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=kd(Ed(i)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+xd(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Ed(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",i=null){this._platformStrategy.pushState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xd(t)),i)}replaceState(e,t="",i=null){this._platformStrategy.replaceState(i,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+xd(t)),i)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}))}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(i=>i(e,t))}subscribe(e,t,i){return this._subject.subscribe({next:e,error:t,complete:i})}}return e.\u0275fac=function(t){return new(t||e)(Ge(Cd),Ge(fd))},e.normalizeQueryParams=xd,e.joinWithSlash=wd,e.stripTrailingSlash=kd,e.\u0275prov=ce({factory:Ad,token:e,providedIn:"root"}),e})();function Ad(){return new Td(Ge(Cd),Ge(fd))}function Ed(e){return e.replace(/\/index.html$/,"")}const Id={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Pd=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}({}),Yd=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),Od=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function Fd(e,t){const i=Dl(e),n=i[Tl.NumberSymbols][t];if(void 0===n){if(t===Od.CurrencyDecimal)return i[Tl.NumberSymbols][Od.Decimal];if(t===Od.CurrencyGroup)return i[Tl.NumberSymbols][Od.Group]}return n}const Rd=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Nd(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class jd{}let Hd=(()=>{class e extends jd{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(function(e){return Dl(e)[Tl.PluralCase]}(t||this.locale)(e)){case Yd.Zero:return"zero";case Yd.One:return"one";case Yd.Two:return"two";case Yd.Few:return"few";case Yd.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(Ge(Sc))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();function Vd(e,t){t=encodeURIComponent(t);for(const i of e.split(";")){const e=i.indexOf("="),[n,s]=-1==e?[i,""]:[i.slice(0,e),i.slice(e+1)];if(n.trim()===t)return decodeURIComponent(s)}return null}let Bd=(()=>{class e{constructor(e,t,i,n){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=i,this._renderer=n,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(wa(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+be(e.item));this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(Ea(cl),Ea(dl),Ea(Wo),Ea(qo))},e.\u0275dir=yt({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class zd{constructor(e,t,i,n){this.$implicit=e,this.ngForOf=t,this.index=i,this.count=n}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 Wd=(()=>{class e{constructor(e,t,i){this._viewContainer=e,this._template=t,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){En()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const i=this._ngForOf;if(!this._differ&&i)try{this._differ=this._differs.find(i).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${i}' of type '${e=i,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,i,n)=>{if(null==e.previousIndex){const i=this._viewContainer.createEmbeddedView(this._template,new zd(null,this._ngForOf,-1,-1),null===n?void 0:n),s=new Ud(e,i);t.push(s)}else if(null==n)this._viewContainer.remove(null===i?void 0:i);else if(null!==i){const s=this._viewContainer.get(i);this._viewContainer.move(s,n);const r=new Ud(e,s);t.push(r)}});for(let i=0;i<t.length;i++)this._perViewChange(t[i].view,t[i].record);for(let i=0,n=this._viewContainer.length;i<n;i++){const e=this._viewContainer.get(i);e.context.index=i,e.context.count=n,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(Ea(gl),Ea(pl),Ea(cl))},e.\u0275dir=yt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class Ud{constructor(e,t){this.record=e,this.view=t}}let $d=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new Gd,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){qd("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){qd("ngIfElse",e),this._elseTemplateRef=e,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(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(Ea(gl),Ea(pl))},e.\u0275dir=yt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class Gd{constructor(){this.$implicit=null,this.ngIf=null}}function qd(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${be(t)}'.`)}class Kd{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let Jd=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e})(),Qd=(()=>{class e{constructor(e,t,i){this.ngSwitch=i,i._addCase(),this._view=new Kd(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(Ea(gl),Ea(pl),Ea(Jd,1))},e.\u0275dir=yt({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),Zd=(()=>{class e{constructor(e,t,i){i._addDefault(new Kd(e,t))}}return e.\u0275fac=function(t){return new(t||e)(Ea(gl),Ea(pl),Ea(Jd,1))},e.\u0275dir=yt({type:e,selectors:[["","ngSwitchDefault",""]]}),e})(),Xd=(()=>{class e{constructor(e,t,i){this._ngEl=e,this._differs=t,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[i,n]=e.split(".");null!=(t=null!=t&&n?`${t}${n}`:t)?this._renderer.setStyle(this._ngEl.nativeElement,i,t):this._renderer.removeStyle(this._ngEl.nativeElement,i)}_applyChanges(e){e.forEachRemovedItem(e=>this._setStyle(e.key,null)),e.forEachAddedItem(e=>this._setStyle(e.key,e.currentValue)),e.forEachChangedItem(e=>this._setStyle(e.key,e.currentValue))}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(dl),Ea(qo))},e.\u0275dir=yt({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e})();function eh(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${be(e)}'`)}class th{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class ih{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const nh=new ih,sh=new th;let rh=(()=>{class e{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(t){if(Ba(t))return nh;if(za(t))return sh;throw eh(e,t)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(function(e=ae.Default){const t=Qr(!0);if(null!=t||e&ae.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}())},e.\u0275pipe=bt({name:"async",type:e,pure:!1}),e})(),ah=(()=>{class e{constructor(e){this.differs=e,this.keyValues=[]}transform(e,t=oh){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const i=this.differ.diff(e);return i&&(this.keyValues=[],i.forEachItem(e=>{this.keyValues.push({key:e.key,value:e.currentValue})}),this.keyValues.sort(t)),this.keyValues}}return e.\u0275fac=function(t){return new(t||e)(Ea(dl))},e.\u0275pipe=bt({name:"keyvalue",type:e,pure:!1}),e})();function oh(e,t){const i=e.key,n=t.key;if(i===n)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(null===i)return 1;if(null===n)return-1;if("string"==typeof i&&"string"==typeof n)return i<n?-1:1;if("number"==typeof i&&"number"==typeof n)return i-n;if("boolean"==typeof i&&"boolean"==typeof n)return i<n?-1:1;const s=String(i),r=String(n);return s==r?0:s<r?-1:1}let lh=(()=>{class e{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(t,i,n="symbol",s,r){if(function(e){return null==e||""===e||e!=e}(t))return null;r=r||this._locale,"boolean"==typeof n&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),n=n?"symbol":"code");let a=i||this._defaultCurrencyCode;"code"!==n&&(a="symbol"===n||"symbol-narrow"===n?function(e,t,i="en"){const n=function(e){return Dl(e)[Tl.Currencies]}(i)[e]||Id[e]||[],s=n[1];return"narrow"===t&&"string"==typeof s?s:n[0]||e}(a,"symbol"===n?"wide":"narrow",r):n);try{return function(e,t,i,n,s){const r=function(e,t="-"){const i={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(";"),s=n[0],r=n[1],a=-1!==s.indexOf(".")?s.split("."):[s.substring(0,s.lastIndexOf("0")+1),s.substring(s.lastIndexOf("0")+1)],o=a[0],l=a[1]||"";i.posPre=o.substr(0,o.indexOf("#"));for(let d=0;d<l.length;d++){const e=l.charAt(d);"0"===e?i.minFrac=i.maxFrac=d+1:"#"===e?i.maxFrac=d+1:i.posSuf+=e}const c=o.split(",");if(i.gSize=c[1]?c[1].length:0,i.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,r){const e=s.length-i.posPre.length-i.posSuf.length,t=r.indexOf("#");i.negPre=r.substr(0,t).replace(/'/g,""),i.negSuf=r.substr(t+e).replace(/'/g,"")}else i.negPre=t+i.posPre,i.negSuf=i.posSuf;return i}(function(e,t){return Dl(e)[Tl.NumberFormats][t]}(t,Pd.Currency),Fd(t,Od.MinusSign));return r.minFrac=function(e){let t;const i=Id[e];return i&&(t=i[2]),"number"==typeof t?t:2}(n),r.maxFrac=r.minFrac,function(e,t,i,n,s,r,a=!1){let o="",l=!1;if(isFinite(e)){let c=function(e){let t,i,n,s,r,a=Math.abs(e)+"",o=0;for((i=a.indexOf("."))>-1&&(a=a.replace(".","")),(n=a.search(/e/i))>0?(i<0&&(i=n),i+=+a.slice(n+1),a=a.substring(0,n)):i<0&&(i=a.length),n=0;"0"===a.charAt(n);n++);if(n===(r=a.length))t=[0],i=1;else{for(r--;"0"===a.charAt(r);)r--;for(i-=n,t=[],s=0;n<=r;n++,s++)t[s]=Number(a.charAt(n))}return i>22&&(t=t.splice(0,21),o=i-1,i=1),{digits:t,exponent:o,integerLen:i}}(e);a&&(c=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(c));let d=t.minInt,h=t.minFrac,u=t.maxFrac;if(r){const e=r.match(Rd);if(null===e)throw new Error(r+" is not a valid digit info");const t=e[1],i=e[3],n=e[5];null!=t&&(d=Nd(t)),null!=i&&(h=Nd(i)),null!=n?u=Nd(n):null!=i&&h>u&&(u=h)}!function(e,t,i){if(t>i)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${i}).`);let n=e.digits,s=n.length-e.integerLen;const r=Math.min(Math.max(t,s),i);let a=r+e.integerLen,o=n[a];if(a>0){n.splice(Math.max(e.integerLen,a));for(let e=a;e<n.length;e++)n[e]=0}else{s=Math.max(0,s),e.integerLen=1,n.length=Math.max(1,a=r+1),n[0]=0;for(let e=1;e<a;e++)n[e]=0}if(o>=5)if(a-1<0){for(let t=0;t>a;t--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[a-1]++;for(;s<Math.max(0,r);s++)n.push(0);let l=0!==r;const c=t+e.integerLen,d=n.reduceRight((function(e,t,i,n){return n[i]=(t+=e)<10?t:t-10,l&&(0===n[i]&&i>=c?n.pop():l=!1),t>=10?1:0}),0);d&&(n.unshift(d),e.integerLen++)}(c,h,u);let m=c.digits,p=c.integerLen;const f=c.exponent;let g=[];for(l=m.every(e=>!e);p<d;p++)m.unshift(0);for(;p<0;p++)m.unshift(0);p>0?g=m.splice(p,m.length):(g=m,m=[0]);const _=[];for(m.length>=t.lgSize&&_.unshift(m.splice(-t.lgSize,m.length).join(""));m.length>t.gSize;)_.unshift(m.splice(-t.gSize,m.length).join(""));m.length&&_.unshift(m.join("")),o=_.join(Fd(i,n)),g.length&&(o+=Fd(i,s)+g.join("")),f&&(o+=Fd(i,Od.Exponential)+"+"+f)}else o=Fd(i,Od.Infinity);return o=e<0&&!l?t.negPre+o+t.negSuf:t.posPre+o+t.posSuf,o}(e,r,t,Od.CurrencyGroup,Od.CurrencyDecimal,s).replace("\xa4",i).replace("\xa4","").trim()}(function(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(e+" is not a number");return e}(t),r,a,i,s)}catch(o){throw eh(e,o.message)}}}return e.\u0275fac=function(t){return new(t||e)(Ea(Sc),Ea(Mc))},e.\u0275pipe=bt({name:"currency",type:e,pure:!0}),e})(),ch=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[{provide:jd,useClass:Hd}]}),e})();function dh(e){return"browser"===e}function hh(e){return"server"===e}let uh=(()=>{class e{}return e.\u0275prov=ce({token:e,providedIn:"root",factory:()=>new mh(Ge(pd),window,Ge(bn))}),e})();class mh{constructor(e,t,i){this.document=e,this.window=t,this.errorHandler=i,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportsScrolling()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportsScrolling()){const t=this.document.getElementById(e)||this.document.getElementsByName(e)[0];t&&this.scrollToElement(t)}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),i=t.left+this.window.pageXOffset,n=t.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],n-s[1])}supportScrollRestoration(){try{if(!this.window||!this.window.scrollTo)return!1;const e=ph(this.window.history)||ph(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(e){return!1}}supportsScrolling(){try{return!!this.window.scrollTo}catch(e){return!1}}}function ph(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class fh extends class extends class{}{constructor(){super()}supportsDOMEvents(){return!0}}{static makeCurrent(){var e;e=new fh,ud||(ud=e)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,i){return e.addEventListener(t,i,!1),()=>{e.removeEventListener(t,i,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=_h||(_h=document.querySelector("base"),_h)?_h.getAttribute("href"):null;return null==t?null:(i=t,gh||(gh=document.createElement("a")),gh.setAttribute("href",i),"/"===gh.pathname.charAt(0)?gh.pathname:"/"+gh.pathname);var i}resetBaseElement(){_h=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Vd(document.cookie,e)}}let gh,_h=null;const yh=new Re("TRANSITION_ID"),bh=[{provide:gc,useFactory:function(e,t,i){return()=>{i.get(_c).donePromise.then(()=>{const i=md();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>i.remove(e))})}},deps:[yh,pd,fa],multi:!0}];class vh{static init(){var e;e=new vh,Kc=e}addToWindow(e){Te.getAngularTestability=(t,i=!0)=>{const n=e.findTestabilityInTree(t,i);if(null==n)throw new Error("Could not find testability for element.");return n},Te.getAllAngularTestabilities=()=>e.getAllTestabilities(),Te.getAllAngularRootElements=()=>e.getAllRootElements(),Te.frameworkStabilizers||(Te.frameworkStabilizers=[]),Te.frameworkStabilizers.push(e=>{const t=Te.getAllAngularTestabilities();let i=t.length,n=!1;const s=function(t){n=n||t,i--,0==i&&e(n)};t.forEach((function(e){e.whenStable(s)}))})}findTestabilityInTree(e,t,i){if(null==t)return null;const n=e.getTestability(t);return null!=n?n:i?md().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const wh=new Re("EventManagerPlugins");let kh=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,i){return this._findPluginFor(t).addEventListener(e,t,i)}addGlobalEventListener(e,t,i){return this._findPluginFor(t).addGlobalEventListener(e,t,i)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const i=this._plugins;for(let n=0;n<i.length;n++){const t=i[n];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)(Ge(wh),Ge(Rc))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();class xh{constructor(e){this._doc=e}addGlobalEventListener(e,t,i){const n=md().getGlobalEventTarget(this._doc,e);if(!n)throw new Error(`Unsupported event target ${n} for event ${t}`);return this.addEventListener(n,t,i)}}let Ch=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),Sh=(()=>{class e extends Ch{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const i=this._doc.createElement("style");i.textContent=e,this._styleNodes.add(t.appendChild(i))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>md().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(Ge(pd))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();const Mh={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/"},Dh=/%COMP%/g;function Lh(e,t,i){for(let n=0;n<t.length;n++){let s=t[n];Array.isArray(s)?Lh(e,s,i):(s=s.replace(Dh,e),i.push(s))}return i}function Th(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Ah=(()=>{class e{constructor(e,t,i){this.eventManager=e,this.sharedStylesHost=t,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new Eh(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case lt.Emulated:{let i=this.rendererByCompId.get(t.id);return i||(i=new Ih(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,i)),i.applyToHost(e),i}case lt.Native:case lt.ShadowDom:return new Ph(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Lh(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(Ge(kh),Ge(Sh),Ge(yc))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();class Eh{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(Mh[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,i){e&&e.insertBefore(t,i)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let i="string"==typeof e?document.querySelector(e):e;if(!i)throw new Error(`The selector "${e}" did not match any elements`);return t||(i.textContent=""),i}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,i,n){if(n){t=n+":"+t;const s=Mh[n];s?e.setAttributeNS(s,t,i):e.setAttribute(t,i)}else e.setAttribute(t,i)}removeAttribute(e,t,i){if(i){const n=Mh[i];n?e.removeAttributeNS(n,t):e.removeAttribute(`${i}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,i,n){n&Go.DashCase?e.style.setProperty(t,i,n&Go.Important?"important":""):e.style[t]=i}removeStyle(e,t,i){i&Go.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,i){e[t]=i}setValue(e,t){e.nodeValue=t}listen(e,t,i){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Th(i)):this.eventManager.addEventListener(e,t,Th(i))}}class Ih extends Eh{constructor(e,t,i,n){super(e),this.component=i;const s=Lh(n+"-"+i.id,i.styles,[]);t.addStyles(s),this.contentAttr="_ngcontent-%COMP%".replace(Dh,n+"-"+i.id),this.hostAttr="_nghost-%COMP%".replace(Dh,n+"-"+i.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const i=super.createElement(e,t);return super.setAttribute(i,this.contentAttr,""),i}}class Ph extends Eh{constructor(e,t,i,n){super(e),this.sharedStylesHost=t,this.hostEl=i,this.component=n,this.shadowRoot=n.encapsulation===lt.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=Lh(n.id,n.styles,[]);for(let r=0;r<s.length;r++){const e=document.createElement("style");e.textContent=s[r],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,i){return super.insertBefore(this.nodeOrShadowRoot(e),t,i)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let Yh=(()=>{class e extends xh{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,i){return e.addEventListener(t,i,!1),()=>this.removeEventListener(e,t,i)}removeEventListener(e,t,i){return e.removeEventListener(t,i)}}return e.\u0275fac=function(t){return new(t||e)(Ge(pd))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();const Oh=["alt","control","meta","shift"],Fh={"\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"},Rh={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"},Nh={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let jh=(()=>{class e extends xh{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,i,n){const s=e.parseEventName(i),r=e.eventCallback(s.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>md().onAndCancel(t,s.domEventName,r))}static parseEventName(t){const i=t.toLowerCase().split("."),n=i.shift();if(0===i.length||"keydown"!==n&&"keyup"!==n)return null;const s=e._normalizeKey(i.pop());let r="";if(Oh.forEach(e=>{const t=i.indexOf(e);t>-1&&(i.splice(t,1),r+=e+".")}),r+=s,0!=i.length||0===s.length)return null;const a={};return a.domEventName=n,a.fullKey=r,a}static getEventFullKey(e){let t="",i=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Rh.hasOwnProperty(t)&&(t=Rh[t]))}return Fh[t]||t}(e);return i=i.toLowerCase()," "===i?i="space":"."===i&&(i="dot"),Oh.forEach(n=>{n!=i&&(0,Nh[n])(e)&&(t+=n+".")}),t+=i,t}static eventCallback(t,i,n){return s=>{e.getEventFullKey(s)===t&&n.runGuarded(()=>i(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(Ge(pd))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),Hh=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({factory:function(){return Ge(Vh)},token:e,providedIn:"root"}),e})(),Vh=(()=>{class e extends Hh{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case ts.NONE:return t;case ts.HTML:return Dn(t,"HTML")?Mn(t):Xn(this._doc,String(t));case ts.STYLE:return Dn(t,"Style")?Mn(t):t;case ts.SCRIPT:if(Dn(t,"Script"))return Mn(t);throw new Error("unsafe value used in a script context");case ts.URL:return Ln(t),Dn(t,"URL")?Mn(t):Fn(String(t));case ts.RESOURCE_URL:if(Dn(t,"ResourceURL"))return Mn(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return new wn(e)}bypassSecurityTrustStyle(e){return new kn(e)}bypassSecurityTrustScript(e){return new xn(e)}bypassSecurityTrustUrl(e){return new Cn(e)}bypassSecurityTrustResourceUrl(e){return new Sn(e)}}return e.\u0275fac=function(t){return new(t||e)(Ge(pd))},e.\u0275prov=ce({factory:function(){return e=Ge(Ne),new Vh(e.get(pd));var e},token:e,providedIn:"root"}),e})();const Bh=Zc(cd,"browser",[{provide:kc,useValue:"browser"},{provide:wc,useValue:function(){fh.makeCurrent(),vh.init()},multi:!0},{provide:pd,useFactory:function(){return function(e){Ft=e}(document),document},deps:[]}]),zh=[[],{provide:ta,useValue:"root"},{provide:bn,useFactory:function(){return new bn},deps:[]},{provide:wh,useClass:Yh,multi:!0,deps:[pd,Rc,kc]},{provide:wh,useClass:jh,multi:!0,deps:[pd]},[],{provide:Ah,useClass:Ah,deps:[kh,Sh,yc]},{provide:$o,useExisting:Ah},{provide:Ch,useExisting:Sh},{provide:Sh,useClass:Sh,deps:[pd]},{provide:Uc,useClass:Uc,deps:[Rc]},{provide:kh,useClass:kh,deps:[wh,Rc]},[]];let Wh=(()=>{class e{constructor(e){if(e)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(t){return{ngModule:e,providers:[{provide:yc,useValue:t.appId},{provide:yh,useExisting:yc},bh]}}}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)(Ge(e,12))},providers:zh,imports:[ch,hd]}),e})();function Uh(...e){let t=e[e.length-1];return S(t)?(e.pop(),N(e,t)):W(e)}"undefined"!=typeof window&&window;class $h extends x{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new v;return this._value}next(e){super.next(this._value=e)}}const Gh=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})(),qh={};function Kh(...e){let t=null,i=null;return S(e[e.length-1])&&(i=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&l(e[0])&&(e=e[0]),W(e,i).lift(new Jh(t))}class Jh{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new Qh(e,this.resultSelector))}}class Qh extends Y{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(qh),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let i=0;i<t;i++){const t=e[i];this.add(P(this,t,t,i))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,i,n,s){const r=this.values,a=this.toRespond?r[i]===qh?--this.toRespond:this.toRespond:0;r[i]=t,0===a&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(i){return void this.destination.error(i)}this.destination.next(t)}}const Zh=new y(e=>e.complete());function Xh(e){return e?function(e){return new y(t=>e.schedule(()=>t.complete()))}(e):Zh}function eu(e){return new y(t=>{let i;try{i=e()}catch(n){return void t.error(n)}return(i?j(i):Xh()).subscribe(t)})}function tu(){return z(1)}function iu(e,t){return function(i){return i.lift(new nu(e,t))}}class nu{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new su(e,this.predicate,this.thisArg))}}class su extends p{constructor(e,t,i){super(e),this.predicate=t,this.thisArg=i,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(i){return void this.destination.error(i)}t&&this.destination.next(e)}}const ru=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function au(e){return function(t){return 0===e?Xh():t.lift(new ou(e))}}class ou{constructor(e){if(this.total=e,this.total<0)throw new ru}call(e,t){return t.subscribe(new lu(e,this.total))}}class lu extends p{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,i=this.total,n=this.count++;t.length<i?t.push(e):t[n%i]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const i=this.count>=this.total?this.total:this.count,n=this.ring;for(let s=0;s<i;s++){const s=t++%i;e.next(n[s])}}e.complete()}}function cu(e=uu){return t=>t.lift(new du(e))}class du{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new hu(e,this.errorFactory))}}class hu extends p{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function uu(){return new Gh}function mu(e=null){return t=>t.lift(new pu(e))}class pu{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new fu(e,this.defaultValue))}}class fu extends p{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}function gu(e){return function(t){const i=new _u(e),n=t.lift(i);return i.caught=n}}class _u{constructor(e){this.selector=e}call(e,t){return t.subscribe(new yu(e,this.selector,this.caught))}}class yu extends Y{constructor(e,t,i){super(e),this.selector=t,this.caught=i}error(e){if(!this.isStopped){let i;try{i=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const n=new M(this,void 0,void 0);this.add(n);const s=P(this,i,void 0,void 0,n);s!==n&&this.add(s)}}}function bu(e){return t=>0===e?Xh():t.lift(new vu(e))}class vu{constructor(e){if(this.total=e,this.total<0)throw new ru}call(e,t){return t.subscribe(new wu(e,this.total))}}class wu extends p{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,i=++this.count;i<=t&&(this.destination.next(e),i===t&&(this.destination.complete(),this.unsubscribe()))}}function ku(e,t){const i=arguments.length>=2;return n=>n.pipe(e?iu((t,i)=>e(t,i,n)):_,bu(1),i?mu(t):cu(()=>new Gh))}function xu(){}function Cu(e,t,i){return function(n){return n.lift(new Su(e,t,i))}}class Su{constructor(e,t,i){this.nextOrObserver=e,this.error=t,this.complete=i}call(e,t){return t.subscribe(new Mu(e,this.nextOrObserver,this.error,this.complete))}}class Mu extends p{constructor(e,t,i,s){super(e),this._tapNext=xu,this._tapError=xu,this._tapComplete=xu,this._tapError=i||xu,this._tapComplete=s||xu,n(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||xu,this._tapError=t.error||xu,this._tapComplete=t.complete||xu)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}class Du{constructor(e,t,i){this.predicate=e,this.thisArg=t,this.source=i}call(e,t){return t.subscribe(new Lu(e,this.predicate,this.thisArg,this.source))}}class Lu extends p{constructor(e,t,i,n){super(e),this.predicate=t,this.thisArg=i,this.source=n,this.index=0,this.thisArg=i||this}notifyComplete(e){this.destination.next(e),this.destination.complete()}_next(e){let t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(i){return void this.destination.error(i)}t||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}function Tu(e,t){return"function"==typeof t?i=>i.pipe(Tu((i,n)=>j(e(i,n)).pipe(O((e,s)=>t(i,e,n,s))))):t=>t.lift(new Au(e))}class Au{constructor(e){this.project=e}call(e,t){return t.subscribe(new Eu(e,this.project))}}class Eu extends Y{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const i=this.index++;try{t=this.project(e,i)}catch(n){return void this.destination.error(n)}this._innerSub(t,e,i)}_innerSub(e,t,i){const n=this.innerSubscription;n&&n.unsubscribe();const s=new M(this,t,i),r=this.destination;r.add(s),this.innerSubscription=P(this,e,void 0,void 0,s),this.innerSubscription!==s&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,i,n,s){this.destination.next(t)}}function Iu(...e){return tu()(Uh(...e))}function Pu(...e){const t=e[e.length-1];return S(t)?(e.pop(),i=>Iu(e,i,t)):t=>Iu(e,t)}class Yu{constructor(e,t,i=!1){this.accumulator=e,this.seed=t,this.hasSeed=i}call(e,t){return t.subscribe(new Ou(e,this.accumulator,this.seed,this.hasSeed))}}class Ou extends p{constructor(e,t,i,n){super(e),this.accumulator=t,this._seed=i,this.hasSeed=n,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let i;try{i=this.accumulator(this.seed,e,t)}catch(n){this.destination.error(n)}this.seed=i,this.destination.next(i)}}function Fu(e,t){return H(e,t,1)}function Ru(e){return t=>t.lift(new Nu(e))}class Nu{constructor(e){this.callback=e}call(e,t){return t.subscribe(new ju(e,this.callback))}}class ju extends p{constructor(e,t){super(e),this.add(new h(t))}}class Hu{constructor(e,t){this.id=e,this.url=t}}class Vu extends Hu{constructor(e,t,i="imperative",n=null){super(e,t),this.navigationTrigger=i,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Bu extends Hu{constructor(e,t,i){super(e,t),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class zu extends Hu{constructor(e,t,i){super(e,t),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Wu extends Hu{constructor(e,t,i){super(e,t),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Uu extends Hu{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class $u extends Hu{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Gu extends Hu{constructor(e,t,i,n,s){super(e,t),this.urlAfterRedirects=i,this.state=n,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class qu extends Hu{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ku extends Hu{constructor(e,t,i,n){super(e,t),this.urlAfterRedirects=i,this.state=n}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ju{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Qu{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Zu{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Xu{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class em{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class tm{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class im{constructor(e,t,i){this.routerEvent=e,this.position=t,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class nm{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function sm(e){return new nm(e)}function rm(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function am(e,t,i){const n=i.path.split("/");if(n.length>e.length)return null;if("full"===i.pathMatch&&(t.hasChildren()||n.length<e.length))return null;const s={};for(let r=0;r<n.length;r++){const t=n[r],i=e[r];if(t.startsWith(":"))s[t.substring(1)]=i;else if(t!==i.path)return null}return{consumed:e.slice(0,n.length),posParams:s}}function om(e,t){const i=Object.keys(e),n=Object.keys(t);if(!i||!n||i.length!=n.length)return!1;let s;for(let r=0;r<i.length;r++)if(s=i[r],!lm(e[s],t[s]))return!1;return!0}function lm(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length==t.length&&e.every(e=>t.indexOf(e)>-1):e===t}function cm(e){return Array.prototype.concat.apply([],e)}function dm(e){return e.length>0?e[e.length-1]:null}function hm(e,t){for(const i in e)e.hasOwnProperty(i)&&t(e[i],i)}function um(e){return za(e)?e:Ba(e)?j(Promise.resolve(e)):Uh(e)}function mm(e,t,i){return i?function(e,t){return om(e,t)}(e.queryParams,t.queryParams)&&function e(t,i){if(!_m(t.segments,i.segments))return!1;if(t.numberOfChildren!==i.numberOfChildren)return!1;for(const n in i.children){if(!t.children[n])return!1;if(!e(t.children[n],i.children[n]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(i=>lm(e[i],t[i]))}(e.queryParams,t.queryParams)&&function e(t,i){return function t(i,n,s){if(i.segments.length>s.length)return!!_m(i.segments.slice(0,s.length),s)&&!n.hasChildren();if(i.segments.length===s.length){if(!_m(i.segments,s))return!1;for(const t in n.children){if(!i.children[t])return!1;if(!e(i.children[t],n.children[t]))return!1}return!0}{const e=s.slice(0,i.segments.length),r=s.slice(i.segments.length);return!!_m(i.segments,e)&&!!i.children.primary&&t(i.children.primary,n,r)}}(t,i,i.segments)}(e.root,t.root)}class pm{constructor(e,t,i){this.root=e,this.queryParams=t,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=sm(this.queryParams)),this._queryParamMap}toString(){return wm.serialize(this)}}class fm{constructor(e,t){this.segments=e,this.children=t,this.parent=null,hm(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return km(this)}}class gm{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=sm(this.parameters)),this._parameterMap}toString(){return Lm(this)}}function _m(e,t){return e.length===t.length&&e.every((e,i)=>e.path===t[i].path)}function ym(e,t){let i=[];return hm(e.children,(e,n)=>{"primary"===n&&(i=i.concat(t(e,n)))}),hm(e.children,(e,n)=>{"primary"!==n&&(i=i.concat(t(e,n)))}),i}class bm{}class vm{parse(e){const t=new Pm(e);return new pm(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){return`${"/"+function e(t,i){if(!t.hasChildren())return km(t);if(i){const i=t.children.primary?e(t.children.primary,!1):"",n=[];return hm(t.children,(t,i)=>{"primary"!==i&&n.push(`${i}:${e(t,!1)}`)}),n.length>0?`${i}(${n.join("//")})`:i}{const i=ym(t,(i,n)=>"primary"===n?[e(t.children.primary,!1)]:[`${n}:${e(i,!1)}`]);return`${km(t)}/(${i.join("//")})`}}(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const i=e[t];return Array.isArray(i)?i.map(e=>`${Cm(t)}=${Cm(e)}`).join("&"):`${Cm(t)}=${Cm(i)}`});return t.length?"?"+t.join("&"):""}(e.queryParams)}${"string"==typeof e.fragment?"#"+encodeURI(e.fragment):""}`}}const wm=new vm;function km(e){return e.segments.map(e=>Lm(e)).join("/")}function xm(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Cm(e){return xm(e).replace(/%3B/gi,";")}function Sm(e){return xm(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Mm(e){return decodeURIComponent(e)}function Dm(e){return Mm(e.replace(/\+/g,"%20"))}function Lm(e){return`${Sm(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Sm(e)}=${Sm(t[e])}`).join("")}`;var t}const Tm=/^[^\/()?;=#]+/;function Am(e){const t=e.match(Tm);return t?t[0]:""}const Em=/^[^=?&#]+/,Im=/^[^?&#]+/;class Pm{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new fm([],{}):new fm([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(i.primary=new fm(e,t)),i}parseSegment(){const e=Am(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new gm(Mm(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Am(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const e=Am(this.remaining);e&&(i=e,this.capture(i))}e[Mm(t)]=Mm(i)}parseQueryParam(e){const t=function(e){const t=e.match(Em);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let i="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(Im);return t?t[0]:""}(this.remaining);e&&(i=e,this.capture(i))}const n=Dm(t),s=Dm(i);if(e.hasOwnProperty(n)){let t=e[n];Array.isArray(t)||(t=[t],e[n]=t),t.push(s)}else e[n]=s}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Am(this.remaining),n=this.remaining[i.length];if("/"!==n&&")"!==n&&";"!==n)throw new Error(`Cannot parse url '${this.url}'`);let s=void 0;i.indexOf(":")>-1?(s=i.substr(0,i.indexOf(":")),this.capture(s),this.capture(":")):e&&(s="primary");const r=this.parseChildren();t[s]=1===Object.keys(r).length?r.primary:new fm([],r),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class Ym{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=Om(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Om(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Fm(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Fm(e,this._root).map(e=>e.value)}}function Om(e,t){if(e===t.value)return t;for(const i of t.children){const t=Om(e,i);if(t)return t}return null}function Fm(e,t){if(e===t.value)return[t];for(const i of t.children){const n=Fm(e,i);if(n.length)return n.unshift(t),n}return[]}class Rm{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function Nm(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class jm extends Ym{constructor(e,t){super(e),this.snapshot=t,Um(this,e)}toString(){return this.snapshot.toString()}}function Hm(e,t){const i=function(e,t){const i=new zm([],{},{},"",{},"primary",t,null,e.root,-1,{});return new Wm("",new Rm(i,[]))}(e,t),n=new $h([new gm("",{})]),s=new $h({}),r=new $h({}),a=new $h({}),o=new $h(""),l=new Vm(n,s,a,o,r,"primary",t,i.root);return l.snapshot=i.root,new jm(new Rm(l,[]),i)}class Vm{constructor(e,t,i,n,s,r,a,o){this.url=e,this.params=t,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=r,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(O(e=>sm(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(O(e=>sm(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Bm(e,t="emptyOnly"){const i=e.pathFromRoot;let n=0;if("always"!==t)for(n=i.length-1;n>=1;){const e=i[n],t=i[n-1];if(e.routeConfig&&""===e.routeConfig.path)n--;else{if(t.component)break;n--}}return function(e){return e.reduce((e,t)=>({params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(i.slice(n))}class zm{constructor(e,t,i,n,s,r,a,o,l,c,d){this.url=e,this.params=t,this.queryParams=i,this.fragment=n,this.data=s,this.outlet=r,this.component=a,this.routeConfig=o,this._urlSegment=l,this._lastPathIndex=c,this._resolve=d}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=sm(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=sm(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Wm extends Ym{constructor(e,t){super(t),this.url=e,Um(this,t)}toString(){return $m(this._root)}}function Um(e,t){t.value._routerState=e,t.children.forEach(t=>Um(e,t))}function $m(e){const t=e.children.length>0?` { ${e.children.map($m).join(", ")} } `:"";return`${e.value}${t}`}function Gm(e){if(e.snapshot){const t=e.snapshot,i=e._futureSnapshot;e.snapshot=i,om(t.queryParams,i.queryParams)||e.queryParams.next(i.queryParams),t.fragment!==i.fragment&&e.fragment.next(i.fragment),om(t.params,i.params)||e.params.next(i.params),function(e,t){if(e.length!==t.length)return!1;for(let i=0;i<e.length;++i)if(!om(e[i],t[i]))return!1;return!0}(t.url,i.url)||e.url.next(i.url),om(t.data,i.data)||e.data.next(i.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function qm(e,t){var i,n;return om(e.params,t.params)&&_m(i=e.url,n=t.url)&&i.every((e,t)=>om(e.parameters,n[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||qm(e.parent,t.parent))}function Km(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Jm(e,t,i,n,s){let r={};return n&&hm(n,(e,t)=>{r[t]=Array.isArray(e)?e.map(e=>""+e):""+e}),new pm(i.root===e?t:function e(t,i,n){const s={};return hm(t.children,(t,r)=>{s[r]=t===i?n:e(t,i,n)}),new fm(t.segments,s)}(i.root,e,t),r,s)}class Qm{constructor(e,t,i){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=i,e&&i.length>0&&Km(i[0]))throw new Error("Root segment cannot have matrix parameters");const n=i.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(n&&n!==dm(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Zm{constructor(e,t,i){this.segmentGroup=e,this.processChildren=t,this.index=i}}function Xm(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function ep(e,t,i){if(e||(e=new fm([],{})),0===e.segments.length&&e.hasChildren())return tp(e,t,i);const n=function(e,t,i){let n=0,s=t;const r={match:!1,pathIndex:0,commandIndex:0};for(;s<e.segments.length;){if(n>=i.length)return r;const t=e.segments[s],a=Xm(i[n]),o=n<i.length-1?i[n+1]:null;if(s>0&&void 0===a)break;if(a&&o&&"object"==typeof o&&void 0===o.outlets){if(!rp(a,o,t))return r;n+=2}else{if(!rp(a,{},t))return r;n++}s++}return{match:!0,pathIndex:s,commandIndex:n}}(e,t,i),s=i.slice(n.commandIndex);if(n.match&&n.pathIndex<e.segments.length){const t=new fm(e.segments.slice(0,n.pathIndex),{});return t.children.primary=new fm(e.segments.slice(n.pathIndex),e.children),tp(t,0,s)}return n.match&&0===s.length?new fm(e.segments,{}):n.match&&!e.hasChildren()?ip(e,t,i):n.match?tp(e,0,s):ip(e,t,i)}function tp(e,t,i){if(0===i.length)return new fm(e.segments,{});{const n=function(e){return"object"==typeof e[0]&&null!==e[0]&&e[0].outlets?e[0].outlets:{primary:e}}(i),s={};return hm(n,(i,n)=>{null!==i&&(s[n]=ep(e.children[n],t,i))}),hm(e.children,(e,t)=>{void 0===n[t]&&(s[t]=e)}),new fm(e.segments,s)}}function ip(e,t,i){const n=e.segments.slice(0,t);let s=0;for(;s<i.length;){if("object"==typeof i[s]&&null!==i[s]&&void 0!==i[s].outlets){const e=np(i[s].outlets);return new fm(n,e)}if(0===s&&Km(i[0])){n.push(new gm(e.segments[t].path,i[0])),s++;continue}const r=Xm(i[s]),a=s<i.length-1?i[s+1]:null;r&&a&&Km(a)?(n.push(new gm(r,sp(a))),s+=2):(n.push(new gm(r,{})),s++)}return new fm(n,{})}function np(e){const t={};return hm(e,(e,i)=>{null!==e&&(t[i]=ip(new fm([],{}),0,e))}),t}function sp(e){const t={};return hm(e,(e,i)=>t[i]=""+e),t}function rp(e,t,i){return e==i.path&&om(t,i.parameters)}class ap{constructor(e,t,i,n){this.routeReuseStrategy=e,this.futureState=t,this.currState=i,this.forwardEvent=n}activate(e){const t=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,i,e),Gm(this.futureState.root),this.activateChildRoutes(t,i,e)}deactivateChildRoutes(e,t,i){const n=Nm(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,n[t],i),delete n[t]}),hm(n,(e,t)=>{this.deactivateRouteAndItsChildren(e,i)})}deactivateRoutes(e,t,i){const n=e.value,s=t?t.value:null;if(n===s)if(n.component){const s=i.getContext(n.outlet);s&&this.deactivateChildRoutes(e,t,s.children)}else this.deactivateChildRoutes(e,t,i);else s&&this.deactivateRouteAndItsChildren(t,i)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const i=t.getContext(e.value.outlet);if(i&&i.outlet){const t=i.outlet.detach(),n=i.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:n})}}deactivateRouteAndOutlet(e,t){const i=t.getContext(e.value.outlet);if(i){const n=Nm(e),s=e.value.component?i.children:t;hm(n,(e,t)=>this.deactivateRouteAndItsChildren(e,s)),i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated())}}activateChildRoutes(e,t,i){const n=Nm(t);e.children.forEach(e=>{this.activateRoutes(e,n[e.value.outlet],i),this.forwardEvent(new tm(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Xu(e.value.snapshot))}activateRoutes(e,t,i){const n=e.value,s=t?t.value:null;if(Gm(n),n===s)if(n.component){const s=i.getOrCreateContext(n.outlet);this.activateChildRoutes(e,t,s.children)}else this.activateChildRoutes(e,t,i);else if(n.component){const t=i.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const e=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),op(e.route)}else{const i=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(n.snapshot),s=i?i.module.componentFactoryResolver:null;t.attachRef=null,t.route=n,t.resolver=s,t.outlet&&t.outlet.activateWith(n,s),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,i)}}function op(e){Gm(e.value),e.children.forEach(op)}class lp{constructor(e,t){this.routes=e,this.module=t}}function cp(e){return"function"==typeof e}function dp(e){return e instanceof pm}class hp{constructor(e){this.segmentGroup=e||null}}class up{constructor(e){this.urlTree=e}}function mp(e){return new y(t=>t.error(new hp(e)))}function pp(e){return new y(t=>t.error(new up(e)))}function fp(e){return new y(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class gp{constructor(e,t,i,n,s){this.configLoader=t,this.urlSerializer=i,this.urlTree=n,this.config=s,this.allowRedirects=!0,this.ngModule=e.get(Ze)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(O(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(gu(e=>{if(e instanceof up)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof hp)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(O(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(gu(e=>{if(e instanceof hp)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,i){const n=e.segments.length>0?new fm([],{primary:e}):e;return new pm(n,t,i)}expandSegmentGroup(e,t,i,n){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(e,t,i).pipe(O(e=>new fm([],e))):this.expandSegment(e,i,t,i.segments,n,!0)}expandChildren(e,t,i){return function(e,t){if(0===Object.keys(e).length)return Uh({});const i=[],n=[],s={};return hm(e,(e,r)=>{const a=t(r,e).pipe(O(e=>s[r]=e));"primary"===r?i.push(a):n.push(a)}),Uh.apply(null,i.concat(n)).pipe(tu(),function(e,t){const i=arguments.length>=2;return n=>n.pipe(e?iu((t,i)=>e(t,i,n)):_,au(1),i?mu(t):cu(()=>new Gh))}(),O(()=>s))}(i.children,(i,n)=>this.expandSegmentGroup(e,t,n,i))}expandSegment(e,t,i,n,s,r){return Uh(...i).pipe(O(a=>this.expandSegmentAgainstRoute(e,t,i,a,n,s,r).pipe(gu(e=>{if(e instanceof hp)return Uh(null);throw e}))),tu(),ku(e=>!!e),gu((e,i)=>{if(e instanceof Gh||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,n,s))return Uh(new fm([],{}));throw new hp(t)}throw e}))}noLeftoversInUrl(e,t,i){return 0===t.length&&!e.children[i]}expandSegmentAgainstRoute(e,t,i,n,s,r,a){return vp(n)!==r?mp(t):void 0===n.redirectTo?this.matchSegmentAgainstRoute(e,t,n,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,i,n,s,r):mp(t)}expandSegmentAgainstRouteUsingRedirect(e,t,i,n,s,r){return"**"===n.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,i,n,r):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,n,s,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,i,n){const s=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?pp(s):this.lineralizeSegments(i,s).pipe(H(i=>{const s=new fm(i,{});return this.expandSegment(e,s,t,i,n,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,i,n,s,r){const{matched:a,consumedSegments:o,lastChild:l,positionalParamSegments:c}=_p(t,n,s);if(!a)return mp(t);const d=this.applyRedirectCommands(o,n.redirectTo,c);return n.redirectTo.startsWith("/")?pp(d):this.lineralizeSegments(n,d).pipe(H(n=>this.expandSegment(e,t,i,n.concat(s.slice(l)),r,!1)))}matchSegmentAgainstRoute(e,t,i,n){if("**"===i.path)return i.loadChildren?this.configLoader.load(e.injector,i).pipe(O(e=>(i._loadedConfig=e,new fm(n,{})))):Uh(new fm(n,{}));const{matched:s,consumedSegments:r,lastChild:a}=_p(t,i,n);if(!s)return mp(t);const o=n.slice(a);return this.getChildConfig(e,i,n).pipe(H(e=>{const i=e.module,n=e.routes,{segmentGroup:s,slicedSegments:a}=function(e,t,i,n){return i.length>0&&function(e,t,i){return i.some(i=>bp(e,t,i)&&"primary"!==vp(i))}(e,i,n)?{segmentGroup:yp(new fm(t,function(e,t){const i={};i.primary=t;for(const n of e)""===n.path&&"primary"!==vp(n)&&(i[vp(n)]=new fm([],{}));return i}(n,new fm(i,e.children)))),slicedSegments:[]}:0===i.length&&function(e,t,i){return i.some(i=>bp(e,t,i))}(e,i,n)?{segmentGroup:yp(new fm(e.segments,function(e,t,i,n){const s={};for(const r of i)bp(e,t,r)&&!n[vp(r)]&&(s[vp(r)]=new fm([],{}));return Object.assign(Object.assign({},n),s)}(e,i,n,e.children))),slicedSegments:i}:{segmentGroup:e,slicedSegments:i}}(t,r,o,n);return 0===a.length&&s.hasChildren()?this.expandChildren(i,n,s).pipe(O(e=>new fm(r,e))):0===n.length&&0===a.length?Uh(new fm(r,{})):this.expandSegment(i,s,n,a,"primary",!0).pipe(O(e=>new fm(r.concat(e.segments),e.children)))}))}getChildConfig(e,t,i){return t.children?Uh(new lp(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Uh(t._loadedConfig):this.runCanLoadGuards(e.injector,t,i).pipe(H(i=>i?this.configLoader.load(e.injector,t).pipe(O(e=>(t._loadedConfig=e,e))):function(e){return new y(t=>t.error(rm(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Uh(new lp([],e))}runCanLoadGuards(e,t,i){const n=t.canLoad;return n&&0!==n.length?j(n).pipe(O(n=>{const s=e.get(n);let r;if(function(e){return e&&cp(e.canLoad)}(s))r=s.canLoad(t,i);else{if(!cp(s))throw new Error("Invalid CanLoad guard");r=s(t,i)}return um(r)})).pipe(tu(),Cu(e=>{if(!dp(e))return;const t=rm(`Redirecting to "${this.urlSerializer.serialize(e)}"`);throw t.url=e,t}),(s=e=>!0===e,e=>e.lift(new Du(s,void 0,e)))):Uh(!0);var s}lineralizeSegments(e,t){let i=[],n=t.root;for(;;){if(i=i.concat(n.segments),0===n.numberOfChildren)return Uh(i);if(n.numberOfChildren>1||!n.children.primary)return fp(e.redirectTo);n=n.children.primary}}applyRedirectCommands(e,t,i){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,i)}applyRedirectCreatreUrlTree(e,t,i,n){const s=this.createSegmentGroup(e,t.root,i,n);return new pm(s,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const i={};return hm(e,(e,n)=>{if("string"==typeof e&&e.startsWith(":")){const s=e.substring(1);i[n]=t[s]}else i[n]=e}),i}createSegmentGroup(e,t,i,n){const s=this.createSegments(e,t.segments,i,n);let r={};return hm(t.children,(t,s)=>{r[s]=this.createSegmentGroup(e,t,i,n)}),new fm(s,r)}createSegments(e,t,i,n){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,n):this.findOrReturn(t,i))}findPosParam(e,t,i){const n=i[t.path.substring(1)];if(!n)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return n}findOrReturn(e,t){let i=0;for(const n of t){if(n.path===e.path)return t.splice(i),n;i++}return e}}function _p(e,t,i){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||i.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const n=(t.matcher||am)(i,e,t);return n?{matched:!0,consumedSegments:n.consumed,lastChild:n.consumed.length,positionalParamSegments:n.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function yp(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new fm(e.segments.concat(t.segments),t.children)}return e}function bp(e,t,i){return(!(e.hasChildren()||t.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0!==i.redirectTo}function vp(e){return e.outlet||"primary"}class wp{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class kp{constructor(e,t){this.component=e,this.route=t}}function xp(e,t,i){const n=e._root;return function e(t,i,n,s,r={canDeactivateChecks:[],canActivateChecks:[]}){const a=Nm(i);return t.children.forEach(t=>{!function(t,i,n,s,r={canDeactivateChecks:[],canActivateChecks:[]}){const a=t.value,o=i?i.value:null,l=n?n.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){const c=function(e,t,i){if("function"==typeof i)return i(e,t);switch(i){case"pathParamsChange":return!_m(e.url,t.url);case"pathParamsOrQueryParamsChange":return!_m(e.url,t.url)||!om(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!qm(e,t)||!om(e.queryParams,t.queryParams);case"paramsChange":default:return!qm(e,t)}}(o,a,a.routeConfig.runGuardsAndResolvers);c?r.canActivateChecks.push(new wp(s)):(a.data=o.data,a._resolvedData=o._resolvedData),e(t,i,a.component?l?l.children:null:n,s,r),c&&r.canDeactivateChecks.push(new kp(l&&l.outlet&&l.outlet.component||null,o))}else o&&Sp(i,l,r),r.canActivateChecks.push(new wp(s)),e(t,null,a.component?l?l.children:null:n,s,r)}(t,a[t.value.outlet],n,s.concat([t.value]),r),delete a[t.value.outlet]}),hm(a,(e,t)=>Sp(e,n.getContext(t),r)),r}(n,t?t._root:null,i,[n.value])}function Cp(e,t,i){const n=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(n?n.module.injector:i).get(e)}function Sp(e,t,i){const n=Nm(e),s=e.value;hm(n,(e,n)=>{Sp(e,s.component?t?t.children.getContext(n):null:t,i)}),i.canDeactivateChecks.push(new kp(s.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,s))}const Mp=Symbol("INITIAL_VALUE");function Dp(){return Tu(e=>Kh(...e.map(e=>e.pipe(bu(1),Pu(Mp)))).pipe(function(e,t){let i=!1;return arguments.length>=2&&(i=!0),function(n){return n.lift(new Yu(e,t,i))}}((e,t)=>{let i=!1;return t.reduce((e,n,s)=>{if(e!==Mp)return e;if(n===Mp&&(i=!0),!i){if(!1===n)return n;if(s===t.length-1||dp(n))return n}return e},e)},Mp),iu(e=>e!==Mp),O(e=>dp(e)?e:!0===e),bu(1)))}function Lp(e,t){return null!==e&&t&&t(new em(e)),Uh(!0)}function Tp(e,t){return null!==e&&t&&t(new Zu(e)),Uh(!0)}function Ap(e,t,i){const n=t.routeConfig?t.routeConfig.canActivate:null;return n&&0!==n.length?Uh(n.map(n=>eu(()=>{const s=Cp(n,t,i);let r;if(function(e){return e&&cp(e.canActivate)}(s))r=um(s.canActivate(t,e));else{if(!cp(s))throw new Error("Invalid CanActivate guard");r=um(s(t,e))}return r.pipe(ku())}))).pipe(Dp()):Uh(!0)}function Ep(e,t,i){const n=t[t.length-1],s=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>eu(()=>Uh(t.guards.map(s=>{const r=Cp(s,t.node,i);let a;if(function(e){return e&&cp(e.canActivateChild)}(r))a=um(r.canActivateChild(n,e));else{if(!cp(r))throw new Error("Invalid CanActivateChild guard");a=um(r(n,e))}return a.pipe(ku())})).pipe(Dp())));return Uh(s).pipe(Dp())}class Ip{}class Pp{constructor(e,t,i,n,s,r){this.rootComponentType=e,this.config=t,this.urlTree=i,this.url=n,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=r}recognize(){try{const e=Fp(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),i=new zm([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),n=new Rm(i,t),s=new Wm(this.url,n);return this.inheritParamsAndData(s._root),Uh(s)}catch(e){return new y(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,i=Bm(t,this.paramsInheritanceStrategy);t.params=Object.freeze(i.params),t.data=Object.freeze(i.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,i){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,i)}processChildren(e,t){const i=ym(t,(t,i)=>this.processSegmentGroup(e,t,i));return function(e){const t={};e.forEach(e=>{const i=t[e.value.outlet];if(i){const t=i.url.map(e=>e.toString()).join("/"),n=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${n}'.`)}t[e.value.outlet]=e.value})}(i),i.sort((e,t)=>"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),i}processSegment(e,t,i,n){for(const r of e)try{return this.processSegmentAgainstRoute(r,t,i,n)}catch(s){if(!(s instanceof Ip))throw s}if(this.noLeftoversInUrl(t,i,n))return[];throw new Ip}noLeftoversInUrl(e,t,i){return 0===t.length&&!e.children[i]}processSegmentAgainstRoute(e,t,i,n){if(e.redirectTo)throw new Ip;if((e.outlet||"primary")!==n)throw new Ip;let s,r=[],a=[];if("**"===e.path){const r=i.length>0?dm(i).parameters:{};s=new zm(i,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,jp(e),n,e.component,e,Yp(t),Op(t)+i.length,Hp(e))}else{const o=function(e,t,i){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||i.length>0))throw new Ip;return{consumedSegments:[],lastChild:0,parameters:{}}}const n=(t.matcher||am)(i,e,t);if(!n)throw new Ip;const s={};hm(n.posParams,(e,t)=>{s[t]=e.path});const r=n.consumed.length>0?Object.assign(Object.assign({},s),n.consumed[n.consumed.length-1].parameters):s;return{consumedSegments:n.consumed,lastChild:n.consumed.length,parameters:r}}(t,e,i);r=o.consumedSegments,a=i.slice(o.lastChild),s=new zm(r,o.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,jp(e),n,e.component,e,Yp(t),Op(t)+r.length,Hp(e))}const o=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=Fp(t,r,a,o,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(o,l);return[new Rm(s,e)]}if(0===o.length&&0===c.length)return[new Rm(s,[])];const d=this.processSegment(o,l,c,"primary");return[new Rm(s,d)]}}function Yp(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Op(e){let t=e,i=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,i+=t._segmentIndexShift?t._segmentIndexShift:0;return i-1}function Fp(e,t,i,n,s){if(i.length>0&&function(e,t,i){return i.some(i=>Rp(e,t,i)&&"primary"!==Np(i))}(e,i,n)){const s=new fm(t,function(e,t,i,n){const s={};s.primary=n,n._sourceSegment=e,n._segmentIndexShift=t.length;for(const r of i)if(""===r.path&&"primary"!==Np(r)){const i=new fm([],{});i._sourceSegment=e,i._segmentIndexShift=t.length,s[Np(r)]=i}return s}(e,t,n,new fm(i,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===i.length&&function(e,t,i){return i.some(i=>Rp(e,t,i))}(e,i,n)){const r=new fm(e.segments,function(e,t,i,n,s,r){const a={};for(const o of n)if(Rp(e,i,o)&&!s[Np(o)]){const i=new fm([],{});i._sourceSegment=e,i._segmentIndexShift="legacy"===r?e.segments.length:t.length,a[Np(o)]=i}return Object.assign(Object.assign({},s),a)}(e,t,i,n,e.children,s));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:i}}const r=new fm(e.segments,e.children);return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:i}}function Rp(e,t,i){return(!(e.hasChildren()||t.length>0)||"full"!==i.pathMatch)&&""===i.path&&void 0===i.redirectTo}function Np(e){return e.outlet||"primary"}function jp(e){return e.data||{}}function Hp(e){return e.resolve||{}}function Vp(e){return function(t){return t.pipe(Tu(t=>{const i=e(t);return i?j(i).pipe(O(()=>t)):j([t])}))}}class Bp{}class zp{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}let Wp=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ut({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&Ra(0,"router-outlet")},directives:function(){return[of]},encapsulation:2}),e})();function Up(e,t=""){for(let i=0;i<e.length;i++){const n=e[i];$p(n,Gp(t,n))}}function $p(e,t){if(!e)throw new Error(`\n Invalid configuration of route '${t}': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n `);if(Array.isArray(e))throw new Error(`Invalid configuration of route '${t}': Array cannot be specified`);if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&"primary"!==e.outlet)throw new Error(`Invalid configuration of route '${t}': a componentless route without children or loadChildren cannot have a named outlet set`);if(e.redirectTo&&e.children)throw new Error(`Invalid configuration of route '${t}': redirectTo and children cannot be used together`);if(e.redirectTo&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': redirectTo and loadChildren cannot be used together`);if(e.children&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': children and loadChildren cannot be used together`);if(e.redirectTo&&e.component)throw new Error(`Invalid configuration of route '${t}': redirectTo and component cannot be used together`);if(e.path&&e.matcher)throw new Error(`Invalid configuration of route '${t}': path and matcher cannot be used together`);if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error(`Invalid configuration of route '${t}'. One of the following must be provided: component, redirectTo, children or loadChildren`);if(void 0===e.path&&void 0===e.matcher)throw new Error(`Invalid configuration of route '${t}': routes must have either a path or a matcher specified`);if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error(`Invalid configuration of route '${t}': path cannot start with a slash`);if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error(`Invalid configuration of route '{path: "${t}", redirectTo: "${e.redirectTo}"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.`);if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error(`Invalid configuration of route '${t}': pathMatch can only be set to 'prefix' or 'full'`);e.children&&Up(e.children,t)}function Gp(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:`${e}/${t.path}`:"":e}function qp(e){const t=e.children&&e.children.map(qp),i=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!i.component&&(t||i.loadChildren)&&i.outlet&&"primary"!==i.outlet&&(i.component=Wp),i}const Kp=new Re("ROUTES");class Jp{constructor(e,t,i,n){this.loader=e,this.compiler=t,this.onLoadStartListener=i,this.onLoadEndListener=n}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(O(i=>{this.onLoadEndListener&&this.onLoadEndListener(t);const n=i.create(e);return new lp(cm(n.injector.get(Kp)).map(qp),n)}))}loadModuleFactory(e){return"string"==typeof e?j(this.loader.load(e)):um(e()).pipe(H(e=>e instanceof Xe?Uh(e):j(this.compiler.compileModuleAsync(e))))}}class Qp{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Zp,this.attachRef=null}}class Zp{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const i=this.getOrCreateContext(e);i.outlet=t,this.contexts.set(e,i)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new Qp,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class Xp{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function ef(e){throw e}function tf(e,t,i){return t.parse("/")}function nf(e,t){return Uh(null)}let sf=(()=>{class e{constructor(e,t,i,n,s,r,a,o){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=i,this.location=n,this.config=o,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new x,this.errorHandler=ef,this.malformedUriErrorHandler=tf,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:nf,afterPreactivation:nf},this.urlHandlingStrategy=new Xp,this.routeReuseStrategy=new zp,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(Ze),this.console=s.get(Cc);const l=s.get(Rc);this.isNgZoneEnabled=l instanceof Rc,this.resetConfig(o),this.currentUrlTree=new pm(new fm([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Jp(r,a,e=>this.triggerEvent(new Ju(e)),e=>this.triggerEvent(new Qu(e))),this.routerState=Hm(this.currentUrlTree,this.rootComponentType),this.transitions=new $h({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(e){const t=this.events;return e.pipe(iu(e=>0!==e.id),O(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Tu(e=>{let i=!1,n=!1;return Uh(e).pipe(Cu(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Tu(e=>{const i=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Uh(e).pipe(Tu(e=>{const i=this.transitions.getValue();return t.next(new Vu(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==this.transitions.getValue()?Zh:[e]}),Tu(e=>Promise.resolve(e)),(n=this.ngModule.injector,s=this.configLoader,r=this.urlSerializer,a=this.config,function(e){return e.pipe(Tu(e=>function(e,t,i,n,s){return new gp(e,t,i,n,s).apply()}(n,s,r,e.extractedUrl,a).pipe(O(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t})))))}),Cu(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,i,n,s){return function(r){return r.pipe(H(r=>function(e,t,i,n,s="emptyOnly",r="legacy"){return new Pp(e,t,i,n,s,r).recognize()}(e,t,r.urlAfterRedirects,i(r.urlAfterRedirects),n,s).pipe(O(e=>Object.assign(Object.assign({},r),{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Cu(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),Cu(e=>{const i=new Uu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(i)}));var n,s,r,a;if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:i,extractedUrl:n,source:s,restoredState:r,extras:a}=e,o=new Vu(i,this.serializeUrl(n),s,r);t.next(o);const l=Hm(n,this.rootComponentType).snapshot;return Uh(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:n,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),Zh}),Vp(e=>{const{targetSnapshot:t,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:a}}=e;return this.hooks.beforePreactivation(t,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!a})}),Cu(e=>{const t=new $u(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),O(e=>Object.assign(Object.assign({},e),{guards:xp(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(i){return i.pipe(H(i=>{const{targetSnapshot:n,currentSnapshot:s,guards:{canActivateChecks:r,canDeactivateChecks:a}}=i;return 0===a.length&&0===r.length?Uh(Object.assign(Object.assign({},i),{guardsResult:!0})):function(e,t,i,n){return j(e).pipe(H(e=>function(e,t,i,n,s){const r=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return r&&0!==r.length?Uh(r.map(r=>{const a=Cp(r,t,s);let o;if(function(e){return e&&cp(e.canDeactivate)}(a))o=um(a.canDeactivate(e,t,i,n));else{if(!cp(a))throw new Error("Invalid CanDeactivate guard");o=um(a(e,t,i,n))}return o.pipe(ku())})).pipe(Dp()):Uh(!0)}(e.component,e.route,i,t,n)),ku(e=>!0!==e,!0))}(a,n,s,e).pipe(H(i=>i&&"boolean"==typeof i?function(e,t,i,n){return j(t).pipe(Fu(t=>j([Tp(t.route.parent,n),Lp(t.route,n),Ep(e,t.path,i),Ap(e,t.route,i)]).pipe(tu(),ku(e=>!0!==e,!0))),ku(e=>!0!==e,!0))}(n,r,e,t):Uh(i)),O(e=>Object.assign(Object.assign({},i),{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),Cu(e=>{if(dp(e.guardsResult)){const t=rm(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),Cu(e=>{const t=new Gu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),iu(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const i=new zu(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(i),e.resolve(!1),!1}return!0}),Vp(e=>{if(e.guards.canActivateChecks.length)return Uh(e).pipe(Cu(e=>{const t=new qu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Tu(e=>{let i=!1;return Uh(e).pipe((n=this.paramsInheritanceStrategy,s=this.ngModule.injector,function(e){return e.pipe(H(e=>{const{targetSnapshot:t,guards:{canActivateChecks:i}}=e;if(!i.length)return Uh(e);let r=0;return j(i).pipe(Fu(e=>function(e,t,i,n){return function(e,t,i,n){const s=Object.keys(e);if(0===s.length)return Uh({});const r={};return j(s).pipe(H(s=>function(e,t,i,n){const s=Cp(e,t,n);return um(s.resolve?s.resolve(t,i):s(t,i))}(e[s],t,i,n).pipe(Cu(e=>{r[s]=e}))),au(1),H(()=>Object.keys(r).length===s.length?Uh(r):Zh))}(e._resolve,e,t,n).pipe(O(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Bm(e,i).resolve),null)))}(e.route,t,n,s)),Cu(()=>r++),au(1),H(t=>r===i.length?Uh(e):Zh))}))}),Cu({next:()=>i=!0,complete:()=>{if(!i){const i=new zu(e.id,this.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");t.next(i),e.resolve(!1)}}}));var n,s}),Cu(e=>{const t=new Ku(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}))}),Vp(e=>{const{targetSnapshot:t,id:i,extractedUrl:n,rawUrl:s,extras:{skipLocationChange:r,replaceUrl:a}}=e;return this.hooks.afterPreactivation(t,{navigationId:i,appliedUrlTree:n,rawUrlTree:s,skipLocationChange:!!r,replaceUrl:!!a})}),O(e=>{const t=function(e,t,i){const n=function e(t,i,n){if(n&&t.shouldReuseRoute(i.value,n.value.snapshot)){const s=n.value;s._futureSnapshot=i.value;const r=function(t,i,n){return i.children.map(i=>{for(const s of n.children)if(t.shouldReuseRoute(s.value.snapshot,i.value))return e(t,i,s);return e(t,i)})}(t,i,n);return new Rm(s,r)}{const n=t.retrieve(i.value);if(n){const e=n.route;return function e(t,i){if(t.value.routeConfig!==i.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==i.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");i.value._futureSnapshot=t.value;for(let n=0;n<t.children.length;++n)e(t.children[n],i.children[n])}(i,e),e}{const n=new Vm(new $h((s=i.value).url),new $h(s.params),new $h(s.queryParams),new $h(s.fragment),new $h(s.data),s.outlet,s.component,s),r=i.children.map(i=>e(t,i));return new Rm(n,r)}}var s}(e,t._root,i?i._root:void 0);return new jm(n,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),Cu(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(s=this.rootContexts,r=this.routeReuseStrategy,a=e=>this.triggerEvent(e),O(e=>(new ap(r,e.targetRouterState,e.currentRouterState,a).activate(s),e))),Cu({next(){i=!0},complete(){i=!0}}),Ru(()=>{if(!i&&!n){this.resetUrlToCurrentUrlTree();const i=new zu(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(i),e.resolve(!1)}this.currentNavigation=null}),gu(i=>{if(n=!0,(s=i)&&s.ngNavigationCancelingError){const n=dp(i.url);n||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const s=new zu(e.id,this.serializeUrl(e.extractedUrl),i.message);t.next(s),n?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(i.url,this.rawUrlTree);return this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const n=new Wu(e.id,this.serializeUrl(e.extractedUrl),i);t.next(n);try{e.resolve(this.errorHandler(i))}catch(r){e.reject(r)}}var s;return Zh}));var s,r,a}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{let t=this.parseUrl(e.url);const i="popstate"===e.type?"popstate":"hashchange",n=e.state&&e.state.navigationId?e.state:null;setTimeout(()=>{this.scheduleNavigation(t,i,n,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){Up(e),this.config=e.map(qp),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(e,t={}){const{relativeTo:i,queryParams:n,fragment:s,preserveQueryParams:r,queryParamsHandling:a,preserveFragment:o}=t;En()&&r&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=i||this.routerState.root,c=o?this.currentUrlTree.fragment:s;let d=null;if(a)switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),n);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=n||null}else d=r?this.currentUrlTree.queryParams:n||null;return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,i,n,s){if(0===i.length)return Jm(t.root,t.root,t,n,s);const r=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Qm(!0,0,e);let t=0,i=!1;const n=e.reduce((e,n,s)=>{if("object"==typeof n&&null!=n){if(n.outlets){const t={};return hm(n.outlets,(e,i)=>{t[i]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(n.segmentPath)return[...e,n.segmentPath]}return"string"!=typeof n?[...e,n]:0===s?(n.split("/").forEach((n,s)=>{0==s&&"."===n||(0==s&&""===n?i=!0:".."===n?t++:""!=n&&e.push(n))}),e):[...e,n]},[]);return new Qm(i,t,n)}(i);if(r.toRoot())return Jm(t.root,new fm([],{}),t,n,s);const a=function(e,t,i){if(e.isAbsolute)return new Zm(t.root,!0,0);if(-1===i.snapshot._lastPathIndex){const e=i.snapshot._urlSegment;return new Zm(e,e===t.root,0)}const n=Km(e.commands[0])?0:1;return function(e,t,i){let n=e,s=t,r=i;for(;r>s;){if(r-=s,n=n.parent,!n)throw new Error("Invalid number of '../'");s=n.segments.length}return new Zm(n,!1,s-r)}(i.snapshot._urlSegment,i.snapshot._lastPathIndex+n,e.numberOfDoubleDots)}(r,t,e),o=a.processChildren?tp(a.segmentGroup,a.index,r.commands):ep(a.segmentGroup,a.index,r.commands);return Jm(a.segmentGroup,o,t,n,s)}(l,this.currentUrlTree,e,d,c)}navigateByUrl(e,t={skipLocationChange:!1}){En()&&this.isNgZoneEnabled&&!Rc.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const i=dp(e)?e:this.parseUrl(e),n=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(n,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const i=e[t];if(null==i)throw new Error(`The requested path contains ${i} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(i){t=this.malformedUriErrorHandler(i,this.urlSerializer,e)}return t}isActive(e,t){if(dp(e))return mm(this.currentUrlTree,e,t);const i=this.parseUrl(e);return mm(this.currentUrlTree,i,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,i)=>{const n=e[i];return null!=n&&(t[i]=n),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new Bu(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,i,n,s){const r=this.getTransition();if(r&&"imperative"!==t&&"imperative"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(r&&"hashchange"==t&&"popstate"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(r&&"popstate"==t&&"hashchange"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);let a,o,l;s?(a=s.resolve,o=s.reject,l=s.promise):l=new Promise((e,t)=>{a=e,o=t});const c=++this.navigationId;return this.setTransition({id:c,source:t,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:n,resolve:a,reject:o,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,i,n){const s=this.urlSerializer.serialize(e);n=n||{},this.location.isCurrentPathEqualTo(s)||t?this.location.replaceState(s,"",Object.assign(Object.assign({},n),{navigationId:i})):this.location.go(s,"",Object.assign(Object.assign({},n),{navigationId:i}))}resetStateAndUrl(e,t,i){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,i),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(t){return new(t||e)(Ge(ea),Ge(bm),Ge(Zp),Ge(Td),Ge(fa),Ge(sd),Ge(Yc),Ge(void 0))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),rf=(()=>{class e{constructor(e,t,i,n,s){this.router=e,this.route=t,this.commands=[],this.onChanges=new x,null==i&&n.setAttribute(s.nativeElement,"tabindex","0")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){En()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:af(this.skipLocationChange),replaceUrl:af(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:af(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:af(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(Ea(sf),Ea(Vm),Ia("tabindex"),Ea(qo),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&Wa("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[Et]}),e})();function af(e){return""===e||!!e}let of=(()=>{class e{constructor(e,t,i,n,s){this.parentContexts=e,this.location=t,this.resolver=i,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new Gl,this.deactivateEvents=new Gl,this.name=n||"primary",e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.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 e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const i=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),n=this.parentContexts.getOrCreateContext(this.name).children,s=new lf(e,n,this.location.injector);this.activated=this.location.createComponent(i,this.location.length,s),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Zp),Ea(gl),Ea(zo),Ia("name"),Ea(Zr))},e.\u0275dir=yt({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class lf{constructor(e,t,i){this.route=e,this.childContexts=t,this.parent=i}get(e,t){return e===Vm?this.route:e===Zp?this.childContexts:this.parent.get(e,t)}}class cf{}class df{preload(e,t){return Uh(null)}}let hf=(()=>{class e{constructor(e,t,i,n,s){this.router=e,this.injector=n,this.preloadingStrategy=s,this.loader=new Jp(t,i,t=>e.triggerEvent(new Ju(t)),t=>e.triggerEvent(new Qu(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(iu(e=>e instanceof Bu),Fu(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(Ze);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const i=[];for(const n of t)if(n.loadChildren&&!n.canLoad&&n._loadedConfig){const e=n._loadedConfig;i.push(this.processRoutes(e.module,e.routes))}else n.loadChildren&&!n.canLoad?i.push(this.preloadConfig(e,n)):n.children&&i.push(this.processRoutes(e,n.children));return j(i).pipe(z(),O(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(H(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(Ge(sf),Ge(sd),Ge(Yc),Ge(fa),Ge(cf))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),uf=(()=>{class e{constructor(e,t,i={}){this.router=e,this.viewportScroller=t,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.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(e=>{e instanceof Vu?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Bu&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof im&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new im(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ge(sf),Ge(uh),Ge(void 0))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();const mf=new Re("ROUTER_CONFIGURATION"),pf=new Re("ROUTER_FORROOT_GUARD"),ff=[Td,{provide:bm,useClass:vm},{provide:sf,useFactory:function(e,t,i,n,s,r,a,o={},l,c){const d=new sf(null,e,t,i,n,s,r,cm(a));if(l&&(d.urlHandlingStrategy=l),c&&(d.routeReuseStrategy=c),o.errorHandler&&(d.errorHandler=o.errorHandler),o.malformedUriErrorHandler&&(d.malformedUriErrorHandler=o.malformedUriErrorHandler),o.enableTracing){const e=md();d.events.subscribe(t=>{e.logGroup("Router Event: "+t.constructor.name),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return o.onSameUrlNavigation&&(d.onSameUrlNavigation=o.onSameUrlNavigation),o.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=o.paramsInheritanceStrategy),o.urlUpdateStrategy&&(d.urlUpdateStrategy=o.urlUpdateStrategy),o.relativeLinkResolution&&(d.relativeLinkResolution=o.relativeLinkResolution),d},deps:[bm,Zp,Td,fa,sd,Yc,Kp,mf,[class{},new ne],[Bp,new ne]]},Zp,{provide:Vm,useFactory:function(e){return e.routerState.root},deps:[sf]},{provide:sd,useClass:od},hf,df,class{preload(e,t){return t().pipe(gu(()=>Uh(null)))}},{provide:mf,useValue:{enableTracing:!1}}];function gf(){return new Qc("Router",sf)}let _f=(()=>{class e{constructor(e,t){}static forRoot(t,i){return{ngModule:e,providers:[ff,wf(t),{provide:pf,useFactory:vf,deps:[[sf,new ne,new re]]},{provide:mf,useValue:i||{}},{provide:Cd,useFactory:bf,deps:[fd,[new ie(Md),new ne],mf]},{provide:uf,useFactory:yf,deps:[sf,uh,mf]},{provide:cf,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:df},{provide:Qc,multi:!0,useFactory:gf},[kf,{provide:gc,multi:!0,useFactory:xf,deps:[kf]},{provide:Sf,useFactory:Cf,deps:[kf]},{provide:xc,multi:!0,useExisting:Sf}]]}}static forChild(t){return{ngModule:e,providers:[wf(t)]}}}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)(Ge(pf,8),Ge(sf,8))}}),e})();function yf(e,t,i){return i.scrollOffset&&t.setOffset(i.scrollOffset),new uf(e,t,i)}function bf(e,t,i={}){return i.useHash?new Ld(e,t):new Dd(e,t)}function vf(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function wf(e){return[{provide:ga,multi:!0,useValue:e},{provide:Kp,multi:!0,useValue:e}]}let kf=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new x}appInitializer(){return this.injector.get(_d,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),i=this.injector.get(sf),n=this.injector.get(mf);if(this.isLegacyDisabled(n)||this.isLegacyEnabled(n))e(!0);else if("disabled"===n.initialNavigation)i.setUpLocationChangeListener(),e(!0);else{if("enabled"!==n.initialNavigation)throw new Error(`Invalid initialNavigation options: '${n.initialNavigation}'`);i.hooks.afterPreactivation=()=>this.initNavigation?Uh(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),i.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(mf),i=this.injector.get(hf),n=this.injector.get(uf),s=this.injector.get(sf),r=this.injector.get(id);e===r.components[0]&&(this.isLegacyEnabled(t)?s.initialNavigation():this.isLegacyDisabled(t)&&s.setUpLocationChangeListener(),i.setUpPreloading(),n.init(),s.resetRootComponentType(r.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}return e.\u0275fac=function(t){return new(t||e)(Ge(fa))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();function xf(e){return e.appInitializer.bind(e)}function Cf(e){return e.bootstrapListener.bind(e)}const Sf=new Re("Router Initializer");class Mf{constructor(){this.storedRouteHandles=new Map,this.allowRetriveCache={showDarmasAds:!0}}shouldReuseRoute(e,t){return this.allowRetriveCache.showDarmasAds="createAd"===this.getKey(e)&&"showDarmasAds"===this.getKey(t),e.routeConfig===t.routeConfig}retrieve(e){return console.log("detached route handle: ",this.storedRouteHandles.get(this.getKey(e))),this.storedRouteHandles.get(this.getKey(e))}shouldAttach(e){const t=this.getKey(e);return!!this.allowRetriveCache[t]&&this.storedRouteHandles.has(this.getKey(e))}shouldDetach(e){const t=this.getKey(e);return!!this.allowRetriveCache.hasOwnProperty(t)}store(e,t){this.storedRouteHandles.set(this.getKey(e),t)}getPath(e){return null!==e.routeConfig&&null!==e.routeConfig.path?e.routeConfig.path:""}getKey(e){let t;return t=e.data?e.data.name:e.firstChild.data.name,t}}function Df(e){return null!=e&&""+e!="false"}function Lf(e,t=0){return Tf(e)?Number(e):t}function Tf(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Af(e){return Array.isArray(e)?e:[e]}function Ef(e){return null==e?"":"string"==typeof e?e:e+"px"}function If(e){return e instanceof Wo?e.nativeElement:e}function Pf(e,t,i,s){return n(i)&&(s=i,i=void 0),s?Pf(e,t,i).pipe(O(e=>l(e)?s(...e):s(e))):new y(n=>{!function e(t,i,n,s,r){let a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(i,n,r),a=()=>e.removeEventListener(i,n,r)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(i,n),a=()=>e.off(i,n)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(i,n),a=()=>e.removeListener(i,n)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let a=0,o=t.length;a<o;a++)e(t[a],i,n,s,r)}s.add(a)}(e,t,(function(e){n.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),n,i)})}class Yf extends h{constructor(e,t){super()}schedule(e,t=0){return this}}class Of extends Yf{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this}requestAsyncId(e,t,i=0){return setInterval(e.flush.bind(e,this),i)}recycleAsyncId(e,t,i=0){if(null!==i&&this.delay===i&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(e,t);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let i=!1,n=void 0;try{this.work(e)}catch(s){i=!0,n=!!s&&s||new Error(s)}if(i)return this.unsubscribe(),n}_unsubscribe(){const e=this.id,t=this.scheduler,i=t.actions,n=i.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&i.splice(n,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}class Ff extends Of{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(e,t,i);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}let Rf=(()=>{class e{constructor(t,i=e.now){this.SchedulerAction=t,this.now=i}schedule(e,t=0,i){return new this.SchedulerAction(this,e).schedule(i,t)}}return e.now=()=>Date.now(),e})();class Nf extends Rf{constructor(e,t=Rf.now){super(e,()=>Nf.delegate&&Nf.delegate!==this?Nf.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,i){return Nf.delegate&&Nf.delegate!==this?Nf.delegate.schedule(e,t,i):super.schedule(e,t,i)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let i;this.active=!0;do{if(i=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,i){for(;e=t.shift();)e.unsubscribe();throw i}}}class jf extends Nf{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let i,n=-1,s=t.length;e=e||t.shift();do{if(i=e.execute(e.state,e.delay))break}while(++n<s&&(e=t.shift()));if(this.active=!1,i){for(;++n<s&&(e=t.shift());)e.unsubscribe();throw i}}}const Hf=new jf(Ff);let Vf=1;const Bf=(()=>Promise.resolve())(),zf={};function Wf(e){return e in zf&&(delete zf[e],!0)}const Uf={setImmediate(e){const t=Vf++;return zf[t]=!0,Bf.then(()=>Wf(t)&&e()),t},clearImmediate(e){Wf(e)}};class $f extends Of{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,i=0){return null!==i&&i>0?super.requestAsyncId(e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=Uf.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,i=0){if(null!==i&&i>0||null===i&&this.delay>0)return super.recycleAsyncId(e,t,i);0===e.actions.length&&(Uf.clearImmediate(t),e.scheduled=void 0)}}class Gf extends Nf{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let i,n=-1,s=t.length;e=e||t.shift();do{if(i=e.execute(e.state,e.delay))break}while(++n<s&&(e=t.shift()));if(this.active=!1,i){for(;++n<s&&(e=t.shift());)e.unsubscribe();throw i}}}const qf=new Gf($f);function Kf(e,t){return i=>i.lift(new Jf(e,t))}class Jf{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new Qf(e,this.compare,this.keySelector))}}class Qf extends p{constructor(e,t,i){super(e),this.keySelector=i,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:i}=this;t=i?i(e):e}catch(n){return this.destination.error(n)}let i=!1;if(this.hasKey)try{const{compare:e}=this;i=e(this.key,t)}catch(n){return this.destination.error(n)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}const Zf=new Nf(Of);class Xf{constructor(e){this.durationSelector=e}call(e,t){return t.subscribe(new eg(e,this.durationSelector))}}class eg extends Y{constructor(e,t){super(e),this.durationSelector=t,this.hasValue=!1}_next(e){if(this.value=e,this.hasValue=!0,!this.throttled){let i;try{const{durationSelector:t}=this;i=t(e)}catch(t){return this.destination.error(t)}const n=P(this,i);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:e,hasValue:t,throttled:i}=this;i&&(this.remove(i),this.throttled=null,i.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}notifyNext(e,t,i,n){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}function tg(e){return!l(e)&&e-parseFloat(e)+1>=0}function ig(e=0,t,i){let n=-1;return tg(t)?n=Number(t)<1?1:Number(t):S(t)&&(i=t),S(i)||(i=Zf),new y(t=>{const s=tg(e)?e:+e-i.now();return i.schedule(ng,s,{index:0,period:n,subscriber:t})})}function ng(e){const{index:t,period:i,subscriber:n}=e;if(n.next(t),!n.closed){if(-1===i)return n.complete();e.index=t+1,this.schedule(e,i)}}function sg(e,t=Zf){return i=()=>ig(e,t),function(e){return e.lift(new Xf(i))};var i}function rg(e){return t=>t.lift(new ag(e))}class ag{constructor(e){this.notifier=e}call(e,t){const i=new og(e),n=P(i,this.notifier);return n&&!i.seenValue?(i.add(n),t.subscribe(i)):i}}class og extends Y{constructor(e){super(e),this.seenValue=!1}notifyNext(e,t,i,n,s){this.seenValue=!0,this.complete()}notifyComplete(){}}class lg extends Of{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,i=0){return null!==i&&i>0||null===i&&this.delay>0?super.requestAsyncId(e,t,i):e.flush(this)}}class cg extends Nf{}const dg=new cg(lg);function hg(e,t){return new y(t?i=>t.schedule(ug,0,{error:e,subscriber:i}):t=>t.error(e))}function ug({error:e,subscriber:t}){t.error(e)}let mg,pg=(()=>{class e{constructor(e,t,i){this.kind=e,this.value=t,this.error=i,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,i){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return i&&i()}}accept(e,t,i){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,i)}toObservable(){switch(this.kind){case"N":return Uh(this.value);case"E":return hg(this.error);case"C":return Xh()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();class fg extends p{constructor(e,t,i=0){super(e),this.scheduler=t,this.delay=i}static dispatch(e){const{notification:t,destination:i}=e;t.observe(i),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(fg.dispatch,this.delay,new gg(e,this.destination)))}_next(e){this.scheduleMessage(pg.createNext(e))}_error(e){this.scheduleMessage(pg.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(pg.createComplete()),this.unsubscribe()}}class gg{constructor(e,t){this.notification=e,this.destination=t}}class _g extends x{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,i){super(),this.scheduler=i,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new yg(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,i=t?this._events:this._trimBufferThenGetEvents(),n=this.scheduler,s=i.length;let r;if(this.closed)throw new v;if(this.isStopped||this.hasError?r=h.EMPTY:(this.observers.push(e),r=new w(this,e)),n&&e.add(e=new fg(e,n)),t)for(let a=0;a<s&&!e.closed;a++)e.next(i[a]);else for(let a=0;a<s&&!e.closed;a++)e.next(i[a].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),r}_getNow(){return(this.scheduler||dg).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,i=this._windowTime,n=this._events,s=n.length;let r=0;for(;r<s&&!(e-n[r].time<i);)r++;return s>t&&(r=Math.max(r,s-t)),r>0&&n.splice(0,r),n}}class yg{constructor(e,t){this.time=e,this.value=t}}try{mg="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(lz){mg=!1}let bg,vg=(()=>{class e{constructor(e){this._platformId=e,this.isBrowser=this._platformId?dh(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&&!mg)&&"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 e.\u0275fac=function(t){return new(t||e)(Ge(kc,8))},e.\u0275prov=ce({factory:function(){return new e(Ge(kc,8))},token:e,providedIn:"root"}),e})(),wg=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})();const kg=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function xg(){if(bg)return bg;if("object"!=typeof document||!document)return bg=new Set(kg),bg;let e=document.createElement("input");return bg=new Set(kg.filter(t=>(e.setAttribute("type",t),e.type===t))),bg}let Cg,Sg,Mg;function Dg(e){return function(){if(null==Cg&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Cg=!0}))}finally{Cg=Cg||!1}return Cg}()?e:!!e.capture}function Lg(){if("object"!=typeof document||!document)return 0;if(null==Sg){const e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";const i=document.createElement("div"),n=i.style;n.width="2px",n.height="1px",e.appendChild(i),document.body.appendChild(e),Sg=0,0===e.scrollLeft&&(e.scrollLeft=1,Sg=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return Sg}function Tg(e){if(function(){if(null==Mg){const e="undefined"!=typeof document?document.head:null;Mg=!(!e||!e.createShadowRoot&&!e.attachShadow)}return Mg}()){const t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}const Ag=new Re("cdk-dir-doc",{providedIn:"root",factory:function(){return qe(pd)}});let Eg=(()=>{class e{constructor(e){if(this.value="ltr",this.change=new Gl,e){const t=e.documentElement?e.documentElement.dir:null,i=(e.body?e.body.dir:null)||t;this.value="ltr"===i||"rtl"===i?i:"ltr"}}ngOnDestroy(){this.change.complete()}}return e.\u0275fac=function(t){return new(t||e)(Ge(Ag,8))},e.\u0275prov=ce({factory:function(){return new e(Ge(Ag,8))},token:e,providedIn:"root"}),e})(),Ig=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})();function Pg(e){return e&&"function"==typeof e.connect}class Yg{constructor(e=!1,t,i=!0){this._multiple=e,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new x,t&&t.length&&(e?t.forEach(e=>this._markSelected(e)):this._markSelected(t[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...e){this._verifyValueAssignment(e),e.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...e){this._verifyValueAssignment(e),e.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(e){this.isSelected(e)?this.deselect(e):this.select(e)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(e){return this._selection.has(e)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}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(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){if(e.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}}let Og=(()=>{class e{constructor(){this._listeners=[]}notify(e,t){for(let i of this._listeners)i(e,t)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(t=>e!==t)}}ngOnDestroy(){this._listeners=[]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Fg=(()=>{class e{constructor(e,t,i){this._ngZone=e,this._platform=t,this._scrolled=new x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new y(t=>{this._globalSubscription||this._addGlobalListener();const i=e>0?this._scrolled.pipe(sg(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Uh()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){const i=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(iu(e=>!e||i.indexOf(e)>-1))}getAncestorScrollContainers(e){const t=[];return this.scrollContainers.forEach((i,n)=>{this._scrollableContainsElement(n,e)&&t.push(n)}),t}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(e,t){let i=t.nativeElement,n=e.getElementRef().nativeElement;do{if(i==n)return!0}while(i=i.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Pf(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return e.\u0275fac=function(t){return new(t||e)(Ge(Rc),Ge(vg),Ge(pd,8))},e.\u0275prov=ce({factory:function(){return new e(Ge(Rc),Ge(vg),Ge(pd,8))},token:e,providedIn:"root"}),e})(),Rg=(()=>{class e{constructor(e,t,i,n){this.elementRef=e,this.scrollDispatcher=t,this.ngZone=i,this.dir=n,this._destroyed=new x,this._elementScrolled=new y(e=>this.ngZone.runOutsideAngular(()=>Pf(this.elementRef.nativeElement,"scroll").pipe(rg(this._destroyed)).subscribe(e)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){const t=this.elementRef.nativeElement,i=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=i?e.end:e.start),null==e.right&&(e.right=i?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),i&&0!=Lg()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==Lg()?e.left=e.right:1==Lg()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){const t=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}measureScrollOffset(e){const t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;const i=this.dir&&"rtl"==this.dir.value;return"start"==e?e=i?"right":"left":"end"==e&&(e=i?"left":"right"),i&&2==Lg()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:i&&1==Lg()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Fg),Ea(Rc),Ea(Eg,8))},e.\u0275dir=yt({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),e})(),Ng=(()=>{class e{constructor(e,t,i){this._platform=e,this._document=i,t.runOutsideAngular(()=>{const t=this._getWindow();this._change=e.isBrowser?U(Pf(t,"resize"),Pf(t,"orientationchange")):Uh(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:t,height:i}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+t,height:i,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._getDocument(),t=this._getWindow(),i=e.documentElement,n=i.getBoundingClientRect();return{top:-n.top||e.body.scrollTop||t.scrollY||i.scrollTop||0,left:-n.left||e.body.scrollLeft||t.scrollX||i.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(sg(e)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return e.\u0275fac=function(t){return new(t||e)(Ge(vg),Ge(Rc),Ge(pd,8))},e.\u0275prov=ce({factory:function(){return new e(Ge(vg),Ge(Rc),Ge(pd,8))},token:e,providedIn:"root"}),e})(),jg=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})(),Hg=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[Ig,wg,jg],Ig,jg]}),e})();function Vg(){throw Error("Host already has a portal attached")}class Bg{attach(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&Vg(),this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}}class zg extends Bg{constructor(e,t,i,n){super(),this.component=e,this.viewContainerRef=t,this.injector=i,this.componentFactoryResolver=n}}class Wg extends Bg{constructor(e,t,i){super(),this.templateRef=e,this.viewContainerRef=t,this.context=i}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}}class Ug extends Bg{constructor(e){super(),this.element=e instanceof Wo?e.nativeElement:e}}class $g{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&Vg(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof zg?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof Wg?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof Ug?(this._attachedPortal=e,this.attachDomPortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class Gg extends $g{constructor(e,t,i,n,s){super(),this.outletElement=e,this._componentFactoryResolver=t,this._appRef=i,this._defaultInjector=n,this.attachDomPortal=e=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const t=e.element;if(!t.parentNode)throw Error("DOM portal content must be attached to a parent node.");const i=this._document.createComment("dom-portal");t.parentNode.insertBefore(i,t),this.outletElement.appendChild(t),super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(t,i)})},this._document=s}attachComponentPortal(e){const t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);let i;return e.viewContainerRef?(i=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(()=>i.destroy())):(i=t.create(e.injector||this._defaultInjector),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),i}attachTemplatePortal(e){let t=e.viewContainerRef,i=t.createEmbeddedView(e.templateRef,e.context);return i.detectChanges(),i.rootNodes.forEach(e=>this.outletElement.appendChild(e)),this.setDisposeFn(()=>{let e=t.indexOf(i);-1!==e&&t.remove(e)}),i}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(e){return e.hostView.rootNodes[0]}}let qg=(()=>{class e extends Wg{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Ea(pl),Ea(gl))},e.\u0275dir=yt({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[Lo]}),e})(),Kg=(()=>{class e extends $g{constructor(e,t,i){super(),this._componentFactoryResolver=e,this._viewContainerRef=t,this._isInitialized=!1,this.attached=new Gl,this.attachDomPortal=e=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const t=e.element;if(!t.parentNode)throw Error("DOM portal content must be attached to a parent node.");const i=this._document.createComment("dom-portal");e.setAttachedHost(this),t.parentNode.insertBefore(i,t),this._getRootNode().appendChild(t),super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(t,i)})},this._document=i}get portal(){return this._attachedPortal}set portal(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),n=t.createComponent(i,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=e,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(e){e.setAttachedHost(this);const t=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=t,this.attached.emit(t),t}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return e.\u0275fac=function(t){return new(t||e)(Ea(zo),Ea(gl),Ea(pd))},e.\u0275dir=yt({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Lo]}),e})(),Jg=(()=>{class e extends Kg{}return e.\u0275fac=function(t){return Qg(t||e)},e.\u0275dir=yt({type:e,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[Ho([{provide:Kg,useExisting:e}]),Lo]}),e})();const Qg=fn(Jg);let Zg=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})();class Xg{constructor(e,t){this._parentInjector=e,this._customTokens=t}get(e,t){const i=this._customTokens.get(e);return void 0!==i?i:this._parentInjector.get(e,t)}}function e_(e,...t){return t.length?t.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}class t_{constructor(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}attach(){}enable(){if(this._canBeEnabled()){const e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Ef(-this._previousScrollPosition.left),e.style.top=Ef(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const e=this._document.documentElement,t=e.style,i=this._document.body.style,n=t.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=i.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=n,i.scrollBehavior=s}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}function i_(){return Error("Scroll strategy has already been attached.")}class n_{constructor(e,t,i,n){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=i,this._config=n,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){if(this._overlayRef)throw i_();this._overlayRef=e}enable(){if(this._scrollSubscription)return;const e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class s_{enable(){}disable(){}attach(){}}function r_(e,t){return t.some(t=>e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right)}function a_(e,t){return t.some(t=>e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right)}class o_{constructor(e,t,i,n){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this._config=n,this._scrollSubscription=null}attach(e){if(this._overlayRef)throw i_();this._overlayRef=e}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 e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:i}=this._viewportRuler.getViewportSize();r_(e,[{width:t,height:i,bottom:i,right:t,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 l_=(()=>{class e{constructor(e,t,i,n){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=i,this.noop=()=>new s_,this.close=e=>new n_(this._scrollDispatcher,this._ngZone,this._viewportRuler,e),this.block=()=>new t_(this._viewportRuler,this._document),this.reposition=e=>new o_(this._scrollDispatcher,this._viewportRuler,this._ngZone,e),this._document=n}}return e.\u0275fac=function(t){return new(t||e)(Ge(Fg),Ge(Ng),Ge(Rc),Ge(pd))},e.\u0275prov=ce({factory:function(){return new e(Ge(Fg),Ge(Ng),Ge(Rc),Ge(pd))},token:e,providedIn:"root"}),e})();class c_{constructor(e){if(this.scrollStrategy=new s_,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){const t=Object.keys(e);for(const i of t)void 0!==e[i]&&(this[i]=e[i])}}}class d_{constructor(e,t,i,n,s){this.offsetX=i,this.offsetY=n,this.panelClass=s,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}class h_{constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}function u_(e,t){if("top"!==t&&"bottom"!==t&&"center"!==t)throw Error(`ConnectedPosition: Invalid ${e} "${t}". Expected "top", "bottom" or "center".`)}function m_(e,t){if("start"!==t&&"end"!==t&&"center"!==t)throw Error(`ConnectedPosition: Invalid ${e} "${t}". Expected "start", "end" or "center".`)}let p_=(()=>{class e{constructor(e){this._attachedOverlays=[],this._keydownListener=e=>{const t=this._attachedOverlays;for(let i=t.length-1;i>-1;i--)if(t[i]._keydownEvents.observers.length>0){t[i]._keydownEvents.next(e);break}},this._document=e}ngOnDestroy(){this._detach()}add(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(e)}remove(e){const t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()}_detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return e.\u0275fac=function(t){return new(t||e)(Ge(pd))},e.\u0275prov=ce({factory:function(){return new e(Ge(pd))},token:e,providedIn:"root"}),e})();const f_=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine);let g_=(()=>{class e{constructor(e,t){this._platform=t,this._document=e}ngOnDestroy(){const e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(e||f_){const e=this._document.querySelectorAll('.cdk-overlay-container[platform="server"], .cdk-overlay-container[platform="test"]');for(let t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}const t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),f_?t.setAttribute("platform","test"):e||t.setAttribute("platform","server"),this._document.body.appendChild(t),this._containerElement=t}}return e.\u0275fac=function(t){return new(t||e)(Ge(pd),Ge(vg))},e.\u0275prov=ce({factory:function(){return new e(Ge(pd),Ge(vg))},token:e,providedIn:"root"}),e})();class __{constructor(e,t,i,n,s,r,a,o){this._portalOutlet=e,this._host=t,this._pane=i,this._config=n,this._ngZone=s,this._keyboardDispatcher=r,this._document=a,this._location=o,this._backdropElement=null,this._backdropClick=new x,this._attachments=new x,this._detachments=new x,this._locationChanges=h.EMPTY,this._backdropClickHandler=e=>this._backdropClick.next(e),this._keydownEvents=new x,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){let t=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(bu(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._location&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),e}dispose(){const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick.asObservable()}attachments(){return this._attachments.asObservable()}detachments(){return this._detachments.asObservable()}keydownEvents(){return this._keydownEvents.asObservable()}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}setDirection(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){const e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const e=this._pane.style;e.width=Ef(this._config.width),e.height=Ef(this._config.height),e.minWidth=Ef(this._config.minWidth),e.minHeight=Ef(this._config.minHeight),e.maxWidth=Ef(this._config.maxWidth),e.maxHeight=Ef(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"auto":"none"}_attachBackdrop(){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("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e,t=this._backdropElement;if(!t)return;let i=()=>{t&&(t.removeEventListener("click",this._backdropClickHandler),t.removeEventListener("transitionend",i),t.parentNode&&t.parentNode.removeChild(t)),this._backdropElement==t&&(this._backdropElement=null),this._config.backdropClass&&this._toggleClasses(t,this._config.backdropClass,!1),clearTimeout(e)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{t.addEventListener("transitionend",i)}),t.style.pointerEvents="none",e=this._ngZone.runOutsideAngular(()=>setTimeout(i,500))}_toggleClasses(e,t,i){const n=e.classList;Af(t).forEach(e=>{e&&(i?n.add(e):n.remove(e))})}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const e=this._ngZone.onStable.asObservable().pipe(rg(U(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)),e.unsubscribe())})})}_disposeScrollStrategy(){const e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}const y_=/([A-Za-z%]+)$/;class b_{constructor(e,t,i,n,s){this._viewportRuler=t,this._document=i,this._platform=n,this._overlayContainer=s,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 x,this._resizeSubscription=h.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(e)}get positions(){return this._preferredPositions}attach(e){if(this._overlayRef&&e!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{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 e=this._originRect,t=this._overlayRect,i=this._viewportRect,n=[];let s;for(let r of this._preferredPositions){let a=this._getOriginPoint(e,r),o=this._getOverlayPoint(a,t,r),l=this._getOverlayFit(o,t,i,r);if(l.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,a);this._canFitWithFlexibleDimensions(l,o,i)?n.push({position:r,origin:a,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(a,r)}):(!s||s.overlayFit.visibleArea<l.visibleArea)&&(s={overlayFit:l,overlayPoint:o,originPoint:a,position:r,overlayRect:t})}if(n.length){let e=null,t=-1;for(const i of n){const n=i.boundingBoxRect.width*i.boundingBoxRect.height*(i.position.weight||1);n>t&&(t=n,e=i)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&v_(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();const e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t){let i,n;if("center"==t.originX)i=e.left+e.width/2;else{const n=this._isRtl()?e.right:e.left,s=this._isRtl()?e.left:e.right;i="start"==t.originX?n:s}return n="center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom,{x:i,y:n}}_getOverlayPoint(e,t,i){let n,s;return n="center"==i.overlayX?-t.width/2:"start"===i.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,s="center"==i.overlayY?-t.height/2:"top"==i.overlayY?0:-t.height,{x:e.x+n,y:e.y+s}}_getOverlayFit(e,t,i,n){let{x:s,y:r}=e,a=this._getOffset(n,"x"),o=this._getOffset(n,"y");a&&(s+=a),o&&(r+=o);let l=0-r,c=r+t.height-i.height,d=this._subtractOverflows(t.width,0-s,s+t.width-i.width),h=this._subtractOverflows(t.height,l,c),u=d*h;return{visibleArea:u,isCompletelyWithinViewport:t.width*t.height===u,fitsInViewportVertically:h===t.height,fitsInViewportHorizontally:d==t.width}}_canFitWithFlexibleDimensions(e,t,i){if(this._hasFlexibleDimensions){const n=i.bottom-t.y,s=i.right-t.x,r=w_(this._overlayRef.getConfig().minHeight),a=w_(this._overlayRef.getConfig().minWidth),o=e.fitsInViewportHorizontally||null!=a&&a<=s;return(e.fitsInViewportVertically||null!=r&&r<=n)&&o}return!1}_pushOverlayOnScreen(e,t,i){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};const n=this._viewportRect,s=Math.max(e.x+t.width-n.right,0),r=Math.max(e.y+t.height-n.bottom,0),a=Math.max(n.top-i.top-e.y,0),o=Math.max(n.left-i.left-e.x,0);let l=0,c=0;return l=t.width<=n.width?o||-s:e.x<this._viewportMargin?n.left-i.left-e.x:0,c=t.height<=n.height?a||-r:e.y<this._viewportMargin?n.top-i.top-e.y:0,this._previousPushAmount={x:l,y:c},{x:e.x+l,y:e.y+c}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){const t=this._getScrollVisibility(),i=new h_(e,t);this._positionChanges.next(i)}this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;const t=this._boundingBox.querySelectorAll(this._transformOriginSelector);let i,n=e.overlayY;i="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(let s=0;s<t.length;s++)t[s].style.transformOrigin=`${i} ${n}`}_calculateBoundingBoxRect(e,t){const i=this._viewportRect,n=this._isRtl();let s,r,a,o,l,c;if("top"===t.overlayY)r=e.y,s=i.height-r+this._viewportMargin;else if("bottom"===t.overlayY)a=i.height-e.y+2*this._viewportMargin,s=i.height-a+this._viewportMargin;else{const t=Math.min(i.bottom-e.y+i.top,e.y),n=this._lastBoundingBoxSize.height;s=2*t,r=e.y-t,s>n&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-n/2)}if("end"===t.overlayX&&!n||"start"===t.overlayX&&n)c=i.width-e.x+this._viewportMargin,o=e.x-this._viewportMargin;else if("start"===t.overlayX&&!n||"end"===t.overlayX&&n)l=e.x,o=i.right-e.x;else{const t=Math.min(i.right-e.x+i.left,e.x),n=this._lastBoundingBoxSize.width;o=2*t,l=e.x-t,o>n&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.x-n/2)}return{top:r,left:l,bottom:a,right:c,width:o,height:s}}_setBoundingBoxStyles(e,t){const i=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{const e=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;n.height=Ef(i.height),n.top=Ef(i.top),n.bottom=Ef(i.bottom),n.width=Ef(i.width),n.left=Ef(i.left),n.right=Ef(i.right),n.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",n.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",e&&(n.maxHeight=Ef(e)),s&&(n.maxWidth=Ef(s))}this._lastBoundingBoxSize=i,v_(this._boundingBox.style,n)}_resetBoundingBoxStyles(){v_(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){v_(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){const i={},n=this._hasExactPosition(),s=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(n){const n=this._viewportRuler.getViewportScrollPosition();v_(i,this._getExactOverlayY(t,e,n)),v_(i,this._getExactOverlayX(t,e,n))}else i.position="static";let a="",o=this._getOffset(t,"x"),l=this._getOffset(t,"y");o&&(a+=`translateX(${o}px) `),l&&(a+=`translateY(${l}px)`),i.transform=a.trim(),r.maxHeight&&(n?i.maxHeight=Ef(r.maxHeight):s&&(i.maxHeight="")),r.maxWidth&&(n?i.maxWidth=Ef(r.maxWidth):s&&(i.maxWidth="")),v_(this._pane.style,i)}_getExactOverlayY(e,t,i){let n={top:"",bottom:""},s=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i));let r=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=r,"bottom"===e.overlayY?n.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":n.top=Ef(s.y),n}_getExactOverlayX(e,t,i){let n,s={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,i)),n=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===n?s.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":s.left=Ef(r.x),s}_getScrollVisibility(){const e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),i=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:a_(e,i),isOriginOutsideView:r_(e,i),isOverlayClipped:a_(t,i),isOverlayOutsideView:r_(t,i)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){const e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+e-this._viewportMargin,bottom:i.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(e=>{m_("originX",e.originX),u_("originY",e.originY),m_("overlayX",e.overlayX),u_("overlayY",e.overlayY)})}_addPanelClasses(e){this._pane&&Af(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){const e=this._origin;if(e instanceof Wo)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();const t=e.width||0,i=e.height||0;return{top:e.y,bottom:e.y+i,left:e.x,right:e.x+t,height:i,width:t}}}function v_(e,t){for(let i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function w_(e){if("number"!=typeof e&&null!=e){const[t,i]=e.split(y_);return i&&"px"!==i?null:parseFloat(t)}return e||null}class k_{constructor(e,t,i,n,s,r,a){this._preferredPositions=[],this._positionStrategy=new b_(i,n,s,r,a).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t)}get _isRtl(){return"rtl"===this._overlayRef.getDirection()}get onPositionChange(){return this._positionStrategy.positionChanges}get positions(){return this._preferredPositions}attach(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}dispose(){this._positionStrategy.dispose()}detach(){this._positionStrategy.detach()}apply(){this._positionStrategy.apply()}recalculateLastPosition(){this._positionStrategy.reapplyLastPosition()}withScrollableContainers(e){this._positionStrategy.withScrollableContainers(e)}withFallbackPosition(e,t,i,n){const s=new d_(e,t,i,n);return this._preferredPositions.push(s),this._positionStrategy.withPositions(this._preferredPositions),this}withDirection(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}withOffsetX(e){return this._positionStrategy.withDefaultOffsetX(e),this}withOffsetY(e){return this._positionStrategy.withDefaultOffsetY(e),this}withLockedPosition(e){return this._positionStrategy.withLockedPosition(e),this}withPositions(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}setOrigin(e){return this._positionStrategy.setOrigin(e),this}}class x_{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(e){const t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._justifyContent="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:n,height:s,maxWidth:r,maxHeight:a}=i,o=!("100%"!==n&&"100vw"!==n||r&&"100%"!==r&&"100vw"!==r),l=!("100%"!==s&&"100vh"!==s||a&&"100%"!==a&&"100vh"!==a);e.position=this._cssPosition,e.marginLeft=o?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,o?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,i=t.style;t.classList.remove("cdk-global-overlay-wrapper"),i.justifyContent=i.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}let C_=(()=>{class e{constructor(e,t,i,n){this._viewportRuler=e,this._document=t,this._platform=i,this._overlayContainer=n}global(){return new x_}connectedTo(e,t,i){return new k_(t,i,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}flexibleConnectedTo(e){return new b_(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return e.\u0275fac=function(t){return new(t||e)(Ge(Ng),Ge(pd),Ge(vg),Ge(g_))},e.\u0275prov=ce({factory:function(){return new e(Ge(Ng),Ge(pd),Ge(vg),Ge(g_))},token:e,providedIn:"root"}),e})(),S_=0,M_=(()=>{class e{constructor(e,t,i,n,s,r,a,o,l,c){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=i,this._positionBuilder=n,this._keyboardDispatcher=s,this._injector=r,this._ngZone=a,this._document=o,this._directionality=l,this._location=c}create(e){const t=this._createHostElement(),i=this._createPaneElement(t),n=this._createPortalOutlet(i),s=new c_(e);return s.direction=s.direction||this._directionality.value,new __(n,t,i,s,this._ngZone,this._keyboardDispatcher,this._document,this._location)}position(){return this._positionBuilder}_createPaneElement(e){const t=this._document.createElement("div");return t.id="cdk-overlay-"+S_++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(id)),new Gg(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return e.\u0275fac=function(t){return new(t||e)(Ge(l_),Ge(g_),Ge(zo),Ge(C_),Ge(p_),Ge(fa),Ge(Rc),Ge(pd),Ge(Eg),Ge(Td,8))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();const D_=[{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"}],L_=new Re("cdk-connected-overlay-scroll-strategy");let T_=(()=>{class e{constructor(e){this.elementRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e})(),A_=(()=>{class e{constructor(e,t,i,n,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=h.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new Gl,this.positionChange=new Gl,this.attach=new Gl,this.detach=new Gl,this.overlayKeydown=new Gl,this._templatePortal=new Wg(t,i),this._scrollStrategyFactory=n,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Df(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=Df(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=Df(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=Df(e)}get push(){return this._push}set push(e){this._push=Df(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){this.positions&&this.positions.length||(this.positions=D_),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(e=>{this.overlayKeydown.next(e),27!==e.keyCode||e_(e)||(e.preventDefault(),this._detachOverlay())})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new c_({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}_updatePositionStrategy(e){const t=this.positions.map(e=>({originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||this.offsetX,offsetY:e.offsetY||this.offsetY,panelClass:e.panelClass||void 0}));return e.setOrigin(this.origin.elementRef).withPositions(t).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e.positionChanges.subscribe(e=>this.positionChange.emit(e)),e}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe()}_detachOverlay(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ea(M_),Ea(pl),Ea(gl),Ea(L_),Ea(Eg,8))},e.\u0275dir=yt({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown"},exportAs:["cdkConnectedOverlay"],features:[Et]}),e})();const E_={provide:L_,deps:[M_],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let I_=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[M_,E_],imports:[[Ig,Zg,Hg],Hg]}),e})(),P_=(()=>{class e{constructor(){this.currentNavTitleSubject=new $h("Mobile.de Ad"),this.currentNavTitle=this.currentNavTitleSubject.asObservable()}get currentNavTitleValue(){return this.currentNavTitleSubject.value}set currentNavTitleValue(e){this.currentNavTitleSubject.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Y_=function(e){return e[e.NotCreated=0]="NotCreated",e[e.NotCreatedImagesFromDispo24Present=1]="NotCreatedImagesFromDispo24Present",e[e.Created=2]="Created",e[e.NotCreatable=3]="NotCreatable",e}({});let O_=(()=>{class e{constructor(){this.actualStoreDescriptionTextStartSubject=new _g,this.actualStoreDescriptionTextEndSubject=new _g,this.actualStoreBrandsSubject=new _g,this.actualStoreDescriptionInternalNumberSubject=new _g,this.actualStoreDescriptionListPriceSubject=new _g,this.actualStoreDescriptionTextStart$=this.actualStoreDescriptionTextStartSubject.asObservable(),this.actualStoreDescriptionTextEnd$=this.actualStoreDescriptionTextEndSubject.asObservable(),this.actualStoreBrands$=this.actualStoreBrandsSubject.asObservable(),this.actualStoreDescriptionInternalNumber$=this.actualStoreDescriptionInternalNumberSubject.asObservable(),this.actualStoreDescriptionListPrice$=this.actualStoreDescriptionListPriceSubject.asObservable(),this.internalNumberSubject=new _g,this.dealerPriceGrossSubject=new _g,this.internalNumber$=this.internalNumberSubject.asObservable(),this.dealerPriceGross$=this.dealerPriceGrossSubject.asObservable(),this.profileStateSubjects={},this.profileStatesObservables$={},this.imageProfileProcessingObservables$={},this._imageProfilesProcessingTable={},this.dp24DataSource=new _g,this.currentCar$=this.dp24DataSource.asObservable(),this.imagesCurrentlyProcessingSubject=new $h(!1),this.imagesProcessing$=this.imagesCurrentlyProcessingSubject.asObservable(),this.currentDarmasAdReplaySubject=new _g,this.currentDarmasAd$=this.currentDarmasAdReplaySubject.asObservable(),this.uploadedImgs2Mobile=new _g,this.uploadedImgs2MobileObservable$=this.uploadedImgs2Mobile.asObservable(),this.currentFeatureProfileSubject=new x,this.updatedAdsSubject=new _g,this.updatedAd$=this.updatedAdsSubject.asObservable(),this.selectedFeatures=new _g,this.selectedFeaturesObservable=this.selectedFeatures.asObservable()}addUpdatedAd(e){console.log("SharedDataService: addUpdatedAd: ",e),this.updatedAdsSubject.next(e)}setOrChangeProfileState(e,t){this.profileStateSubjects[e]?this.profileStateSubjects[e].next(t):(this.profileStateSubjects[e]=new $h(t),this.profileStatesObservables$[e]=this.profileStateSubjects[e].asObservable())}get profileStateObservables(){return this.profileStatesObservables$}set internalNumber(e){this.internalNumberSubject.next(e)}set dealerPriceGross(e){this.dealerPriceGrossSubject.next(e)}addImageProfileProcessing(e,t){this._imageProfilesProcessingTable[e]?this._imageProfilesProcessingTable[e].next(t):(this._imageProfilesProcessingTable[e]=new $h(t),this.imageProfileProcessingObservables$[e]=this.imageProfilesProcessingTable[e].asObservable())}get imageProfilesProcessingTable(){return this._imageProfilesProcessingTable}get getImageProfileProcessingObservables(){return this.imageProfileProcessingObservables$}setImagesCurrentlyProcessing(e){this.imagesCurrentlyProcessingSubject.next(e)}changeCar(e){this.dp24DataSource.next(e)}completeDp24Car(){this.dp24DataSource.complete(),this.dp24DataSource=new _g,this.currentCar$=this.dp24DataSource.asObservable()}changeDarmasAd(e){this.currentDarmasAdReplaySubject.next(e)}completeDarmasAd(){this.currentDarmasAdReplaySubject.complete(),this.currentDarmasAdReplaySubject=new _g,this.currentDarmasAd$=this.currentDarmasAdReplaySubject.asObservable()}setSelectedFeature(e,t,i,n=null,s=null){let r=!1;if(n&&"boolean"===n.adPropertyType)console.log("boolean and: ",s),t="boolean-select";else if(n&&n.optionItems){if(Array.isArray(s))if(s.length>0){let t=0;const i=s.length,r={name:"",description:"",url:""};s.forEach(e=>{for(let t of n.optionItems)e===t.name&&(r.description+=t.description);t+1<i&&(r.description+=", "),t++}),console.log(e),e=r}else r=!0;else for(const t of n.optionItems)if(t.name===s){e=t,console.log("FEATURE:: ",e);break}t="select"}r||this.selectedFeatures.next({feature:e,checked:t,featureCatObject:i,select:n,selectValue:s})}completeSelectedFeatures(){this.selectedFeatures.complete(),this.selectedFeatures=new _g,this.selectedFeaturesObservable=this.selectedFeatures.asObservable()}setUploadedImages(e){this.uploadedImgs2Mobile.next(e)}completeUploadedImages(){this.uploadedImgs2Mobile.complete(),this.uploadedImgs2Mobile=new _g,this.uploadedImgs2MobileObservable$=this.uploadedImgs2Mobile.asObservable()}setActualStoreDescriptionTextStart(e){this.actualStoreDescriptionTextStartSubject.next(e)}setActualStoreDescriptionTextEnd(e){this.actualStoreDescriptionTextEndSubject.next(e)}setActualStoreDescriptionInternalNumber(e){this.actualStoreDescriptionInternalNumberSubject.next(e)}setActualStoreDescriptionListPrice(e){this.actualStoreDescriptionListPriceSubject.next(e)}setActualStoreBrands(e){this.actualStoreBrandsSubject.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();function F_(e,t=Zf){return i=>i.lift(new R_(e,t))}class R_{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new N_(e,this.dueTime,this.scheduler))}}class N_ extends p{constructor(e,t,i){super(e),this.dueTime=t,this.scheduler=i,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(j_,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function j_(e){e.debouncedNext()}let H_=(()=>{class e{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({factory:function(){return new e},token:e,providedIn:"root"}),e})(),V_=(()=>{class e{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,t)=>this._cleanupObserver(t))}observe(e){const t=If(e);return new y(e=>{const i=this._observeElement(t).subscribe(e);return()=>{i.unsubscribe(),this._unobserveElement(t)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const t=new x,i=this._mutationObserverFactory.create(e=>t.next(e));i&&i.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:i,stream:t,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:t,stream:i}=this._observedElements.get(e);t&&t.disconnect(),i.complete(),this._observedElements.delete(e)}}}return e.\u0275fac=function(t){return new(t||e)(Ge(H_))},e.\u0275prov=ce({factory:function(){return new e(Ge(H_))},token:e,providedIn:"root"}),e})(),B_=(()=>{class e{constructor(e,t,i){this._contentObserver=e,this._elementRef=t,this._ngZone=i,this.event=new Gl,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=Df(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Lf(e),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(F_(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ea(V_),Ea(Wo),Ea(Rc))},e.\u0275dir=yt({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e})(),z_=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[H_]}),e})();function W_(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}let U_=0;const $_=new Map;let G_=null,q_=(()=>{class e{constructor(e){this._document=e}describe(e,t){this._canBeDescribed(e,t)&&("string"!=typeof t?(this._setMessageId(t),$_.set(t,{messageElement:t,referenceCount:0})):$_.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))}removeDescription(e,t){if(this._isElementNode(e)){if(this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t),"string"==typeof t){const e=$_.get(t);e&&0===e.referenceCount&&this._deleteMessageElement(t)}G_&&0===G_.childNodes.length&&this._deleteMessagesContainer()}}ngOnDestroy(){const e=this._document.querySelectorAll("[cdk-describedby-host]");for(let t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute("cdk-describedby-host");G_&&this._deleteMessagesContainer(),$_.clear()}_createMessageElement(e){const t=this._document.createElement("div");this._setMessageId(t),t.textContent=e,this._createMessagesContainer(),G_.appendChild(t),$_.set(e,{messageElement:t,referenceCount:0})}_setMessageId(e){e.id||(e.id="cdk-describedby-message-"+U_++)}_deleteMessageElement(e){const t=$_.get(e),i=t&&t.messageElement;G_&&i&&G_.removeChild(i),$_.delete(e)}_createMessagesContainer(){if(!G_){const e=this._document.getElementById("cdk-describedby-message-container");e&&e.parentNode.removeChild(e),G_=this._document.createElement("div"),G_.id="cdk-describedby-message-container",G_.setAttribute("aria-hidden","true"),G_.style.display="none",this._document.body.appendChild(G_)}}_deleteMessagesContainer(){G_&&G_.parentNode&&(G_.parentNode.removeChild(G_),G_=null)}_removeCdkDescribedByReferenceIds(e){const t=W_(e,"aria-describedby").filter(e=>0!=e.indexOf("cdk-describedby-message"));e.setAttribute("aria-describedby",t.join(" "))}_addMessageReference(e,t){const i=$_.get(t);!function(e,t,i){const n=W_(e,t);n.some(e=>e.trim()==i.trim())||(n.push(i.trim()),e.setAttribute(t,n.join(" ")))}(e,"aria-describedby",i.messageElement.id),e.setAttribute("cdk-describedby-host",""),i.referenceCount++}_removeMessageReference(e,t){const i=$_.get(t);i.referenceCount--,function(e,t,i){const n=W_(e,t).filter(e=>e!=i.trim());n.length?e.setAttribute(t,n.join(" ")):e.removeAttribute(t)}(e,"aria-describedby",i.messageElement.id),e.removeAttribute("cdk-describedby-host")}_isElementDescribedByMessage(e,t){const i=W_(e,"aria-describedby"),n=$_.get(t),s=n&&n.messageElement.id;return!!s&&-1!=i.indexOf(s)}_canBeDescribed(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;const i=null==t?"":(""+t).trim(),n=e.getAttribute("aria-label");return!(!i||n&&n.trim()===i)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return e.\u0275fac=function(t){return new(t||e)(Ge(pd))},e.\u0275prov=ce({factory:function(){return new e(Ge(pd))},token:e,providedIn:"root"}),e})();class K_{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new x,this._typeaheadSubscription=h.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new x,this.change=new x,e instanceof Kl&&e.changes.subscribe(e=>{if(this._activeItem){const t=e.toArray().indexOf(this._activeItem);t>-1&&t!==this._activeItemIndex&&(this._activeItemIndex=t)}})}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){if(this._items.length&&this._items.some(e=>"function"!=typeof e.getLabel))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Cu(e=>this._pressedLetters.push(e)),F_(e),iu(()=>this._pressedLetters.length>0),O(()=>this._pressedLetters.join(""))).subscribe(e=>{const t=this._getItemsArray();for(let i=1;i<t.length+1;i++){const n=(this._activeItemIndex+i)%t.length,s=t[n];if(!this._skipPredicateFn(s)&&0===s.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(n);break}}this._pressedLetters=[]}),this}setActiveItem(e){const t=this._activeItemIndex;this.updateActiveItem(e),this._activeItemIndex!==t&&this.change.next(this._activeItemIndex)}onKeydown(e){const t=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(t=>!e[t]||this._allowedModifierKeys.indexOf(t)>-1);switch(t){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((i||e_(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))))}this._pressedLetters=[],e.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(e){const t=this._getItemsArray(),i="number"==typeof e?e:t.indexOf(e),n=t[i];this._activeItem=null==n?null:n,this._activeItemIndex=i}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){const t=this._getItemsArray();for(let i=1;i<=t.length;i++){const n=(this._activeItemIndex+e*i+t.length)%t.length;if(!this._skipPredicateFn(t[n]))return void this.setActiveItem(n)}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,t){const i=this._getItemsArray();if(i[e]){for(;this._skipPredicateFn(i[e]);)if(!i[e+=t])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof Kl?this._items.toArray():this._items}}class J_ extends K_{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}}class Q_ extends K_{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}}let Z_=(()=>{class e{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const t=function(e){try{return e.frameElement}catch(lz){return null}}((i=e).ownerDocument&&i.ownerDocument.defaultView||window);var i;if(t){const e=t&&t.nodeName.toLowerCase();if(-1===ey(t))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===e)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(t))return!1}let n=e.nodeName.toLowerCase(),s=ey(e);if(e.hasAttribute("contenteditable"))return-1!==s;if("iframe"===n)return!1;if("audio"===n){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===n){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==n||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){let t=e.nodeName.toLowerCase(),i="input"===t&&e.type;return"text"===i||"password"===i||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0}isFocusable(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){let t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||X_(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)}}return e.\u0275fac=function(t){return new(t||e)(Ge(vg))},e.\u0275prov=ce({factory:function(){return new e(Ge(vg))},token:e,providedIn:"root"}),e})();function X_(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;let t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function ey(e){if(!X_(e))return null;const t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}class ty{constructor(e,t,i,n,s=!1){this._element=e,this._checker=t,this._ngZone=i,this._document=n,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}destroy(){const e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null}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(e=>{this._executeOnStable(()=>e(this.focusInitialElement()))})}focusFirstTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement()))})}focusLastTabbableElementWhenReady(){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement()))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);for(let i=0;i<t.length;i++)t[i].hasAttribute("cdk-focus-"+e)?console.warn(`Found use of deprecated attribute 'cdk-focus-${e}', use 'cdkFocusRegion${e}' instead. The deprecated attribute will be removed in 8.0.0.`,t[i]):t[i].hasAttribute("cdk-focus-region-"+e)&&console.warn(`Found use of deprecated attribute 'cdk-focus-region-${e}', use 'cdkFocusRegion${e}' instead. The deprecated attribute will be removed in 8.0.0.`,t[i]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return e?(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),En()&&!this._checker.isFocusable(e)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",e),e.focus(),!0):this.focusFirstTabbableElement()}focusFirstTabbableElement(){const e=this._getRegionBoundary("start");return e&&e.focus(),!!e}focusLastTabbableElement(){const e=this._getRegionBoundary("end");return e&&e.focus(),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children||e.childNodes;for(let i=0;i<t.length;i++){let e=t[i].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[i]):null;if(e)return e}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children||e.childNodes;for(let i=t.length-1;i>=0;i--){let e=t[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[i]):null;if(e)return e}return null}_createAnchor(){const e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(bu(1)).subscribe(e)}}let iy=(()=>{class e{constructor(e,t,i){this._checker=e,this._ngZone=t,this._document=i}create(e,t=!1){return new ty(e,this._checker,this._ngZone,this._document,t)}}return e.\u0275fac=function(t){return new(t||e)(Ge(Z_),Ge(Rc),Ge(pd))},e.\u0275prov=ce({factory:function(){return new e(Ge(Z_),Ge(Rc),Ge(pd))},token:e,providedIn:"root"}),e})(),ny=(()=>{class e{constructor(e,t,i){this._elementRef=e,this._focusTrapFactory=t,this._previouslyFocusedElement=null,this._document=i,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(e){this.focusTrap.enabled=Df(e)}get autoCapture(){return this._autoCapture}set autoCapture(e){this._autoCapture=Df(e)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(iy),Ea(pd))},e.\u0275dir=yt({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"]}),e})();"undefined"!=typeof Element&∈const sy=new Re("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),ry=new Re("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ay=(()=>{class e{constructor(e,t,i,n){this._ngZone=t,this._defaultOptions=n,this._document=i,this._liveElement=e||this._createLiveElement()}announce(e,...t){const i=this._defaultOptions;let n,s;return 1===t.length&&"number"==typeof t[0]?s=t[0]:[n,s]=t,this.clear(),clearTimeout(this._previousTimeout),n||(n=i&&i.politeness?i.politeness:"polite"),null==s&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",n),this._ngZone.runOutsideAngular(()=>new Promise(t=>{clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,t(),"number"==typeof s&&(this._previousTimeout=setTimeout(()=>this.clear(),s))},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 e=this._document.getElementsByClassName("cdk-live-announcer-element"),t=this._document.createElement("div");for(let i=0;i<e.length;i++)e[i].parentNode.removeChild(e[i]);return t.classList.add("cdk-live-announcer-element"),t.classList.add("cdk-visually-hidden"),t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),t}}return e.\u0275fac=function(t){return new(t||e)(Ge(sy,8),Ge(Rc),Ge(pd),Ge(ry,8))},e.\u0275prov=ce({factory:function(){return new e(Ge(sy,8),Ge(Rc),Ge(pd),Ge(ry,8))},token:e,providedIn:"root"}),e})(),oy=(()=>{class e{constructor(e,t,i,n){this._elementRef=e,this._liveAnnouncer=t,this._contentObserver=i,this._ngZone=n,this._politeness="off"}get politeness(){return this._politeness}set politeness(e){this._politeness="polite"===e||"assertive"===e?e:"off","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(()=>this._contentObserver.observe(this._elementRef).subscribe(()=>{const e=this._elementRef.nativeElement.textContent;e!==this._previousAnnouncedText&&(this._liveAnnouncer.announce(e,this._politeness),this._previousAnnouncedText=e)})))}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(ay),Ea(V_),Ea(Rc))},e.\u0275dir=yt({type:e,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),e})();function ly(e){return 0===e.buttons}const cy=new Re("cdk-focus-monitor-default-options"),dy=Dg({passive:!0,capture:!0});let hy=(()=>{class e{constructor(e,t,i,n){this._ngZone=e,this._platform=t,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=e=>{if(!this._lastTouchTarget){const t=ly(e)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=e=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=uy(e),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=e=>{const t=uy(e),i="focus"===e.type?this._onFocus:this._onBlur;for(let n=t;n;n=n.parentElement)i.call(this,e,n)},this._document=i,this._detectionMode=(null==n?void 0:n.detectionMode)||0}monitor(e,t=!1){if(!this._platform.isBrowser)return Uh(null);const i=If(e),n=Tg(i)||this._getDocument(),s=this._elementInfo.get(i);if(s)return t&&(s.checkChildren=!0),s.subject.asObservable();const r={checkChildren:t,subject:new x,rootNode:n};return this._elementInfo.set(i,r),this._registerGlobalListeners(r),r.subject.asObservable()}stopMonitoring(e){const t=If(e),i=this._elementInfo.get(t);i&&(i.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(i))}focusVia(e,t,i){const n=If(e);this._setOriginForCurrentEventQueue(t),"function"==typeof n.focus&&n.focus(i)}ngOnDestroy(){this._elementInfo.forEach((e,t)=>this.stopMonitoring(t))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(e,t,i){i?e.classList.add(t):e.classList.remove(t)}_getFocusOrigin(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}_setClasses(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}_setOriginForCurrentEventQueue(e){this._ngZone.runOutsideAngular(()=>{this._origin=e,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(e){const t=uy(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}_onFocus(e,t){const i=this._elementInfo.get(t);if(!i||!i.checkChildren&&t!==uy(e))return;const n=this._getFocusOrigin(e);this._setClasses(t,n),this._emitOrigin(i.subject,n),this._lastFocusOrigin=n}_onBlur(e,t){const i=this._elementInfo.get(t);!i||i.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(i.subject,null))}_emitOrigin(e,t){this._ngZone.run(()=>e.next(t))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const t=e.rootNode,i=this._rootNodeFocusListenerCount.get(t)||0;i||this._ngZone.runOutsideAngular(()=>{t.addEventListener("focus",this._rootNodeFocusAndBlurListener,dy),t.addEventListener("blur",this._rootNodeFocusAndBlurListener,dy)}),this._rootNodeFocusListenerCount.set(t,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const e=this._getDocument(),t=this._getWindow();e.addEventListener("keydown",this._documentKeydownListener,dy),e.addEventListener("mousedown",this._documentMousedownListener,dy),e.addEventListener("touchstart",this._documentTouchstartListener,dy),t.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(e){const t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){const e=this._rootNodeFocusListenerCount.get(t);e>1?this._rootNodeFocusListenerCount.set(t,e-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,dy),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,dy),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){const e=this._getDocument(),t=this._getWindow();e.removeEventListener("keydown",this._documentKeydownListener,dy),e.removeEventListener("mousedown",this._documentMousedownListener,dy),e.removeEventListener("touchstart",this._documentTouchstartListener,dy),t.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}return e.\u0275fac=function(t){return new(t||e)(Ge(Rc),Ge(vg),Ge(pd,8),Ge(cy,8))},e.\u0275prov=ce({factory:function(){return new e(Ge(Rc),Ge(vg),Ge(pd,8),Ge(cy,8))},token:e,providedIn:"root"}),e})();function uy(e){return e.composedPath?e.composedPath()[0]:e.target}let my=(()=>{class e{constructor(e,t){this._elementRef=e,this._focusMonitor=t,this.cdkFocusChange=new Gl,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(e=>this.cdkFocusChange.emit(e))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(hy))},e.\u0275dir=yt({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e})(),py=(()=>{class e{constructor(e,t){this._platform=e,this._document=t}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const t=this._document.defaultView||window,i=t&&t.getComputedStyle?t.getComputedStyle(e):null,n=(i&&i.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),n){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 e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");const t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}return e.\u0275fac=function(t){return new(t||e)(Ge(vg),Ge(pd))},e.\u0275prov=ce({factory:function(){return new e(Ge(vg),Ge(pd))},token:e,providedIn:"root"}),e})(),fy=(()=>{class e{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)(Ge(py))},imports:[[wg,z_]]}),e})();const gy=new Qo("9.2.4");class _y{}function yy(e,t){return{type:7,name:e,definitions:t,options:{}}}function by(e,t=null){return{type:4,styles:t,timings:e}}function vy(e,t=null){return{type:3,steps:e,options:t}}function wy(e,t=null){return{type:2,steps:e,options:t}}function ky(e){return{type:6,styles:e,offset:null}}function xy(e,t,i){return{type:0,name:e,styles:t,options:i}}function Cy(e){return{type:5,steps:e}}function Sy(e,t,i=null){return{type:1,expr:e,animation:t,options:i}}function My(e=null){return{type:9,options:e}}function Dy(e,t,i=null){return{type:11,selector:e,animation:t,options:i}}function Ly(e,t){return{type:12,timings:e,animation:t}}function Ty(e){Promise.resolve(null).then(e)}class Ay{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Ty(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){}getPosition(){return 0}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class Ey{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,i=0,n=0;const s=this.players.length;0==s?Ty(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==s&&this._onFinish()}),e.onDestroy(()=>{++i==s&&this._onDestroy()}),e.onStart(()=>{++n==s&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const i=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(i)})}getPosition(){let e=0;return this.players.forEach(t=>{const i=t.getPosition();e=Math.min(i,e)}),e}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}function Iy(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Py(e){switch(e.length){case 0:return new Ay;case 1:return e[0];default:return new Ey(e)}}function Yy(e,t,i,n,s={},r={}){const a=[],o=[];let l=-1,c=null;if(n.forEach(e=>{const i=e.offset,n=i==l,d=n&&c||{};Object.keys(e).forEach(i=>{let n=i,o=e[i];if("offset"!==i)switch(n=t.normalizePropertyName(n,a),o){case"!":o=s[i];break;case"*":o=r[i];break;default:o=t.normalizeStyleValue(i,n,o,a)}d[n]=o}),n||o.push(d),c=d,l=i}),a.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${a.join(e)}`)}return o}function Oy(e,t,i,n){switch(t){case"start":e.onStart(()=>n(i&&Fy(i,"start",e)));break;case"done":e.onDone(()=>n(i&&Fy(i,"done",e)));break;case"destroy":e.onDestroy(()=>n(i&&Fy(i,"destroy",e)))}}function Fy(e,t,i){const n=i.totalTime,s=Ry(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==n?e.totalTime:n,!!i.disabled),r=e._data;return null!=r&&(s._data=r),s}function Ry(e,t,i,n,s="",r=0,a){return{element:e,triggerName:t,fromState:i,toState:n,phaseName:s,totalTime:r,disabled:!!a}}function Ny(e,t,i){let n;return e instanceof Map?(n=e.get(t),n||e.set(t,n=i)):(n=e[t],n||(n=e[t]=i)),n}function jy(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let Hy=(e,t)=>!1,Vy=(e,t)=>!1,By=(e,t,i)=>[];const zy=Iy();(zy||"undefined"!=typeof Element)&&(Hy=(e,t)=>e.contains(t),Vy=(()=>{if(zy||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,i)=>t.apply(e,[i]):Vy}})(),By=(e,t,i)=>{let n=[];if(i)n.push(...e.querySelectorAll(t));else{const i=e.querySelector(t);i&&n.push(i)}return n});let Wy=null,Uy=!1;function $y(e){Wy||(Wy=("undefined"!=typeof document?document.body:null)||{},Uy=!!Wy.style&&"WebkitAppearance"in Wy.style);let t=!0;return Wy.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in Wy.style,!t&&Uy)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Wy.style),t}const Gy=Vy,qy=Hy,Ky=By;function Jy(e){const t={};return Object.keys(e).forEach(i=>{const n=i.replace(/([a-z])([A-Z])/g,"$1-$2");t[n]=e[i]}),t}let Qy=(()=>{class e{validateStyleProperty(e){return $y(e)}matchesElement(e,t){return Gy(e,t)}containsElement(e,t){return qy(e,t)}query(e,t,i){return Ky(e,t,i)}computeStyle(e,t,i){return i||""}animate(e,t,i,n,s,r=[],a){return new Ay(i,n)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),Zy=(()=>{class e{}return e.NOOP=new Qy,e})();function Xy(e){if("number"==typeof e)return e;const t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:eb(parseFloat(t[1]),t[2])}function eb(e,t){switch(t){case"s":return 1e3*e;default:return e}}function tb(e,t,i){return e.hasOwnProperty("duration")?e:function(e,t,i){let n,s=0,r="";if("string"==typeof e){const i=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===i)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};n=eb(parseFloat(i[1]),i[2]);const a=i[3];null!=a&&(s=eb(parseFloat(a),i[4]));const o=i[5];o&&(r=o)}else n=e;if(!i){let i=!1,r=t.length;n<0&&(t.push("Duration values below 0 are not allowed for this animation step."),i=!0),s<0&&(t.push("Delay values below 0 are not allowed for this animation step."),i=!0),i&&t.splice(r,0,`The provided timing value "${e}" is invalid.`)}return{duration:n,delay:s,easing:r}}(e,t,i)}function ib(e,t={}){return Object.keys(e).forEach(i=>{t[i]=e[i]}),t}function nb(e,t,i={}){if(t)for(let n in e)i[n]=e[n];else ib(e,i);return i}function sb(e,t,i){return i?t+":"+i+";":""}function rb(e){let t="";for(let i=0;i<e.style.length;i++){const n=e.style.item(i);t+=sb(0,n,e.style.getPropertyValue(n))}for(const i in e.style)e.style.hasOwnProperty(i)&&!i.startsWith("_")&&(t+=sb(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[i]));e.setAttribute("style",t)}function ab(e,t,i){e.style&&(Object.keys(t).forEach(n=>{const s=pb(n);i&&!i.hasOwnProperty(n)&&(i[n]=e.style[s]),e.style[s]=t[n]}),Iy()&&rb(e))}function ob(e,t){e.style&&(Object.keys(t).forEach(t=>{const i=pb(t);e.style[i]=""}),Iy()&&rb(e))}function lb(e){return Array.isArray(e)?1==e.length?e[0]:wy(e):e}const cb=new RegExp("{{\\s*(.+?)\\s*}}","g");function db(e){let t=[];if("string"==typeof e){let i;for(;i=cb.exec(e);)t.push(i[1]);cb.lastIndex=0}return t}function hb(e,t,i){const n=e.toString(),s=n.replace(cb,(e,n)=>{let s=t[n];return t.hasOwnProperty(n)||(i.push("Please provide a value for the animation param "+n),s=""),s.toString()});return s==n?e:s}function ub(e){const t=[];let i=e.next();for(;!i.done;)t.push(i.value),i=e.next();return t}const mb=/-+([a-z0-9])/g;function pb(e){return e.replace(mb,(...e)=>e[1].toUpperCase())}function fb(e,t){return 0===e||0===t}function gb(e,t,i){const n=Object.keys(i);if(n.length&&t.length){let r=t[0],a=[];if(n.forEach(e=>{r.hasOwnProperty(e)||a.push(e),r[e]=i[e]}),a.length)for(var s=1;s<t.length;s++){let i=t[s];a.forEach((function(t){i[t]=yb(e,t)}))}}return t}function _b(e,t,i){switch(t.type){case 7:return e.visitTrigger(t,i);case 0:return e.visitState(t,i);case 1:return e.visitTransition(t,i);case 2:return e.visitSequence(t,i);case 3:return e.visitGroup(t,i);case 4:return e.visitAnimate(t,i);case 5:return e.visitKeyframes(t,i);case 6:return e.visitStyle(t,i);case 8:return e.visitReference(t,i);case 9:return e.visitAnimateChild(t,i);case 10:return e.visitAnimateRef(t,i);case 11:return e.visitQuery(t,i);case 12:return e.visitStagger(t,i);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function yb(e,t){return window.getComputedStyle(e)[t]}function bb(e,t){const i=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,i){if(":"==e[0]){const n=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,i);if("function"==typeof n)return void t.push(n);e=n}const n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return i.push(`The provided transition expression "${e}" is not supported`),t;const s=n[1],r=n[2],a=n[3];t.push(kb(s,a)),"<"!=r[0]||"*"==s&&"*"==a||t.push(kb(a,s))}(e,i,t)):i.push(e),i}const vb=new Set(["true","1"]),wb=new Set(["false","0"]);function kb(e,t){const i=vb.has(e)||wb.has(e),n=vb.has(t)||wb.has(t);return(s,r)=>{let a="*"==e||e==s,o="*"==t||t==r;return!a&&i&&"boolean"==typeof s&&(a=s?vb.has(e):wb.has(e)),!o&&n&&"boolean"==typeof r&&(o=r?vb.has(t):wb.has(t)),a&&o}}const xb=new RegExp("s*:selfs*,?","g");function Cb(e,t,i){return new Sb(e).build(t,i)}class Sb{constructor(e){this._driver=e}build(e,t){const i=new Mb(t);return this._resetContextStyleTimingState(i),_b(this,lb(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,n=t.depCount=0;const s=[],r=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const i=e,n=i.name;n.toString().split(/\s*,\s*/).forEach(e=>{i.name=e,s.push(this.visitState(i,t))}),i.name=n}else if(1==e.type){const s=this.visitTransition(e,t);i+=s.queryCount,n+=s.depCount,r.push(s)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:s,transitions:r,queryCount:i,depCount:n,options:null}}visitState(e,t){const i=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(i.containsDynamicStyles){const s=new Set,r=n||{};if(i.styles.forEach(e=>{if(Db(e)){const t=e;Object.keys(t).forEach(e=>{db(t[e]).forEach(e=>{r.hasOwnProperty(e)||s.add(e)})})}}),s.size){const i=ub(s.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${i.join(", ")}`)}}return{type:0,name:e.name,style:i,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const i=_b(this,lb(e.animation),t);return{type:1,matchers:bb(e.expr,t.errors),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:Lb(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>_b(this,e,t)),options:Lb(e.options)}}visitGroup(e,t){const i=t.currentTime;let n=0;const s=e.steps.map(e=>{t.currentTime=i;const s=_b(this,e,t);return n=Math.max(n,t.currentTime),s});return t.currentTime=n,{type:3,steps:s,options:Lb(e.options)}}visitAnimate(e,t){const i=function(e,t){let i=null;if(e.hasOwnProperty("duration"))i=e;else if("number"==typeof e)return Tb(tb(e,t).duration,0,"");const n=e;if(n.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=Tb(0,0,"");return e.dynamic=!0,e.strValue=n,e}return i=i||tb(n,t),Tb(i.duration,i.delay,i.easing)}(e.timings,t.errors);let n;t.currentAnimateTimings=i;let s=e.styles?e.styles:ky({});if(5==s.type)n=this.visitKeyframes(s,t);else{let s=e.styles,r=!1;if(!s){r=!0;const e={};i.easing&&(e.easing=i.easing),s=ky(e)}t.currentTime+=i.duration+i.delay;const a=this.visitStyle(s,t);a.isEmptyStep=r,n=a}return t.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}visitStyle(e,t){const i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){const i=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?"*"==e?i.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):i.push(e)}):i.push(e.styles);let n=!1,s=null;return i.forEach(e=>{if(Db(e)){const t=e,i=t.easing;if(i&&(s=i,delete t.easing),!n)for(let e in t)if(t[e].toString().indexOf("{{")>=0){n=!0;break}}}),{type:6,styles:i,easing:s,offset:e.offset,containsDynamicStyles:n,options:null}}_validateStyleAst(e,t){const i=t.currentAnimateTimings;let n=t.currentTime,s=t.currentTime;i&&s>0&&(s-=i.duration+i.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(i=>{if(!this._driver.validateStyleProperty(i))return void t.errors.push(`The provided animation property "${i}" is not a supported CSS property for animations`);const r=t.collectedStyles[t.currentQuerySelector],a=r[i];let o=!0;a&&(s!=n&&s>=a.startTime&&n<=a.endTime&&(t.errors.push(`The CSS property "${i}" 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 "${s}ms" and "${n}ms"`),o=!1),s=a.startTime),o&&(r[i]={startTime:s,endTime:n}),t.options&&function(e,t,i){const n=t.params||{},s=db(e);s.length&&s.forEach(e=>{n.hasOwnProperty(e)||i.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[i],t.options,t.errors)})})}visitKeyframes(e,t){const i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;let n=0;const s=[];let r=!1,a=!1,o=0;const l=e.steps.map(e=>{const i=this._makeStyleAst(e,t);let l=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(Db(e)&&e.hasOwnProperty("offset")){const i=e;t=parseFloat(i.offset),delete i.offset}});else if(Db(e)&&e.hasOwnProperty("offset")){const i=e;t=parseFloat(i.offset),delete i.offset}return t}(i.styles),c=0;return null!=l&&(n++,c=i.offset=l),a=a||c<0||c>1,r=r||c<o,o=c,s.push(c),i});a&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),r&&t.errors.push("Please ensure that all keyframe offsets are in order");const c=e.steps.length;let d=0;n>0&&n<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==n&&(d=1/(c-1));const h=c-1,u=t.currentTime,m=t.currentAnimateTimings,p=m.duration;return l.forEach((e,n)=>{const r=d>0?n==h?1:d*n:s[n],a=r*p;t.currentTime=u+m.delay+a,m.duration=a,this._validateStyleAst(e,t),e.offset=r,i.styles.push(e)}),i}visitReference(e,t){return{type:8,animation:_b(this,lb(e.animation),t),options:Lb(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:Lb(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:Lb(e.options)}}visitQuery(e,t){const i=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;const[s,r]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(xb,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,".ng-animating"),t]}(e.selector);t.currentQuerySelector=i.length?i+" "+s:s,Ny(t.collectedStyles,t.currentQuerySelector,{});const a=_b(this,lb(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:11,selector:s,limit:n.limit||0,optional:!!n.optional,includeSelf:r,animation:a,originalSelector:e.selector,options:Lb(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const i="full"===e.timings?{duration:0,delay:0,easing:"full"}:tb(e.timings,t.errors,!0);return{type:12,animation:_b(this,lb(e.animation),t),timings:i,options:null}}}class Mb{constructor(e){this.errors=e,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 Db(e){return!Array.isArray(e)&&"object"==typeof e}function Lb(e){var t;return e?(e=ib(e)).params&&(e.params=(t=e.params)?ib(t):null):e={},e}function Tb(e,t,i){return{duration:e,delay:t,easing:i}}function Ab(e,t,i,n,s,r,a=null,o=!1){return{type:1,element:e,keyframes:t,preStyleProps:i,postStyleProps:n,duration:s,delay:r,totalTime:s+r,easing:a,subTimeline:o}}class Eb{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const Ib=new RegExp(":enter","g"),Pb=new RegExp(":leave","g");function Yb(e,t,i,n,s,r={},a={},o,l,c=[]){return(new Ob).buildKeyframes(e,t,i,n,s,r,a,o,l,c)}class Ob{buildKeyframes(e,t,i,n,s,r,a,o,l,c=[]){l=l||new Eb;const d=new Rb(e,t,l,n,s,c,[]);d.options=o,d.currentTimeline.setStyles([r],null,d.errors,o),_b(this,i,d);const h=d.timelines.filter(e=>e.containsAnimation());if(h.length&&Object.keys(a).length){const e=h[h.length-1];e.allowOnlyTimelineStyles()||e.setStyles([a],null,d.errors,o)}return h.length?h.map(e=>e.buildKeyframes()):[Ab(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const i=t.subInstructions.consume(t.element);if(i){const n=t.createSubContext(e.options),s=t.currentTimeline.currentTime,r=this._visitSubInstructions(i,n,n.options);s!=r&&t.transformIntoNewTimeline(r)}t.previousNode=e}visitAnimateRef(e,t){const i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,i){let n=t.currentTimeline.currentTime;const s=null!=i.duration?Xy(i.duration):null,r=null!=i.delay?Xy(i.delay):null;return 0!==s&&e.forEach(e=>{const i=t.appendInstructionToTimeline(e,s,r);n=Math.max(n,i.duration+i.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),_b(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const i=t.subContextCount;let n=t;const s=e.options;if(s&&(s.params||s.delay)&&(n=t.createSubContext(s),n.transformIntoNewTimeline(),null!=s.delay)){6==n.previousNode.type&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Fb);const e=Xy(s.delay);n.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>_b(this,e,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>i&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const i=[];let n=t.currentTimeline.currentTime;const s=e.options&&e.options.delay?Xy(e.options.delay):0;e.steps.forEach(r=>{const a=t.createSubContext(e.options);s&&a.delayNextStep(s),_b(this,r,a),n=Math.max(n,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const i=e.strValue;return tb(t.params?hb(i,t.params,t.errors):i,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const i=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),n.snapshotCurrentStyles());const s=e.style;5==s.type?this.visitKeyframes(s,t):(t.incrementTime(i.duration),this.visitStyle(s,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const i=t.currentTimeline,n=t.currentAnimateTimings;!n&&i.getCurrentStyleProperties().length&&i.forwardFrame();const s=n&&n.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(s):i.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const i=t.currentAnimateTimings,n=t.currentTimeline.duration,s=i.duration,r=t.createSubContext().currentTimeline;r.easing=i.easing,e.styles.forEach(e=>{r.forwardTime((e.offset||0)*s),r.setStyles(e.styles,e.easing,t.errors,t.options),r.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(n+s),t.previousNode=e}visitQuery(e,t){const i=t.currentTimeline.currentTime,n=e.options||{},s=n.delay?Xy(n.delay):0;s&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Fb);let r=i;const a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=a.length;let o=null;a.forEach((i,n)=>{t.currentQueryIndex=n;const a=t.createSubContext(e.options,i);s&&a.delayNextStep(s),i===t.element&&(o=a.currentTimeline),_b(this,e.animation,a),a.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,a.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(r),o&&(t.currentTimeline.mergeTimelineCollectedStyles(o),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const i=t.parentContext,n=t.currentTimeline,s=e.timings,r=Math.abs(s.duration),a=r*(t.currentQueryTotal-1);let o=r*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":o=a-o;break;case"full":o=i.currentStaggerTime}const l=t.currentTimeline;o&&l.delayNextStep(o);const c=l.currentTime;_b(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=n.currentTime-c+(n.startTime-i.currentTimeline.startTime)}}const Fb={};class Rb{constructor(e,t,i,n,s,r,a,o){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=n,this._leaveClassName=s,this.errors=r,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Fb,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new Nb(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const i=e;let n=this.options;null!=i.duration&&(n.duration=Xy(i.duration)),null!=i.delay&&(n.delay=Xy(i.delay));const s=i.params;if(s){let e=n.params;e||(e=this.options.params={}),Object.keys(s).forEach(i=>{t&&e.hasOwnProperty(i)||(e[i]=hb(s[i],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const i=e.params={};Object.keys(t).forEach(e=>{i[e]=t[e]})}}return e}createSubContext(e=null,t,i){const n=t||this.element,s=new Rb(this._driver,n,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(n,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=Fb,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){const n={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+e.delay,easing:""},s=new jb(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(s),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,n,s,r){let a=[];if(n&&a.push(this.element),e.length>0){e=(e=e.replace(Ib,"."+this._enterClassName)).replace(Pb,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=i);0!==i&&(t=i<0?t.slice(t.length+i,t.length):t.slice(0,i)),a.push(...t)}return s||0!=a.length||r.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),a}}class Nb{constructor(e,t,i,n){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=n,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new Nb(this._driver,e,t||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(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||"*",this._currentKeyframe[e]="*"}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,n){t&&(this._previousKeyframe.easing=t);const s=n&&n.params||{},r=function(e,t){const i={};let n;return e.forEach(e=>{"*"===e?(n=n||Object.keys(t),n.forEach(e=>{i[e]="*"})):nb(e,!1,i)}),i}(e,this._globalTimelineStyles);Object.keys(r).forEach(e=>{const t=hb(r[e],s,i);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:"*"),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const i=this._styleSummary[t],n=e._styleSummary[t];(!i||n.time>i.time)&&this._updateStyle(t,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,i=1===this._keyframes.size&&0===this.duration;let n=[];this._keyframes.forEach((s,r)=>{const a=nb(s,!0);Object.keys(a).forEach(i=>{const n=a[i];"!"==n?e.add(i):"*"==n&&t.add(i)}),i||(a.offset=r/this.duration),n.push(a)});const s=e.size?ub(e.values()):[],r=t.size?ub(t.values()):[];if(i){const e=n[0],t=ib(e);e.offset=0,t.offset=1,n=[e,t]}return Ab(this.element,n,s,r,this.duration,this.startTime,this.easing,!1)}}class jb extends Nb{constructor(e,t,i,n,s,r,a=!1){super(e,t,r.delay),this.element=t,this.keyframes=i,this.preStyleProps=n,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){const s=[],r=i+t,a=t/r,o=nb(e[0],!1);o.offset=0,s.push(o);const l=nb(e[0],!1);l.offset=Hb(a),s.push(l);const c=e.length-1;for(let n=1;n<=c;n++){let a=nb(e[n],!1);a.offset=Hb((t+a.offset*i)/r),s.push(a)}i=r,t=0,n="",e=s}return Ab(this.element,e,this.preStyleProps,this.postStyleProps,i,t,n,!0)}}function Hb(e,t=3){const i=Math.pow(10,t-1);return Math.round(e*i)/i}class Vb{}class Bb extends Vb{normalizePropertyName(e,t){return pb(e)}normalizeStyleValue(e,t,i,n){let s="";const r=i.toString().trim();if(zb[t]&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const t=i.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&n.push(`Please provide a CSS unit value for ${e}:${i}`)}return r+s}}const zb=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("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 Wb(e,t,i,n,s,r,a,o,l,c,d,h,u){return{type:0,element:e,triggerName:t,isRemovalTransition:s,fromState:i,fromStyles:r,toState:n,toStyles:a,timelines:o,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:h,errors:u}}const Ub={};class $b{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,n){return function(e,t,i,n,s){return e.some(e=>e(t,i,n,s))}(this.ast.matchers,e,t,i,n)}buildStyles(e,t,i){const n=this._stateStyles["*"],s=this._stateStyles[e],r=n?n.buildStyles(t,i):{};return s?s.buildStyles(t,i):r}build(e,t,i,n,s,r,a,o,l,c){const d=[],h=this.ast.options&&this.ast.options.params||Ub,u=this.buildStyles(i,a&&a.params||Ub,d),m=o&&o.params||Ub,p=this.buildStyles(n,m,d),f=new Set,g=new Map,_=new Map,y="void"===n,b={params:Object.assign(Object.assign({},h),m)},v=c?[]:Yb(e,t,this.ast.animation,s,r,u,p,b,l,d);let w=0;if(v.forEach(e=>{w=Math.max(e.duration+e.delay,w)}),d.length)return Wb(t,this._triggerName,i,n,y,u,p,[],[],g,_,w,d);v.forEach(e=>{const i=e.element,n=Ny(g,i,{});e.preStyleProps.forEach(e=>n[e]=!0);const s=Ny(_,i,{});e.postStyleProps.forEach(e=>s[e]=!0),i!==t&&f.add(i)});const k=ub(f.values());return Wb(t,this._triggerName,i,n,y,u,p,v,k,g,_,w)}}class Gb{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const i={},n=ib(this.defaultParams);return Object.keys(e).forEach(t=>{const i=e[t];null!=i&&(n[t]=i)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const s=e;Object.keys(s).forEach(e=>{let r=s[e];r.length>1&&(r=hb(r,n,t)),i[e]=r})}}),i}}class qb{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new Gb(e.style,e.options&&e.options.params||{})}),Kb(this.states,"true","1"),Kb(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new $b(e,t,this.states))}),this.fallbackTransition=new $b(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,n){return this.transitionFactories.find(s=>s.match(e,t,i,n))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}}function Kb(e,t,i){e.hasOwnProperty(t)?e.hasOwnProperty(i)||(e[i]=e[t]):e.hasOwnProperty(i)&&(e[t]=e[i])}const Jb=new Eb;class Qb{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(e,t){const i=[],n=Cb(this._driver,t,i);if(i.length)throw new Error("Unable to build the animation due to the following errors: "+i.join("\n"));this._animations[e]=n}_buildPlayer(e,t,i){const n=e.element,s=Yy(0,this._normalizer,0,e.keyframes,t,i);return this._driver.animate(n,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){const n=[],s=this._animations[e];let r;const a=new Map;if(s?(r=Yb(this._driver,t,s,"ng-enter","ng-leave",{},{},i,Jb,n),r.forEach(e=>{const t=Ny(a,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(n.push("The requested animation doesn't exist or has already been destroyed"),r=[]),n.length)throw new Error("Unable to create the animation due to the following errors: "+n.join("\n"));a.forEach((e,t)=>{Object.keys(e).forEach(i=>{e[i]=this._driver.computeStyle(t,i,"*")})});const o=Py(r.map(e=>{const t=a.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=o,o.onDestroy(()=>this.destroy(e)),this.players.push(o),o}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}listen(e,t,i,n){const s=Ry(t,"","","");return Oy(this._getPlayer(e),i,s,n),()=>{}}command(e,t,i,n){if("register"==i)return void this.register(e,n[0]);if("create"==i)return void this.create(e,t,n[0]||{});const s=this._getPlayer(e);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e)}}}const Zb=[],Xb={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ev={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class tv{constructor(e,t=""){this.namespaceId=t;const i=e&&e.hasOwnProperty("value");if(this.value=null!=(n=i?e.value:e)?n:null,i){const t=ib(e);delete t.value,this.options=t}else this.options={};var n;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(i=>{null==e[i]&&(e[i]=t[i])})}}}const iv=new tv("void");class nv{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,dv(t,this._hostClassName)}listen(e,t,i,n){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${i}" because the animation trigger "${t}" doesn't exist!`);if(null==i||0==i.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(s=i)&&"done"!=s)throw new Error(`The provided animation trigger event "${i}" for the animation trigger "${t}" is not supported!`);var s;const r=Ny(this._elementListeners,e,[]),a={name:t,phase:i,callback:n};r.push(a);const o=Ny(this._engine.statesByElement,e,{});return o.hasOwnProperty(t)||(dv(e,"ng-trigger"),dv(e,"ng-trigger-"+t),o[t]=iv),()=>{this._engine.afterFlush(()=>{const e=r.indexOf(a);e>=0&&r.splice(e,1),this._triggers[t]||delete o[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,i,n=!0){const s=this._getTrigger(t),r=new rv(this.id,t,e);let a=this._engine.statesByElement.get(e);a||(dv(e,"ng-trigger"),dv(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,a={}));let o=a[t];const l=new tv(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&o&&l.absorbOptions(o.options),a[t]=l,o||(o=iv),"void"!==l.value&&o.value===l.value){if(!function(e,t){const i=Object.keys(e),n=Object.keys(t);if(i.length!=n.length)return!1;for(let s=0;s<i.length;s++){const n=i[s];if(!t.hasOwnProperty(n)||e[n]!==t[n])return!1}return!0}(o.params,l.params)){const t=[],i=s.matchStyles(o.value,o.params,t),n=s.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{ob(e,i),ab(e,n)})}return}const c=Ny(this._engine.playersByElement,e,[]);c.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let d=s.matchTransition(o.value,l.value,e,l.params),h=!1;if(!d){if(!n)return;d=s.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:o,toState:l,player:r,isFallbackTransition:h}),h||(dv(e,"ng-animate-queued"),r.onStart(()=>{hv(e,"ng-animate-queued")})),r.onDone(()=>{let t=this.players.indexOf(r);t>=0&&this.players.splice(t,1);const i=this._engine.playersByElement.get(e);if(i){let e=i.indexOf(r);e>=0&&i.splice(e,1)}}),this.players.push(r),c.push(r),r}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,i)=>{delete t[e]}),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const i=this._engine.driver.query(e,".ng-trigger",!0);i.forEach(e=>{if(e.__ng_removed)return;const i=this._engine.fetchNamespacesByElement(e);i.size?i.forEach(i=>i.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,i,n){const s=this._engine.statesByElement.get(e);if(s){const r=[];if(Object.keys(s).forEach(t=>{if(this._triggers[t]){const i=this.trigger(e,t,"void",n);i&&r.push(i)}}),r.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),i&&Py(r).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const i=new Set;t.forEach(t=>{const n=t.name;if(i.has(n))return;i.add(n);const s=this._triggers[n].fallbackTransition,r=this._engine.statesByElement.get(e)[n]||iv,a=new tv("void"),o=new rv(this.id,n,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:s,fromState:r,toState:a,player:o,isFallbackTransition:!0})})}}removeNode(e,t){const i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(i.totalAnimations){const t=i.players.length?i.playersByQueriedElement.get(e):[];if(t&&t.length)n=!0;else{let t=e;for(;t=t.parentNode;)if(i.statesByElement.get(t)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)i.markElementAsRemoved(this.id,e,!1,t);else{const n=e.__ng_removed;n&&n!==Xb||(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){dv(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(i=>{const n=i.player;if(n.destroyed)return;const s=i.element,r=this._elementListeners.get(s);r&&r.forEach(t=>{if(t.name==i.triggerName){const n=Ry(s,i.triggerName,i.fromState.value,i.toState.value);n._data=e,Oy(i.player,t.phase,n,t.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(i)}),this._queue=[],t.sort((e,t)=>{const i=e.transition.ast.depCount,n=t.transition.ast.depCount;return 0==i||0==n?i-n:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class sv{constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const i=new nv(e,t,this);return t.parentNode?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){const i=this._namespaceList.length-1;if(i>=0){let n=!1;for(let s=i;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,t)){this._namespaceList.splice(s+1,0,e),n=!0;break}n||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let n=this._namespaceLookup[e];n&&n.register(t,i)&&this.totalAnimations++}destroy(e,t){if(!e)return;const i=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(i);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>i.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,i=this.statesByElement.get(e);if(i){const e=Object.keys(i);for(let n=0;n<e.length;n++){const s=i[e[n]].namespaceId;if(s){const e=this._fetchNamespace(s);e&&t.add(e)}}}return t}trigger(e,t,i,n){if(av(t)){const s=this._fetchNamespace(e);if(s)return s.trigger(t,i,n),!0}return!1}insertNode(e,t,i,n){if(!av(t))return;const s=t.__ng_removed;if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const n=this._fetchNamespace(e);n&&n.insertNode(t,i)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),dv(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),hv(e,"ng-animate-disabled"))}removeNode(e,t,i,n){if(av(t)){const s=e?this._fetchNamespace(e):null;if(s?s.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n),i){const i=this.namespacesByHostElement.get(t);i&&i.id!==e&&i.removeNode(t,n)}}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,i,n){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:n,hasAnimation:i,removedBeforeQueried:!1}}listen(e,t,i,n,s){return av(t)?this._fetchNamespace(e).listen(t,i,n,s):()=>{}}_buildInstruction(e,t,i,n,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,n,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,".ng-trigger",!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,".ng-animating",!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Py(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=Xb,t.namespaceId){this.destroyInnerAnimations(e);const i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)dv(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{t=this._flushAnimations(i,e)}finally{for(let e=0;e<i.length;e++)i[e]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?Py(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}_flushAnimations(e,t){const i=new Eb,n=[],s=new Map,r=[],a=new Map,o=new Map,l=new Map,c=new Set;this.disabledNodes.forEach(e=>{c.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let i=0;i<t.length;i++)c.add(t[i])});const d=this.bodyNode,h=Array.from(this.statesByElement.keys()),u=cv(h,this.collectedEnterElements),m=new Map;let p=0;u.forEach((e,t)=>{const i="ng-enter"+p++;m.set(t,i),e.forEach(e=>dv(e,i))});const f=[],g=new Set,_=new Set;for(let A=0;A<this.collectedLeaveElements.length;A++){const e=this.collectedLeaveElements[A],t=e.__ng_removed;t&&t.setForRemoval&&(f.push(e),g.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>g.add(e)):_.add(e))}const y=new Map,b=cv(h,Array.from(g));b.forEach((e,t)=>{const i="ng-leave"+p++;y.set(t,i),e.forEach(e=>dv(e,i))}),e.push(()=>{u.forEach((e,t)=>{const i=m.get(t);e.forEach(e=>hv(e,i))}),b.forEach((e,t)=>{const i=y.get(t);e.forEach(e=>hv(e,i))}),f.forEach(e=>{this.processLeaveNode(e)})});const v=[],w=[];for(let A=this._namespaceList.length-1;A>=0;A--)this._namespaceList[A].drainQueuedTransitions(t).forEach(e=>{const t=e.player,s=e.element;if(v.push(t),this.collectedEnterElements.length){const e=s.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const c=!d||!this.driver.containsElement(d,s),h=y.get(s),u=m.get(s),p=this._buildInstruction(e,i,u,h,c);if(p.errors&&p.errors.length)w.push(p);else{if(c)return t.onStart(()=>ob(s,p.fromStyles)),t.onDestroy(()=>ab(s,p.toStyles)),void n.push(t);if(e.isFallbackTransition)return t.onStart(()=>ob(s,p.fromStyles)),t.onDestroy(()=>ab(s,p.toStyles)),void n.push(t);p.timelines.forEach(e=>e.stretchStartingKeyframe=!0),i.append(s,p.timelines),r.push({instruction:p,player:t,element:s}),p.queriedElements.forEach(e=>Ny(a,e,[]).push(t)),p.preStyleProps.forEach((e,t)=>{const i=Object.keys(e);if(i.length){let e=o.get(t);e||o.set(t,e=new Set),i.forEach(t=>e.add(t))}}),p.postStyleProps.forEach((e,t)=>{const i=Object.keys(e);let n=l.get(t);n||l.set(t,n=new Set),i.forEach(e=>n.add(e))})}});if(w.length){const e=[];w.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),v.forEach(e=>e.destroy()),this.reportError(e)}const k=new Map,x=new Map;r.forEach(e=>{const t=e.element;i.has(t)&&(x.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,k))}),n.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{Ny(k,t,[]).push(e),e.destroy()})});const C=f.filter(e=>mv(e,o,l)),S=new Map;lv(S,this.driver,_,l,"*").forEach(e=>{mv(e,o,l)&&C.push(e)});const M=new Map;u.forEach((e,t)=>{lv(M,this.driver,new Set(e),o,"!")}),C.forEach(e=>{const t=S.get(e),i=M.get(e);S.set(e,Object.assign(Object.assign({},t),i))});const D=[],L=[],T={};r.forEach(e=>{const{element:t,player:r,instruction:a}=e;if(i.has(t)){if(c.has(t))return r.onDestroy(()=>ab(t,a.toStyles)),r.disabled=!0,r.overrideTotalTime(a.totalTime),void n.push(r);let e=T;if(x.size>1){let i=t;const n=[];for(;i=i.parentNode;){const t=x.get(i);if(t){e=t;break}n.push(i)}n.forEach(t=>x.set(t,e))}const i=this._buildAnimation(r.namespaceId,a,k,s,M,S);if(r.setRealPlayer(i),e===T)D.push(r);else{const t=this.playersByElement.get(e);t&&t.length&&(r.parentPlayer=Py(t)),n.push(r)}}else ob(t,a.fromStyles),r.onDestroy(()=>ab(t,a.toStyles)),L.push(r),c.has(t)&&n.push(r)}),L.forEach(e=>{const t=s.get(e.element);if(t&&t.length){const i=Py(t);e.setRealPlayer(i)}}),n.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let A=0;A<f.length;A++){const e=f[A],t=e.__ng_removed;if(hv(e,"ng-leave"),t&&t.hasAnimation)continue;let i=[];if(a.size){let t=a.get(e);t&&t.length&&i.push(...t);let n=this.driver.query(e,".ng-animating",!0);for(let e=0;e<n.length;e++){let t=a.get(n[e]);t&&t.length&&i.push(...t)}}const n=i.filter(e=>!e.destroyed);n.length?uv(this,e,n):this.processLeaveNode(e)}return f.length=0,D.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),D}elementContainsData(e,t){let i=!1;const n=t.__ng_removed;return n&&n.setForRemoval&&(i=!0),this.playersByElement.has(t)&&(i=!0),this.playersByQueriedElement.has(t)&&(i=!0),this.statesByElement.has(t)&&(i=!0),this._fetchNamespace(e).elementContainsData(t)||i}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,n,s){let r=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(r=t)}else{const t=this.playersByElement.get(e);if(t){const e=!s||"void"==s;t.forEach(t=>{t.queued||(e||t.triggerName==n)&&r.push(t)})}}return(i||n)&&(r=r.filter(e=>!(i&&i!=e.namespaceId||n&&n!=e.triggerName))),r}_beforeAnimationBuild(e,t,i){const n=t.element,s=t.isRemovalTransition?void 0:e,r=t.isRemovalTransition?void 0:t.triggerName;for(const a of t.timelines){const e=a.element,o=e!==n,l=Ny(i,e,[]);this._getPreviousPlayers(e,o,s,r,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}ob(n,t.fromStyles)}_buildAnimation(e,t,i,n,s,r){const a=t.triggerName,o=t.element,l=[],c=new Set,d=new Set,h=t.timelines.map(t=>{const h=t.element;c.add(h);const u=h.__ng_removed;if(u&&u.removedBeforeQueried)return new Ay(t.duration,t.delay);const m=h!==o,p=function(e){const t=[];return function e(t,i){for(let n=0;n<t.length;n++){const s=t[n];s instanceof Ey?e(s.players,i):i.push(s)}}(e,t),t}((i.get(h)||Zb).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===h),f=s.get(h),g=r.get(h),_=Yy(0,this._normalizer,0,t.keyframes,f,g),y=this._buildPlayer(t,_,p);if(t.subTimeline&&n&&d.add(h),m){const t=new rv(e,a,h);t.setRealPlayer(y),l.push(t)}return y});l.forEach(e=>{Ny(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,i){let n;if(e instanceof Map){if(n=e.get(t),n){if(n.length){const e=n.indexOf(i);n.splice(e,1)}0==n.length&&e.delete(t)}}else if(n=e[t],n){if(n.length){const e=n.indexOf(i);n.splice(e,1)}0==n.length&&delete e[t]}return n}(this.playersByQueriedElement,e.element,e))}),c.forEach(e=>dv(e,"ng-animating"));const u=Py(h);return u.onDestroy(()=>{c.forEach(e=>hv(e,"ng-animating")),ab(o,t.toStyles)}),d.forEach(e=>{Ny(n,e,[]).push(u)}),u}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new Ay(e.duration,e.delay)}}class rv{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new Ay,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(i=>Oy(e,t,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Ny(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function av(e){return e&&1===e.nodeType}function ov(e,t){const i=e.style.display;return e.style.display=null!=t?t:"none",i}function lv(e,t,i,n,s){const r=[];i.forEach(e=>r.push(ov(e)));const a=[];n.forEach((i,n)=>{const r={};i.forEach(e=>{const i=r[e]=t.computeStyle(n,e,s);i&&0!=i.length||(n.__ng_removed=ev,a.push(n))}),e.set(n,r)});let o=0;return i.forEach(e=>ov(e,r[o++])),a}function cv(e,t){const i=new Map;if(e.forEach(e=>i.set(e,[])),0==t.length)return i;const n=new Set(t),s=new Map;return t.forEach(e=>{const t=function e(t){if(!t)return 1;let r=s.get(t);if(r)return r;const a=t.parentNode;return r=i.has(a)?a:n.has(a)?1:e(a),s.set(t,r),r}(e);1!==t&&i.get(t).push(e)}),i}function dv(e,t){if(e.classList)e.classList.add(t);else{let i=e.$$classes;i||(i=e.$$classes={}),i[t]=!0}}function hv(e,t){if(e.classList)e.classList.remove(t);else{let i=e.$$classes;i&&delete i[t]}}function uv(e,t,i){Py(i).onDone(()=>e.processLeaveNode(t))}function mv(e,t,i){const n=i.get(e);if(!n)return!1;let s=t.get(e);return s?n.forEach(e=>s.add(e)):t.set(e,n),i.delete(e),!0}class pv{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new sv(e,t,i),this._timelineEngine=new Qb(e,t,i),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,i,n,s){const r=e+"-"+n;let a=this._triggerCache[r];if(!a){const e=[],t=Cb(this._driver,s,e);if(e.length)throw new Error(`The animation trigger "${n}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);a=function(e,t){return new qb(e,t)}(n,t),this._triggerCache[r]=a}this._transitionEngine.registerTrigger(t,n,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,n){this._transitionEngine.insertNode(e,t,i,n)}onRemove(e,t,i,n){this._transitionEngine.removeNode(e,t,n||!1,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,n){if("@"==i.charAt(0)){const[e,s]=jy(i);this._timelineEngine.command(e,t,s,n)}else this._transitionEngine.trigger(e,t,i,n)}listen(e,t,i,n,s){if("@"==i.charAt(0)){const[e,n]=jy(i);return this._timelineEngine.listen(e,t,n,s)}return this._transitionEngine.listen(e,t,i,n,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function fv(e,t){let i=null,n=null;return Array.isArray(t)&&t.length?(i=_v(t[0]),t.length>1&&(n=_v(t[t.length-1]))):t&&(i=_v(t)),i||n?new gv(e,i,n):null}let gv=(()=>{class e{constructor(t,i,n){this._element=t,this._startStyles=i,this._endStyles=n,this._state=0;let s=e.initialStylesByElement.get(t);s||e.initialStylesByElement.set(t,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&ab(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ab(this._element,this._initialStyles),this._endStyles&&(ab(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(ob(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ob(this._element,this._endStyles),this._endStyles=null),ab(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function _v(e){let t=null;const i=Object.keys(e);for(let n=0;n<i.length;n++){const s=i[n];yv(s)&&(t=t||{},t[s]=e[s])}return t}function yv(e){return"display"===e||"position"===e}class bv{constructor(e,t,i,n,s,r,a){this._element=e,this._name=t,this._duration=i,this._delay=n,this._easing=s,this._fillMode=r,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e=>this._handleCallback(e)}apply(){!function(e,t){const i=Sv(e,"").trim();i.length&&(function(e,t){let i=0;for(let n=0;n<e.length;n++)","===e.charAt(n)&&i++}(i),t=`${i}, ${t}`),Cv(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),xv(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){vv(this._element,this._name,"paused")}resume(){vv(this._element,this._name,"running")}setPosition(e){const t=wv(this._element,this._name);this._position=e*this._duration,Cv(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const t=e._ngTestManualTimestamp||Date.now(),i=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&i>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),xv(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const i=Sv(e,"").split(","),n=kv(i,t);n>=0&&(i.splice(n,1),Cv(e,"",i.join(",")))}(this._element,this._name))}}function vv(e,t,i){Cv(e,"PlayState",i,wv(e,t))}function wv(e,t){const i=Sv(e,"");return i.indexOf(",")>0?kv(i.split(","),t):kv([i],t)}function kv(e,t){for(let i=0;i<e.length;i++)if(e[i].indexOf(t)>=0)return i;return-1}function xv(e,t,i){i?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function Cv(e,t,i,n){const s="animation"+t;if(null!=n){const t=e.style[s];if(t.length){const e=t.split(",");e[n]=i,i=e.join(",")}}e.style[s]=i}function Sv(e,t){return e.style["animation"+t]}class Mv{constructor(e,t,i,n,s,r,a,o){this.element=e,this.keyframes=t,this.animationName=i,this._duration=n,this._delay=s,this._finalStyles=a,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=r||"linear",this.totalTime=n+s,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}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 bv(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(i=>{"offset"!=i&&(e[i]=t?this._finalStyles[i]:yb(this.element,i))})}this.currentSnapshot=e}}class Dv extends Ay{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=Jy(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class Lv{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(e){return $y(e)}matchesElement(e,t){return Gy(e,t)}containsElement(e,t){return qy(e,t)}query(e,t,i){return Ky(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,i){i=i.map(e=>Jy(e));let n=`@keyframes ${t} {\n`,s="";i.forEach(e=>{s=" ";const t=parseFloat(e.offset);n+=`${s}${100*t}% {\n`,s+=" ",Object.keys(e).forEach(t=>{const i=e[t];switch(t){case"offset":return;case"easing":return void(i&&(n+=`${s}animation-timing-function: ${i};\n`));default:return void(n+=`${s}${t}: ${i};\n`)}}),n+=s+"}\n"}),n+="}\n";const r=document.createElement("style");return r.innerHTML=n,r}animate(e,t,i,n,s,r=[],a){a&&this._notifyFaultyScrubber();const o=r.filter(e=>e instanceof Mv),l={};fb(i,n)&&o.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const c=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(i=>{"offset"!=i&&"easing"!=i&&(t[i]=e[i])})}),t}(t=gb(e,t,l));if(0==i)return new Dv(e,c);const d="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,d,t);document.querySelector("head").appendChild(h);const u=fv(e,t),m=new Mv(e,t,d,i,n,s,c,u);return m.onDestroy(()=>{var e;(e=h).parentNode.removeChild(e)}),m}_notifyFaultyScrubber(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}class Tv{constructor(e,t,i,n){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,i){return e.animate(t,i)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:yb(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class Av{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Ev().toString()),this._cssKeyframesDriver=new Lv}validateStyleProperty(e){return $y(e)}matchesElement(e,t){return Gy(e,t)}containsElement(e,t){return qy(e,t)}query(e,t,i){return Ky(e,t,i)}computeStyle(e,t,i){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,i,n,s,r=[],a){if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,i,n,s,r);const o={duration:i,delay:n,fill:0==n?"both":"forwards"};s&&(o.easing=s);const l={},c=r.filter(e=>e instanceof Tv);fb(i,n)&&c.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>l[e]=t[e])});const d=fv(e,t=gb(e,t=t.map(e=>nb(e,!1)),l));return new Tv(e,t,o,d)}}function Ev(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}let Iv=(()=>{class e extends _y{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:lt.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const i=Array.isArray(e)?wy(e):e;return Ov(this._renderer,null,t,"register",[i]),new Pv(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(Ge($o),Ge(pd))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();class Pv extends class{}{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new Yv(this._id,e,t||{},this._renderer)}}class Yv{constructor(e,t,i,n){this.id=e,this.element=t,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return Ov(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}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(e){this._command("setPosition",e)}getPosition(){return 0}}function Ov(e,t,i,n,s){return e.setProperty(t,`@@${i}:${n}`,s)}let Fv=(()=>{class e{constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const i=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(i);return e||(e=new Rv("",i,this.engine),this._rendererCache.set(i,e)),e}const n=t.id,s=t.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);const r=t=>{Array.isArray(t)?t.forEach(r):this.engine.registerTrigger(n,s,e,t.name,t)};return t.data.animation.forEach(r),new Nv(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){e>=0&&e<this._microtaskId?this._zone.run(()=>t(i)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,i]=e;t(i)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,i]))}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 e.\u0275fac=function(t){return new(t||e)(Ge($o),Ge(pv),Ge(Rc))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();class Rv{constructor(e,t,i){this.namespaceId=e,this.delegate=t,this.engine=i,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,!0)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate,i)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,n){this.delegate.setAttribute(e,t,i,n)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,n){this.delegate.setStyle(e,t,i,n)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class Nv extends Rv{constructor(e,t,i,n){super(t,i,n),this.factory=e,this.namespaceId=t}setProperty(e,t,i){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,i=void 0===i||!!i):this.engine.process(this.namespaceId,e,t.substr(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if("@"==t.charAt(0)){const n=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let s=t.substr(1),r="";return"@"!=s.charAt(0)&&([s,r]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(s)),this.engine.listen(this.namespaceId,n,s,r,e=>{this.factory.scheduleListenerCallback(e._data||-1,i,e)})}return this.delegate.listen(e,t,i)}}let jv=(()=>{class e extends pv{constructor(e,t,i){super(e.body,t,i)}}return e.\u0275fac=function(t){return new(t||e)(Ge(pd),Ge(Zy),Ge(Vb))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();const Hv=new Re("AnimationModuleType"),Vv=[{provide:Zy,useFactory:function(){return"function"==typeof Ev()?new Av:new Lv}},{provide:Hv,useValue:"BrowserAnimations"},{provide:_y,useClass:Iv},{provide:Vb,useFactory:function(){return new Bb}},{provide:pv,useClass:jv},{provide:$o,useFactory:function(e,t,i){return new Fv(e,t,i)},deps:[Ah,pv,Rc]}];let Bv=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:Vv,imports:[Wh]}),e})();const zv=["*",[["mat-option"],["ng-container"]]],Wv=["*","mat-option, ng-container"];function Uv(e,t){if(1&e&&Ra(0,"mat-pseudo-checkbox",3),2&e){const e=Ka();Pa("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}const $v=["*"],Gv=new Qo("9.2.4"),qv=new Re("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let Kv=(()=>{class e{constructor(e,t,i){this._hasDoneGlobalChecks=!1,this._document=i,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=t,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getDocument(){const e=this._document||document;return"object"==typeof e&&e?e:null}_getWindow(){const e=this._getDocument(),t=(null==e?void 0:e.defaultView)||window;return"object"==typeof t&&t?t:null}_checksAreEnabled(){return En()&&!this._isTestEnv()}_isTestEnv(){const e=this._getWindow();return e&&(e.__karma__||e.jasmine)}_checkDoctypeIsDefined(){const e=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),t=this._getDocument();e&&t&&!t.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const e=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,t=this._getDocument();if(e||!t||!t.body||"function"!=typeof getComputedStyle)return;const i=t.createElement("div");i.classList.add("mat-theme-loaded-marker"),t.body.appendChild(i);const n=getComputedStyle(i);n&&"none"!==n.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),t.body.removeChild(i)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&Gv.full!==gy.full&&console.warn("The Angular Material version ("+Gv.full+") does not match the Angular CDK version ("+gy.full+").\nPlease ensure the versions of these two packages exactly match.")}}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)(Ge(py),Ge(qv,8),Ge(pd,8))},imports:[[Ig],Ig]}),e})();function Jv(e){return class extends e{constructor(...e){super(...e),this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=Df(e)}}}function Qv(e,t){return class extends e{constructor(...e){super(...e),this.color=t}get color(){return this._color}set color(e){const i=e||t;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),i&&this._elementRef.nativeElement.classList.add("mat-"+i),this._color=i)}}}function Zv(e){return class extends e{constructor(...e){super(...e),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Df(e)}}}function Xv(e,t=0){return class extends e{constructor(...e){super(...e),this._tabIndex=t}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?e:t}}}function ew(e){return class extends e{constructor(...e){super(...e),this.errorState=!1,this.stateChanges=new x}updateErrorState(){const e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())}}}function tw(e){return class extends e{constructor(...e){super(...e),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new y(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(e){e.next(),e.complete()}}}const iw=new Re("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return qe(Sc)}});class nw{constructor(){this._localeChanges=new x}get localeChanges(){return this._localeChanges}deserialize(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}sameDate(e,t){if(e&&t){let i=this.isValid(e),n=this.isValid(t);return i&&n?!this.compareDate(e,t):i==n}return e==t}clampDate(e,t,i){return t&&this.compareDate(e,t)<0?t:i&&this.compareDate(e,i)>0?i:e}}const sw=new Re("mat-date-formats");let rw;try{rw="undefined"!=typeof Intl}catch(lz){rw=!1}const aw={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"]},ow=dw(31,e=>String(e+1)),lw={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},cw=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function dw(e,t){const i=Array(e);for(let n=0;n<e;n++)i[n]=t(n);return i}let hw=(()=>{class e extends nw{constructor(e,t){super(),this.useUtcForDisplay=!0,super.setLocale(e),this.useUtcForDisplay=!t.TRIDENT,this._clampDate=t.TRIDENT||t.EDGE}getYear(e){return e.getFullYear()}getMonth(e){return e.getMonth()}getDate(e){return e.getDate()}getDayOfWeek(e){return e.getDay()}getMonthNames(e){if(rw){const t=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return dw(12,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,e,1))))}return aw[e]}getDateNames(){if(rw){const e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return dw(31,t=>this._stripDirectionalityCharacters(this._format(e,new Date(2017,0,t+1))))}return ow}getDayOfWeekNames(e){if(rw){const t=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return dw(7,e=>this._stripDirectionalityCharacters(this._format(t,new Date(2017,0,e+1))))}return lw[e]}getYearName(e){if(rw){const t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(t,e))}return String(this.getYear(e))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}clone(e){return new Date(e.getTime())}createDate(e,t,i){if(t<0||t>11)throw Error(`Invalid month index "${t}". Month index has to be between 0 and 11.`);if(i<1)throw Error(`Invalid date "${i}". Date has to be greater than 0.`);let n=this._createDateWithOverflow(e,t,i);if(n.getMonth()!=t)throw Error(`Invalid date "${i}" for month with index "${t}".`);return n}today(){return new Date}parse(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}format(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(rw){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign(Object.assign({},t),{timeZone:"utc"});const i=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(i,e))}return this._stripDirectionalityCharacters(e.toDateString())}addCalendarYears(e,t){return this.addCalendarMonths(e,12*t)}addCalendarMonths(e,t){let i=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(i)!=((this.getMonth(e)+t)%12+12)%12&&(i=this._createDateWithOverflow(this.getYear(i),this.getMonth(i),0)),i}addCalendarDays(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}toIso8601(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}deserialize(e){if("string"==typeof e){if(!e)return null;if(cw.test(e)){let t=new Date(e);if(this.isValid(t))return t}}return super.deserialize(e)}isDateInstance(e){return e instanceof Date}isValid(e){return!isNaN(e.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(e,t,i){const n=new Date(e,t,i);return e>=0&&e<100&&n.setFullYear(this.getYear(n)-1900),n}_2digit(e){return("00"+e).slice(-2)}_stripDirectionalityCharacters(e){return e.replace(/[\u200e\u200f]/g,"")}_format(e,t){const i=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.format(i)}}return e.\u0275fac=function(t){return new(t||e)(Ge(iw,8),Ge(vg))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),uw=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[{provide:nw,useClass:hw}],imports:[[wg]]}),e})();const mw={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 pw=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[{provide:sw,useValue:mw}],imports:[[uw]]}),e})(),fw=(()=>{class e{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({factory:function(){return new e},token:e,providedIn:"root"}),e})(),gw=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),e})();function _w(e,t,i){const n=e.nativeElement.classList;i?n.add(t):n.remove(t)}let yw=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[Kv],Kv]}),e})();class bw{constructor(e,t,i){this._renderer=e,this.element=t,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const vw={enterDuration:450,exitDuration:400},ww=Dg({passive:!0}),kw=["mousedown","touchstart"],xw=["mouseup","mouseleave","touchend","touchcancel"];class Cw{constructor(e,t,i,n){this._target=e,this._ngZone=t,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,n.isBrowser&&(this._containerElement=If(i))}fadeInRipple(e,t,i={}){const n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},vw),i.animation);i.centered&&(e=n.left+n.width/2,t=n.top+n.height/2);const r=i.radius||function(e,t,i){const n=Math.max(Math.abs(e-i.left),Math.abs(e-i.right)),s=Math.max(Math.abs(t-i.top),Math.abs(t-i.bottom));return Math.sqrt(n*n+s*s)}(e,t,n),a=e-n.left,o=t-n.top,l=s.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=a-r+"px",c.style.top=o-r+"px",c.style.height=2*r+"px",c.style.width=2*r+"px",null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration=l+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const d=new bw(this,c,i);return d.state=0,this._activeRipples.add(d),i.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone(()=>{const e=d===this._mostRecentTransientRipple;d.state=1,i.persistent||e&&this._isPointerDown||d.fadeOut()},l),d}fadeOutRipple(e){const t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!t)return;const i=e.element,n=Object.assign(Object.assign({},vw),e.config.animation);i.style.transitionDuration=n.exitDuration+"ms",i.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(()=>{e.state=3,i.parentNode.removeChild(i)},n.exitDuration)}fadeOutAll(){this._activeRipples.forEach(e=>e.fadeOut())}setupTriggerEvents(e){const t=If(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(kw))}handleEvent(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(xw),this._pointerUpEventsRegistered=!0)}_onMousedown(e){const t=ly(e),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||t||i||(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const t=e.changedTouches;for(let e=0;e<t.length;e++)this.fadeInRipple(t[e].clientX,t[e].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(e=>{!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}_runTimeoutOutsideZone(e,t=0){this._ngZone.runOutsideAngular(()=>setTimeout(e,t))}_registerEvents(e){this._ngZone.runOutsideAngular(()=>{e.forEach(e=>{this._triggerElement.addEventListener(e,this,ww)})})}_removeTriggerEvents(){this._triggerElement&&(kw.forEach(e=>{this._triggerElement.removeEventListener(e,this,ww)}),this._pointerUpEventsRegistered&&xw.forEach(e=>{this._triggerElement.removeEventListener(e,this,ww)}))}}const Sw=new Re("mat-ripple-global-options");let Mw=(()=>{class e{constructor(e,t,i,n,s){this._elementRef=e,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=n||{},this._rippleRenderer=new Cw(this,t,e,i)}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,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(e,t=0,i){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Rc),Ea(vg),Ea(Sw,8),Ea(Hv,8))},e.\u0275dir=yt({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&oo("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e})(),Dw=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[Kv,wg],Kv]}),e})(),Lw=(()=>{class e{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return e.\u0275fac=function(t){return new(t||e)(Ea(Hv,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&oo("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e})(),Tw=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})();class Aw{}const Ew=Jv(Aw);let Iw=0,Pw=(()=>{class e extends Ew{constructor(){super(...arguments),this._labelId="mat-optgroup-label-"+Iw++}}return e.\u0275fac=function(t){return Yw(t||e)},e.\u0275cmp=ut({type:e,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(e,t){2&e&&(Da("aria-disabled",t.disabled.toString())("aria-labelledby",t._labelId),oo("mat-optgroup-disabled",t.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[Lo],ngContentSelectors:Wv,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(e,t){1&e&&(Qa(zv),Oa(0,"label",0),vo(1),Za(2),Fa(),Za(3,1)),2&e&&(Pa("id",t._labelId),Cs(1),ko("",t.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e})();const Yw=fn(Pw);let Ow=0;class Fw{constructor(e,t=!1){this.source=e,this.isUserInput=t}}const Rw=new Re("MAT_OPTION_PARENT_COMPONENT");let Nw=(()=>{class e{constructor(e,t,i,n){this._element=e,this._changeDetectorRef=t,this._parent=i,this.group=n,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Ow++,this.onSelectionChange=new Gl,this._stateChanges=new x}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(e){this._disabled=Df(e)}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(e,t){const i=this._getHostElement();"function"==typeof i.focus&&i.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){13!==e.keyCode&&32!==e.keyCode||e_(e)||(this._selectViaInteraction(),e.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 e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new Fw(this,e))}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Zr),Ea(Rw,8),Ea(Pw,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&Wa("click",(function(){return t._selectViaInteraction()}))("keydown",(function(e){return t._handleKeydown(e)})),2&e&&(So("id",t.id),Da("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),oo("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:$v,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(e,t){1&e&&(Qa(),Ta(0,Uv,1,2,"mat-pseudo-checkbox",0),Oa(1,"span",1),Za(2),Fa(),Ra(3,"div",2)),2&e&&(Pa("ngIf",t.multiple),Cs(3),Pa("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[$d,Mw,Lw],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}),e})();function jw(e,t,i){if(i.length){let n=t.toArray(),s=i.toArray(),r=0;for(let t=0;t<e+1;t++)n[t].group&&n[t].group===s[r]&&r++;return r}return 0}let Hw=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[Dw,ch,Tw]]}),e})();const Vw=new Re("mat-label-global-options");function Bw(e,t){1&e&&Za(0)}const zw=["*"];function Ww(e,t){}const Uw=function(e){return{animationDuration:e}},$w=function(e,t){return{value:e,params:t}},Gw=["tabBodyWrapper"],qw=["tabHeader"];function Kw(e,t){}function Jw(e,t){1&e&&Ta(0,Kw,0,0,"ng-template",9),2&e&&Pa("cdkPortalOutlet",Ka().$implicit.templateLabel)}function Qw(e,t){1&e&&vo(0),2&e&&wo(Ka().$implicit.textLabel)}function Zw(e,t){if(1&e){const e=Va();Oa(0,"div",6),Wa("click",(function(){ii(e);const i=t.$implicit,n=t.index,s=Ka(),r=Aa(1);return s._handleClick(i,r,n)})),Oa(1,"div",7),Ta(2,Jw,1,1,"ng-template",8),Ta(3,Qw,1,1,"ng-template",8),Fa(),Fa()}if(2&e){const e=t.$implicit,i=t.index,n=Ka();oo("mat-tab-label-active",n.selectedIndex==i),Pa("id",n._getTabLabelId(i))("disabled",e.disabled)("matRippleDisabled",e.disabled||n.disableRipple),Da("tabIndex",n._getTabIndex(e,i))("aria-posinset",i+1)("aria-setsize",n._tabs.length)("aria-controls",n._getTabContentId(i))("aria-selected",n.selectedIndex==i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),Cs(2),Pa("ngIf",e.templateLabel),Cs(1),Pa("ngIf",!e.templateLabel)}}function Xw(e,t){if(1&e){const e=Va();Oa(0,"mat-tab-body",10),Wa("_onCentered",(function(){return ii(e),Ka()._removeTabBodyWrapperHeight()}))("_onCentering",(function(t){return ii(e),Ka()._setTabBodyWrapperHeight(t)})),Fa()}if(2&e){const e=t.$implicit,i=t.index,n=Ka();oo("mat-tab-body-active",n.selectedIndex==i),Pa("id",n._getTabContentId(i))("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",n.animationDuration),Da("aria-labelledby",n._getTabLabelId(i))}}const ek=["tabListContainer"],tk=["tabList"],ik=["nextPaginator"],nk=["previousPaginator"],sk=new Re("MatInkBarPositioner",{providedIn:"root",factory:function(){return e=>({left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"})}});let rk=(()=>{class e{constructor(e,t,i,n){this._elementRef=e,this._ngZone=t,this._inkBarPositioner=i,this._animationMode=n}alignToElement(e){this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._setStyles(e))}):this._setStyles(e)}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}_setStyles(e){const t=this._inkBarPositioner(e),i=this._elementRef.nativeElement;i.style.left=t.left,i.style.width=t.width}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Rc),Ea(sk),Ea(Hv,8))},e.\u0275dir=yt({type:e,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&oo("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),e})(),ak=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(Ea(pl))},e.\u0275dir=yt({type:e,selectors:[["","matTabContent",""]]}),e})(),ok=(()=>{class e extends qg{}return e.\u0275fac=function(t){return lk(t||e)},e.\u0275dir=yt({type:e,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Lo]}),e})();const lk=fn(ok);class ck{}const dk=Jv(ck),hk=new Re("MAT_TAB_GROUP");let uk=(()=>{class e extends dk{constructor(e,t){super(),this._viewContainerRef=e,this._closestTabGroup=t,this.textLabel="",this._contentPortal=null,this._stateChanges=new x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){e&&(this._templateLabel=e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Wg(this._explicitContent||this._implicitContent,this._viewContainerRef)}}return e.\u0275fac=function(t){return new(t||e)(Ea(gl),Ea(hk,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-tab"]],contentQueries:function(e,t,i){var n;1&e&&(lc(i,ok,!0),cc(i,ak,!0,pl)),2&e&&(sc(n=hc())&&(t.templateLabel=n.first),sc(n=hc())&&(t._explicitContent=n.first))},viewQuery:function(e,t){var i;1&e&&rc(pl,!0),2&e&&sc(i=hc())&&(t._implicitContent=i.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[Lo,Et],ngContentSelectors:zw,decls:1,vars:0,template:function(e,t){1&e&&(Qa(),Ta(0,Bw,1,0,"ng-template"))},encapsulation:2}),e})();const mk={translateTab:yy("translateTab",[xy("center, void, left-origin-center, right-origin-center",ky({transform:"none"})),xy("left",ky({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),xy("right",ky({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Sy("* => left, * => right, left => center, right => center",by("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Sy("void => left-origin-center",[ky({transform:"translate3d(-100%, 0, 0)"}),by("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Sy("void => right-origin-center",[ky({transform:"translate3d(100%, 0, 0)"}),by("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let pk=(()=>{class e extends Kg{constructor(e,t,i,n){super(e,t,n),this._host=i,this._centeringSub=h.EMPTY,this._leavingSub=h.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Pu(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ea(zo),Ea(gl),Ea(ke(()=>gk)),Ea(pd))},e.\u0275dir=yt({type:e,selectors:[["","matTabBodyHost",""]],features:[Lo]}),e})(),fk=(()=>{class e{constructor(e,t,i){this._elementRef=e,this._dir=t,this._dirChangeSubscription=h.EMPTY,this._translateTabComplete=new x,this._onCentering=new Gl,this._beforeCentering=new Gl,this._afterLeavingCenter=new Gl,this._onCentered=new Gl(!0),this.animationDuration="500ms",t&&(this._dirChangeSubscription=t.change.subscribe(e=>{this._computePositionAnimationState(e),i.markForCheck()})),this._translateTabComplete.pipe(Kf((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{this._isCenterPosition(e.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(e.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Eg,8),Ea(Zr))},e.\u0275dir=yt({type:e,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),e})(),gk=(()=>{class e extends fk{constructor(e,t,i){super(e,t,i)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Eg,8),Ea(Zr))},e.\u0275cmp=ut({type:e,selectors:[["mat-tab-body"]],viewQuery:function(e,t){var i;1&e&&ac(Jg,!0),2&e&&sc(i=hc())&&(t._portalHost=i.first)},hostAttrs:[1,"mat-tab-body"],features:[Lo],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(Oa(0,"div",0,1),Wa("@translateTab.start",(function(e){return t._onTranslateTabStarted(e)}))("@translateTab.done",(function(e){return t._translateTabComplete.next(e)})),Ta(2,Ww,0,0,"ng-template",2),Fa()),2&e&&Pa("@translateTab",Rl(3,$w,t._position,Fl(1,Uw,t.animationDuration)))},directives:[pk],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[mk.translateTab]}}),e})();const _k=new Re("MAT_TABS_CONFIG");let yk=0;class bk{}class vk{constructor(e){this._elementRef=e}}const wk=Qv(Zv(vk),"primary");let kk=(()=>{class e extends wk{constructor(e,t,i,n){super(e),this._changeDetectorRef=t,this._animationMode=n,this._tabs=new Kl,this._indexToSelect=0,this._tabBodyWrapperHeight=0,this._tabsSubscription=h.EMPTY,this._tabLabelSubscription=h.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new Gl,this.focusChange=new Gl,this.animationDone=new Gl,this.selectedTabChange=new Gl(!0),this._groupId=yk++,this.animationDuration=i&&i.animationDuration?i.animationDuration:"500ms",this.disablePagination=!(!i||null==i.disablePagination)&&i.disablePagination}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=Df(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Lf(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const t=this._elementRef.nativeElement;t.classList.remove("mat-background-"+this.backgroundColor),e&&t.classList.add("mat-background-"+e),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const t=null==this._selectedIndex;t||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then(()=>{this._tabs.forEach((t,i)=>t.isActive=i===e),t||this.selectedIndexChange.emit(e)})}this._tabs.forEach((t,i)=>{t.position=i-e,null==this._selectedIndex||0!=t.position||t.origin||(t.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){const e=this._tabs.toArray();for(let t=0;t<e.length;t++)if(e[t].isActive){this._indexToSelect=this._selectedIndex=t;break}}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Pu(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(e=>!e._closestTabGroup||e._closestTabGroup===this)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}_focusChanged(e){this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const t=new bk;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=U(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const t=this._tabBodyWrapper.nativeElement;t.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(t.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,t,i){e.disabled||(this.selectedIndex=t.focusIndex=i)}_getTabIndex(e,t){return e.disabled?null:this.selectedIndex===t?0:-1}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Zr),Ea(_k,8),Ea(Hv,8))},e.\u0275dir=yt({type:e,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[Lo]}),e})(),xk=(()=>{class e extends kk{constructor(e,t,i,n){super(e,t,i,n)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Zr),Ea(_k,8),Ea(Hv,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-tab-group"]],contentQueries:function(e,t,i){var n;1&e&&lc(i,uk,!0),2&e&&sc(n=hc())&&(t._allTabs=n)},viewQuery:function(e,t){var i;1&e&&(ac(Gw,!0),ac(qw,!0)),2&e&&(sc(i=hc())&&(t._tabBodyWrapper=i.first),sc(i=hc())&&(t._tabHeader=i.first))},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,t){2&e&&oo("mat-tab-group-dynamic-height",t.dynamicHeight)("mat-tab-group-inverted-header","below"===t.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[Ho([{provide:hk,useExisting:e}]),Lo],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,t){1&e&&(Oa(0,"mat-tab-header",0,1),Wa("indexFocused",(function(e){return t._focusChanged(e)}))("selectFocusedIndex",(function(e){return t.selectedIndex=e})),Ta(2,Zw,4,14,"div",2),Fa(),Oa(3,"div",3,4),Ta(5,Xw,1,8,"mat-tab-body",5),Fa()),2&e&&(Pa("selectedIndex",t.selectedIndex||0)("disableRipple",t.disableRipple)("disablePagination",t.disablePagination),Cs(2),Pa("ngForOf",t._tabs),Cs(1),oo("_mat-animation-noopable","NoopAnimations"===t._animationMode),Cs(2),Pa("ngForOf",t._tabs))},directives:function(){return[Ak,Wd,Mk,Mw,my,$d,Kg,gk]},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),e})();class Ck{}const Sk=Jv(Ck);let Mk=(()=>{class e extends Sk{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(Da("aria-disabled",!!t.disabled),oo("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[Lo]}),e})();const Dk=Dg({passive:!0});let Lk=(()=>{class e{constructor(e,t,i,n,s,r,a){this._elementRef=e,this._changeDetectorRef=t,this._viewportRuler=i,this._dir=n,this._ngZone=s,this._platform=r,this._animationMode=a,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new x,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new Gl,this.indexFocused=new Gl,s.runOutsideAngular(()=>{Pf(e.nativeElement,"mouseleave").pipe(rg(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Lf(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){Pf(this._previousPaginator.nativeElement,"touchstart",Dk).pipe(rg(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Pf(this._nextPaginator.nativeElement,"touchstart",Dk).pipe(rg(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:Uh(null),t=this._viewportRuler.change(150),i=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Q_(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),U(e,t,this._items.changes).pipe(rg(this._destroyed)).subscribe(()=>{Promise.resolve().then(i),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(rg(this._destroyed)).subscribe(e=>{this.indexFocused.emit(e),this._setTabFocus(e)})}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!e_(e))switch(e.keyCode){case 36:this._keyManager.setFirstItemActive(),e.preventDefault();break;case 35:this._keyManager.setLastItemActive(),e.preventDefault();break;case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){this._isValidIndex(e)&&this.focusIndex!==e&&this._keyManager&&this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const t=this._tabListContainer.nativeElement,i=this._getLayoutDirection();t.scrollLeft="ltr"==i?0:t.scrollWidth-t.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,t=this._platform,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,t&&(t.TRIDENT||t.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const t=this._items?this._items.toArray()[e]:null;if(!t)return;const i=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:n,offsetWidth:s}=t.elementRef.nativeElement;let r,a;"ltr"==this._getLayoutDirection()?(r=n,a=r+s):(a=this._tabList.nativeElement.offsetWidth-n,r=a-s);const o=this.scrollDistance,l=this.scrollDistance+i;r<o?this.scrollDistance-=o-r+60:a>l&&(this.scrollDistance+=a-l+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,t){t&&null!=t.button&&0!==t.button||(this._stopInterval(),ig(650,100).pipe(rg(U(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:t,distance:i}=this._scrollHeader(e);(0===i||i>=t)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Zr),Ea(Ng),Ea(Eg,8),Ea(Rc),Ea(vg),Ea(Hv,8))},e.\u0275dir=yt({type:e,inputs:{disablePagination:"disablePagination"}}),e})(),Tk=(()=>{class e extends Lk{constructor(e,t,i,n,s,r,a){super(e,t,i,n,s,r,a),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Df(e)}_itemSelected(e){e.preventDefault()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Zr),Ea(Ng),Ea(Eg,8),Ea(Rc),Ea(vg),Ea(Hv,8))},e.\u0275dir=yt({type:e,inputs:{disableRipple:"disableRipple"},features:[Lo]}),e})(),Ak=(()=>{class e extends Tk{constructor(e,t,i,n,s,r,a){super(e,t,i,n,s,r,a)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Zr),Ea(Ng),Ea(Eg,8),Ea(Rc),Ea(vg),Ea(Hv,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-tab-header"]],contentQueries:function(e,t,i){var n;1&e&&lc(i,Mk,!1),2&e&&sc(n=hc())&&(t._items=n)},viewQuery:function(e,t){var i;1&e&&(rc(rk,!0),rc(ek,!0),rc(tk,!0),ac(ik,!0),ac(nk,!0)),2&e&&(sc(i=hc())&&(t._inkBar=i.first),sc(i=hc())&&(t._tabListContainer=i.first),sc(i=hc())&&(t._tabList=i.first),sc(i=hc())&&(t._nextPaginator=i.first),sc(i=hc())&&(t._previousPaginator=i.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&oo("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[Lo],ngContentSelectors:zw,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(Qa(),Oa(0,"div",0,1),Wa("click",(function(){return t._handlePaginatorClick("before")}))("mousedown",(function(e){return t._handlePaginatorPress("before",e)}))("touchend",(function(){return t._stopInterval()})),Ra(2,"div",2),Fa(),Oa(3,"div",3,4),Wa("keydown",(function(e){return t._handleKeydown(e)})),Oa(5,"div",5,6),Wa("cdkObserveContent",(function(){return t._onContentChanges()})),Oa(7,"div",7),Za(8),Fa(),Ra(9,"mat-ink-bar"),Fa(),Fa(),Oa(10,"div",8,9),Wa("mousedown",(function(e){return t._handlePaginatorPress("after",e)}))("click",(function(){return t._handlePaginatorClick("after")}))("touchend",(function(){return t._stopInterval()})),Ra(12,"div",2),Fa()),2&e&&(oo("mat-tab-header-pagination-disabled",t._disableScrollBefore),Pa("matRippleDisabled",t._disableScrollBefore||t.disableRipple),Cs(5),oo("_mat-animation-noopable","NoopAnimations"===t._animationMode),Cs(5),oo("mat-tab-header-pagination-disabled",t._disableScrollAfter),Pa("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[Mw,B_,rk],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),e})(),Ek=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,Kv,Zg,Dw,z_,fy],Kv]}),e})();const Ik=[[["caption"]]],Pk=["caption"];function Yk(e){return class extends e{constructor(...e){super(...e),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(e){const t=this._sticky;this._sticky=Df(e),this._hasStickyChanged=t!==this._sticky}hasStickyChanged(){const e=this._hasStickyChanged;return this._hasStickyChanged=!1,e}resetStickyChanged(){this._hasStickyChanged=!1}}}const Ok=new Re("CDK_TABLE");let Fk=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(Ea(pl))},e.\u0275dir=yt({type:e,selectors:[["","cdkCellDef",""]]}),e})(),Rk=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(Ea(pl))},e.\u0275dir=yt({type:e,selectors:[["","cdkHeaderCellDef",""]]}),e})(),Nk=(()=>{class e{constructor(e){this.template=e}}return e.\u0275fac=function(t){return new(t||e)(Ea(pl))},e.\u0275dir=yt({type:e,selectors:[["","cdkFooterCellDef",""]]}),e})();class jk{}const Hk=Yk(jk);let Vk=(()=>{class e extends Hk{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"))}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const t=this._stickyEnd;this._stickyEnd=Df(e),this._hasStickyChanged=t!==this._stickyEnd}}return e.\u0275fac=function(t){return new(t||e)(Ea(Ok,8))},e.\u0275dir=yt({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,i){var n;1&e&&(lc(i,Fk,!0),lc(i,Rk,!0),lc(i,Nk,!0)),2&e&&(sc(n=hc())&&(t.cell=n.first),sc(n=hc())&&(t.headerCell=n.first),sc(n=hc())&&(t.footerCell=n.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Ho([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),Lo]}),e})();class Bk{constructor(e,t){t.nativeElement.classList.add("cdk-column-"+e.cssClassFriendlyName)}}let zk=(()=>{class e extends Bk{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Vk),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[Lo]}),e})(),Wk=(()=>{class e extends Bk{constructor(e,t){super(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Vk),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[Lo]}),e})(),Uk=(()=>{class e{constructor(e,t){this.template=e,this._differs=t}ngOnChanges(e){if(!this._columnsDiffer){const t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof qk?e.headerCell.template:this instanceof Qk?e.footerCell.template:e.cell.template}}return e.\u0275fac=function(t){return new(t||e)(Ea(pl),Ea(cl))},e.\u0275dir=yt({type:e,features:[Et]}),e})();class $k extends Uk{}const Gk=Yk($k);let qk=(()=>{class e extends Gk{constructor(e,t,i){super(e,t),this._table=i}ngOnChanges(e){super.ngOnChanges(e)}}return e.\u0275fac=function(t){return new(t||e)(Ea(pl),Ea(cl),Ea(Ok,8))},e.\u0275dir=yt({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[Lo,Et]}),e})();class Kk extends Uk{}const Jk=Yk(Kk);let Qk=(()=>{class e extends Jk{constructor(e,t,i){super(e,t),this._table=i}ngOnChanges(e){super.ngOnChanges(e)}}return e.\u0275fac=function(t){return new(t||e)(Ea(pl),Ea(cl),Ea(Ok,8))},e.\u0275dir=yt({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[Lo,Et]}),e})(),Zk=(()=>{class e extends Uk{constructor(e,t,i){super(e,t),this._table=i}}return e.\u0275fac=function(t){return new(t||e)(Ea(pl),Ea(cl),Ea(Ok,8))},e.\u0275dir=yt({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[Lo]}),e})(),Xk=(()=>{class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}}return e.\u0275fac=function(t){return new(t||e)(Ea(gl))},e.\u0275dir=yt({type:e,selectors:[["","cdkCellOutlet",""]]}),e.mostRecentCellOutlet=null,e})(),ex=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ut({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ha(0,0)},directives:[Xk],encapsulation:2}),e})(),tx=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ut({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ha(0,0)},directives:[Xk],encapsulation:2}),e})();const ix=["top","bottom","left","right"];class nx{constructor(e,t,i,n=!0){this._isNativeHtmlTable=e,this._stickCellCss=t,this.direction=i,this._isBrowser=n}clearStickyPositioning(e,t){for(const i of e)if(i.nodeType===i.ELEMENT_NODE){this._removeStickyStyle(i,t);for(let e=0;e<i.children.length;e++)this._removeStickyStyle(i.children[e],t)}}updateStickyColumns(e,t,i){const n=t.some(e=>e)||i.some(e=>e);if(!e.length||!n||!this._isBrowser)return;const s=e[0],r=s.children.length,a=this._getCellWidths(s),o=this._getStickyStartColumnPositions(a,t),l=this._getStickyEndColumnPositions(a,i),c="rtl"===this.direction;for(const d of e)for(let e=0;e<r;e++){const n=d.children[e];t[e]&&this._addStickyStyle(n,c?"right":"left",o[e]),i[e]&&this._addStickyStyle(n,c?"left":"right",l[e])}}stickRows(e,t,i){if(!this._isBrowser)return;const n="bottom"===i?e.reverse():e;let s=0;for(let r=0;r<n.length;r++){if(!t[r])continue;const e=n[r];if(this._isNativeHtmlTable)for(let t=0;t<e.children.length;t++)this._addStickyStyle(e.children[t],i,s);else this._addStickyStyle(e,i,s);if(r===n.length-1)return;s+=e.getBoundingClientRect().height}}updateStickyFooterContainer(e,t){if(!this._isNativeHtmlTable)return;const i=e.querySelector("tfoot");t.some(e=>!e)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0)}_removeStickyStyle(e,t){for(const i of t)e.style[i]="";e.style.zIndex=this._getCalculatedZIndex(e),ix.some(t=>!!e.style[t])||(e.style.position="",e.classList.remove(this._stickCellCss))}_addStickyStyle(e,t,i){e.classList.add(this._stickCellCss),e.style[t]=i+"px",e.style.cssText+="position: -webkit-sticky; position: sticky; ",e.style.zIndex=this._getCalculatedZIndex(e)}_getCalculatedZIndex(e){const t={top:100,bottom:10,left:1,right:1};let i=0;for(const n of ix)e.style[n]&&(i+=t[n]);return i?""+i:""}_getCellWidths(e){const t=[],i=e.children;for(let n=0;n<i.length;n++)t.push(i[n].getBoundingClientRect().width);return t}_getStickyStartColumnPositions(e,t){const i=[];let n=0;for(let s=0;s<e.length;s++)t[s]&&(i[s]=n,n+=e[s]);return i}_getStickyEndColumnPositions(e,t){const i=[];let n=0;for(let s=e.length;s>0;s--)t[s]&&(i[s]=n,n+=e[s]);return i}}function sx(e){return Error(`Could not find column with id "${e}".`)}let rx=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Ea(gl),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["","rowOutlet",""]]}),e})(),ax=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Ea(gl),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["","headerRowOutlet",""]]}),e})(),ox=(()=>{class e{constructor(e,t){this.viewContainer=e,this.elementRef=t}}return e.\u0275fac=function(t){return new(t||e)(Ea(gl),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["","footerRowOutlet",""]]}),e})(),lx=(()=>{class e{constructor(e,t,i,n,s,r,a){this._differs=e,this._changeDetectorRef=t,this._elementRef=i,this._dir=s,this._platform=a,this._onDestroy=new x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new $h({start:0,end:Number.MAX_VALUE}),n||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=r,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){En()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}.`),this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=Df(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,t)=>this.trackBy?this.trackBy(t.dataIndex,t.data):t)}ngAfterContentChecked(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()}ngOnDestroy(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Pg(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return;const t=this._rowOutlet.viewContainer;e.forEachOperation((e,i,n)=>{if(null==e.previousIndex)this._insertRow(e.item,n);else if(null==n)t.remove(i);else{const e=t.get(i);t.move(e,n)}}),this._updateRowIndexContext(),e.forEachIdentityChange(e=>{t.get(e.currentIndex).context.$implicit=e.item.data}),this.updateStickyColumnStyles()}setHeaderRowDef(e){this._customHeaderRowDefs=new Set([e]),this._headerRowDefChanged=!0}setFooterRowDef(e){this._customFooterRowDefs=new Set([e]),this._footerRowDefChanged=!0}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");const i=this._headerRowDefs.map(e=>e.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,i,"top"),this._headerRowDefs.forEach(e=>e.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");const i=this._footerRowDefs.map(e=>e.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(e=>e.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning([...e,...t,...i],["left","right"]),e.forEach((e,t)=>{this._addStickyColumnStyles([e],this._headerRowDefs[t])}),this._rowDefs.forEach(e=>{const i=[];for(let n=0;n<t.length;n++)this._renderRows[n].rowDef===e&&i.push(t[n]);this._addStickyColumnStyles(i,e)}),i.forEach((e,t)=>{this._addStickyColumnStyles([e],this._footerRowDefs[t])}),Array.from(this._columnDefsByName.values()).forEach(e=>e.resetStickyChanged())}_getAllRenderRows(){const e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let i=0;i<this._data.length;i++){let n=this._data[i];const s=this._getRenderRowsForData(n,i,t.get(n));this._cachedRenderRowsMap.has(n)||this._cachedRenderRowsMap.set(n,new WeakMap);for(let t=0;t<s.length;t++){let i=s[t];const n=this._cachedRenderRowsMap.get(i.data);n.has(i.rowDef)?n.get(i.rowDef).push(i):n.set(i.rowDef,[i]),e.push(i)}}return e}_getRenderRowsForData(e,t,i){return this._getRowDefs(e,t).map(n=>{const s=i&&i.has(n)?i.get(n):[];if(s.length){const e=s.shift();return e.dataIndex=t,e}return{data:e,rowDef:n,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),cx(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(e=>{if(this._columnDefsByName.has(e.name))throw Error(`Duplicate column definition name provided: "${e.name}".`);this._columnDefsByName.set(e.name,e)})}_cacheRowDefs(){this._headerRowDefs=cx(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=cx(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=cx(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(e=>!e.when);if(!this.multiTemplateDataRows&&e.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(e,t)=>e||!!t.getColumnsDiff();this._rowDefs.reduce(e,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(e,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(e,!1)&&this._forceRenderFooterRows()}_switchDataSource(e){this._data=[],Pg(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;if(Pg(this.dataSource)?e=this.dataSource.connect(this):(t=this.dataSource)&&(t instanceof y||"function"==typeof t.lift&&"function"==typeof t.subscribe)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Uh(this.dataSource)),void 0===e)throw Error("Provided data source did not match an array, Observable, or DataSource");var t;this._renderChangeSubscription=e.pipe(rg(this._onDestroy)).subscribe(e=>{this._data=e||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()}_addStickyColumnStyles(e,t){const i=Array.from(t.columns||[]).map(e=>{const t=this._columnDefsByName.get(e);if(!t)throw sx(e);return t}),n=i.map(e=>e.sticky),s=i.map(e=>e.stickyEnd);this._stickyStyler.updateStickyColumns(e,n,s)}_getRenderedRows(e){const t=[];for(let i=0;i<e.viewContainer.length;i++){const n=e.viewContainer.get(i);t.push(n.rootNodes[0])}return t}_getRowDefs(e,t){if(1==this._rowDefs.length)return[this._rowDefs[0]];let i=[];if(this.multiTemplateDataRows)i=this._rowDefs.filter(i=>!i.when||i.when(t,e));else{let n=this._rowDefs.find(i=>i.when&&i.when(t,e))||this._defaultRowDef;n&&i.push(n)}if(!i.length)throw function(e){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(e))}(e);return i}_insertRow(e,t){this._renderRow(this._rowOutlet,e.rowDef,t,{$implicit:e.data})}_renderRow(e,t,i,n={}){e.viewContainer.createEmbeddedView(t.template,n,i);for(let s of this._getCellTemplates(t))Xk.mostRecentCellOutlet&&Xk.mostRecentCellOutlet._viewContainer.createEmbeddedView(s,n);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let t=0,i=e.length;t<i;t++){const n=e.get(t).context;n.count=i,n.first=0===t,n.last=t===i-1,n.even=t%2==0,n.odd=!n.even,this.multiTemplateDataRows?(n.dataIndex=this._renderRows[t].dataIndex,n.renderIndex=t):n.index=this._renderRows[t].dataIndex}}_getCellTemplates(e){return e&&e.columns?Array.from(e.columns,t=>{const i=this._columnDefsByName.get(t);if(!i)throw sx(t);return e.extractCellTemplate(i)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),t=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];for(const i of t){const t=this._document.createElement(i.tag);t.setAttribute("role","rowgroup"),t.appendChild(i.outlet.elementRef.nativeElement),e.appendChild(t)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()}_checkStickyStates(){const e=(e,t)=>e||t.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&this.updateStickyColumnStyles()}_setupStickyStyler(){this._stickyStyler=new nx(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:Uh()).pipe(rg(this._onDestroy)).subscribe(e=>{this._stickyStyler.direction=e,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(e=>!e._table||e._table===this)}}return e.\u0275fac=function(t){return new(t||e)(Ea(cl),Ea(Zr),Ea(Wo),Ia("role"),Ea(Eg,8),Ea(pd),Ea(vg))},e.\u0275cmp=ut({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,i){var n;1&e&&(lc(i,Vk,!0),lc(i,Zk,!0),lc(i,qk,!0),lc(i,Qk,!0)),2&e&&(sc(n=hc())&&(t._contentColumnDefs=n),sc(n=hc())&&(t._contentRowDefs=n),sc(n=hc())&&(t._contentHeaderRowDefs=n),sc(n=hc())&&(t._contentFooterRowDefs=n))},viewQuery:function(e,t){var i;1&e&&(rc(rx,!0),rc(ax,!0),rc(ox,!0)),2&e&&(sc(i=hc())&&(t._rowOutlet=i.first),sc(i=hc())&&(t._headerRowOutlet=i.first),sc(i=hc())&&(t._footerRowOutlet=i.first))},hostAttrs:[1,"cdk-table"],inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows"},exportAs:["cdkTable"],features:[Ho([{provide:Ok,useExisting:e}])],ngContentSelectors:Pk,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(Qa(Ik),Za(0),Ha(1,0),Ha(2,1),Ha(3,2))},directives:[ax,rx,ox],encapsulation:2}),e})();function cx(e,t){return e.concat(Array.from(t))}let dx=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})();const hx=[[["caption"]]],ux=["caption"];let mx=(()=>{class e extends lx{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky"}}return e.\u0275fac=function(t){return px(t||e)},e.\u0275cmp=ut({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],exportAs:["matTable"],features:[Ho([{provide:lx,useExisting:e},{provide:Ok,useExisting:e}]),Lo],ngContentSelectors:ux,decls:4,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(Qa(hx),Za(0),Ha(1,0),Ha(2,1),Ha(3,2))},directives:[ax,rx,ox],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type,[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type{padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type,[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type{padding-right:0;padding-left:24px}\n'],encapsulation:2}),e})();const px=fn(mx);let fx=(()=>{class e extends Fk{}return e.\u0275fac=function(t){return gx(t||e)},e.\u0275dir=yt({type:e,selectors:[["","matCellDef",""]],features:[Ho([{provide:Fk,useExisting:e}]),Lo]}),e})();const gx=fn(fx);let _x=(()=>{class e extends Rk{}return e.\u0275fac=function(t){return yx(t||e)},e.\u0275dir=yt({type:e,selectors:[["","matHeaderCellDef",""]],features:[Ho([{provide:Rk,useExisting:e}]),Lo]}),e})();const yx=fn(_x);let bx=(()=>{class e extends Vk{}return e.\u0275fac=function(t){return vx(t||e)},e.\u0275dir=yt({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Ho([{provide:Vk,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),Lo]}),e})();const vx=fn(bx);let wx=(()=>{class e extends zk{constructor(e,t){super(e,t),t.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Vk),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[Lo]}),e})(),kx=(()=>{class e extends Wk{constructor(e,t){super(e,t),t.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Vk),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[Lo]}),e})(),xx=(()=>{class e extends qk{}return e.\u0275fac=function(t){return Cx(t||e)},e.\u0275dir=yt({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Ho([{provide:qk,useExisting:e}]),Lo]}),e})();const Cx=fn(xx);let Sx=(()=>{class e extends Zk{}return e.\u0275fac=function(t){return Mx(t||e)},e.\u0275dir=yt({type:e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Ho([{provide:Zk,useExisting:e}]),Lo]}),e})();const Mx=fn(Sx);let Dx=(()=>{class e extends ex{}return e.\u0275fac=function(t){return Lx(t||e)},e.\u0275cmp=ut({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Ho([{provide:ex,useExisting:e}]),Lo],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ha(0,0)},directives:[Xk],encapsulation:2}),e})();const Lx=fn(Dx);let Tx=(()=>{class e extends tx{}return e.\u0275fac=function(t){return Ax(t||e)},e.\u0275cmp=ut({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Ho([{provide:tx,useExisting:e}]),Lo],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&Ha(0,0)},directives:[Xk],encapsulation:2}),e})();const Ax=fn(Tx);let Ex=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[dx,Kv],Kv]}),e})();class Ix extends class{}{constructor(e=[]){super(),this._renderData=new $h([]),this._filter=new $h(""),this._internalPageChanges=new x,this._renderChangesSubscription=h.EMPTY,this.sortingDataAccessor=(e,t)=>{const i=e[t];if(Tf(i)){const e=Number(i);return e<9007199254740991?e:i}return i},this.sortData=(e,t)=>{const i=t.active,n=t.direction;return i&&""!=n?e.sort((e,t)=>{let s=this.sortingDataAccessor(e,i),r=this.sortingDataAccessor(t,i),a=0;return null!=s&&null!=r?s>r?a=1:s<r&&(a=-1):null!=s?a=1:null!=r&&(a=-1),a*("asc"==n?1:-1)}):e},this.filterPredicate=(e,t)=>{const i=Object.keys(e).reduce((t,i)=>t+e[i]+"\u25ec","").toLowerCase(),n=t.trim().toLowerCase();return-1!=i.indexOf(n)},this._data=new $h(e),this._updateChangeSubscription()}get data(){return this._data.value}set data(e){this._data.next(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}_updateChangeSubscription(){const e=this._sort?U(this._sort.sortChange,this._sort.initialized):Uh(null),t=this._paginator?U(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Uh(null),i=Kh([this._data,this._filter]).pipe(O(([e])=>this._filterData(e))),n=Kh([i,e]).pipe(O(([e])=>this._orderData(e))),s=Kh([n,t]).pipe(O(([e])=>this._pageData(e)));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=s.subscribe(e=>this._renderData.next(e))}_filterData(e){return this.filteredData=this.filter?e.filter(e=>this.filterPredicate(e,this.filter)):e,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;const t=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(t,t+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{const t=this.paginator;if(t&&(t.length=e,t.pageIndex>0)){const e=Math.ceil(t.length/t.pageSize)-1||0,i=Math.min(t.pageIndex,e);i!==t.pageIndex&&(t.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderData}disconnect(){}}function Px(e,t){}class Yx{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 Ox={dialogContainer:yy("dialogContainer",[xy("void, exit",ky({opacity:0,transform:"scale(0.7)"})),xy("enter",ky({transform:"none"})),Sy("* => enter",by("150ms cubic-bezier(0, 0, 0.2, 1)",ky({transform:"none",opacity:1}))),Sy("* => void, * => exit",by("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",ky({opacity:0})))])};function Fx(){throw Error("Attempting to attach dialog content after content is already attached")}let Rx=(()=>{class e extends $g{constructor(e,t,i,n,s){super(),this._elementRef=e,this._focusTrapFactory=t,this._changeDetectorRef=i,this._config=s,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new Gl,this.attachDomPortal=e=>(this._portalOutlet.hasAttached()&&Fx(),this._setupFocusTrap(),this._portalOutlet.attachDomPortal(e)),this._ariaLabelledBy=s.ariaLabelledBy||null,this._document=n}attachComponentPortal(e){return this._portalOutlet.hasAttached()&&Fx(),this._setupFocusTrap(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached()&&Fx(),this._setupFocusTrap(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._focusTrap.focusInitialElement()||this._elementRef.nativeElement.focus()}_trapFocus(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const t=this._document.activeElement,i=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==i&&!i.contains(t)||e.focus()}this._focusTrap&&this._focusTrap.destroy()}_setupFocusTrap(){this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}_containsFocus(){const e=this._elementRef.nativeElement,t=this._document.activeElement;return e===t||e.contains(t)}_onAnimationDone(e){"enter"===e.toState?this._trapFocus():"exit"===e.toState&&this._restoreFocus(),this._animationStateChanged.emit(e)}_onAnimationStart(e){this._animationStateChanged.emit(e)}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(iy),Ea(Zr),Ea(pd,8),Ea(Yx))},e.\u0275cmp=ut({type:e,selectors:[["mat-dialog-container"]],viewQuery:function(e,t){var i;1&e&&rc(Kg,!0),2&e&&sc(i=hc())&&(t._portalOutlet=i.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&Ua("@dialogContainer.start",(function(e){return t._onAnimationStart(e)}))("@dialogContainer.done",(function(e){return t._onAnimationDone(e)})),2&e&&(Da("id",t._id)("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),Mo("@dialogContainer",t._state))},features:[Lo],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&Ta(0,Px,0,0,"ng-template",0)},directives:[Kg],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[Ox.dialogContainer]}}),e})(),Nx=0;class jx{constructor(e,t,i="mat-dialog-"+Nx++){this._overlayRef=e,this._containerInstance=t,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new x,this._afterClosed=new x,this._beforeClosed=new x,this._state=0,t._id=i,t._animationStateChanged.pipe(iu(e=>"done"===e.phaseName&&"enter"===e.toState),bu(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(iu(e=>"done"===e.phaseName&&"exit"===e.toState),bu(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),e.keydownEvents().pipe(iu(e=>27===e.keyCode&&!this.disableClose&&!e_(e))).subscribe(e=>{e.preventDefault(),this.close()}),e.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():this.close()})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(iu(e=>"start"===e.phaseName),bu(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=1}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(e){let t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(e="",t=""){return this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this}addPanelClass(e){return this._overlayRef.addPanelClass(e),this}removePanelClass(e){return this._overlayRef.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}const Hx=new Re("MatDialogData"),Vx=new Re("mat-dialog-default-options"),Bx=new Re("mat-dialog-scroll-strategy"),zx={provide:Bx,deps:[M_],useFactory:function(e){return()=>e.scrollStrategies.block()}};let Wx=(()=>{class e{constructor(e,t,i,n,s,r,a){this._overlay=e,this._injector=t,this._defaultOptions=n,this._parentDialog=r,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new x,this._afterOpenedAtThisLevel=new x,this._ariaHiddenElements=new Map,this.afterAllClosed=eu(()=>this.openDialogs.length?this._afterAllClosed:this._afterAllClosed.pipe(Pu(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}get _afterAllClosed(){const e=this._parentDialog;return e?e._afterAllClosed:this._afterAllClosedAtThisLevel}open(e,t){if((t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new Yx)).id&&this.getDialogById(t.id))throw Error(`Dialog with id "${t.id}" exists already. The dialog id must be unique.`);const i=this._createOverlay(t),n=this._attachDialogContainer(i,t),s=this._attachDialogContent(e,n,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(()=>this._removeOpenDialog(s)),this.afterOpened.next(s),s}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(t=>t.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const t=this._getOverlayConfig(e);return this._overlay.create(t)}_getOverlayConfig(e){const t=new c_({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}_attachDialogContainer(e,t){const i=fa.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:Yx,useValue:t}]}),n=new zg(Rx,t.viewContainerRef,i,t.componentFactoryResolver);return e.attach(n).instance}_attachDialogContent(e,t,i,n){const s=new jx(i,t,n.id);if(e instanceof pl)t.attachTemplatePortal(new Wg(e,null,{$implicit:n.data,dialogRef:s}));else{const i=this._createInjector(n,s,t),r=t.attachComponentPortal(new zg(e,n.viewContainerRef,i));s.componentInstance=r.instance}return s.updateSize(n.width,n.height).updatePosition(n.position),s}_createInjector(e,t,i){const n=e&&e.viewContainerRef&&e.viewContainerRef.injector,s=[{provide:Rx,useValue:i},{provide:Hx,useValue:e.data},{provide:jx,useValue:t}];return!e.direction||n&&n.get(Eg,null)||s.push({provide:Eg,useValue:{value:e.direction,change:Uh()}}),fa.create({parent:n||this._injector,providers:s})}_removeOpenDialog(e){const t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((e,t)=>{e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const t=e.parentElement.children;for(let i=t.length-1;i>-1;i--){let n=t[i];n===e||"SCRIPT"===n.nodeName||"STYLE"===n.nodeName||n.hasAttribute("aria-live")||(this._ariaHiddenElements.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let t=e.length;for(;t--;)e[t].close()}}return e.\u0275fac=function(t){return new(t||e)(Ge(M_),Ge(fa),Ge(Td,8),Ge(Vx,8),Ge(Bx),Ge(e,12),Ge(g_))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),Ux=0,$x=(()=>{class e{constructor(e,t,i){this.dialogRef=e,this._elementRef=t,this._dialog=i,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Jx(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const t=e._matDialogClose||e._matDialogCloseResult;t&&(this.dialogResult=t.currentValue)}}return e.\u0275fac=function(t){return new(t||e)(Ea(jx,8),Ea(Wo),Ea(Wx))},e.\u0275dir=yt({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,t){1&e&&Wa("click",(function(){return t.dialogRef.close(t.dialogResult)})),2&e&&Da("aria-label",t.ariaLabel||null)("type",t.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Et]}),e})(),Gx=(()=>{class e{constructor(e,t,i){this._dialogRef=e,this._elementRef=t,this._dialog=i,this.id="mat-dialog-title-"+Ux++}ngOnInit(){this._dialogRef||(this._dialogRef=Jx(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return e.\u0275fac=function(t){return new(t||e)(Ea(jx,8),Ea(Wo),Ea(Wx))},e.\u0275dir=yt({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&So("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e})(),qx=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e})(),Kx=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e})();function Jx(e,t){let i=e.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-dialog-container");)i=i.parentElement;return i?t.find(e=>e.id===i.id):null}let Qx=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[Wx,zx],imports:[[I_,Zg,Kv],Kv]}),e})();const Zx=["mat-button",""],Xx=["*"],eC=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"];class tC{constructor(e){this._elementRef=e}}const iC=Qv(Jv(Zv(tC)));let nC=(()=>{class e extends iC{constructor(e,t,i){super(e),this._focusMonitor=t,this._animationMode=i,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const n of eC)this._hasHostAttributes(n)&&this._getHostElement().classList.add(n);e.nativeElement.classList.add("mat-button-base"),this._focusMonitor.monitor(this._elementRef,!0),this.isRoundButton&&(this.color="accent")}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e="program",t){this._focusMonitor.focusVia(this._getHostElement(),e,t)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(e=>this._getHostElement().hasAttribute(e))}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(hy),Ea(Hv,8))},e.\u0275cmp=ut({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){var i;1&e&&ac(Mw,!0),2&e&&sc(i=hc())&&(t.ripple=i.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:3,hostBindings:function(e,t){2&e&&(Da("disabled",t.disabled||null),oo("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[Lo],attrs:Zx,ngContentSelectors:Xx,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(Qa(),Oa(0,"span",0),Za(1),Fa(),Ra(2,"div",1),Ra(3,"div",2)),2&e&&(Cs(2),oo("mat-button-ripple-round",t.isRoundButton||t.isIconButton),Pa("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[Mw],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled],.mat-flat-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.cdk-high-contrast-active .mat-button-focus-overlay{background-color:#fff}.cdk-high-contrast-black-on-white .mat-button-focus-overlay{background-color:#000}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),e})(),sC=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[Dw,Kv],Kv]}),e})();function rC(e,t){if(1&e&&(Oa(0,"div",6),Oa(1,"p",7),vo(2,"\xa0"),Fa(),Fa()),2&e){const e=Ka();Cs(1),Pa("innerHtml",e.htmlMessage,is)}}function aC(e,t){if(1&e&&(Oa(0,"div",6),Oa(1,"p"),vo(2),Fa(),Fa()),2&e){const e=Ka();Cs(2),wo(e.message)}}function oC(e,t){1&e&&(Oa(0,"button",8),vo(1," Cancel "),Fa()),2&e&&Pa("mat-dialog-close",!1)}function lC(e,t){if(1&e&&(Oa(0,"button",11),vo(1),Fa()),2&e){const e=Ka(2);Pa("routerLink",e.confirmButtonRouterLink),Cs(1),ko(" ",e.confirmButtonLabel," ")}}function cC(e,t){if(1&e&&(Oa(0,"button",12),vo(1),Fa()),2&e){const e=Ka(2);Pa("mat-dialog-close",!0)("routerLink",e.confirmButtonRouterLink),Cs(1),ko(" ",e.confirmButtonLabel," ")}}function dC(e,t){if(1&e&&(Oa(0,"div"),Ta(1,lC,2,2,"button",9),Ta(2,cC,2,3,"button",10),Fa()),2&e){const e=Ka();Cs(1),Pa("ngIf",e.confirmButton),Cs(1),Pa("ngIf",!e.confirmButton)}}function hC(e,t){if(1&e&&(Oa(0,"button",13),vo(1),Fa()),2&e){const e=Ka();Pa("mat-dialog-close",!0),Cs(1),ko(" ",e.confirmButtonLabel," ")}}function uC(e,t){1&e&&(Oa(0,"button",13),vo(1," Ok "),Fa()),2&e&&Pa("mat-dialog-close",!0)}let mC=(()=>{class e{constructor(e,t,i){this.dialogRef=e,this.data=t,this.dialog=i,this.htmlMessage=null,this.confirmButton=null,this.confirmButtonLabel=null,this.confirmButtonRouterLink=null,this.message=t.message,this.title=t.title,this.htmlMessage=t.htmlMessage,this.confirmButton=t.confirmButton,this.confirmButtonLabel=t.confirmButtonLabel,this.confirmButtonRouterLink=t.confirmButtonRouterLink,console.log(this.confirmButton)}ngOnInit(){}onNoClick(){this.dialogRef.close()}}return e.\u0275fac=function(t){return new(t||e)(Ea(jx),Ea(Hx),Ea(Wx))},e.\u0275cmp=ut({type:e,selectors:[["app-pop-up-messages"]],decls:11,vars:7,consts:[["mat-dialog-title",""],["mat-dialog-content","",4,"ngIf"],["mat-dialog-actions","","align","end"],["mat-button","",3,"mat-dialog-close",4,"ngIf"],[4,"ngIf"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close",4,"ngIf"],["mat-dialog-content",""],[3,"innerHtml"],["mat-button","",3,"mat-dialog-close"],["mat-button","","cdkFocusInitial","",3,"routerLink",4,"ngIf"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close","routerLink",4,"ngIf"],["mat-button","","cdkFocusInitial","",3,"routerLink"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close","routerLink"],["mat-button","","cdkFocusInitial","",3,"mat-dialog-close"]],template:function(e,t){1&e&&(Oa(0,"div",0),Oa(1,"h2"),vo(2),Fa(),Fa(),Ta(3,rC,3,1,"div",1),Ta(4,aC,3,1,"div",1),Oa(5,"div",2),Ta(6,oC,2,1,"button",3),Ta(7,dC,3,2,"div",4),Oa(8,"div"),Ta(9,hC,2,2,"button",5),Ta(10,uC,2,1,"button",5),Fa(),Fa()),2&e&&(Cs(2),wo(t.title),Cs(1),Pa("ngIf",t.htmlMessage),Cs(1),Pa("ngIf",t.message),Cs(2),Pa("ngIf",t.confirmButton),Cs(1),Pa("ngIf",t.confirmButtonRouterLink),Cs(2),Pa("ngIf",t.confirmButton),Cs(1),Pa("ngIf",void 0===t.confirmButton))},directives:[Gx,$d,Kx,qx,nC,$x,rf],styles:[""]}),e})();class pC{}class fC{}class gC{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const i=e.slice(0,t),n=i.toLowerCase(),s=e.slice(t+1).trim();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(s):this.headers.set(n,[s])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let i=e[t];const n=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(n,i),this.maybeSetNormalizedName(t,n))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof gC?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new gC;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof gC?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let i=e.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(e.name,t);const n=("a"===e.op?this.headers.get(t):void 0)||[];n.push(...i),this.headers.set(t,n);break;case"d":const s=e.value;if(s){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===s.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class _C{encodeKey(e){return yC(e)}encodeValue(e){return yC(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function yC(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}class bC{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new _C,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const i=new Map;return e.length>0&&e.split("&").forEach(e=>{const n=e.indexOf("="),[s,r]=-1==n?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,n)),t.decodeValue(e.slice(n+1))],a=i.get(s)||[];a.push(r),i.set(s,a)}),i}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const i=e.fromObject[t];this.map.set(t,Array.isArray(i)?i:[i])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new bC({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const i=t.indexOf(e.value);-1!==i&&t.splice(i,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function vC(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function wC(e){return"undefined"!=typeof Blob&&e instanceof Blob}function kC(e){return"undefined"!=typeof FormData&&e instanceof FormData}class xC{constructor(e,t,i,n){let s;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==i?i:null,s=n):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.params&&(this.params=s.params)),this.headers||(this.headers=new gC),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const i=t.indexOf("?");this.urlWithParams=t+(-1===i?"?":i<t.length-1?"&":"")+e}}else this.params=new bC,this.urlWithParams=t}serializeBody(){return null===this.body?null:vC(this.body)||wC(this.body)||kC(this.body)||"string"==typeof this.body?this.body:this.body instanceof bC?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||kC(this.body)?null:wC(this.body)?this.body.type||null:vC(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof bC?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(e={}){const t=e.method||this.method,i=e.url||this.url,n=e.responseType||this.responseType,s=void 0!==e.body?e.body:this.body,r=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let o=e.headers||this.headers,l=e.params||this.params;return void 0!==e.setHeaders&&(o=Object.keys(e.setHeaders).reduce((t,i)=>t.set(i,e.setHeaders[i]),o)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,i)=>t.set(i,e.setParams[i]),l)),new xC(t,i,s,{params:l,headers:o,reportProgress:a,responseType:n,withCredentials:r})}}var CC=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({});class SC{constructor(e,t=200,i="OK"){this.headers=e.headers||new gC,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class MC extends SC{constructor(e={}){super(e),this.type=CC.ResponseHeader}clone(e={}){return new MC({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class DC extends SC{constructor(e={}){super(e),this.type=CC.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new DC({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class LC extends SC{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function TC(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let AC=(()=>{class e{constructor(e){this.handler=e}request(e,t,i={}){let n;if(e instanceof xC)n=e;else{let s=void 0;s=i.headers instanceof gC?i.headers:new gC(i.headers);let r=void 0;i.params&&(r=i.params instanceof bC?i.params:new bC({fromObject:i.params})),n=new xC(e,t,void 0!==i.body?i.body:null,{headers:s,params:r,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}const s=Uh(n).pipe(Fu(e=>this.handler.handle(e)));if(e instanceof xC||"events"===i.observe)return s;const r=s.pipe(iu(e=>e instanceof DC));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return r.pipe(O(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return r.pipe(O(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return r.pipe(O(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return r.pipe(O(e=>e.body))}case"response":return r;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new bC).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,i={}){return this.request("PATCH",e,TC(i,t))}post(e,t,i={}){return this.request("POST",e,TC(i,t))}put(e,t,i={}){return this.request("PUT",e,TC(i,t))}}return e.\u0275fac=function(t){return new(t||e)(Ge(pC))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();class EC{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const IC=new Re("HTTP_INTERCEPTORS");let PC=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();const YC=/^\)\]\}',?\n/;class OC{}let FC=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),RC=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new y(t=>{const i=this.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach((e,t)=>i.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&i.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();i.responseType="json"!==t?t:"text"}const n=e.serializeBody();let s=null;const r=()=>{if(null!==s)return s;const t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new gC(i.getAllResponseHeaders()),a=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new MC({headers:r,status:t,statusText:n,url:a}),s},a=()=>{let{headers:n,status:s,statusText:a,url:o}=r(),l=null;204!==s&&(l=void 0===i.response?i.responseText:i.response),0===s&&(s=l?200:0);let c=s>=200&&s<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(YC,"");try{l=""!==l?JSON.parse(l):null}catch(d){l=e,c&&(c=!1,l={error:d,text:l})}}c?(t.next(new DC({body:l,headers:n,status:s,statusText:a,url:o||void 0})),t.complete()):t.error(new LC({error:l,headers:n,status:s,statusText:a,url:o||void 0}))},o=e=>{const{url:n}=r(),s=new LC({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:n||void 0});t.error(s)};let l=!1;const c=n=>{l||(t.next(r()),l=!0);let s={type:CC.DownloadProgress,loaded:n.loaded};n.lengthComputable&&(s.total=n.total),"text"===e.responseType&&i.responseText&&(s.partialText=i.responseText),t.next(s)},d=e=>{let i={type:CC.UploadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),t.next(i)};return i.addEventListener("load",a),i.addEventListener("error",o),e.reportProgress&&(i.addEventListener("progress",c),null!==n&&i.upload&&i.upload.addEventListener("progress",d)),i.send(n),t.next({type:CC.Sent}),()=>{i.removeEventListener("error",o),i.removeEventListener("load",a),e.reportProgress&&(i.removeEventListener("progress",c),null!==n&&i.upload&&i.upload.removeEventListener("progress",d)),i.readyState!==i.DONE&&i.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(Ge(OC))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();const NC=new Re("XSRF_COOKIE_NAME"),jC=new Re("XSRF_HEADER_NAME");class HC{}let VC=(()=>{class e{constructor(e,t,i){this.doc=e,this.platform=t,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Vd(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(Ge(pd),Ge(kc),Ge(NC))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),BC=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const i=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||i.startsWith("http://")||i.startsWith("https://"))return t.handle(e);const n=this.tokenService.getToken();return null===n||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,n)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(Ge(HC),Ge(jC))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),zC=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(IC,[]);this.chain=e.reduceRight((e,t)=>new EC(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(Ge(fC),Ge(fa))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),WC=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:BC,useClass:PC}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:NC,useValue:t.cookieName}:[],t.headerName?{provide:jC,useValue:t.headerName}:[]]}}}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[BC,{provide:IC,useExisting:BC,multi:!0},{provide:HC,useClass:VC},{provide:NC,useValue:"XSRF-TOKEN"},{provide:jC,useValue:"X-XSRF-TOKEN"}]}),e})(),UC=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[AC,{provide:pC,useClass:zC},RC,{provide:fC,useExisting:RC},FC,{provide:OC,useExisting:FC}],imports:[[WC.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})(),$C=(()=>{class e{constructor(e){this.http=e}load(){return this.http.get("assets/config/config.deploy.json").toPromise().then(t=>{e.settings=t})}}return e.\u0275fac=function(t){return new(t||e)(Ge(AC))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),GC=(()=>{class e{constructor(e){this.httpClient=e}getAllUsers(){return this.httpClient.get($C.settings.apiServer.backend+"auth/get/users")}}return e.\u0275fac=function(t){return new(t||e)(Ge(AC))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function qC(e,t){if(1&e&&(Li(),Ra(0,"circle",3)),2&e){const e=Ka();ao("animation-name","mat-progress-spinner-stroke-rotate-"+e.diameter)("stroke-dashoffset",e._strokeDashOffset,"px")("stroke-dasharray",e._strokeCircumference,"px")("stroke-width",e._circleStrokeWidth,"%"),Da("r",e._circleRadius)}}function KC(e,t){if(1&e&&(Li(),Ra(0,"circle",3)),2&e){const e=Ka();ao("stroke-dashoffset",e._strokeDashOffset,"px")("stroke-dasharray",e._strokeCircumference,"px")("stroke-width",e._circleStrokeWidth,"%"),Da("r",e._circleRadius)}}function JC(e,t){if(1&e&&(Li(),Ra(0,"circle",3)),2&e){const e=Ka();ao("animation-name","mat-progress-spinner-stroke-rotate-"+e.diameter)("stroke-dashoffset",e._strokeDashOffset,"px")("stroke-dasharray",e._strokeCircumference,"px")("stroke-width",e._circleStrokeWidth,"%"),Da("r",e._circleRadius)}}function QC(e,t){if(1&e&&(Li(),Ra(0,"circle",3)),2&e){const e=Ka();ao("stroke-dashoffset",e._strokeDashOffset,"px")("stroke-dasharray",e._strokeCircumference,"px")("stroke-width",e._circleStrokeWidth,"%"),Da("r",e._circleRadius)}}const ZC=".mat-progress-spinner{display:block;position:relative}.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}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{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]{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]{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 XC{constructor(e){this._elementRef=e}}const eS=Qv(XC,"primary"),tS=new Re("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}});let iS=(()=>{class e extends eS{constructor(t,i,n,s,r){super(t),this._elementRef=t,this._document=n,this._diameter=100,this._value=0,this._fallbackAnimation=!1,this.mode="determinate";const a=e._diameters;a.has(n.head)||a.set(n.head,new Set([100])),this._fallbackAnimation=i.EDGE||i.TRIDENT,this._noopAnimations="NoopAnimations"===s&&!!r&&!r._forceAnimations,r&&(r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get diameter(){return this._diameter}set diameter(e){this._diameter=Lf(e),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}get strokeWidth(){return this._strokeWidth||this.diameter/10}set strokeWidth(e){this._strokeWidth=Lf(e)}get value(){return"determinate"===this.mode?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,Lf(e)))}ngOnInit(){const e=this._elementRef.nativeElement;this._styleRoot=Tg(e)||this._document.head,this._attachStyleNode(),e.classList.add(`mat-progress-spinner-indeterminate${this._fallbackAnimation?"-fallback":""}-animation`)}get _circleRadius(){return(this.diameter-10)/2}get _viewBox(){const e=2*this._circleRadius+this.strokeWidth;return`0 0 ${e} ${e}`}get _strokeCircumference(){return 2*Math.PI*this._circleRadius}get _strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null}get _circleStrokeWidth(){return this.strokeWidth/this.diameter*100}_attachStyleNode(){const t=this._styleRoot,i=this._diameter,n=e._diameters;let s=n.get(t);if(!s||!s.has(i)){const e=this._document.createElement("style");e.setAttribute("mat-spinner-animation",i+""),e.textContent=this._getAnimationText(),t.appendChild(e),s||(s=new Set,n.set(t,s)),s.add(i)}}_getAnimationText(){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*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(vg),Ea(pd,8),Ea(Hv,8),Ea(tS))},e.\u0275cmp=ut({type:e,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(e,t){2&e&&(Da("aria-valuemin","determinate"===t.mode?0:null)("aria-valuemax","determinate"===t.mode?100:null)("aria-valuenow","determinate"===t.mode?t.value:null)("mode",t.mode),ao("width",t.diameter,"px")("height",t.diameter,"px"),oo("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[Lo],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(e,t){1&e&&(Li(),Oa(0,"svg",0),Ta(1,qC,1,9,"circle",1),Ta(2,KC,1,7,"circle",2),Fa()),2&e&&(ao("width",t.diameter,"px")("height",t.diameter,"px"),Pa("ngSwitch","indeterminate"===t.mode),Da("viewBox",t._viewBox),Cs(1),Pa("ngSwitchCase",!0),Cs(1),Pa("ngSwitchCase",!1))},directives:[Jd,Qd],styles:[ZC],encapsulation:2,changeDetection:0}),e._diameters=new WeakMap,e})(),nS=(()=>{class e extends iS{constructor(e,t,i,n,s){super(e,t,i,n,s),this.mode="indeterminate"}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(vg),Ea(pd,8),Ea(Hv,8),Ea(tS))},e.\u0275cmp=ut({type:e,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(ao("width",t.diameter,"px")("height",t.diameter,"px"),oo("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[Lo],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(e,t){1&e&&(Li(),Oa(0,"svg",0),Ta(1,JC,1,9,"circle",1),Ta(2,QC,1,7,"circle",2),Fa()),2&e&&(ao("width",t.diameter,"px")("height",t.diameter,"px"),Pa("ngSwitch","indeterminate"===t.mode),Da("viewBox",t._viewBox),Cs(1),Pa("ngSwitchCase",!0),Cs(1),Pa("ngSwitchCase",!1))},directives:[Jd,Qd],styles:[ZC],encapsulation:2,changeDetection:0}),e})(),sS=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[Kv,ch],Kv]}),e})(),rS=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ut({type:e,selectors:[["app-buffering"]],decls:3,vars:0,consts:[[1,"bufferingOverlay"],["id","ajax-loader",1,"centered"]],template:function(e,t){1&e&&(Oa(0,"div",0),Oa(1,"div",1),Ra(2,"mat-spinner"),Fa(),Fa())},directives:[nS],styles:[".bufferingOverlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:2;padding:0;margin:0;background:hsla(0,0%,78.4%,.6)}.overDialog[_ngcontent-%COMP%]{width:calc(100% + 40px);height:calc(100% + 40px);margin-top:-20px;margin-left:-20px;border-radius:2px}.centered[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100%}"]}),e})();function aS(...e){if(1===e.length){const t=e[0];if(l(t))return oS(t,null);if(c(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return oS(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return oS(e=1===e.length&&l(e[0])?e[0]:e,null).pipe(O(e=>t(...e)))}return oS(e,null)}function oS(e,t){return new y(i=>{const n=e.length;if(0===n)return void i.complete();const s=new Array(n);let r=0,a=0;for(let o=0;o<n;o++){const l=j(e[o]);let c=!1;i.add(l.subscribe({next:e=>{c||(c=!0,a++),s[o]=e},error:e=>i.error(e),complete:()=>{r++,r!==n&&c||(a===n&&i.next(t?t.reduce((e,t,i)=>(e[t]=s[i],e),{}):s),i.complete())}}))}})}const lS=["*"];function cS(e){return Error(`Unable to find icon with the name "${e}"`)}function dS(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function hS(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}class uS{constructor(e,t){this.options=t,e.nodeName?this.svgElement=e:this.url=e}}let mS=(()=>{class e{constructor(e,t,i,n){this._httpClient=e,this._sanitizer=t,this._errorHandler=n,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=i}addSvgIcon(e,t,i){return this.addSvgIconInNamespace("",e,t,i)}addSvgIconLiteral(e,t,i){return this.addSvgIconLiteralInNamespace("",e,t,i)}addSvgIconInNamespace(e,t,i,n){return this._addSvgIconConfig(e,t,new uS(i,n))}addSvgIconLiteralInNamespace(e,t,i,n){const s=this._sanitizer.sanitize(ts.HTML,i);if(!s)throw hS(i);const r=this._createSvgElementForSingleIcon(s,n);return this._addSvgIconConfig(e,t,new uS(r,n))}addSvgIconSet(e,t){return this.addSvgIconSetInNamespace("",e,t)}addSvgIconSetLiteral(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}addSvgIconSetInNamespace(e,t,i){return this._addSvgIconSetConfig(e,new uS(t,i))}addSvgIconSetLiteralInNamespace(e,t,i){const n=this._sanitizer.sanitize(ts.HTML,t);if(!n)throw hS(t);const s=this._svgElementFromString(n);return this._addSvgIconSetConfig(e,new uS(s,i))}registerFontClassAlias(e,t=e){return this._fontCssClassesByAlias.set(e,t),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const t=this._sanitizer.sanitize(ts.RESOURCE_URL,e);if(!t)throw dS(e);const i=this._cachedIconsByUrl.get(t);return i?Uh(pS(i)):this._loadSvgIconFromConfig(new uS(e)).pipe(Cu(e=>this._cachedIconsByUrl.set(t,e)),O(e=>pS(e)))}getNamedSvgIcon(e,t=""){const i=fS(t,e),n=this._svgIconConfigs.get(i);if(n)return this._getSvgFromConfig(n);const s=this._iconSetConfigs.get(t);return s?this._getSvgFromIconSetConfigs(e,s):hg(cS(i))}ngOnDestroy(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgElement?Uh(pS(e.svgElement)):this._loadSvgIconFromConfig(e).pipe(Cu(t=>e.svgElement=t),O(e=>pS(e)))}_getSvgFromIconSetConfigs(e,t){const i=this._extractIconWithNameFromAnySet(e,t);return i?Uh(i):aS(t.filter(e=>!e.svgElement).map(e=>this._loadSvgIconSetFromConfig(e).pipe(gu(t=>{const i=`Loading icon set URL: ${this._sanitizer.sanitize(ts.RESOURCE_URL,e.url)} failed: ${t.message}`;return this._errorHandler?this._errorHandler.handleError(new Error(i)):console.error(i),Uh(null)})))).pipe(O(()=>{const i=this._extractIconWithNameFromAnySet(e,t);if(!i)throw cS(e);return i}))}_extractIconWithNameFromAnySet(e,t){for(let i=t.length-1;i>=0;i--){const n=t[i];if(n.svgElement){const t=this._extractSvgIconFromSet(n.svgElement,e,n.options);if(t)return t}}return null}_loadSvgIconFromConfig(e){return this._fetchUrl(e.url).pipe(O(t=>this._createSvgElementForSingleIcon(t,e.options)))}_loadSvgIconSetFromConfig(e){return e.svgElement?Uh(e.svgElement):this._fetchUrl(e.url).pipe(O(t=>(e.svgElement||(e.svgElement=this._svgElementFromString(t)),e.svgElement)))}_createSvgElementForSingleIcon(e,t){const i=this._svgElementFromString(e);return this._setSvgAttributes(i,t),i}_extractSvgIconFromSet(e,t,i){const n=e.querySelector(`[id="${t}"]`);if(!n)return null;const s=n.cloneNode(!0);if(s.removeAttribute("id"),"svg"===s.nodeName.toLowerCase())return this._setSvgAttributes(s,i);if("symbol"===s.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(s),i);const r=this._svgElementFromString("<svg></svg>");return r.appendChild(s),this._setSvgAttributes(r,i)}_svgElementFromString(e){const t=this._document.createElement("DIV");t.innerHTML=e;const i=t.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(e){const t=this._svgElementFromString("<svg></svg>"),i=e.attributes;for(let n=0;n<i.length;n++){const{name:e,value:s}=i[n];"id"!==e&&t.setAttribute(e,s)}for(let n=0;n<e.childNodes.length;n++)e.childNodes[n].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[n].cloneNode(!0));return t}_setSvgAttributes(e,t){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),t&&t.viewBox&&e.setAttribute("viewBox",t.viewBox),e}_fetchUrl(e){if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==e)throw Error(`Cannot fetch icon from URL "${e}".`);const t=this._sanitizer.sanitize(ts.RESOURCE_URL,e);if(!t)throw dS(e);const i=this._inProgressUrlFetches.get(t);if(i)return i;const n=this._httpClient.get(t,{responseType:"text"}).pipe(Ru(()=>this._inProgressUrlFetches.delete(t)),X());return this._inProgressUrlFetches.set(t,n),n}_addSvgIconConfig(e,t,i){return this._svgIconConfigs.set(fS(e,t),i),this}_addSvgIconSetConfig(e,t){const i=this._iconSetConfigs.get(e);return i?i.push(t):this._iconSetConfigs.set(e,[t]),this}}return e.\u0275fac=function(t){return new(t||e)(Ge(AC,8),Ge(Hh),Ge(pd,8),Ge(bn,8))},e.\u0275prov=ce({factory:function(){return new e(Ge(AC,8),Ge(Hh),Ge(pd,8),Ge(bn,8))},token:e,providedIn:"root"}),e})();function pS(e){return e.cloneNode(!0)}function fS(e,t){return e+":"+t}class gS{constructor(e){this._elementRef=e}}const _S=Qv(gS),yS=new Re("mat-icon-location",{providedIn:"root",factory:function(){const e=qe(pd),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}}),bS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],vS=bS.map(e=>`[${e}]`).join(", "),wS=/^url\(['"]?#(.*?)['"]?\)$/;let kS=(()=>{class e extends _S{constructor(e,t,i,n,s){super(e),this._iconRegistry=t,this._location=n,this._errorHandler=s,this._inline=!1,this._currentIconFetch=h.EMPTY,i||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=Df(e)}get fontSet(){return this._fontSet}set fontSet(e){this._fontSet=this._cleanupFontValue(e)}get fontIcon(){return this._fontIcon}set fontIcon(e){this._fontIcon=this._cleanupFontValue(e)}_splitIconName(e){if(!e)return["",""];const t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnChanges(e){const t=e.svgIcon;if(t)if(this._currentIconFetch.unsubscribe(),this.svgIcon){const[e,t]=this._splitIconName(this.svgIcon);this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(t,e).pipe(bu(1)).subscribe(e=>this._setSvgElement(e),i=>{const n=`Error retrieving icon ${e}:${t}! ${i.message}`;this._errorHandler?this._errorHandler.handleError(new Error(n)):console.error(n)})}else t.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()}ngOnInit(){this._usingFontIcon()&&this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&this._location&&e.size){const e=this._location.getPathname();e!==this._previousPath&&(this._previousPath=e,this._prependPathToReferences(e))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const t=e.querySelectorAll("style");for(let i=0;i<t.length;i++)t[i].textContent+=" ";if(this._location){const t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(t)}this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){const i=e.childNodes[t];1===i.nodeType&&"svg"!==i.nodeName.toLowerCase()||e.removeChild(i)}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const t=this._elementsWithExternalReferences;t&&t.forEach((t,i)=>{t.forEach(t=>{i.setAttribute(t.name,`url('${e}#${t.value}')`)})})}_cacheChildrenWithExternalReferences(e){const t=e.querySelectorAll(vS),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let n=0;n<t.length;n++)bS.forEach(e=>{const s=t[n],r=s.getAttribute(e),a=r?r.match(wS):null;if(a){let t=i.get(s);t||(t=[],i.set(s,t)),t.push({name:e,value:a[1]})}})}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(mS),Ia("aria-hidden"),Ea(yS,8),Ea(bn,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:4,hostBindings:function(e,t){2&e&&oo("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color)},inputs:{color:"color",inline:"inline",fontSet:"fontSet",fontIcon:"fontIcon",svgIcon:"svgIcon"},exportAs:["matIcon"],features:[Lo,Et],ngContentSelectors:lS,decls:1,vars:0,template:function(e,t){1&e&&(Qa(),Za(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}),e})(),xS=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[Kv],Kv]}),e})();function CS(e,t){1&e&&Ra(0,"app-buffering")}function SS(e,t){1&e&&(Oa(0,"th",15),vo(1," Email "),Fa())}function MS(e,t){if(1&e&&(Oa(0,"td",16),vo(1),Fa()),2&e){const e=t.$implicit;Cs(1),ko(" ",e.email," ")}}function DS(e,t){1&e&&(Oa(0,"th",15),vo(1," Filiale "),Fa())}function LS(e,t){if(1&e&&(Oa(0,"td",16),vo(1),Fa()),2&e){const e=t.$implicit;Cs(1),ko(" ",e.store," ")}}function TS(e,t){1&e&&(Oa(0,"th",15),vo(1," dp24 Id "),Fa())}function AS(e,t){if(1&e&&(Oa(0,"td",16),vo(1),Fa()),2&e){const e=t.$implicit;Cs(1),ko(" ",e.dp24Id," ")}}function ES(e,t){1&e&&(Oa(0,"th",15),vo(1," MobileSellerId (Mobile.de) "),Fa())}function IS(e,t){if(1&e&&(Oa(0,"td",16),vo(1),Fa()),2&e){const e=t.$implicit;Cs(1),ko(" ",e.mobileSellerId," ")}}function PS(e,t){1&e&&(Oa(0,"th",15),vo(1," Role "),Fa())}function YS(e,t){1&e&&(Oa(0,"div"),vo(1," Verk\xe4ufer "),Fa())}function OS(e,t){1&e&&(Oa(0,"div"),vo(1," Filial-Manager "),Fa())}function FS(e,t){1&e&&(Oa(0,"div"),vo(1," Organizations-Manager "),Fa())}function RS(e,t){1&e&&(Oa(0,"div"),vo(1," Super-Admin "),Fa())}function NS(e,t){if(1&e&&(Oa(0,"td",16),Ta(1,YS,2,0,"div",1),Ta(2,OS,2,0,"div",1),Ta(3,FS,2,0,"div",1),Ta(4,RS,2,0,"div",1),Fa()),2&e){const e=t.$implicit;Cs(1),Pa("ngIf",1===e.role),Cs(1),Pa("ngIf",3===e.role),Cs(1),Pa("ngIf",7===e.role),Cs(1),Pa("ngIf",10===e.role)}}function jS(e,t){1&e&&Ra(0,"th",15)}function HS(e,t){if(1&e){const e=Va();Oa(0,"td",16),Oa(1,"button",17),Wa("click",(function(){ii(e);const i=t.$implicit;return Ka(2).editUser(i)})),Oa(2,"mat-icon"),vo(3,"edit"),Fa(),Fa(),Oa(4,"button",18),Wa("click",(function(){ii(e);const i=t.$implicit;return Ka(2).deleteUser(i)})),Oa(5,"mat-icon"),vo(6,"delete"),Fa(),Fa(),Fa()}}function VS(e,t){1&e&&Ra(0,"tr",19)}function BS(e,t){1&e&&Ra(0,"tr",20)}function zS(e,t){if(1&e&&(Oa(0,"table",4),Na(1,5),Ta(2,SS,2,0,"th",6),Ta(3,MS,2,1,"td",7),ja(),Na(4,8),Ta(5,DS,2,0,"th",6),Ta(6,LS,2,1,"td",7),ja(),Na(7,9),Ta(8,TS,2,0,"th",6),Ta(9,AS,2,1,"td",7),ja(),Na(10,10),Ta(11,ES,2,0,"th",6),Ta(12,IS,2,1,"td",7),ja(),Na(13,11),Ta(14,PS,2,0,"th",6),Ta(15,NS,5,4,"td",7),ja(),Na(16,12),Ta(17,jS,1,0,"th",6),Ta(18,HS,7,0,"td",7),ja(),Ta(19,VS,1,0,"tr",13),Ta(20,BS,1,0,"tr",14),Fa()),2&e){const e=Ka();Pa("dataSource",e.dataSource),Cs(19),Pa("matHeaderRowDef",e.displayedColumns),Cs(1),Pa("matRowDefColumns",e.displayedColumns)}}let WS=(()=>{class e{constructor(e,t){this.dialog=e,this.adminService=t,this.displayedColumns=["email","store","dp24Id","mobileSellerId","role","actions"],this.loading=!1}openDialog(e=null){e||(e={}),this.dialog.open(US,{height:"auto",data:e}).beforeClosed().subscribe(e=>{})}ngOnInit(){this.subs=this.adminService.getAllUsers().subscribe(e=>{console.log(e),this.dataSource=new Ix(e)})}editUser(e){this.openDialog(e)}deleteUser(e){this.confirmDeletion(e)}confirmDeletion(e){this.dialog.open(mC,{height:"auto",data:{title:"Achtung",message:"Wollen Sie den User "+e.email+" wirklich aus dem System entfernen?"}}).beforeClosed().subscribe(e=>{})}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wx),Ea(GC))},e.\u0275cmp=ut({type:e,selectors:[["app-create-user"]],decls:5,vars:2,consts:[[1,"hm_wrapper",2,"position","relative"],[4,"ngIf"],["mat-raised-button","",3,"click"],["mat-table","","style","width: 100%;",3,"dataSource",4,"ngIf"],["mat-table","",2,"width","100%",3,"dataSource"],["matColumnDef","email"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","store"],["matColumnDef","dp24Id"],["matColumnDef","mobileSellerId"],["matColumnDef","role"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","aria-label","Edit user button",3,"click"],["mat-icon-button","","aria-label","Delete user button",3,"click"],["mat-header-row",""],["mat-row",""]],template:function(e,t){1&e&&(Oa(0,"div",0),Ta(1,CS,1,0,"app-buffering",1),Oa(2,"button",2),Wa("click",(function(){return t.openDialog()})),vo(3," User anlegen "),Fa(),Ta(4,zS,21,3,"table",3),Fa()),2&e&&(Cs(1),Pa("ngIf",t.loading),Cs(3),Pa("ngIf",!t.loading))},directives:[$d,nC,rS,mx,bx,_x,fx,xx,Sx,wx,kx,kS,Dx,Tx],styles:[""]}),e})(),US=(()=>{class e{constructor(e,t,i,n){this.dialog=e,this.adminService=t,this.dialogRef=i,this.data=n}ngOnInit(){console.log("create user modal on init")}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wx),Ea(GC),Ea(jx),Ea(Hx))},e.\u0275cmp=ut({type:e,selectors:[["app-create-user-modal-component"]],decls:1,vars:0,template:function(e,t){1&e&&vo(0,"create user\n")},encapsulation:2}),e})(),$S=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ut({type:e,selectors:[["app-create-store"]],decls:0,vars:0,template:function(e,t){},styles:[""]}),e})(),GS=(()=>{class e{constructor(e){this.httpClient=e,this.httpOptions={headers:new gC({"Access-Control-Allow-Origin":"*"})}}static getEventMessage(e,t=null){switch(e.type){case CC.Sent:return{type:CC.Sent};case CC.UploadProgress:return console.log("EVENT: ",e),{type:CC.UploadProgress,value:Math.round(100*e.loaded/e.total)};case CC.Response:return{type:CC.Response,value:e.body};default:return{}}}uploadImages(t,i,n,s){t.append("dp24Vehicle.id",String(i.id)),t.append("profileId",s),t.append("dispo24VehicleId",String(i.id));const r=new xC("POST",$C.settings.apiServer.backend+"mobile-de/images/upload/",t,{reportProgress:!0});return this.httpClient.request(r).pipe(O(t=>e.getEventMessage(t,n)),gu(e=>{throw console.error(e),e}))}uploadImagesToMobileDe(t,i,n=!1){n&&t.append("processNoWatermark",String(n));const s=new xC("POST",$C.settings.apiServer.backend+"mobile-de/images/upload/2/mobile-de",t,{reportProgress:!0});return this.httpClient.request(s).pipe(O(t=>e.getEventMessage(t,i)),gu(e=>{throw console.error(e),e}))}sendImageUrlsForProcessWatermarkS3(e){return this.httpClient.post($C.settings.apiServer.backend+"mobile-de/images/process/watermark/s3",e)}getImagesFromS3ForProfile(e,t,i){return this.httpClient.get($C.settings.apiServer.backend+"profile/images/"+e+"/"+t+"/"+i,this.httpOptions).pipe(O(e=>e))}saveImagesAsTemplates(e){return this.httpClient.post($C.settings.apiServer.backend+"mobile-de/images/save/as/templates",e)}getAdTemplateImages(){return this.httpClient.get($C.settings.apiServer.backend+"mobile-de/images/get/templates")}}return e.\u0275fac=function(t){return new(t||e)(Ge(AC))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var qS=i("wgY5"),KS=i.n(qS);const JS=qS||qS,QS={dispo24:{vehicleClass:"vehicleClass",type:"condition",brandName:"make",modelName:"model",modelDescription:"modelDescription",vin:"vin",mileage:"mileage",power:"power",interiorColor:"interiorColor",colorName:"manufacturerColorName",images:{key:"images",value:{transform:e=>e?e.map(e=>({ref:e})):[]}},priceBrutto:"consumerPriceGross",priceBruttoUpe:"dealerPriceGross",orderId:"internalNumber"},dp24:{id:"id",vehicleClass:"vehicleClass",fahrzeugzustand_short:{key:"condition",value:{GW:"USED",NW:"NEW"}},farbname:"manufacturerColorName",farbe:"exteriorColor",model_name:"model",state:void 0,bezeichnung_full:"modelDescription",brand_name:"make",sitze:"seats",getriebe:{key:"gearbox",value:{manuell:"MANUAL_GEAR",automatik:"AUTOMATIC_GEAR",semiautomatik:"SEMIAUTOMATIC_GEAR"}},kraftstoffart:{key:"fuel",value:{benzin:"PETROL",diesel:"DIESEL","hybrid-benzin":"HYBRID",elektro:"ELECTRICITY"}},garantie:{key:"warranty",value:{0:!1,1:!0}},antriebsart:{key:"wheelFormula",value:{"2WD":"WHEEL_DRIVE_4x2","4WD":"WHEEL_DRIVE_4x4"}},hu_au:{key:"generalInspection",value:{transform(e){const t=JS(e,"MM/YYYY").format("YYYYMM");return"Invalid date"===t?"":t}}},fahrgestell_nr:"vin",erstzulassung:{key:"firstRegistration",value:{transform(e){const t=JS(e,"YYYY-MM-DD").format("YYYYMM");return"Invalid date"===t?"":t}}},price_brutto_vk:"consumerPriceGross",price_netto_vk:"consumerPriceNet",auftrags_nr:"internalNumber",leistung_kw:"power",polstername:"interiorColor",metallic:{key:"metallic",value:{0:!1,1:!0}},km_stand:"mileage"}};let ZS=(()=>{class e{constructor(e){this.httpClient=e,this.httpOptions={headers:new gC({"Access-Control-Allow-Origin":"*"})}}getAllCars(e){return this.httpClient.get($C.settings.apiServer.backend+"dp24/cars/position/"+e.position+"/show/"+e.show,this.httpOptions).pipe(O(e=>(this.dp24Cars=e.items,e)))}getAllVehiclesForSeller(){return this.httpClient.get($C.settings.apiServer.backend+"dp24/seller/vehicles",this.httpOptions).pipe(O(e=>(this.dp24Cars=e,e)))}getColorProfile(e){return this.httpClient.get($C.settings.apiServer.backend+"profile/color/"+e)}getFeatureProfile(e,t){return this.httpClient.get($C.settings.apiServer.backend+"profile/feature/"+e+"/"+t)}getFeatureProfileById(e){return this.httpClient.get($C.settings.apiServer.backend+"profile/feature/"+e)}getImageProfile(e,t,i){return this.httpClient.get($C.settings.apiServer.backend+"profile/image/"+e+"/"+i+"/"+t)}getImageProfileById(e){return this.httpClient.get($C.settings.apiServer.backend+"profile/image/"+e)}createImageProfile(e,t,i,n,s,r,a=null){const o=this.mapPropertyAndValueToMobileDeAd("brandName",n.brandName),l=this.mapPropertyAndValueToMobileDeAd("vehicleClass","Car"),c=this.mapPropertyAndValueToMobileDeAd("modelName",n.modelName);let d;d=a?a.darmasImages.concat(r):r;const h={factoryCode:e,colorCode:t,padCode:i,dp24Vehicle:n,make:o.value,_model:c.value,vehicleClass:l.value,images:s,S3Refs:s,darmasImages:d};return a&&(h._id=a._id),this.httpClient.post($C.settings.apiServer.backend+"profile/image",h)}updateImageProfile(e){return this.httpClient.put($C.settings.apiServer.backend+"profile/image/",e)}createFeatureProfile(e,t,i,n,s,r,a){return this.httpClient.post($C.settings.apiServer.backend+"profile/feature",{factoryCode:e,padCode:t,dp24Vehicle:i,features:n,baseDatas:s,consumptions:r,descriptions:a})}updateFeatureProfile(e){return this.httpClient.put($C.settings.apiServer.backend+"profile/feature/",e)}createColorProfile(e,t,i,n=null){const s={colorCode:e,manufacturerColorName:i.manufacturerColorName,exteriorColor:i.exteriorColor,metallic:i.metallic,dp24Vehicle:t};return n&&(s._id=n._id),this.httpClient.post($C.settings.apiServer.backend+"profile/color",s)}updateColorProfile(e){return this.httpClient.put($C.settings.apiServer.backend+"profile/color/",e)}mapPropertyAndValueToMobileDeAd(e,t,i="dispo24"){const n=QS[i][e];let s,r;if("object"==typeof n&&null!==n?(s=n.key,r=n.value.transform?n.value.transform(t):n.value[t]):(s=n,r=t),n)return{key:s,value:r}}}return e.\u0275fac=function(t){return new(t||e)(Ge(AC))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class XS{constructor(e){this.total=e}call(e,t){return t.subscribe(new eM(e,this.total))}}class eM extends p{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}let tM=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})();const iM=new Set;let nM,sM=(()=>{class e{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):rM}matchMedia(e){return this._platform.WEBKIT&&function(e){if(!iM.has(e))try{nM||(nM=document.createElement("style"),nM.setAttribute("type","text/css"),document.head.appendChild(nM)),nM.sheet&&(nM.sheet.insertRule(`@media ${e} {.fx-query-test{ }}`,0),iM.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}return e.\u0275fac=function(t){return new(t||e)(Ge(vg))},e.\u0275prov=ce({factory:function(){return new e(Ge(vg))},token:e,providedIn:"root"}),e})();function rM(e){return{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{}}}let aM=(()=>{class e{constructor(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return oM(Af(e)).some(e=>this._registerQuery(e).mql.matches)}observe(e){let t=Kh(oM(Af(e)).map(e=>this._registerQuery(e).observable));return t=Iu(t.pipe(bu(1)),t.pipe(e=>e.lift(new XS(1)),F_(0))),t.pipe(O(e=>{const t={matches:!1,breakpoints:{}};return e.forEach(e=>{t.matches=t.matches||e.matches,t.breakpoints[e.query]=e.matches}),t}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const t=this._mediaMatcher.matchMedia(e),i={observable:new y(e=>{const i=t=>this._zone.run(()=>e.next(t));return t.addListener(i),()=>{t.removeListener(i)}}).pipe(Pu(t),O(t=>({query:e,matches:t.matches})),rg(this._destroySubject)),mql:t};return this._queries.set(e,i),i}}return e.\u0275fac=function(t){return new(t||e)(Ge(sM),Ge(Rc))},e.\u0275prov=ce({factory:function(){return new e(Ge(sM),Ge(Rc))},token:e,providedIn:"root"}),e})();function oM(e){return e.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}function lM(e,t){if(1&e){const e=Va();Oa(0,"div",1),Oa(1,"button",2),Wa("click",(function(){return ii(e),Ka().action()})),vo(2),Fa(),Fa()}if(2&e){const e=Ka();Cs(2),wo(e.data.action)}}function cM(e,t){}const dM=Math.pow(2,31)-1;class hM{constructor(e,t){this._overlayRef=t,this._afterDismissed=new x,this._afterOpened=new x,this._onAction=new x,this._dismissedByAction=!1,this.containerInstance=e,this.onAction().subscribe(()=>this.dismiss()),e._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(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,dM))}_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.asObservable()}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction.asObservable()}}const uM=new Re("MatSnackBarData");class mM{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let pM=(()=>{class e{constructor(e,t){this.snackBarRef=e,this.data=t}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return e.\u0275fac=function(t){return new(t||e)(Ea(hM),Ea(uM))},e.\u0275cmp=ut({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(Oa(0,"span"),vo(1),Fa(),Ta(2,lM,3,1,"div",0)),2&e&&(Cs(1),wo(t.data.message),Cs(1),Pa("ngIf",t.hasAction))},directives:[$d,nC],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}),e})();const fM={snackBarState:yy("state",[xy("void, hidden",ky({transform:"scale(0.8)",opacity:0})),xy("visible",ky({transform:"scale(1)",opacity:1})),Sy("* => visible",by("150ms cubic-bezier(0, 0, 0.2, 1)")),Sy("* => void, * => hidden",by("75ms cubic-bezier(0.4, 0.0, 1, 1)",ky({opacity:0})))])};let gM=(()=>{class e extends $g{constructor(e,t,i,n){super(),this._ngZone=e,this._elementRef=t,this._changeDetectorRef=i,this.snackBarConfig=n,this._destroyed=!1,this._onExit=new x,this._onEnter=new x,this._animationState="void",this.attachDomPortal=e=>(this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachDomPortal(e)),this._role="assertive"!==n.politeness||n.announcementMessage?"off"===n.politeness?null:"status":"alert"}attachComponentPortal(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(e)}onAnimationEnd(e){const{fromState:t,toState:i}=e;if(("void"===i&&"void"!==t||"hidden"===i)&&this._completeExit(),"visible"===i){const e=this._onEnter;this._ngZone.run(()=>{e.next(),e.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}exit(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.asObservable().pipe(bu(1)).subscribe(()=>{this._onExit.next(),this._onExit.complete()})}_applySnackBarClasses(){const e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach(t=>e.classList.add(t)):e.classList.add(t)),"center"===this.snackBarConfig.horizontalPosition&&e.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&e.classList.add("mat-snack-bar-top")}_assertNotAttached(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")}}return e.\u0275fac=function(t){return new(t||e)(Ea(Rc),Ea(Wo),Ea(Zr),Ea(mM))},e.\u0275cmp=ut({type:e,selectors:[["snack-bar-container"]],viewQuery:function(e,t){var i;1&e&&rc(Kg,!0),2&e&&sc(i=hc())&&(t._portalOutlet=i.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(e,t){1&e&&Ua("@state.done",(function(e){return t.onAnimationEnd(e)})),2&e&&(Da("role",t._role),Mo("@state",t._animationState))},features:[Lo],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&Ta(0,cM,0,0,"ng-template",0)},directives:[Kg],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:[fM.snackBarState]}}),e})(),_M=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[I_,Zg,ch,sC,Kv],Kv]}),e})();const yM=new Re("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new mM}});let bM=(()=>{class e{constructor(e,t,i,n,s,r){this._overlay=e,this._live=t,this._injector=i,this._breakpointObserver=n,this._parentSnackBar=s,this._defaultConfig=r,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}openFromComponent(e,t){return this._attach(e,t)}openFromTemplate(e,t){return this._attach(e,t)}open(e,t="",i){const n=Object.assign(Object.assign({},this._defaultConfig),i);return n.data={message:e,action:t},n.announcementMessage||(n.announcementMessage=e),this.openFromComponent(pM,n)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,t){const i=new Xg(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[mM,t]])),n=new zg(gM,t.viewContainerRef,i),s=e.attach(n);return s.instance.snackBarConfig=t,s.instance}_attach(e,t){const i=Object.assign(Object.assign(Object.assign({},new mM),this._defaultConfig),t),n=this._createOverlay(i),s=this._attachSnackBarContainer(n,i),r=new hM(s,n);if(e instanceof pl){const t=new Wg(e,null,{$implicit:i.data,snackBarRef:r});r.instance=s.attachTemplatePortal(t)}else{const t=this._createInjector(i,r),n=new zg(e,void 0,t),a=s.attachComponentPortal(n);r.instance=a.instance}return this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait)").pipe(rg(n.detachments())).subscribe(e=>{const t=n.overlayElement.classList;e.matches?t.add("mat-snack-bar-handset"):t.remove("mat-snack-bar-handset")}),this._animateSnackBar(r,i),this._openedSnackBarRef=r,this._openedSnackBarRef}_animateSnackBar(e,t){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),t.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&t.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(t.duration)),t.announcementMessage&&this._live.announce(t.announcementMessage,t.politeness)}_createOverlay(e){const t=new c_;t.direction=e.direction;let i=this._overlay.position().global();const n="rtl"===e.direction,s="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!n||"end"===e.horizontalPosition&&n,r=!s&&"center"!==e.horizontalPosition;return s?i.left("0"):r?i.right("0"):i.centerHorizontally(),"top"===e.verticalPosition?i.top("0"):i.bottom("0"),t.positionStrategy=i,this._overlay.create(t)}_createInjector(e,t){return new Xg(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[hM,t],[uM,e.data]]))}}return e.\u0275fac=function(t){return new(t||e)(Ge(M_),Ge(ay),Ge(fa),Ge(aM),Ge(e,12),Ge(yM))},e.\u0275prov=ce({factory:function(){return new e(Ge(M_),Ge(ay),Ge(Ne),Ge(aM),Ge(e,12),Ge(yM))},token:e,providedIn:_M}),e})();const vM={provide:xc,useFactory:function(e,t){return()=>{if(dh(t)){const t=Array.from(e.querySelectorAll(`[class*=${wM}]`)),i=/\bflex-layout-.+?\b/g;t.forEach(e=>{e.classList.contains(wM+"ssr")&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(i,"")})}}},deps:[pd,kc],multi:!0},wM="flex-layout-";let kM=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[vM]}),e})();class xM{constructor(e=!1,t="all",i="",n="",s=0){this.matches=e,this.mediaQuery=t,this.mqAlias=i,this.suffix=n,this.priority=s,this.property=""}clone(){return new xM(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let CM=(()=>{class e{constructor(){this.stylesheet=new Map}addStyleToElement(e,t,i){const n=this.stylesheet.get(e);n?n.set(t,i):this.stylesheet.set(e,new Map([[t,i]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(e,t){const i=this.stylesheet.get(e);let n="";if(i){const e=i.get(t);"number"!=typeof e&&"string"!=typeof e||(n=e+"")}return n}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({factory:function(){return new e},token:e,providedIn:"root"}),e})();const SM={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},MM=new Re("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>SM}),DM=new Re("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),LM=new Re("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function TM(e,t){return e=e?e.clone():new xM,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}const AM=["row","column","row-reverse","column-reverse"];function EM(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let IM=(()=>{class e{constructor(e,t,i,n){this.elementRef=e,this.styleBuilder=t,this.styler=i,this.marshal=n,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new x,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(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)}ngOnChanges(e){Object.keys(e).forEach(t=>{if(-1!==this.inputs.indexOf(t)){const i=t.split(".").slice(1).join(".");this.setValue(e[t].currentValue,i)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(e=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)}addStyles(e,t){const i=this.styleBuilder,n=i.shouldCache;let s=this.styleCache.get(e);s&&n||(s=i.buildStyles(e,t),n&&this.styleCache.set(e,s)),this.mru=Object.assign({},s),this.applyStyleToElement(s),i.sideEffect(e,s,t)}clearStyles(){Object.keys(this.mru).forEach(e=>{this.mru[e]=""}),this.applyStyleToElement(this.mru),this.mru={}}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(e,t=!1){if(e){const[i,n]=this.styler.getFlowDirection(e);if(!n&&t){const t=function(e){let[t,i,n]=function(e){e=e?e.toLowerCase():"";let[t,i,n]=e.split(" ");return AM.find(e=>e===t)||(t=AM[0]),"inline"===i&&(i="inline"!==n?n:"",n="inline"),[t,EM(i),!!n]}(e);return function(e,t=null,i=!1){return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,i,n)}(i);this.styler.applyStyleToElements(t,[e])}return i.trim()}return"row"}hasWrap(e){return this.styler.hasWrap(e)}applyStyleToElement(e,t,i=this.nativeElement){this.styler.applyStyleToElement(i,e,t)}setValue(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)}updateWithValue(e){this.currentValue!==e&&(this.addStyles(e),this.currentValue=e)}}return e.\u0275fac=function(e){!function(){throw new Error("invalid")}()},e.\u0275dir=yt({type:e,features:[Et]}),e})();const PM=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.9px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.9px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.9px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.9px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.9px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.9px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.9px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.9px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.9px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],YM="(orientation: portrait) and (min-width: 600px) and (max-width: 839.9px)",OM="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.9px)",FM="(orientation: portrait) and (min-width: 840px)",RM="(orientation: landscape) and (min-width: 1280px)",NM={HANDSET:"(orientation: portrait) and (max-width: 599.9px), (orientation: landscape) and (max-width: 959.9px)",TABLET:`${YM} , ${OM}`,WEB:`${FM}, ${RM} `,HANDSET_PORTRAIT:"(orientation: portrait) and (max-width: 599.9px)",TABLET_PORTRAIT:YM+" ",WEB_PORTRAIT:""+FM,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.9px)",TABLET_LANDSCAPE:""+OM,WEB_LANDSCAPE:""+RM},jM=[{alias:"handset",priority:2e3,mediaQuery:NM.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:NM.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:NM.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:NM.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:NM.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:NM.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:NM.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:NM.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:NM.WEB_PORTRAIT,overlapping:!0}],HM=/(\.|-|_)/g;function VM(e){let t=e.length>0?e.charAt(0):"",i=e.length>1?e.slice(1):"";return t.toUpperCase()+i}const BM=new Re("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const e=qe(LM),t=qe(MM),i=[].concat.apply([],(e||[]).map(e=>Array.isArray(e)?e:[e]));return function(e,t=[]){const i={};return e.forEach(e=>{i[e.alias]=e}),t.forEach(e=>{i[e.alias]?function(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let i of t)if(null!=i)for(let t in i)i.hasOwnProperty(t)&&(e[t]=i[t])}(i[e.alias],e):i[e.alias]=e}),(n=Object.keys(i).map(e=>i[e])).forEach(e=>{e.suffix||(e.suffix=e.alias.replace(HM,"|").split("|").map(VM).join(""),e.overlapping=!!e.overlapping)}),n;var n}((t.disableDefaultBps?[]:PM).concat(t.addOrientationBps?jM:[]),i)}});function zM(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function WM(e,t){return(e.priority||0)-(t.priority||0)}let UM=(()=>{class e{constructor(e){this.findByMap=new Map,this.items=[...e].sort(WM)}findByAlias(e){return e?this.findWithPredicate(e,t=>t.alias==e):null}findByQuery(e){return this.findWithPredicate(e,t=>t.mediaQuery==e)}get overlappings(){return this.items.filter(e=>1==e.overlapping)}get aliases(){return this.items.map(e=>e.alias)}get suffixes(){return this.items.map(e=>e.suffix?e.suffix:"")}findWithPredicate(e,t){let i=this.findByMap.get(e);return i||(i=this.items.find(t)||null,this.findByMap.set(e,i)),i||null}}return e.\u0275fac=function(t){return new(t||e)(Ge(BM))},e.\u0275prov=ce({factory:function(){return new e(Ge(BM))},token:e,providedIn:"root"}),e})(),$M=(()=>{class e{constructor(e,t,i){this._zone=e,this._platformId=t,this._document=i,this.source=new $h(new xM(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const e=[];return this.registry.forEach((t,i)=>{t.matches&&e.push(i)}),e}isActive(e){const t=this.registry.get(e);return t?t.matches:this.registerQuery(e).some(e=>e.matches)}observe(e,t=!1){if(e&&e.length){const i=this._observable$.pipe(iu(i=>!t||e.indexOf(i.mediaQuery)>-1));return U(new y(t=>{const i=this.registerQuery(e);if(i.length){const e=i.pop();i.forEach(e=>{t.next(e)}),this.source.next(e)}t.complete()}),i)}return this._observable$}registerQuery(e){const t=Array.isArray(e)?e:[e],i=[];return function(e,t){const i=e.filter(e=>!GM[e]);if(i.length>0){const e=i.join(", ");try{const n=t.createElement("style");n.setAttribute("type","text/css"),n.styleSheet||n.appendChild(t.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${e} {.fx-query-test{ }}\n`)),t.head.appendChild(n),i.forEach(e=>GM[e]=n)}catch(n){console.error(n)}}}(t,this._document),t.forEach(e=>{const t=t=>{this._zone.run(()=>this.source.next(new xM(t.matches,e)))};let n=this.registry.get(e);n||(n=this.buildMQL(e),n.addListener(t),this.pendingRemoveListenerFns.push(()=>n.removeListener(t)),this.registry.set(e,n)),n.matches&&i.push(new xM(!0,e))}),i}ngOnDestroy(){let e;for(;e=this.pendingRemoveListenerFns.pop();)e()}buildMQL(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:()=>{},removeListener:()=>{},onchange:null,addEventListener(){},removeEventListener(){},dispatchEvent:()=>!1}}(e,dh(this._platformId))}}return e.\u0275fac=function(t){return new(t||e)(Ge(Rc),Ge(kc),Ge(pd))},e.\u0275prov=ce({factory:function(){return new e(Ge(Rc),Ge(kc),Ge(pd))},token:e,providedIn:"root"}),e})();const GM={},qM={alias:"print",mediaQuery:"print",priority:1e3};let KM=(()=>{class e{constructor(e,t,i){this.breakpoints=e,this.layoutConfig=t,this._document=i,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.isPrinting=!1,this.queue=new JM,this.deactivations=[]}withPrintQuery(e){return[...e,"print"]}isPrintEvent(e){return e.mediaQuery.startsWith("print")}get printAlias(){return this.layoutConfig.printWithBreakpoints||[]}get printBreakPoints(){return this.printAlias.map(e=>this.breakpoints.findByAlias(e)).filter(e=>null!==e)}getEventBreakpoints({mediaQuery:e}){const t=this.breakpoints.findByQuery(e);return(t?[...this.printBreakPoints,t]:this.printBreakPoints).sort(zM)}updateEvent(e){let t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),TM(e,t)}registerBeforeAfterPrintHooks(e){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const t=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(e,this.getEventBreakpoints(new xM(!0,"print"))),e.updateStyles())},i=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(e),e.updateStyles())};this._document.defaultView.addEventListener("beforeprint",t),this._document.defaultView.addEventListener("afterprint",i),this.beforePrintEventListeners.push(t),this.afterPrintEventListeners.push(i)}interceptEvents(e){return this.registerBeforeAfterPrintHooks(e),t=>{this.isPrintEvent(t)?t.matches&&!this.isPrinting?(this.startPrinting(e,this.getEventBreakpoints(t)),e.updateStyles()):t.matches||!this.isPrinting||this.isPrintingBeforeAfterEvent||(this.stopPrinting(e),e.updateStyles()):this.collectActivations(t)}}blockPropagation(){return e=>!(this.isPrinting||this.isPrintEvent(e))}startPrinting(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)}stopPrinting(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1}collectActivations(e){if(!this.isPrinting||this.isPrintingBeforeAfterEvent)if(e.matches)this.isPrintingBeforeAfterEvent||(this.deactivations=[]);else{const t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(zM))}}ngOnDestroy(){this.beforePrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("beforeprint",e)),this.afterPrintEventListeners.forEach(e=>this._document.defaultView.removeEventListener("afterprint",e))}}return e.\u0275fac=function(t){return new(t||e)(Ge(UM),Ge(MM),Ge(pd))},e.\u0275prov=ce({factory:function(){return new e(Ge(UM),Ge(MM),Ge(pd))},token:e,providedIn:"root"}),e})();class JM{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(e){return e.push(qM),e.sort(zM),e.forEach(e=>this.addBreakpoint(e)),this.printBreakpoints}addBreakpoint(e){e&&void 0===this.printBreakpoints.find(t=>t.mediaQuery===e.mediaQuery)&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith("print")}(e)?[e,...this.printBreakpoints]:[...this.printBreakpoints,e])}clear(){this.printBreakpoints=[]}}function QM(e){for(let t in e){let i=e[t]||"";switch(t){case"display":e.display="flex"===i?["-webkit-flex","flex"]:"inline-flex"===i?["-webkit-inline-flex","inline-flex"]:i;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=i;break;case"flex-direction":i=i||"row",e["-webkit-flex-direction"]=i,e["flex-direction"]=i;break;case"order":e.order=e["-webkit-"+t]=isNaN(+i)?"0":i}}return e}let ZM=(()=>{class e{constructor(e,t,i,n){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=i,this.layoutConfig=n}applyStyleToElement(e,t,i=null){let n={};"string"==typeof t&&(n[t]=i,t=n),n=this.layoutConfig.disableVendorPrefixes?t:QM(t),this._applyMultiValueStyleToElement(n,e)}applyStyleToElements(e,t=[]){const i=this.layoutConfig.disableVendorPrefixes?e:QM(e);t.forEach(e=>{this._applyMultiValueStyleToElement(i,e)})}getFlowDirection(e){let t=this.lookupStyle(e,"flex-direction");return[t||"row",this.lookupInlineStyle(e,"flex-direction")||hh(this._platformId)&&this._serverModuleLoaded?t:""]}hasWrap(e){return"wrap"===this.lookupStyle(e,"flex-wrap")}lookupAttributeValue(e,t){return e.getAttribute(t)||""}lookupInlineStyle(e,t){return dh(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)}lookupStyle(e,t,i=!1){let n="";return e&&((n=this.lookupInlineStyle(e,t))||(dh(this._platformId)?i||(n=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(n=this._serverStylesheet.getStyleForElement(e,t)))),n?n.trim():""}_applyMultiValueStyleToElement(e,t){Object.keys(e).sort().forEach(i=>{const n=e[i],s=Array.isArray(n)?n:[n];s.sort();for(let e of s)e=e?e+"":"",dh(this._platformId)||!this._serverModuleLoaded?dh(this._platformId)?t.style.setProperty(i,e):this._setServerStyle(t,i,e):this._serverStylesheet.addStyleToElement(t,i,e)})}_setServerStyle(e,t,i){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const n=this._readStyleAttribute(e);n[t]=i||"",this._writeStyleAttribute(e,n)}_getServerStyle(e,t){return this._readStyleAttribute(e)[t]||""}_readStyleAttribute(e){const t={},i=e.getAttribute("style");if(i){const e=i.split(/;+/g);for(let i=0;i<e.length;i++){const n=e[i].trim();if(n.length>0){const e=n.indexOf(":");if(-1===e)throw new Error("Invalid CSS style: "+n);t[n.substr(0,e).trim()]=n.substr(e+1).trim()}}}return t}_writeStyleAttribute(e,t){let i="";for(const n in t)t[n]&&(i+=n+":"+t[n]+";");e.setAttribute("style",i)}}return e.\u0275fac=function(t){return new(t||e)(Ge(CM),Ge(DM),Ge(kc),Ge(MM))},e.\u0275prov=ce({factory:function(){return new e(Ge(CM),Ge(DM),Ge(kc),Ge(MM))},token:e,providedIn:"root"}),e})();class XM{constructor(){this.shouldCache=!0}sideEffect(e,t,i){}}function eD(e,t="1",i="1"){let n=[t,i,e],s=e.indexOf("calc");if(s>0){n[2]=tD(e.substring(s).trim());let t=e.substr(0,s).trim().split(" ");2==t.length&&(n[0]=t[0],n[1]=t[1])}else if(0==s)n[2]=tD(e.trim());else{let s=e.split(" ");n=3===s.length?s:[t,i,e]}return n}function tD(e){return e.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}let iD=(()=>{class e{constructor(e,t,i){this.matchMedia=e,this.breakpoints=t,this.hook=i,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new x,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""}onMediaChange(e){const t=this.findByQuery(e.mediaQuery);t&&((e=TM(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(zM),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(zM),this.updateStyles()))}init(e,t,i,n,s=[]){nD(this.updateMap,e,t,i),nD(this.clearMap,e,t,n),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,s)}getValue(e,t,i){const n=this.elementMap.get(e);if(n){const e=void 0!==i?n.get(i):this.getActivatedValues(n,t);if(e)return e.get(t)}}hasValue(e,t){const i=this.elementMap.get(e);if(i){const e=this.getActivatedValues(i,t);if(e)return void 0!==e.get(t)||!1}return!1}setValue(e,t,i,n){let s=this.elementMap.get(e);if(s){const r=(s.get(n)||new Map).set(t,i);s.set(n,r),this.elementMap.set(e,s)}else s=(new Map).set(n,(new Map).set(t,i)),this.elementMap.set(e,s);const r=this.getValue(e,t);void 0!==r&&this.updateElement(e,t,r)}trackValue(e,t){return this.subject.asObservable().pipe(iu(i=>i.element===e&&i.key===t))}updateStyles(){this.elementMap.forEach((e,t)=>{const i=new Set(this.elementKeyMap.get(t));let n=this.getActivatedValues(e);n&&n.forEach((e,n)=>{this.updateElement(t,n,e),i.delete(n)}),i.forEach(i=>{if(n=this.getActivatedValues(e,i),n){const e=n.get(i);this.updateElement(t,i,e)}else this.clearElement(t,i)})})}clearElement(e,t){const i=this.clearMap.get(e);if(i){const n=i.get(t);n&&(n(),this.subject.next({element:e,key:t,value:""}))}}updateElement(e,t,i){const n=this.updateMap.get(e);if(n){const s=n.get(t);s&&(s(i),this.subject.next({element:e,key:t,value:i}))}}releaseElement(e){const t=this.watcherMap.get(e);t&&(t.forEach(e=>e.unsubscribe()),this.watcherMap.delete(e));const i=this.elementMap.get(e);i&&(i.forEach((e,t)=>i.delete(t)),this.elementMap.delete(e))}triggerUpdate(e,t){const i=this.elementMap.get(e);if(i){const n=this.getActivatedValues(i,t);n&&(t?this.updateElement(e,t,n.get(t)):n.forEach((t,i)=>this.updateElement(e,i,t)))}}buildElementKeyMap(e,t){let i=this.elementKeyMap.get(e);i||(i=new Set,this.elementKeyMap.set(e,i)),i.add(t)}watchExtraTriggers(e,t,i){if(i&&i.length){let n=this.watcherMap.get(e);if(n||(n=new Map,this.watcherMap.set(e,n)),!n.get(t)){const s=U(...i).subscribe(()=>{const i=this.getValue(e,t);this.updateElement(e,t,i)});n.set(t,s)}}}findByQuery(e){return this.breakpoints.findByQuery(e)}getActivatedValues(e,t){for(let n=0;n<this.activatedBreakpoints.length;n++){const i=e.get(this.activatedBreakpoints[n].alias);if(i&&(void 0===t||i.has(t)&&null!=i.get(t)))return i}const i=e.get("");return void 0===t||i&&i.has(t)?i:void 0}observeActivations(){const e=this.breakpoints.items.map(e=>e.mediaQuery);this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Cu(this.hook.interceptEvents(this)),iu(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return e.\u0275fac=function(t){return new(t||e)(Ge($M),Ge(UM),Ge(KM))},e.\u0275prov=ce({factory:function(){return new e(Ge($M),Ge(UM),Ge(KM))},token:e,providedIn:"root"}),e})();function nD(e,t,i,n){if(void 0!==n){let s=e.get(t);s||(s=new Map,e.set(t,s)),s.set(i,n)}}const sD=["row","column","row-reverse","column-reverse"];function rD(e){e=e?e.toLowerCase():"";let[t,i,n]=e.split(" ");return sD.find(e=>e===t)||(t=sD[0]),"inline"===i&&(i="inline"!==n?n:"",n="inline"),[t,oD(i),!!n]}function aD(e){let[t]=rD(e);return t.indexOf("row")>-1}function oD(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}let lD=(()=>{class e extends XM{buildStyles(e){return function(e){let[t,i,n]=rD(e);return function(e,t=null,i=!1){return{display:i?"inline-flex":"flex","box-sizing":"border-box","flex-direction":e,"flex-wrap":t||null}}(t,i,n)}(e)}}return e.\u0275fac=function(t){return cD(t||e)},e.\u0275prov=ce({factory:function(){return new e},token:e,providedIn:"root"}),e})();const cD=fn(lD),dD=["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 hD=(()=>{class e extends IM{constructor(e,t,i,n){super(e,i,t,n),this.DIRECTIVE_KEY="layout",this.styleCache=pD,this.init()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(ZM),Ea(lD),Ea(iD))},e.\u0275dir=yt({type:e,features:[Lo]}),e})(),uD=(()=>{class e extends hD{constructor(){super(...arguments),this.inputs=dD}}return e.\u0275fac=function(t){return mD(t||e)},e.\u0275dir=yt({type:e,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:[Lo]}),e})();const mD=fn(uD),pD=new Map,fD={"margin-left":null,"margin-right":null,"margin-top":null,"margin-bottom":null};let gD=(()=>{class e extends XM{constructor(e){super(),this._styler=e}buildStyles(e,t){return e.endsWith(SD)?function(e,t){const[i,n]=e.split(" "),s=e=>"-"+e;let r="0px",a=s(n||i),o="0px";return"rtl"===t?o=s(i):r=s(i),{margin:`0px ${r} ${a} ${o}`}}(e=e.slice(0,e.indexOf(SD)),t.directionality):{}}sideEffect(e,t,i){const n=i.items;if(e.endsWith(SD)){const t=function(e,t){const[i,n]=e.split(" ");let s="0px",r="0px";return"rtl"===t?r=i:s=i,{padding:`0px ${s} ${n||i} ${r}`}}(e=e.slice(0,e.indexOf(SD)),i.directionality);this._styler.applyStyleToElements(t,i.items)}else{const t=n.pop(),s=function(e,t){const i=MD(t.directionality,t.layout),n=Object.assign({},fD);return n[i]=e,n}(e,i);this._styler.applyStyleToElements(s,n),this._styler.applyStyleToElements(fD,[t])}}}return e.\u0275fac=function(t){return new(t||e)(Ge(ZM))},e.\u0275prov=ce({factory:function(){return new e(Ge(ZM))},token:e,providedIn:"root"}),e})();const _D=["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 yD=(()=>{class e extends IM{constructor(e,t,i,n,s,r){super(e,s,n,r),this.zone=t,this.directionality=i,this.styleUtils=n,this.layout="row",this.DIRECTIVE_KEY="layout-gap",this.observerSubject=new x;const a=[this.directionality.change,this.observerSubject.asObservable()];this.init(a),this.marshal.trackValue(this.nativeElement,"layout").pipe(rg(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}get childrenNodes(){const e=this.nativeElement.children,t=[];for(let i=e.length;i--;)t[i]=e[i];return t}ngAfterContentInit(){this.buildChildObservable(),this.triggerUpdate()}ngOnDestroy(){super.ngOnDestroy(),this.observer&&this.observer.disconnect()}onLayoutChange(e){const t=e.value.split(" ");this.layout=t[0],sD.find(e=>e===this.layout)||(this.layout="row"),this.triggerUpdate()}updateWithValue(e){const t=this.childrenNodes.filter(e=>1===e.nodeType&&this.willDisplay(e)).sort((e,t)=>{const i=+this.styler.lookupStyle(e,"order"),n=+this.styler.lookupStyle(t,"order");return isNaN(i)||isNaN(n)||i===n?0:i>n?1:-1});if(t.length>0){const i=this.directionality.value,n=this.layout;"row"===n&&"rtl"===i?this.styleCache=wD:"row"===n&&"rtl"!==i?this.styleCache=xD:"column"===n&&"rtl"===i?this.styleCache=kD:"column"===n&&"rtl"!==i&&(this.styleCache=CD),this.addStyles(e,{directionality:i,items:t,layout:n})}}clearStyles(){const e=Object.keys(this.mru).length>0,t=e?"padding":MD(this.directionality.value,this.layout);e&&super.clearStyles(),this.styleUtils.applyStyleToElements({[t]:""},this.childrenNodes)}willDisplay(e){const t=this.marshal.getValue(e,"show-hide");return!0===t||void 0===t&&"none"!==this.styleUtils.lookupStyle(e,"display")}buildChildObservable(){this.zone.runOutsideAngular(()=>{"undefined"!=typeof MutationObserver&&(this.observer=new MutationObserver(e=>{e.some(e=>e.addedNodes&&e.addedNodes.length>0||e.removedNodes&&e.removedNodes.length>0)&&this.observerSubject.next()}),this.observer.observe(this.nativeElement,{childList:!0}))})}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Rc),Ea(Eg),Ea(ZM),Ea(gD),Ea(iD))},e.\u0275dir=yt({type:e,features:[Lo]}),e})(),bD=(()=>{class e extends yD{constructor(){super(...arguments),this.inputs=_D}}return e.\u0275fac=function(t){return vD(t||e)},e.\u0275dir=yt({type:e,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:[Lo]}),e})();const vD=fn(bD),wD=new Map,kD=new Map,xD=new Map,CD=new Map,SD=" grid";function MD(e,t){switch(t){case"column":return"margin-bottom";case"column-reverse":return"margin-top";case"row":return"rtl"===e?"margin-left":"margin-right";case"row-reverse":return"rtl"===e?"margin-right":"margin-left";default:return"rtl"===e?"margin-left":"margin-right"}}function DD(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");for(let i of t)if(null!=i)for(let t in i)i.hasOwnProperty(t)&&(e[t]=i[t]);return e}let LD=(()=>{class e extends XM{constructor(e){super(),this.layoutConfig=e}buildStyles(e,t){let[i,n,...s]=e.split(" "),r=s.join(" ");const a=t.direction.indexOf("column")>-1?"column":"row",o=aD(a)?"max-width":"max-height",l=aD(a)?"min-width":"min-height",c=String(r).indexOf("calc")>-1,d=c||"auto"===r,h=String(r).indexOf("%")>-1&&!c,u=String(r).indexOf("px")>-1||String(r).indexOf("rem")>-1||String(r).indexOf("em")>-1||String(r).indexOf("vw")>-1||String(r).indexOf("vh")>-1;let m=c||u;i="0"==i?0:i,n="0"==n?0:n;const p=!i&&!n;let f={};const g={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(r||""){case"":const e=!1!==this.layoutConfig.useColumnBasisZero;r="row"===a?"0%":e?"0.000000001px":"auto";break;case"initial":case"nogrow":i=0,r="auto";break;case"grow":r="100%";break;case"noshrink":n=0,r="auto";break;case"auto":break;case"none":i=0,n=0,r="auto";break;default:m||h||isNaN(r)||(r+="%"),"0%"===r&&(m=!0),"0px"===r&&(r="0%"),f=DD(g,c?{"flex-grow":i,"flex-shrink":n,"flex-basis":m?r:"100%"}:{flex:`${i} ${n} ${m?r:"100%"}`})}return f.flex||f["flex-grow"]||(f=DD(g,c?{"flex-grow":i,"flex-shrink":n,"flex-basis":r}:{flex:`${i} ${n} ${r}`})),"0%"!==r&&"0px"!==r&&"0.000000001px"!==r&&"auto"!==r&&(f[l]=p||m&&i?r:null,f[o]=p||!d&&n?r:null),f[l]||f[o]?t.hasWrap&&(f[c?"flex-basis":"flex"]=f[o]?c?f[o]:`${i} ${n} ${f[o]}`:c?f[l]:`${i} ${n} ${f[l]}`):f=DD(g,c?{"flex-grow":i,"flex-shrink":n,"flex-basis":r}:{flex:`${i} ${n} ${r}`}),DD(f,{"box-sizing":"border-box"})}}return e.\u0275fac=function(t){return new(t||e)(Ge(MM))},e.\u0275prov=ce({factory:function(){return new e(Ge(MM))},token:e,providedIn:"root"}),e})();const TD=["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 AD=(()=>{class e extends IM{constructor(e,t,i,n,s){super(e,n,t,s),this.layoutConfig=i,this.marshal=s,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(e){this.flexShrink=e||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(e){this.flexGrow=e||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe(rg(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe(rg(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(e){const t=e.value.split(" ");this.direction=t[0],this.wrap=void 0!==t[1]&&"wrap"===t[1],this.triggerUpdate()}updateWithValue(e){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 t=this.direction,i=t.startsWith("row"),n=this.wrap;i&&n?this.styleCache=OD:i&&!n?this.styleCache=PD:!i&&n?this.styleCache=FD:i||n||(this.styleCache=YD);const s=eD(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(s.join(" "),{direction:t,hasWrap:n})}triggerReflow(){const e=this.activatedValue;if(void 0!==e){const t=eD(e+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,t.join(" "))}}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(ZM),Ea(MM),Ea(LD),Ea(iD))},e.\u0275dir=yt({type:e,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[Lo]}),e})(),ED=(()=>{class e extends AD{constructor(){super(...arguments),this.inputs=TD}}return e.\u0275fac=function(t){return ID(t||e)},e.\u0275dir=yt({type:e,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:[Lo]}),e})();const ID=fn(ED),PD=new Map,YD=new Map,OD=new Map,FD=new Map;let RD=(()=>{class e extends XM{buildStyles(e){const t={};switch(e=e||"stretch"){case"start":t["align-self"]="flex-start";break;case"end":t["align-self"]="flex-end";break;default:t["align-self"]=e}return t}}return e.\u0275fac=function(t){return ND(t||e)},e.\u0275prov=ce({factory:function(){return new e},token:e,providedIn:"root"}),e})();const ND=fn(RD),jD=["fxFlexAlign","fxFlexAlign.xs","fxFlexAlign.sm","fxFlexAlign.md","fxFlexAlign.lg","fxFlexAlign.xl","fxFlexAlign.lt-sm","fxFlexAlign.lt-md","fxFlexAlign.lt-lg","fxFlexAlign.lt-xl","fxFlexAlign.gt-xs","fxFlexAlign.gt-sm","fxFlexAlign.gt-md","fxFlexAlign.gt-lg"];let HD=(()=>{class e extends IM{constructor(e,t,i,n){super(e,i,t,n),this.DIRECTIVE_KEY="flex-align",this.styleCache=VD,this.init()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(ZM),Ea(RD),Ea(iD))},e.\u0275dir=yt({type:e,features:[Lo]}),e})();const VD=new Map;let BD=(()=>{class e extends HD{constructor(){super(...arguments),this.inputs=jD}}return e.\u0275fac=function(t){return zD(t||e)},e.\u0275dir=yt({type:e,selectors:[["","fxFlexAlign",""],["","fxFlexAlign.xs",""],["","fxFlexAlign.sm",""],["","fxFlexAlign.md",""],["","fxFlexAlign.lg",""],["","fxFlexAlign.xl",""],["","fxFlexAlign.lt-sm",""],["","fxFlexAlign.lt-md",""],["","fxFlexAlign.lt-lg",""],["","fxFlexAlign.lt-xl",""],["","fxFlexAlign.gt-xs",""],["","fxFlexAlign.gt-sm",""],["","fxFlexAlign.gt-md",""],["","fxFlexAlign.gt-lg",""]],inputs:{fxFlexAlign:"fxFlexAlign","fxFlexAlign.xs":"fxFlexAlign.xs","fxFlexAlign.sm":"fxFlexAlign.sm","fxFlexAlign.md":"fxFlexAlign.md","fxFlexAlign.lg":"fxFlexAlign.lg","fxFlexAlign.xl":"fxFlexAlign.xl","fxFlexAlign.lt-sm":"fxFlexAlign.lt-sm","fxFlexAlign.lt-md":"fxFlexAlign.lt-md","fxFlexAlign.lt-lg":"fxFlexAlign.lt-lg","fxFlexAlign.lt-xl":"fxFlexAlign.lt-xl","fxFlexAlign.gt-xs":"fxFlexAlign.gt-xs","fxFlexAlign.gt-sm":"fxFlexAlign.gt-sm","fxFlexAlign.gt-md":"fxFlexAlign.gt-md","fxFlexAlign.gt-lg":"fxFlexAlign.gt-lg"},features:[Lo]}),e})();const zD=fn(BD);let WD=(()=>{class e extends XM{buildStyles(e,t){const i={},[n,s]=e.split(" ");switch(n){case"center":i["justify-content"]="center";break;case"space-around":i["justify-content"]="space-around";break;case"space-between":i["justify-content"]="space-between";break;case"space-evenly":i["justify-content"]="space-evenly";break;case"end":case"flex-end":i["justify-content"]="flex-end";break;case"start":case"flex-start":default:i["justify-content"]="flex-start"}switch(s){case"start":case"flex-start":i["align-items"]=i["align-content"]="flex-start";break;case"center":i["align-items"]=i["align-content"]="center";break;case"end":case"flex-end":i["align-items"]=i["align-content"]="flex-end";break;case"space-between":i["align-content"]="space-between",i["align-items"]="stretch";break;case"space-around":i["align-content"]="space-around",i["align-items"]="stretch";break;case"baseline":i["align-content"]="stretch",i["align-items"]="baseline";break;case"stretch":default:i["align-items"]=i["align-content"]="stretch"}return DD(i,{display:t.inline?"inline-flex":"flex","flex-direction":t.layout,"box-sizing":"border-box","max-width":"stretch"===s?aD(t.layout)?null:"100%":null,"max-height":"stretch"===s&&aD(t.layout)?"100%":null})}}return e.\u0275fac=function(t){return UD(t||e)},e.\u0275prov=ce({factory:function(){return new e},token:e,providedIn:"root"}),e})();const UD=fn(WD),$D=["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 GD=(()=>{class e extends IM{constructor(e,t,i,n){super(e,i,t,n),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe(rg(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(e){const t=this.layout||"row",i=this.inline;"row"===t&&i?this.styleCache=eL:"row"!==t||i?"row-reverse"===t&&i?this.styleCache=iL:"row-reverse"!==t||i?"column"===t&&i?this.styleCache=tL:"column"!==t||i?"column-reverse"===t&&i?this.styleCache=nL:"column-reverse"!==t||i||(this.styleCache=XD):this.styleCache=QD:this.styleCache=ZD:this.styleCache=JD,this.addStyles(e,{layout:t,inline:i})}onLayoutChange(e){const t=e.value.split(" ");this.layout=t[0],this.inline=e.value.includes("inline"),sD.find(e=>e===this.layout)||(this.layout="row"),this.triggerUpdate()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(ZM),Ea(WD),Ea(iD))},e.\u0275dir=yt({type:e,features:[Lo]}),e})(),qD=(()=>{class e extends GD{constructor(){super(...arguments),this.inputs=$D}}return e.\u0275fac=function(t){return KD(t||e)},e.\u0275dir=yt({type:e,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:[Lo]}),e})();const KD=fn(qD),JD=new Map,QD=new Map,ZD=new Map,XD=new Map,eL=new Map,tL=new Map,iL=new Map,nL=new Map;let sL=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[kM,Ig]]}),e})(),rL=(()=>{class e{constructor(){this.fileDropped=new Gl}onDragOver(e){e.preventDefault(),e.stopPropagation(),this.fileOver=!0}onDragLeave(e){e.preventDefault(),e.stopPropagation()}onDrop(e){e.preventDefault(),e.stopPropagation(),this.fileOver=!1,e.dataTransfer.files.length>0&&this.fileDropped.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["","appDnd",""]],hostVars:2,hostBindings:function(e,t){1&e&&Wa("dragover",(function(e){return t.onDragOver(e)}))("dragleave",(function(e){return t.onDragLeave(e)}))("drop",(function(e){return t.onDrop(e)})),2&e&&oo("fileover",t.fileOver)},outputs:{fileDropped:"fileDropped"}}),e})();function aL(e){const{subscriber:t,counter:i,period:n}=e;t.next(i),this.schedule({subscriber:t,counter:i+1,period:n},n)}function oL(e,t){for(let i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function lL(e,t){const i=t?"":"none";oL(e.style,{touchAction:t?"":"none",webkitUserDrag:t?"":"none",webkitTapHighlightColor:t?"":"transparent",userSelect:i,msUserSelect:i,webkitUserSelect:i,MozUserSelect:i})}function cL(e){const t=e.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(e)*t}function dL(e,t){return e.getPropertyValue(t).split(",").map(e=>e.trim())}function hL(e){const t=e.getBoundingClientRect();return{top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.width,height:t.height}}function uL(e,t,i){const{top:n,bottom:s,left:r,right:a}=e;return i>=n&&i<=s&&t>=r&&t<=a}function mL(e,t,i){e.top+=t,e.bottom=e.top+e.height,e.left+=i,e.right=e.left+e.width}function pL(e,t,i,n){const{top:s,right:r,bottom:a,left:o,width:l,height:c}=e,d=l*t,h=c*t;return n>s-h&&n<a+h&&i>o-d&&i<r+d}class fL{constructor(e,t){this._document=e,this._viewportRuler=t,this.positions=new Map}clear(){this.positions.clear()}cache(e){this.clear(),this.positions.set(this._document,{scrollPosition:this._viewportRuler.getViewportScrollPosition()}),e.forEach(e=>{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:hL(e)})})}handleScroll(e){const t=e.target,i=this.positions.get(t);if(!i)return null;const n=t===this._document?t.documentElement:t,s=i.scrollPosition;let r,a;if(t===this._document){const e=this._viewportRuler.getViewportScrollPosition();r=e.top,a=e.left}else r=t.scrollTop,a=t.scrollLeft;const o=s.top-r,l=s.left-a;return this.positions.forEach((e,i)=>{e.clientRect&&t!==i&&n.contains(i)&&mL(e.clientRect,o,l)}),s.top=r,s.left=a,{top:o,left:l}}}const gL=Dg({passive:!0}),_L=Dg({passive:!1});class yL{constructor(e,t,i,n,s,r){this._config=t,this._document=i,this._ngZone=n,this._viewportRuler=s,this._dragDropRegistry=r,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new x,this._pointerMoveSubscription=h.EMPTY,this._pointerUpSubscription=h.EMPTY,this._scrollSubscription=h.EMPTY,this._resizeSubscription=h.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new x,this.started=new x,this.released=new x,this.ended=new x,this.entered=new x,this.exited=new x,this.dropped=new x,this.moved=this._moveEvents.asObservable(),this._pointerDown=e=>{if(this.beforeStarted.next(),this._handles.length){const t=this._handles.find(t=>{const i=e.target;return!!i&&(i===t||t.contains(i))});!t||this._disabledHandles.has(t)||this.disabled||this._initializeDragSequence(t,e)}else this.disabled||this._initializeDragSequence(this._rootElement,e)},this._pointerMove=e=>{e.preventDefault();const t=this._getPointerPositionOnPage(e);if(!this._hasStartedDragging){if(Math.abs(t.x-this._pickupPositionOnPage.x)+Math.abs(t.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){if(!(Date.now()>=this._dragStartTime+this._getDragStartDelay(e)))return void this._endDragSequence(e);this._dropContainer&&this._dropContainer.isDragging()||(this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(e)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()));const i=this._getConstrainedPointerPosition(t);if(this._hasMoved=!0,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i);else{const e=this._activeTransform;e.x=i.x-this._pickupPositionOnPage.x+this._passiveTransform.x,e.y=i.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(e.x,e.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${e.x} ${e.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:e,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})},this._pointerUp=e=>{this._endDragSequence(e)},this.withRootElement(e),this._parentPositions=new fL(i,s),r.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(e){const t=Df(e);t!==this._disabled&&(this._disabled=t,this._toggleNativeDragInteractions())}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(e){return this._handles=e.map(e=>If(e)),this._handles.forEach(e=>lL(e,!1)),this._toggleNativeDragInteractions(),this}withPreviewTemplate(e){return this._previewTemplate=e,this}withPlaceholderTemplate(e){return this._placeholderTemplate=e,this}withRootElement(e){const t=If(e);return t!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{t.addEventListener("mousedown",this._pointerDown,_L),t.addEventListener("touchstart",this._pointerDown,gL)}),this._initialTransform=void 0,this._rootElement=t),this}withBoundaryElement(e){return this._boundaryElement=e?If(e):null,this._resizeSubscription.unsubscribe(),e&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&kL(this._rootElement),kL(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._placeholderTemplate=this._previewTemplate=this._anchor=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(e){this._handles.indexOf(e)>-1&&this._disabledHandles.add(e)}enableHandle(e){this._disabledHandles.delete(e)}withDirection(e){return this._direction=e,this}_withDropContainer(e){this._dropContainer=e}getFreeDragPosition(){const e=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:e.x,y:e.y}}setFreeDragPosition(e){return this._activeTransform={x:0,y:0},this._passiveTransform.x=e.x,this._passiveTransform.y=e.y,this._dropContainer||this._applyRootElementTransform(e.x,e.y),this}_sortFromLastPointerPosition(){const e=this._pointerPositionAtLastDirectionChange;e&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(e))}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&kL(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&kL(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(e){this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(e),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(e))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(e){this.started.next({source:this}),xL(e)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const t=this._dropContainer;if(t){const e=this._rootElement,n=e.parentNode,s=this._preview=this._createPreviewElement(),r=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment("");n.insertBefore(a,e),e.style.display="none",this._document.body.appendChild(n.replaceChild(r,e)),(i=this._document,i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement||i.body).appendChild(s),t.start(),this._initialContainer=t,this._initialIndex=t.getItemIndex(this)}else this._initialContainer=this._initialIndex=void 0;var i;this._parentPositions.cache(t?t.getScrollableParents():[])}_initializeDragSequence(e,t){t.stopPropagation();const i=this.isDragging(),n=xL(t),s=!n&&0!==t.button,r=this._rootElement,a=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(t.target&&t.target.draggable&&"mousedown"===t.type&&t.preventDefault(),i||s||a)return;this._handles.length&&(this._rootElementTapHighlight=r.style.webkitTapHighlightColor,r.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.subscribe(e=>{this._updateOnScroll(e)}),this._boundaryElement&&(this._boundaryRect=hL(this._boundaryElement));const o=this._previewTemplate;this._pickupPositionInElement=o&&o.template&&!o.matchSize?{x:0,y:0}:this._getPointerPositionInElement(e,t);const l=this._pickupPositionOnPage=this._getPointerPositionOnPage(t);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:l.x,y:l.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,t)}_cleanupDragArtifacts(e){this._rootElement.style.display="",this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const t=this._dropContainer,i=t.getItemIndex(this),n=this._getPointerPositionOnPage(e),s=this._getDragDistance(this._getPointerPositionOnPage(e)),r=t._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:s}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:t,previousContainer:this._initialContainer,isPointerOverContainer:r,distance:s}),t.drop(this,i,this._initialContainer,r,s,this._initialIndex),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:e,y:t}){let i=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!i&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(i=this._initialContainer),i&&i!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=i,this._dropContainer.enter(this,e,t,i===this._initialContainer&&i.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:i,currentIndex:i.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(e,t),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this._preview.style.transform=bL(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y)}_createPreviewElement(){const e=this._previewTemplate,t=this.previewClass,i=e?e.template:null;let n;if(i&&e){const t=e.matchSize?this._rootElement.getBoundingClientRect():null,s=e.viewContainer.createEmbeddedView(i,e.context);s.detectChanges(),n=CL(s,this._document),this._previewRef=s,e.matchSize?SL(n,t):n.style.transform=bL(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const e=this._rootElement;n=vL(e),SL(n,e.getBoundingClientRect())}return oL(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),lL(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),t&&(Array.isArray(t)?t.forEach(e=>n.classList.add(e)):n.classList.add(t)),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=bL(e.left,e.top);const t=function(e){const t=getComputedStyle(e),i=dL(t,"transition-property"),n=i.find(e=>"transform"===e||"all"===e);if(!n)return 0;const s=i.indexOf(n),r=dL(t,"transition-duration"),a=dL(t,"transition-delay");return cL(r[s])+cL(a[s])}(this._preview);return 0===t?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(e=>{const i=t=>{(!t||t.target===this._preview&&"transform"===t.propertyName)&&(this._preview.removeEventListener("transitionend",i),e(),clearTimeout(n))},n=setTimeout(i,1.5*t);this._preview.addEventListener("transitionend",i)}))}_createPlaceholderElement(){const e=this._placeholderTemplate,t=e?e.template:null;let i;return t?(this._placeholderRef=e.viewContainer.createEmbeddedView(t,e.context),this._placeholderRef.detectChanges(),i=CL(this._placeholderRef,this._document)):i=vL(this._rootElement),i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(e,t){const i=this._rootElement.getBoundingClientRect(),n=e===this._rootElement?null:e,s=n?n.getBoundingClientRect():i,r=xL(t)?t.targetTouches[0]:t,a=this._getViewportScrollPosition();return{x:s.left-i.left+(r.pageX-s.left-a.left),y:s.top-i.top+(r.pageY-s.top-a.top)}}_getPointerPositionOnPage(e){const t=xL(e)?e.touches[0]||e.changedTouches[0]:e,i=this._getViewportScrollPosition();return{x:t.pageX-i.left,y:t.pageY-i.top}}_getConstrainedPointerPosition(e){const t=this.constrainPosition?this.constrainPosition(e,this):e,i=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===i?t.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==i||(t.x=this._pickupPositionOnPage.x),this._boundaryRect){const{x:e,y:i}=this._pickupPositionInElement,n=this._boundaryRect,s=this._previewRect,r=n.top+i,a=n.bottom-(s.height-i);t.x=wL(t.x,n.left+e,n.right-(s.width-e)),t.y=wL(t.y,r,a)}return t}_updatePointerDirectionDelta(e){const{x:t,y:i}=e,n=this._pointerDirectionDelta,s=this._pointerPositionAtLastDirectionChange,r=Math.abs(t-s.x),a=Math.abs(i-s.y);return r>this._config.pointerDirectionChangeThreshold&&(n.x=t>s.x?1:-1,s.x=t),a>this._config.pointerDirectionChangeThreshold&&(n.y=i>s.y?1:-1,s.y=i),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const e=this._handles.length>0||!this.isDragging();e!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=e,lL(this._rootElement,e))}_removeRootElementListeners(e){e.removeEventListener("mousedown",this._pointerDown,_L),e.removeEventListener("touchstart",this._pointerDown,gL)}_applyRootElementTransform(e,t){const i=bL(e,t);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?i+" "+this._initialTransform:i}_getDragDistance(e){const t=this._pickupPositionOnPage;return t?{x:e.x-t.x,y:e.y-t.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:e,y:t}=this._passiveTransform;if(0===e&&0===t||this.isDragging()||!this._boundaryElement)return;const i=this._boundaryElement.getBoundingClientRect(),n=this._rootElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===n.width&&0===n.height)return;const s=i.left-n.left,r=n.right-i.right,a=i.top-n.top,o=n.bottom-i.bottom;i.width>n.width?(s>0&&(e+=s),r>0&&(e-=r)):e=0,i.height>n.height?(a>0&&(t+=a),o>0&&(t-=o)):t=0,e===this._passiveTransform.x&&t===this._passiveTransform.y||this.setFreeDragPosition({y:t,x:e})}_getDragStartDelay(e){const t=this.dragStartDelay;return"number"==typeof t?t:xL(e)?t.touch:t?t.mouse:0}_updateOnScroll(e){const t=this._parentPositions.handleScroll(e);this._boundaryRect&&t&&mL(this._boundaryRect,t.top,t.left)}_getViewportScrollPosition(){const e=this._parentPositions.positions.get(this._document);return e?e.scrollPosition:this._viewportRuler.getViewportScrollPosition()}}function bL(e,t){return`translate3d(${Math.round(e)}px, ${Math.round(t)}px, 0)`}function vL(e){const t=e.cloneNode(!0),i=t.querySelectorAll("[id]"),n=e.querySelectorAll("canvas");t.removeAttribute("id");for(let s=0;s<i.length;s++)i[s].removeAttribute("id");if(n.length){const e=t.querySelectorAll("canvas");for(let t=0;t<n.length;t++){const i=e[t].getContext("2d");i&&i.drawImage(n[t],0,0)}}return t}function wL(e,t,i){return Math.max(t,Math.min(i,e))}function kL(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function xL(e){return"t"===e.type[0]}function CL(e,t){const i=e.rootNodes;if(1===i.length&&i[0].nodeType===t.ELEMENT_NODE)return i[0];const n=t.createElement("div");return i.forEach(e=>n.appendChild(e)),n}function SL(e,t){e.style.width=t.width+"px",e.style.height=t.height+"px",e.style.transform=bL(t.left,t.top)}function ML(e,t,i){const n=DL(t,e.length-1),s=DL(i,e.length-1);if(n===s)return;const r=e[n],a=s<n?-1:1;for(let o=n;o!==s;o+=a)e[o]=e[o+a];e[s]=r}function DL(e,t){return Math.max(0,Math.min(t,e))}class LL{constructor(e,t,i,n,s){this._dragDropRegistry=t,this._ngZone=n,this._viewportRuler=s,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.enterPredicate=()=>!0,this.beforeStarted=new x,this.entered=new x,this.exited=new x,this.dropped=new x,this.sorted=new x,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0},this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=h.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new x,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function(e=0,t=Zf){return(!tg(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=Zf),new y(i=>(i.add(t.schedule(aL,e,{subscriber:i,counter:0,period:e})),i))}(0,Hf).pipe(rg(this._stopScrollTimers)).subscribe(()=>{const e=this._scrollNode;1===this._verticalScrollDirection?AL(e,-2):2===this._verticalScrollDirection&&AL(e,2),1===this._horizontalScrollDirection?EL(e,-2):2===this._horizontalScrollDirection&&EL(e,2)})},this.element=If(e),this._document=i,this.withScrollableParents([this.element]),t.registerDropContainer(this),this._parentPositions=new fL(i,s)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){const e=If(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._cacheItems(),this._siblings.forEach(e=>e._startReceiving(this)),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}enter(e,t,i,n){let s;this.start(),null==n?(s=this.sortingDisabled?this._draggables.indexOf(e):-1,-1===s&&(s=this._getItemIndexFromPointerPosition(e,t,i))):s=n;const r=this._activeDraggables,a=r.indexOf(e),o=e.getPlaceholderElement();let l=r[s];if(l===e&&(l=r[s+1]),a>-1&&r.splice(a,1),l&&!this._dragDropRegistry.isDragging(l)){const t=l.getRootElement();t.parentElement.insertBefore(o,t),r.splice(s,0,e)}else{const n=If(this.element);this._shouldEnterAsFirstChild(t,i)?(n.insertBefore(o,r[0].getRootElement()),r.unshift(e)):(n.appendChild(o),r.push(e))}o.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this.entered.next({item:e,container:this,currentIndex:this.getItemIndex(e)})}exit(e){this._reset(),this.exited.next({item:e,container:this})}drop(e,t,i,n,s,r){this._reset(),null==r&&(r=i.getItemIndex(e)),this.dropped.next({item:e,currentIndex:t,previousIndex:r,container:this,previousContainer:i,isPointerOverContainer:n,distance:s})}withItems(e){const t=this._draggables;return this._draggables=e,e.forEach(e=>e._withDropContainer(this)),this.isDragging()&&(t.filter(e=>e.isDragging()).every(t=>-1===e.indexOf(t))?this._reset():this._cacheItems()),this}withDirection(e){return this._direction=e,this}connectedTo(e){return this._siblings=e.slice(),this}withOrientation(e){return this._orientation=e,this}withScrollableParents(e){const t=If(this.element);return this._scrollableElements=-1===e.indexOf(t)?[t,...e]:e.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(e){return this._isDragging?TL("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,t=>t.drag===e):this._draggables.indexOf(e)}isReceiving(){return this._activeSiblings.size>0}_sortItem(e,t,i,n){if(this.sortingDisabled||!pL(this._clientRect,.05,t,i))return;const s=this._itemPositions,r=this._getItemIndexFromPointerPosition(e,t,i,n);if(-1===r&&s.length>0)return;const a="horizontal"===this._orientation,o=TL(s,t=>t.drag===e),l=s[r],c=s[o].clientRect,d=l.clientRect,h=o>r?1:-1;this._previousSwap.drag=l.drag,this._previousSwap.delta=a?n.x:n.y;const u=this._getItemOffsetPx(c,d,h),m=this._getSiblingOffsetPx(o,s,h),p=s.slice();ML(s,o,r),this.sorted.next({previousIndex:o,currentIndex:r,container:this,item:e}),s.forEach((t,i)=>{if(p[i]===t)return;const n=t.drag===e,s=n?u:m,r=n?e.getPlaceholderElement():t.drag.getRootElement();t.offset+=s,a?(r.style.transform=`translate3d(${Math.round(t.offset)}px, 0, 0)`,mL(t.clientRect,0,s)):(r.style.transform=`translate3d(0, ${Math.round(t.offset)}px, 0)`,mL(t.clientRect,s,0))})}_startScrollingIfNecessary(e,t){if(this.autoScrollDisabled)return;let i,n=0,s=0;if(this._parentPositions.positions.forEach((r,a)=>{a!==this._document&&r.clientRect&&!i&&pL(r.clientRect,.05,e,t)&&([n,s]=function(e,t,i,n){const s=IL(t,n),r=PL(t,i);let a=0,o=0;if(s){const t=e.scrollTop;1===s?t>0&&(a=1):e.scrollHeight-t>e.clientHeight&&(a=2)}if(r){const t=e.scrollLeft;1===r?t>0&&(o=1):e.scrollWidth-t>e.clientWidth&&(o=2)}return[a,o]}(a,r.clientRect,e,t),(n||s)&&(i=a))}),!n&&!s){const{width:r,height:a}=this._viewportRuler.getViewportSize(),o={width:r,height:a,top:0,right:r,bottom:a,left:0};n=IL(o,t),s=PL(o,e),i=window}!i||n===this._verticalScrollDirection&&s===this._horizontalScrollDirection&&i===this._scrollNode||(this._verticalScrollDirection=n,this._horizontalScrollDirection=s,this._scrollNode=i,(n||s)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_cacheParentPositions(){const e=If(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(e).clientRect}_cacheItemPositions(){const e="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(e=>{const t=e.getVisibleElement();return{drag:e,offset:0,clientRect:hL(t)}}).sort((t,i)=>e?t.clientRect.left-i.clientRect.left:t.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const e=If(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(e=>{const t=e.getRootElement();t&&(t.style.transform="")}),this._siblings.forEach(e=>e._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(e,t,i){const n="horizontal"===this._orientation,s=t[e].clientRect,r=t[e+-1*i];let a=s[n?"width":"height"]*i;if(r){const e=n?"left":"top",t=n?"right":"bottom";-1===i?a-=r.clientRect[e]-s[t]:a+=s[e]-r.clientRect[t]}return a}_getItemOffsetPx(e,t,i){const n="horizontal"===this._orientation;let s=n?t.left-e.left:t.top-e.top;return-1===i&&(s+=n?t.width-e.width:t.height-e.height),s}_shouldEnterAsFirstChild(e,t){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,n="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){const s=i[i.length-1].clientRect;return n?e>=s.right:t>=s.bottom}{const s=i[0].clientRect;return n?e<=s.left:t<=s.top}}_getItemIndexFromPointerPosition(e,t,i,n){const s="horizontal"===this._orientation;return TL(this._itemPositions,({drag:r,clientRect:a},o,l)=>{if(r===e)return l.length<2;if(n){const e=s?n.x:n.y;if(r===this._previousSwap.drag&&e===this._previousSwap.delta)return!1}return s?t>=Math.floor(a.left)&&t<Math.floor(a.right):i>=Math.floor(a.top)&&i<Math.floor(a.bottom)})}_cacheItems(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}_isOverContainer(e,t){return uL(this._clientRect,e,t)}_getSiblingContainerFromPosition(e,t,i){return this._siblings.find(n=>n._canReceive(e,t,i))}_canReceive(e,t,i){if(!uL(this._clientRect,t,i)||!this.enterPredicate(e,this))return!1;const n=this._getShadowRoot().elementFromPoint(t,i);if(!n)return!1;const s=If(this.element);return n===s||s.contains(n)}_startReceiving(e){const t=this._activeSiblings;t.has(e)||(t.add(e),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(e){this._activeSiblings.delete(e),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(e=>{if(this.isDragging()){const t=this._parentPositions.handleScroll(e);t&&(this._itemPositions.forEach(({clientRect:e})=>{mL(e,t.top,t.left)}),this._itemPositions.forEach(({drag:e})=>{this._dragDropRegistry.isDragging(e)&&e._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const e=Tg(If(this.element));this._cachedShadowRoot=e||this._document}return this._cachedShadowRoot}}function TL(e,t){for(let i=0;i<e.length;i++)if(t(e[i],i,e))return i;return-1}function AL(e,t){e===window?e.scrollBy(0,t):e.scrollTop+=t}function EL(e,t){e===window?e.scrollBy(t,0):e.scrollLeft+=t}function IL(e,t){const{top:i,bottom:n,height:s}=e,r=.05*s;return t>=i-r&&t<=i+r?1:t>=n-r&&t<=n+r?2:0}function PL(e,t){const{left:i,right:n,width:s}=e,r=.05*s;return t>=i-r&&t<=i+r?1:t>=n-r&&t<=n+r?2:0}const YL=Dg({passive:!1,capture:!0});let OL=(()=>{class e{constructor(e,t){this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new x,this.pointerUp=new x,this.scroll=new x,this._preventDefaultWhileDragging=e=>{this._activeDragInstances.size&&e.preventDefault()},this._document=t}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._preventDefaultWhileDragging,YL)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,YL)}startDragging(e,t){if(!this._activeDragInstances.has(e)&&(this._activeDragInstances.add(e),1===this._activeDragInstances.size)){const e=t.type.startsWith("touch"),i=e?"touchend":"mouseup";this._globalListeners.set(e?"touchmove":"mousemove",{handler:e=>this.pointerMove.next(e),options:YL}).set(i,{handler:e=>this.pointerUp.next(e),options:!0}).set("scroll",{handler:e=>this.scroll.next(e),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:YL}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((e,t)=>{this._document.addEventListener(t,e.handler,e.options)})})}}stopDragging(e){this._activeDragInstances.delete(e),0===this._activeDragInstances.size&&this._clearGlobalListeners()}isDragging(e){return this._activeDragInstances.has(e)}ngOnDestroy(){this._dragInstances.forEach(e=>this.removeDragItem(e)),this._dropInstances.forEach(e=>this.removeDropContainer(e)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((e,t)=>{this._document.removeEventListener(t,e.handler,e.options)}),this._globalListeners.clear()}}return e.\u0275fac=function(t){return new(t||e)(Ge(Rc),Ge(pd))},e.\u0275prov=ce({factory:function(){return new e(Ge(Rc),Ge(pd))},token:e,providedIn:"root"}),e})();const FL={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let RL=(()=>{class e{constructor(e,t,i,n){this._document=e,this._ngZone=t,this._viewportRuler=i,this._dragDropRegistry=n}createDrag(e,t=FL){return new yL(e,t,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new LL(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return e.\u0275fac=function(t){return new(t||e)(Ge(pd),Ge(Rc),Ge(Ng),Ge(OL))},e.\u0275prov=ce({factory:function(){return new e(Ge(pd),Ge(Rc),Ge(Ng),Ge(OL))},token:e,providedIn:"root"}),e})();const NL=new Re("CDK_DRAG_PARENT");let jL=(()=>{class e{constructor(e,t){this.element=e,this._stateChanges=new x,this._disabled=!1,this._parentDrag=t,lL(e.nativeElement,!1)}get disabled(){return this._disabled}set disabled(e){this._disabled=Df(e),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(NL,8))},e.\u0275dir=yt({type:e,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]}}),e})(),HL=(()=>{class e{constructor(e){this.templateRef=e}}return e.\u0275fac=function(t){return new(t||e)(Ea(pl))},e.\u0275dir=yt({type:e,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"}}),e})(),VL=(()=>{class e{constructor(e){this.templateRef=e,this._matchSize=!1}get matchSize(){return this._matchSize}set matchSize(e){this._matchSize=Df(e)}}return e.\u0275fac=function(t){return new(t||e)(Ea(pl))},e.\u0275dir=yt({type:e,selectors:[["ng-template","cdkDragPreview",""]],inputs:{matchSize:"matchSize",data:"data"}}),e})();const BL=new Re("CDK_DRAG_CONFIG"),zL=new Re("CDK_DROP_LIST");let WL=(()=>{class e{constructor(e,t,i,n,s,r,a,o,l){this.element=e,this.dropContainer=t,this._document=i,this._ngZone=n,this._viewContainerRef=s,this._dir=a,this._changeDetectorRef=l,this._destroyed=new x,this.started=new Gl,this.released=new Gl,this.ended=new Gl,this.entered=new Gl,this.exited=new Gl,this.dropped=new Gl,this.moved=new y(e=>{const t=this._dragRef.moved.pipe(O(e=>({source:this,pointerPosition:e.pointerPosition,event:e.event,delta:e.delta,distance:e.distance}))).subscribe(e);return()=>{t.unsubscribe()}}),this._dragRef=o.createDrag(e,{dragStartThreshold:r&&null!=r.dragStartThreshold?r.dragStartThreshold:5,pointerDirectionChangeThreshold:r&&null!=r.pointerDirectionChangeThreshold?r.pointerDirectionChangeThreshold:5,zIndex:null==r?void 0:r.zIndex}),this._dragRef.data=this,r&&this._assignDefaults(r),t&&(this._dragRef._withDropContainer(t._dropListRef),t.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=Df(e),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.onStable.asObservable().pipe(bu(1),rg(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(Pu(this._handles),Cu(e=>{const t=e.filter(e=>e._parentDrag===this).map(e=>e.element);this._dragRef.withHandles(t)}),Tu(e=>U(...e.map(e=>e._stateChanges.pipe(Pu(e))))),rg(this._destroyed)).subscribe(e=>{const t=this._dragRef,i=e.element.nativeElement;e.disabled?t.disableHandle(i):t.enableHandle(i)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(e){const t=e.rootElementSelector,i=e.freeDragPosition;t&&!t.firstChange&&this._updateRootElement(),i&&!i.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const e=this.element.nativeElement,t=this.rootElementSelector?UL(e,this.rootElementSelector):e;if(t&&t.nodeType!==this._document.ELEMENT_NODE)throw Error(`cdkDrag must be attached to an element node. Currently attached to "${t.nodeName}".`);this._dragRef.withRootElement(t||e)}_getBoundaryElement(){const e=this.boundaryElement;if(!e)return null;if("string"==typeof e)return UL(this.element.nativeElement,e);const t=If(e);if(En()&&!t.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return t}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){const t=this._dir,i=this.dragStartDelay,n=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,s=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.dragStartDelay="object"==typeof i&&i?i:Lf(i),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(s),t&&e.withDirection(t.value)}})}_handleEvents(e){e.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(()=>{this.released.emit({source:this})}),e.ended.subscribe(e=>{this.ended.emit({source:this,distance:e.distance}),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(e=>{this.entered.emit({container:e.container.data,item:this,currentIndex:e.currentIndex})}),e.exited.subscribe(e=>{this.exited.emit({container:e.container.data,item:this})}),e.dropped.subscribe(e=>{this.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,isPointerOverContainer:e.isPointerOverContainer,item:this,distance:e.distance})})}_assignDefaults(e){const{lockAxis:t,dragStartDelay:i,constrainPosition:n,previewClass:s,boundaryElement:r,draggingDisabled:a,rootElementSelector:o}=e;this.disabled=null!=a&&a,this.dragStartDelay=i||0,t&&(this.lockAxis=t),n&&(this.constrainPosition=n),s&&(this.previewClass=s),r&&(this.boundaryElement=r),o&&(this.rootElementSelector=o)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(zL,12),Ea(pd),Ea(Rc),Ea(gl),Ea(BL,8),Ea(Eg,8),Ea(RL),Ea(Zr))},e.\u0275dir=yt({type:e,selectors:[["","cdkDrag",""]],contentQueries:function(e,t,i){var n;1&e&&(lc(i,VL,!0),lc(i,HL,!0),lc(i,jL,!0)),2&e&&(sc(n=hc())&&(t._previewTemplate=n.first),sc(n=hc())&&(t._placeholderTemplate=n.first),sc(n=hc())&&(t._handles=n))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(e,t){2&e&&oo("cdk-drag-disabled",t.disabled)("cdk-drag-dragging",t._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[Ho([{provide:NL,useExisting:e}]),Et]}),e})();function UL(e,t){let i=e.parentElement;for(;i;){if(i.matches?i.matches(t):i.msMatchesSelector(t))return i;i=i.parentElement}return null}let $L=(()=>{class e{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=Df(e)}ngOnDestroy(){this._items.clear()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"]}),e})(),GL=0,qL=(()=>{class e{constructor(t,i,n,s,r,a,o){this.element=t,this._changeDetectorRef=n,this._dir=s,this._group=r,this._scrollDispatcher=a,this._destroyed=new x,this.connectedTo=[],this.id="cdk-drop-list-"+GL++,this.enterPredicate=()=>!0,this.dropped=new Gl,this.entered=new Gl,this.exited=new Gl,this.sorted=new Gl,this._unsortedItems=new Set,this._dropListRef=i.createDropList(t),this._dropListRef.data=this,o&&this._assignDefaults(o),this._dropListRef.enterPredicate=(e,t)=>this.enterPredicate(e.data,t.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),e._dropLists.push(this),r&&r._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=Df(e)}addItem(e){this._unsortedItems.add(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(e){this._unsortedItems.delete(e),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((e,t)=>e._dragRef.getVisibleElement().compareDocumentPosition(t._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const t=e._dropLists.indexOf(this);t>-1&&e._dropLists.splice(t,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}start(){this._dropListRef.start()}drop(e,t,i,n){this._dropListRef.drop(e._dragRef,t,i._dropListRef,n,{x:0,y:0})}enter(e,t,i){this._dropListRef.enter(e._dragRef,t,i)}exit(e){this._dropListRef.exit(e._dragRef)}getItemIndex(e){return this._dropListRef.getItemIndex(e._dragRef)}_setupInputSyncSubscription(t){this._dir&&this._dir.change.pipe(Pu(this._dir.value),rg(this._destroyed)).subscribe(e=>t.withDirection(e)),t.beforeStarted.subscribe(()=>{const i=Af(this.connectedTo).map(t=>"string"==typeof t?e._dropLists.find(e=>e.id===t):t);if(this._group&&this._group._items.forEach(e=>{-1===i.indexOf(e)&&i.push(e)}),!this._scrollableParentsResolved&&this._scrollDispatcher){const e=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(e=>e.getElementRef().nativeElement);this._dropListRef.withScrollableParents(e),this._scrollableParentsResolved=!0}t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.sortingDisabled=Df(this.sortingDisabled),t.autoScrollDisabled=Df(this.autoScrollDisabled),t.connectedTo(i.filter(e=>e&&e!==this).map(e=>e._dropListRef)).withOrientation(this.orientation)})}_handleEvents(e){e.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),e.entered.subscribe(e=>{this.entered.emit({container:this,item:e.item.data,currentIndex:e.currentIndex})}),e.exited.subscribe(e=>{this.exited.emit({container:this,item:e.item.data}),this._changeDetectorRef.markForCheck()}),e.sorted.subscribe(e=>{this.sorted.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,container:this,item:e.item.data})}),e.dropped.subscribe(e=>{this.dropped.emit({previousIndex:e.previousIndex,currentIndex:e.currentIndex,previousContainer:e.previousContainer.data,container:e.container.data,item:e.item.data,isPointerOverContainer:e.isPointerOverContainer,distance:e.distance}),this._changeDetectorRef.markForCheck()})}_assignDefaults(e){const{lockAxis:t,draggingDisabled:i,sortingDisabled:n,listAutoScrollDisabled:s,listOrientation:r}=e;this.disabled=null!=i&&i,this.sortingDisabled=null!=n&&n,this.autoScrollDisabled=null!=s&&s,this.orientation=r||"vertical",t&&(this.lockAxis=t)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(RL),Ea(Zr),Ea(Eg,8),Ea($L,12),Ea(Fg),Ea(BL,8))},e.\u0275dir=yt({type:e,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(e,t){2&e&&(So("id",t.id),oo("cdk-drop-list-disabled",t.disabled)("cdk-drop-list-dragging",t._dropListRef.isDragging())("cdk-drop-list-receiving",t._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[Ho([{provide:$L,useValue:void 0},{provide:zL,useExisting:e}])]}),e._dropLists=[],e})(),KL=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[RL],imports:[jg]}),e})();const JL=["primaryValueBar"];class QL{constructor(e){this._elementRef=e}}const ZL=Qv(QL,"primary"),XL=new Re("mat-progress-bar-location",{providedIn:"root",factory:function(){const e=qe(pd),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}});let eT=0,tT=(()=>{class e extends ZL{constructor(e,t,i,n){super(e),this._elementRef=e,this._ngZone=t,this._animationMode=i,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new Gl,this._animationEndSubscription=h.EMPTY,this.mode="determinate",this.progressbarId="mat-progress-bar-"+eT++;const s=n?n.getPathname().split("#")[0]:"";this._rectangleFillValue=`url('${s}#${this.progressbarId}')`,this._isNoopAnimation="NoopAnimations"===i}get value(){return this._value}set value(e){this._value=iT(Lf(e)||0)}get bufferValue(){return this._bufferValue}set bufferValue(e){this._bufferValue=iT(e||0)}_primaryTransform(){return{transform:`scaleX(${this.value/100})`}}_bufferTransform(){return"buffer"===this.mode?{transform:`scaleX(${this.bufferValue/100})`}:null}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{const e=this._primaryValueBar.nativeElement;this._animationEndSubscription=Pf(e,"transitionend").pipe(iu(t=>t.target===e)).subscribe(()=>{"determinate"!==this.mode&&"buffer"!==this.mode||this._ngZone.run(()=>this.animationEnd.next({value:this.value}))})})}ngOnDestroy(){this._animationEndSubscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Rc),Ea(Hv,8),Ea(XL,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-progress-bar"]],viewQuery:function(e,t){var i;1&e&&ac(JL,!0),2&e&&sc(i=hc())&&(t._primaryValueBar=i.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"mat-progress-bar"],hostVars:4,hostBindings:function(e,t){2&e&&(Da("aria-valuenow","indeterminate"===t.mode||"query"===t.mode?null:t.value)("mode",t.mode),oo("_mat-animation-noopable",t._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[Lo],decls:9,vars:4,consts:[["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(e,t){1&e&&(Li(),Oa(0,"svg",0),Oa(1,"defs"),Oa(2,"pattern",1),Ra(3,"circle",2),Fa(),Fa(),Ra(4,"rect",3),Fa(),Ti(),Ra(5,"div",4),Ra(6,"div",5,6),Ra(8,"div",7)),2&e&&(Cs(2),Pa("id",t.progressbarId),Cs(2),Da("fill",t._rectangleFillValue),Cs(1),Pa("ngStyle",t._bufferTransform()),Cs(1),Pa("ngStyle",t._primaryTransform()))},directives:[Xd],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),e})();function iT(e,t=0,i=100){return Math.max(t,Math.min(i,e))}let nT=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,Kv],Kv]}),e})();function sT(e,t){if(1&e){const e=Va();Oa(0,"button",6),Wa("click",(function(){return ii(e),Ka().dialogRef.close()})),Oa(1,"mat-icon"),vo(2,"close"),Fa(),Fa()}}function rT(e,t){1&e&&(Oa(0,"div",7),Ra(1,"mat-spinner"),Fa())}function aT(e,t){if(1&e){const e=Va();Oa(0,"button",8),Wa("click",(function(){return ii(e),Ka().prevImage()})),Oa(1,"mat-icon"),vo(2,"arrow_back"),Fa(),Fa()}}function oT(e,t){if(1&e){const e=Va();Oa(0,"button",9),Wa("click",(function(){return ii(e),Ka().nextImage()})),Oa(1,"mat-icon"),vo(2,"arrow_forward"),Fa(),Fa()}}let lT=(()=>{class e{constructor(e,t,i){this.dialogRef=e,this.data=t,this.dialog=i,this.loading=!1,this.allImageUris=t.uris,this.selectedIndex=t.selectedIndex}ngOnInit(){}ngAfterViewInit(){this.theuri=this.allImageUris[this.selectedIndex],setTimeout(()=>{this.loading=!1},300)}prevImage(){this.setIndex("prev"),this.theuri=this.allImageUris[this.selectedIndex]}nextImage(){this.setIndex("next"),this.theuri=this.allImageUris[this.selectedIndex]}setIndex(e){"prev"===e&&this.selectedIndex--,"next"===e&&this.selectedIndex++,this.selectedIndex<0?this.selectedIndex=this.allImageUris.length-1:this.selectedIndex>this.allImageUris.length-1&&(this.selectedIndex=0)}}return e.\u0275fac=function(t){return new(t||e)(Ea(jx),Ea(Hx),Ea(Wx))},e.\u0275cmp=ut({type:e,selectors:[["app-image-viewer"]],inputs:{theimages:"theimages"},decls:6,vars:5,consts:[[1,"imageViewer",2,"position","relative"],["mat-icon-button","","id","closeBtn",3,"click",4,"ngIf"],["class","haba-loading-shade",4,"ngIf"],["mat-icon-button","","id","prevImgBtn",3,"click",4,"ngIf"],[2,"object-fit","contain","max-width","700px",3,"src"],["mat-icon-button","","id","nextImgBtn",3,"click",4,"ngIf"],["mat-icon-button","","id","closeBtn",3,"click"],[1,"haba-loading-shade"],["mat-icon-button","","id","prevImgBtn",3,"click"],["mat-icon-button","","id","nextImgBtn",3,"click"]],template:function(e,t){1&e&&(Oa(0,"div",0),Ta(1,sT,3,0,"button",1),Ta(2,rT,2,0,"div",2),Ta(3,aT,3,0,"button",3),Ra(4,"img",4),Ta(5,oT,3,0,"button",5),Fa()),2&e&&(Cs(1),Pa("ngIf",!t.loading),Cs(1),Pa("ngIf",t.loading),Cs(1),Pa("ngIf",!t.loading&&t.allImageUris.length>1),Cs(1),Pa("src",t.theuri,ns),Cs(1),Pa("ngIf",!t.loading&&t.allImageUris.length>1))},directives:[$d,nC,kS,nS],styles:["#prevImgBtn[_ngcontent-%COMP%]{left:5px}#nextImgBtn[_ngcontent-%COMP%], #prevImgBtn[_ngcontent-%COMP%]{position:absolute;top:calc(50% - 20px);color:orange}#nextImgBtn[_ngcontent-%COMP%]{right:5px}#closeBtn[_ngcontent-%COMP%]{position:absolute;top:5px;right:5px}"]}),e})();function cT(e,t){1&e&&(Na(0),Ra(1,"img",12),ja())}function dT(e,t){if(1&e){const e=Va();Ra(0,"img",13),Oa(1,"div",14),Oa(2,"button",15),Wa("click",(function(t){ii(e);const i=Ka(),n=i.$implicit,s=i.index;return Ka(2).showLightbox(t,n.ref,s)})),Oa(3,"mat-icon"),vo(4,"fullscreen"),Fa(),Fa(),Oa(5,"button",15),Wa("click",(function(t){ii(e);const i=Ka().$implicit;return Ka(2).deleteImage(t,i)})),Oa(6,"mat-icon"),vo(7,"remove_circle_outline"),Fa(),Fa(),Fa()}2&e&&Pa("src",Ka().$implicit.ref,ns)}function hT(e,t){1&e&&Ra(0,"div",16)}const uT=function(e,t){return{item:e,index:t}};function mT(e,t){if(1&e){const e=Va();Na(0),Oa(1,"li",6),Wa("cdkDropListDropped",(function(t){return ii(e),Ka(2).drop(t)})),Oa(2,"div",7),Oa(3,"div",8),Ta(4,cT,2,0,"ng-container",9),Ta(5,dT,8,1,"ng-template",null,10,fc),Fa(),Ta(7,hT,1,0,"div",11),Fa(),Fa(),ja()}if(2&e){const e=t.$implicit,i=t.index,n=Aa(6);Cs(1),Pa("cdkDropListData",Rl(3,uT,e,i)),Cs(3),Pa("ngIf",null==e)("ngIfElse",n)}}function pT(e,t){if(1&e&&(Oa(0,"div",3),Oa(1,"ul",4),Ta(2,mT,8,6,"ng-container",5),Fa(),Fa()),2&e){const e=Ka();Cs(2),Pa("ngForOf",e.images)}}function fT(e,t){1&e&&(Na(0),Ra(1,"img",12),ja())}function gT(e,t){if(1&e){const e=Va();Ra(0,"img",13),Oa(1,"div",14),Oa(2,"button",15),Wa("click",(function(t){ii(e);const i=Ka(),n=i.$implicit,s=i.index;return Ka(2).showLightbox(t,n,s)})),Oa(3,"mat-icon"),vo(4,"fullscreen"),Fa(),Fa(),Oa(5,"button",15),Wa("click",(function(t){ii(e);const i=Ka().$implicit;return Ka(2).deleteDarmasImage(t,i)})),Oa(6,"mat-icon"),vo(7,"remove_circle_outline"),Fa(),Fa(),Fa()}if(2&e){const e=Ka().$implicit;Pa("src",Ka(2).createCompleteS3UrlFromDarmasImage(e),ns)}}function _T(e,t){1&e&&Ra(0,"div",16)}function yT(e,t){if(1&e){const e=Va();Na(0),Oa(1,"li",6),Wa("cdkDropListDropped",(function(t){return ii(e),Ka(2).dropDarmasImage(t)})),Oa(2,"div",7),Oa(3,"div",8),Ta(4,fT,2,0,"ng-container",9),Ta(5,gT,8,1,"ng-template",null,10,fc),Fa(),Ta(7,_T,1,0,"div",11),Fa(),Fa(),ja()}if(2&e){const e=t.$implicit,i=t.index,n=Aa(6);Cs(1),Pa("cdkDropListData",Rl(3,uT,e,i)),Cs(3),Pa("ngIf",null==e)("ngIfElse",n)}}function bT(e,t){if(1&e&&(Oa(0,"div",17),Oa(1,"ul",4),Ta(2,yT,8,6,"ng-container",5),Fa(),Fa()),2&e){const e=Ka();Cs(2),Pa("ngForOf",e.darmasImages)}}function vT(e,t){1&e&&(Na(0),Ra(1,"img",12),ja())}function wT(e,t){if(1&e){const e=Va();Ra(0,"img",13),Oa(1,"div",14),Oa(2,"button",15),Wa("click",(function(t){ii(e);const i=Ka(),n=i.$implicit,s=i.index;return Ka(2).showLightbox(t,n,s)})),Oa(3,"mat-icon"),vo(4,"fullscreen"),Fa(),Fa(),Oa(5,"button",15),Wa("click",(function(t){ii(e);const i=Ka().$implicit;return Ka(2).deleteImageRef(t,i)})),Oa(6,"mat-icon"),vo(7,"remove_circle_outline"),Fa(),Fa(),Fa()}if(2&e){const e=Ka().$implicit;Pa("src",Ka(2).getThumbURLForDispo24Image(e),ns)}}function kT(e,t){1&e&&Ra(0,"div",16)}function xT(e,t){if(1&e){const e=Va();Na(0),Oa(1,"li",6),Wa("cdkDropListDropped",(function(t){return ii(e),Ka(2).dropImageRef(t)})),Oa(2,"div",7),Oa(3,"div",8),Ta(4,vT,2,0,"ng-container",9),Ta(5,wT,8,1,"ng-template",null,10,fc),Fa(),Ta(7,kT,1,0,"div",11),Fa(),Fa(),ja()}if(2&e){const e=t.$implicit,i=t.index,n=Aa(6);Cs(1),Pa("cdkDropListData",Rl(3,uT,e,i)),Cs(3),Pa("ngIf",null==e)("ngIfElse",n)}}function CT(e,t){if(1&e&&(Oa(0,"div",17),Oa(1,"ul",4),Ta(2,xT,8,6,"ng-container",5),Fa(),Fa()),2&e){const e=Ka();Cs(2),Pa("ngForOf",e.imageRefs)}}let ST=(()=>{class e{constructor(e){this.dialog=e,this.images=[],this.darmasImages=[],this.imageRefs=[],this.deleteImageClicked=new Gl,this.imagesReordered=new Gl,this.darmasAd=null}ngOnInit(){console.log("init images: ",this.images)}ngAfterViewInit(){this.readyProcessedProfileImages&&this.readyProcessedProfileImages.subscribe(e=>{console.log("PROFILE IMAGES RIGHT PLACE:: ",e),!e.isProcessing&&e.mobileDeImages&&(this.images=e.mobileDeImages,console.log("img:: ",this.images))})}deleteImage(e,t){e.preventDefault(),this.deleteImageClicked.emit(t.ref)}deleteDarmasImage(e,t){e.preventDefault();const i=this.darmasImages.indexOf(t);this.darmasImages.splice(i,1)}deleteImageRef(e,t){e.preventDefault(),console.log("Delete image ref: ",t)}showLightbox(e,t,i){e.preventDefault(),"string"==typeof t?this.openImageViewerDialog(t,i,"imageRefs"):"object"==typeof t&&(console.log("typ object"),this.openImageViewerDialog(this.createCompleteS3UrlFromDarmasImage(t),i,"darmasImages"))}drop(e){ML(this.images,e.previousContainer.data.index,e.container.data.index),this.imagesReordered.emit(this.images)}dropDarmasImage(e){ML(this.darmasImages,e.previousContainer.data.index,e.container.data.index),this.imagesReordered.emit(this.darmasImages)}dropImageRef(e){ML(this.imageRefs,e.previousContainer.data.index,e.container.data.index),this.imagesReordered.emit(this.imageRefs)}openImageViewerDialog(e,t,i="images"){let n,s=[];"images"===i?s=this.images.map(e=>e.ref):"darmasImages"===i?s=this.darmasImages.map(e=>this.createCompleteS3UrlFromDarmasImage(e)):"imageRefs"===i&&(s=this.imageRefs),n=this.dialog.open(lT,{height:"auto",data:{uri:e,selectedIndex:t,uris:s}}),n.beforeClosed().subscribe(e=>{})}createCompleteS3UrlFromDarmasImage(e){return"https://"+e.S3Bucket+".s3."+e.S3Region+".amazonaws.com/"+e.S3Ref}createThumbS3UrlFromDarmasImage(e){return"https://"+e.S3Bucket+".s3."+e.S3Region+".amazonaws.com/"+e.S3Ref}getThumbURLForDispo24Image(e){const t=e.lastIndexOf("/");return e.slice(0,t+1)+"thumbs/"+e.slice(t+1,e.length)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wx))},e.\u0275cmp=ut({type:e,selectors:[["app-haba-image-list"]],inputs:{images:"images",darmasImages:"darmasImages",imageRefs:"imageRefs",readyProcessedProfileImages:"readyProcessedProfileImages"},outputs:{deleteImageClicked:"deleteImageClicked",imagesReordered:"imagesReordered"},decls:3,vars:3,consts:[["cdkDropListGroup","","style","min-width: 100%;",4,"ngIf"],["cdkDropListGroup","","style","margin-top: 20px",4,"ngIf"],["style","margin-top: 20px","cdkDropListGroup","",4,"ngIf"],["cdkDropListGroup","",2,"min-width","100%"],[1,"mdc-image-list","my-image-list"],[4,"ngFor","ngForOf"],["cdkDropList","","cdkDropListOrientation","horizontal",1,"mdc-image-list__item",3,"cdkDropListData","cdkDropListDropped"],["cdkDrag",""],[1,"mdc-image-list__image-aspect-container"],[4,"ngIf","ngIfElse"],["productImage",""],["class","custom-placeholder",4,"cdkDragPlaceholder"],["src","",1,"mdc-image-list__image","imagenotfound"],[1,"mdc-image-list__image",3,"src"],["fyLayout","row","fxLayoutAlign","end",1,"editButtonsWrapper",2,"position","absolute","bottom","0","right","0"],["mat-icon-button","",3,"click"],[1,"custom-placeholder"],["cdkDropListGroup","",2,"margin-top","20px"]],template:function(e,t){1&e&&(Ta(0,pT,3,1,"div",0),Ta(1,bT,3,1,"div",1),Ta(2,CT,3,1,"div",2)),2&e&&(Pa("ngIf",t.images&&t.images.length>0),Cs(1),Pa("ngIf",t.darmasImages&&t.darmasImages.length>0),Cs(1),Pa("ngIf",t.imageRefs&&t.imageRefs.length>0))},directives:[$d,$L,Wd,qL,WL,HL,qD,nC,kS],styles:[".mdc-image-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:0 auto;padding:0}.mdc-image-list__image-aspect-container[_ngcontent-%COMP%], .mdc-image-list__item[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.mdc-image-list__item[_ngcontent-%COMP%]{list-style-type:none}.mdc-image-list__image[_ngcontent-%COMP%]{width:100%}.mdc-image-list__image-aspect-container[_ngcontent-%COMP%] .mdc-image-list__image[_ngcontent-%COMP%]{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;background-repeat:no-repeat;background-position:50%;background-size:cover}.mdc-image-list__image-aspect-container[_ngcontent-%COMP%]{padding-bottom:calc(100% / 1)}.mdc-image-list__image[_ngcontent-%COMP%]{border-radius:0}.mdc-image-list--with-text-protection[_ngcontent-%COMP%] .mdc-image-list__supporting[_ngcontent-%COMP%]{border-radius:0 0 0 0}.mdc-image-list__supporting[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding:8px 0;line-height:24px}.mdc-image-list__label[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:1rem;line-height:1.75rem;font-weight:400;letter-spacing:.009375em;text-decoration:inherit;text-transform:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-image-list--with-text-protection[_ngcontent-%COMP%] .mdc-image-list__supporting[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%;height:48px;padding:0 16px;background:rgba(0,0,0,.6);color:#fff}.mdc-image-list--masonry[_ngcontent-%COMP%]{display:block}.mdc-image-list--masonry[_ngcontent-%COMP%] .mdc-image-list__item[_ngcontent-%COMP%]{-moz-column-break-inside:avoid;break-inside:avoid-column}.mdc-image-list--masonry[_ngcontent-%COMP%] .mdc-image-list__image[_ngcontent-%COMP%]{display:block;height:auto}.my-image-list[_ngcontent-%COMP%] .mdc-image-list__item[_ngcontent-%COMP%]{width:calc(100% / 5 - 4.2px);margin:2px}.custom-placeholder[_ngcontent-%COMP%]{background:#555;border:3px dotted #999;width:100%;transition:transform .25s cubic-bezier(0,0,.2,1)}.example-list[_ngcontent-%COMP%]{max-width:100%;border:1px solid #ccc;min-height:60px;display:block;background:#fff;border-radius:4px;overflow:hidden}.example-box[_ngcontent-%COMP%]{padding:20px 10px;border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:0;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);height:50px}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,.3,.2,1)}.example-box[_ngcontent-%COMP%]:last-child{border:none}.editButtonsWrapper[_ngcontent-%COMP%]{color:orange}.mdc-image-list__image-aspect-container[_ngcontent-%COMP%]{cursor:move}"]}),e})();const MT=["fileDropRef"],DT=["fileInput"];function LT(e,t){1&e&&Ra(0,"app-buffering")}function TT(e,t){if(1&e&&(Oa(0,"div",21),vo(1," Bild-Profil "),Oa(2,"span",22),vo(3),Fa(),Fa()),2&e){const e=Ka();Cs(3),Co(" ",e.factoryCode,"-",e.colorCode,"-",e.padCode," ")}}function AT(e,t){1&e&&(Oa(0,"div",21),vo(1," Bilder f\xfcr Mobile.de "),Fa())}function ET(e,t){1&e&&(Oa(0,"div",21),vo(1," Ad Template Images "),Fa())}function IT(e,t){if(1&e&&(Oa(0,"p"),vo(1),Fa()),2&e){const e=Ka();Cs(1),ko(" ",null==e.dp24Vehicle?null:e.dp24Vehicle.modelDescription," ")}}function PT(e,t){1&e&&(Oa(0,"span"),vo(1," Sie k\xf6nnen dieses Fenster schliessen. "),Fa())}function YT(e,t){1&e&&(Oa(0,"span"),vo(1," Warten Sie einen Moment bis Sie das Bild-Profil speichern k\xf6nnen. "),Fa())}function OT(e,t){if(1&e&&(Oa(0,"div",23),Ra(1,"mat-progress-bar",24),Oa(2,"p",25),Oa(3,"span"),vo(4,"Dateien werden bearbeitet. "),Fa(),Ta(5,PT,2,0,"span",1),Ta(6,YT,2,0,"span",1),Fa(),Fa()),2&e){const e=Ka();Cs(5),Pa("ngIf",e.openedFromCreateMobileAdForm),Cs(1),Pa("ngIf",!e.openedFromCreateMobileAdForm)}}function FT(e,t){if(1&e){const e=Va();Oa(0,"li",28),Oa(1,"div",29),Oa(2,"img",30),Wa("click",(function(){ii(e);const i=t.$implicit;return Ka(2).showLightbox(i)})),Fa(),Fa(),Fa()}if(2&e){const e=t.$implicit;Cs(2),Pa("src",e,ns)}}function RT(e,t){if(1&e&&(Oa(0,"ul",26),Ta(1,FT,3,1,"li",27),Fa()),2&e){const e=Ka();Cs(1),Pa("ngForOf",e.filesToShowInUI)}}function NT(e,t){if(1&e){const e=Va();Oa(0,"app-haba-image-list",31),Wa("imagesReordered",(function(t){return ii(e),Ka().saveImages(t)})),Fa()}2&e&&Pa("darmasImages",Ka().imageProfile.darmasImages)}function jT(e,t){if(1&e){const e=Va();Oa(0,"app-haba-image-list",32),Wa("imagesReordered",(function(t){return ii(e),Ka().saveImages(t)})),Fa()}2&e&&Pa("imageRefs",Ka().imagesFromDispo24)}function HT(e,t){1&e&&(Oa(0,"button",33),vo(1," Bild-Profil sichern "),Fa()),2&e&&Pa("mat-dialog-close",!0)}function VT(e,t){1&e&&(Oa(0,"button",33),vo(1," Schliessen "),Fa()),2&e&&Pa("mat-dialog-close",!0)}function BT(e,t){if(1&e){const e=Va();Oa(0,"button",34),Wa("click",(function(){return ii(e),Ka().saveImagesForAd()})),vo(1," Bilder zum Fahrtzeug hinzuf\xfcgen "),Fa()}}function zT(e,t){if(1&e){const e=Va();Oa(0,"button",35),Wa("click",(function(){return ii(e),Ka().saveImagesForAd(!0)})),vo(1," Upload Template Images "),Fa()}}let WT=(()=>{class e{constructor(e,t,i,n,s,r,a){this.dialogRef=e,this.data=t,this.dialog=i,this.imageUploadService=n,this.dp24Service=s,this.sharedDataService=r,this.matSnackBar=a,this.loading=!1,this.progressSubject=new x,this.progress=this.progressSubject.asObservable(),this.uploading=!1,this.files=[],this.filesToShowInUI=[],this.filesRefList=new Array,this.filesDarmasImageObjects=new Array,this.imagesFromDispo24=new Array,this.openedFromCreateMobileAdForm=!1,this.openedFromAdminForTemplateImagesUpload=!1,this.filesUploaded=new Gl,t.openedFromCreateMobileAdForm?(this.openedFromCreateMobileAdForm=!0,this.mobileAdId=t.mobileAdId?t.mobileAdId:null,this.adId=t.adId?t.adId:null):t.openedFromAdminForTemplateImagesUpload?this.openedFromAdminForTemplateImagesUpload=!0:(this.dp24Vehicle=t.dp24Vehicle,this.factoryCode=t.factoryCode,this.colorCode=t.colorCode,this.padCode=t.padCode,this.imagesFromDispo24=t.images)}ngOnInit(){this.imagesProcessing$=this.sharedDataService.imagesProcessing$,this.profileId=`${this.factoryCode}-${this.padCode}-${this.colorCode}`,this.openedFromCreateMobileAdForm||this.factoryCode&&this.padCode&&this.colorCode&&(this.dp24Service.getImageProfile(this.factoryCode,this.colorCode,this.padCode).pipe(bu(1)).subscribe(e=>{this.imageProfile=e}),this.dialogRef.beforeClosed().subscribe(e=>{this.imageProfile?this.updateImageProfile():this.createImageProfile()}))}showLightbox(e){}saveImages(e){console.log("reordered: ",e)}deleteImageFromProfile(e){this.imageProfile.darmasImages=this.imageProfile.darmasImages.filter((t,i)=>e!==t),console.log(this.imageProfile),this.dp24Service.updateImageProfile(this.imageProfile).pipe(bu(1)).subscribe(e=>{console.log("ImageProfile updated: ",e)})}createImageProfile(){this.sharedDataService.addImageProfileProcessing(this.profileId,!0),this.dp24Service.createImageProfile(this.factoryCode,this.colorCode,this.padCode,this.dp24Vehicle,this.filesRefList,this.filesDarmasImageObjects).pipe(bu(1)).subscribe(e=>{this.openSnackBar("Das Bild-Profil f\xfcr "+e.make+" - "+e._model+" ist f\xfcr Sie angelegt worden ("+e.profileId+").","Ok"),this.sharedDataService.setOrChangeProfileState(this.profileId,Y_.Created)},e=>{console.error(e),this.sharedDataService.addImageProfileProcessing(this.profileId,!1),this.sharedDataService.setOrChangeProfileState(this.profileId,Y_.NotCreatedImagesFromDispo24Present)},()=>{this.sharedDataService.addImageProfileProcessing(this.profileId,!1)})}updateImageProfile(){this.filesDarmasImageObjects.length>0&&(this.imageProfile.darmasImages=this.imageProfile.darmasImages.concat(this.filesDarmasImageObjects)),this.dp24Service.updateImageProfile(this.imageProfile).pipe(bu(1)).subscribe(e=>{console.log(e)})}saveImagesForAd(e=!1){this.sharedDataService.setImagesCurrentlyProcessing(!0),setTimeout(()=>{this.dialogRef.close()},2e3),this.uploading=!0,Object.keys(this.files);const t=this.prepareSave();this.imageUploadService.uploadImagesToMobileDe(t,this.files,e).subscribe(e=>{e.type===CC.UploadProgress?this.progressSubject.next(e.value):e.type===CC.Response&&(this.sharedDataService.setUploadedImages(e.value),this.uploading=!1,this.sharedDataService.setImagesCurrentlyProcessing(!1),this.dialogRef.close())},e=>{console.error(e)})}saveAsTemplate(e){}chooseTemplate(e){}onFileDropped(e){this.readMultiFiles(e.dataTransfer.files)}fileBrowseHandler(e){this.readMultiFiles(e.currentTarget.files)}readMultiFiles(e){if(this.uploading=!0,this.progressSubject.next(0),this.files=e,Object.keys(this.files).forEach(e=>{const t=this.files[e],i=new FileReader;i.onload=e=>{console.log("FILE:: ",e.target),this.filesToShowInUI.push(e.target.result)},i.readAsDataURL(t)}),this.openedFromCreateMobileAdForm||this.openedFromAdminForTemplateImagesUpload)this.openedFromCreateMobileAdForm&&(this.uploading=!1);else{const e=this.prepareSave();this.sharedDataService.setImagesCurrentlyProcessing(!0),this.imageUploadService.uploadImages(e,this.dp24Vehicle,this.files,`${this.factoryCode}-${this.padCode}-${this.colorCode}`).subscribe(e=>{e.type===CC.UploadProgress?this.progressSubject.next(e.value):e.type===CC.Response&&(e.value.map(e=>{console.log("DARMAS IMAGE: ",e),this.filesRefList.push(e.S3Ref),this.filesDarmasImageObjects.push(e)}),this.sharedDataService.setImagesCurrentlyProcessing(!1),this.filesUploaded.emit(e),this.uploading=!1)},e=>{console.error(e)})}}prepareSave(){const e=new FormData;return Object.keys(this.files).forEach(t=>{e.append("files[]",this.files[t])}),e}openSnackBar(e,t){this.matSnackBar.open(e,t,{duration:3e3})}}return e.\u0275fac=function(t){return new(t||e)(Ea(jx),Ea(Hx),Ea(Wx),Ea(GS),Ea(ZS),Ea(O_),Ea(bM))},e.\u0275cmp=ut({type:e,selectors:[["app-image-profile"]],viewQuery:function(e,t){var i;1&e&&(ac(MT,!0),ac(DT,!0)),2&e&&(sc(i=hc())&&(t.fileDropEl=i.first),sc(i=hc())&&(t.fileInput=i.first))},outputs:{filesUploaded:"filesUploaded"},decls:31,vars:17,consts:[[1,"fixActionRow",2,"position","relative"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","space-between"],["mat-dialog-title","","style","font-size: larger;",4,"ngIf"],["mat-dialog-content","",2,"height","calc(100% - 96px)"],["fxLayout","column"],["appDnd","",1,"hm_dropzone",3,"fileDropped"],["type","file","id","fileDropRef","multiple","",2,"display","none",3,"change"],["fileDropRef",""],["src","assets/images/ui/dropImage.svg","alt","",2,"width","40px","height","auto"],[3,"click"],["style","\n\t\t\t\t\tpadding-top: 10px;\n\t\t\t\t\tpadding-bottom: 10px;\n\t\t\t\t",4,"ngIf"],["cdkDropListGroup",""],["class","mdc-image-list my-image-list",4,"ngIf"],["style","min-width: 100%",3,"darmasImages","imagesReordered",4,"ngIf"],["style","min-width: 100%",3,"imageRefs","imagesReordered",4,"ngIf"],[1,"spacer"],["align","end"],["mat-raised-button","",3,"mat-dialog-close",4,"ngIf"],["mat-raised-button","","cdkFocusInitial","",3,"click",4,"ngIf"],["mat-raised-button","",3,"click",4,"ngIf"],["mat-dialog-title","",2,"font-size","larger"],[2,"font-size","12px"],[2,"padding-top","10px","padding-bottom","10px"],["mode","indeterminate"],[2,"font-size","10px"],[1,"mdc-image-list","my-image-list"],["class","mdc-image-list__item",4,"ngFor","ngForOf"],[1,"mdc-image-list__item"],[1,"mdc-image-list__image-aspect-container",2,"position","relative"],[1,"mdc-image-list__image",2,"object-fit","contain",3,"src","click"],[2,"min-width","100%",3,"darmasImages","imagesReordered"],[2,"min-width","100%",3,"imageRefs","imagesReordered"],["mat-raised-button","",3,"mat-dialog-close"],["mat-raised-button","","cdkFocusInitial","",3,"click"],["mat-raised-button","",3,"click"]],template:function(e,t){if(1&e){const e=Va();Oa(0,"div",0),Ta(1,LT,1,0,"app-buffering",1),Oa(2,"div",2),Ta(3,TT,4,3,"div",3),Ta(4,AT,2,0,"div",3),Ta(5,ET,2,0,"div",3),Fa(),Ta(6,IT,2,1,"p",1),Oa(7,"div",4),Oa(8,"div",5),Oa(9,"div",6),Wa("fileDropped",(function(e){return t.onFileDropped(e)})),Oa(10,"input",7,8),Wa("change",(function(e){return t.fileBrowseHandler(e)})),Fa(),Oa(12,"div"),Ra(13,"img",9),Oa(14,"h4"),vo(15," Drag n' drop Bilder hier oder... "),Fa(),Fa(),Oa(16,"label",10),Wa("click",(function(){return ii(e),Aa(11).click()})),vo(17,"Bilder aussuchen"),Fa(),Fa(),Ta(18,OT,7,2,"div",11),Oa(19,"div",12),Ta(20,RT,2,1,"ul",13),Fa(),Ta(21,NT,1,1,"app-haba-image-list",14),Ta(22,jT,1,1,"app-haba-image-list",15),Fa(),Fa(),Ra(23,"div",16),Oa(24,"mat-dialog-actions",17),Ta(25,HT,2,1,"button",18),Bl(26,"async"),Ta(27,VT,2,1,"button",18),Ta(28,BT,2,0,"button",19),Bl(29,"async"),Ta(30,zT,2,0,"button",20),Fa(),Fa()}2&e&&(Cs(1),Pa("ngIf",t.loading),Cs(2),Pa("ngIf",t.dp24Vehicle),Cs(1),Pa("ngIf",t.openedFromCreateMobileAdForm),Cs(1),Pa("ngIf",t.openedFromAdminForTemplateImagesUpload),Cs(1),Pa("ngIf",t.dp24Vehicle),Cs(12),Pa("ngIf",t.uploading&&!t.openedFromAdminForTemplateImagesUpload),Cs(2),Pa("ngIf",t.filesToShowInUI.length>0),Cs(1),Pa("ngIf",null==t.imageProfile?null:t.imageProfile.darmasImages),Cs(1),Pa("ngIf",t.imagesFromDispo24&&t.imagesFromDispo24.length>0&&!(null!=t.imageProfile&&t.imageProfile.dispo24ImageImportDone)),Cs(3),Pa("ngIf",!t.openedFromCreateMobileAdForm&&!1===zl(26,13,t.imagesProcessing$)&&!t.openedFromAdminForTemplateImagesUpload),Cs(2),Pa("ngIf",t.openedFromCreateMobileAdForm),Cs(1),Pa("ngIf",t.openedFromCreateMobileAdForm&&!1===zl(29,15,t.imagesProcessing$)&&t.filesToShowInUI.length>0),Cs(2),Pa("ngIf",t.openedFromAdminForTemplateImagesUpload))},directives:[$d,uD,qD,qx,rL,$L,Kx,rS,Gx,tT,Wd,ST,nC,$x],pipes:[rh],styles:[".mdc-image-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:0 auto;padding:0}.mdc-image-list__image-aspect-container[_ngcontent-%COMP%], .mdc-image-list__item[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.mdc-image-list__item[_ngcontent-%COMP%]{list-style-type:none}.mdc-image-list__image[_ngcontent-%COMP%]{width:100%}.mdc-image-list__image-aspect-container[_ngcontent-%COMP%] .mdc-image-list__image[_ngcontent-%COMP%]{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;background-repeat:no-repeat;background-position:50%;background-size:cover}.mdc-image-list__image-aspect-container[_ngcontent-%COMP%]{padding-bottom:calc(100% / 1)}.mdc-image-list__image[_ngcontent-%COMP%]{border-radius:0}.mdc-image-list--with-text-protection[_ngcontent-%COMP%] .mdc-image-list__supporting[_ngcontent-%COMP%]{border-radius:0 0 0 0}.mdc-image-list__supporting[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding:8px 0;line-height:24px}.mdc-image-list__label[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:1rem;line-height:1.75rem;font-weight:400;letter-spacing:.009375em;text-decoration:inherit;text-transform:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-image-list--with-text-protection[_ngcontent-%COMP%] .mdc-image-list__supporting[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%;height:48px;padding:0 16px;background:rgba(0,0,0,.6);color:#fff}.mdc-image-list--masonry[_ngcontent-%COMP%]{display:block}.mdc-image-list--masonry[_ngcontent-%COMP%] .mdc-image-list__item[_ngcontent-%COMP%]{-moz-column-break-inside:avoid;break-inside:avoid-column}.mdc-image-list--masonry[_ngcontent-%COMP%] .mdc-image-list__image[_ngcontent-%COMP%]{display:block;height:auto}.my-image-list[_ngcontent-%COMP%] .mdc-image-list__item[_ngcontent-%COMP%]{width:calc(100% / 5 - 4.2px);margin:2px}.hm_dropzone[_ngcontent-%COMP%]{height:100px;padding:2rem;text-align:center;border:1px dashed #979797;position:relative}input[_ngcontent-%COMP%]{opacity:0;position:absolute;z-index:2;width:100%;height:100%;top:0;left:0}label[_ngcontent-%COMP%]{width:183px;height:44px;background-color:#009688;padding:8px 16px}h3[_ngcontent-%COMP%], label[_ngcontent-%COMP%]{color:#fff}h3[_ngcontent-%COMP%]{font-size:20px;font-weight:600}.fileover[_ngcontent-%COMP%]{-webkit-animation:shake 1s;animation:shake 1s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.files-list[_ngcontent-%COMP%]{margin-top:1.5rem}.files-list[_ngcontent-%COMP%] .single-file[_ngcontent-%COMP%]{display:flex;padding:.5rem;justify-content:space-between;align-items:center;border:1px dashed #979797;margin-bottom:1rem;flex-grow:1}.files-list[_ngcontent-%COMP%] .single-file[_ngcontent-%COMP%] img.delete[_ngcontent-%COMP%]{margin-left:.5rem;cursor:pointer;align-self:flex-end}.files-list[_ngcontent-%COMP%] .single-file[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:14px;font-weight:500;color:#353f4a;margin:0}.files-list[_ngcontent-%COMP%] .single-file[_ngcontent-%COMP%] .size[_ngcontent-%COMP%]{font-size:12px;font-weight:500;color:#a4a4a4;margin:0 0 .25rem}.files-list[_ngcontent-%COMP%] .single-file[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{width:100%}@-webkit-keyframes shake{0%{transform:translate(1px,1px) rotate(0deg)}10%{transform:translate(-1px,-1px) rotate(-1deg)}20%{transform:translate(-1px) rotate(1deg)}30%{transform:translate(1px,1px) rotate(0deg)}40%{transform:translate(1px,-1px) rotate(1deg)}50%{transform:translate(-1px,1px) rotate(-1deg)}60%{transform:translate(-3px,1px) rotate(0deg)}70%{transform:translate(3px,1px) rotate(-1deg)}80%{transform:translate(-1px,-1px) rotate(1deg)}90%{transform:translate(1px,2px) rotate(0deg)}to{transform:translate(1px,-2px) rotate(-1deg)}}@keyframes shake{0%{transform:translate(1px,1px) rotate(0deg)}10%{transform:translate(-1px,-1px) rotate(-1deg)}20%{transform:translate(-1px) rotate(1deg)}30%{transform:translate(1px,1px) rotate(0deg)}40%{transform:translate(1px,-1px) rotate(1deg)}50%{transform:translate(-1px,1px) rotate(-1deg)}60%{transform:translate(-3px,1px) rotate(0deg)}70%{transform:translate(3px,1px) rotate(-1deg)}80%{transform:translate(-1px,-1px) rotate(1deg)}90%{transform:translate(1px,2px) rotate(0deg)}to{transform:translate(1px,-2px) rotate(-1deg)}}.fixActionRow[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.spacer[_ngcontent-%COMP%]{flex-grow:1}"]}),e})();const UT=["*",[["mat-card-footer"]]],$T=["*","mat-card-footer"];let GT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),e})(),qT=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),e})(),KT=(()=>{class e{constructor(){this.align="start"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(e,t){2&e&&oo("mat-card-actions-align-end","end"===t.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),e})(),JT=(()=>{class e{constructor(e){this._animationMode=e}}return e.\u0275fac=function(t){return new(t||e)(Ea(Hv,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&oo("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:$T,decls:2,vars:0,template:function(e,t){1&e&&(Qa(UT),Za(0),Za(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}),e})(),QT=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[Kv],Kv]}),e})();function ZT(e,t){1&e&&(Na(0),Ra(1,"img",11),ja())}function XT(e,t){if(1&e){const e=Va();Ra(0,"img",12),Oa(1,"div",13),Oa(2,"button",14),Wa("click",(function(t){ii(e);const i=Ka().$implicit;return Ka().deleteTemplateImage(t,i)})),Oa(3,"mat-icon"),vo(4,"remove_circle_outline"),Fa(),Fa(),Fa()}2&e&&Pa("src",Ka().$implicit,ns)}function eA(e,t){1&e&&Ra(0,"div",15)}const tA=function(e,t){return{item:e,index:t}};function iA(e,t){if(1&e){const e=Va();Na(0),Oa(1,"li",5),Wa("cdkDropListDropped",(function(t){return ii(e),Ka().drop(t)})),Oa(2,"div",6),Oa(3,"div",7),Ta(4,ZT,2,0,"ng-container",8),Ta(5,XT,5,1,"ng-template",null,9,fc),Fa(),Ta(7,eA,1,0,"div",10),Fa(),Fa(),ja()}if(2&e){const e=t.$implicit,i=t.index,n=Aa(6);Cs(1),Pa("cdkDropListData",Rl(3,tA,e,i)),Cs(3),Pa("ngIf",null==e)("ngIfElse",n)}}function nA(e,t){if(1&e){const e=Va();Oa(0,"button",16),Wa("click",(function(){return ii(e),Ka().saveImagesAsTemplates()})),vo(1," Set Images As Templates "),Fa()}}let sA=(()=>{class e{constructor(e,t,i){this.dialog=e,this.sharedDataService=t,this.imageUploadService=i,this.images=[],this.mobileDeImages=[]}ngOnInit(){this.sharedDataService.completeUploadedImages(),this.imagesProcessing$=this.sharedDataService.imagesProcessing$,this.subs=this.sharedDataService.uploadedImgs2MobileObservable$.subscribe(e=>{e.map(e=>{this.mobileDeImages.push(e),this.images.push(e.ref)})},e=>{console.error(e)},()=>{}),this.imageUploadService.getAdTemplateImages().pipe(bu(1)).subscribe(e=>{this.mobileDeImages=e[0].templateImages,e[0].templateImages.forEach(e=>{this.images.push(e.ref)})})}drop(e){}deleteTemplateImage(e,t){console.log(t),e.preventDefault();const i=this.images.indexOf(t);this.images.splice(i,1),this.mobileDeImages.splice(i,1)}openImageDialog(){this.dialog.open(WT,{height:"auto",minWidth:"400px",data:{openedFromAdminForTemplateImagesUpload:!0}}).beforeClosed().subscribe(e=>{})}saveImagesAsTemplates(){this.imageUploadService.saveImagesAsTemplates(this.mobileDeImages).subscribe(e=>{console.log(e),this.dialog.open(mC,{height:"auto",width:"auto",maxWidth:"350px",data:{title:"Success",message:"The image templates were set up. All ads get processed in the background and you get an report of the batch processing afterwards under Reports."}}).beforeClosed().subscribe(e=>{})})}ngOnDestroy(){this.subs.unsubscribe(),this.sharedDataService.completeUploadedImages()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wx),Ea(O_),Ea(GS))},e.\u0275cmp=ut({type:e,selectors:[["app-images"]],decls:14,vars:2,consts:[["cdkDropListGroup",""],[1,"mdc-image-list","my-image-list",2,"padding-left","10px","padding-right","10px"],[4,"ngFor","ngForOf"],["type","button","mat-raised-button","","color","primary",1,"tabButton",3,"click"],["mat-raised-button","",3,"click",4,"ngIf"],["cdkDropList","","cdkDropListOrientation","horizontal",1,"mdc-image-list__item",3,"cdkDropListData","cdkDropListDropped"],["cdkDrag",""],[1,"mdc-image-list__image-aspect-container"],[4,"ngIf","ngIfElse"],["productImage",""],["class","custom-placeholder",4,"cdkDragPlaceholder"],["src","",1,"mdc-image-list__image","imagenotfound"],[1,"mdc-image-list__image",3,"src"],["fyLayout","row","fxLayoutAlign","end",1,"editButtonsWrapper",2,"position","absolute","bottom","0","right","0"],["mat-icon-button","",3,"click"],[1,"custom-placeholder"],["mat-raised-button","",3,"click"]],template:function(e,t){1&e&&(Oa(0,"div"),Oa(1,"mat-card"),Oa(2,"mat-card-title"),vo(3,"Template Images"),Fa(),Oa(4,"mat-card-content"),Oa(5,"div",0),Oa(6,"ul",1),Ta(7,iA,8,6,"ng-container",2),Fa(),Fa(),Fa(),Oa(8,"mat-card-actions"),Oa(9,"div"),Oa(10,"button",3),Wa("click",(function(){return t.openImageDialog()})),Oa(11,"mat-icon"),vo(12,"add"),Fa(),Fa(),Ta(13,nA,2,0,"button",4),Fa(),Fa(),Fa(),Fa()),2&e&&(Cs(7),Pa("ngForOf",t.images),Cs(6),Pa("ngIf",t.mobileDeImages.length>0))},directives:[JT,qT,GT,$L,Wd,KT,nC,kS,$d,qL,WL,HL,qD],styles:[".mdc-image-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:0 auto;padding:0}.mdc-image-list__image-aspect-container[_ngcontent-%COMP%], .mdc-image-list__item[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.mdc-image-list__item[_ngcontent-%COMP%]{list-style-type:none}.mdc-image-list__image[_ngcontent-%COMP%]{width:100%}.mdc-image-list__image-aspect-container[_ngcontent-%COMP%] .mdc-image-list__image[_ngcontent-%COMP%]{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;background-repeat:no-repeat;background-position:50%;background-size:cover}.mdc-image-list__image-aspect-container[_ngcontent-%COMP%]{padding-bottom:calc(100% / 1)}.mdc-image-list__image[_ngcontent-%COMP%]{border-radius:0}.mdc-image-list--with-text-protection[_ngcontent-%COMP%] .mdc-image-list__supporting[_ngcontent-%COMP%]{border-radius:0 0 0 0}.mdc-image-list__supporting[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding:8px 0;line-height:24px}.mdc-image-list__label[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:1rem;line-height:1.75rem;font-weight:400;letter-spacing:.009375em;text-decoration:inherit;text-transform:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-image-list--with-text-protection[_ngcontent-%COMP%] .mdc-image-list__supporting[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%;height:48px;padding:0 16px;background:rgba(0,0,0,.6);color:#fff}.mdc-image-list--masonry[_ngcontent-%COMP%]{display:block}.mdc-image-list--masonry[_ngcontent-%COMP%] .mdc-image-list__item[_ngcontent-%COMP%]{-moz-column-break-inside:avoid;break-inside:avoid-column}.mdc-image-list--masonry[_ngcontent-%COMP%] .mdc-image-list__image[_ngcontent-%COMP%]{display:block;height:auto}.my-image-list[_ngcontent-%COMP%] .mdc-image-list__item[_ngcontent-%COMP%]{width:calc(100% / 5 - 4.2px);margin:2px}.custom-placeholder[_ngcontent-%COMP%]{background:#555;border:3px dotted #999;width:100%;transition:transform .25s cubic-bezier(0,0,.2,1)}.example-list[_ngcontent-%COMP%]{max-width:100%;border:1px solid #ccc;min-height:60px;display:block;background:#fff;border-radius:4px;overflow:hidden}.example-box[_ngcontent-%COMP%]{padding:20px 10px;border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.example-box[_ngcontent-%COMP%]:last-child{border:none}.editButtonsWrapper[_ngcontent-%COMP%]{color:orange}"]}),e})();const rA=new Re("NgValueAccessor"),aA={provide:rA,useExisting:ke(()=>oA),multi:!0};let oA=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(Ea(qo),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&Wa("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[Ho([aA])]}),e})();const lA={provide:rA,useExisting:ke(()=>dA),multi:!0},cA=new Re("CompositionEventMode");let dA=(()=>{class e{constructor(e,t,i){this._renderer=e,this._elementRef=t,this._compositionMode=i,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=md()?md().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(Ea(qo),Ea(Wo),Ea(cA,8))},e.\u0275dir=yt({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&Wa("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[Ho([lA])]}),e})(),hA=(()=>{class e{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}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e}),e})(),uA=(()=>{class e extends hA{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return mA(t||e)},e.\u0275dir=yt({type:e,features:[Lo]}),e})();const mA=fn(uA);function pA(){throw new Error("unimplemented")}class fA extends hA{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return pA()}get asyncValidator(){return pA()}}class gA{constructor(e){this._cd=e}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let _A=(()=>{class e extends gA{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(Ea(fA,2))},e.\u0275dir=yt({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&oo("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[Lo]}),e})(),yA=(()=>{class e extends gA{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(Ea(uA,2))},e.\u0275dir=yt({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&oo("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[Lo]}),e})();function bA(e){return null==e||0===e.length}function vA(e){return null!=e&&"number"==typeof e.length}const wA=new Re("NgValidators"),kA=new Re("NgAsyncValidators"),xA=/^(?=.{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 CA{static min(e){return t=>{if(bA(t.value)||bA(e))return null;const i=parseFloat(t.value);return!isNaN(i)&&i<e?{min:{min:e,actual:t.value}}:null}}static max(e){return t=>{if(bA(t.value)||bA(e))return null;const i=parseFloat(t.value);return!isNaN(i)&&i>e?{max:{max:e,actual:t.value}}:null}}static required(e){return bA(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return bA(e.value)||xA.test(e.value)?null:{email:!0}}static minLength(e){return t=>bA(t.value)||!vA(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}static maxLength(e){return t=>vA(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}static pattern(e){if(!e)return CA.nullValidator;let t,i;return"string"==typeof e?(i="","^"!==e.charAt(0)&&(i+="^"),i+=e,"$"!==e.charAt(e.length-1)&&(i+="$"),t=new RegExp(i)):(i=e.toString(),t=e),e=>{if(bA(e.value))return null;const n=e.value;return t.test(n)?null:{pattern:{requiredPattern:i,actualValue:n}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(SA);return 0==t.length?null:function(e){return DA(LA(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(SA);return 0==t.length?null:function(e){return aS(LA(e,t).map(MA)).pipe(O(DA))}}}function SA(e){return null!=e}function MA(e){const t=Ba(e)?j(e):e;if(!za(t))throw new Error("Expected validator to return Promise or Observable.");return t}function DA(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function LA(e,t){return t.map(t=>t(e))}function TA(e){return e.map(e=>function(e){return!e.validate}(e)?e:t=>e.validate(t))}const AA={provide:rA,useExisting:ke(()=>EA),multi:!0};let EA=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(Ea(qo),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&Wa("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[Ho([AA])]}),e})();const IA={provide:rA,useExisting:ke(()=>YA),multi:!0};let PA=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),YA=(()=>{class e{constructor(e,t,i,n){this._renderer=e,this._elementRef=t,this._registry=i,this._injector=n,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(fA),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')}}return e.\u0275fac=function(t){return new(t||e)(Ea(qo),Ea(Wo),Ea(PA),Ea(fa))},e.\u0275dir=yt({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&Wa("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Ho([IA])]}),e})();const OA={provide:rA,useExisting:ke(()=>FA),multi:!0};let FA=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(Ea(qo),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&Wa("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[Ho([OA])]}),e})();const RA='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',NA='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',jA='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>';class HA{static controlParentException(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+RA)}static ngModelGroupException(){throw new Error(`formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n ${NA}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ${jA}`)}static missingFormException(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+RA)}static groupParentException(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+NA)}static arrayParentException(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <div formArrayName="cities">\n <div *ngFor="let city of cityArray.controls; index as i">\n <input [formControlName]="i">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')}static disabledAttrWarning(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n\n Example:\n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}static ngModelWarning(e){console.warn(`\n It looks like you're using ngModel on the same form field as ${e}.\n Support for using the ngModel input property and ngModelChange event with\n reactive form directives has been deprecated in Angular v6 and will be removed\n in a future version of Angular.\n\n For more information on this, see our API docs here:\n https://angular.io/api/forms/${"formControl"===e?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n `)}}const VA={provide:rA,useExisting:ke(()=>BA),multi:!0};let BA=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const i=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",i)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(Ea(qo),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&Wa("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Ho([VA])]}),e})();const zA={provide:rA,useExisting:ke(()=>WA),multi:!0};let WA=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const i=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(i.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const i=[];if(void 0!==t.selectedOptions){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const n=e.item(t),s=this._getOptionValue(n.value);i.push(s)}}else{const e=t.options;for(let t=0;t<e.length;t++){const n=e.item(t);if(n.selected){const e=this._getOptionValue(n.value);i.push(e)}}}this.value=i,e(i)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}return e.\u0275fac=function(t){return new(t||e)(Ea(qo),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&Wa("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[Ho([zA])]}),e})();function UA(e,t){return[...t.path,e]}function $A(e,t){e||JA(t,"Cannot find control with"),t.valueAccessor||JA(t,"No value accessor for form control with"),e.validator=CA.compose([e.validator,t.validator]),e.asyncValidator=CA.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(i=>{e._pendingValue=i,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&GA(e,t)})}(e,t),function(e,t){e.registerOnChange((e,i)=>{t.valueAccessor.writeValue(e),i&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&GA(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(e=>{t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())}),t._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())})}function GA(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function qA(e,t){null==e&&JA(t,"Cannot find control with"),e.validator=CA.compose([e.validator,t.validator]),e.asyncValidator=CA.composeAsync([e.asyncValidator,t.asyncValidator])}function KA(e){return JA(e,"There is no FormControl instance attached to form control element with")}function JA(e,t){let i;throw i=e.path.length>1?`path: '${e.path.join(" -> ")}'`:e.path[0]?`name: '${e.path}'`:"unspecified name attribute",new Error(`${t} ${i}`)}function QA(e){return null!=e?CA.compose(TA(e)):null}function ZA(e){return null!=e?CA.composeAsync(TA(e)):null}function XA(e,t){if(!e.hasOwnProperty("model"))return!1;const i=e.model;return!!i.isFirstChange()||!Object.is(t,i.currentValue)}const eE=[oA,FA,EA,BA,WA,YA];function tE(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function iE(e,t){if(!t)return null;Array.isArray(t)||JA(e,"Value accessor was not provided as an array for form control with");let i=void 0,n=void 0,s=void 0;return t.forEach(t=>{var r;t.constructor===dA?i=t:(r=t,eE.some(e=>r.constructor===e)?(n&&JA(e,"More than one built-in value accessor matches form control with"),n=t):(s&&JA(e,"More than one custom value accessor matches form control with"),s=t))}),s||n||i||(JA(e,"No valid value accessor for form control with"),null)}function nE(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}function sE(e){const t=aE(e)?e.validators:e;return Array.isArray(t)?QA(t):t||null}function rE(e,t){const i=aE(t)?t.asyncValidators:e;return Array.isArray(i)?ZA(i):i||null}function aE(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class oE{constructor(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this.validator=sE(e)}setAsyncValidators(e){this.asyncValidator=rE(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING";const t=MA(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>this.setErrors(t,{emitEvent:e}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(e){return function(e,t,i){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let n=e;return t.forEach(e=>{n=n instanceof cE?n.controls.hasOwnProperty(e)?n.controls[e]:null:n instanceof dE&&n.at(e)||null}),n}(this,e)}getError(e,t){const i=t?this.get(t):this;return i&&i.errors?i.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Gl,this.statusChanges=new Gl}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){aE(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class lE extends oE{constructor(e=null,t,i){super(sE(t),rE(i,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_forEachChild(e){}_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(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class cE extends oE{constructor(e,t,i){super(sE(t),rE(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(i=>{this._throwIfControlMissing(i),this.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((i,n)=>{i.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,i)=>(e[i]=t instanceof lE?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error(`Cannot find form control with name: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>e(this.controls[t],t))}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const t of Object.keys(this.controls)){const i=this.controls[t];if(this.contains(t)&&e(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(e,t,i)=>((t.enabled||this.disabled)&&(e[i]=t.value),e))}_reduceChildren(e,t){let i=e;return this._forEachChild((e,n)=>{i=t(i,e,n)}),i}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,i)=>{if(void 0===e[i])throw new Error(`Must supply a value for form control with name: '${i}'.`)})}}class dE extends oE{constructor(e,t,i){super(sE(t),rE(i,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,i)=>{this._throwIfControlMissing(i),this.at(i).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,i)=>{this.at(i)&&this.at(i).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((i,n)=>{i.reset(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof lE?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}_forEachChild(e){this.controls.forEach((t,i)=>{e(t,i)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,i)=>{if(void 0===e[i])throw new Error(`Must supply a value for form control at index: ${i}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const hE={provide:uA,useExisting:ke(()=>mE)},uE=(()=>Promise.resolve(null))();let mE=(()=>{class e extends uA{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new Gl,this.form=new cE({},QA(e),ZA(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){uE.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),$A(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){uE.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),nE(this._directives,e)})}addFormGroup(e){uE.then(()=>{const t=this._findContainer(e.path),i=new cE({});qA(i,e),t.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){uE.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){uE.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,tE(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(Ea(wA,10),Ea(kA,10))},e.\u0275dir=yt({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&Wa("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ho([hE]),Lo]}),e})(),pE=(()=>{class e extends uA{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return UA(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return QA(this._validators)}get asyncValidator(){return ZA(this._asyncValidators)}_checkParentType(){}}return e.\u0275fac=function(t){return fE(t||e)},e.\u0275dir=yt({type:e,features:[Lo]}),e})();const fE=fn(pE);class gE{static modelParentException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup's partner directive "formControlName" instead. Example:\n\n ${RA}\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n `)}static formGroupNameException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ${NA}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${jA}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}static modelGroupParentException(){throw new Error(`\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ${NA}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${jA}`)}}const _E={provide:uA,useExisting:ke(()=>yE)};let yE=(()=>{class e extends pE{constructor(e,t,i){super(),this._parent=e,this._validators=t,this._asyncValidators=i}_checkParentType(){this._parent instanceof e||this._parent instanceof mE||gE.modelGroupParentException()}}return e.\u0275fac=function(t){return new(t||e)(Ea(uA,5),Ea(wA,10),Ea(kA,10))},e.\u0275dir=yt({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[Ho([_E]),Lo]}),e})();const bE={provide:fA,useExisting:ke(()=>wE)},vE=(()=>Promise.resolve(null))();let wE=(()=>{class e extends fA{constructor(e,t,i,n){super(),this.control=new lE,this._registered=!1,this.update=new Gl,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=i||[],this.valueAccessor=iE(this,n)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),XA(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?UA(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return QA(this._rawValidators)}get asyncValidator(){return ZA(this._rawAsyncValidators)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_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(){$A(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof yE)&&this._parent instanceof pE?gE.formGroupNameException():this._parent instanceof yE||this._parent instanceof mE||gE.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||gE.missingNameException()}_updateValue(e){vE.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,i=""===t||t&&"false"!==t;vE.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(Ea(uA,9),Ea(wA,10),Ea(kA,10),Ea(rA,10))},e.\u0275dir=yt({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ho([bE]),Lo,Et]}),e})(),kE=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const xE=new Re("NgModelWithFormControlWarning"),CE={provide:uA,useExisting:ke(()=>SE)};let SE=(()=>{class e extends uA{constructor(e,t){super(),this._validators=e,this._asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new Gl}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return $A(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){nE(this.directives,e)}addFormGroup(e){const t=this.form.get(e.path);qA(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormGroup(e){}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){const t=this.form.get(e.path);qA(t,e),t.updateValueAndValidity({emitEvent:!1})}removeFormArray(e){}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,tE(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=this.form.get(e.path);e.control!==t&&(function(e,t){t.valueAccessor.registerOnChange(()=>KA(t)),t.valueAccessor.registerOnTouched(()=>KA(t)),t._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(e.control,e),t&&$A(t,e),e.control=t)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const e=QA(this._validators);this.form.validator=CA.compose([this.form.validator,e]);const t=ZA(this._asyncValidators);this.form.asyncValidator=CA.composeAsync([this.form.asyncValidator,t])}_checkFormPresent(){this.form||HA.missingFormException()}}return e.\u0275fac=function(t){return new(t||e)(Ea(wA,10),Ea(kA,10))},e.\u0275dir=yt({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&Wa("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ho([CE]),Lo,Et]}),e})();const ME={provide:uA,useExisting:ke(()=>DE)};let DE=(()=>{class e extends pE{constructor(e,t,i){super(),this._parent=e,this._validators=t,this._asyncValidators=i}_checkParentType(){AE(this._parent)&&HA.groupParentException()}}return e.\u0275fac=function(t){return new(t||e)(Ea(uA,13),Ea(wA,10),Ea(kA,10))},e.\u0275dir=yt({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[Ho([ME]),Lo]}),e})();const LE={provide:uA,useExisting:ke(()=>TE)};let TE=(()=>{class e extends uA{constructor(e,t,i){super(),this._parent=e,this._validators=t,this._asyncValidators=i}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return UA(null==this.name?this.name:this.name.toString(),this._parent)}get validator(){return QA(this._validators)}get asyncValidator(){return ZA(this._asyncValidators)}_checkParentType(){AE(this._parent)&&HA.arrayParentException()}}return e.\u0275fac=function(t){return new(t||e)(Ea(uA,13),Ea(wA,10),Ea(kA,10))},e.\u0275dir=yt({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[Ho([LE]),Lo]}),e})();function AE(e){return!(e instanceof DE||e instanceof SE||e instanceof TE)}const EE={provide:fA,useExisting:ke(()=>IE)};let IE=(()=>{class e extends fA{constructor(e,t,i,n,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new Gl,this._ngModelWarningSent=!1,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=i||[],this.valueAccessor=iE(this,n)}set isDisabled(e){HA.disabledAttrWarning()}ngOnChanges(t){var i,n;this._added||this._setUpControl(),XA(t,this.viewModel)&&("formControlName",i=e,this,n=this._ngModelWarningConfig,En()&&"never"!==n&&((null!==n&&"once"!==n||i._ngModelWarningSentOnce)&&("always"!==n||this._ngModelWarningSent)||(HA.ngModelWarning("formControlName"),i._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return UA(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return QA(this._rawValidators)}get asyncValidator(){return ZA(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof DE)&&this._parent instanceof pE?HA.ngModelGroupException():this._parent instanceof DE||this._parent instanceof SE||this._parent instanceof TE||HA.controlParentException()}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(Ea(uA,13),Ea(wA,10),Ea(kA,10),Ea(rA,10),Ea(xE,8))},e.\u0275dir=yt({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Ho([EE]),Lo,Et]}),e._ngModelWarningSentOnce=!1,e})();const PE={provide:wA,useExisting:ke(()=>YE),multi:!0};let YE=(()=>{class e{constructor(){this._required=!1}get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&""+e!="false",this._onChange&&this._onChange()}validate(e){return this.required?CA.required(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&Da("required",t.required?"":null)},inputs:{required:"required"},features:[Ho([PE])]}),e})(),OE=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})(),FE=(()=>{class e{group(e,t=null){const i=this._reduceControls(e);let n=null,s=null,r=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(n=null!=t.validators?t.validators:null,s=null!=t.asyncValidators?t.asyncValidators:null,r=null!=t.updateOn?t.updateOn:void 0):(n=null!=t.validator?t.validator:null,s=null!=t.asyncValidator?t.asyncValidator:null)),new cE(i,{asyncValidators:s,updateOn:r,validators:n})}control(e,t,i){return new lE(e,t,i)}array(e,t,i){const n=e.map(e=>this._createControl(e));return new dE(n,t,i)}_reduceControls(e){const t={};return Object.keys(e).forEach(i=>{t[i]=this._createControl(e[i])}),t}_createControl(e){return e instanceof lE||e instanceof cE||e instanceof dE?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),RE=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[PA],imports:[OE]}),e})(),NE=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:xE,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[FE,PA],imports:[OE]}),e})(),jE=(()=>{class e{constructor(e,t){this.httpClient=e,this.router=t,this.userSubject=new $h(JSON.parse(localStorage.getItem("currentUser"))),this.currentUser=this.userSubject.asObservable()}get currentUserValue(){return this.userSubject.value}set currentUserValue(e){localStorage.removeItem("currentUser"),this.userSubject.next(null)}login(e,t){return this.httpClient.post($C.settings.apiServer.backend+"auth/login",{email:e,password:t}).pipe(O(e=>(window.localStorage.setItem("currentUser",JSON.stringify(e.value)),this.userSubject.next(e.value),e)))}logout(){localStorage.removeItem("currentUser"),localStorage.removeItem("selectedStore"),this.userSubject.next(null)}getStores(){return this.httpClient.get($C.settings.apiServer.backend+"auth/stores/").pipe(O(e=>e))}getStore(e){return this.httpClient.get($C.settings.apiServer.backend+"auth/store/"+e).pipe(O(e=>e))}}return e.\u0275fac=function(t){return new(t||e)(Ge(AC),Ge(sf))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const HE=[{title:"Zustand",selects:[{title:"Besch\xe4digung",adPropertyKey:"damageUnrepaired",adPropertyType:"boolean",required:!0},{title:"Unfallfahrzeug",adPropertyKey:"accidentDamage",adPropertyType:"boolean"},{title:"Hagelschaden",adPropertyKey:"damageByHail",adPropertyType:"boolean"}]},{title:"Innenausstattung",features:["POWER_ASSISTED_STEERING","AUXILIARY_HEATING","CENTRAL_LOCKING","ELECTRIC_WINDOWS","ELECTRIC_EXTERIOR_MIRRORS","ELECTRIC_TAILGATE","KEYLESS_ENTRY","ARM_REST","AMBIENT_LIGHTING","DIMMING_INTERIOR_MIRROR","CARGO_BARRIER"],selects:[{title:"Interior Typ",uri:"interiortypes",adPropertyKey:"interiorType",adPropertyType:"string"},{title:"Interior Farbe",uri:"interiorcolors",adPropertyKey:"interiorColor",adPropertyType:"string"},{title:"Klimatisierung",uri:"climatisations",adPropertyKey:"climatisation",adPropertyType:"string"}]},{title:"Lenkrad",features:["MULTIFUNCTIONAL_WHEEL","LEATHER_STEERING_WHEEL","HEATED_STEERING_WHEEL","PADDLE_SHIFTERS"]},{title:"Au\xdfenausstattung",features:["SUNROOF","PANORAMIC_GLASS_ROOF","ROOFRAILS","HEATED_WINDSHIELD","SKI_BAG"],selects:[{title:"Schiebet\xfcr",uri:"slidingdoortypes",adPropertyKey:"slidingDoorType",adPropertyType:"string"},{title:"Anh\xe4ngerkupplung",uri:"trailercouplingtypes",adPropertyKey:"trailerCouplingType",adPropertyType:"string"}]},{title:"Pakete",features:["SPORT_PACKAGE","WINTER_PACKAGE","SMOKERS_PACKAGE"]},{title:"R\xe4der & Fahrwerk",features:["ALLOY_WHEELS","PERFORMANCE_HANDLING_SYSTEM","TIRE_PRESSURE_MONITORING","AIR_SUSPENSION","STEEL_WHEELS","SUMMER_TIRES","WINTER_TIRES","ALL_SEASON_TIRES"],selects:[{title:"Pannenhilfe",uri:"breakdownservices",adPropertyKey:"breakdownService",adPropertyType:"string"}]},{title:"Multimedia",features:["TV","SOUND_SYSTEM","CD_PLAYER","CD_MULTICHANGER","BLUETOOTH","USB","TOUCHSCREEN","WIFI_HOTSPOT","CARPLAY","ANDROID_AUTO","WIRELESS_CHARGING","INTEGRATED_MUSIC_STREAMING"],selects:[{title:"Radio",uri:"radiotypes",adPropertyKey:"radio",adPropertyType:"array"}]},{title:"Assistenzsysteme",features:["VOICE_CONTROL","HILL_START_ASSIST","NAVIGATION_SYSTEM","HEAD_UP_DISPLAY","HANDS_FREE_PHONE_SYSTEM","ON_BOARD_COMPUTER","NIGHT_VISION_ASSIST","COLLISION_AVOIDANCE","LANE_DEPARTURE_WARNING","BLIND_SPOT_MONITOR","FATIGUE_WARNING_SYSTEM","TRAFFIC_SIGN_RECOGNITION","DISTANCE_WARNING_SYSTEM","SPEED_LIMITER","HIGH_BEAM_ASSIST","DIGITAL_COCKPIT"],selects:[{title:"Tempomat",uri:"speedcontrols",adPropertyKey:"speedControl",adPropertyType:"string"}]},{title:"Einparkhilfe",selects:[{title:"Einparkhilfe",uri:"parkingassistants",adPropertyKey:"parkingAssistants",adPropertyType:"array"}]},{title:"Sitze",features:["ELECTRIC_HEATED_SEATS","ELECTRIC_ADJUSTABLE_SEATS","SPORT_SEATS","MASSAGE_SEATS","ELECTRIC_HEATED_REAR_SEATS","ELECTRIC_BACKSEAT_ADJUSTMENT","VENTILATED_SEATS","LUMBAR_SUPPORT","FOLD_FLAT_PASSENGER_SEAT"]},{title:"Extras",features:["TAXI","DISABLED_ACCESSIBLE","WARRANTY","FULL_SERVICE_HISTORY","NONSMOKER_VEHICLE","EXPORT"],selects:[{title:"Qualit\xe4tssiegel",uri:"usedcarseals",site:"GERMANY",adPropertyKey:"usedCarSeal",adPropertyType:"string"}]},{title:"Sicherheit & Umwelt",features:["ABS","ESP","TRACTION_CONTROL_SYSTEM","E10_ENABLED","FOUR_WHEEL_DRIVE","PARTICULATE_FILTER_DIESEL","AUTOMATIC_RAIN_SENSOR","IMMOBILIZER","BIODIESEL_SUITABLE","START_STOP_SYSTEM","ALARM_SYSTEM","HU_AU_NEU","EMERGENCY_CALL_SYSTEM","ISOFIX","PASSENGER_SEAT_ISOFIX_POINT","VEGETABLEOILFUEL_SUITABLE"],selects:[{title:"Schadstoffklasse",uri:"emissionclasses",adPropertyKey:"emissionClass",adPropertyType:"string"},{title:"Umweltplakete",uri:"emissionstickers",adPropertyKey:"emissionSticker",adPropertyType:"string"}]},{title:"Licht & Scheinwerfer",features:["FRONT_FOG_LIGHTS","LIGHT_SENSOR","GLARE_FREE_HIGH_BEAM","HEADLIGHT_WASHER_SYSTEM"],selects:[{title:"Scheinwerfer",uri:"headlighttypes",adPropertyKey:"headlightType",adPropertyType:"string"},{title:"Kurvenlicht",uri:"bendinglightstypes",adPropertyKey:"bendingLightsType",adPropertyType:"string"}]},{title:"Airbags",selects:[{title:"Airbags",uri:"airbags",adPropertyKey:"airbag",adPropertyType:"string"}]}];let VE=(()=>{class e{constructor(e){this.httpClient=e}getRefdata(e){return this.httpClient.get(`${$C.settings.apiServer.backend}refdata/${e}`)}getSiteIndependentRefdata(e,t=null){return t?Uh({getRequest:this.httpClient.get(`${$C.settings.apiServer.backend}refdata/\n\t\t\t\t\tsiteindependent/${e}`),featureCatObject:t}):this.httpClient.get(`${$C.settings.apiServer.backend}refdata/\n\t\t\t\tsiteindependent/${e}`)}getRefDataForVehicleClass(e,t){return this.httpClient.get(`${$C.settings.apiServer.backend}refdata/\n\t\t\t${e}/${t}`)}getRefDataForVehicleClassAndMaker(e,t,i){return this.httpClient.get(`${$C.settings.apiServer.backend}refdata/\n\t\t\t${e}/${t}/${i}`)}getRefdataModels4Modelgroup(e,t,i){return this.httpClient.get(`${$C.settings.apiServer.backend}refdata/models/\n\t\t\tmodelgroup/${e}/${t}/${i}`)}getRefdata4Model(e,t,i,n){return this.httpClient.get(`${$C.settings.apiServer.backend}\n\t\t\trefdata/${e}/${t}/${i}/${n}`)}}return e.\u0275fac=function(t){return new(t||e)(Ge(AC))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),BE=(()=>{class e{constructor(e,t){this.httpClient=e,this.refdataService=t,this.httpOptions={headers:new gC({"Access-Control-Allow-Origin":"*"})}}createAd(e,t,i){return console.log("service createAd: ",e),console.log("system: ",t),this.httpClient.post($C.settings.apiServer.backend+"mobile-de/seller-api/sellers/ad",{ad:e,system:t,images:i})}saveAdAsDarmasAd(e,t,i){const n={ad:e,system:t,images:i};return console.log(n),this.httpClient.post($C.settings.apiServer.backend+"mobile-de/seller-api/sellers/darmas/ad",n)}updateAd(e,t,i,n=null){return this.httpClient.put($C.settings.apiServer.backend+"mobile-de/seller-api/sellers/darmas/ad",{ad:e,system:t,images:i,options:n})}deleteAdFromMobileDe(e,t=null){let i="";return i=t?$C.settings.apiServer.backend+"mobile-de/seller-api/sellers/ad/"+e+"/store/"+t:$C.settings.apiServer.backend+"mobile-de/seller-api/sellers/ad/"+e,this.httpClient.delete(i)}archiveDarmasAd(e){return this.httpClient.delete($C.settings.apiServer.backend+"mobile-de/seller-api/sellers/darmas/ad/"+e)}getAllAdsForSeller(){return this.httpClient.get($C.settings.apiServer.backend+"\n\t\t\t\tmobile-de/seller-api/sellers/show/ads")}getAllAdsForSpecifiedStore(e){return this.httpClient.get(`${$C.settings.apiServer.backend}\n\t\t\t\tmobile-de/seller-api/sellers/show/ads/${e}`)}getAllAdsForCarixAccount(e,t,i){return this.httpClient.get(`${$C.settings.apiServer.backend}\n\t\t\t\tmobile-de/seller-api/export/carix/username/\n\t\t\t\t${e}/password/${t}/mobileSellerId/\n\t\t\t\t${i}`)}importAdsIntoSystem(e,t){return this.httpClient.post(`${$C.settings.apiServer.backend}\n\t\t\t\tmobile-de/seller-api/import/ads/storeId/\n\t\t\t\t${t}`,e)}getAllDarmasAdsForSeller(){return this.httpClient.get($C.settings.apiServer.backend+"\n\t\t\t\tmobile-de/seller-api/sellers/get/darmas/ads")}getAllDarmasAdsForSpecifiedStore(e){return this.httpClient.get(`${$C.settings.apiServer.backend}\n\t\t\t\tmobile-de/seller-api/sellers/get/darmas/ads\n\t\t\t\t/${e}`)}getDarmasAd(e){return this.httpClient.get(`${$C.settings.apiServer.backend}\n\t\t\t\tmobile-de/seller-api/sellers/get/darmas/ad/\n\t\t\t\t${e}`)}getDarmasAdIdForMobileAdId(e){return this.httpClient.get(`${$C.settings.apiServer.backend}\n\t\t\t\tmobile-de/seller-api/mobileAdId/${e}/get/darmas/ad/id`)}transformKeyToCamelCase(e){const t=e.split("_");let i=0,n="";if("NONSMOKER_VEHICLE"===e)n="nonSmokerVehicle";else for(const s of t){let e=s.toLowerCase();i>0&&(e=this.capitalizeFirstLetter(e)),n+=e,i++}return n}capitalizeFirstLetter(e){return e.charAt(0).toUpperCase()+e.slice(1)}getCarixOderedArraysForFeatures(e,t="Car"){const i={};for(const n of HE){const e={};if(e.title=n.title,i[e.title]=e,n.features&&(e.features=new Array),n.selects){for(const e of n.selects){const t=e;t.uri&&(t.options=this.refdataService.getSiteIndependentRefdata(t.uri,n))}e.selects=n.selects}}for(const n of e)for(const e of HE){const t=e.title,s=e.features;if(s)for(const e of s)e===n.name&&i[t].features.push(n)}return i}}return e.\u0275fac=function(t){return new(t||e)(Ge(AC),Ge(VE))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const zE=["underline"],WE=["connectionContainer"],UE=["inputContainer"],$E=["label"];function GE(e,t){1&e&&(Na(0),Oa(1,"div",14),Ra(2,"div",15),Ra(3,"div",16),Ra(4,"div",17),Fa(),Oa(5,"div",18),Ra(6,"div",15),Ra(7,"div",16),Ra(8,"div",17),Fa(),ja())}function qE(e,t){1&e&&(Oa(0,"div",19),Za(1,1),Fa())}function KE(e,t){if(1&e&&(Na(0),Za(1,2),Oa(2,"span"),vo(3),Fa(),ja()),2&e){const e=Ka(2);Cs(3),wo(e._control.placeholder)}}function JE(e,t){1&e&&Za(0,3,["*ngSwitchCase","true"])}function QE(e,t){1&e&&(Oa(0,"span",23),vo(1," *"),Fa())}function ZE(e,t){if(1&e){const e=Va();Oa(0,"label",20,21),Wa("cdkObserveContent",(function(){return ii(e),Ka().updateOutlineGap()})),Ta(2,KE,4,1,"ng-container",12),Ta(3,JE,1,0,"ng-content",12),Ta(4,QE,2,0,"span",22),Fa()}if(2&e){const e=Ka();oo("mat-empty",e._control.empty&&!e._shouldAlwaysFloat)("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat)("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),Pa("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Da("for",e._control.id)("aria-owns",e._control.id),Cs(2),Pa("ngSwitchCase",!1),Cs(1),Pa("ngSwitchCase",!0),Cs(1),Pa("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function XE(e,t){1&e&&(Oa(0,"div",24),Za(1,4),Fa())}function eI(e,t){if(1&e&&(Oa(0,"div",25,26),Ra(2,"span",27),Fa()),2&e){const e=Ka();Cs(2),oo("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function tI(e,t){1&e&&(Oa(0,"div"),Za(1,5),Fa()),2&e&&Pa("@transitionMessages",Ka()._subscriptAnimationState)}function iI(e,t){if(1&e&&(Oa(0,"div",31),vo(1),Fa()),2&e){const e=Ka(2);Pa("id",e._hintLabelId),Cs(1),wo(e.hintLabel)}}function nI(e,t){if(1&e&&(Oa(0,"div",28),Ta(1,iI,2,2,"div",29),Za(2,6),Ra(3,"div",30),Za(4,7),Fa()),2&e){const e=Ka();Pa("@transitionMessages",e._subscriptAnimationState),Cs(1),Pa("ngIf",e.hintLabel)}}const sI=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],rI=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let aI=0,oI=(()=>{class e{constructor(){this.id="mat-error-"+aI++}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&Da("id",t.id)},inputs:{id:"id"}}),e})();const lI={transitionMessages:yy("transitionMessages",[xy("enter",ky({opacity:1,transform:"translateY(0%)"})),Sy("void => enter",[ky({opacity:0,transform:"translateY(-100%)"}),by("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let cI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e}),e})();function dI(e){return Error(`A hint was already declared for 'align="${e}"'.`)}let hI=0,uI=(()=>{class e{constructor(){this.align="start",this.id="mat-hint-"+hI++}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(Da("id",t.id)("align",null),oo("mat-right","end"==t.align))},inputs:{align:"align",id:"id"}}),e})(),mI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-label"]]}),e})(),pI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-placeholder"]]}),e})(),fI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["","matPrefix",""]]}),e})(),gI=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["","matSuffix",""]]}),e})(),_I=0;class yI{constructor(e){this._elementRef=e}}const bI=Qv(yI,"primary"),vI=new Re("MAT_FORM_FIELD_DEFAULT_OPTIONS"),wI=new Re("MatFormField");let kI=(()=>{class e extends bI{constructor(e,t,i,n,s,r,a,o){super(e),this._elementRef=e,this._changeDetectorRef=t,this._dir=n,this._defaults=s,this._platform=r,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new x,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+_I++,this._labelId="mat-form-field-label-"+_I++,this._labelOptions=i||{},this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==o,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Df(e)}get _shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}get _canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}get _labelChild(){return this._labelChildNonStatic||this._labelChildStatic}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(Pu(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(rg(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(rg(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),U(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Pu(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Pu(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(rg(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(e){const t=this._control?this._control.ngControl:null;return t&&t[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!!this._labelChild}_shouldLabelFloat(){return this._canLabelFloat&&(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,Pf(this._label.nativeElement,"transitionend").pipe(bu(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){if(this._hintChildren){let e,t;this._hintChildren.forEach(i=>{if("start"===i.align){if(e||this.hintLabel)throw dI("start");e=i}else if("end"===i.align){if(t)throw dI("end");t=i}})}}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if("hint"===this._getDisplayedMessages()){const t=this._hintChildren?this._hintChildren.find(e=>"start"===e.align):null,i=this._hintChildren?this._hintChildren.find(e=>"end"===e.align):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),i&&e.push(i.id)}else this._errorChildren&&(e=this._errorChildren.map(e=>e.id));this._control.setDescribedByIds(e)}}_validateControlChild(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}updateOutlineGap(){const e=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!e||!e.children.length||!e.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let t=0,i=0;const n=this._connectionContainerRef.nativeElement,s=n.querySelectorAll(".mat-form-field-outline-start"),r=n.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const s=n.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const r=this._getStartEnd(s),a=this._getStartEnd(e.children[0].getBoundingClientRect());let o=0;for(const t of e.children)o+=t.offsetWidth;t=Math.abs(a-r)-5,i=o>0?.75*o+10:0}for(let a=0;a<s.length;a++)s[a].style.width=t+"px";for(let a=0;a<r.length;a++)r[a].style.width=i+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}_isAttachedToDOM(){const e=this._elementRef.nativeElement;if(e.getRootNode){const t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Zr),Ea(Vw,8),Ea(Eg,8),Ea(vI,8),Ea(vg),Ea(Rc),Ea(Hv,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-form-field"]],contentQueries:function(e,t,i){var n;1&e&&(lc(i,cI,!0),cc(i,cI,!0),lc(i,mI,!0),cc(i,mI,!0),lc(i,pI,!0),lc(i,oI,!0),lc(i,uI,!0),lc(i,fI,!0),lc(i,gI,!0)),2&e&&(sc(n=hc())&&(t._controlNonStatic=n.first),sc(n=hc())&&(t._controlStatic=n.first),sc(n=hc())&&(t._labelChildNonStatic=n.first),sc(n=hc())&&(t._labelChildStatic=n.first),sc(n=hc())&&(t._placeholderChild=n.first),sc(n=hc())&&(t._errorChildren=n),sc(n=hc())&&(t._hintChildren=n),sc(n=hc())&&(t._prefixChildren=n),sc(n=hc())&&(t._suffixChildren=n))},viewQuery:function(e,t){var i;1&e&&(ac(zE,!0),rc(WE,!0),ac(UE,!0),ac($E,!0)),2&e&&(sc(i=hc())&&(t.underlineRef=i.first),sc(i=hc())&&(t._connectionContainerRef=i.first),sc(i=hc())&&(t._inputContainerRef=i.first),sc(i=hc())&&(t._label=i.first))},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(e,t){2&e&&oo("mat-form-field-appearance-standard","standard"==t.appearance)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-appearance-legacy","legacy"==t.appearance)("mat-form-field-invalid",t._control.errorState)("mat-form-field-can-float",t._canLabelFloat)("mat-form-field-should-float",t._shouldLabelFloat())("mat-form-field-has-label",t._hasFloatingLabel())("mat-form-field-hide-placeholder",t._hideControlPlaceholder())("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-focused",t._control.focused)("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))("_mat-animation-noopable",!t._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Ho([{provide:wI,useExisting:e}]),Lo],ngContentSelectors:rI,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,t){1&e&&(Qa(sI),Oa(0,"div",0),Oa(1,"div",1,2),Wa("click",(function(e){return t._control.onContainerClick&&t._control.onContainerClick(e)})),Ta(3,GE,9,0,"ng-container",3),Ta(4,qE,2,0,"div",4),Oa(5,"div",5,6),Za(7),Oa(8,"span",7),Ta(9,ZE,5,16,"label",8),Fa(),Fa(),Ta(10,XE,2,0,"div",9),Fa(),Ta(11,eI,3,4,"div",10),Oa(12,"div",11),Ta(13,tI,2,1,"div",12),Ta(14,nI,5,2,"div",13),Fa(),Fa()),2&e&&(Cs(3),Pa("ngIf","outline"==t.appearance),Cs(1),Pa("ngIf",t._prefixChildren.length),Cs(5),Pa("ngIf",t._hasFloatingLabel()),Cs(1),Pa("ngIf",t._suffixChildren.length),Cs(1),Pa("ngIf","outline"!=t.appearance),Cs(1),Pa("ngSwitch",t._getDisplayedMessages()),Cs(1),Pa("ngSwitchCase","error"),Cs(1),Pa("ngSwitchCase","hint"))},directives:[$d,Jd,Qd,B_],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[lI.transitionMessages]},changeDetection:0}),e})(),xI=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,Kv,z_],Kv]}),e})();const CI=Dg({passive:!0});let SI=(()=>{class e{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Zh;const t=If(e),i=this._monitoredElements.get(t);if(i)return i.subject.asObservable();const n=new x,s="cdk-text-field-autofilled",r=e=>{"cdk-text-field-autofill-start"!==e.animationName||t.classList.contains(s)?"cdk-text-field-autofill-end"===e.animationName&&t.classList.contains(s)&&(t.classList.remove(s),this._ngZone.run(()=>n.next({target:e.target,isAutofilled:!1}))):(t.classList.add(s),this._ngZone.run(()=>n.next({target:e.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",r,CI),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:n,unlisten:()=>{t.removeEventListener("animationstart",r,CI)}}),n.asObservable()}stopMonitoring(e){const t=If(e),i=this._monitoredElements.get(t);i&&(i.unlisten(),i.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}}return e.\u0275fac=function(t){return new(t||e)(Ge(vg),Ge(Rc))},e.\u0275prov=ce({factory:function(){return new e(Ge(vg),Ge(Rc))},token:e,providedIn:"root"}),e})(),MI=(()=>{class e{constructor(e,t,i,n){this._elementRef=e,this._platform=t,this._ngZone=i,this._destroyed=new x,this._enabled=!0,this._previousMinRows=-1,this._document=n,this._textareaElement=this._elementRef.nativeElement,this._measuringClass=t.FIREFOX?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring"}get minRows(){return this._minRows}set minRows(e){this._minRows=Lf(e),this._setMinHeight()}get maxRows(){return this._maxRows}set maxRows(e){this._maxRows=Lf(e),this._setMaxHeight()}get enabled(){return this._enabled}set enabled(e){e=Df(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}_setMinHeight(){const e=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.minHeight=e)}_setMaxHeight(){const e=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;e&&(this._textareaElement.style.maxHeight=e)}ngAfterViewInit(){this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(()=>{Pf(this._getWindow(),"resize").pipe(sg(16),rg(this._destroyed)).subscribe(()=>this.resizeToFitContent(!0))}))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_cacheTextareaLineHeight(){if(this._cachedLineHeight)return;let e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,this._textareaElement.parentNode.removeChild(e),this._setMinHeight(),this._setMaxHeight()}ngDoCheck(){this._platform.isBrowser&&this.resizeToFitContent()}resizeToFitContent(e=!1){if(!this._enabled)return;if(this._cacheTextareaLineHeight(),!this._cachedLineHeight)return;const t=this._elementRef.nativeElement,i=t.value;if(!e&&this._minRows===this._previousMinRows&&i===this._previousValue)return;const n=t.placeholder;t.classList.add(this._measuringClass),t.placeholder="",t.style.height=t.scrollHeight-4+"px",t.classList.remove(this._measuringClass),t.placeholder=n,this._ngZone.runOutsideAngular(()=>{"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(()=>this._scrollToCaretPosition(t)):setTimeout(()=>this._scrollToCaretPosition(t))}),this._previousValue=i,this._previousMinRows=this._minRows}reset(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}_noopInputHandler(){}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollToCaretPosition(e){const{selectionStart:t,selectionEnd:i}=e,n=this._getDocument();this._destroyed.isStopped||n.activeElement!==e||e.setSelectionRange(t,i)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(vg),Ea(Rc),Ea(pd,8))},e.\u0275dir=yt({type:e,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,t){1&e&&Wa("input",(function(){return t._noopInputHandler()}))},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"]},exportAs:["cdkTextareaAutosize"]}),e})(),DI=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[wg]]}),e})();const LI=new Re("MAT_INPUT_VALUE_ACCESSOR"),TI=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let AI=0;class EI{constructor(e,t,i,n){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=i,this.ngControl=n}}const II=ew(EI);let PI=(()=>{class e extends II{constructor(e,t,i,n,s,r,a,o,l){super(r,n,s,i),this._elementRef=e,this._platform=t,this.ngControl=i,this._autofillMonitor=o,this._uid="mat-input-"+AI++,this.focused=!1,this.stateChanges=new x,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(e=>xg().has(e));const c=this._elementRef.nativeElement,d=c.nodeName.toLowerCase();this._inputValueAccessor=a||c,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&l.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",e=>{let t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===d,this._isTextarea="textarea"===d,this._isNativeSelect&&(this.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Df(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required}set required(e){this._required=Df(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&xg().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Df(e)}ngOnInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.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()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){if(TI.indexOf(this._type)>-1)throw Error(`Input type "${this._type}" isn't supported by matInput.`)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focused||this.focus()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(vg),Ea(fA,10),Ea(mE,8),Ea(SE,8),Ea(fw),Ea(LI,10),Ea(SI),Ea(Rc))},e.\u0275dir=yt({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(e,t){1&e&&Wa("focus",(function(){return t._focusChanged(!0)}))("blur",(function(){return t._focusChanged(!1)}))("input",(function(){return t._onInput()})),2&e&&(So("disabled",t.disabled)("required",t.required),Da("id",t.id)("placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-describedby",t._ariaDescribedby||null)("aria-invalid",t.errorState)("aria-required",t.required.toString()),oo("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[Ho([{provide:cI,useExisting:e}]),Lo,Et]}),e})(),YI=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[fw],imports:[[DI,xI],DI,xI]}),e})();function OI(e,t){if(1&e&&(Oa(0,"div",16),Oa(1,"span",6),vo(2," Anzahl exportierte Ads: "),Fa(),vo(3),Fa()),2&e){const e=Ka(2).$implicit,t=Ka();Cs(3),ko(" ",t.adsForStoreIdTable[e._id].exportedAdsCount," ")}}function FI(e,t){if(1&e&&(Oa(0,"div"),Oa(1,"span",6),vo(2," Importiert: "),Fa(),vo(3),Fa()),2&e){const e=Ka(2).$implicit,t=Ka();Cs(3),ko(" ",t.adsForStoreIdTable[e._id].importedIntoSystemCount," ")}}function RI(e,t){1&e&&Ra(0,"mat-spinner",19)}function NI(e,t){if(1&e){const e=Va();Oa(0,"button",17),Wa("click",(function(){ii(e);const t=Ka(2).$implicit;return Ka().exportAdsFromCarixAccount(t._id)})),Oa(1,"span"),vo(2,"Export from Carix"),Fa(),Ta(3,RI,1,0,"mat-spinner",18),Fa()}if(2&e){const e=Ka(3);Cs(3),Pa("ngIf",e.exportingAds)}}function jI(e,t){1&e&&Ra(0,"mat-spinner",19)}function HI(e,t){if(1&e){const e=Va();Oa(0,"button",20),Wa("click",(function(){ii(e);const t=Ka(2).$implicit;return Ka().importAdsIntoSystem(t._id)})),Oa(1,"span"),vo(2,"Import into mobile.dispo24.de"),Fa(),Ta(3,jI,1,0,"mat-spinner",18),Fa()}if(2&e){const e=Ka(3);Cs(3),Pa("ngIf",e.importingAds)}}function VI(e,t){if(1&e&&(Oa(0,"mat-card"),Oa(1,"div",3),vo(2),Fa(),Oa(3,"div",4),Oa(4,"div",5),Oa(5,"div"),Oa(6,"div",6),vo(7,"Alias:"),Fa(),vo(8),Fa(),Oa(9,"div",7),Oa(10,"div",6),vo(11," Mobile Seller Id: "),Fa(),vo(12),Fa(),Oa(13,"div"),Oa(14,"span",6),vo(15,"Store Id:"),Fa(),vo(16),Fa(),Ta(17,OI,4,1,"div",8),Ta(18,FI,4,1,"div",2),Fa(),Oa(19,"div",9),Oa(20,"h3"),vo(21,"Carix User data"),Fa(),Oa(22,"div",10),Oa(23,"mat-form-field"),Oa(24,"mat-label"),vo(25,"Username"),Fa(),Ra(26,"input",11),Fa(),Oa(27,"mat-form-field"),Oa(28,"mat-label"),vo(29,"Password"),Fa(),Ra(30,"input",12),Fa(),Oa(31,"mat-form-field"),Oa(32,"mat-label"),vo(33,"Mobile Seller Id"),Fa(),Ra(34,"input",13),Fa(),Fa(),Fa(),Oa(35,"div",5),Ta(36,NI,4,1,"button",14),Ta(37,HI,4,1,"button",15),Fa(),Fa(),Fa()),2&e){const e=Ka().$implicit,t=Ka();Cs(2),ko(" ",e.title," "),Cs(6),ko(" ",e.alias," "),Cs(4),ko(" ",e.mobileSellerId," "),Cs(4),ko(" ",e._id," "),Cs(1),Pa("ngIf",t.adsForStoreIdTable&&t.adsForStoreIdTable[e._id]),Cs(1),Pa("ngIf",t.adsForStoreIdTable&&(null==t.adsForStoreIdTable[e._id]?null:t.adsForStoreIdTable[e._id].importedIntoSystem)),Cs(4),Pa("formGroup",t.dataForm),Cs(14),Pa("ngIf",!e.exportImportCarixDone),Cs(1),Pa("ngIf",t.adsForStoreIdTable&&t.adsForStoreIdTable[e._id])}}function BI(e,t){if(1&e&&(Na(0),Ta(1,VI,38,9,"mat-card",2),ja()),2&e){const e=t.$implicit;Cs(1),Pa("ngIf",""!==e.mobileSellerId)}}let zI=(()=>{class e{constructor(e,t){this.authService=e,this.mobileDeService=t,this.stores=[],this.adsForStoreIdTable={},this.exportingAds=!1,this.importingAds=!1,this.dataForm=new cE({username:new lE("API32",[CA.required]),password:new lE("API32pass1",[CA.required]),mobileSellerId:new lE("1232",[CA.required])})}ngOnInit(){this.authService.getStores().pipe(bu(1)).subscribe(e=>{console.log(e),this.stores=e})}exportAdsFromCarixAccount(e){const t=this.dataForm.value;console.log("VALUE FORM: ",t),""===t.username||""===t.password||""===t.mobileSellerId?console.log("All Carix fields need to be filled"):(this.exportingAds=!0,this.mobileDeService.getAllAdsForCarixAccount(t.username,t.password,t.mobileSellerId).pipe(bu(1)).subscribe(t=>{console.log("Carix ads: ",t),this.adsForStoreIdTable[e]={ads:t,exportedAdsCount:t.length,importedIntoSystem:!1,importedIntoSystemCount:0},this.exportingAds=!1}))}importAdsIntoSystem(e){this.adsForStoreIdTable[e]?(console.log("Importing into store with Id: ",e),this.importingAds=!0,this.mobileDeService.importAdsIntoSystem(this.adsForStoreIdTable[e].ads,e).pipe(bu(1)).subscribe(t=>{console.log("import result: ",t),this.adsForStoreIdTable[e].importedIntoSystem=!0,this.adsForStoreIdTable[e].importedIntoSystemCount=t.length,this.importingAds=!1})):console.log("No data to import")}}return e.\u0275fac=function(t){return new(t||e)(Ea(jE),Ea(BE))},e.\u0275cmp=ut({type:e,selectors:[["app-import"]],decls:2,vars:1,consts:[[1,"hm_wrapper"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"title"],["fxLayout","row","fxLayoutAlign","space-between"],["fxLayout","column"],[1,"lighter"],[1,"mobileSellerId"],["style","border-top: 1px solid #555; margin-top: 20px;",4,"ngIf"],["fyLayout","column"],["fxLayout","column",3,"formGroup"],["matInput","","type","text","autocomplete","off","formControlName","username"],["matInput","","type","text","autocomplete","off","formControlName","password"],["matInput","","type","text","autocomplete","off","formControlName","mobileSellerId"],["mat-raised-button","","color","accent",3,"click",4,"ngIf"],["mat-raised-button","","color","accent","style","margin-top: 10px;color: orange;",3,"click",4,"ngIf"],[2,"border-top","1px solid #555","margin-top","20px"],["mat-raised-button","","color","accent",3,"click"],["diameter","15","class","btnSpinner",4,"ngIf"],["diameter","15",1,"btnSpinner"],["mat-raised-button","","color","accent",2,"margin-top","10px","color","orange",3,"click"]],template:function(e,t){1&e&&(Oa(0,"div",0),Ta(1,BI,2,1,"ng-container",1),Fa()),2&e&&(Cs(1),Pa("ngForOf",t.stores))},directives:[Wd,$d,JT,uD,qD,yA,SE,kI,mI,PI,dA,_A,IE,nC,nS],styles:[".title[_ngcontent-%COMP%]{color:orange;font-size:20px;margin-bottom:10px;border-bottom:1px solid #555;padding-bottom:5px}.lighter[_ngcontent-%COMP%]{color:#888;font-size:smaller;min-width:80px;display:inline}.btnSpinner[_ngcontent-%COMP%]{margin:0 auto 10px}"]}),e})();function WI(e,t){1&e&&Ra(0,"mat-spinner",5),2&e&&Pa("diameter",18)}function UI(e,t){if(1&e&&(vo(0," Ad Template Images "),Ta(1,WI,1,1,"mat-spinner",4),Bl(2,"async")),2&e){const e=Ka();Cs(1),Pa("ngIf",zl(2,1,e.imagesProcessing$))}}let $I=(()=>{class e{constructor(e,t){this.navigationService=e,this.sharedDataService=t}ngOnInit(){this.navigationService.currentNavTitleValue="Admin Dashboard",this.imagesProcessing$=this.sharedDataService.imagesProcessing$}}return e.\u0275fac=function(t){return new(t||e)(Ea(P_),Ea(O_))},e.\u0275cmp=ut({type:e,selectors:[["app-admin"]],decls:10,vars:0,consts:[["label","User"],["label","Stores"],["mat-tab-label",""],["label","Import"],["style","margin-left: 10px;",3,"diameter",4,"ngIf"],[2,"margin-left","10px",3,"diameter"]],template:function(e,t){1&e&&(Oa(0,"mat-tab-group"),Oa(1,"mat-tab",0),Ra(2,"app-create-user"),Fa(),Oa(3,"mat-tab",1),Ra(4,"app-create-store"),Fa(),Oa(5,"mat-tab"),Ta(6,UI,3,3,"ng-template",2),Ra(7,"app-images"),Fa(),Oa(8,"mat-tab",3),Ra(9,"app-import"),Fa(),Fa())},directives:[xk,uk,WS,$S,ok,sA,zI,$d,nS],pipes:[rh],styles:[""]}),e})();var GI=function(e){return e[e.SuperAdmin=10]="SuperAdmin",e[e.OrganizationAdmin=7]="OrganizationAdmin",e[e.Manager=3]="Manager",e[e.Seller=1]="Seller",e}({});let qI=(()=>{class e{constructor(e,t){this.router=e,this.authenticationService=t}canActivate(e,t){const i=this.authenticationService.currentUserValue;return i?!(e.component instanceof $I&&i.role<GI.SuperAdmin):(this.authenticationService.currentUserValue=null,!1)}}return e.\u0275fac=function(t){return new(t||e)(Ge(sf),Ge(jE))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),KI=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ut({type:e,selectors:[["app-create-user"]],decls:2,vars:0,template:function(e,t){1&e&&(Oa(0,"p"),vo(1,"create-user works!"),Fa())},styles:[""]}),e})(),JI=(()=>{class e{constructor(){this.dataForm=new cE({}),this.onTouched=()=>{}}ngOnInit(){}writeValue(e){e&&this.dataForm.patchValue(e,{emitEvent:!1})}registerOnChange(e){this.dataForm.valueChanges.subscribe(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){e?this.dataForm.disable():this.dataForm.enable()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ut({type:e,selectors:[["app-base-value-accessor"]],decls:2,vars:0,template:function(e,t){1&e&&(Oa(0,"p"),vo(1,"TEST"),Fa())},encapsulation:2}),e})();const QI=["input"],ZI=function(){return{enterDuration:150}},XI=["*"],eP=new Re("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),tP=new Re("mat-checkbox-click-action");let iP=0;const nP={provide:rA,useExisting:ke(()=>oP),multi:!0};class sP{}class rP{constructor(e){this._elementRef=e}}const aP=Xv(Qv(Zv(Jv(rP))));let oP=(()=>{class e extends aP{constructor(e,t,i,n,s,r,a,o){super(e),this._changeDetectorRef=t,this._focusMonitor=i,this._ngZone=n,this._clickAction=r,this._animationMode=a,this._options=o,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++iP,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new Gl,this.indeterminateChange=new Gl,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||{},this._options.color&&(this.color=this._options.color),this.tabIndex=parseInt(s)||0,this._focusMonitor.monitor(e,!0).subscribe(e=>{e||Promise.resolve().then(()=>{this._onTouched(),t.markForCheck()})}),this._clickAction=this._clickAction||this._options.clickAction}get inputId(){return(this.id||this._uniqueId)+"-input"}get required(){return this._required}set required(e){this._required=Df(e)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const t=Df(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=e!=this._indeterminate;this._indeterminate=Df(e),t&&(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(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let t=this._currentCheckState,i=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&i.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){i.classList.add(this._currentAnimationClass);const e=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{i.classList.remove(e)},1e3)})}}_emitChangeEvent(){const e=new sP;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e)}toggle(){this.checked=!this.checked}_onInputClick(e){e.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(e="keyboard",t){this._focusMonitor.focusVia(this._inputElement,e,t)}_onInteractionEvent(e){e.stopPropagation()}_getAnimationClassForCheckStateTransition(e,t){if("NoopAnimations"===this._animationMode)return"";let i="";switch(e){case 0:if(1===t)i="unchecked-checked";else{if(3!=t)return"";i="unchecked-indeterminate"}break;case 2:i=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:i=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:i=1===t?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+i}_syncIndeterminate(e){const t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Zr),Ea(hy),Ea(Rc),Ia("tabindex"),Ea(tP,8),Ea(Hv,8),Ea(eP,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var i;1&e&&(ac(QI,!0),ac(Mw,!0)),2&e&&(sc(i=hc())&&(t._inputElement=i.first),sc(i=hc())&&(t.ripple=i.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(So("id",t.id),Da("tabindex",null),oo("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._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",value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Ho([nP]),Lo],ngContentSelectors:XI,decls:17,vars:19,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(e,t){if(1&e&&(Qa(),Oa(0,"label",0,1),Oa(2,"div",2),Oa(3,"input",3,4),Wa("change",(function(e){return t._onInteractionEvent(e)}))("click",(function(e){return t._onInputClick(e)})),Fa(),Oa(5,"div",5),Ra(6,"div",6),Fa(),Ra(7,"div",7),Oa(8,"div",8),Li(),Oa(9,"svg",9),Ra(10,"path",10),Fa(),Ti(),Ra(11,"div",11),Fa(),Fa(),Oa(12,"span",12,13),Wa("cdkObserveContent",(function(){return t._onLabelTextChange()})),Oa(14,"span",14),vo(15,"\xa0"),Fa(),Za(16),Fa(),Fa()),2&e){const e=Aa(1),i=Aa(13);Da("for",t.inputId),Cs(2),oo("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),Cs(1),Pa("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),Da("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked()),Cs(2),Pa("matRippleTrigger",e)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Ol(18,ZI))}},directives:[Mw,B_],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{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}.mat-checkbox.cdk-keyboard-focused .cdk-high-contrast-active .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{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}),e})(),lP=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})(),cP=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[Dw,Kv,z_,lP],Kv,lP]}),e})();const dP=["trigger"],hP=["panel"];function uP(e,t){if(1&e&&(Oa(0,"span",8),vo(1),Fa()),2&e){const e=Ka();Cs(1),wo(e.placeholder||"\xa0")}}function mP(e,t){if(1&e&&(Oa(0,"span"),vo(1),Fa()),2&e){const e=Ka(2);Cs(1),wo(e.triggerValue||"\xa0")}}function pP(e,t){1&e&&Za(0,0,["*ngSwitchCase","true"])}function fP(e,t){1&e&&(Oa(0,"span",9),Ta(1,mP,2,1,"span",10),Ta(2,pP,1,0,"ng-content",11),Fa()),2&e&&(Pa("ngSwitch",!!Ka().customTrigger),Cs(2),Pa("ngSwitchCase",!0))}function gP(e,t){if(1&e){const e=Va();Oa(0,"div",12),Oa(1,"div",13,14),Wa("@transformPanel.done",(function(t){return ii(e),Ka()._panelDoneAnimatingStream.next(t.toState)}))("keydown",(function(t){return ii(e),Ka()._handleKeydown(t)})),Za(3,1),Fa(),Fa()}if(2&e){const e=Ka();Pa("@transformPanelWrap",void 0),Cs(1),"mat-select-panel ",i=e._getPanelTheme(),"",ho(st,lo,La(ei(),"mat-select-panel ",i,""),!0),ao("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),Pa("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),Da("id",e.id+"-panel")}var i}const _P=[[["mat-select-trigger"]],"*"],yP=["mat-select-trigger","*"],bP={transformPanelWrap:yy("transformPanelWrap",[Sy("* => void",Dy("@transformPanel",[My()],{optional:!0}))]),transformPanel:yy("transformPanel",[xy("void",ky({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),xy("showing",ky({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),xy("showing-multiple",ky({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Sy("void => *",by("120ms cubic-bezier(0, 0, 0.2, 1)")),Sy("* => void",by("100ms 25ms linear",ky({opacity:0})))])};let vP=0;const wP=new Re("mat-select-scroll-strategy"),kP=new Re("MAT_SELECT_CONFIG"),xP={provide:wP,deps:[M_],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class CP{constructor(e,t){this.source=e,this.value=t}}class SP{constructor(e,t,i,n,s){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=i,this._parentFormGroup=n,this.ngControl=s}}const MP=Zv(Xv(Jv(ew(SP))));let DP=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-select-trigger"]]}),e})(),LP=(()=>{class e extends MP{constructor(e,t,i,n,s,r,a,o,l,c,d,h,u,m){super(s,n,a,o,c),this._viewportRuler=e,this._changeDetectorRef=t,this._ngZone=i,this._dir=r,this._parentFormField=l,this.ngControl=c,this._liveAnnouncer=u,this._panelOpen=!1,this._required=!1,this._scrollTop=0,this._multiple=!1,this._compareWith=(e,t)=>e===t,this._uid="mat-select-"+vP++,this._destroy=new x,this._triggerFontSize=0,this._onChange=()=>{},this._onTouched=()=>{},this._optionIds="",this._transformOrigin="top",this._panelDoneAnimatingStream=new x,this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],this._disableOptionCentering=!1,this._focused=!1,this.controlType="mat-select",this.ariaLabel="",this.optionSelectionChanges=eu(()=>{const e=this.options;return e?e.changes.pipe(Pu(e),Tu(()=>U(...e.map(e=>e.onSelectionChange)))):this._ngZone.onStable.asObservable().pipe(bu(1),Tu(()=>this.optionSelectionChanges))}),this.openedChange=new Gl,this._openedStream=this.openedChange.pipe(iu(e=>e),O(()=>{})),this._closedStream=this.openedChange.pipe(iu(e=>!e),O(()=>{})),this.selectionChange=new Gl,this.valueChange=new Gl,this.ngControl&&(this.ngControl.valueAccessor=this),this._scrollStrategyFactory=h,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(d)||0,this.id=this.id,m&&(null!=m.disableOptionCentering&&(this.disableOptionCentering=m.disableOptionCentering),null!=m.typeaheadDebounceInterval&&(this.typeaheadDebounceInterval=m.typeaheadDebounceInterval))}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required}set required(e){this._required=Df(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Df(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=Df(e)}get compareWith(){return this._compareWith}set compareWith(e){if("function"!=typeof e)throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){e!==this._value&&(this.writeValue(e),this._value=e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Lf(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new Yg(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Kf(),rg(this._destroy)).subscribe(()=>{this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(rg(this._destroy)).subscribe(()=>{this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(rg(this._destroy)).subscribe(e=>{e.added.forEach(e=>e.select()),e.removed.forEach(e=>e.deselect())}),this.options.changes.pipe(Pu(null),rg(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.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.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(bu(1)).subscribe(()=>{this._triggerFontSize&&this.overlayDir.overlayRef&&this.overlayDir.overlayRef.overlayElement&&(this.overlayDir.overlayRef.overlayElement.style.fontSize=this._triggerFontSize+"px")}))}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this.options&&this._setSelectionByValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,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 e=this._selectionModel.selected.map(e=>e.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const t=e.keyCode,i=40===t||38===t||37===t||39===t,n=13===t||32===t,s=this._keyManager;if(!s.isTyping()&&n&&!e_(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){const i=this.selected;36===t||35===t?(36===t?s.setFirstItemActive():s.setLastItemActive(),e.preventDefault()):s.onKeydown(e);const n=this.selected;n&&i!==n&&this._liveAnnouncer.announce(n.viewValue,1e4)}}_handleOpenKeydown(e){const t=this._keyManager,i=e.keyCode,n=40===i||38===i,s=t.isTyping();if(36===i||35===i)e.preventDefault(),36===i?t.setFirstItemActive():t.setLastItemActive();else if(n&&e.altKey)e.preventDefault(),this.close();else if(s||13!==i&&32!==i||!t.activeItem||e_(e))if(!s&&this._multiple&&65===i&&e.ctrlKey){e.preventDefault();const t=this.options.some(e=>!e.disabled&&!e.selected);this.options.forEach(e=>{e.disabled||(t?e.select():e.deselect())})}else{const i=t.activeItemIndex;t.onKeydown(e),this._multiple&&n&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==i&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.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(bu(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop})}_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(e){if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),e.forEach(e=>this._selectValue(e)),this._sortValues()}else{this._selectionModel.clear();const t=this._selectValue(e);t?this._keyManager.setActiveItem(t):this.panelOpen||this._keyManager.setActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectValue(e){const t=this.options.find(t=>{try{return null!=t.value&&this._compareWith(t.value,e)}catch(i){return En()&&console.warn(i),!1}});return t&&this._selectionModel.select(t),t}_initKeyManager(){this._keyManager=new J_(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(rg(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(rg(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():this._panelOpen||this.multiple||!this._keyManager.activeItem||this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=U(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(rg(e)).subscribe(e=>{this._onSelect(e.source,e.isUserInput),e.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),U(...this.options.map(e=>e._stateChanges)).pipe(rg(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()}),this._setOptionIds()}_onSelect(e,t){const i=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),this._propagateChanges(e.value)),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next()}}_propagateChanges(e){let t=null;t=this.multiple?this.selected.map(e=>e.value):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new CP(this,t)),this._changeDetectorRef.markForCheck()}_setOptionIds(){this._optionIds=this.options.map(e=>e.id).join(" ")}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_scrollActiveOptionIntoView(){const e=this._keyManager.activeItemIndex||0,t=jw(e,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=function(e,t,i,n){const s=e*t;return s<i?s:s+t>i+256?Math.max(0,s-256+t):i}(e+t,this._getItemHeight(),this.panel.nativeElement.scrollTop)}focus(e){this._elementRef.nativeElement.focus(e)}_getOptionIndex(e){return this.options.reduce((t,i,n)=>void 0!==t?t:e===i?n:void 0,void 0)}_calculateOverlayPosition(){const e=this._getItemHeight(),t=this._getItemCount(),i=Math.min(t*e,256),n=t*e-i;let s=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);s+=jw(s,this.options,this.optionGroups);const r=i/2;this._scrollTop=this._calculateOverlayScroll(s,r,n),this._offsetY=this._calculateOverlayOffsetY(s,r,n),this._checkOverlayWithinViewport(n)}_calculateOverlayScroll(e,t,i){const n=this._getItemHeight();return Math.min(Math.max(0,n*e-t+n/2),i)}_getAriaLabel(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}_getAriaLabelledby(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_calculateOverlayOffsetX(){const e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),t=this._viewportRuler.getViewportSize(),i=this._isRtl(),n=this.multiple?56:32;let s;if(this.multiple)s=40;else{let e=this._selectionModel.selected[0]||this.options.first;s=e&&e.group?32:16}i||(s*=-1);const r=0-(e.left+s-(i?n:0)),a=e.right+s-t.width+(i?0:n);r>0?s+=r+8:a>0&&(s-=a+8),this.overlayDir.offsetX=Math.round(s),this.overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,t,i){const n=this._getItemHeight(),s=(n-this._triggerRect.height)/2,r=Math.floor(256/n);let a;return this._disableOptionCentering?0:(a=0===this._scrollTop?e*n:this._scrollTop===i?(e-(this._getItemCount()-r))*n+(n-(this._getItemCount()*n-256)%n):t-n/2,Math.round(-1*a-s))}_checkOverlayWithinViewport(e){const t=this._getItemHeight(),i=this._viewportRuler.getViewportSize(),n=this._triggerRect.top-8,s=i.height-this._triggerRect.bottom-8,r=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-r-this._triggerRect.height;a>s?this._adjustPanelUp(a,s):r>n?this._adjustPanelDown(r,n,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,t){const i=Math.round(e-t);this._scrollTop-=i,this._offsetY-=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,t,i){const n=Math.round(e-t);if(this._scrollTop+=n,this._offsetY+=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=i)return this._scrollTop=i,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_getOriginBasedOnOption(){const e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-t+e/2}px 0px`}_getItemCount(){return this.options.length+this.optionGroups.length}_getItemHeight(){return 3*this._triggerFontSize}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty}}return e.\u0275fac=function(t){return new(t||e)(Ea(Ng),Ea(Zr),Ea(Rc),Ea(fw),Ea(Wo),Ea(Eg,8),Ea(mE,8),Ea(SE,8),Ea(wI,8),Ea(fA,10),Ia("tabindex"),Ea(wP),Ea(ay),Ea(kP,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,i){var n;1&e&&(lc(i,DP,!0),lc(i,Nw,!0),lc(i,Pw,!0)),2&e&&(sc(n=hc())&&(t.customTrigger=n.first),sc(n=hc())&&(t.options=n),sc(n=hc())&&(t.optionGroups=n))},viewQuery:function(e,t){var i;1&e&&(ac(dP,!0),ac(hP,!0),ac(A_,!0)),2&e&&(sc(i=hc())&&(t.trigger=i.first),sc(i=hc())&&(t.panel=i.first),sc(i=hc())&&(t.overlayDir=i.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(e,t){1&e&&Wa("keydown",(function(e){return t._handleKeydown(e)}))("focus",(function(){return t._onFocus()}))("blur",(function(){return t._onBlur()})),2&e&&(Da("id",t.id)("tabindex",t.tabIndex)("aria-label",t._getAriaLabel())("aria-labelledby",t._getAriaLabelledby())("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-owns",t.panelOpen?t._optionIds:null)("aria-multiselectable",t.multiple)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),oo("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Ho([{provide:cI,useExisting:e},{provide:Rw,useExisting:e}]),Lo,Et],ngContentSelectors:yP,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(Qa(_P),Oa(0,"div",0,1),Wa("click",(function(){return t.toggle()})),Oa(3,"div",2),Ta(4,uP,2,1,"span",3),Ta(5,fP,3,2,"span",4),Fa(),Oa(6,"div",5),Ra(7,"div",6),Fa(),Fa(),Ta(8,gP,4,11,"ng-template",7),Wa("backdropClick",(function(){return t.close()}))("attach",(function(){return t._onAttached()}))("detach",(function(){return t.close()}))),2&e){const e=Aa(1);Cs(3),Pa("ngSwitch",t.empty),Cs(1),Pa("ngSwitchCase",!0),Cs(1),Pa("ngSwitchCase",!1),Cs(3),Pa("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[T_,Jd,Qd,A_,Zd,Bd],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[bP.transformPanelWrap,bP.transformPanel]},changeDetection:0}),e})(),TP=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[xP],imports:[[ch,I_,Hw,Kv],jg,xI,Hw,Kv]}),e})();function AP(e,t){1&e&&Ra(0,"app-buffering")}function EP(e,t){1&e&&(Oa(0,"div",5),vo(1," Bitte f\xfcllen Sie alle Pflichtfelder aus ("),Oa(2,"span",6),vo(3,"*"),Fa(),vo(4,") "),Fa())}function IP(e,t){1&e&&(Oa(0,"div"),Oa(1,"p",7),vo(2," W\xe4hlen Sie unter Spezifikation eine Bauart aus um die m\xf6glichen Features zu sehen. "),Fa(),Fa())}function PP(e,t){if(1&e){const e=Va();Oa(0,"mat-checkbox",11),Wa("change",(function(i){ii(e);const n=t.$implicit,s=Ka(2).$implicit,r=Ka();return r.onFeatureChange(i,n,r.formControlsUiList[s.key])})),vo(1),Fa()}if(2&e){const e=t.$implicit;Pa("formControlName",e.name)("name",e.name),Cs(1),ko(" ",e.description," ")}}function YP(e,t){if(1&e&&(Na(0),Ta(1,PP,2,3,"mat-checkbox",10),ja()),2&e){const e=Ka().$implicit,t=Ka();Cs(1),Pa("ngForOf",t.formControlsUiList[e.key].features)}}function OP(e,t){1&e&&(Oa(0,"span",6),vo(1," *"),Fa())}function FP(e,t){if(1&e&&(Oa(0,"mat-option",16),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function RP(e,t){if(1&e&&(Na(0),Ra(1,"mat-option"),Ta(2,FP,2,2,"mat-option",15),ja()),2&e){const e=Ka().$implicit;Cs(2),Pa("ngForOf",e.optionItems)}}function NP(e,t){1&e&&(Na(0),Oa(1,"mat-option",16),vo(2," Nein "),Fa(),Oa(3,"mat-option",16),vo(4," Ja "),Fa(),ja()),2&e&&(Cs(1),Pa("value",!1),Cs(2),Pa("value",!0))}function jP(e,t){if(1&e){const e=Va();Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2),Ta(3,OP,2,0,"span",13),Fa(),Oa(4,"mat-select",14),Wa("selectionChange",(function(i){ii(e);const n=t.$implicit,s=Ka(2).$implicit,r=Ka();return r.onSelectionChange(i,n,r.formControlsUiList[s.key])}))("valueChange",(function(i){ii(e);const n=t.$implicit,s=Ka(2).$implicit,r=Ka();return r.onSelectionChange(i,n,r.formControlsUiList[s.key])})),Ta(5,RP,3,1,"ng-container",0),Ta(6,NP,5,2,"ng-container",0),Fa(),Oa(7,"mat-error"),Oa(8,"strong"),vo(9,"Pflichtfeld"),Fa(),Fa(),Fa()}if(2&e){const e=t.$implicit;Cs(2),wo(e.title),Cs(1),Pa("ngIf",e.required),Cs(1),Pa("formControlName",e.adPropertyKey)("multiple","array"===e.adPropertyType),Cs(1),Pa("ngIf",e.uri),Cs(1),Pa("ngIf","boolean"===e.adPropertyType)}}function HP(e,t){if(1&e&&(Na(0),Ta(1,jP,10,6,"mat-form-field",12),ja()),2&e){const e=Ka().$implicit,t=Ka();Cs(1),Pa("ngForOf",t.formControlsUiList[e.key].selects)}}function VP(e,t){if(1&e&&(Oa(0,"div",8),Oa(1,"h3",7),vo(2),Fa(),Oa(3,"form",9),Ta(4,YP,2,1,"ng-container",0),Ta(5,HP,2,1,"ng-container",0),Fa(),Fa()),2&e){const e=t.$implicit,i=Ka();Cs(2),ko(" ",i.orderedFeatures[e.key].title," "),Cs(1),Pa("formGroup",i.dataForm),Cs(1),Pa("ngIf",i.formControlsUiList[e.key].features),Cs(1),Pa("ngIf",i.formControlsUiList[e.key].selects)}}let BP=(()=>{class e extends JI{constructor(e,t,i,n,s,r,a){super(),this.formBuilder=e,this.mobileDeService=t,this.sharedDataService=i,this.elRef=n,this.route=s,this.dp24Service=r,this.refdataService=a,this.form={},this.dataForm=new cE({}),this.loading=!1,this.hideLoadingSpinner=!1,this.formSubmitted=!1,this.showErrorMsg=!1,this.featuresLoaded=new Gl,this.comingFromDp24=!1}ngOnInit(){const e=this.vehicleClass;""!==e&&this.createFeatureControlsOnInit?this.createFormsForVehicleClass(e):""!==e&&this.sharedDataService.currentFeatureProfileSubject.pipe(bu(1),O(e=>e)).subscribe(t=>{this.createFormsForVehicleClass(e,t?t.features[0]:null)})}ngAfterViewInit(){this.vehicleClassObs$&&this.vehicleClassObs$.pipe(O(e=>e)).subscribe(e=>{this.vehicleClass=e,this.route.queryParams.pipe(bu(1)).subscribe(t=>{t.featureProfileId?(this.comingFromDp24=!0,this.dp24Service.getFeatureProfileById(t.featureProfileId).pipe(bu(1)).subscribe(e=>{e?this.createFormsForVehicleClass(this.vehicleClass,e.features[0]):this.createFormsForVehicleClass(this.vehicleClass)})):t.fromShowDarmasAds&&t.darmasAdId&&this.mobileDeService.getDarmasAd(t.darmasAdId).pipe(bu(1),O(e=>e.ad)).subscribe(t=>{t&&this.createFormsForVehicleClass(e,t)})})})}resetControls(){this.dataForm.reset(),this.dataForm.get("damageUnrepaired").setValue(!1)}createFormsForVehicleClass(e,t=null){""!==e?(this.loading=!0,this.refdataService.getRefDataForVehicleClass(e,"features").pipe(bu(1)).subscribe(e=>{this.featuresForClass=e,this.orderedFeatures=this.mobileDeService.getCarixOderedArraysForFeatures(e),this.formControlsUiList={};let i={};Object.keys(this.orderedFeatures).forEach((e,n)=>{i={};const s=this.orderedFeatures[e];this.formControlsUiList[s.title]||(this.formControlsUiList[s.title]={},this.formControlsUiList[s.title].title=s.title,this.formControlsUiList[s.title].features=[],this.formControlsUiList[s.title].selects=[]),s.features instanceof y?s.features.pipe(bu(1)).subscribe(e=>{e.getRequest.pipe(bu(1)).subscribe(i=>{let n="";for(const r of i)n="",t&&t[s.adPropertyKey]&&"array"===s.adPropertyType&&t[s.adPropertyKey].forEach(e=>{e===r.name&&(n=e)}),this.dataForm.addControl(r.name,new lE(n)),""!==n&&this.onFeatureChange({source:r,checked:n},r,s),this.formControlsUiList[e.featureCatObject.title].features.push(r),this.formControlsUiList[e.featureCatObject.title].isAsync=!0})}):(s.features&&s.features.forEach(e=>{let i,n=!1;i=this.comingFromDp24?e.name:this.mobileDeService.transformKeyToCamelCase(e.name),t&&t[i]&&(n=Boolean(t[i])),!1!==n&&this.onFeatureChange({source:e,checked:n},e,s),this.dataForm.addControl(e.name,new lE(n)),this.formControlsUiList[s.title].features.push(e)}),s.selects&&s.selects.forEach(e=>{let i="";if(t&&t[e.adPropertyKey]&&(i=t[e.adPropertyKey]),this.dataForm.addControl(e.adPropertyKey,e.required?new lE(Boolean(i),[CA.required]):new lE(i)),""!==i&&this.onSelectionChange(null,e,s),e.options instanceof y){const t=[];e.optionItems=t,e.options.pipe(bu(1)).subscribe(e=>{e.getRequest.subscribe(e=>{for(const i of e)t.push(i)})})}this.formControlsUiList[s.title].selects.push(e)}))}),this.loading=!1,this.featuresLoaded.emit(!0)})):console.log("VEHICLE CLASS IS: NOTHING ",e)}showError(e){this.showErrorMsg=!0}formSubmittedHandler(){this.dataForm.get("damageUnrepaired")&&this.dataForm.get("damageUnrepaired").markAsTouched()}showControlError(e){}validate(e){return this.dataForm.valid?null:{invalidForm:{valid:!1,message:"featureForm fields are invalid"}}}onFeatureChange(e,t,i){this.sharedDataService.setSelectedFeature(t,e.checked,i)}onSelectionChange(e,t,i){this.sharedDataService.setSelectedFeature(null,"select",i,t,this.dataForm.controls[t.adPropertyKey].value)}}return e.\u0275fac=function(t){return new(t||e)(Ea(FE),Ea(BE),Ea(O_),Ea(Wo),Ea(Vm),Ea(ZS),Ea(VE))},e.\u0275cmp=ut({type:e,selectors:[["app-features"]],inputs:{hideLoadingSpinner:"hideLoadingSpinner",vehicleClass:"vehicleClass",formSubmitted:"formSubmitted",vehicleClassObs$:"vehicleClassObs$",createFeatureControlsOnInit:"createFeatureControlsOnInit",comingFromDp24:"comingFromDp24"},outputs:{featuresLoaded:"featuresLoaded"},features:[Ho([{provide:rA,useExisting:ke(()=>e),multi:!0},{provide:wA,useExisting:ke(()=>e),multi:!0}]),Lo],decls:8,vars:6,consts:[[4,"ngIf"],["fxLayout","row","fxLayout.xs","column","fxLayoutGap","10px"],["fxLayout","column","fxLayoutGap","20px","fxLayoutAlign","flex-start"],["class","error",4,"ngIf"],["class","orderedFeatures","fxFlex","0 1 calc(33.3% - 20px)","fxLayout","column",4,"ngFor","ngForOf"],[1,"error"],[1,"haba-asterix"],[2,"color","orange"],["fxFlex","0 1 calc(33.3% - 20px)","fxLayout","column",1,"orderedFeatures"],["fxLayout","row wrap","fxLayoutGap","32px","fxLayoutAlign","flex-start",3,"formGroup"],["fxFlex","0 1 calc(33.3% - 32px)",3,"formControlName","name","change",4,"ngFor","ngForOf"],["fxFlex","0 1 calc(33.3% - 32px)",3,"formControlName","name","change"],[4,"ngFor","ngForOf"],["class","haba-asterix",4,"ngIf"],[3,"formControlName","multiple","selectionChange","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(Na(0),Ta(1,AP,1,0,"app-buffering",0),Oa(2,"div",1),Oa(3,"div",2),Ta(4,EP,5,0,"div",3),Ta(5,IP,3,0,"div",0),Ta(6,VP,6,4,"div",4),Bl(7,"keyvalue"),Fa(),Fa(),ja()),2&e&&(Cs(1),Pa("ngIf",t.loading&&!t.hideLoadingSpinner),Cs(3),Pa("ngIf","INVALID"===t.dataForm.status&&t.formSubmitted),Cs(1),Pa("ngIf",!t.formControlsUiList),Cs(1),Pa("ngForOf",zl(7,4,t.formControlsUiList)))},directives:[$d,uD,bD,qD,Wd,rS,ED,kE,yA,SE,oP,_A,IE,kI,mI,LP,oI,Nw],pipes:[ah],styles:[".orderedFeatures[_ngcontent-%COMP%]{margin-bottom:13px;border-bottom:1px solid #555;padding-bottom:20px}.orderedFeatures[_ngcontent-%COMP%]:last-child{border:0}.mat-checkbox[_ngcontent-%COMP%] .mat-checkbox-frame[_ngcontent-%COMP%]{border-color:#000;background-color:#ddd}.mat-checkbox-checked.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%], .mat-checkbox-indeterminate.mat-accent[_ngcontent-%COMP%] .mat-checkbox-background[_ngcontent-%COMP%]{margin-top:1px;margin-left:1px;width:18px;height:18px}"]}),e})();const zP=KS.a||qS,WP=new Re("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function UP(e,t){const i=Array(e);for(let n=0;n<e;n++)i[n]=t(n);return i}let $P=(()=>{class e extends nw{constructor(e,t){super(),this._options=t,this.setLocale(e||zP.locale())}setLocale(e){super.setLocale(e);let t=zP.localeData(e);this._localeData={firstDayOfWeek:t.firstDayOfWeek(),longMonths:t.months(),shortMonths:t.monthsShort(),dates:UP(31,e=>this.createDate(2017,0,e+1).format("D")),longDaysOfWeek:t.weekdays(),shortDaysOfWeek:t.weekdaysShort(),narrowDaysOfWeek:t.weekdaysMin()}}getYear(e){return this.clone(e).year()}getMonth(e){return this.clone(e).month()}getDate(e){return this.clone(e).date()}getDayOfWeek(e){return this.clone(e).day()}getMonthNames(e){return"long"==e?this._localeData.longMonths:this._localeData.shortMonths}getDateNames(){return this._localeData.dates}getDayOfWeekNames(e){return"long"==e?this._localeData.longDaysOfWeek:"short"==e?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}getYearName(e){return this.clone(e).format("YYYY")}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getNumDaysInMonth(e){return this.clone(e).daysInMonth()}clone(e){return e.clone().locale(this.locale)}createDate(e,t,i){if(t<0||t>11)throw Error(`Invalid month index "${t}". Month index has to be between 0 and 11.`);if(i<1)throw Error(`Invalid date "${i}". Date has to be greater than 0.`);const n=this._createMoment({year:e,month:t,date:i}).locale(this.locale);if(!n.isValid())throw Error(`Invalid date "${i}" for month with index "${t}".`);return n}today(){return this._createMoment().locale(this.locale)}parse(e,t){return e&&"string"==typeof e?this._createMoment(e,t,this.locale):e?this._createMoment(e).locale(this.locale):null}format(e,t){if(e=this.clone(e),!this.isValid(e))throw Error("MomentDateAdapter: Cannot format invalid date.");return e.format(t)}addCalendarYears(e,t){return this.clone(e).add({years:t})}addCalendarMonths(e,t){return this.clone(e).add({months:t})}addCalendarDays(e,t){return this.clone(e).add({days:t})}toIso8601(e){return this.clone(e).format()}deserialize(e){let t;if(e instanceof Date)t=this._createMoment(e).locale(this.locale);else if(this.isDateInstance(e))return this.clone(e);if("string"==typeof e){if(!e)return null;t=this._createMoment(e,zP.ISO_8601).locale(this.locale)}return t&&this.isValid(t)?this._createMoment(t).locale(this.locale):super.deserialize(e)}isDateInstance(e){return zP.isMoment(e)}isValid(e){return this.clone(e).isValid()}invalid(){return zP.invalid()}_createMoment(e,t,i){const{strict:n,useUtc:s}=this._options||{};return s?zP.utc(e,t,i,n):zP(e,t,i,n)}}return e.\u0275fac=function(t){return new(t||e)(Ge(iw,8),Ge(WP,8))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})();const GP=["mat-calendar-body",""];function qP(e,t){if(1&e&&(Oa(0,"tr",2),Oa(1,"td",3),vo(2),Fa(),Fa()),2&e){const e=Ka();Cs(1),ao("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Da("colspan",e.numCols),Cs(1),ko(" ",e.label," ")}}function KP(e,t){if(1&e&&(Oa(0,"td",7),vo(1),Fa()),2&e){const e=Ka(2);ao("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),Da("colspan",e._firstRowOffset),Cs(1),ko(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function JP(e,t){if(1&e){const e=Va();Oa(0,"td",8),Wa("click",(function(){ii(e);const i=t.$implicit;return Ka(2)._cellClicked(i)})),Oa(1,"div",9),vo(2),Fa(),Fa()}if(2&e){const e=t.$implicit,i=t.index,n=Ka().index,s=Ka();ao("width",s._cellWidth)("padding-top",s._cellPadding)("padding-bottom",s._cellPadding),oo("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",s._isActiveCell(n,i)),Pa("ngClass",e.cssClasses)("tabindex",s._isActiveCell(n,i)?0:-1),Da("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-selected",s.selectedValue===e.value),Cs(1),oo("mat-calendar-body-selected",s.selectedValue===e.value)("mat-calendar-body-today",s.todayValue===e.value),Cs(1),ko(" ",e.displayValue," ")}}function QP(e,t){if(1&e&&(Oa(0,"tr",4),Ta(1,KP,2,6,"td",5),Ta(2,JP,3,20,"td",6),Fa()),2&e){const e=t.$implicit,i=t.index,n=Ka();Cs(1),Pa("ngIf",0===i&&n._firstRowOffset),Cs(1),Pa("ngForOf",e)}}function ZP(e,t){if(1&e&&(Oa(0,"th",5),vo(1),Fa()),2&e){const e=t.$implicit;Da("aria-label",e.long),Cs(1),wo(e.narrow)}}const XP=["*"];function eY(e,t){}function tY(e,t){if(1&e){const e=Va();Oa(0,"mat-month-view",5),Wa("activeDateChange",(function(t){return ii(e),Ka().activeDate=t}))("selectedChange",(function(t){return ii(e),Ka()._dateSelected(t)}))("_userSelection",(function(){return ii(e),Ka()._userSelected()})),Fa()}if(2&e){const e=Ka();Pa("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function iY(e,t){if(1&e){const e=Va();Oa(0,"mat-year-view",6),Wa("activeDateChange",(function(t){return ii(e),Ka().activeDate=t}))("monthSelected",(function(t){return ii(e),Ka()._monthSelectedInYearView(t)}))("selectedChange",(function(t){return ii(e),Ka()._goToDateInView(t,"month")})),Fa()}if(2&e){const e=Ka();Pa("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)}}function nY(e,t){if(1&e){const e=Va();Oa(0,"mat-multi-year-view",7),Wa("activeDateChange",(function(t){return ii(e),Ka().activeDate=t}))("yearSelected",(function(t){return ii(e),Ka()._yearSelectedInMultiYearView(t)}))("selectedChange",(function(t){return ii(e),Ka()._goToDateInView(t,"year")})),Fa()}if(2&e){const e=Ka();Pa("activeDate",e.activeDate)("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)}}const sY=["button"];function rY(e,t){1&e&&(Li(),Oa(0,"svg",3),Ra(1,"path",4),Fa())}const aY=[[["","matDatepickerToggleIcon",""]]],oY=["[matDatepickerToggleIcon]"];function lY(e){return Error(`MatDatepicker: No provider found for ${e}. You must import one of the following modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.`)}let cY=(()=>{class e{constructor(){this.changes=new x,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}formatYearRange(e,t){return`${e} \u2013 ${t}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({factory:function(){return new e},token:e,providedIn:"root"}),e})();class dY{constructor(e,t,i,n,s={}){this.value=e,this.displayValue=t,this.ariaLabel=i,this.enabled=n,this.cssClasses=s}}let hY=(()=>{class e{constructor(e,t){this._elementRef=e,this._ngZone=t,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new Gl}_cellClicked(e){e.enabled&&this.selectedValueChange.emit(e.value)}ngOnChanges(e){const t=e.numCols,{rows:i,numCols:n}=this;(e.rows||t)&&(this._firstRowOffset=i&&i.length&&i[0].length?n-i[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/n+"%"),!t&&this._cellWidth||(this._cellWidth=100/n+"%")}_isActiveCell(e,t){let i=e*this.numCols+t;return e&&(i-=this._firstRowOffset),i==this.activeCell}_focusActiveCell(){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.asObservable().pipe(bu(1)).subscribe(()=>{const e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");e&&e.focus()})})}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Rc))},e.\u0275cmp=ut({type:e,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",cellAspectRatio:"cellAspectRatio",label:"label",rows:"rows",todayValue:"todayValue",selectedValue:"selectedValue",labelMinRequiredCells:"labelMinRequiredCells"},outputs:{selectedValueChange:"selectedValueChange"},exportAs:["matCalendarBody"],features:[Et],attrs:GP,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell mat-focus-indicator",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell","mat-focus-indicator",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content"]],template:function(e,t){1&e&&(Ta(0,qP,3,6,"tr",0),Ta(1,QP,3,2,"tr",1)),2&e&&(Pa("ngIf",t._firstRowOffset<t.labelMinRequiredCells),Cs(1),Pa("ngForOf",t.rows))},directives:[$d,Wd,Bd],styles:[".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n"],encapsulation:2,changeDetection:0}),e})(),uY=(()=>{class e{constructor(e,t,i,n){if(this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=h.EMPTY,this.selectedChange=new Gl,this._userSelection=new Gl,this.activeDateChange=new Gl,!this._dateAdapter)throw lY("DateAdapter");if(!this._dateFormats)throw lY("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){const t=this._activeDate,i=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedDate=this._getDateInCurrentMonth(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Pu(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(e){if(this._selectedDate!=e){const t=this._dateAdapter.getYear(this.activeDate),i=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.createDate(t,i,e);this.selectedChange.emit(n)}this._userSelection.emit()}_handleCalendarBodyKeydown(e){const t=this._activeDate,i=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,i?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),e.preventDefault()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_initWeekdays(){const e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow");let i=this._dateAdapter.getDayOfWeekNames("long").map((e,i)=>({long:e,narrow:t[i]}));this._weekdays=i.slice(e).concat(i.slice(0,e))}_createWeekCells(){const e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(let i=0,n=this._firstWeekOffset;i<e;i++,n++){7==n&&(this._weeks.push([]),n=0);const e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),i+1),s=this._shouldEnableDate(e),r=this._dateAdapter.format(e,this._dateFormats.display.dateA11yLabel),a=this.dateClass?this.dateClass(e):void 0;this._weeks[this._weeks.length-1].push(new dY(i+1,t[i],r,s,a))}}_shouldEnableDate(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}_getDateInCurrentMonth(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}_hasSameMonthAndYear(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}}return e.\u0275fac=function(t){return new(t||e)(Ea(Zr),Ea(sw,8),Ea(nw,8),Ea(Eg,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-month-view"]],viewQuery:function(e,t){var i;1&e&&ac(hY,!0),2&e&&sc(i=hc())&&(t._matCalendarBody=i.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],decls:7,vars:7,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","selectedValue","labelMinRequiredCells","activeCell","selectedValueChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(Oa(0,"table",0),Oa(1,"thead",1),Oa(2,"tr"),Ta(3,ZP,2,2,"th",2),Fa(),Oa(4,"tr"),Ra(5,"th",3),Fa(),Fa(),Oa(6,"tbody",4),Wa("selectedValueChange",(function(e){return t._dateSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),Fa(),Fa()),2&e&&(Cs(3),Pa("ngForOf",t._weekdays),Cs(3),Pa("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("selectedValue",t._selectedDate)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[Wd,hY],encapsulation:2,changeDetection:0}),e})(),mY=(()=>{class e{constructor(e,t,i){if(this._changeDetectorRef=e,this._dateAdapter=t,this._dir=i,this._rerenderSubscription=h.EMPTY,this.selectedChange=new Gl,this.yearSelected=new Gl,this.activeDateChange=new Gl,!this._dateAdapter)throw lY("DateAdapter");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const i=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),pY(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Pu(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const e=this._dateAdapter.getYear(this._activeDate)-fY(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let t=0,i=[];t<24;t++)i.push(e+t),4==i.length&&(this._years.push(i.map(e=>this._createCellForYear(e))),i=[]);this._changeDetectorRef.markForCheck()}_yearSelected(e){this.yearSelected.emit(this._dateAdapter.createDate(e,0,1));let t=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(e,t,1));this.selectedChange.emit(this._dateAdapter.createDate(e,t,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,i=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-fY(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-fY(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:24);break;case 13:case 32:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_getActiveCell(){return fY(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_createCellForYear(e){let t=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1));return new dY(e,t,t,this._shouldEnableYear(e))}_shouldEnableYear(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let t=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(t)==e;t=this._dateAdapter.addCalendarDays(t,1))if(this.dateFilter(t))return!0;return!1}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}}return e.\u0275fac=function(t){return new(t||e)(Ea(Zr),Ea(nw,8),Ea(Eg,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-multi-year-view"]],viewQuery:function(e,t){var i;1&e&&ac(hY,!0),2&e&&sc(i=hc())&&(t._matCalendarBody=i.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:6,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","selectedValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(e,t){1&e&&(Oa(0,"table",0),Oa(1,"thead",1),Oa(2,"tr"),Ra(3,"th",2),Fa(),Fa(),Oa(4,"tbody",3),Wa("selectedValueChange",(function(e){return t._yearSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),Fa(),Fa()),2&e&&(Cs(4),Pa("rows",t._years)("todayValue",t._todayYear)("selectedValue",t._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",t._getActiveCell()))},directives:[hY],encapsulation:2,changeDetection:0}),e})();function pY(e,t,i,n,s){const r=e.getYear(t),a=e.getYear(i),o=gY(e,n,s);return Math.floor((r-o)/24)===Math.floor((a-o)/24)}function fY(e,t,i,n){return((e.getYear(t)-gY(e,i,n))%24+24)%24}function gY(e,t,i){let n=0;return i?n=e.getYear(i)-24+1:t&&(n=e.getYear(t)),n}let _Y=(()=>{class e{constructor(e,t,i,n){if(this._changeDetectorRef=e,this._dateFormats=t,this._dateAdapter=i,this._dir=n,this._rerenderSubscription=h.EMPTY,this.selectedChange=new Gl,this.monthSelected=new Gl,this.activeDateChange=new Gl,!this._dateAdapter)throw lY("DateAdapter");if(!this._dateFormats)throw lY("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(e){let t=this._activeDate;const i=this._getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Pu(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(e){const t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1);this.monthSelected.emit(t);const i=this._dateAdapter.getNumDaysInMonth(t);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}_handleCalendarBodyKeydown(e){const t=this._activeDate,i=this._isRtl();switch(e.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,i?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case 13:case 32:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}_init(){this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(t=>t.map(t=>this._createCellForMonth(t,e[t]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_getMonthInCurrentYear(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}_createCellForMonth(e,t){let i=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),this._dateFormats.display.monthYearA11yLabel);return new dY(e,t.toLocaleUpperCase(),i,this._shouldEnableMonth(e))}_shouldEnableMonth(e){const t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(let i=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(i)==e;i=this._dateAdapter.addCalendarDays(i,1))if(this.dateFilter(i))return!0;return!1}_isYearAndMonthAfterMaxDate(e,t){if(this.maxDate){const i=this._dateAdapter.getYear(this.maxDate),n=this._dateAdapter.getMonth(this.maxDate);return e>i||e===i&&t>n}return!1}_isYearAndMonthBeforeMinDate(e,t){if(this.minDate){const i=this._dateAdapter.getYear(this.minDate),n=this._dateAdapter.getMonth(this.minDate);return e<i||e===i&&t<n}return!1}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}_isRtl(){return this._dir&&"rtl"===this._dir.value}}return e.\u0275fac=function(t){return new(t||e)(Ea(Zr),Ea(sw,8),Ea(nw,8),Ea(Eg,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-year-view"]],viewQuery:function(e,t){var i;1&e&&ac(hY,!0),2&e&&sc(i=hc())&&(t._matCalendarBody=i.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:8,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","selectedValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(e,t){1&e&&(Oa(0,"table",0),Oa(1,"thead",1),Oa(2,"tr"),Ra(3,"th",2),Fa(),Fa(),Oa(4,"tbody",3),Wa("selectedValueChange",(function(e){return t._monthSelected(e)}))("keydown",(function(e){return t._handleCalendarBodyKeydown(e)})),Fa(),Fa()),2&e&&(Cs(4),Pa("label",t._yearLabel)("rows",t._months)("todayValue",t._todayMonth)("selectedValue",t._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",t._dateAdapter.getMonth(t.activeDate)))},directives:[hY],encapsulation:2,changeDetection:0}),e})(),yY=(()=>{class e{constructor(e,t,i,n,s){this._intl=e,this.calendar=t,this._dateAdapter=i,this._dateFormats=n,this.calendar.stateChanges.subscribe(()=>s.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 e=this._dateAdapter.getYear(this.calendar.activeDate)-fY(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=e+24-1,i=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)),n=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return this._intl.formatYearRange(i,n)}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:24)}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(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):pY(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}return e.\u0275fac=function(t){return new(t||e)(Ea(cY),Ea(ke(()=>bY)),Ea(nw,8),Ea(sw,8),Ea(Zr))},e.\u0275cmp=ut({type:e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:XP,decls:9,vars:8,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(Qa(),Oa(0,"div",0),Oa(1,"div",1),Oa(2,"button",2),Wa("click",(function(){return t.currentPeriodClicked()})),vo(3),Ra(4,"div",3),Fa(),Ra(5,"div",4),Za(6),Oa(7,"button",5),Wa("click",(function(){return t.previousClicked()})),Fa(),Oa(8,"button",6),Wa("click",(function(){return t.nextClicked()})),Fa(),Fa(),Fa()),2&e&&(Cs(2),Da("aria-label",t.periodButtonLabel),Cs(1),ko(" ",t.periodButtonText," "),Cs(1),oo("mat-calendar-invert","month"!=t.calendar.currentView),Cs(3),Pa("disabled",!t.previousEnabled()),Da("aria-label",t.prevButtonLabel),Cs(1),Pa("disabled",!t.nextEnabled()),Da("aria-label",t.nextButtonLabel))},directives:[nC,oy],encapsulation:2,changeDetection:0}),e})(),bY=(()=>{class e{constructor(e,t,i,n){if(this._dateAdapter=t,this._dateFormats=i,this._changeDetectorRef=n,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new Gl,this.yearSelected=new Gl,this.monthSelected=new Gl,this._userSelection=new Gl,this.stateChanges=new x,!this._dateAdapter)throw lY("DateAdapter");if(!this._dateFormats)throw lY("MAT_DATE_FORMATS");this._intlChanges=e.changes.subscribe(()=>{n.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get selected(){return this._selected}set selected(e){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get minDate(){return this._minDate}set minDate(e){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get activeDate(){return this._clampedActiveDate}set activeDate(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(e){this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()}ngAfterContentInit(){this._calendarHeaderPortal=new zg(this.headerComponent||yY),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(e){const t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){const e=this._getCurrentViewComponent();e&&(this._changeDetectorRef.detectChanges(),e._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell()}updateTodaysDate(){const e=this.currentView;let t;t="month"===e?this.monthView:"year"===e?this.yearView:this.multiYearView,t._init()}_dateSelected(e){e&&!this._dateAdapter.sameDate(e,this.selected)&&this.selectedChange.emit(e)}_yearSelectedInMultiYearView(e){this.yearSelected.emit(e)}_monthSelectedInYearView(e){this.monthSelected.emit(e)}_userSelected(){this._userSelection.emit()}_goToDateInView(e,t){this.activeDate=e,this.currentView=t}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return e.\u0275fac=function(t){return new(t||e)(Ea(cY),Ea(nw,8),Ea(sw,8),Ea(Zr))},e.\u0275cmp=ut({type:e,selectors:[["mat-calendar"]],viewQuery:function(e,t){var i;1&e&&(ac(uY,!0),ac(_Y,!0),ac(mY,!0)),2&e&&(sc(i=hc())&&(t.monthView=i.first),sc(i=hc())&&(t.yearView=i.first),sc(i=hc())&&(t.multiYearView=i.first))},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[Et],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","selectedChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(Ta(0,eY,0,0,"ng-template",0),Oa(1,"div",1),Ta(2,tY,1,6,"mat-month-view",2),Ta(3,iY,1,5,"mat-year-view",3),Ta(4,nY,1,5,"mat-multi-year-view",4),Fa()),2&e&&(Pa("cdkPortalOutlet",t._calendarHeaderPortal),Cs(1),Pa("ngSwitch",t.currentView),Cs(1),Pa("ngSwitchCase","month"),Cs(1),Pa("ngSwitchCase","year"),Cs(1),Pa("ngSwitchCase","multi-year"))},directives:[Kg,my,Jd,Qd,uY,_Y,mY],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}),e})();const vY={transformPanel:yy("transformPanel",[xy("void",ky({opacity:0,transform:"scale(1, 0.8)"})),Sy("void => enter",by("120ms cubic-bezier(0, 0, 0.2, 1)",ky({opacity:1,transform:"scale(1, 1)"}))),Sy("* => void",by("100ms linear",ky({opacity:0})))]),fadeInCalendar:yy("fadeInCalendar",[xy("void",ky({opacity:0})),xy("enter",ky({opacity:1})),Sy("void => *",by("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let wY=0;const kY=new Re("mat-datepicker-scroll-strategy"),xY={provide:kY,deps:[M_],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};class CY{constructor(e){this._elementRef=e}}const SY=Qv(CY);let MY=(()=>{class e extends SY{constructor(e,t){super(e),this._changeDetectorRef=t,this._animationState="enter",this._animationDone=new x}ngAfterViewInit(){this._calendar.focusActiveCell()}ngOnDestroy(){this._animationDone.complete()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Zr))},e.\u0275cmp=ut({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){var i;1&e&&ac(bY,!0),2&e&&sc(i=hc())&&(t._calendar=i.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&Ua("@transformPanel.done",(function(){return t._animationDone.next()})),2&e&&(Mo("@transformPanel",t._animationState),oo("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[Lo],decls:1,vars:11,consts:[["cdkTrapFocus","",3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","selectedChange","yearSelected","monthSelected","_userSelection"]],template:function(e,t){1&e&&(Oa(0,"mat-calendar",0),Wa("selectedChange",(function(e){return t.datepicker.select(e)}))("yearSelected",(function(e){return t.datepicker._selectYear(e)}))("monthSelected",(function(e){return t.datepicker._selectMonth(e)}))("_userSelection",(function(){return t.datepicker.close()})),Fa()),2&e&&Pa("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._minDate)("maxDate",t.datepicker._maxDate)("dateFilter",t.datepicker._dateFilter)("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t.datepicker._selected)("dateClass",t.datepicker.dateClass)("@fadeInCalendar","enter")},directives:[bY,ny,Bd],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}\n"],encapsulation:2,data:{animation:[vY.transformPanel,vY.fadeInCalendar]},changeDetection:0}),e})(),DY=(()=>{class e{constructor(e,t,i,n,s,r,a,o){if(this._dialog=e,this._overlay=t,this._ngZone=i,this._viewContainerRef=n,this._dateAdapter=r,this._dir=a,this._document=o,this.startView="month",this._touchUi=!1,this.yearSelected=new Gl,this.monthSelected=new Gl,this.openedStream=new Gl,this.closedStream=new Gl,this._opened=!1,this.id="mat-datepicker-"+wY++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=h.EMPTY,this._disabledChange=new x,this._selectedChanged=new x,!this._dateAdapter)throw lY("DateAdapter");this._scrollStrategy=s}get startAt(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)}set startAt(e){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(e))}get color(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)}set color(e){this._color=e}get touchUi(){return this._touchUi}set touchUi(e){this._touchUi=Df(e)}get disabled(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled}set disabled(e){const t=Df(e);t!==this._disabled&&(this._disabled=t,this._disabledChange.next(t))}get opened(){return this._opened}set opened(e){e?this.open():this.close()}get _selected(){return this._validSelected}set _selected(e){this._validSelected=e}get _minDate(){return this._datepickerInput&&this._datepickerInput.min}get _maxDate(){return this._datepickerInput&&this._datepickerInput.max}get _dateFilter(){return this._datepickerInput&&this._datepickerInput._dateFilter}ngOnDestroy(){this._destroyPopup(),this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete()}select(e){let t=this._selected;this._selected=e,this._dateAdapter.sameDate(t,this._selected)||this._selectedChanged.next(e)}_selectYear(e){this.yearSelected.emit(e)}_selectMonth(e){this.monthSelected.emit(e)}_registerInput(e){if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=e,this._inputSubscription=this._datepickerInput._valueChange.subscribe(e=>this._selected=e)}open(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}close(){if(!this._opened)return;if(this._popupComponentRef&&this._popupRef){const e=this._popupComponentRef.instance;e._startExitAnimation(),e._animationDone.pipe(bu(1)).subscribe(()=>this._destroyPopup())}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);const e=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}_openAsDialog(){this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(MY,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!0,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe(()=>this.close()),this._dialogRef.componentInstance.datepicker=this,this._dialogRef.componentInstance.color=this.color}_openAsPopup(){const e=new zg(MY,this._viewContainerRef);this._destroyPopup(),this._createPopup();const t=this._popupComponentRef=this._popupRef.attach(e);t.instance.datepicker=this,t.instance.color=this.color,this._ngZone.onStable.asObservable().pipe(bu(1)).subscribe(()=>{this._popupRef.updatePosition()})}_createPopup(){const e=new c_({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(e),this._popupRef.overlayElement.setAttribute("role","dialog"),U(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(iu(e=>27===e.keyCode||this._datepickerInput&&e.altKey&&38===e.keyCode))).subscribe(e=>{e&&e.preventDefault(),this.close()})}_destroyPopup(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}_createPopupPositionStrategy(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wx),Ea(M_),Ea(Rc),Ea(gl),Ea(kY),Ea(nw,8),Ea(Eg,8),Ea(pd,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-datepicker"]],inputs:{startView:"startView",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",panelClass:"panelClass",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed"},exportAs:["matDatepicker"],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e})();const LY={provide:rA,useExisting:ke(()=>EY),multi:!0},TY={provide:wA,useExisting:ke(()=>EY),multi:!0};class AY{constructor(e,t){this.target=e,this.targetElement=t,this.value=this.target.value}}let EY=(()=>{class e{constructor(e,t,i,n){if(this._elementRef=e,this._dateAdapter=t,this._dateFormats=i,this._formField=n,this.dateChange=new Gl,this.dateInput=new Gl,this._valueChange=new Gl,this._disabledChange=new Gl,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},this._datepickerSubscription=h.EMPTY,this._localeSubscription=h.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._minValidator=e=>{const t=this._getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!this.min||!t||this._dateAdapter.compareDate(this.min,t)<=0?null:{matDatepickerMin:{min:this.min,actual:t}}},this._maxValidator=e=>{const t=this._getValidDateOrNull(this._dateAdapter.deserialize(e.value));return!this.max||!t||this._dateAdapter.compareDate(this.max,t)>=0?null:{matDatepickerMax:{max:this.max,actual:t}}},this._filterValidator=e=>{const t=this._getValidDateOrNull(this._dateAdapter.deserialize(e.value));return this._dateFilter&&t&&!this._dateFilter(t)?{matDatepickerFilter:!0}:null},this._validator=CA.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw lY("DateAdapter");if(!this._dateFormats)throw lY("MAT_DATE_FORMATS");this._localeSubscription=t.localeChanges.subscribe(()=>{this.value=this.value})}set matDatepicker(e){e&&(this._datepicker=e,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe(e=>{this.value=e,this._cvaOnChange(e),this._onTouched(),this.dateInput.emit(new AY(this,this._elementRef.nativeElement)),this.dateChange.emit(new AY(this,this._elementRef.nativeElement))}))}set matDatepickerFilter(e){this._dateFilter=e,this._validatorOnChange()}get value(){return this._value}set value(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e);const t=this.value;this._value=e,this._formatValue(e),this._dateAdapter.sameDate(t,e)||this._valueChange.emit(e)}get min(){return this._min}set min(e){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get max(){return this._max}set max(e){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(e)),this._validatorOnChange()}get disabled(){return!!this._disabled}set disabled(e){const t=Df(e),i=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this._disabledChange.emit(t)),t&&this._isInitialized&&i.blur&&i.blur()}ngAfterViewInit(){this._isInitialized=!0}ngOnDestroy(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()}registerOnValidatorChange(e){this._validatorOnChange=e}validate(e){return this._validator?this._validator(e):null}getPopupConnectionElementRef(){return this.getConnectedOverlayOrigin()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(e){this.value=e}registerOnChange(e){this._cvaOnChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_onKeydown(e){this._datepicker&&e.altKey&&40===e.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),e.preventDefault())}_onInput(e){const t=this._lastValueValid;let i=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=!i||this._dateAdapter.isValid(i),i=this._getValidDateOrNull(i),this._dateAdapter.sameDate(i,this._value)?t!==this._lastValueValid&&this._validatorOnChange():(this._value=i,this._cvaOnChange(i),this._valueChange.emit(i),this.dateInput.emit(new AY(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new AY(this,this._elementRef.nativeElement))}_getThemePalette(){return this._formField?this._formField.color:void 0}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}_getValidDateOrNull(e){return this._dateAdapter.isDateInstance(e)&&this._dateAdapter.isValid(e)?e:null}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(nw,8),Ea(sw,8),Ea(wI,8))},e.\u0275dir=yt({type:e,selectors:[["input","matDatepicker",""]],hostVars:5,hostBindings:function(e,t){1&e&&Wa("input",(function(e){return t._onInput(e.target.value)}))("change",(function(){return t._onChange()}))("blur",(function(){return t._onBlur()}))("keydown",(function(e){return t._onKeydown(e)})),2&e&&(So("disabled",t.disabled),Da("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null))},inputs:{value:"value",matDatepicker:"matDatepicker",matDatepickerFilter:"matDatepickerFilter",min:"min",max:"max",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},exportAs:["matDatepickerInput"],features:[Ho([LY,TY,{provide:LI,useExisting:e}])]}),e})(),IY=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["","matDatepickerToggleIcon",""]]}),e})(),PY=(()=>{class e{constructor(e,t,i){this._intl=e,this._changeDetectorRef=t,this._stateChanges=h.EMPTY;const n=Number(i);this.tabIndex=n||0===n?n:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(e){this._disabled=Df(e)}ngOnChanges(e){e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}_watchStateChanges(){const e=this.datepicker?this.datepicker._disabledChange:Uh(),t=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:Uh(),i=this.datepicker?U(this.datepicker.openedStream,this.datepicker.closedStream):Uh();this._stateChanges.unsubscribe(),this._stateChanges=U(this._intl.changes,e,t,i).subscribe(()=>this._changeDetectorRef.markForCheck())}}return e.\u0275fac=function(t){return new(t||e)(Ea(cY),Ea(Zr),Ia("tabindex"))},e.\u0275cmp=ut({type:e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,i){var n;1&e&&lc(i,IY,!0),2&e&&sc(n=hc())&&(t._customIcon=n.first)},viewQuery:function(e,t){var i;1&e&&ac(sY,!0),2&e&&sc(i=hc())&&(t._button=i.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:7,hostBindings:function(e,t){1&e&&Wa("focus",(function(){return t._button.focus()})),2&e&&(Da("tabindex",t.disabled?null:-1),oo("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[Et],ngContentSelectors:oY,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple","click"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(Qa(aY),Oa(0,"button",0,1),Wa("click",(function(e){return t._open(e)})),Ta(2,rY,2,0,"svg",2),Za(3),Fa()),2&e&&(Pa("disabled",t.disabled)("disableRipple",t.disableRipple),Da("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),Cs(2),Pa("ngIf",!t._customIcon))},directives:[nC,$d],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}),e})(),YY=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[cY,xY],imports:[[ch,sC,Qx,I_,fy,Zg],jg]}),e})();function OY(e,t){1&e&&(Oa(0,"span",8),vo(1," *"),Fa())}function FY(e,t){1&e&&(Oa(0,"mat-error"),vo(1,"ERROR"),Fa())}const RY=qS||qS,NY={parse:{dateInput:"MM.YYYY"},display:{dateInput:"MM.YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let jY=(()=>{class e extends JI{constructor(){super(),this.dataForm=new cE({date:new lE(RY())})}ngOnInit(){this.dataForm.get("date").setValue("")}chosenYearHandler(e){let t=this.dataForm.get("date").value;t||(t=RY()),t.year(e.year()),this.dataForm.get("date").setValue(t)}chosenMonthHandler(e,t){const i=this.dataForm.get("date").value;i.month(e.month()),this.dataForm.get("date").setValue(i),t.close()}get date(){return this.dataForm.get("date")}set date(e){const t=RY(e,"YYYYMM");t.isValid()&&this.dataForm.get("date").patchValue(t)}get validator(){return!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ut({type:e,selectors:[["app-datepicker-year-month"]],inputs:{controlLabel:"controlLabel",required:"required",isRequired:"isRequired"},features:[Ho([{provide:nw,useClass:$P,deps:[iw,WP]},{provide:sw,useValue:NY},{provide:rA,useExisting:ke(()=>e),multi:!0}]),Lo],decls:11,vars:6,consts:[[3,"formGroup"],["class","haba-asterix",4,"ngIf"],["matInput","","formControlName","date",3,"matDatepicker"],["input",""],[4,"ngIf"],["matSuffix","",3,"for"],["startView","multi-year","panelClass","example-month-picker",3,"yearSelected","monthSelected"],["dp",""],[1,"haba-asterix"]],template:function(e,t){if(1&e){const e=Va();Oa(0,"div",0),Oa(1,"mat-form-field"),Oa(2,"mat-label"),vo(3),Ta(4,OY,2,0,"span",1),Fa(),Ra(5,"input",2,3),Ta(7,FY,2,0,"mat-error",4),Ra(8,"mat-datepicker-toggle",5),Oa(9,"mat-datepicker",6,7),Wa("yearSelected",(function(e){return t.chosenYearHandler(e)}))("monthSelected",(function(i){ii(e);const n=Aa(10);return t.chosenMonthHandler(i,n)})),Fa(),Fa(),Fa()}if(2&e){const e=Aa(10);Pa("formGroup",t.dataForm),Cs(3),wo(t.controlLabel),Cs(1),Pa("ngIf",t.isRequired),Cs(1),Pa("matDatepicker",e),Cs(2),Pa("ngIf",t.date.invalid),Cs(1),Pa("for",e)}},directives:[yA,SE,kI,mI,$d,PI,dA,EY,_A,IE,PY,gI,DY,oI],styles:[".example-month-picker[_ngcontent-%COMP%] .mat-calendar-period-button[_ngcontent-%COMP%]{pointer-events:none}.example-month-picker[_ngcontent-%COMP%] .mat-calendar-arrow[_ngcontent-%COMP%]{display:none}"]}),e})();const HY=qS||qS,VY={parse:{dateInput:"YYYY"},display:{dateInput:"YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}};let BY=(()=>{class e extends JI{constructor(){super(),this.dataForm=new cE({date:new lE(HY())})}ngOnInit(){this.dataForm.get("date").setValue(null)}chosenYearHandler(e,t){let i=this.dataForm.get("date").value;i||(i=HY()),i.year(e.year()),this.dataForm.get("date").setValue(i),t.close()}get date(){return this.dataForm.get("date")}set date(e){const t=HY(e,"YYYY");t.isValid()&&this.dataForm.get("date").patchValue(t)}logSelection(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ut({type:e,selectors:[["app-datepicker-year"]],inputs:{controlLabel:"controlLabel"},features:[Ho([{provide:nw,useClass:$P,deps:[iw,WP]},{provide:sw,useValue:VY},{provide:rA,useExisting:ke(()=>e),multi:!0}]),Lo],decls:8,vars:4,consts:[[3,"formGroup"],["matInput","","formControlName","date",3,"matDatepicker"],["matSuffix","",3,"for"],["startView","multi-year","panelClass","example-month-picker",3,"yearSelected"],["dp",""]],template:function(e,t){if(1&e){const e=Va();Oa(0,"div",0),Oa(1,"mat-form-field"),Oa(2,"mat-label"),vo(3),Fa(),Ra(4,"input",1),Ra(5,"mat-datepicker-toggle",2),Oa(6,"mat-datepicker",3,4),Wa("yearSelected",(function(i){ii(e);const n=Aa(7);return t.chosenYearHandler(i,n)})),Fa(),Fa(),Fa()}if(2&e){const e=Aa(7);Pa("formGroup",t.dataForm),Cs(3),wo(t.controlLabel),Cs(1),Pa("matDatepicker",e),Cs(1),Pa("for",e)}},directives:[yA,SE,kI,mI,PI,dA,EY,_A,IE,PY,gI,DY],styles:[""]}),e})();const zY=["firstRegistration"],WY=["exhaustInspection"],UY=["constructionYear"];function $Y(e,t){1&e&&(Oa(0,"div",28),vo(1," Bitte f\xfcllen Sie alle Pflichtfelder (*) "),Fa())}function GY(e,t){1&e&&(Oa(0,"span"),vo(1," und Lackierung"),Fa())}function qY(e,t){if(1&e&&(Oa(0,"mat-option",30),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e),Cs(1),ko(" ",e," ")}}function KY(e,t){if(1&e&&(Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2,"Sitzpl\xe4tze"),Fa(),Oa(3,"mat-select",29),Ra(4,"mat-option"),Ta(5,qY,2,2,"mat-option",17),Fa(),Fa()),2&e){const e=Ka();Cs(5),Pa("ngForOf",e.seats)}}function JY(e,t){if(1&e&&(Oa(0,"mat-option",30),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function QY(e,t){if(1&e&&(Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2,"Farbname"),Fa(),Oa(3,"mat-select",31),Ra(4,"mat-option"),Ta(5,JY,2,2,"mat-option",17),Fa(),Fa()),2&e){const e=Ka(2);Cs(5),Pa("ngForOf",e.siteIndependentRefdata.colors)}}function ZY(e,t){if(1&e&&(Oa(0,"div",5),Ta(1,QY,6,1,"mat-form-field",9),Ra(2,"div"),Fa()),2&e){const e=Ka();Cs(1),Pa("ngIf",e.siteIndependentRefdata.colors)}}function XY(e,t){1&e&&(Oa(0,"div",5),Oa(1,"mat-form-field"),Oa(2,"mat-label"),vo(3,"Farbe"),Fa(),Ra(4,"input",32),Fa(),Fa())}function eO(e,t){1&e&&(Oa(0,"div",5),Oa(1,"mat-checkbox",33),vo(2,"Metallic"),Fa(),Fa())}function tO(e,t){if(1&e&&(Oa(0,"mat-option",30),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function iO(e,t){if(1&e&&(Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2,"Getriebe"),Fa(),Oa(3,"mat-select",34),Ra(4,"mat-option"),Ta(5,tO,2,2,"mat-option",17),Fa(),Fa()),2&e){const e=Ka();Cs(5),Pa("ngForOf",e.siteIndependentRefdata.gearboxes)}}function nO(e,t){if(1&e&&(Oa(0,"mat-option",30),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e),Cs(1),ko(" ",e," ")}}function sO(e,t){if(1&e&&(Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2,"G\xe4nge"),Fa(),Oa(3,"mat-select",35),Ra(4,"mat-option"),Ta(5,nO,2,2,"mat-option",17),Fa(),Fa()),2&e){const e=Ka();Cs(5),Pa("ngForOf",e.gears)}}function rO(e,t){if(1&e&&(Oa(0,"mat-option",30),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function aO(e,t){if(1&e&&(Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2,"T\xfcren"),Fa(),Oa(3,"mat-select",36),Ra(4,"mat-option"),Ta(5,rO,2,2,"mat-option",17),Fa(),Fa()),2&e){const e=Ka();Cs(5),Pa("ngForOf",e.siteIndependentRefdata.doorcounts)}}function oO(e,t){if(1&e&&(Oa(0,"mat-option",30),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}let lO=(()=>{class e extends JI{constructor(e,t,i,n){super(),this.mobileDeService=e,this.route=t,this.sharedDataService=i,this.refdataService=n,this.dataForm=new cE({mileage:new lE(0,[CA.required]),power:new lE(""),horsepower:new lE(""),cubicCapacity:new lE(""),gearbox:new lE(""),gears:new lE(""),doors:new lE(""),firstRegistration:new lE("",[CA.required]),constructionYear:new lE(""),constructionDate:new lE(""),exhaustInspection:new lE(""),seats:new lE(""),exteriorColor:new lE(""),manufacturerColorName:new lE(""),metallic:new lE(""),vin:new lE(""),numberOfPreviousOwners:new lE(""),wheelFormula:new lE(""),fourWheelDrive:new lE("")}),this.siteIndependentRefdata={},this.mappingData=new Array,this.formSubmitted=!1,this.shownInCreateAdForm=!0}ngOnInit(){this.wheelFormulas=this.refdataService.getSiteIndependentRefdata("wheelformulas"),this.refdataService.getSiteIndependentRefdata("gearboxes").pipe(bu(1)).subscribe(e=>{this.siteIndependentRefdata.gearboxes=e}),this.refdataService.getSiteIndependentRefdata("doorcounts").pipe(bu(1)).subscribe(e=>{this.siteIndependentRefdata.doorcounts=e}),this.refdataService.getSiteIndependentRefdata("fuels").pipe(bu(1)).subscribe(e=>{this.siteIndependentRefdata.fuels=e}),this.refdataService.getSiteIndependentRefdata("colors").pipe(bu(1)).subscribe(e=>{this.siteIndependentRefdata.colors=e}),this.refdataService.getSiteIndependentRefdata("batteries").pipe(bu(1)).subscribe(e=>{this.siteIndependentRefdata.batteries=e});let e=1;for(this.gears=new Array,this.seats=new Array;e<11;){if(!(e<10)){this.gears.push(12,16);break}this.gears.push(e),this.seats.push(e),e++}}ngAfterViewInit(){this.subs=this.route.queryParams.pipe(bu(1)).subscribe(e=>{e.fromDp24?this.map():e.fromShowDarmasAds&&this.mapFromDarmasAd(e.darmasAdId)}),this.sharedDataService.currentFeatureProfileSubject.pipe(O(e=>e)).subscribe(e=>{e&&this.mapForProfilePrefill(e.baseDatas[0])})}formSubmittedHandler(){this.dataForm.get("mileage").markAsTouched(),this.dataForm.get("firstRegistration").markAllAsTouched()}resetControls(){this.dataForm.reset(),this.firstRegistrationChild.dataForm.reset(),this.exhaustInspectionChild.dataForm.reset(),this.constructionYearChild.dataForm.reset(),this.dataForm.get("mileage").setValue(0)}resetFirstRegistrationValidators(e){e?(this.dataForm.get("firstRegistration").clearValidators(),this.dataForm.get("firstRegistration").updateValueAndValidity(),this.firstRegistrationChild.isRequired=!1):(this.dataForm.get("firstRegistration").setValidators([CA.required]),this.dataForm.get("firstRegistration").updateValueAndValidity(),this.firstRegistrationChild.isRequired=!0)}validate(e){return this.dataForm.valid?null:{invalidForm:{valid:!1,message:"BaseData fields are invalid"}}}mapForProfilePrefill(e){Object.keys(e).forEach(t=>{"firstRegistration"===t?this.firstRegistrationChild.date=e[t]:"exhaustInspection"===t?this.exhaustInspectionChild.date=e[t]:"constructionYear"===t?this.constructionYearChild.date=e[t]:this.dataForm.get(t).setValue(e[t])}),this.dataForm.markAsTouched()}map(){this.sharedDataService.currentCar$.pipe(bu(1)).subscribe({next:e=>{this.mappingData=e,this.mapActualFields(this.mappingData)}})}mapActualFields(e){for(let t=e.length-1;t>=0;t--){const i=e[t],n=this.dataForm.get(i.key),s="make"===i.key&&"string"==typeof i.value?i.value.toUpperCase():i.value;n&&("firstRegistration"===i.key?this.firstRegistrationChild.date=i.value:"exhaustInspection"===i.key?this.exhaustInspectionChild.date=i.value:n.setValue(s))}this.dataForm.markAllAsTouched()}mapFromDarmasAd(e){this.mobileDeService.getDarmasAd(e).pipe(bu(1),O(e=>e.ad)).subscribe(e=>{e&&(this.mappingData=[],this.mapActualDarmasFields(e))})}mapActualDarmasFields(e){Object.keys(e).forEach(t=>{let i,n=!1;if("vehicleModel"===t){const n="model";i=this.dataForm.get(n),this.mappingData.push({key:n,value:e[t]})}else"firstRegistration"===t?(this.firstRegistrationChild.date=e[t],this.firstRegistrationChild.dataForm.controls.date.markAsTouched(),this.mappingData.push({key:t,value:e[t]}),n=!0):"exhaustInspection"===t?(this.exhaustInspectionChild.date=e[t],this.exhaustInspectionChild.dataForm.controls.date.markAsTouched(),this.mappingData.push({key:t,value:e[t]}),n=!0):"constructionYear"===t?(this.constructionYearChild.date=e[t],this.constructionYearChild.dataForm.controls.date.markAsTouched(),this.mappingData.push({key:t,value:e[t]}),n=!0):(i=this.dataForm.get(t),this.mappingData.push({key:t,value:e[t]}));if(i&&!n){const n="make"===t?e[t].toUpperCase():e[t];i.setValue(n)}}),this.dataForm.markAllAsTouched()}logSelection(e){}}return e.\u0275fac=function(t){return new(t||e)(Ea(BE),Ea(Vm),Ea(O_),Ea(VE))},e.\u0275cmp=ut({type:e,selectors:[["app-base-data"]],viewQuery:function(e,t){var i;1&e&&(ac(zY,!0),ac(WY,!0),ac(UY,!0)),2&e&&(sc(i=hc())&&(t.firstRegistrationChild=i.first),sc(i=hc())&&(t.exhaustInspectionChild=i.first),sc(i=hc())&&(t.constructionYearChild=i.first))},inputs:{formSubmitted:"formSubmitted",shownInCreateAdForm:"shownInCreateAdForm"},features:[Ho([{provide:rA,useExisting:ke(()=>e),multi:!0},{provide:wA,useExisting:ke(()=>e),multi:!0}]),Lo],decls:90,vars:17,consts:[[3,"formGroup"],["class","error",4,"ngIf"],["fxLayout","row","fxLayout.xs","column","fxLayoutGap","10px",1,"haba-row"],["fxLayout","column"],[2,"color","orange"],["fxLayout","row"],["matInput","","type","text","autocomplete","off"],["matInput","","type","text","autocomplete","off","formControlName","vin"],["matInput","","type","number","autocomplete","off","formControlName","numberOfPreviousOwners"],[4,"ngIf"],["fxLayout","row",4,"ngIf"],[1,"haba-asterix"],["matInput","","type","text","autocomplete","off","formControlName","mileage"],["matInput","","type","number","autocomplete","off","formControlName","power"],["matInput","","type","number","autocomplete","off","formControlName","horsepower"],["matInput","","type","number","autocomplete","off","formControlName","cubicCapacity"],["formControlName","wheelFormula"],[3,"value",4,"ngFor","ngForOf"],["formControlName","fourWheelDrive"],["controlLabel","Erstzulassung","formControlName","firstRegistration",3,"isRequired"],["firstRegistration",""],["controlLabel","HU (T\xdcV)","formControlName","exhaustInspection",3,"isRequired"],["exhaustInspection",""],["controlLabel","Baujahr","formControlName","constructionYear"],["constructionYear",""],["matInput","","formControlName","constructionDate",3,"matDatepicker"],["matSuffix","",3,"for"],["pickerProduction",""],[1,"error"],["formControlName","seats","matNativeControl",""],[3,"value"],["formControlName","exteriorColor"],["matInput","","type","text","autocomplete","off","formControlName","manufacturerColorName"],["formControlName","metallic"],["formControlName","gearbox"],["formControlName","gears"],["formControlName","doors"]],template:function(e,t){if(1&e&&(Na(0,0),Ta(1,$Y,2,0,"div",1),Oa(2,"div",2),Oa(3,"div",3),Oa(4,"h4",4),vo(5,"Kennzahlen"),Fa(),Oa(6,"div",5),Oa(7,"mat-form-field"),Oa(8,"mat-label"),vo(9,"Schl\xfcsselnummer"),Fa(),Ra(10,"input",6),Fa(),Fa(),Oa(11,"div",5),Oa(12,"mat-form-field"),Oa(13,"mat-label"),vo(14,"Kennzeichen"),Fa(),Ra(15,"input",6),Fa(),Fa(),Oa(16,"div",5),Oa(17,"mat-form-field"),Oa(18,"mat-label"),vo(19,"VIN"),Fa(),Ra(20,"input",7),Fa(),Fa(),Oa(21,"div",5),Oa(22,"mat-form-field"),Oa(23,"mat-label"),vo(24,"Anzahl Vorbesitzer"),Fa(),Ra(25,"input",8),Fa(),Fa(),Fa(),Oa(26,"div",3),Oa(27,"h4",4),vo(28," Aufbau "),Ta(29,GY,2,0,"span",9),Fa(),Oa(30,"div",5),Ta(31,KY,6,1,"mat-form-field",9),Ra(32,"div"),Fa(),Ta(33,ZY,3,1,"div",10),Ta(34,XY,5,0,"div",10),Ta(35,eO,3,0,"div",10),Fa(),Fa(),Oa(36,"div",2),Oa(37,"div",3),Oa(38,"h4",4),vo(39," Motor und Leistung "),Fa(),Oa(40,"mat-form-field"),Oa(41,"mat-label"),vo(42,"Kilometerstand"),Oa(43,"span",11),vo(44," *"),Fa(),Fa(),Ra(45,"input",12),Fa(),Oa(46,"mat-form-field"),Oa(47,"mat-label"),vo(48,"Leistung"),Fa(),Ra(49,"input",13),Fa(),Oa(50,"mat-form-field"),Oa(51,"mat-label"),vo(52,"Pferdest\xe4rke"),Fa(),Ra(53,"input",14),Fa(),Oa(54,"mat-form-field"),Oa(55,"mat-label"),vo(56,"Hubraum"),Fa(),Ra(57,"input",15),Fa(),Ta(58,iO,6,1,"mat-form-field",9),Ta(59,sO,6,1,"mat-form-field",9),Ta(60,aO,6,1,"mat-form-field",9),Fa(),Oa(61,"div",3),Oa(62,"h4"),vo(63,"\xa0"),Fa(),Oa(64,"mat-form-field"),Oa(65,"mat-label"),vo(66,"Antriebsart"),Fa(),Oa(67,"mat-select",16),Ra(68,"mat-option"),Ta(69,oO,2,2,"mat-option",17),Bl(70,"async"),Fa(),Fa(),Oa(71,"div",5),Oa(72,"mat-checkbox",18),vo(73,"4-Rad-Antrieb"),Fa(),Fa(),Fa(),Oa(74,"div",3),Oa(75,"h4",4),vo(76,"Datum"),Fa(),Ra(77,"app-datepicker-year-month",19,20),Ra(79,"app-datepicker-year-month",21,22),Ra(81,"app-datepicker-year",23,24),Oa(83,"mat-form-field"),Oa(84,"mat-label"),vo(85,"Produktion"),Fa(),Ra(86,"input",25),Ra(87,"mat-datepicker-toggle",26),Ra(88,"mat-datepicker",null,27),Fa(),Fa(),Fa(),ja()),2&e){const e=Aa(89);Pa("formGroup",t.dataForm),Cs(1),Pa("ngIf","INVALID"===t.dataForm.status&&t.formSubmitted),Cs(28),Pa("ngIf",t.shownInCreateAdForm),Cs(2),Pa("ngIf",t.seats),Cs(2),Pa("ngIf",t.shownInCreateAdForm),Cs(1),Pa("ngIf",t.shownInCreateAdForm),Cs(1),Pa("ngIf",t.shownInCreateAdForm),Cs(23),Pa("ngIf",t.siteIndependentRefdata.gearboxes),Cs(1),Pa("ngIf",t.gears),Cs(1),Pa("ngIf",t.siteIndependentRefdata.doorcounts),Cs(9),Pa("ngForOf",zl(70,15,t.wheelFormulas)),Cs(8),Pa("isRequired",!0),Cs(2),Pa("isRequired",!1),Cs(7),Pa("matDatepicker",e),Cs(1),Pa("for",e)}},directives:[yA,SE,$d,uD,bD,kI,mI,PI,dA,_A,IE,EA,LP,Nw,Wd,oP,jY,BY,EY,PY,gI,DY],pipes:[rh],styles:[".haba-row[_ngcontent-%COMP%]{margin-bottom:20px;border-bottom:1px solid #555;padding-bottom:10px}.haba-row[_ngcontent-%COMP%]:last-child{margin-bottom:0;border-bottom:0}"]}),e})();function cO(e,t=Zf){var i;const n=(i=e)instanceof Date&&!isNaN(+i)?+e-t.now():Math.abs(e);return e=>e.lift(new dO(n,t))}class dO{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new hO(e,this.delay,this.scheduler))}}class hO extends p{constructor(e,t,i){super(e),this.delay=t,this.scheduler=i,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,i=t.queue,n=e.scheduler,s=e.destination;for(;i.length>0&&i[0].time-n.now()<=0;)i.shift().notification.observe(s);if(i.length>0){const t=Math.max(0,i[0].time-n.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0,this.destination.add(e.schedule(hO.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,i=new uO(t.now()+this.delay,e);this.queue.push(i),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(pg.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(pg.createComplete()),this.unsubscribe()}}class uO{constructor(e,t){this.time=e,this.notification=t}}class mO{static genRandomString(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}static genRandomName32(){return Array(32).fill(null).map(()=>Math.round(16*Math.random()).toString(16)).join("")}static formatBytes(e,t=2){if(0===e)return"0 Bytes";const i=t<=0?0:t,n=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,n)).toFixed(i))+" "+["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"][n]}static getAWSS3UrlForDarmasImage(e){return"https://"+e.S3Bucket+".s3."+e.S3Region+".amazonaws.com/"+e.S3Ref}static arrayDifference(e,t){const i=[],n=[];for(let s=0;s<e.length;s++)i[e[s].name]=!0;for(let s=0;s<t.length;s++)i[t[s].name]?delete i[t[s].name]:i[t[s].name]=!0;for(const s of i)n.push(s);return n}static arrayEquals(e,t){const i=[...e],n=[...t];return i.sort(),n.sort(),Array.isArray(i)&&Array.isArray(n)&&i.length===n.length&&i.every((e,t)=>e===n[t])}static transformCurrencyToCalculatable(e,t="de-DE"){return(e=String(e))&&(e.includes("\u20ac")||e.includes(","))&&(e=(e=(e=e.replace("\u20ac","")).replace(".","")).replace(",",".")),Number(e)}static calculateNet(e,t=16){return(e/(100+t)*100).toFixed(2)}static getDateFormatForISOString(e){const t=new Date(e);return t.getDate()+"."+t.getMonth()+"."+t.getFullYear()}}let pO=(()=>{class e extends IM{constructor(e,t,i,n,s,r,a){super(e,null,t,i),this.ngClassInstance=a,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new Bd(n,s,e,r)),this.init(),this.setValue("","")}set klass(e){this.ngClassInstance.klass=e,this.setValue(e,"")}updateWithValue(e){this.ngClassInstance.ngClass=e,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(ZM),Ea(iD),Ea(cl),Ea(dl),Ea(qo),Ea(Bd,10))},e.\u0275dir=yt({type:e,inputs:{klass:["class","klass"]},features:[Lo]}),e})();const fO=["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 gO=(()=>{class e extends pO{constructor(){super(...arguments),this.inputs=fO}}return e.\u0275fac=function(t){return _O(t||e)},e.\u0275dir=yt({type:e,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:[Lo]}),e})();const _O=fn(gO);class yO{constructor(e,t,i=!0){this.key=e,this.value=t,this.key=i?e.replace(/['"]/g,"").trim():e.trim(),this.value=i?t.replace(/['"]/g,"").trim():t.trim(),this.value=this.value.replace(/;/,"")}}function bO(e){let t=typeof e;return"object"===t?e.constructor===Array?"array":e.constructor===Set?"set":"object":t}function vO(e){const[t,...i]=e.split(":");return new yO(t,i.join(":"))}function wO(e,t){return t.key&&(e[t.key]=t.value),e}let kO=(()=>{class e extends IM{constructor(e,t,i,n,s,r,a,o,l){super(e,null,t,i),this.sanitizer=n,this.ngStyleInstance=a,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new Xd(e,s,r)),this.init();const c=this.nativeElement.getAttribute("style")||"";this.fallbackStyles=this.buildStyleMap(c),this.isServer=o&&hh(l)}updateWithValue(e){const t=this.buildStyleMap(e);this.ngStyleInstance.ngStyle=Object.assign(Object.assign({},this.fallbackStyles),t),this.isServer&&this.applyStyleToElement(t),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(e){const t=e=>this.sanitizer.sanitize(ts.STYLE,e)||"";if(e)switch(bO(e)){case"string":return MO(function(e,t=";"){return String(e).trim().split(t).map(e=>e.trim()).filter(e=>""!==e)}(e),t);case"array":return MO(e,t);case"set":default:return function(e,t){let i=[];return"set"===bO(e)?e.forEach(e=>i.push(e)):Object.keys(e).forEach(t=>{i.push(`${t}:${e[t]}`)}),function(e,t){return e.map(vO).filter(e=>!!e).map(e=>(t&&(e.value=t(e.value)),e)).reduce(wO,{})}(i,t)}(e,t)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(ZM),Ea(iD),Ea(Hh),Ea(dl),Ea(qo),Ea(Xd,10),Ea(DM),Ea(kc))},e.\u0275dir=yt({type:e,features:[Lo]}),e})();const xO=["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 CO=(()=>{class e extends kO{constructor(){super(...arguments),this.inputs=xO}}return e.\u0275fac=function(t){return SO(t||e)},e.\u0275dir=yt({type:e,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:[Lo]}),e})();const SO=fn(CO);function MO(e,t){return e.map(vO).filter(e=>!!e).map(e=>(t&&(e.value=t(e.value)),e)).reduce(wO,{})}let DO=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[kM]]}),e})();const LO=["consumerPriceNet"],TO=["consumerPriceGross"],AO=["dealerPriceNet"],EO=["vatRate"],IO=["dealerPriceGross"],PO=function(e){return{display:e}};let YO=(()=>{class e extends JI{constructor(e,t,i,n){super(),this.route=e,this.sharedDataService=t,this.mobileDeService=i,this.currencyPipe=n,this.mappingData=new Array,this.dataForm=new cE({dealerPriceNet:new lE(""),dealerPriceGross:new lE(""),consumerPriceGross:new lE("",[CA.required]),consumerPriceNet:new lE(""),vatRate:new lE(16),type:new lE("")}),this.loading=!1}ngOnInit(){this.route.queryParams.pipe(bu(1)).subscribe(e=>{e.fromDp24?this.map():e.fromShowDarmasAds&&this.mapFromDarmasAd(e.darmasAdId)})}transformAmount(e,t){const i=mO.transformCurrencyToCalculatable(e.target.value),n=this.currencyPipe.transform(i,"\u20ac"),s=(i/116*100).toFixed(2);e.target.value=n,t?this.dataForm.get("dealerPriceNet").setValue(this.currencyPipe.transform(s,"\u20ac")):this.dataForm.get("consumerPriceNet").setValue(this.currencyPipe.transform(s,"\u20ac")),this.dataForm.markAllAsTouched()}intfTaxChange(e){console.log("intftax change: ",e),e.checked?(this.dataForm.get("consumerPriceNet").setValue(this.dataForm.get("consumerPriceGross").value),this.dataForm.get("dealerPriceNet").setValue(this.dataForm.get("dealerPriceGross").value)):(this.dataForm.get("consumerPriceNet").setValue(this.currencyPipe.transform(mO.calculateNet(mO.transformCurrencyToCalculatable(this.consumerPriceGross.nativeElement.value)),"\u20ac")),this.dataForm.get("dealerPriceNet").setValue(this.currencyPipe.transform(mO.calculateNet(mO.transformCurrencyToCalculatable(this.dealerPriceGross.nativeElement.value)),"\u20ac"))),this.dataForm.markAllAsTouched()}formSubmittedHandler(){this.dataForm.get("consumerPriceGross").markAsTouched()}resetControls(){this.dataForm.reset(),this.dataForm.get("vatRate").setValue(16)}map(){this.loading=!0,this.sharedDataService.currentCar$.pipe(bu(1),cO(0)).subscribe({next:e=>{this.mappingData=e,this.mapActualFields(this.mappingData)}})}mapFromDarmasAd(e){this.mobileDeService.getDarmasAd(e).pipe(bu(1),O(e=>e.ad)).subscribe(e=>{e&&(this.mappingData=[],this.mapActualDarmasFields(e))})}mapActualDarmasFields(e){const t=this.dataForm.controls.consumerPriceNet,i=this.dataForm.controls.consumerPriceGross,n=this.dataForm.get("vatRate"),s=this.dataForm.get("dealerPriceGross"),r=this.dataForm.get("dealerPriceNet");t.setValue(this.currencyPipe.transform(e.price.consumerPriceNet,"\u20ac")),i.patchValue(this.currencyPipe.transform(e.price.consumerPriceGross,"\u20ac")),n.setValue(e.price.vatRate),s.setValue(this.currencyPipe.transform(e.price.dealerPriceGross,"\u20ac")),r.setValue(this.currencyPipe.transform(e.price.dealerPriceNet,"\u20ac")),"FIXED"===e.price.type&&this.dataForm.get("type").setValue(!0),this.dataForm.markAllAsTouched()}mapActualFields(e){for(let t=0;t<e.length;t++){const i=e[t],n=this.dataForm.get(i.key),s=i.value;n&&("consumerPriceGross"===i.key?(n.setValue(this.currencyPipe.transform(i.value,"\u20ac")),this.dataForm.get("consumerPriceNet").setValue(this.currencyPipe.transform(mO.calculateNet(mO.transformCurrencyToCalculatable(i.value)),"\u20ac"))):"dealerPriceGross"===i.key?(n.setValue(this.currencyPipe.transform(i.value,"\u20ac")),this.dataForm.get("dealerPriceNet").setValue(this.currencyPipe.transform(mO.calculateNet(mO.transformCurrencyToCalculatable(i.value)),"\u20ac")),this.sharedDataService.dealerPriceGross=i.value+"\u20ac"):"consumerPriceNet"===i.key||"dealerPriceNet"===i.key||n.setValue(s))}this.loading=!1}validate(e){return this.dataForm.valid?null:{invalidForm:{valid:!1,message:"Price Finance fields are invalid"}}}}return e.\u0275fac=function(t){return new(t||e)(Ea(Vm),Ea(O_),Ea(BE),Ea(lh))},e.\u0275cmp=ut({type:e,selectors:[["app-price-finance"]],viewQuery:function(e,t){var i;1&e&&(ac(LO,!0),ac(TO,!0),ac(AO,!0),ac(EO,!0),ac(IO,!0)),2&e&&(sc(i=hc())&&(t.consumerPriceNet=i.first),sc(i=hc())&&(t.consumerPriceGross=i.first),sc(i=hc())&&(t.dealerPriceNet=i.first),sc(i=hc())&&(t.vatRate=i.first),sc(i=hc())&&(t.dealerPriceGross=i.first))},features:[Ho([{provide:rA,useExisting:ke(()=>e),multi:!0},{provide:wA,useExisting:ke(()=>e),multi:!0}]),Lo],decls:50,vars:4,consts:[[3,"formGroup"],["fxLayout","row","fxLayout.xs","column","fxLayoutGap","10px"],["fxLayout","column"],["fxLayout","row"],[1,"pricesLabel"],["matInput","","type","text","autocomplete","off","lang","de-DE","formControlName","consumerPriceNet"],["consumerPriceNet",""],[1,"haba-asterix"],["matInput","","type","text","autocomplete","off","step","0.01","lang","de-DE","formControlName","consumerPriceGross",3,"blur"],["consumerPriceGross",""],["matInput","","type","text","autocomplete","off","lang","de-DE","step","0.01","lang","de-DE","formControlName","dealerPriceNet"],["dealerPriceNet",""],["matInput","","type","text","autocomplete","off","lang","de-DE","formControlName","dealerPriceGross",3,"blur"],["dealerPriceGross",""],[3,"ngStyle"],["matInput","","type","number","autocomplete","off","formControlName","vatRate"],["vatRate",""],["matSuffix",""],["fxLayout","row",2,"margin-top","20px","margin-left","20px"],["formControlName","type",3,"change"],["intfTax",""]],template:function(e,t){if(1&e&&(Na(0,0),Oa(1,"div",1),Oa(2,"div",2),Oa(3,"h4"),vo(4,"\xa0"),Fa(),Oa(5,"div",3),Oa(6,"div"),Oa(7,"p",4),vo(8,"Verkaufspreis"),Fa(),Fa(),Oa(9,"mat-form-field"),Oa(10,"mat-label"),vo(11,"Netto"),Fa(),Ra(12,"input",5,6),Fa(),Oa(14,"mat-form-field"),Oa(15,"mat-label"),vo(16,"Brutto"),Oa(17,"span",7),vo(18," *"),Fa(),Fa(),Oa(19,"input",8,9),Wa("blur",(function(e){return t.transformAmount(e,!1)})),Fa(),Fa(),Fa(),Oa(21,"div",3),Oa(22,"div"),Oa(23,"p",4),vo(24,"Listenpreis"),Fa(),Fa(),Oa(25,"mat-form-field"),Oa(26,"mat-label"),vo(27,"Netto"),Fa(),Ra(28,"input",10,11),Fa(),Oa(30,"mat-form-field"),Oa(31,"mat-label"),vo(32,"Brutto"),Fa(),Oa(33,"input",12,13),Wa("blur",(function(e){return t.transformAmount(e,!0)})),Fa(),Fa(),Fa(),Fa(),Oa(35,"div",2),Oa(36,"h4"),vo(37,"\xa0"),Fa(),Oa(38,"div",3),Oa(39,"mat-form-field",14),Oa(40,"mat-label"),vo(41,"Mwst."),Fa(),Ra(42,"input",15,16),Oa(44,"span",17),vo(45,"%"),Fa(),Fa(),Oa(46,"div",18),Oa(47,"mat-checkbox",19,20),Wa("change",(function(e){return t.intfTaxChange(e)})),vo(49,"Interferenz-Besteuerung"),Fa(),Fa(),Fa(),Fa(),Fa(),ja()),2&e){const e=Aa(48);Pa("formGroup",t.dataForm),Cs(39),Pa("ngStyle",Fl(2,PO,e.checked?"none":"block"))}},directives:[yA,SE,uD,bD,kI,mI,PI,dA,_A,IE,Xd,CO,EA,gI,oP],styles:[".pricesLabel[_ngcontent-%COMP%]{margin-top:20px;margin-right:5px;width:120px}mat-form-field[_ngcontent-%COMP%]{width:100px}"]}),e})();function OO(e,t){1&e&&Ra(0,"app-buffering")}function FO(e,t){if(1&e){const e=Va();Oa(0,"app-haba-image-list",6),Wa("imagesReordered",(function(t){return ii(e),Ka().saveImages(t)})),Fa()}2&e&&Pa("imageRefs",Ka().images)}function RO(e,t){1&e&&(Oa(0,"div",7),Ra(1,"mat-progress-bar",8),Oa(2,"p",9),Oa(3,"span"),vo(4,"Dateien werden im Hintergrund bearbeitet "),Fa(),Fa(),Fa())}let NO=(()=>{class e extends JI{constructor(e,t,i,n,s,r,a){super(),this.sharedDataService=e,this.mobileDeService=t,this.dialog=i,this.route=n,this.router=s,this.dp24Service=r,this.imageUploadService=a,this.images=[],this.mobileDeImages=[],this.darmasImages=[],this.templateImages=[],this.uploading=!1,this.loading=!1,this.openImagePicker=new Gl,this.formSubmitted=!1}ngOnInit(){}ngAfterViewInit(){this.subs=this.sharedDataService.uploadedImgs2MobileObservable$.subscribe(e=>{e.map(e=>{this.mobileDeImages.push(e),this.images.push(e.ref)})},e=>{console.error(e)},()=>{}),this.route.queryParams.pipe(bu(1)).subscribe(e=>{e.imageProfileId?this.dp24Service.getImageProfileById(e.imageProfileId).pipe(bu(1)).subscribe(e=>{e&&(this.darmasImages=e.darmasImages),this._isFreshlyCreatedAd=!0}):e.fromShowDarmasAds?this.mobileDeService.getDarmasAd(e.darmasAdId).pipe(bu(1),O(e=>e.ad)).subscribe(e=>{e&&(this.mobileDeImages=e.images,this.images=e.images.map(e=>e.ref))}):this._isFreshlyCreatedAd=!0})}resetControls(){this.images=[],this.darmasImages=[],this.mobileDeImages=[],this._isFreshlyCreatedAd=!0,this.sharedDataService.completeUploadedImages()}saveImages(e){}createCompleteS3UrlFromDarmasImage(e){return"https://"+e.S3Bucket+".s3."+e.S3Region+".amazonaws.com/"+e.S3Ref}set _isFreshlyCreatedAd(e){this.imageUploadService.getAdTemplateImages().pipe(bu(1)).subscribe(e=>{this.templateImages=e[0].templateImages})}set _images(e){this.images=this.images.concat(e.map(e=>e.ref)),this.mobileDeImages=e,this.darmasImages=[]}addImages(){this.openImagePicker.emit(this)}showLightbox(e,t,i){e.preventDefault(),this.openImageViewerDialog(t,i)}deleteImageFromAd(e,t){console.log(t),e.preventDefault();const i=this.images.indexOf(t);this.images.splice(i,1),this.mobileDeImages.splice(i,1)}deleteDarmasImageFromAd(e,t){console.log(t),e.preventDefault();const i=this.darmasImages.indexOf(t);this.darmasImages.splice(i,1)}drop(e,t){switch(console.log(e),t){case"imagesFromProfile":ML(this.darmasImages,e.previousContainer.data.index,e.container.data.index);break;case"imagesUploaded":ML(this.images,e.previousContainer.data.index,e.container.data.index),ML(this.mobileDeImages,e.previousContainer.data.index,e.container.data.index)}}openImageViewerDialog(e,t){this.dialog.open(lT,{height:"auto",data:{uri:e,selectedIndex:t,uris:this.images}}).beforeClosed().pipe(bu(1)).subscribe(e=>{})}validate(e){return this.dataForm.valid?null:{invalidForm:{valid:!1,message:"featureForm fields are invalid"}}}ngOnDestroy(){console.log("images on destroy"),this.subs.unsubscribe(),this.images=[],this.mobileDeImages=[],this.darmasImages=[]}}return e.\u0275fac=function(t){return new(t||e)(Ea(O_),Ea(BE),Ea(Wx),Ea(Vm),Ea(sf),Ea(ZS),Ea(GS))},e.\u0275cmp=ut({type:e,selectors:[["app-images-for-ad"]],inputs:{formSubmitted:"formSubmitted"},outputs:{openImagePicker:"openImagePicker"},features:[Ho([{provide:rA,useExisting:ke(()=>e),multi:!0},{provide:wA,useExisting:ke(()=>e),multi:!0}]),Lo],decls:10,vars:5,consts:[[4,"ngIf"],["type","button","mat-raised-button","","color","primary",1,"tabButton",3,"click"],[2,"min-width","100%",3,"darmasImages","imagesReordered"],["style","min-width: 100%;",3,"imageRefs","imagesReordered",4,"ngIf"],[2,"min-width","100%",3,"images"],["style","\n \t\t\tpadding-top: 10px;\n \t\t\tpadding-bottom: 10px;\n \t\t",4,"ngIf"],[2,"min-width","100%",3,"imageRefs","imagesReordered"],[2,"padding-top","10px","padding-bottom","10px"],["mode","indeterminate"],[2,"font-size","10px"]],template:function(e,t){1&e&&(Na(0),Ta(1,OO,1,0,"app-buffering",0),Oa(2,"div"),Oa(3,"button",1),Wa("click",(function(){return t.addImages()})),Oa(4,"mat-icon"),vo(5,"add"),Fa(),Fa(),Fa(),Oa(6,"app-haba-image-list",2),Wa("imagesReordered",(function(e){return t.saveImages(e)})),Fa(),Ta(7,FO,1,1,"app-haba-image-list",3),Ra(8,"app-haba-image-list",4),Ta(9,RO,5,0,"div",5),ja()),2&e&&(Cs(1),Pa("ngIf",t.loading),Cs(5),Pa("darmasImages",t.darmasImages),Cs(1),Pa("ngIf",t.images&&t.images.length>0),Cs(1),Pa("images",t.templateImages),Cs(1),Pa("ngIf",t.uploading))},directives:[$d,nC,kS,ST,rS,tT],styles:[".mdc-image-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:0 auto;padding:0}.mdc-image-list__image-aspect-container[_ngcontent-%COMP%], .mdc-image-list__item[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.mdc-image-list__item[_ngcontent-%COMP%]{list-style-type:none}.mdc-image-list__image[_ngcontent-%COMP%]{width:100%}.mdc-image-list__image-aspect-container[_ngcontent-%COMP%] .mdc-image-list__image[_ngcontent-%COMP%]{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;background-repeat:no-repeat;background-position:50%;background-size:cover}.mdc-image-list__image-aspect-container[_ngcontent-%COMP%]{padding-bottom:calc(100% / 1)}.mdc-image-list__image[_ngcontent-%COMP%]{border-radius:0}.mdc-image-list--with-text-protection[_ngcontent-%COMP%] .mdc-image-list__supporting[_ngcontent-%COMP%]{border-radius:0 0 0 0}.mdc-image-list__supporting[_ngcontent-%COMP%]{color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;padding:8px 0;line-height:24px}.mdc-image-list__label[_ngcontent-%COMP%]{font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:1rem;line-height:1.75rem;font-weight:400;letter-spacing:.009375em;text-decoration:inherit;text-transform:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-image-list--with-text-protection[_ngcontent-%COMP%] .mdc-image-list__supporting[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%;height:48px;padding:0 16px;background:rgba(0,0,0,.6);color:#fff}.mdc-image-list--masonry[_ngcontent-%COMP%]{display:block}.mdc-image-list--masonry[_ngcontent-%COMP%] .mdc-image-list__item[_ngcontent-%COMP%]{-moz-column-break-inside:avoid;break-inside:avoid-column}.mdc-image-list--masonry[_ngcontent-%COMP%] .mdc-image-list__image[_ngcontent-%COMP%]{display:block;height:auto}.my-image-list[_ngcontent-%COMP%] .mdc-image-list__item[_ngcontent-%COMP%]{width:calc(100% / 5 - 4.2px);margin:2px}.custom-placeholder[_ngcontent-%COMP%]{background:#555;border:3px dotted #999;width:100%;transition:transform .25s cubic-bezier(0,0,.2,1)}.example-list[_ngcontent-%COMP%]{max-width:100%;border:1px solid #ccc;min-height:60px;display:block;background:#fff;border-radius:4px;overflow:hidden}.example-box[_ngcontent-%COMP%]{padding:20px 10px;border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.example-box[_ngcontent-%COMP%]:last-child{border:none}.editButtonsWrapper[_ngcontent-%COMP%]{color:orange}"]}),e})();const jO=["button"],HO=["*"],VO=new Re("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),BO={provide:rA,useExisting:ke(()=>$O),multi:!0};class zO{}let WO=0;class UO{constructor(e,t){this.source=e,this.value=t}}let $O=(()=>{class e{constructor(e,t){this._changeDetector=e,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name="mat-button-toggle-group-"+WO++,this.valueChange=new Gl,this.change=new Gl,this.appearance=t&&t.appearance?t.appearance:"standard"}get name(){return this._name}set name(e){this._name=e,this._buttonToggles&&this._buttonToggles.forEach(e=>{e.name=this._name,e._markForCheck()})}get vertical(){return this._vertical}set vertical(e){this._vertical=Df(e)}get value(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(e=>e.value):e[0]?e[0].value:void 0}set value(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}get selected(){const e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=Df(e)}get disabled(){return this._disabled}set disabled(e){this._disabled=Df(e),this._buttonToggles&&this._buttonToggles.forEach(e=>e._markForCheck())}ngOnInit(){this._selectionModel=new Yg(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked))}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_emitChangeEvent(){const e=this.selected,t=Array.isArray(e)?e[e.length-1]:e,i=new UO(t,this.value);this._controlValueAccessorChangeFn(i.value),this.change.emit(i)}_syncButtonToggle(e,t,i=!1,n=!1){this.multiple||!this.selected||e.checked||(this.selected.checked=!1),this._selectionModel?t?this._selectionModel.select(e):this._selectionModel.deselect(e):n=!0,n?Promise.resolve().then(()=>this._updateModelValue(i)):this._updateModelValue(i)}_isSelected(e){return this._selectionModel&&this._selectionModel.isSelected(e)}_isPrechecked(e){return void 0!==this._rawValue&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(t=>null!=e.value&&t===e.value):e.value===this._rawValue)}_setSelectionByValue(e){if(this._rawValue=e,this._buttonToggles)if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._clearSelection(),e.forEach(e=>this._selectValue(e))}else this._clearSelection(),this._selectValue(e)}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(e=>e.checked=!1)}_selectValue(e){const t=this._buttonToggles.find(t=>null!=t.value&&t.value===e);t&&(t.checked=!0,this._selectionModel.select(t))}_updateModelValue(e){e&&this._emitChangeEvent(),this.valueChange.emit(this.value)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Zr),Ea(VO,8))},e.\u0275dir=yt({type:e,selectors:[["mat-button-toggle-group"]],contentQueries:function(e,t,i){var n;1&e&&lc(i,KO,!0),2&e&&sc(n=hc())&&(t._buttonToggles=n)},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(e,t){2&e&&(Da("aria-disabled",t.disabled),oo("mat-button-toggle-vertical",t.vertical)("mat-button-toggle-group-appearance-standard","standard"===t.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[Ho([BO,{provide:zO,useExisting:e}])]}),e})();class GO{}const qO=Zv(GO);let KO=(()=>{class e extends qO{constructor(e,t,i,n,s,r){super(),this._changeDetectorRef=t,this._elementRef=i,this._focusMonitor=n,this._isSingleSelector=!1,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new Gl;const a=Number(s);this.tabIndex=a||0===a?a:null,this.buttonToggleGroup=e,this.appearance=r&&r.appearance?r.appearance:"standard"}get buttonId(){return this.id+"-button"}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){const t=Df(e);t!==this._checked&&(this._checked=t,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=Df(e)}ngOnInit(){const e=this.buttonToggleGroup;this._isSingleSelector=e&&!e.multiple,this._type=this._isSingleSelector?"radio":"checkbox",this.id=this.id||"mat-button-toggle-"+WO++,this._isSingleSelector&&(this.name=e.name),e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked)),this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){const e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){const e=!!this._isSingleSelector||!this._checked;e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new UO(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(Ea($O,8),Ea(Zr),Ea(Wo),Ea(hy),Ia("tabindex"),Ea(VO,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-button-toggle"]],viewQuery:function(e,t){var i;1&e&&ac(jO,!0),2&e&&sc(i=hc())&&(t._buttonElement=i.first)},hostAttrs:[1,"mat-button-toggle"],hostVars:11,hostBindings:function(e,t){1&e&&Wa("focus",(function(){return t.focus()})),2&e&&(Da("tabindex",-1)("id",t.id)("name",null),oo("mat-button-toggle-standalone",!t.buttonToggleGroup)("mat-button-toggle-checked",t.checked)("mat-button-toggle-disabled",t.disabled)("mat-button-toggle-appearance-standard","standard"===t.appearance))},inputs:{disableRipple:"disableRipple",ariaLabelledby:["aria-labelledby","ariaLabelledby"],tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled",id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],value:"value"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[Lo],ngContentSelectors:HO,decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(e,t){if(1&e&&(Qa(),Oa(0,"button",0,1),Wa("click",(function(){return t._onButtonClick()})),Oa(2,"div",2),Za(3),Fa(),Fa(),Ra(4,"div",3),Ra(5,"div",4)),2&e){const e=Aa(1);Pa("id",t.buttonId)("disabled",t.disabled||null),Da("tabindex",t.disabled?-1:t.tabIndex)("aria-pressed",t.checked)("name",t.name||null)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby),Cs(5),Pa("matRippleTrigger",e)("matRippleDisabled",t.disableRipple||t.disabled)}},directives:[Mw],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:transparent}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.cdk-high-contrast-active .mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:.5}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}.cdk-high-contrast-active .mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.5}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px;padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{border-radius:inherit;pointer-events:none;opacity:0;top:0;left:0;right:0;bottom:0;position:absolute}.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 48px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}\n"],encapsulation:2,changeDetection:0}),e})(),JO=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[Kv,Dw],Kv]}),e})();function QO(e,t){if(1&e&&(Oa(0,"mat-option",43),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e),Cs(1),ko(" ",e.alias," ")}}let ZO=(()=>{class e extends JI{constructor(e,t,i,n,s,r){super(),this.authService=e,this.sharedDataService=t,this.matSnackBar=i,this.route=n,this.mobileDeService=s,this.dialog=r,this.online=!1,this.subs=new h,this.submitForm=new Gl,this.dataForm=new cE({store:new lE({value:"",disabled:!0}),mobileDeStatus:new lE(!1,[]),user:new lE({value:"",disabled:!0}),internalNumber:new lE("",[]),reserved:new lE,mobileAdIdUi:new lE({value:"",disabled:!0}),darmasAdIdUi:new lE({value:"",disabled:!0}),mobileAdId:new lE(""),darmasAdId:new lE(""),deliveryPeriod:new lE(""),deliveryDate:new lE(""),mobileSellerId:new lE(""),renewalDate:new lE(""),imageProfileId:new lE(""),featureProfileId:new lE(""),colorProfileId:new lE(""),dispo24VehicleId:new lE(""),xMobileDeRandomId:new lE("")}),this.imageProfileId="",this.featureProfileId="",this.colorProfileId="",this.dispo24VehicleId="",this.onlineLoading=!1}ngOnInit(){this.online=!1,this.authService.getStores().pipe(bu(1)).subscribe(e=>{this.stores=e;const t=JSON.parse(localStorage.getItem("selectedStore"));let i=null;t&&this.authService.currentUserValue.role>=GI.OrganizationAdmin?(i=t._id,this.storeId=i):i=this.storeId;for(const n of this.stores)n._id===i&&(this.dataForm.get("store").patchValue(n),this.userStore=n);console.log("STORE:: ",this.userStore),this.sharedDataService.setActualStoreDescriptionTextStart(this.userStore.descriptionTextStart),this.sharedDataService.setActualStoreDescriptionTextEnd(this.userStore.descriptionTextEnd),this.sharedDataService.setActualStoreDescriptionInternalNumber(this.userStore.descriptionInternalNumberTpl),this.sharedDataService.setActualStoreDescriptionListPrice(this.userStore.descriptionListPriceTpl),this.sharedDataService.setActualStoreBrands(this.userStore.brands)},e=>{throw console.error(e),e}),this.subs.add(this.authService.currentUser.subscribe({next:e=>{var t;this.user=e,this.dataForm.get("user").setValue(this.user.email),(null===(t=this.user)||void 0===t?void 0:t.role)>=GI.OrganizationAdmin?this.dataForm.get("store").enable():this.dataForm.get("store").disable()}})),this.route.queryParams.pipe(bu(1)).subscribe(e=>{e.fromDp24?this.sharedDataService.currentCar$.pipe(bu(1)).subscribe({next:t=>{let i="";for(const e of t)if("internalNumber"===e.key){i=e.value;break}this.dataForm.get("internalNumber").setValue(i),this.sharedDataService.internalNumber=i,this.dispo24VehicleId=e.dispo24VehicleId,this.dataForm.get("dispo24VehicleId").setValue(this.dispo24VehicleId),e.imageProfileId&&(this.imageProfileId=e.imageProfileId,this.dataForm.get("imageProfileId").setValue(this.imageProfileId)),e.featureProfileId&&(this.featureProfileId=e.featureProfileId,this.dataForm.get("featureProfileId").setValue(this.featureProfileId)),e.colorProfileId&&(this.colorProfileId=e.colorProfileId,this.dataForm.get("colorProfileId").setValue(this.colorProfileId))}}):e.fromShowDarmasAds&&this.mobileDeService.getDarmasAd(e.darmasAdId).pipe(bu(1),O(e=>e)).subscribe(e=>{this.darmasAd=e,this.online=this.darmasAd.status.online,this.darmasAd.mobileAdId&&(this.dataForm.get("mobileAdId").setValue(this.darmasAd.mobileAdId),this.dataForm.get("mobileAdIdUi").setValue(this.darmasAd.mobileAdId)),this.dataForm.get("darmasAdId").setValue(this.darmasAd._id),this.dataForm.get("darmasAdIdUi").setValue(this.darmasAd._id),this.dataForm.get("deliveryPeriod").setValue(this.darmasAd.ad.deliveryPeriod),this.dataForm.get("deliveryDate").setValue(this.darmasAd.ad.deliveryDate),this.dataForm.get("mobileSellerId").setValue(this.darmasAd.mobileSellerId),this.dataForm.get("internalNumber").setValue(this.darmasAd.ad.internalNumber),this.dataForm.get("reserved").setValue(this.darmasAd.ad.reserved);for(const t of this.stores)t._id===this.darmasAd.storeId&&(this.dataForm.get("store").patchValue(t),this.userStore=t)})})}resetControls(){this.dataForm.reset(),this.dataForm.get("store").setValue(this.userStore),this.dataForm.get("user").setValue(this.user.email),this._online=!1}storeChange(e){console.log(e),this.userStore=e,localStorage.setItem("selectedStore",JSON.stringify(e))}removeMobileAdId(e){e.preventDefault(),e.stopPropagation(),this.openDialog({title:"Achtung",message:"Wollen Sie wirklich die Inserats-Nr. entfernen? Sie machen dann keine Update sondern erstellen ein neues Inserat.",confirmButton:!0,confirmButtonLabel:"Inserats-Nr. l\xf6schen"})}set xMobileDeRandomId(e){this.dataForm.get("xMobileDeRandomId").setValue(e)}mobileDeStatusChange(e){if("offline"===e.value){const e=this.dataForm.get("mobileAdId").value;this.mobileDeService.deleteAdFromMobileDe(e).pipe(bu(1)).subscribe(e=>{console.log("delete from mobile.de result: ",e),e.deleted&&(this.openSnackBar("Das Inserat ist nicht mehr online bei Mobile.de","Ok"),this._online=!1)})}else this.submitForm.emit(!0)}get _online(){return this.online}set _online(e){this.online=e,this.onlineLoading=!1}openDialog(e){this.dialog.open(mC,{height:"auto",width:"auto",maxWidth:"350px",data:{title:e.title,message:e.message,htmlMessage:e.htmlMessage,confirmButtonRouterLink:e.confirmButtonRouterLink,confirmButton:e.confirmButton,confirmButtonLabel:e.confirmButtonLabel}}).beforeClosed().subscribe(e=>{e&&(this.dataForm.get("mobileAdIdUi").setValue(""),this.dataForm.get("mobileAdId").setValue(""),this.dataForm.get("darmasAdIdUi").setValue(""),this.dataForm.get("darmasAdId").setValue(""))})}openSnackBar(e,t){this.matSnackBar.open(e,t,{duration:8e3})}validate(e){return this.dataForm.valid?null:{invalidForm:{valid:!1,message:"system fields are invalid"}}}ngOnDestroy(){this.subs.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ea(jE),Ea(O_),Ea(bM),Ea(Vm),Ea(BE),Ea(Wx))},e.\u0275cmp=ut({type:e,selectors:[["app-system"]],inputs:{online:"online",storeId:"storeId"},outputs:{submitForm:"submitForm"},features:[Ho([{provide:rA,useExisting:ke(()=>e),multi:!0},{provide:wA,useExisting:ke(()=>e),multi:!0}]),Lo],decls:111,vars:17,consts:[[3,"formGroup"],["type","hidden","formControlName","mobileAdId"],["type","hidden","formControlName","darmasAdId"],["type","hidden","formControlName","mobileSellerId"],["type","hidden","formControlName","imageProfileId"],["type","hidden","formControlName","featureProfileId"],["type","hidden","formControlName","colorProfileId"],["type","hidden","formControlName","dispo24VehicleId"],["type","hidden","formControlName","xMobileDeRandomId"],["fxLayout","row","fxLayout.xs","column","fxLayoutGap","10px"],["fxLayout","column"],["fxLayout","row"],["formControlName","store",3,"selectionChange"],["storeSelect",""],[3,"value",4,"ngFor","ngForOf"],["matSuffix","",3,"diameter"],["matSpinner",""],["matInput","","formControlName","mobileDeStatus","aria-label","Mobile.de status",3,"change"],["onlineToggle",""],[3,"value","checked"],["value","offline",3,"checked"],["fxLayout","row",2,"margin-top","10px"],["formControlName","reserved"],["matInput","","type","text","autocomplete","off","formControlName","user"],["matInput","","type","text","autocomplete","off","formControlName","internalNumber"],["matInput","","type","text","autocomplete","off","formControlName","mobileAdIdUi"],["mat-icon-button","","matSuffix","",3,"click"],["matInput","","type","text","autocomplete","off","formControlName","darmasAdIdUi"],["matInput","","formControlName","renewalDate",3,"matDatepicker"],["matSuffix","",3,"for"],["pickerRenewal",""],[2,"color","orange","margin-top","10px","margin-bottom","7px"],["formControlName","deliveryPeriod","matNativeControl",""],["value","0"],["value","1"],["value","2"],["value","3"],["value","4"],["value","5"],["value","6"],["value","7"],["matInput","","formControlName","deliveryDate",3,"matDatepicker"],["pickerDeliveryDate",""],[3,"value"]],template:function(e,t){if(1&e){const e=Va();Na(0,0),Ra(1,"input",1),Ra(2,"input",2),Ra(3,"input",3),Ra(4,"input",4),Ra(5,"input",5),Ra(6,"input",6),Ra(7,"input",7),Ra(8,"input",8),Oa(9,"div",9),Oa(10,"div",10),Oa(11,"h4"),vo(12,"Status"),Fa(),Oa(13,"div",11),Oa(14,"mat-form-field"),Oa(15,"mat-label"),vo(16,"Filiale"),Fa(),Oa(17,"mat-select",12,13),Wa("selectionChange",(function(){ii(e);const i=Aa(18);return t.storeChange(i.value)})),Ta(19,QO,2,2,"mat-option",14),Fa(),Oa(20,"mat-hint"),vo(21),Fa(),Fa(),Fa(),Oa(22,"div",11),Ra(23,"mat-spinner",15,16),Oa(25,"mat-button-toggle-group",17,18),Wa("change",(function(e){return t.mobileDeStatusChange(e)})),Oa(27,"mat-button-toggle",19),vo(28,"Online"),Fa(),Oa(29,"mat-button-toggle",20),vo(30,"Offline"),Fa(),Fa(),Fa(),Oa(31,"div",21),Oa(32,"mat-checkbox",22),vo(33,"Reserviert"),Fa(),Fa(),Oa(34,"div",21),Oa(35,"mat-form-field"),Oa(36,"mat-label"),vo(37,"Benutzer"),Fa(),Ra(38,"input",23),Fa(),Fa(),Oa(39,"div",11),Oa(40,"mat-form-field"),Oa(41,"mat-label"),vo(42,"Auftragsnr./dispo24"),Fa(),Ra(43,"input",24),Fa(),Fa(),Fa(),Oa(44,"div",10),Oa(45,"h4"),vo(46,"Kennung"),Fa(),Oa(47,"div",11),Oa(48,"mat-form-field"),Oa(49,"mat-label"),vo(50,"Mobile.de Inserats Id"),Fa(),Ra(51,"input",25),Oa(52,"button",26),Wa("click",(function(e){return t.removeMobileAdId(e)})),Oa(53,"mat-icon"),vo(54,"close"),Fa(),Fa(),Fa(),Fa(),Oa(55,"div",11),Oa(56,"mat-form-field"),Oa(57,"mat-label"),vo(58,"Darmas Datenbank Id"),Fa(),Ra(59,"input",27),Fa(),Fa(),Oa(60,"div",11),Oa(61,"mat-form-field"),Oa(62,"mat-label"),vo(63,"Erneuerungsdatum Inserat"),Fa(),Ra(64,"input",28),Ra(65,"mat-datepicker-toggle",29),Ra(66,"mat-datepicker",null,30),Fa(),Fa(),Oa(68,"h5",31),vo(69," Disposition "),Fa(),Oa(70,"div",11),Oa(71,"mat-form-field"),Oa(72,"mat-label"),vo(73,"Lieferfrist"),Fa(),Oa(74,"mat-select",32),Ra(75,"mat-option"),Oa(76,"mat-option",33),vo(77," Standard "),Fa(),Oa(78,"mat-option",34),vo(79,"1 Tag"),Fa(),Oa(80,"mat-option",35),vo(81,"2 Tage"),Fa(),Oa(82,"mat-option",36),vo(83,"3 Tage"),Fa(),Oa(84,"mat-option",37),vo(85,"4 Tage"),Fa(),Oa(86,"mat-option",38),vo(87,"5 Tage"),Fa(),Oa(88,"mat-option",39),vo(89,"6 Tage"),Fa(),Oa(90,"mat-option",40),vo(91,"7 Tage"),Fa(),Oa(92,"mat-option",34),vo(93,"14 Tage"),Fa(),Oa(94,"mat-option",34),vo(95,"42 Tage"),Fa(),Oa(96,"mat-option",34),vo(97,"60 Tage"),Fa(),Oa(98,"mat-option",34),vo(99,"90 Tage"),Fa(),Oa(100,"mat-option",34),vo(101,"120 Tage"),Fa(),Ra(102,"mat-option"),Fa(),Fa(),Ra(103,"div"),Fa(),Oa(104,"mat-form-field"),Oa(105,"mat-label"),vo(106,"Lieferdatum"),Fa(),Ra(107,"input",41),Ra(108,"mat-datepicker-toggle",29),Ra(109,"mat-datepicker",null,42),Fa(),Fa(),Fa(),ja()}if(2&e){const e=Aa(67),i=Aa(110);Pa("formGroup",t.dataForm),Cs(19),Pa("ngForOf",t.stores),Cs(2),wo(null==t.userStore?null:t.userStore.mobileSellerId),Cs(2),ao("display",t.onlineLoading?"block":"none"),Pa("diameter",18),Cs(4),oo("online-selected",t.online),Pa("value",t.online)("checked",t.online),Cs(2),oo("offline-selected",!t.online),Pa("checked",!t.online),Cs(35),Pa("matDatepicker",e),Cs(1),Pa("for",e),Cs(42),Pa("matDatepicker",i),Cs(1),Pa("for",i)}},directives:[yA,SE,dA,_A,IE,uD,bD,kI,mI,LP,Wd,uI,nS,gI,$O,KO,oP,PI,nC,kS,EY,PY,DY,Nw],styles:[".online-selected[_ngcontent-%COMP%]{background:green}.offline-selected[_ngcontent-%COMP%]{background:red} .mat-snack-bar-container, snack-bar-container{border-radius:0!important}"]}),e})();const XO=["modelSelect"],eF=["modelTextInput"],tF=["markedModelDescription"];function iF(e,t){if(1&e&&(Oa(0,"mat-option",15),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function nF(e,t){1&e&&(Oa(0,"span"),vo(1,"Pflichtfeld!"),Fa())}function sF(e,t){1&e&&(Oa(0,"button",16),Oa(1,"mat-icon"),vo(2,"arrow_right_alt"),Fa(),Fa())}function rF(e,t){if(1&e&&(Oa(0,"mat-option",15),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function aF(e,t){1&e&&(Oa(0,"span"),vo(1,"Pflichtfeld!"),Fa())}function oF(e,t){if(1&e&&(Oa(0,"mat-form-field",17),Oa(1,"mat-label"),vo(2,"Fahrtzeugtyp"),Oa(3,"span",4),vo(4," *"),Fa(),Fa(),Oa(5,"mat-select",18),Ra(6,"mat-option"),Ta(7,rF,2,2,"mat-option",7),Fa(),Oa(8,"mat-error"),Ta(9,aF,2,0,"span",8),Fa(),Fa()),2&e){const e=Ka();Cs(7),Pa("ngForOf",e.categoriesForClass),Cs(2),Pa("ngIf",null==e.dataForm.get("category").errors?null:e.dataForm.get("category").errors.required)}}function lF(e,t){if(1&e&&(Oa(0,"mat-option",15),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function cF(e,t){1&e&&(Oa(0,"span"),vo(1,"Pflichtfeld!"),Fa())}function dF(e,t){if(1&e){const e=Va();Oa(0,"div",3),Oa(1,"mat-form-field"),Oa(2,"mat-label"),vo(3,"Marke"),Oa(4,"span",4),vo(5," *"),Fa(),Fa(),Oa(6,"mat-select",19,20),Wa("selectionChange",(function(t){return ii(e),Ka().getModelsForMaker(t)})),Ra(8,"mat-option"),Ta(9,lF,2,2,"mat-option",7),Fa(),Oa(10,"mat-error"),Ta(11,cF,2,0,"span",8),Fa(),Fa(),Fa()}if(2&e){const e=Ka();Cs(9),Pa("ngForOf",e.makesForClass),Cs(2),Pa("ngIf",null==e.dataForm.get("make").errors?null:e.dataForm.get("make").errors.required)}}function hF(e,t){if(1&e&&(Oa(0,"mat-option",15),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function uF(e,t){if(1&e){const e=Va();Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2,"Modellgruppen"),Fa(),Oa(3,"mat-select",21),Wa("selectionChange",(function(t){return ii(e),Ka().getModelsForModelgroup(t)})),Ra(4,"mat-option"),Ta(5,hF,2,2,"mat-option",7),Fa(),Fa()}if(2&e){const e=Ka();Cs(5),Pa("ngForOf",e.modelgroups)}}function mF(e,t){if(1&e&&(Oa(0,"mat-option",15),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function pF(e,t){1&e&&(Oa(0,"span"),vo(1,"Pflichtfeld!"),Fa())}function fF(e,t){if(1&e&&(Na(0),vo(1),ja()),2&e){const e=Ka(2);Cs(1),ko(" Die Model-Beschreibung ist ",e.modelDescriptionToLongCount," Zeichen zu lang ")}}function gF(e,t){if(1&e&&(Na(0),vo(1),ja()),2&e){const e=Ka(2);Cs(1),ko(" Sie haben noch ",e.modelDescriptionToLongCount," Zeichen ")}}function _F(e,t){1&e&&(Oa(0,"span"),vo(1,"Pflichtfeld!"),Fa())}function yF(e,t){if(1&e){const e=Va();Oa(0,"div",3),Oa(1,"mat-form-field"),Oa(2,"mat-label"),vo(3,"Modelle"),Oa(4,"span",4),vo(5," *"),Fa(),Fa(),Oa(6,"mat-select",22,23),Wa("selectionChange",(function(t){return ii(e),Ka().getRefdataForModel(t)})),Ra(8,"mat-option"),Ta(9,mF,2,2,"mat-option",7),Fa(),Oa(10,"mat-error"),Ta(11,pF,2,0,"span",8),Fa(),Fa(),Oa(12,"button",24),Wa("click",(function(t){ii(e);const i=Aa(7),n=Ka();return n.dataForm.get("modelDescription").setValue(i.value),n.focusModelText(t)})),Oa(13,"mat-icon"),vo(14,"arrow_right_alt"),Fa(),Fa(),Oa(15,"mat-form-field",25),Oa(16,"mat-label"),vo(17,"Modell (Text)"),Oa(18,"span",4),vo(19," *"),Fa(),Fa(),Oa(20,"textarea",26,27),Wa("input",(function(t){return ii(e),Ka().modelDescriptionOnInput(t)})),Fa(),Oa(22,"mat-hint"),Ta(23,fF,2,1,"ng-container",8),Ta(24,gF,2,1,"ng-container",8),Fa(),Oa(25,"mat-error"),Ta(26,_F,2,0,"span",8),Fa(),Fa(),Ra(27,"mat-spinner",11,28),Fa()}if(2&e){const e=Ka();Cs(9),Pa("ngForOf",e.modelsForClassAndMaker),Cs(2),Pa("ngIf",null==e.dataForm.get("model").errors?null:e.dataForm.get("model").errors.required),Cs(12),Pa("ngIf",e.modelDescriptionToLong&&0!==e.modelDescriptionToLongCount),Cs(1),Pa("ngIf",!e.modelDescriptionToLong&&0!==e.modelDescriptionToLongCount),Cs(2),Pa("ngIf",null==e.dataForm.get("modelDescription").errors?null:e.dataForm.get("modelDescription").errors.required),Cs(1),ao("display",e.loadingModel?"block":"none"),Pa("diameter",18)}}function bF(e,t){if(1&e&&(Oa(0,"mat-option",15),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function vF(e,t){if(1&e){const e=Va();Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2,"Fahrtzeugart"),Fa(),Oa(3,"mat-select",29,6),Wa("selectionChange",(function(t){return ii(e),Ka().conditionChanged(t)})),Ra(5,"mat-option"),Ta(6,bF,2,2,"mat-option",7),Bl(7,"async"),Fa(),Fa()}if(2&e){const e=Ka();Cs(6),Pa("ngForOf",zl(7,1,e.conditions))}}function wF(e,t){if(1&e&&(Oa(0,"mat-option",15),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function kF(e,t){if(1&e){const e=Va();Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2,"Nutzungsart"),Fa(),Oa(3,"mat-select",30,6),Wa("selectionChange",(function(t){return ii(e),Ka().usageTypeChanged(t)})),Ra(5,"mat-option"),Ta(6,wF,2,2,"mat-option",7),Bl(7,"async"),Fa(),Oa(8,"mat-error"),Oa(9,"strong"),vo(10,"required"),Fa(),Fa(),Fa()}if(2&e){const e=Ka();Cs(6),Pa("ngForOf",zl(7,1,e.usageTypes))}}function xF(e,t){if(1&e&&(Oa(0,"mat-option",15),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function CF(e,t){if(1&e&&(Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2,"Landesversion"),Fa(),Oa(3,"mat-select",31),Ra(4,"mat-option"),Ta(5,xF,2,2,"mat-option",7),Fa(),Fa()),2&e){const e=Ka();Cs(5),Pa("ngForOf",e.countryVersions)}}function SF(e,t){1&e&&(Oa(0,"div",32),vo(1," Bitte f\xfcllen Sie alle Pflichtfelder aus (*) "),Fa())}let MF=(()=>{class e extends JI{constructor(e,t,i,n,s,r){super(),this.mobileDeService=e,this.sharedDataService=t,this.route=i,this.router=n,this.dp24Service=s,this.refdataService=r,this.selectedVehicleClassEvent=new Gl,this.loading=!1,this.loadingModel=!1,this.loadingModelgroup=!1,this.loadingModels4Modelgroup=!1,this.sub=new h,this.mappingData=new Array,this.formSubmitted=!1,this.vehicleConditionChanged=new Gl,this.vehicleUsageTypeChanged=new Gl,this.modelDescriptionToLong=!1,this.modelDescriptionToLongCount=0,this.favoriteBrands=[]}ngOnInit(){this.dataForm=new cE({vehicleClass:new lE("Car",[CA.required]),category:new lE("",[CA.required]),make:new lE("",[CA.required]),model:new lE("",[CA.required]),modelDescription:new lE("",[CA.required]),countryVersion:new lE("DE"),usageType:new lE(""),makeText:new lE(""),modelText:new lE(""),condition:new lE(""),modelRange:new lE(""),modelgroups:new lE(""),modelsOfModelgroup:new lE("")}),this.refdataService.getRefdata("classes").pipe(bu(1)).subscribe(e=>{this.vehicleClasses=e,this.loading=!1}),this.usageTypes=this.refdataService.getSiteIndependentRefdata("usagetypes"),this.refdataService.getSiteIndependentRefdata("countryversion").pipe(bu(1)).subscribe(e=>{this.countryVersions=e.filter(e=>!!e.description)}),this.conditions=this.refdataService.getSiteIndependentRefdata("conditions"),this.sharedDataService.actualStoreBrands$.pipe(bu(1)).subscribe(e=>{this.favoriteBrands=e})}ngAfterViewInit(){this.route.queryParams.pipe(bu(1)).subscribe(e=>{if(e.fromDp24){this.map();const e=this.dataForm.get("vehicleClass").value;""!==e&&this.getCategoriesMakesAndFeaturesForClass({value:e})}else if(e.fromShowDarmasAds)this.mapFromDarmasAd(e.darmasAdId);else{const e=this.dataForm.get("vehicleClass").value;""!==e&&this.getCategoriesMakesAndFeaturesForClass({value:e})}})}modelDescriptionOnInput(e){console.log("event: ",e),e.target.value.length>48?(e.target.style.color="red",this.modelDescriptionToLong=!0,this.modelDescriptionToLongCount=e.target.value.length-48):(e.target.style.color="#fff",this.modelDescriptionToLong=!1,this.modelDescriptionToLongCount=-1*(e.target.value.length-48))}formSubmittedHandler(){this.dataForm.markAllAsTouched()}resetControls(){this.dataForm.reset(),this.dataForm.get("vehicleClass").setValue("Car"),this.dataForm.get("countryVersion").setValue("DE"),this.getCategoriesMakesAndFeaturesForClass({value:"Car"}),this.mappingData=[],this.dataForm.markAsPristine()}getCategoriesMakesAndFeaturesForClass(e){const t=e.value;if(this.selectedVehicleClassEvent.emit(t),void 0!==t){this.loading=!0;let e=2;this.selectedVehicleClass=t,this.modelsForClassAndMaker=null,this.refdataService.getRefDataForVehicleClass(t,"categories").pipe(bu(1)).subscribe(t=>{this.categoriesForClass=t,e--,0===e&&(this.loading=!1,this.mapActualFields(this.mappingData))}),this.refdataService.getRefDataForVehicleClass(t,"makes").pipe(bu(1)).subscribe(t=>{this.makesForClass=t,this.makesForClass=this.makesForClass.sort((e,t)=>{const i=this.favoriteBrands,n=i.indexOf(e.name);return i.indexOf(t.name)-n}),e--,0===e&&(this.loading=!1,this.mapActualFields(this.mappingData))})}}getModelsForMaker(e){this.loadingModel=!0,this.loadingModelgroup=!0;const t=e.value;this.selectedMaker=t,this.refdataService.getRefDataForVehicleClassAndMaker(this.selectedVehicleClass,t,"models").pipe(bu(1)).subscribe(e=>{e.name&&"Error"===e.name||(this.modelsForClassAndMaker=e)},e=>(console.error(e),Uh(e)),()=>{this.loadingModel=!1}),this.refdataService.getRefDataForVehicleClassAndMaker(this.selectedVehicleClass,t,"modelgroups").pipe(bu(1)).subscribe(e=>{e.length>0&&(this.modelgroups=e)},e=>(console.error(e),Uh(e)),()=>{this.loadingModelgroup=!1})}getModelsForModelgroup(e){const t=e.value;this.loadingModels4Modelgroup=!0,this.refdataService.getRefdataModels4Modelgroup(this.selectedVehicleClass,this.selectedMaker,t).pipe(bu(1)).subscribe(e=>{e&&(this.modelsForClassAndMaker=e)},e=>(console.error(e),Uh(e)),()=>{this.loadingModel=!1})}usageTypeChanged(e){const t=e.value;"PRE_REGISTRATION"!==t&&"DEMONSTRATION"!==t||this.vehicleUsageTypeChanged.emit(t)}conditionChanged(e){const t=e.value;"NEW"!==t&&"USED"!==t||this.vehicleConditionChanged.emit(t)}getRefdataForModel(e){}map(){this.loading=!0,this.sub.add(this.sharedDataService.currentCar$.pipe().subscribe({next:e=>{this.mappingData=e,this.mapActualFields(this.mappingData)}}))}mapActualFields(e){for(let t=0;t<e.length;t++){const i=e[t],n=this.dataForm.get(i.key),s="make"===i.key?i.value.toUpperCase():i.value;if(n){if(n.setValue(s),"make"===i.key){const e={};e.value=s,this.getModelsForMaker(e)}"modelDescription"===i.key&&(this.modelDescriptionToLong=!0,this.modelDescriptionToLongCount=i.value.length-48,console.log("ModelD to long: ",this.modelDescriptionToLongCount),this.modelDescriptionMappingObj=i),"condition"===i.key&&this.vehicleConditionChanged.emit(i.value),"usageType"===i.key&&this.vehicleUsageTypeChanged.emit(i.value)}t===e.length-1&&(this.loading=!1)}}mapFromDarmasAd(e){this.mobileDeService.getDarmasAd(e).pipe(bu(1),O(e=>e.ad)).subscribe(e=>{e&&(this.mappingData=[],this.mapActualDarmasFields(e));const t=this.dataForm.get("vehicleClass").value;""!==t&&this.getCategoriesMakesAndFeaturesForClass({value:t})})}mapActualDarmasFields(e){Object.keys(e).forEach(t=>{let i;if("vehicleModel"===t){const n="model";i=this.dataForm.get(n),this.mappingData.push({key:n,value:e[t]})}else i=this.dataForm.get(t),this.mappingData.push({key:t,value:e[t]});if("condition"===t&&this.conditionChanged({value:e[t]}),"usageType"===t&&this.usageTypeChanged({value:e[t]}),i){const n="make"===t?e[t].toUpperCase():e[t];i.setValue(n)}})}validate(e){return this.dataForm.valid?null:{invalidForm:{valid:!1,message:"specification fields are invalid"}}}getFormControlStatus(e){return this.dataForm.get(e).status}focusModelText(e){e.preventDefault(),this.modelTextInput._textareaElement.focus()}ngOnDestroy(){this.sub.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ea(BE),Ea(O_),Ea(Vm),Ea(sf),Ea(ZS),Ea(VE))},e.\u0275cmp=ut({type:e,selectors:[["app-specification"]],viewQuery:function(e,t){var i;1&e&&(rc(XO,!0),ac(eF,!0),ac(tF,!0)),2&e&&(sc(i=hc())&&(t.modelSelect=i.first),sc(i=hc())&&(t.modelTextInput=i.first),sc(i=hc())&&(t.markedModelDescription=i.first))},inputs:{formSubmitted:"formSubmitted"},outputs:{selectedVehicleClassEvent:"selectedVehicleClassEvent",vehicleConditionChanged:"vehicleConditionChanged",vehicleUsageTypeChanged:"vehicleUsageTypeChanged"},features:[Ho([{provide:rA,useExisting:ke(()=>e),multi:!0},{provide:wA,useExisting:ke(()=>e),multi:!0}]),Lo],decls:38,vars:24,consts:[[3,"formGroup"],["fxLayout","row","fxLayout.xs","column","fxLayoutGap","10px"],["fxLayout","column"],["fxLayout","row"],[1,"haba-asterix"],["formControlName","vehicleClass",3,"selectionChange"],["classSelect",""],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["type","button","mat-icon-button","","style","\n\t\t\t\t\t\tmargin-left: 10px;\n\t\t\t\t\t\tmargin-top: 6px;\n\t\t\t\t\t\tcolor: orange;\n\t\t\t\t\t",4,"ngIf"],["style","margin-left: 10px",4,"ngIf"],["matSuffix","",3,"diameter"],["matSpinner",""],["fxLayout","row",4,"ngIf"],["class","error",4,"ngIf"],[3,"value"],["type","button","mat-icon-button","",2,"margin-left","10px","margin-top","6px","color","orange"],[2,"margin-left","10px"],["formControlName","category"],["formControlName","make",3,"selectionChange"],["makeSelectInput",""],["formControlName","modelgroups",3,"selectionChange"],["formControlName","model",3,"selectionChange"],["modelSelectInput",""],["type","button","mat-icon-button","",2,"margin-left","10px","margin-top","6px","color","orange",3,"click"],[2,"margin-left","10px","position","relative"],["id","modelDTextarea","matInput","","formControlName","modelDescription","cdkTextareaAutosize","","cdkAutosizeMinRows","2","cdkAutosizeMaxRows","8","formControlName","modelDescription",3,"input"],["modelTextInput","cdkTextareaAutosize"],["matSpinnerModel",""],["formControlName","condition",3,"selectionChange"],["formControlName","usageType",3,"selectionChange"],["formControlName","countryVersion"],[1,"error"]],template:function(e,t){1&e&&(Na(0,0),Oa(1,"div",1),Oa(2,"div",2),Oa(3,"h4"),vo(4,"Fahrzeug"),Fa(),Oa(5,"div",3),Oa(6,"mat-form-field"),Oa(7,"mat-label"),vo(8,"Bauart"),Oa(9,"span",4),vo(10," *"),Fa(),Fa(),Oa(11,"mat-select",5,6),Wa("selectionChange",(function(e){return t.getCategoriesMakesAndFeaturesForClass(e)})),Ra(13,"mat-option"),Ta(14,iF,2,2,"mat-option",7),Fa(),Oa(15,"mat-error"),Ta(16,nF,2,0,"span",8),Fa(),Fa(),Ta(17,sF,3,0,"button",9),Ta(18,oF,10,2,"mat-form-field",10),Ra(19,"mat-spinner",11,12),Fa(),Ta(21,dF,12,2,"div",13),Oa(22,"div",3),Ta(23,uF,6,1,"mat-form-field",8),Ra(24,"mat-spinner",11,12),Fa(),Ta(26,yF,29,8,"div",13),Oa(27,"div",3),Ta(28,vF,8,3,"mat-form-field",8),Ra(29,"mat-spinner",11,12),Fa(),Oa(31,"div",3),Ta(32,kF,11,3,"mat-form-field",8),Ra(33,"mat-spinner",11,12),Fa(),Oa(35,"div",3),Ta(36,CF,6,1,"mat-form-field",8),Fa(),Ta(37,SF,2,0,"div",14),Fa(),Fa(),ja()),2&e&&(Pa("formGroup",t.dataForm),Cs(14),Pa("ngForOf",t.vehicleClasses),Cs(2),Pa("ngIf",null==t.dataForm.get("vehicleClass").errors?null:t.dataForm.get("vehicleClass").errors.required),Cs(1),Pa("ngIf",t.categoriesForClass),Cs(1),Pa("ngIf",t.categoriesForClass),Cs(1),ao("display",t.loading?"block":"none"),Pa("diameter",18),Cs(2),Pa("ngIf",t.makesForClass),Cs(2),Pa("ngIf",t.modelgroups),Cs(1),ao("display",t.loading?"block":"none"),Pa("diameter",18),Cs(2),Pa("ngIf",t.modelsForClassAndMaker),Cs(2),Pa("ngIf",t.usageTypes),Cs(1),ao("display",t.loading?"block":"none"),Pa("diameter",18),Cs(3),Pa("ngIf",t.usageTypes),Cs(1),ao("display",t.loading?"block":"none"),Pa("diameter",18),Cs(3),Pa("ngIf",t.countryVersions),Cs(1),Pa("ngIf","INVALID"===t.dataForm.status&&t.formSubmitted))},directives:[yA,SE,uD,bD,kI,mI,LP,_A,IE,Nw,Wd,oI,$d,nS,gI,nC,kS,PI,dA,MI,uI],pipes:[rh],styles:[".backdrop[_ngcontent-%COMP%]{position:absolute;background-color:transparent;overflow:hidden;width:100%}.markedModelDescription[_ngcontent-%COMP%]{color:#fff;white-space:pre-wrap;word-wrap:break-word}textarea[_ngcontent-%COMP%]{color:#fff;background-color:transparent}.markedModelDescriptionText[_ngcontent-%COMP%]{color:red!important}"]}),e})();const DF=[{fuel:{fuelTypes:["PETROL","DIESEL","HYBRID","HYBRID_DIESEL","LPG","HYDROGENIUM","ETHANOL"]},consumptionInner:"required",consumptionOuter:"required",consumptionCombined:"required",consumptionPowerCombined:"optional",co2:"required"},{fuel:{fuelTypes:["CNG"]},consumptionInner:"required",consumptionOuter:"required",consumptionCombined:"required",consumptionPowerCombined:"optional",co2:"required"},{fuel:{fuelTypes:["PETROL","DIESEL"],hybridPlugin:!0},consumptionInner:"optional",consumptionOuter:"optional",consumptionCombined:"required",consumptionPowerCombined:"optional",co2:"required"},{fuel:{fuelTypes:["ELECTRICITY"],rangeExtender:!0},consumptionInner:"ignored",consumptionOuter:"ignored",consumptionCombined:"required",consumptionPowerCombined:"required",co2:"required"},{fuel:{fuelTypes:["ELECTRICITY"],rangeExtender:!1},consumptionInner:"ignored",consumptionOuter:"ignored",consumptionCombined:"required",consumptionPowerCombined:"required",co2:"required"},{fuel:{fuelTypes:["HYDROGENIUM"]},consumptionInner:"required",consumptionOuter:"required",consumptionCombined:"required",consumptionPowerCombined:"optional",co2:"required"}];function LF(e,t){1&e&&(Oa(0,"p",28),vo(1," W\xe4hlen Sie eine Kraftstoff-Art und f\xfcllen Sie dann dementsprechend die ben\xf6tigten Felder. Auch Plugin-Hybrid und Range-Extender beeinflu\xdfen welche Felder ausgef\xfcllt werden m\xfcssen. "),Fa())}function TF(e,t){1&e&&(Oa(0,"span",31),vo(1," *"),Fa())}function AF(e,t){if(1&e&&(Oa(0,"mat-option",32),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function EF(e,t){if(1&e){const e=Va();Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2,"Kraftstoff"),Ta(3,TF,2,0,"span",6),Fa(),Oa(4,"mat-select",29),Wa("selectionChange",(function(t){return ii(e),Ka().fuelSelected(t)})),Ra(5,"mat-option"),Ta(6,AF,2,2,"mat-option",30),Bl(7,"async"),Fa(),Fa()}if(2&e){const e=Ka();Cs(3),Pa("ngIf",e.state.fieldsRequired.fuel),Cs(3),Pa("ngForOf",zl(7,2,e.fuels))}}function IF(e,t){1&e&&(Oa(0,"span",31),vo(1," *"),Fa())}function PF(e,t){1&e&&(Oa(0,"span",31),vo(1," *"),Fa())}function YF(e,t){1&e&&(Oa(0,"span",31),vo(1," *"),Fa())}function OF(e,t){1&e&&(Oa(0,"span",31),vo(1," *"),Fa())}function FF(e,t){1&e&&(Oa(0,"span",31),vo(1," *"),Fa())}function RF(e,t){if(1&e&&(Oa(0,"mat-option",32),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function NF(e,t){if(1&e&&(Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2,"Batterie"),Fa(),Oa(3,"mat-select",33),Ra(4,"mat-option"),Ta(5,RF,2,2,"mat-option",30),Bl(6,"async"),Fa(),Fa()),2&e){const e=Ka();Cs(5),Pa("ngForOf",zl(6,1,e.batteries))}}let jF=(()=>{class e extends JI{constructor(e,t,i,n,s){super(),this.mobileDeService=e,this.matSnackBar=t,this.route=i,this.sharedDataService=n,this.refdataService=s,this.dataForm=new cE({fuel:new lE(""),consumptionInner:new lE(""),consumptionOuter:new lE(""),consumptionCombined:new lE(""),consumptionPowerCombined:new lE(""),co2:new lE(""),rangeExtender:new lE(""),hybridPlugin:new lE(""),battery:new lE(""),batteryCapacity:new lE(""),energyEfficiencyClass:new lE(""),envkvCompliant:new lE("")}),this.fieldsAreRequired=!1,this.state={fuel:"",rangeExtender:!1,hybridPlugin:!1,fieldsRequired:{consumptionInner:!1,consumptionOuter:!1,consumptionCombined:!1,consumptionPowerCombined:!1,co2:!1,fuel:!1}},this.showExplanation=!1,this.subs=new h,this.mappingData=new Array}ngOnInit(){this.fuels=this.refdataService.getSiteIndependentRefdata("fuels"),this.batteries=this.refdataService.getSiteIndependentRefdata("batteries"),this.subs=this.route.queryParams.subscribe(e=>{e.fromDp24?this.map():e.fromShowDarmasAds&&this.mapFromDarmasAd(e.darmasAdId)})}ngAfterViewInit(){this.subs.add(this.sharedDataService.currentFeatureProfileSubject.pipe(O(e=>e)).subscribe(e=>{e&&this.mapForProfilePrefill(e.consumptions[0])}))}resetControls(){this.dataForm.reset(),this.dataForm.markAsPristine()}setFieldsToRequired(e){this.resetFieldValidators(e,"fuel"),e&&(this.openSnackBar("Bitte f\xfcllen Sie nun auch die entsprechenden\n\t\t\t\t\t\t\t\t\t Felder zum Verbrauch aus. ","Ok"),this.displayExplanation())}fuelSelected(e){this.state.fuel=e.value,this.showExplanation=!1,this.setFieldsState()}checkboxChanged(e,t){this.state[t]=e.checked,this.showExplanation=!1,this.setFieldsState()}formSubmittedHandler(){this.dataForm.markAllAsTouched()}setFieldsState(){DF.forEach(e=>{e.fuel.fuelTypes.includes(this.state.fuel)&&(!e.fuel.hybridPlugin||e.fuel.hybridPlugin&&e.fuel.hybridPlugin===this.state.hybridPlugin)&&(!e.fuel.rangeExtender||e.fuel.rangeExtender&&e.fuel.rangeExtender===this.state.rangeExtender)&&["consumptionOuter","consumptionInner","consumptionCombined","consumptionPowerCombined","co2"].forEach(t=>{const i="required"===e[t];this.resetFieldValidators(i,t),this.state.fieldsRequired[t]=i})})}displayExplanation(){this.showExplanation=!0}resetFieldValidators(e,t){this.state.fieldsRequired[t]=e,e?(this.dataForm.get(t).setValidators([CA.required]),this.dataForm.get(t).updateValueAndValidity()):(this.dataForm.get(t).clearValidators(),this.dataForm.get(t).updateValueAndValidity())}mapForProfilePrefill(e){Object.keys(e).forEach(t=>{this.dataForm.get(t).setValue(e[t])})}map(){this.sharedDataService.currentCar$.pipe(bu(1)).subscribe({next:e=>{this.mappingData=e,this.mapActualFields(this.mappingData)}})}mapFromDarmasAd(e){this.mobileDeService.getDarmasAd(e).pipe(bu(1),O(e=>e.ad)).subscribe(e=>{e&&(this.mappingData=[],this.mapActualDarmasFields(e))})}mapActualFields(e){for(let t=e.length-1;t>=0;t--){const i=e[t],n=this.dataForm.get(i.key),s=String(i.value);n&&n.setValue(s)}}mapActualDarmasFields(e){Object.keys(e).forEach(t=>{let i;i=this.dataForm.get(t),i&&i.setValue(e[t])})}openSnackBar(e,t){this.matSnackBar.open(e,t,{duration:4e3})}validate(e){return this.dataForm.valid?null:{invalidForm:{valid:!1,message:"Consumption fields are invalid"}}}ngOnDestroy(){this.subs.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ea(BE),Ea(bM),Ea(Vm),Ea(O_),Ea(VE))},e.\u0275cmp=ut({type:e,selectors:[["app-consumption"]],inputs:{fieldsAreRequired:"fieldsAreRequired"},features:[Ho([{provide:rA,useExisting:ke(()=>e),multi:!0},{provide:wA,useExisting:ke(()=>e),multi:!0}]),Lo],decls:89,vars:9,consts:[[3,"formGroup"],["fxLayout","column","fxLayout.xs","column","fxLayoutGap","10px",1,"haba-row"],["style","color: orange",4,"ngIf"],["faxLayout","row"],[4,"ngIf"],["fxLayout","row"],["class","haba-asterix",4,"ngIf"],["formControlName","consumptionInner","matInput","","step","0.01","lang","de-DE","type","number","autocomplete","off"],["matSuffix",""],["formControlName","consumptionOuter","matInput","","step","0.01","lang","de-DE","type","number","autocomplete","off"],["formControlName","consumptionCombined","matInput","","step","0.01","lang","de-DE","type","number","autocomplete","off"],["formControlName","co2","matInput","","step","0.01","lang","de-DE","type","number","autocomplete","off"],["formControlName","consumptionPowerCombined","matInput","","step","0.01","lang","de-DE","type","number","autocomplete","off"],["formControlName","energyEfficiencyClass","matNativeControl",""],["value","A+"],["value","A"],["value","B"],["value","C"],["value","D"],["value","E"],["value","F"],["value","G"],["fxLayout","row",1,"haba-checkbox"],["formControlName","envkvCompliant"],["fxLayout","column"],["formControlName","batteryCapacity","matInput","","step","0.01","lang","de-DE","type","number","autocomplete","off"],["formControlName","hybridPlugin",3,"change"],["formControlName","rangeExtender",3,"change"],[2,"color","orange"],["formControlName","fuel",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"haba-asterix"],[3,"value"],["formControlName","battery"]],template:function(e,t){1&e&&(Na(0,0),Oa(1,"div",1),Ta(2,LF,2,0,"p",2),Oa(3,"div",3),Ta(4,EF,8,4,"mat-form-field",4),Fa(),Oa(5,"div",5),Oa(6,"div",5),Oa(7,"mat-form-field"),Oa(8,"mat-label"),vo(9,"Innerorts"),Ta(10,IF,2,0,"span",6),Fa(),Ra(11,"input",7),Oa(12,"div",8),vo(13,"l/100km"),Fa(),Fa(),Fa(),Oa(14,"div",5),Oa(15,"mat-form-field"),Oa(16,"mat-label"),vo(17,"Au\xdferorts"),Ta(18,PF,2,0,"span",6),Fa(),Ra(19,"input",9),Oa(20,"div",8),vo(21,"l/100km"),Fa(),Fa(),Fa(),Oa(22,"div",5),Oa(23,"mat-form-field"),Oa(24,"mat-label"),vo(25,"Durchschnitt"),Ta(26,YF,2,0,"span",6),Fa(),Ra(27,"input",10),Oa(28,"div",8),vo(29,"l/100km"),Fa(),Fa(),Fa(),Oa(30,"div",5),Oa(31,"mat-form-field"),Oa(32,"mat-label"),vo(33,"CO2 Emission"),Ta(34,OF,2,0,"span",6),Fa(),Ra(35,"input",11),Oa(36,"div",8),vo(37,"g/km"),Fa(),Fa(),Fa(),Fa(),Oa(38,"div",5),Oa(39,"div",5),Oa(40,"mat-form-field"),Oa(41,"mat-label"),vo(42,"WLTP/Schnitt"),Ta(43,FF,2,0,"span",6),Fa(),Ra(44,"input",12),Oa(45,"div",8),vo(46,"l/100km"),Fa(),Fa(),Fa(),Oa(47,"div",5),Oa(48,"mat-form-field"),Oa(49,"mat-label"),vo(50,"CO2 Effizienz"),Fa(),Oa(51,"mat-select",13),Ra(52,"mat-option"),Oa(53,"mat-option",14),vo(54,"A+"),Fa(),Oa(55,"mat-option",15),vo(56,"A"),Fa(),Oa(57,"mat-option",16),vo(58,"B"),Fa(),Oa(59,"mat-option",17),vo(60,"C"),Fa(),Oa(61,"mat-option",18),vo(62,"D"),Fa(),Oa(63,"mat-option",19),vo(64,"E"),Fa(),Oa(65,"mat-option",20),vo(66,"F"),Fa(),Oa(67,"mat-option",21),vo(68,"G"),Fa(),Fa(),Fa(),Fa(),Oa(69,"div",22),Oa(70,"mat-checkbox",23),vo(71,"enVKV Compliant"),Fa(),Fa(),Fa(),Oa(72,"div",24),Oa(73,"h4"),vo(74,"Elektro & Plugin-Hybrid"),Fa(),Oa(75,"div",5),Ta(76,NF,7,3,"mat-form-field",4),Oa(77,"mat-form-field"),Oa(78,"mat-label"),vo(79,"Batteriekapazit\xe4t"),Fa(),Ra(80,"input",25),Oa(81,"div",8),vo(82,"kWh"),Fa(),Fa(),Oa(83,"div",22),Oa(84,"mat-checkbox",26),Wa("change",(function(e){return t.checkboxChanged(e,"hybridPlugin")})),vo(85,"Plugin-Hybrid"),Fa(),Fa(),Oa(86,"div",22),Oa(87,"mat-checkbox",27),Wa("change",(function(e){return t.checkboxChanged(e,"rangeExtender")})),vo(88,"Range Extender"),Fa(),Fa(),Fa(),Fa(),Fa(),ja()),2&e&&(Pa("formGroup",t.dataForm),Cs(2),Pa("ngIf",t.showExplanation),Cs(2),Pa("ngIf",t.fuels),Cs(6),Pa("ngIf",t.state.fieldsRequired.consumptionInner),Cs(8),Pa("ngIf",t.state.fieldsRequired.consumptionOuter),Cs(8),Pa("ngIf",t.state.fieldsRequired.consumptionCombined),Cs(8),Pa("ngIf",t.state.fieldsRequired.co2),Cs(9),Pa("ngIf",t.state.fieldsRequired.consumptionPowerCombined),Cs(33),Pa("ngIf",t.batteries))},directives:[yA,SE,uD,bD,$d,kI,mI,dA,PI,EA,_A,IE,gI,LP,Nw,oP,Wd],pipes:[rh],styles:[".haba-checkbox[_ngcontent-%COMP%], .mat-form-field[_ngcontent-%COMP%]{margin-right:10px}.haba-checkbox[_ngcontent-%COMP%]{margin-top:15px}"]}),e})();const HF=["description"],VF=["input"];function BF(e,t){if(1&e){const e=Va();Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2),Fa(),Ra(3,"input",10,11),Oa(5,"button",12),Wa("click",(function(){ii(e);const i=t.index;return Ka().removeHighlightField(i)})),Oa(6,"mat-icon"),vo(7,"close"),Fa(),Fa(),Fa()}if(2&e){const e=t.index;Cs(2),ko("Highlight ",e+1,""),Cs(1),Pa("formControlName",e)}}let zF=(()=>{class e extends JI{constructor(e,t,i){super(),this.mobileDeService=e,this.sharedDataService=t,this.route=i,this.checkedFeaturesList=[],this.mappingData=new Array,this.maxHighlightCountForSeller=3}ngOnInit(){this.dataForm=new cE({description:new lE(""),descriptionUi:new lE(""),highlights:new dE([new lE("",[CA.max(22)])])}),this.route.queryParams.pipe(bu(1)).subscribe(e=>{e.fromDp24||e.fromShowDarmasAds&&this.mapFromDarmasAd(e.darmasAdId)}),this.featureSub=this.sharedDataService.selectedFeaturesObservable.subscribe(e=>{this.addOrRemoveFeatureFromList(e)}),this.featureSub.add(this.sharedDataService.internalNumber$.subscribe(e=>{this.internalNumber=e})),this.featureSub.add(this.sharedDataService.dealerPriceGross$.subscribe(e=>{this.dealerPriceGross=e})),this.featureSub.add(this.sharedDataService.actualStoreDescriptionTextStart$.subscribe(e=>{this.descriptionTplStart=e})),this.featureSub.add(this.sharedDataService.actualStoreDescriptionTextEnd$.subscribe(e=>{this.descriptionTplEnd=e})),this.featureSub.add(this.sharedDataService.actualStoreDescriptionInternalNumber$.subscribe(e=>{this.descriptionInternalNumberTpl=e})),this.featureSub.add(this.sharedDataService.actualStoreDescriptionListPrice$.subscribe(e=>{this.descriptionListPriceTpl=e}))}ngAfterViewInit(){this.subs=this.rows.changes.subscribe(e=>{this.rows.length>0&&this.rows.last.nativeElement.focus()}),this.sharedDataService.currentFeatureProfileSubject.pipe(O(e=>e)).subscribe(e=>{e&&this.mapForProfilePrefill(e.descriptions[0])})}resetControls(){this.dataForm.reset(),this.checkedFeaturesList=[]}addHighlightField(){const e=this.dataForm.get("highlights");e.length<this.maxHighlightCountForSeller&&e.push(new lE("",[CA.max(22)]))}removeHighlightField(e){this.dataForm.get("highlights").controls.splice(e,1)}mapForProfilePrefill(e){Object.keys(e).forEach(t=>{const i=this.dataForm.get(t);if("highlights"===t){const i=e[t].length;for(let e=0;e<i-1;++e)this.addHighlightField()}i.setValue(e[t])})}mapFromDarmasAd(e){this.mobileDeService.getDarmasAd(e).pipe(bu(1),O(e=>e)).subscribe(e=>{e&&(this.mappingData=[],this.mapActualDarmasFields(e))})}mapActualDarmasFields(e){const t=e.ad;let i=this.dataForm.get("description"),n=this.dataForm.get("descriptionUi"),s=this.dataForm.get("highlights");this.mappingData.push({key:"description",value:t.description}),this.mappingData.push({key:"highlights",value:t.highlights});let r=t.highlights.length;0===r&&(t.highlights.push(""),r=1);for(var a=0;a<r-1;++a)this.addHighlightField();s&&s.setValue(t.highlights),i&&i.setValue(t.description),n&&n.setValue(t.description)}getTextFromFeatures(e){const t=this.descriptionInternalNumberTpl.replace("%O",this.internalNumber),i=this.descriptionListPriceTpl.replace("%O",this.dealerPriceGross);let n=i+"\r\n\r\n",s=i+"\\\\";n+=this.transformListToText("\r\n"),n+=t+"\r\n\r\n",n+=this.descriptionTplEnd,s+=this.transformListToText("\\\\"),s+=t+"\\\\",s+=this.descriptionTplEnd,this.dataForm.get("description").setValue(s),this.dataForm.get("descriptionUi").setValue(n)}transformListToText(e){let t="";const i=this.groupItemsByTitle(this.checkedFeaturesList);return Object.keys(i).forEach(n=>{t+=n+e;let s=1;const r=i[n].length;for(const a of i[n])t+=a.description,t+=s<r?", ":e+e,s++}),t}groupItemsByTitle(e){const t={};return e.forEach(e=>{if(console.log("ITEM:: ",e),t[e.featureCatObject.title]||(t[e.featureCatObject.title]=[]),e.feature)e.checked?t[e.featureCatObject.title].push(e.feature):t[e.featureCatObject.title].splice(t[e.featureCatObject.title][e.feature],1);else if(e.select){const i={description:e.select.title};if("true"===e.selectValue)t[e.featureCatObject.title].push(i);else{let i=-1;for(const n of t[e.featureCatObject.title])i++;i>-1&&t[e.featureCatObject.title].splice(i,1)}}else for(const i of e.featureCatObject.selects)for(const n of i.optionItems){const i=t[e.featureCatObject.title].indexOf(n);i>-1&&t[e.featureCatObject.title].splice(i,1)}}),Object.keys(t).forEach(e=>{t[e].length<1&&delete t[e]}),t}addOrRemoveFeatureFromList(e){const t=e.checked,i=e.feature,n=e.select;if("string"==typeof t){if("boolean-select"===t)if("true"===e.selectValue)this.checkedFeaturesList.includes(e)||this.checkedFeaturesList.push(e);else{const t=this.checkedFeaturesList.indexOf(e);t>-1&&this.checkedFeaturesList.splice(t,1)}else if("select"===t)if("array"===n.adPropertyType)console.log("AD PROP TYPE ARRAY!!!"),console.log("VAL:: ",e),this.checkedFeaturesList.push(e);else if(this.checkedFeaturesList.includes(e)){const t=this.checkedFeaturesList.indexOf(e);t>-1&&this.checkedFeaturesList.splice(t,1)}else this.checkedFeaturesList.push(e)}else if(t)this.checkedFeaturesList.includes(e)||this.checkedFeaturesList.push(e);else{const e=this.checkedFeaturesList.filter((e,t)=>{var n;return console.log(e),(null===(n=e.feature)||void 0===n?void 0:n.name)!==(null==i?void 0:i.name)});this.checkedFeaturesList=e}}validate(e){return this.dataForm.valid?null:{invalidForm:{valid:!1,message:"description form fields are invalid"}}}get highlights(){return this.dataForm.get("highlights").controls}ngOnDestroy(){this.sharedDataService.completeSelectedFeatures(),this.featureSub.unsubscribe(),this.subs.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ea(BE),Ea(O_),Ea(Vm))},e.\u0275cmp=ut({type:e,selectors:[["app-description"]],viewQuery:function(e,t){var i;1&e&&(ac(HF,!0),ac(VF,!0)),2&e&&(sc(i=hc())&&(t.description=i.first),sc(i=hc())&&(t.rows=i))},features:[Ho([{provide:rA,useExisting:ke(()=>e),multi:!0},{provide:wA,useExisting:ke(()=>e),multi:!0}]),Lo],decls:23,vars:2,consts:[[3,"formGroup"],["fxLayout","row","fxLayoutAlign","space-evenly"],["fxLayout","column",2,"flex","50"],["fxLayout","row"],["type","button","mat-raised-button","","color","primary",3,"click"],["fxLayout","column","formArrayName","highlights"],[4,"ngFor","ngForOf"],["matInput","","formControlName","descriptionUi","cdkTextareaAutosize","","cdkAutosizeMinRows","1","cdkAutosizeMaxRows","30"],["description","cdkTextareaAutosize"],["type","hidden","formControlName","description"],["matInput","","type","text","autocomplete","off",3,"formControlName"],["input",""],["mat-icon-button","","matSuffix","",3,"click"]],template:function(e,t){1&e&&(Na(0,0),Oa(1,"div",1),Oa(2,"div",2),Oa(3,"h4"),vo(4,"Highlights"),Fa(),Oa(5,"div",3),Oa(6,"button",4),Wa("click",(function(){return t.addHighlightField()})),Oa(7,"mat-icon"),vo(8,"add"),Fa(),Fa(),Fa(),Oa(9,"div",5),Ta(10,BF,8,2,"mat-form-field",6),Fa(),Fa(),Oa(11,"div",2),Oa(12,"h4"),vo(13,"Beschreibung"),Fa(),Oa(14,"div",3),Oa(15,"button",4),Wa("click",(function(){return t.getTextFromFeatures("description")})),vo(16," Features zu Text "),Fa(),Fa(),Oa(17,"mat-form-field"),Oa(18,"mat-label"),vo(19,"Zubeh\xf6r & Beschreibung"),Fa(),Ra(20,"textarea",7,8),Fa(),Ra(22,"input",9),Fa(),Fa(),ja()),2&e&&(Pa("formGroup",t.dataForm),Cs(10),Pa("ngForOf",t.highlights))},directives:[yA,SE,uD,qD,nC,kS,TE,Wd,kI,mI,PI,dA,MI,_A,IE,gI],styles:["mat-form-field[_ngcontent-%COMP%]{padding:10px}"]}),e})(),WF=(()=>{class e{constructor(e){this.httpClient=e}transformDateValuesToMobileDe(e){this.transformDates(e.baseData?e.baseData:e)}transformDates(e){e.firstRegistration&&qS.isMoment(e.firstRegistration.date)?e.firstRegistration=e.firstRegistration.date.format("YYYYMM"):e.firstRegistration&&null===e.firstRegistration.date&&(e.firstRegistration=""),e.exhaustInspection&&qS.isMoment(e.exhaustInspection.date)?e.exhaustInspection=e.exhaustInspection.date.format("YYYYMM"):e.exhaustInspection&&null===e.exhaustInspection.date&&(e.exhaustInspection=""),e.constructionDate&&e.constructionDate.toISOString&&(e.constructionDate=e.constructionDate.toISOString()),e.constructionYear&&qS.isMoment(e.constructionYear.date)?e.constructionYear=e.constructionYear.date.format("YYYY"):e.constructionYear&&null===e.constructionYear.date&&(e.constructionYear="")}createPdf(e){return this.httpClient.post($C.settings.apiServer.backend+"mobile-de/create/darmasad/pdf/",e)}}return e.\u0275fac=function(t){return new(t||e)(Ge(AC))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),UF=(()=>{class e{constructor(){this.profileImagesForAdProcessingObs$={},this._profileImagesForAdProcessingTable={}}addProfileImagesProcessing(e,t,i=null){console.log("mobileAdId: ",e),console.log("mobileDeImages: ",i),this._profileImagesForAdProcessingTable[e]?(console.log("----------------"),this._profileImagesForAdProcessingTable[e].next({isProcessing:t,mobileDeImages:i})):(this._profileImagesForAdProcessingTable[e]=new $h({isProcessing:t,mobileDeImages:i}),this.profileImagesForAdProcessingObs$[e]=this._profileImagesForAdProcessingTable[e].asObservable())}get getProfileImagesForAdProcessingObservables(){return this.profileImagesForAdProcessingObs$}getProfileImagesForAdProcessingObservable(e){return this.profileImagesForAdProcessingObs$[e]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),$F=0,GF=(()=>{class e{constructor(){this._stateChanges=new x,this._openCloseAllActions=new x,this.id="cdk-accordion-"+$F++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=Df(e)}openAll(){this._openCloseAll(!0)}closeAll(){this._openCloseAll(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete()}_openCloseAll(e){this.multi&&this._openCloseAllActions.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[Et]}),e})(),qF=0,KF=(()=>{class e{constructor(e,t,i){this.accordion=e,this._changeDetectorRef=t,this._expansionDispatcher=i,this._openCloseAllSubscription=h.EMPTY,this.closed=new Gl,this.opened=new Gl,this.destroyed=new Gl,this.expandedChange=new Gl,this.id="cdk-accordion-child-"+qF++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=i.listen((e,t)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===t&&this.id!==e&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=Df(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=Df(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return e.\u0275fac=function(t){return new(t||e)(Ea(GF,12),Ea(Zr),Ea(Og))},e.\u0275dir=yt({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Ho([{provide:GF,useValue:void 0}])]}),e})(),JF=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})();const QF=["body"];function ZF(e,t){}const XF=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],eR=["mat-expansion-panel-header","*","mat-action-row"],tR=function(e,t){return{collapsedHeight:e,expandedHeight:t}},iR=function(e,t){return{value:e,params:t}};function nR(e,t){1&e&&Ra(0,"span",2),2&e&&Pa("@indicatorRotate",Ka()._getExpandedState())}const sR=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],rR=["mat-panel-title","mat-panel-description","*"],aR=new Re("MAT_ACCORDION"),oR={indicatorRotate:yy("indicatorRotate",[xy("collapsed, void",ky({transform:"rotate(0deg)"})),xy("expanded",ky({transform:"rotate(180deg)"})),Sy("expanded <=> collapsed, void => collapsed",by("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),expansionHeaderHeight:yy("expansionHeight",[xy("collapsed, void",ky({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),xy("expanded",ky({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),Sy("expanded <=> collapsed, void => collapsed",vy([Dy("@indicatorRotate",My(),{optional:!0}),by("225ms cubic-bezier(0.4,0.0,0.2,1)")]))]),bodyExpansion:yy("bodyExpansion",[xy("collapsed, void",ky({height:"0px",visibility:"hidden"})),xy("expanded",ky({height:"*",visibility:"visible"})),Sy("expanded <=> collapsed, void => collapsed",by("225ms cubic-bezier(0.4,0.0,0.2,1)"))])};let lR=(()=>{class e{constructor(e){this._template=e}}return e.\u0275fac=function(t){return new(t||e)(Ea(pl))},e.\u0275dir=yt({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]}),e})(),cR=0;const dR=new Re("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let hR=(()=>{class e extends KF{constructor(e,t,i,n,s,r,a){super(e,t,i),this._viewContainerRef=n,this._animationMode=r,this._hideToggle=!1,this.afterExpand=new Gl,this.afterCollapse=new Gl,this._inputChanges=new x,this._headerId="mat-expansion-panel-header-"+cR++,this._bodyAnimationDone=new x,this.accordion=e,this._document=s,this._bodyAnimationDone.pipe(Kf((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{"void"!==e.fromState&&("expanded"===e.toState?this.afterExpand.emit():"collapsed"===e.toState&&this.afterCollapse.emit())}),a&&(this.hideToggle=a.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=Df(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this.opened.pipe(Pu(null),iu(()=>this.expanded&&!this._portal),bu(1)).subscribe(()=>{this._portal=new Wg(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}return e.\u0275fac=function(t){return new(t||e)(Ea(aR,12),Ea(Zr),Ea(Og),Ea(gl),Ea(pd),Ea(Hv,8),Ea(dR,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,i){var n;1&e&&lc(i,lR,!0),2&e&&sc(n=hc())&&(t._lazyContent=n.first)},viewQuery:function(e,t){var i;1&e&&ac(QF,!0),2&e&&sc(i=hc())&&(t._body=i.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&oo("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Ho([{provide:aR,useValue:void 0}]),Lo,Et],ngContentSelectors:eR,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(Qa(XF),Za(0),Oa(1,"div",0,1),Wa("@bodyExpansion.done",(function(e){return t._bodyAnimationDone.next(e)})),Oa(3,"div",2),Za(4,1),Ta(5,ZF,0,0,"ng-template",3),Fa(),Za(6,2),Fa()),2&e&&(Cs(1),Pa("@bodyExpansion",t._getExpandedState())("id",t.id),Da("aria-labelledby",t._headerId),Cs(4),Pa("cdkPortalOutlet",t._portal))},directives:[Kg],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[oR.bodyExpansion]},changeDetection:0}),e})(),uR=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]}),e})(),mR=(()=>{class e{constructor(e,t,i,n,s){this.panel=e,this._element=t,this._focusMonitor=i,this._changeDetectorRef=n,this._parentChangeSubscription=h.EMPTY,this._animationsDisabled=!0;const r=e.accordion?e.accordion._stateChanges.pipe(iu(e=>!(!e.hideToggle&&!e.togglePosition))):Zh;this._parentChangeSubscription=U(e.opened,e.closed,r,e._inputChanges.pipe(iu(e=>!!(e.hideToggle||e.disabled||e.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(iu(()=>e._containsFocus())).subscribe(()=>i.focusVia(t,"program")),i.monitor(t).subscribe(t=>{t&&e.accordion&&e.accordion._handleHeaderFocus(this)}),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}_animationStarted(){this._animationsDisabled=!1}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_keydown(e){switch(e.keyCode){case 32:case 13:e_(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e="program",t){this._focusMonitor.focusVia(this._element,e,t)}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return e.\u0275fac=function(t){return new(t||e)(Ea(hR,1),Ea(Wo),Ea(hy),Ea(Zr),Ea(dR,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:19,hostBindings:function(e,t){1&e&&(Ua("@expansionHeight.start",(function(){return t._animationStarted()})),Wa("click",(function(){return t._toggle()}))("keydown",(function(e){return t._keydown(e)}))),2&e&&(Da("id",t.panel._headerId)("tabindex",t.disabled?-1:0)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),Mo("@.disabled",t._animationsDisabled)("@expansionHeight",Rl(16,iR,t._getExpandedState(),Rl(13,tR,t.collapsedHeight,t.expandedHeight))),oo("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition()))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:rR,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(Qa(sR),Oa(0,"span",0),Za(1),Za(2,1),Za(3,2),Fa(),Ta(4,nR,1,1,"span",1)),2&e&&(Cs(4),Pa("ngIf",t._showToggle()))},directives:[$d],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;position:relative}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}\n'],encapsulation:2,data:{animation:[oR.indicatorRotate,oR.expansionHeaderHeight]},changeDetection:0}),e})(),pR=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),e})(),fR=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),e})(),gR=(()=>{class e extends GF{constructor(){super(...arguments),this._ownHeaders=new Kl,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=Df(e)}ngAfterContentInit(){this._headers.changes.pipe(Pu(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(e=>e.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Q_(this._ownHeaders).withWrap()}_handleHeaderKeydown(e){const{keyCode:t}=e,i=this._keyManager;36===t?e_(e)||(i.setFirstItemActive(),e.preventDefault()):35===t?e_(e)||(i.setLastItemActive(),e.preventDefault()):this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}}return e.\u0275fac=function(t){return _R(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-accordion"]],contentQueries:function(e,t,i){var n;1&e&&lc(i,mR,!0),2&e&&sc(n=hc())&&(t._headers=n)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&oo("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[Ho([{provide:aR,useExisting:e}]),Lo]}),e})();const _R=fn(gR);let yR=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,JF,Zg]]}),e})();function bR(e,t){1&e&&(Oa(0,"div",27),Oa(1,"div",28),vo(2," Grade werden Bilder verarbeitet. Warten Sie kurz und erstellen Sie das Inserat danach, da die Bilder sonst nicht im Inserat erscheinen "),Fa(),Ra(3,"mat-spinner",29,30),Fa()),2&e&&(Cs(3),Pa("diameter",36))}function vR(e,t){1&e&&Ra(0,"mat-spinner")}function wR(e,t){if(1&e&&(Oa(0,"div",31),Ta(1,vR,1,0,"mat-spinner",32),Fa()),2&e){const e=Ka();Cs(1),Pa("ngIf",e.loading)}}function kR(e,t){1&e&&Ra(0,"mat-spinner",34),2&e&&Pa("diameter",18)}function xR(e,t){if(1&e&&(vo(0," Fahrzeug Bilder "),Ta(1,kR,1,1,"mat-spinner",33),Bl(2,"async")),2&e){const e=Ka();Cs(1),Pa("ngIf",zl(2,1,e.imagesProcessing$))}}let CR=(()=>{class e{constructor(e,t,i,n,s,r,a,o,l,c,d,u){this.mobileDeService=e,this.adProcessingService=t,this.sharedDataService=i,this.navigationService=n,this.cdr=s,this.authService=r,this.dialog=a,this.route=o,this.router=l,this.matSnackBar=c,this.dp24Service=d,this.chatSharedService=u,this.vehicleClass="",this.vehicleClassSubject=new _g,this.vehicleClassObs$=this.vehicleClassSubject.asObservable(),this.submittedSubject=new x,this.nestedForm=new cE({specification:new lE("",[CA.required]),baseData:new lE("",[CA.required]),consumption:new lE(""),priceFinance:new lE(""),features:new lE(""),description:new lE(""),system:new lE("")}),this.subs=new h,this.loading=!1,this.step=-1,this.featuresErrorState=!1,this.baseDataErrorState=!1,this.priceErrorState=!1,this.consumptionErrorState=!1,this.firstRegistrationRequired=!0,this.consumptionFieldsRequired="initial",this.imagesCurrentlyProcessing=!1,this.resetSubject=new x,this.reset$=this.resetSubject.asObservable(),this.fromShowDarmasAds=!1}ngOnInit(){this.submittedObservable=this.submittedSubject.asObservable(),this.navigationService.currentNavTitleValue="Mobile.de Inserat erstellen",this.subs.add(this.sharedDataService.imagesProcessing$.subscribe(e=>{this.imagesCurrentlyProcessing=e})),this.imagesProcessing$=this.sharedDataService.imagesProcessing$}ngAfterViewInit(){this.loading=!0,this.route.queryParams.pipe(bu(1)).subscribe(e=>{e.fromDp24?(this.dp24Service.getFeatureProfileById(e.featureProfileId).pipe(bu(1)).subscribe(e=>{if(e){console.log("FEATURE PROFILE: ",e);const t=e.baseDatas[0],i=e.consumptions[0],n=e.descriptions[0];this.baseDataChild.dataForm.patchValue(t),t.firstRegistration&&""!==t.firstRegistration&&(this.baseDataChild.firstRegistrationChild.date=t.firstRegistration),t.exhaustInspection&&""!==t.exhaustInspection&&(this.baseDataChild.exhaustInspectionChild.date=t.exhaustInspection),t.constructionYear&&""!==t.constructionYear&&(this.baseDataChild.constructionYearChild.date=t.constructionYear),this.consumptionChild.dataForm.patchValue(i),this.descriptionChild.mapForProfilePrefill(n)}}),this.dp24Service.getColorProfile(e.colorProfileId).pipe(bu(1)).subscribe(e=>{e&&(this.baseDataChild.dataForm.get("manufacturerColorName").setValue(e.manufacturerColorName),this.baseDataChild.dataForm.get("exteriorColor").setValue(e.exteriorColor),this.baseDataChild.dataForm.get("metallic").setValue(e.metallic))})):e.fromShowDarmasAds&&(this.fromShowDarmasAds=!0);const t=this.vehicleClassSubject.asObservable();this.subs=t.subscribe(t=>{this.fromShowDarmasAds||e.fromDp24||this.featuresChild.createFormsForVehicleClass(t)},e=>{console.error(e)},()=>{})}),this.loading=!1}reset(){this.specificationChild.resetControls(),this.priceChild.resetControls(),this.imagesForAdChild.resetControls(),this.featuresChild.resetControls(),this.descriptionChild.resetControls(),this.baseDataChild.resetControls(),this.systemChild.resetControls(),this.consumptionChild.resetControls(),this.submittedSubject.next(!1),this.baseDataErrorState=!1,this.priceErrorState=!1,this.consumptionErrorState=!1,this.featuresErrorState=!1}get featureData(){const e=this.featuresChild.dataForm.value;return console.log("SELECTED FEATURES: ",e),e}onVehicleConditionChanged(e){"NEW"===e||"PRE_REGISTRATION"===e||"DEMONSTRATION"===e?(this.baseDataChild.resetFirstRegistrationValidators(!0),this.consumptionChild.setFieldsToRequired(!0),this.firstRegistrationRequired=!1):(this.baseDataChild.resetFirstRegistrationValidators(!1),this.firstRegistrationRequired=!0,this.consumptionChild.setFieldsToRequired(!1))}onVehicleUsageTypeChange(e){this.onVehicleConditionChanged(e)}onSubmit(e){if(this.imagesCurrentlyProcessing)this.openDialog({title:"Bitte warten",message:"Warten Sie bitte ab bis die Verarbeitung der Bilder abgeschlossen ist."});else if(this.loading=!0,this.specificationChild.formSubmittedHandler(),this.baseDataChild.formSubmittedHandler(),this.consumptionChild.formSubmittedHandler(),this.priceChild.formSubmittedHandler(),this.featuresChild.formSubmittedHandler(),delete e.modelgroups,delete e.horsepower,this.submittedSubject.next(!0),this.validateAllFormFields(e)&&this.nestedForm.valid){this.baseDataErrorState=!1,this.priceErrorState=!1,this.featuresErrorState=!1,this.consumptionErrorState=!1;const t=e.system;e=this.transformValues(e);const i=this.imagesForAdChild.mobileDeImages.concat(this.imagesForAdChild.templateImages);let n=Object.assign(e.specification,e.baseData,{deliveryPeriod:t.deliveryPeriod,deliveryDate:t.deliveryDate,renewalDate:t.renewalDate,internalNumber:t.internalNumber},{price:{consumerPriceGross:e.priceFinance.consumerPriceGross,consumerPriceNet:e.priceFinance.consumerPriceNet,vatRate:e.priceFinance.vatRate}},e.features,{description:e.description.description},{highlights:e.description.highlights},{images:i.map(e=>({ref:e.ref}))},e.consumption,{reserved:e.system.reserved});if(e.system.mobileAdId&&""!==e.system.mobileAdId){n=Object.assign(n,{mobileAdId:e.system.mobileAdId,mobileSellerId:e.system.mobileSellerId});let i=null;const s=JSON.parse(localStorage.getItem("selectedStore"));if(i={},s){const e=this.systemChild.darmasAd;console.log("selected store:: ",s),e.store!==s._id?(i.storeChanged=!0,i.oldStoreId=e.store,i.newStoreId=s._id):i.storeId=s._id}else i.storeId=this.systemChild.userStore._id;this.mobileDeService.updateAd(n,t,this.imagesForAdChild.darmasImages,i).pipe(bu(1)).subscribe(e=>{this.loading=!1,this.submittedSubject.next(!1),this.reset(),this.systemChild._online=!0,console.log("next: ",e);let t="";this.sharedDataService.addUpdatedAd(e.mobileAdId),this.imagesForAdChild.darmasImages.length>0&&(this.chatSharedService.addProfileImagesProcessing(e.mobileAdId,!0),t="Fahrzeug Bilder aus dem Bild-Profil werden im Hintergrund bearbeitet und dem Inserat zugeordnet."),this.openDialog({title:"Erfolg",message:"Ihr Fahrzeug wurde erfolgreich aktualisiert."+t,confirmButtonRouterLink:"mobile-de/show/darmas/ads",confirmButtonLabel:"Zur Ad Liste"})},e=>{console.error("update ad error res:",e),this.loading=!1,this.systemChild._online=!1,e.error.errorsCount>0&&this.openDialog({title:"Fehler",htmlMessage:"Bei der \xdcberpr\xfcfung Ihrer Daten "+(e.error.errorsCount>1?"wurden folgende Fehler":"wurde folgender Fehler")+" festgestellt:<br><br>"+e.error.translatedErrors}),e.error.xMobileDeRandomId&&(this.systemChild.xMobileDeRandomId=e.error.xMobileDeRandomId)})}else this.mobileDeService.createAd(n,t,this.imagesForAdChild.darmasImages).pipe(bu(1)).subscribe(e=>{this.loading=!1,this.submittedSubject.next(!1),console.log("NEXT:: ",e);let t="";this.imagesForAdChild.darmasImages.length>0&&(console.log("PROCESS IMAGES FROM PROFILE"),this.chatSharedService.addProfileImagesProcessing(e.mobileAdId,!0),t="Fahrzeug Bilder aus dem Bild-Profil werden im Hintergrund bearbeitet und dem Inserat zugeordnet."),this.reset(),this.systemChild._online=!0,this.openDialog({title:"Erfolg",message:"Ihr Fahrzeug wurde erfolgreich auf Mobile.de. ver\xf6ffentlicht. "+t,confirmButtonRouterLink:"mobile-de/show/darmas/ads",confirmButtonLabel:"Zur Ad Liste"})},e=>{console.error("create ad error res:",e),this.loading=!1,this.systemChild._online=!1,e.error.errorsCount>0&&this.openDialog({title:"Fehler",htmlMessage:"Bei der \xdcberpr\xfcfung Ihrer Daten "+(e.error.errorsCount>1?"wurden folgende Fehler":"wurde folgender Fehler")+" festgestellt:<br><br>"+e.error.translatedErrors}),e.error.xMobileDeRandomId&&(this.systemChild.xMobileDeRandomId=e.error.xMobileDeRandomId)},()=>{this.loading=!1})}else this.loading=!1,this.openDialog({title:"Fehler",message:"Bitte f\xfcllen Sie alle Pflichtfelder aus (*)"})}validateAllFormFields(e){let t=!0;return console.log("formgroup: ",e),Object.keys(e).forEach(i=>{if("specification"===i);else if("baseData"===i){if(""!==e.baseData){const i=e.baseData.mileage;(""===e.baseData.firstRegistration.date&&this.firstRegistrationRequired||""===i)&&(t=!1,this.baseDataErrorState=!0)}else t=!1,this.baseDataErrorState=!0;console.log("basedata error: ",this.baseDataErrorState)}else"features"===i?""===e.features.damageUnrepaired&&(t=!1,console.log("features error"),this.featuresErrorState=!0,this.featuresChild.showError("test")):"priceFinance"===i?""!==e.priceFinance&&""!==e.priceFinance.consumerPriceGross||(this.priceErrorState=!0,console.log("price error: ",this.priceErrorState),t=!1):"consumption"===i&&(this.nestedForm.get("consumption").valid||(this.consumptionErrorState=!0,console.log("consumption error: ",this.consumptionErrorState),t=!1))}),t}transformValues(e){return console.log("VALUE of forms: ",e),this.adProcessingService.transformDateValuesToMobileDe(e),e.specification.modelDescription=e.specification.modelDescription.substring(0,47),e.baseData&&(e.baseData.mileage=Number(e.baseData.mileage)),e.priceFinance&&""!==e.priceFinance&&(""!==e.priceFinance.consumerPriceGross&&(e.priceFinance.consumerPriceGross=mO.transformCurrencyToCalculatable(e.priceFinance.consumerPriceGross),e.priceFinance.consumerPriceNet=mO.transformCurrencyToCalculatable(e.priceFinance.consumerPriceNet)),e.priceFinance.dealerPriceGross&&""!==e.priceFinance.dealerPriceGross&&(e.priceFinance.dealerPriceGross=mO.transformCurrencyToCalculatable(e.priceFinance.dealerPriceGross),e.priceFinance.dealerPriceNet=mO.transformCurrencyToCalculatable(e.priceFinance.dealerPriceNet)),e.priceFinance.type&&(e.priceFinance.type="FIXED")),e.system.deliveryPeriod&&"0"===e.system.deliveryPeriod&&(e.system.deliveryDate=(new Date).toISOString(),delete e.system.deliveryPeriod),delete e.specification.modelRange,e}setVehicleClass(e){this.vehicleClass=e,this.vehicleClassSubject.next(e)}addImages(e){this.openImageDialog(null)}saveAd(){if(this.submittedSubject.next(!0),this.validateAllFormFields(this.nestedForm)){let e=this.nestedForm.value;e=this.transformValues(e),console.log("value: ",e);const t=Object.assign(e.specification,e.baseData,{price:e.priceFinance},e.features,e.description,{images:this.imagesForAdChild.mobileDeImages}),i={};Object.keys(t).forEach(e=>{t[e]&&""!==t[e]&&(i[e]=t[e])}),this.mobileDeService.saveAdAsDarmasAd(i,e.system,this.imagesForAdChild.darmasImages).pipe(bu(1)).subscribe(e=>{console.log("saved darmas ad: ",e),this.openSnackBar("Die Ad wurde in der Datenbank gespeichert.","Ok")})}else this.openDialog({title:"Fehler",message:"Bitte f\xfcllen Sie alle Pflichtfelder aus(*). Sie k\xf6nnen das Inserat erst dann in der Datenbank speichern. Es wird nur gespeichert und nicht bei Mobile.de ver\xf6ffentlicht."})}openSnackBar(e,t){this.matSnackBar.open(e,t,{duration:3e3})}ngOnDestroy(){this.subs.unsubscribe(),this.sharedDataService.completeDarmasAd(),this.sharedDataService.completeDp24Car()}openDialog(e){this.dialog.open(mC,{height:"auto",width:"auto",maxWidth:"350px",data:{title:e.title,message:e.message,htmlMessage:e.htmlMessage,confirmButtonRouterLink:e.confirmButtonRouterLink,confirmButton:e.confirmButton,confirmButtonLabel:e.confirmButtonLabel}}).beforeClosed().subscribe(e=>{})}openImageDialog(e){this.dialog.open(WT,{height:"auto",minWidth:"400px",data:{openedFromCreateMobileAdForm:!0}}).beforeClosed().subscribe(e=>{})}setStep(e){this.step=e}nextStep(e){e.preventDefault(),this.step++}prevStep(e){e.preventDefault(),this.step--}}return e.\u0275fac=function(t){return new(t||e)(Ea(BE),Ea(WF),Ea(O_),Ea(P_),Ea(Zr),Ea(jE),Ea(Wx),Ea(Vm),Ea(sf),Ea(bM),Ea(ZS),Ea(UF))},e.\u0275cmp=ut({type:e,selectors:[["app-create-ad-form"]],viewQuery:function(e,t){var i;1&e&&(ac(BP,!0),ac(lO,!0),ac(YO,!0),ac(NO,!0),ac(ZO,!0),ac(MF,!0),ac(jF,!0),ac(zF,!0)),2&e&&(sc(i=hc())&&(t.featuresChild=i.first),sc(i=hc())&&(t.baseDataChild=i.first),sc(i=hc())&&(t.priceChild=i.first),sc(i=hc())&&(t.imagesForAdChild=i.first),sc(i=hc())&&(t.systemChild=i.first),sc(i=hc())&&(t.specificationChild=i.first),sc(i=hc())&&(t.consumptionChild=i.first),sc(i=hc())&&(t.descriptionChild=i.first))},decls:96,vars:35,consts:[["class","image-processing-overlay",4,"ngIf"],[1,"hm_wrapper"],["class","haba-loading-shade",4,"ngIf"],[3,"formGroup","ngSubmit"],["form",""],["label","Daten"],["fxLayout","row"],["formControlName","specification",3,"formSubmitted","vehicleConditionChanged","vehicleUsageTypeChanged","selectedVehicleClassEvent"],["spec",""],[2,"margin-left","10px","flex","1 1 auto"],["formControlName","system",3,"online","storeId","submitForm"],[1,"panel-headers-align"],["hideToggle","",3,"expanded","opened"],["formControlName","baseData",3,"formSubmitted"],["type","button","mat-button","","color","primary",1,"nextStepButton",3,"click"],["formControlName","consumption"],["type","button","mat-button","","color","primary",3,"click"],["formControlName","features",3,"formSubmitted","vehicleClass","vehicleClassObs$"],["type","button","mat-button","",1,"nextStepButton",3,"click"],["formControlName","description"],["formControlName","priceFinance"],["mat-tab-label",""],[3,"formSubmitted","openImagePicker"],["fxLayout","row","fxLayoutAlign","start",2,"margin-top","10px"],["type","button","mat-raised-button","",3,"click"],["fxLayout","row","fxLayoutAlign","end","fxFlex","",2,"margin-top","10px"],["type","submit","mat-raised-button","","color","accent"],[1,"image-processing-overlay"],[1,"description",2,"position","absolute","bottom","10px","left","10px"],["matSuffix","","color","primary",1,"imageProcessingSpinner",3,"diameter"],["matSpinner",""],[1,"haba-loading-shade"],[4,"ngIf"],["style","margin-left: 10px;",3,"diameter",4,"ngIf"],[2,"margin-left","10px",3,"diameter"]],template:function(e,t){1&e&&(Ta(0,bR,5,1,"div",0),Bl(1,"async"),Oa(2,"div",1),Ta(3,wR,2,1,"div",2),Oa(4,"form",3,4),Wa("ngSubmit",(function(){return t.onSubmit(t.nestedForm.value)})),Oa(6,"mat-tab-group"),Oa(7,"mat-tab",5),Oa(8,"div",6),Oa(9,"mat-card"),Oa(10,"mat-card-title"),vo(11,"Spezifikation"),Fa(),Oa(12,"app-specification",7,8),Wa("vehicleConditionChanged",(function(e){return t.onVehicleConditionChanged(e)}))("vehicleUsageTypeChanged",(function(e){return t.onVehicleUsageTypeChange(e)}))("selectedVehicleClassEvent",(function(e){return t.setVehicleClass(e)})),Bl(14,"async"),Fa(),Fa(),Oa(15,"mat-card",9),Oa(16,"mat-card-title"),vo(17," System"),Fa(),Oa(18,"app-system",10),Wa("submitForm",(function(){return t.onSubmit(t.nestedForm.value)})),Fa(),Fa(),Fa(),Oa(19,"mat-accordion",11),Oa(20,"mat-expansion-panel",12),Wa("opened",(function(){return t.setStep(0)})),Oa(21,"mat-expansion-panel-header"),Oa(22,"mat-panel-title"),vo(23," Basisdaten "),Fa(),Oa(24,"mat-panel-description"),vo(25," Angaben zur Leistung und Aufbau "),Oa(26,"mat-icon"),vo(27,"directions_car"),Fa(),Fa(),Fa(),Ra(28,"app-base-data",13),Bl(29,"async"),Oa(30,"mat-action-row"),Oa(31,"button",14),Wa("click",(function(e){return t.nextStep(e)})),vo(32," Weiter "),Fa(),Fa(),Fa(),Oa(33,"mat-expansion-panel",12),Wa("opened",(function(){return t.setStep(1),t.consumptionFieldsRequired="initial"})),Oa(34,"mat-expansion-panel-header"),Oa(35,"mat-panel-title"),vo(36," Kraftstoffverbrauch (EnVKV) "),Fa(),Oa(37,"mat-panel-description"),vo(38," Angaben zum Energieverbrauch "),Oa(39,"mat-icon"),vo(40,"battery_full"),Fa(),Fa(),Fa(),Ra(41,"app-consumption",15),Oa(42,"mat-action-row"),Oa(43,"button",16),Wa("click",(function(e){return t.prevStep(e)})),vo(44," Zur\xfcck "),Fa(),Oa(45,"button",14),Wa("click",(function(e){return t.nextStep(e)})),vo(46," Weiter "),Fa(),Fa(),Fa(),Oa(47,"mat-expansion-panel",12),Wa("opened",(function(){return t.setStep(2)})),Oa(48,"mat-expansion-panel-header"),Oa(49,"mat-panel-title"),vo(50," Features "),Fa(),Oa(51,"mat-panel-description"),vo(52," Ausstattung und Extras "),Oa(53,"mat-icon"),vo(54,"emoji_transportation"),Fa(),Fa(),Fa(),Ra(55,"app-features",17),Bl(56,"async"),Oa(57,"mat-action-row"),Oa(58,"button",16),Wa("click",(function(e){return t.prevStep(e)})),vo(59," Zur\xfcck "),Fa(),Oa(60,"button",18),Wa("click",(function(e){return t.nextStep(e)})),vo(61," Weiter "),Fa(),Fa(),Fa(),Oa(62,"mat-expansion-panel",12),Wa("opened",(function(){return t.setStep(3)})),Oa(63,"mat-expansion-panel-header"),Oa(64,"mat-panel-title"),vo(65," Beschreibungstexte "),Fa(),Oa(66,"mat-panel-description"),vo(67," \xa0 "),Oa(68,"mat-icon"),vo(69,"article"),Fa(),Fa(),Fa(),Ra(70,"app-description",19),Oa(71,"mat-action-row"),Oa(72,"button",16),Wa("click",(function(e){return t.prevStep(e)})),vo(73," Zur\xfcck "),Fa(),Oa(74,"button",18),Wa("click",(function(e){return t.nextStep(e)})),vo(75," Weiter "),Fa(),Fa(),Fa(),Oa(76,"mat-expansion-panel",12),Wa("opened",(function(){return t.setStep(4)})),Oa(77,"mat-expansion-panel-header"),Oa(78,"mat-panel-title"),vo(79," Preise & Finanzen "),Fa(),Oa(80,"mat-panel-description"),vo(81," \xa0 "),Oa(82,"mat-icon"),vo(83,"euro"),Fa(),Fa(),Fa(),Ra(84,"app-price-finance",20),Fa(),Fa(),Fa(),Oa(85,"mat-tab"),Ta(86,xR,3,3,"ng-template",21),Oa(87,"app-images-for-ad",22),Wa("openImagePicker",(function(e){return t.addImages(e)})),Bl(88,"async"),Fa(),Fa(),Fa(),Oa(89,"div",6),Oa(90,"div",23),Oa(91,"button",24),Wa("click",(function(){return t.reset()})),vo(92," Formular zur\xfccksetzen "),Fa(),Fa(),Oa(93,"div",25),Oa(94,"button",26),vo(95," Fahrzeug ver\xf6ffentlichen "),Fa(),Fa(),Fa(),Fa(),Fa()),2&e&&(Pa("ngIf",zl(1,25,t.imagesProcessing$)),Cs(3),Pa("ngIf",t.loading),Cs(1),Pa("formGroup",t.nestedForm),Cs(8),Pa("formSubmitted",zl(14,27,t.submittedObservable)),Cs(6),Pa("online",!0)("storeId",t.authService.currentUserValue.storeId),Cs(2),Pa("expanded",0===t.step),Cs(6),oo("haba-error",t.baseDataErrorState),Cs(2),Pa("formSubmitted",zl(29,29,t.submittedObservable)),Cs(5),Pa("expanded",1===t.step),Cs(2),Pa("@balloonEffect",t.consumptionFieldsRequired),Cs(4),oo("haba-error",t.consumptionErrorState),Cs(8),Pa("expanded",2===t.step),Cs(6),oo("haba-error",t.featuresErrorState),Cs(2),Pa("formSubmitted",zl(56,31,t.submittedObservable))("vehicleClass",t.vehicleClass)("vehicleClassObs$",t.vehicleClassObs$),Cs(7),Pa("expanded",3===t.step),Cs(14),Pa("expanded",4===t.step),Cs(6),oo("haba-error",t.priceErrorState),Cs(5),Pa("formSubmitted",zl(88,33,t.submittedObservable)))},directives:[$d,kE,yA,SE,xk,uk,uD,JT,qT,MF,_A,IE,ZO,gR,hR,mR,fR,pR,kS,lO,uR,nC,jF,BP,zF,YO,ok,NO,qD,ED,nS,gI],pipes:[rh],styles:["mat-card[_ngcontent-%COMP%]{margin-bottom:10px}form.submitted[_ngcontent-%COMP%] input.ng-invalid[_ngcontent-%COMP%], input.ng-dirty.ng-invalid[_ngcontent-%COMP%]{border:1px solid red}.haba-error[_ngcontent-%COMP%]{color:red}.panel-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%], .panel-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-basis:0}.panel-headers-align[_ngcontent-%COMP%] .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.panel-headers-align[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] + .mat-form-field[_ngcontent-%COMP%]{margin-left:8px}.mat-accordion[_ngcontent-%COMP%] .mat-expansion-panel[_ngcontent-%COMP%]{border-radius:0!important}.mat-expansion-panel-spacing[_ngcontent-%COMP%]{margin:10px 0}"],data:{animation:[yy("balloonEffect",[xy("initial",ky({})),xy("final",ky({color:"red"})),Sy("final=>initial",by("1000ms")),Sy("initial=>final",by("1500ms"))]),yy("fadeInOut",[xy("void",ky({opacity:0})),Sy("void <=> *",by(1e3))])]}}),e})();const SR={tooltipState:yy("state",[xy("initial, void, hidden",ky({opacity:0,transform:"scale(0)"})),xy("visible",ky({transform:"scale(1)"})),Sy("* => visible",by("200ms cubic-bezier(0, 0, 0.2, 1)",Cy([ky({opacity:0,transform:"scale(0)",offset:0}),ky({opacity:.5,transform:"scale(0.99)",offset:.5}),ky({opacity:1,transform:"scale(1)",offset:1})]))),Sy("* => hidden",by("100ms cubic-bezier(0, 0, 0.2, 1)",ky({opacity:0})))])},MR=Dg({passive:!0});function DR(e){return Error(`Tooltip position "${e}" is invalid.`)}const LR=new Re("mat-tooltip-scroll-strategy"),TR={provide:LR,deps:[M_],useFactory:function(e){return()=>e.scrollStrategies.reposition({scrollThrottle:20})}},AR=new Re("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let ER=(()=>{class e{constructor(e,t,i,n,s,r,a,o,l,c,d,h){this._overlay=e,this._elementRef=t,this._scrollDispatcher=i,this._viewContainerRef=n,this._ngZone=s,this._platform=r,this._ariaDescriber=a,this._focusMonitor=o,this._dir=c,this._defaultOptions=d,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new x,this._handleKeydown=e=>{this._isTooltipVisible()&&27===e.keyCode&&!e_(e)&&(e.preventDefault(),e.stopPropagation(),this._ngZone.run(()=>this.hide(0)))},this._scrollStrategy=l,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),o.monitor(t).pipe(rg(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&s.run(()=>this.show()):s.run(()=>this.hide(0))}),s.runOutsideAngular(()=>{t.nativeElement.addEventListener("keydown",this._handleKeydown)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=Df(e),this._disabled&&this.hide(0)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?(""+e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message)})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngOnInit(){this._setupPointerEvents()}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach((t,i)=>{e.removeEventListener(i,t,MR)}),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const t=this._createOverlay();this._detach(),this._portal=this._portal||new zg(IR,this._viewContainerRef),this._tooltipInstance=t.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(rg(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),t=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return t.positionChanges.pipe(rg(this._destroyed)).subscribe(e=>{this._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:t,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(rg(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){const e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),i=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),i.main),Object.assign(Object.assign({},t.fallback),i.fallback)])}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let i;if("above"==t||"below"==t)i={originX:"center",originY:"above"==t?"top":"bottom"};else if("before"==t||"left"==t&&e||"right"==t&&!e)i={originX:"start",originY:"center"};else{if(!("after"==t||"right"==t&&e||"left"==t&&!e))throw DR(t);i={originX:"end",originY:"center"}}const{x:n,y:s}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:n,originY:s}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,t=this.position;let i;if("above"==t)i={overlayX:"center",overlayY:"bottom"};else if("below"==t)i={overlayX:"center",overlayY:"top"};else if("before"==t||"left"==t&&e||"right"==t&&!e)i={overlayX:"end",overlayY:"center"};else{if(!("after"==t||"right"==t&&e||"left"==t&&!e))throw DR(t);i={overlayX:"start",overlayY:"center"}}const{x:n,y:s}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:n,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(bu(1),rg(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}_setupPointerEvents(){if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const e=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",e).set("touchcancel",e).set("touchstart",()=>{clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)})}}else this._passiveListeners.set("mouseenter",()=>this.show()).set("mouseleave",()=>this.hide());this._passiveListeners.forEach((e,t)=>{this._elementRef.nativeElement.addEventListener(t,e,MR)})}_disableNativeGesturesIfNecessary(){const e=this._elementRef.nativeElement,t=e.style,i=this.touchGestures;"off"!==i&&(("on"===i||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName)&&(t.userSelect=t.msUserSelect=t.webkitUserSelect=t.MozUserSelect="none"),"on"!==i&&e.draggable||(t.webkitUserDrag="none"),t.touchAction="none",t.webkitTapHighlightColor="transparent")}}return e.\u0275fac=function(t){return new(t||e)(Ea(M_),Ea(Wo),Ea(Fg),Ea(gl),Ea(Rc),Ea(vg),Ea(q_),Ea(hy),Ea(LR),Ea(Eg,8),Ea(AR,8),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["","matTooltip",""]],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),e})(),IR=(()=>{class e{constructor(e,t){this._changeDetectorRef=e,this._breakpointObserver=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new x,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}show(e){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._markForCheck()},e)}hide(e){this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._markForCheck()},e)}afterHidden(){return this._onHide.asObservable()}isVisible(){return"visible"===this._visibility}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(e){const t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Zr),Ea(aM))},e.\u0275cmp=ut({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&Wa("click",(function(){return t._handleBodyInteraction()}),!1,Ki),2&e&&ao("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var i;1&e&&(Oa(0,"div",0),Wa("@state.start",(function(){return t._animationStart()}))("@state.done",(function(e){return t._animationDone(e)})),Bl(1,"async"),vo(2),Fa()),2&e&&(oo("mat-tooltip-handset",null==(i=zl(1,5,t._isHandset))?null:i.matches),Pa("ngClass",t.tooltipClass)("@state",t._visibility),Cs(2),wo(t.message))},directives:[Bd],pipes:[rh],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[SR.tooltipState]},changeDetection:0}),e})(),PR=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[TR],imports:[[fy,ch,I_,Kv],Kv,jg]}),e})();function YR(e,t){if(1&e&&(Oa(0,"mat-option",19),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e),Cs(1),ko(" ",e," ")}}function OR(e,t){if(1&e){const e=Va();Oa(0,"mat-form-field",16),Oa(1,"mat-select",17),Wa("selectionChange",(function(t){return ii(e),Ka(2)._changePageSize(t.value)})),Ta(2,YR,2,2,"mat-option",18),Fa(),Fa()}if(2&e){const e=Ka(2);Pa("color",e.color),Cs(1),Pa("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),Cs(1),Pa("ngForOf",e._displayedPageSizeOptions)}}function FR(e,t){if(1&e&&(Oa(0,"div",20),vo(1),Fa()),2&e){const e=Ka(2);Cs(1),wo(e.pageSize)}}function RR(e,t){if(1&e&&(Oa(0,"div",12),Oa(1,"div",13),vo(2),Fa(),Ta(3,OR,3,5,"mat-form-field",14),Ta(4,FR,2,1,"div",15),Fa()),2&e){const e=Ka();Cs(2),ko(" ",e._intl.itemsPerPageLabel," "),Cs(1),Pa("ngIf",e._displayedPageSizeOptions.length>1),Cs(1),Pa("ngIf",e._displayedPageSizeOptions.length<=1)}}function NR(e,t){if(1&e){const e=Va();Oa(0,"button",21),Wa("click",(function(){return ii(e),Ka().firstPage()})),Li(),Oa(1,"svg",7),Ra(2,"path",22),Fa(),Fa()}if(2&e){const e=Ka();Pa("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),Da("aria-label",e._intl.firstPageLabel)}}function jR(e,t){if(1&e){const e=Va();Li(),Ti(),Oa(0,"button",23),Wa("click",(function(){return ii(e),Ka().lastPage()})),Li(),Oa(1,"svg",7),Ra(2,"path",24),Fa(),Fa()}if(2&e){const e=Ka();Pa("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),Da("aria-label",e._intl.lastPageLabel)}}let HR=(()=>{class e{constructor(){this.changes=new x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,t,i)=>{if(0==i||0==t)return"0 of "+i;const n=e*t;return`${n+1} \u2013 ${n<(i=Math.max(i,0))?Math.min(n+t,i):n+t} of ${i}`}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({factory:function(){return new e},token:e,providedIn:"root"}),e})();const VR={provide:HR,deps:[[new ne,new re,HR]],useFactory:function(e){return e||new HR}},BR=new Re("MAT_PAGINATOR_DEFAULT_OPTIONS");class zR{}const WR=Jv(tw(zR));let UR=(()=>{class e extends WR{constructor(e,t,i){if(super(),this._intl=e,this._changeDetectorRef=t,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new Gl,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),i){const{pageSize:e,pageSizeOptions:t,hidePageSize:n,showFirstLastButtons:s}=i;null!=e&&(this._pageSize=e),null!=t&&(this._pageSizeOptions=t),null!=n&&(this._hidePageSize=n),null!=s&&(this._showFirstLastButtons=s)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Lf(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Lf(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Lf(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(e=>Lf(e)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=Df(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=Df(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex++,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex--,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndex<e&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(e){const t=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/e)||0,this.pageSize=e,this._emitPageEvent(t)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((e,t)=>e-t),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return e.\u0275fac=function(t){return new(t||e)(Ea(HR),Ea(Zr),Ea(BR,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-paginator"]],hostAttrs:[1,"mat-paginator"],inputs:{disabled:"disabled",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",color:"color"},outputs:{page:"page"},exportAs:["matPaginator"],features:[Lo],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,t){1&e&&(Oa(0,"div",0),Oa(1,"div",1),Ta(2,RR,5,3,"div",2),Oa(3,"div",3),Oa(4,"div",4),vo(5),Fa(),Ta(6,NR,3,5,"button",5),Oa(7,"button",6),Wa("click",(function(){return t.previousPage()})),Li(),Oa(8,"svg",7),Ra(9,"path",8),Fa(),Fa(),Ti(),Oa(10,"button",9),Wa("click",(function(){return t.nextPage()})),Li(),Oa(11,"svg",7),Ra(12,"path",10),Fa(),Fa(),Ta(13,jR,3,5,"button",11),Fa(),Fa(),Fa()),2&e&&(Cs(2),Pa("ngIf",!t.hidePageSize),Cs(3),ko(" ",t._intl.getRangeLabel(t.pageIndex,t.pageSize,t.length)," "),Cs(1),Pa("ngIf",t.showFirstLastButtons),Cs(1),Pa("matTooltip",t._intl.previousPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("matTooltipPosition","above")("disabled",t._previousButtonsDisabled()),Da("aria-label",t._intl.previousPageLabel),Cs(3),Pa("matTooltip",t._intl.nextPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("matTooltipPosition","above")("disabled",t._nextButtonsDisabled()),Da("aria-label",t._intl.nextPageLabel),Cs(3),Pa("ngIf",t.showFirstLastButtons))},directives:[$d,nC,ER,kI,LP,Wd,Nw],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),e})(),$R=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[VR],imports:[[ch,sC,TP,PR]]}),e})();function GR(e,t){1&e&&Ra(0,"app-buffering")}function qR(e,t){if(1&e&&(Oa(0,"mat-option",12),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e.name),Cs(1),ko(" ",e.description," ")}}function KR(e,t){if(1&e&&(Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2,"Farbname"),Fa(),Oa(3,"mat-select",10),Ta(4,qR,2,2,"mat-option",11),Fa(),Fa()),2&e){const e=Ka();Cs(4),Pa("ngForOf",e.refdataColors)}}let JR=(()=>{class e{constructor(e,t,i,n,s,r,a,o){this.dialogRef=e,this.data=t,this.dialog=i,this.fb=n,this.dp24Service=s,this.mobileDeService=r,this.refdataService=a,this.sharedDataService=o,this.loading=!1,this.colorProfile=null,this.dp24Vehicle=t.dp24Vehicle,this.colorCode=t.colorCode}ngOnInit(){this.dataForm=this.fb.group({exteriorColor:["",[CA.required]],manufacturerColorName:[""],metallic:[""]}),this.colorCode&&(this.dp24Service.getColorProfile(this.colorCode).pipe(bu(1)).subscribe(e=>{console.log("colorprofile: ",e),this.colorProfile=e,this.dataForm.get("manufacturerColorName").setValue(e.manufacturerColorName),this.dataForm.get("exteriorColor").setValue(e.exteriorColor),this.dataForm.get("metallic").setValue(e.metallic)}),this.dialogRef.beforeClosed().subscribe(e=>{this.createColorProfile()})),this.refdataService.getSiteIndependentRefdata("colors").pipe(bu(1)).subscribe(e=>{this.refdataColors=e})}createColorProfile(){const e=this.dataForm.get("exteriorColor").value,t=this.dataForm.get("metallic").value,i=this.dataForm.get("manufacturerColorName").value;this.dp24Service.createColorProfile(this.colorCode,this.dp24Vehicle,{exteriorColor:e,manufacturerColorName:i,metallic:t},this.colorProfile).pipe(bu(1)).subscribe(e=>{this.sharedDataService.setOrChangeProfileState(this.colorCode,e?Y_.Created:Y_.NotCreatedImagesFromDispo24Present)})}logSelection(e){}}return e.\u0275fac=function(t){return new(t||e)(Ea(jx),Ea(Hx),Ea(Wx),Ea(FE),Ea(ZS),Ea(BE),Ea(VE),Ea(O_))},e.\u0275cmp=ut({type:e,selectors:[["app-color-profile"]],decls:23,vars:6,consts:[[4,"ngIf"],["fxLayout","column"],["mat-dialog-title","","fxFlex","80",2,"font-size","larger"],[2,"font-size","10px"],["mat-dialog-content","",3,"formGroup"],["fxLayout","row"],["matInput","","type","text","autocomplete","off","formControlName","manufacturerColorName"],["formControlName","metallic",3,"change"],["align","end"],["mat-button","",3,"mat-dialog-close"],["formControlName","exteriorColor"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,t){1&e&&(Oa(0,"div"),Ta(1,GR,1,0,"app-buffering",0),Oa(2,"div",1),Oa(3,"div",2),vo(4," Farb-Profil "),Oa(5,"span",3),vo(6),Fa(),Fa(),Fa(),Oa(7,"p"),vo(8),Fa(),Oa(9,"div",4),Oa(10,"div",5),Ta(11,KR,5,1,"mat-form-field",0),Ra(12,"div"),Fa(),Oa(13,"div",5),Oa(14,"mat-form-field"),Oa(15,"mat-label"),vo(16,"Farbe"),Fa(),Ra(17,"input",6),Fa(),Oa(18,"mat-checkbox",7),Wa("change",(function(e){return t.logSelection(e)})),vo(19,"Metallic"),Fa(),Fa(),Fa(),Oa(20,"mat-dialog-actions",8),Oa(21,"button",9),vo(22," Schliessen "),Fa(),Fa(),Fa()),2&e&&(Cs(1),Pa("ngIf",t.loading),Cs(5),ko(" ",t.colorCode," "),Cs(2),wo(null==t.dp24Vehicle?null:t.dp24Vehicle.modelDescription),Cs(1),Pa("formGroup",t.dataForm),Cs(2),Pa("ngIf",t.refdataColors),Cs(10),Pa("mat-dialog-close",!0))},directives:[$d,uD,Gx,ED,qx,yA,SE,kI,mI,PI,dA,_A,IE,oP,Kx,nC,$x,rS,LP,Wd,Nw],styles:[""]}),e})();function QR(e,t){1&e&&Ra(0,"app-buffering")}let ZR=(()=>{class e{constructor(e,t,i,n,s,r,a,o){this.dialogRef=e,this.data=t,this.dialog=i,this.dp24Service=n,this.mobileDeService=s,this.adProcessingService=r,this.sharedDataService=a,this.matSnackBar=o,this.loading=!0,this.dp24Vehicle=t.dp24Vehicle,this.dp24VehicleClass=t.dp24VehicleClass,this.factoryCode=t.factoryCode,this.padCode=t.padCode}ngOnInit(){this.factoryCode&&this.padCode&&(this.profileId=`${this.factoryCode}-${this.padCode}`,this.dp24Service.getFeatureProfile(this.factoryCode,this.padCode).pipe(bu(1)).subscribe(e=>{this.sharedDataService.currentFeatureProfileSubject.next(e),console.log(e),this.featureProfile=e}),this.dialogRef.beforeClosed().subscribe(e=>{this.featureProfile?this.updateFeatureProfile():this.createFeatureProfile()}))}createFeatureProfile(){const e=this.collectFeatureProfileData();this.loading=!0,this.dp24Service.createFeatureProfile(this.factoryCode,this.padCode,this.dp24Vehicle,e.features,e.baseDatas,e.consumptions,e.descriptions).pipe(bu(1)).subscribe(e=>{this.loading=!1,this.openSnackBar("Das Feature-Profil "+e.profileId+" ist f\xfcr Sie angelegt worden.","Ok"),this.sharedDataService.setOrChangeProfileState(this.profileId,Y_.Created)},e=>{console.error(e)})}updateFeatureProfile(){this.loading=!0;const e=this.collectFeatureProfileData();this.featureProfile.features=[],this.featureProfile.features.push(e.features),this.featureProfile.baseDatas=[],this.featureProfile.baseDatas.push(e.baseDatas),this.featureProfile.consumptions=[],this.featureProfile.consumptions.push(e.consumptions),this.featureProfile.descriptions=[],this.featureProfile.descriptions.push(e.descriptions),this.dp24Service.updateFeatureProfile(this.featureProfile).pipe(bu(1)).subscribe(e=>{this.loading=!1,console.log(e),this.sharedDataService.setOrChangeProfileState(this.profileId,Y_.Created)},e=>{console.error(e),this.sharedDataService.setOrChangeProfileState(this.profileId,Y_.NotCreatedImagesFromDispo24Present)})}collectFeatureProfileData(){const e=this.featuresChild.dataForm.value,t=this.baseDataChild.dataForm.value,i=this.consumptionChild.dataForm.value,n=this.descriptionChild.dataForm.value;return this.adProcessingService.transformDateValuesToMobileDe(t),{features:e,baseDatas:t,consumptions:i,descriptions:n}}saveAsTemplate(e){}featuresLoaded(e){this.loading=!1}openSnackBar(e,t){this.matSnackBar.open(e,t,{duration:3e3})}}return e.\u0275fac=function(t){return new(t||e)(Ea(jx),Ea(Hx),Ea(Wx),Ea(ZS),Ea(BE),Ea(WF),Ea(O_),Ea(bM))},e.\u0275cmp=ut({type:e,selectors:[["app-feature-profile"]],viewQuery:function(e,t){var i;1&e&&(ac(BP,!0),ac(lO,!0),ac(jF,!0),ac(zF,!0)),2&e&&(sc(i=hc())&&(t.featuresChild=i.first),sc(i=hc())&&(t.baseDataChild=i.first),sc(i=hc())&&(t.consumptionChild=i.first),sc(i=hc())&&(t.descriptionChild=i.first))},decls:22,vars:9,consts:[[4,"ngIf"],["fxLayout","row","fxLayoutAlign","space-between"],["mat-dialog-title","","fxFlex","80",2,"font-size","larger"],[2,"font-size","12px"],["mat-dialog-content",""],["fxLayout","column"],["hideLoadingSpinner","true","vehicleClass","Car",3,"comingFromDp24","vehicleClass","createFeatureControlsOnInit","featuresLoaded"],[2,"border-top","1px solid #555","padding-top","20px",3,"shownInCreateAdForm"],[1,"headline"],["align","end"],["mat-raised-button","",3,"mat-dialog-close"]],template:function(e,t){1&e&&(Oa(0,"div"),Ta(1,QR,1,0,"app-buffering",0),Oa(2,"div",1),Oa(3,"div",2),vo(4," Feature-Profil "),Oa(5,"span",3),vo(6),Fa(),Fa(),Fa(),Oa(7,"p"),vo(8),Fa(),Oa(9,"div",4),Oa(10,"div",5),Oa(11,"app-features",6),Wa("featuresLoaded",(function(e){return t.featuresLoaded(e)})),Fa(),Ra(12,"app-base-data",7),Oa(13,"h4",8),vo(14,"Verbrauch"),Fa(),Ra(15,"app-consumption"),Oa(16,"h4",8),vo(17,"Highlights & Beschreibung"),Fa(),Ra(18,"app-description"),Fa(),Fa(),Oa(19,"mat-dialog-actions",9),Oa(20,"button",10),vo(21," Schliessen "),Fa(),Fa(),Fa()),2&e&&(Cs(1),Pa("ngIf",t.loading),Cs(5),xo(" ",t.factoryCode,"-",t.padCode," "),Cs(2),wo(null==t.dp24Vehicle?null:t.dp24Vehicle.modelDescription),Cs(3),Pa("comingFromDp24",!0)("vehicleClass",t.dp24VehicleClass)("createFeatureControlsOnInit",!1),Cs(1),Pa("shownInCreateAdForm",!1),Cs(8),Pa("mat-dialog-close",!0))},directives:[$d,uD,qD,Gx,ED,qx,BP,lO,jF,zF,Kx,nC,$x,rS],styles:["hr[_ngcontent-%COMP%]{width:100%}.haba-orange[_ngcontent-%COMP%]{color:orange!important}.headline[_ngcontent-%COMP%]{border-top:1px solid #555;padding-top:20px;color:orange}"]}),e})();const XR=yy("rowsAnimation",[Sy("void => *",[ky({height:"*",transform:"translateX(-550px)","box-shadow":"none"}),wy([by(".35s ease",ky({height:"*",transform:"translateX(0)","box-shadow":"none"})),by(".35s ease",ky({height:"*",opacity:1,transform:"translateX(0)"}))])])]),eN=yy("detailExpandAnimation",[xy("collapsed",ky({height:"0px",minHeight:"0"})),xy("expanded",ky({height:"*"})),Sy("expanded <=> collapsed",by("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))]),tN=(yy("listAnimation",[Sy("* => *",[Dy(":leave",[Ly(100,[by("0.5s",ky({opacity:0}))])],{optional:!0}),Dy(":enter",[ky({opacity:0}),Ly(100,[by("0.5s",ky({opacity:1}))])],{optional:!0})])]),yy("enterAnimation",[Sy(":enter",[ky({}),by("500ms",ky({"overflow-x":"hidden"}))]),Sy(":leave",[ky({transform:"translateX(0)",opacity:1}),by("500ms",ky({transform:"translateX(100%)",opacity:0}))])])),iN=function(e,t,i,n){return{red:e,green:t,orange:i,black:n}},nN=function(e,t,i){return{red:e,green:t,black:i}};let sN=(()=>{class e{constructor(e,t){this.dp24Service=e,this.sharedDataService=t,this.trafficLightProfileState=Y_}ngOnInit(){this.imageProfileId=`${this.dispo24Vehicle.factoryCode}-${this.dispo24Vehicle.interiorCode}-${this.dispo24Vehicle.colorCode}`,this.featureProfileId=`${this.dispo24Vehicle.factoryCode}-${this.dispo24Vehicle.interiorCode}`,this.colorProfileId=""+this.dispo24Vehicle.colorCode,this.sharedDataService.setOrChangeProfileState(this.imageProfileId,Y_.NotCreatable),this.sharedDataService.setOrChangeProfileState(this.featureProfileId,Y_.NotCreatable),this.sharedDataService.setOrChangeProfileState(this.colorProfileId,Y_.NotCreatable),this.sharedDataService.profileStateObservables[this.imageProfileId].subscribe(e=>{this.imageProfileState=e}),this.sharedDataService.profileStateObservables[this.featureProfileId].subscribe(e=>{this.featureProfileState=e}),this.sharedDataService.profileStateObservables[this.colorProfileId].subscribe(e=>{this.colorProfileState=e})}ngAfterViewInit(){}}return e.\u0275fac=function(t){return new(t||e)(Ea(ZS),Ea(O_))},e.\u0275cmp=ut({type:e,selectors:[["app-profile-traffic-light"]],inputs:{dispo24Vehicle:"dispo24Vehicle"},decls:16,vars:16,consts:[["fxLayout","row",2,"margin-right","10px"],["imageProfileSign",""],[1,"traffic-light","image-profile",3,"ngClass"],[1,"letterlabel"],["featureProfileSign",""],[1,"traffic-light","feature-profile",3,"ngClass"],["colorProfileSign",""],[1,"traffic-light","color-profile",3,"ngClass"]],template:function(e,t){var i,n,s,r,a,o,l;1&e&&(Oa(0,"div",0),Na(1,null,1),Oa(3,"div",2),Oa(4,"div",3),vo(5,"I"),Fa(),Fa(),ja(),Na(6,null,4),Oa(8,"div",5),Oa(9,"div",3),vo(10,"F"),Fa(),Fa(),ja(),Na(11,null,6),Oa(13,"div",7),Oa(14,"div",3),vo(15,"C"),Fa(),Fa(),ja(),Fa()),2&e&&(Cs(3),Pa("ngClass",(i=3,n=iN,s=t.imageProfileState===t.trafficLightProfileState.NotCreated,r=t.imageProfileState===t.trafficLightProfileState.Created,a=t.imageProfileState===t.trafficLightProfileState.NotCreatedImagesFromDispo24Present,o=t.imageProfileState===t.trafficLightProfileState.NotCreatable,function(e,t,i,n,s,r,a,o,l){const c=t+i;return function(e,t,i,n,s,r){const a=Sa(e,t,i,n);return Sa(e,t+2,s,r)||a}(e,c,s,r,a,o)?xa(e,c+4,l?n.call(l,s,r,a,o):n(s,r,a,o)):jl(e,c+4)}(ei(),ci(),i,n,s,r,a,o,l))),Cs(5),Pa("ngClass",Nl(8,nN,t.featureProfileState===t.trafficLightProfileState.NotCreated,t.featureProfileState===t.trafficLightProfileState.Created,t.featureProfileState===t.trafficLightProfileState.NotCreatable)),Cs(5),Pa("ngClass",Nl(12,nN,t.colorProfileState===t.trafficLightProfileState.NotCreated,t.colorProfileState===t.trafficLightProfileState.Created,t.colorProfileState===t.trafficLightProfileState.NotCreatable)))},directives:[uD,Bd,gO],styles:[".traffic-light[_ngcontent-%COMP%]{width:20px;border-radius:10px;margin:2px}.red[_ngcontent-%COMP%]{background:red}.orange[_ngcontent-%COMP%]{background:orange}.green[_ngcontent-%COMP%]{background:green}.black[_ngcontent-%COMP%]{background:rgba(0,0,0,.3)}.letterlabel[_ngcontent-%COMP%]{width:100%;text-align:center;font-size:smaller}"]}),e})();function rN(e,t){1&e&&(Oa(0,"div"),Ra(1,"img",1),Fa())}function aN(e,t){1&e&&(Oa(0,"div"),Ra(1,"img",2),Fa())}function oN(e,t){1&e&&(Oa(0,"div"),Ra(1,"img",3),Fa())}function lN(e,t){1&e&&(Oa(0,"div"),Ra(1,"img",4),Fa())}function cN(e,t){1&e&&(Oa(0,"div"),Ra(1,"img",5),Fa())}function dN(e,t){1&e&&(Oa(0,"div"),Ra(1,"img",6),Fa())}function hN(e,t){1&e&&(Oa(0,"div"),Ra(1,"img",7),Fa())}function uN(e,t){1&e&&(Oa(0,"div"),Ra(1,"img",8),Fa())}let mN=(()=>{class e{constructor(){}ngOnInit(){}ngAfterViewInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ut({type:e,selectors:[["app-show-make-image"]],inputs:{brand:"brand"},decls:8,vars:8,consts:[[4,"ngIf"],["src","assets/images/brands/hyundai.png",2,"max-width","80px"],["src","assets/images/brands/mercedes-corona.jpg",2,"max-width","80px"],["src","assets/images/brands/Renault_2009_logo.svg",2,"max-width","80px"],["src","assets/images/brands/chevrolet.png",2,"max-width","80px"],["src","assets/images/brands/audi-logo-2018.jpg",2,"max-width","80px"],["src","assets/images/brands/Alfa_Romeo_2015.png",2,"max-width","80px"],["src","assets/images/brands/Acura-logo.png",2,"max-width","80px"],["src","assets/images/brands/fiat-logo.png",2,"max-width","80px"]],template:function(e,t){1&e&&(Ta(0,rN,2,0,"div",0),Ta(1,aN,2,0,"div",0),Ta(2,oN,2,0,"div",0),Ta(3,lN,2,0,"div",0),Ta(4,cN,2,0,"div",0),Ta(5,dN,2,0,"div",0),Ta(6,hN,2,0,"div",0),Ta(7,uN,2,0,"div",0)),2&e&&(Pa("ngIf","hyundai"===(null==t.brand?null:t.brand.toLowerCase())),Cs(1),Pa("ngIf","mercedes-benz"===(null==t.brand?null:t.brand.toLowerCase())),Cs(1),Pa("ngIf","renault"===(null==t.brand?null:t.brand.toLowerCase())),Cs(1),Pa("ngIf","chevrolet"===(null==t.brand?null:t.brand.toLowerCase())),Cs(1),Pa("ngIf","audi"===(null==t.brand?null:t.brand.toLowerCase())),Cs(1),Pa("ngIf","alfa romeo"===(null==t.brand?null:t.brand.toLowerCase())),Cs(1),Pa("ngIf","acura"===(null==t.brand?null:t.brand.toLowerCase())),Cs(1),Pa("ngIf","fiat"===(null==t.brand?null:t.brand.toLowerCase())))},directives:[$d],styles:["div[_ngcontent-%COMP%]{padding-top:7px}"]}),e})();var pN=function(e){return e[e.Edit=0]="Edit",e[e.Show=1]="Show",e[e.Create=2]="Create",e}({});function fN(e,t){1&e&&(Oa(0,"div",9),Oa(1,"div",10),Ra(2,"mat-spinner",11),Fa(),Fa())}function gN(e,t){1&e&&(Oa(0,"mat-icon",12),vo(1,"verified "),Fa())}function _N(e,t){1&e&&(Oa(0,"mat-icon",13),vo(1,"notification_important "),Fa())}function yN(e,t){1&e&&(Oa(0,"mat-icon",14),vo(1,"close"),Fa())}function bN(e,t){if(1&e){const e=Va();Oa(0,"button",15),Wa("click",(function(){ii(e);const t=Ka(2);return t.onEditProfileClick(t.profileType,t.CRUDActions.Edit)})),vo(1," Edit Profile "),Fa()}}function vN(e,t){if(1&e){const e=Va();Oa(0,"button",15),Wa("click",(function(){ii(e);const t=Ka(2);return t.onEditProfileClick(t.profileType,t.CRUDActions.Edit)})),vo(1," Edit Profile "),Fa()}}function wN(e,t){if(1&e){const e=Va();Oa(0,"button",16),Wa("click",(function(){ii(e);const t=Ka(2);return t.onEditProfileClick(t.profileType,t.CRUDActions.Create)})),vo(1," Create Profile "),Fa()}}function kN(e,t){if(1&e&&(Oa(0,"div",1),Ta(1,fN,3,0,"div",2),Bl(2,"async"),vo(3),Oa(4,"div",3),Bl(5,"async"),Ta(6,gN,2,0,"mat-icon",4),Ta(7,_N,2,0,"mat-icon",5),Ta(8,yN,2,0,"mat-icon",6),Fa(),Oa(9,"div",3),Bl(10,"async"),Ta(11,bN,2,0,"button",7),Ta(12,vN,2,0,"button",7),Ta(13,wN,2,0,"button",8),Fa(),Fa()),2&e){const e=Ka();Cs(1),Pa("ngIf",zl(2,10,e.sharedDataService.getImageProfileProcessingObservables[e.profileId])),Cs(2),ko(" ",e.title," "),Cs(1),Pa("ngSwitch",zl(5,12,e.sharedDataService.profileStateObservables[e.profileId])),Cs(2),Pa("ngSwitchCase",e.profileState.Created),Cs(1),Pa("ngSwitchCase",e.profileState.NotCreatedImagesFromDispo24Present),Cs(1),Pa("ngSwitchCase",e.profileState.NotCreated),Cs(1),Pa("ngSwitch",zl(10,14,e.sharedDataService.profileStateObservables[e.profileId])),Cs(2),Pa("ngSwitchCase",e.profileState.Created),Cs(1),Pa("ngSwitchCase",e.profileState.NotCreatedImagesFromDispo24Present),Cs(1),Pa("ngSwitchCase",e.profileState.NotCreated)}}let xN=(()=>{class e{constructor(e,t){this.dp24Service=e,this.sharedDataService=t,this.unsubscribe$=new x,this.profileState=Y_,this.CRUDActions=pN,this.createProfile=new Gl,this.editProfile=new Gl,this.factoryCode="",this.colorCode="",this.padCode="",this.dp24VehicleId=""}ngOnInit(){switch(this.profileType){case"ImageProfile":this.profileId=`${this.factoryCode}-${this.padCode}-${this.colorCode}`,this.sharedDataService.setOrChangeProfileState(this.profileId,Y_.NotCreatable),this.dp24Service.getImageProfile(this.factoryCode,this.colorCode,this.padCode).pipe(bu(1)).subscribe(e=>{this.sharedDataService.setOrChangeProfileState(this.profileId,e?Y_.Created:this.dispo24Vehicle.images&&this.dispo24Vehicle.images.length>0?Y_.NotCreatedImagesFromDispo24Present:Y_.NotCreated)},e=>{console.error(e),this.profileNotCreatable=!0});break;case"ColorProfile":this.profileId=""+this.colorCode,this.sharedDataService.setOrChangeProfileState(this.profileId,Y_.NotCreatable),this.dp24Service.getColorProfile(this.colorCode).pipe(bu(1)).subscribe(e=>{this.sharedDataService.setOrChangeProfileState(this.profileId,e?Y_.Created:Y_.NotCreated)},e=>{console.error(e),this.profileNotCreatable=!0});break;case"FeatureProfile":this.profileId=`${this.factoryCode}-${this.padCode}`,this.sharedDataService.setOrChangeProfileState(this.profileId,Y_.NotCreatable),this.dp24Service.getFeatureProfile(this.factoryCode,this.padCode).pipe(bu(1)).subscribe(e=>{this.sharedDataService.setOrChangeProfileState(this.profileId,e?Y_.Created:Y_.NotCreated)},e=>{console.error(e),this.profileNotCreatable=!0})}}onEditProfileClick(e,t){switch(console.log(e,t),e){case"ImageProfile":(t===pN.Create||t===pN.Edit)&&this.editProfile.emit({factoryCode:this.factoryCode,colorCode:this.colorCode,padCode:this.padCode,type:e});break;case"ColorProfile":(t===pN.Create||t===pN.Edit)&&this.editProfile.emit({colorCode:this.colorCode,type:e});break;case"FeatureProfile":(t===pN.Create||t===pN.Edit)&&this.editProfile.emit({factoryCode:this.factoryCode,padCode:this.padCode,type:e})}}onCreateProfileClick(e){switch(e){case"ImageProfile":this.createProfile.emit({factoryCode:this.factoryCode,colorCode:this.colorCode,padCode:this.padCode,type:e});break;case"ColorProfile":this.createProfile.emit({factoryCode:this.factoryCode,colorCode:this.colorCode,padCode:this.padCode,type:e,make:"test",model:"A3",vehicleClass:"Car"})}}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}}return e.\u0275fac=function(t){return new(t||e)(Ea(ZS),Ea(O_))},e.\u0275cmp=ut({type:e,selectors:[["app-profile-status"]],inputs:{profileType:"profileType",title:"title",dispo24Vehicle:"dispo24Vehicle",factoryCode:"factoryCode",colorCode:"colorCode",padCode:"padCode",dp24VehicleId:"dp24VehicleId"},outputs:{createProfile:"createProfile",editProfile:"editProfile"},decls:1,vars:1,consts:[["class","hm-profile-status","style","position: relative;",4,"ngIf"],[1,"hm-profile-status",2,"position","relative"],["class","profileProcessingOverlay",4,"ngIf"],[3,"ngSwitch"],["class","icon-display","style","color: green;",4,"ngSwitchCase"],["class","icon-display","style","color: orange;",4,"ngSwitchCase"],["class","icon-display","style","color: red;",4,"ngSwitchCase"],["mat-raised-button","",3,"click",4,"ngSwitchCase"],["mat-raised-button","","color","accent",3,"click",4,"ngSwitchCase"],[1,"profileProcessingOverlay"],[1,"centered"],["diameter","18"],[1,"icon-display",2,"color","green"],[1,"icon-display",2,"color","orange"],[1,"icon-display",2,"color","red"],["mat-raised-button","",3,"click"],["mat-raised-button","","color","accent",3,"click"]],template:function(e,t){1&e&&Ta(0,kN,14,16,"div",0),2&e&&Pa("ngIf",!t.profileNotCreatable)},directives:[$d,Jd,Qd,nS,kS,nC],pipes:[rh],styles:[".hm-profile-status[_ngcontent-%COMP%]{min-width:80px;padding:8px;font-weight:lighter;text-align:center;margin:8px 5px 8px 0}mat-icon[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px}.icon-display[_ngcontent-%COMP%]{transform:scale(2)}.profileProcessingOverlay[_ngcontent-%COMP%]{position:absolute;top:0;left:0;background:rgba(0,0,0,.4);text-align:center;height:100%;width:100%;z-index:10;cursor:progress}.centered[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:100%}"]}),e})();const CN=["preloadImagesContainer"];function SN(e,t){1&e&&Ra(0,"mat-spinner")}function MN(e,t){if(1&e&&(Oa(0,"div",16),Ta(1,SN,1,0,"mat-spinner",17),Fa()),2&e){const e=Ka();Cs(1),Pa("ngIf",e.isLoadingResults)}}function DN(e,t){1&e&&(Oa(0,"th",18),vo(1," FoldDetailIcon "),Fa())}function LN(e,t){1&e&&(Oa(0,"mat-icon",22),vo(1," expand_less "),Fa())}function TN(e,t){1&e&&(Oa(0,"mat-icon",23),vo(1," expand_more "),Fa())}function AN(e,t){if(1&e&&(Oa(0,"td",19),Ta(1,LN,2,0,"mat-icon",20),Ta(2,TN,2,0,"mat-icon",21),Fa()),2&e){const e=t.$implicit,i=Ka();Cs(1),Pa("ngIf",i.expandedElement===e),Cs(1),Pa("ngIf",i.expandedElement!==e)}}function EN(e,t){1&e&&(Oa(0,"th",18),vo(1," Bezeichnung "),Fa())}function IN(e,t){if(1&e&&(Oa(0,"td",19),vo(1),Fa()),2&e){const e=t.$implicit;Cs(1),ko(" ",e.modelDescription," ")}}function PN(e,t){1&e&&(Oa(0,"div",25),Oa(1,"div",26),Ra(2,"mat-spinner",27),Fa(),Fa())}function YN(e,t){if(1&e&&(Oa(0,"td",19),Ta(1,PN,3,0,"div",24),Bl(2,"async"),Fa()),2&e){const e=t.$implicit,i=Ka();Cs(1),Pa("ngIf",zl(2,1,i.sharedDataService.getImageProfileProcessingObservables[i.getImageProfileId(e)])&&e!==i.expandedElement)}}function ON(e,t){1&e&&(Oa(0,"th",18),vo(1," traffmic sign "),Fa())}function FN(e,t){if(1&e&&(Oa(0,"td",19),Ra(1,"app-profile-traffic-light",28,29),Fa()),2&e){const e=t.$implicit;Cs(1),Pa("dispo24Vehicle",e)}}function RN(e,t){1&e&&(Oa(0,"th",18),vo(1,"Actions "),Fa())}function NN(e,t){if(1&e){const e=Va();Oa(0,"td",19),Oa(1,"div",30),Oa(2,"button",31),Wa("click",(function(){ii(e);const i=t.$implicit;return Ka().sendDataToMobileDeForm(i)})),vo(3," Mobile.de Inserat > "),Fa(),Fa(),Fa()}}function jN(e,t){if(1&e){const e=Va();Oa(0,"app-profile-status",41),Wa("editProfile",(function(t){ii(e);const i=Ka().$implicit;return Ka().openProfileDialog(t,i.images)})),Fa()}if(2&e){const e=Ka().$implicit;Pa("dp24VehicleId",e.id)("dispo24Vehicle",e)("factoryCode",e.factoryCode)("colorCode",e.colorCode)("padCode",e.interiorCode)}}function HN(e,t){if(1&e){const e=Va();Oa(0,"app-profile-status",42),Wa("editProfile",(function(t){return ii(e),Ka(2).openProfileDialog(t)})),Fa()}if(2&e){const e=Ka().$implicit;Pa("dp24VehicleId",e.id)("dispo24Vehicle",e)("factoryCode",e.factoryCode)("padCode",e.interiorCode)}}function VN(e,t){if(1&e){const e=Va();Oa(0,"app-profile-status",43),Wa("editProfile",(function(t){return ii(e),Ka(2).openProfileDialog(t)})),Fa()}if(2&e){const e=Ka().$implicit;Pa("dp24VehicleId",e.id)("dispo24Vehicle",e)("colorCode",e.colorCode)}}function BN(e,t){if(1&e&&(Oa(0,"td",19),Oa(1,"div",32),Oa(2,"div",33),Oa(3,"div",34),Ra(4,"app-show-make-image",35),Fa(),Fa(),Oa(5,"div",36),Oa(6,"span",37),vo(7," TEST "),Fa(),Fa(),Ta(8,jN,1,5,"app-profile-status",38),Ta(9,HN,1,4,"app-profile-status",39),Ta(10,VN,1,3,"app-profile-status",40),Fa(),Fa()),2&e){const e=t.$implicit,i=Ka();Da("colspan",i.displayedColumns.length),Cs(1),Pa("@detailExpandAnimation",e==i.expandedElement?"expanded":"collapsed"),Cs(3),Pa("brand",e.brand_name),Cs(4),Pa("ngIf",i.isImageProfilePossible(e)),Cs(1),Pa("ngIf",i.isFeatureProfilePossible(e)),Cs(1),Pa("ngIf",i.isColorProfilePossible(e))}}const zN=function(e){return{highlight:e}};function WN(e,t){if(1&e){const e=Va();Oa(0,"tr",44),Wa("click",(function(){ii(e);const i=t.$implicit,n=t.$implicit,s=Ka();return s.expandedElement=s.expandedElement===i?null:i,s.highlightAndSetCar(n)})),Fa()}if(2&e){const e=t.$implicit,i=t.$implicit,n=Ka();oo("expanded-row",n.expandedElement===e),Pa("ngClass",Fl(4,zN,n.selectedRowIndex==i.id))("@rowsAnimation",void 0)}}function UN(e,t){1&e&&Ra(0,"tr",45)}const $N=function(){return["expandedDetail"]};let GN=(()=>{class e{constructor(e,t,i,n,s,r){this.dp24Service=e,this.sharedDataService=t,this.navigationService=i,this.authService=n,this.dialog=s,this.router=r,this.displayedColumns=[],this.selectedRowIndex=-1,this.loading=!0,this.data=[],this.resultsLength=0,this.isLoadingResults=!0}ngOnInit(){this.navigationService.currentNavTitleValue="Dp24 Fahrzeuge",this.user=this.authService.currentUserValue,this.authService.currentUser.pipe(bu(1)).subscribe({next:e=>{this.user=e,(this.user.role<GI.Manager||this.user.role>=GI.Manager)&&(this.displayedColumns=["foldDetailsIcon","bezeichnung","loadingSpinner","trafficSign","actions"])}})}ngAfterViewInit(){this.user=this.authService.currentUserValue,this.paginator.page.pipe(Pu({}),Tu(()=>(this.isLoadingResults=!0,this.dp24Service.getAllCars({position:this.paginator.pageIndex,show:30}))),O(e=>(this.isLoadingResults=!1,this.resultsLength=e.data.count,e.data.items)),gu(()=>(this.isLoadingResults=!1,Uh([])))).subscribe(e=>{this.data=e})}isFeatureProfilePossible(e){return!!(e.factoryCode&&e.factoryCode.length>0&&e.interiorCode&&e.interiorCode.length>0)}isImageProfilePossible(e){return!!(e.factoryCode&&e.factoryCode.length>0&&e.interiorCode&&e.interiorCode.length>0&&e.colorCode&&e.colorCode.length>0)}isColorProfilePossible(e){return!!(e.brandName&&e.brandName.length>0&&e.colorCode&&e.colorCode.length>0)}applyFilter(e){}highlightAndSetCar(e){this.selectedImageProfileId=e.factoryCode&&""!==e.factoryCode&&e.colorCode&&""!==e.colorCode&&e.interiorCode&&""!==e.interiorCode?e.factoryCode+"-"+e.interiorCode+"-"+e.colorCode:void 0,this.selectedFeatureProfileId=e.factoryCode&&""!==e.factoryCode&&e.interiorCode&&""!==e.interiorCode?e.factoryCode+"-"+e.interiorCode:void 0,e.colorCode&&""!==e.colorCode&&(this.selectedColorProfileId=e.colorCode),this.selectedRowIndex=e.id,this.selectedDp24Vehicle=e;const t=[];for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const n=this.dp24Service.mapPropertyAndValueToMobileDeAd(i,e[i]);n&&n.key&&t.push(n)}t.push({key:"vehicleClass",value:"Car"}),this.sharedDataService.changeCar(t)}sendDataToMobileDeForm(e){console.log("send data to mobile.de form"),this.highlightAndSetCar(e),this.router.navigate(["mobile-de/create/ad"],{queryParams:{fromDp24:"true",dispo24VehicleId:e.id,imageProfileId:this.selectedImageProfileId,featureProfileId:this.selectedFeatureProfileId,colorProfileId:this.selectedColorProfileId}})}openProfileDialog(e,t=null){let i;switch(console.log(t),e.type){case"ImageProfile":i=WT;break;case"FeatureProfile":i=ZR;break;case"ColorProfile":i=JR}this.dialog.open(i,{minWidth:"700px",disableClose:!0,data:{dp24Vehicle:this.selectedDp24Vehicle,dp24VehicleClass:"Car",profileType:e.type,factoryCode:e.factoryCode,colorCode:e.colorCode,padCode:e.padCode,images:t}})}getImageProfileId(e){return`${e.factoryCode}-${e.interiorCode}-${e.colorCode}`}}return e.\u0275fac=function(t){return new(t||e)(Ea(ZS),Ea(O_),Ea(P_),Ea(jE),Ea(Wx),Ea(sf))},e.\u0275cmp=ut({type:e,selectors:[["app-show-cars-dp24"]],viewQuery:function(e,t){var i;1&e&&(rc(UR,!0),ac(CN,!0)),2&e&&(sc(i=hc())&&(t.paginator=i.first),sc(i=hc())&&(t.preloadImagesContainer=i.first))},decls:26,vars:7,consts:[[1,"hm_wrapper"],["class","haba-loading-shade",4,"ngIf"],[1,"haba-table-container"],["mat-table","","multiTemplateDataRows","",3,"dataSource"],["matColumnDef","foldDetailsIcon"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","bezeichnung"],["matColumnDef","loadingSpinner"],["matColumnDef","trafficSign"],["matColumnDef","actions"],["matColumnDef","expandedDetail"],["class","dp24VehicleRow","mat-row","","class","element-row",3,"expanded-row","ngClass","click",4,"matRowDef","matRowDefColumns"],["mat-row","","class","detail-row",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize"],["preloadImagesContainer",""],[1,"haba-loading-shade"],[4,"ngIf"],["mat-header-cell",""],["mat-cell",""],["class","foldIndicator","style","color: #fff",4,"ngIf"],["class","foldIndicator",4,"ngIf"],[1,"foldIndicator",2,"color","#fff"],[1,"foldIndicator"],["class","showProfileProcessing",4,"ngIf"],[1,"showProfileProcessing"],[1,"centered"],["diameter","18"],[3,"dispo24Vehicle"],["appProfileTrafficLight",""],["fxFlex","end",2,"text-align","right","margin-top","6px"],["color","accent","mat-raised-button","",3,"click"],[1,"element-detail"],[1,"element-diagram"],[1,"element-position"],[3,"brand"],[1,"element-description"],[1,"element-description-attribution"],["title","Bild-Profil","profileType","ImageProfile",3,"dp24VehicleId","dispo24Vehicle","factoryCode","colorCode","padCode","editProfile",4,"ngIf"],["title","Feature-Profil","profileType","FeatureProfile",3,"dp24VehicleId","dispo24Vehicle","factoryCode","padCode","editProfile",4,"ngIf"],["title","Farb-Profil","profileType","ColorProfile",3,"dp24VehicleId","dispo24Vehicle","colorCode","editProfile",4,"ngIf"],["title","Bild-Profil","profileType","ImageProfile",3,"dp24VehicleId","dispo24Vehicle","factoryCode","colorCode","padCode","editProfile"],["title","Feature-Profil","profileType","FeatureProfile",3,"dp24VehicleId","dispo24Vehicle","factoryCode","padCode","editProfile"],["title","Farb-Profil","profileType","ColorProfile",3,"dp24VehicleId","dispo24Vehicle","colorCode","editProfile"],["mat-row","",1,"element-row",3,"ngClass","click"],["mat-row","",1,"detail-row"]],template:function(e,t){1&e&&(Oa(0,"div",0),Ta(1,MN,2,1,"div",1),Oa(2,"div",2),Oa(3,"table",3),Na(4,4),Ta(5,DN,2,0,"th",5),Ta(6,AN,3,2,"td",6),ja(),Na(7,7),Ta(8,EN,2,0,"th",5),Ta(9,IN,2,1,"td",6),ja(),Na(10,8),Ta(11,YN,3,3,"td",6),ja(),Na(12,9),Ta(13,ON,2,0,"th",5),Ta(14,FN,3,1,"td",6),ja(),Na(15,10),Ta(16,RN,2,0,"th",5),Ta(17,NN,4,0,"td",6),ja(),Na(18,11),Ta(19,BN,11,6,"td",6),ja(),Ta(20,WN,1,6,"tr",12),Ta(21,UN,1,0,"tr",13),Fa(),Ra(22,"mat-paginator",14),Fa(),Fa(),Oa(23,"div",null,15),vo(25,"\xa0"),Fa()),2&e&&(Cs(1),Pa("ngIf",t.isLoadingResults),Cs(2),Pa("dataSource",t.data),Cs(17),Pa("matRowDefColumns",t.displayedColumns),Cs(1),Pa("matRowDefColumns",Ol(6,$N)),Cs(1),Pa("length",t.resultsLength)("pageSize",30))},directives:[$d,mx,bx,_x,fx,Sx,UR,nS,wx,kx,kS,sN,ED,nC,mN,xN,Tx,Bd,gO],pipes:[rh],styles:[".mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}.highlight[_ngcontent-%COMP%]{background:grey}tr.detail-row[_ngcontent-%COMP%]{height:0}.element-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom-width:0}.element-detail[_ngcontent-%COMP%]{overflow:hidden;display:flex}.element-diagram[_ngcontent-%COMP%]{min-width:80px;padding:8px;font-weight:lighter;margin:8px 0;height:104px}.element-symbol[_ngcontent-%COMP%]{font-weight:700;font-size:40px;line-height:normal}.element-description[_ngcontent-%COMP%]{padding:16px}.element-description-attribution[_ngcontent-%COMP%]{opacity:.5}.haba-container[_ngcontent-%COMP%]{position:relative;min-height:200px}.haba-table-container[_ngcontent-%COMP%]{position:relative;overflow:auto}table[_ngcontent-%COMP%]{width:100%}.mat-column-number[_ngcontent-%COMP%], .mat-column-state[_ngcontent-%COMP%]{max-width:64px}.mat-column-created[_ngcontent-%COMP%]{max-width:124px}.foldIndicator[_ngcontent-%COMP%]{font-size:50px;margin-right:25px;color:orange}"],data:{animation:[eN,XR]}}),e})(),qN=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=ut({type:e,selectors:[["app-account"]],decls:19,vars:0,consts:[[1,"hm_wrapper"],["matInput","","type","text","autocomplete","off","formControlName","fullName"],["matInput","","type","text","autocomplete","off","formControlName","email"]],template:function(e,t){1&e&&(Oa(0,"div",0),Oa(1,"form"),Oa(2,"h1"),vo(3,"Your Account"),Fa(),Oa(4,"mat-form-field"),Oa(5,"mat-label"),vo(6,"Full Name"),Fa(),Ra(7,"input",1),Fa(),Oa(8,"mat-form-field"),Oa(9,"mat-label"),vo(10,"Email"),Fa(),Ra(11,"input",2),Fa(),Oa(12,"mat-form-field"),Ra(13,"mat-label"),Ra(14,"input",2),Fa(),Oa(15,"mat-form-field"),Oa(16,"mat-label"),vo(17,"Mobile Seller ID"),Fa(),Ra(18,"input",1),Fa(),Fa(),Fa())},directives:[kI,mI,PI],styles:[""]}),e})();var KN=i("MMod"),JN=i.n(KN);let QN=(()=>{class e extends class{constructor(e){this.config=e,this.subscribersCounter={},this.eventObservables$={},this.emptyConfig={url:"",options:{}},void 0===e&&(e=this.emptyConfig),this.ioSocket=(JN.a?JN.a:KN)(e.url,e.options)}of(e){this.ioSocket.of(e)}on(e,t){this.ioSocket.on(e,t)}once(e,t){this.ioSocket.once(e,t)}connect(){return this.ioSocket.connect()}disconnect(e){return this.ioSocket.disconnect.apply(this.ioSocket,arguments)}emit(e,...t){return this.ioSocket.emit.apply(this.ioSocket,arguments)}removeListener(e,t){return this.ioSocket.removeListener.apply(this.ioSocket,arguments)}removeAllListeners(e){return this.ioSocket.removeAllListeners.apply(this.ioSocket,arguments)}fromEvent(e){return this.subscribersCounter[e]||(this.subscribersCounter[e]=0),this.subscribersCounter[e]++,this.eventObservables$[e]||(this.eventObservables$[e]=new y(t=>{const i=e=>{t.next(e)};return this.ioSocket.on(e,i),()=>{this.subscribersCounter[e]--,0===this.subscribersCounter[e]&&(this.ioSocket.removeListener(e,i),delete this.eventObservables$[e])}}).pipe(X())),this.eventObservables$[e]}fromOneTimeEvent(e){return new Promise(t=>this.once(e,t))}}{constructor(e){super({url:$C.settings.apiServer.socketServer,options:{query:{Authorization:""+e.currentUserValue.token,userId:e.currentUserValue._id}}}),this.authService=e}}return e.\u0275fac=function(t){return new(t||e)(Ge(jE))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),ZN=(()=>{class e{constructor(e){this.socket=e}sendChat(e){this.socket.emit("chat",e)}receiveChat(){return this.socket.fromEvent("chat")}getUsers(){return this.socket.fromEvent("users")}getProcessedProfileImages(){return this.socket.fromEvent("profile-images-processed-for-ad")}}return e.\u0275fac=function(t){return new(t||e)(Ge(QN))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const XN={baseData:{title:"Basisdaten",checkboxes:[],selects:["vehicleClass","vehicleModel","make","category","seats","doors","price"],staticSelects:[{title:"km (ab)",adPropertyKey:"mileage",adPropertyType:"number",optionItems:[]},{title:"km (bis)",adPropertyKey:"mileage",adPropertyType:"number",optionItems:[]},{title:"Status",darmasAdPropertyKey:"status.online"},{title:"Preis (ab)",adPropertyKey:"price.consumerPreisGross",adPropertyType:"number",optionItems:[500,750,1e3,1500,2e3,2500,3e3,4e3,5e3,6e3,7e3,8e3,9e3,1e4,11e3,12e3,13e3,14e3,15e3,17500,2e4,22500,25e3,27500,3e4,35e3,4e4,45e3,5e4,55e3,6e4,7e4,8e4,9e4]},{title:"Preis (bis)",adPropertyKey:"price.consumerPreisGross",adPropertyType:"number",optionItems:[500,750,1e3,1500,2e3,2500,3e3,4e3,5e3,6e3,7e3,8e3,9e3,1e4,11e3,12e3,13e3,14e3,15e3,17500,2e4,22500,25e3,27500,3e4,35e3,4e4,45e3,5e4,55e3,6e4,7e4,8e4,9e4]}]},komfort:{title:"Komfort",checkboxes:["keylessEntry","powerAssistedSteering","auxiliaryHeating","centralLocking","electricWindows","electricExteriorMirrors","electricTailgate","armRest","ambientLighting","dimmingInteriorMirror","cargoBarrier","multifunctionalWheel","leatherSteeringWheel","heatedSteeringWheel"]},seatsAndPads:{title:"Sitze & Polsterung",selects:["interiorType","interiorColor"],checkboxes:["electricHeatedSeats","electricHeatedRearSeats","electricAdjustableSeats","electricBackseatAdjustment","sportSeats","massageSeats","ventilatedSeats","lumbarSupport","foldFlatPassengerSeat"]},exterior:[{title:"Au\xdfenausstattung",selects:["trailerCouplingType","slidingDoorType"],checkboxes:["panoramicGlassRoof","sunroof","roofrails","heatedWindshield","skiBag","metallic"]},{title:"R\xe4der & Fahrwerk",checkboxes:["alloyWheels","performanceHandlingSystem","tirePressureMonitoring","airSuspension","steelWheels","summerTires","winterTires","allSeasonTires"]}],multimedia:{title:"Multimedia",selects:["radio"],checkboxes:["tv","soundSystem","cdPlayer","cdMultichanger","bluetooth","usb","touchscreen","wifiHotspot","carPlay","androidAuto","wirelessCharging","integratedMusicStreaming"]},assistantSystems:{title:"Assistenzsysteme",checkboxes:["navigationSystem","voiceControl","laneDepartureWarning","blindSpotMonitor","hillStartAssist","headUpDisplay","handsFreePhoneSystem","onBoardComputer","nightVisionAssist","fatigueWarningSystem","trafficSignRecognition","distanceWarningSystem","speedLimiter","highBeamAssist","digitalCockpit"],selects:["speedControl","parkingAssistants"]},security:{title:"Sicherheit",selects:["aitbag","headlightType","breakdownService","bendingLightsType"],checkboxes:["tractionControlSystem","fourWheelDrive","automaticRainSensor","immobilizer","startStopSystem","alarmSystem","newHuAu","emergencyCallSystem","isofix","passengerSeatIsofixPoint","frontFogLights","LED Tagfahrlicht","Tagfahrlicht","lightSensor","glareFreeHighBeam","headlightWasherSystem"]}};let ej=(()=>{class e{constructor(e){this.httpClient=e,this.staticPropertiesToFilterSubject=new x,this.staticPropertiesToFilter$=this.staticPropertiesToFilterSubject.asObservable(),this.staticPropertiesToFilterList=new Array,this.filterItems=[],this.sortItems=[]}getValueCountForAllProperties(e=null){let t="data-filter/count/";return e&&(t+=e),this.httpClient.get($C.settings.apiServer.backend+t)}getValueCountForFilteredDocuments(e=null){const t=this.filterItems.concat(this.staticPropertiesToFilterList);let i=!0;return this.staticPropertiesToFilterList.forEach(e=>{"online.status"===e.propertyKey&&(i=e.propertyValue)}),this.httpClient.post(e?$C.settings.apiServer.backend+"data-filter/count/with/filter/store/"+e:$C.settings.apiServer.backend+"data-filter/count/with/filter/",{filterItems:t,statusOnline:i,sortItems:this.sortItems})}orderFilterCountResults(e){const t=XN,i={};return e.forEach(e=>{Object.keys(t).forEach(n=>{const s=t[n];Array.isArray(s)?s.forEach((t,n)=>{this.doOrdering(i,t,e,s[n])}):this.doOrdering(i,s,e)})}),i}addStaticFilterItem(e,t,i="bool"){const n={propertyKey:e,propertyValue:t,propertyType:i};let s=!1;for(var r=this.staticPropertiesToFilterList.length-1;r>=0;r--){const e=this.staticPropertiesToFilterList[r];e.propertyKey===n.propertyKey&&(s=!0,e.propertyValue=n.propertyValue)}s||this.staticPropertiesToFilterList.push(n),console.log("static items: ",this.staticPropertiesToFilterList)}getStaticFilterItems(){return this.staticPropertiesToFilterList}clearStaticFilterItems(){this.staticPropertiesToFilterList=new Array,this.addStaticFilterItem("status.online",!0)}addSortItem(e){this.sortItems=[],this.sortItems.push(e),console.log("sort items: ",this.sortItems)}doOrdering(e,t,i,n=null){e[t.title]||(e[t.title]={},e[t.title].title=t.title,e[t.title].checkboxes=[],e[t.title].selects=[]),"bool"===i.hits[0].adPropertyType?t.checkboxes&&t.checkboxes.indexOf(i.adPropertyKey)>-1&&e[t.title].checkboxes.push(i):t.selects&&t.selects.indexOf(i.adPropertyKey)>-1&&e[t.title].selects.push(i)}}return e.\u0275fac=function(t){return new(t||e)(Ge(AC))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),tj=(()=>{class e{constructor(){this.currentlySelectedStoreSubject=new _g,this.currentStore$=this.currentlySelectedStoreSubject.asObservable()}changeSelectedStore(e){this.currentlySelectedStoreSubject.next(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ij=["*"];class nj{constructor(e){this._elementRef=e}}const sj=Xv(Qv(Zv(nj),"primary"),-1);let rj=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"]}),e})(),aj=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"]}),e})(),oj=(()=>{class e extends sj{constructor(e,t,i,n,s,r,a,o){super(e),this._elementRef=e,this._ngZone=t,this._changeDetectorRef=r,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new x,this._onBlur=new x,this.selectionChange=new Gl,this.destroyed=new Gl,this.removed=new Gl,this._addHostClassName(),this._chipRippleTarget=(o||document).createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new Cw(this,t,this._chipRippleTarget,i),this._chipRipple.setupTriggerEvents(e),this.rippleConfig=n||{},this._animationsDisabled="NoopAnimations"===s,this.tabIndex=null!=a&&parseInt(a)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(e){const t=Df(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(e){this._value=e}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(e){this._selectable=Df(e)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(e){this._disabled=Df(e)}get removable(){return this._removable}set removable(e){this._removable=Df(e)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const e=this._elementRef.nativeElement;e.hasAttribute("mat-basic-chip")||"mat-basic-chip"===e.tagName.toLowerCase()?e.classList.add("mat-basic-chip"):e.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._markForCheck())}toggleSelected(e=!1){return this._selected=!this.selected,this._dispatchSelectionChange(e),this._markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(e){this.disabled?e.preventDefault():e.stopPropagation()}_handleKeydown(e){if(!this.disabled)switch(e.keyCode){case 46:case 8:this.remove(),e.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),e.preventDefault()}}_blur(){this._ngZone.onStable.asObservable().pipe(bu(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(e=!1){this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}_markForCheck(){this._changeDetectorRef&&this._changeDetectorRef.markForCheck()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Rc),Ea(vg),Ea(Sw,8),Ea(Hv,8),Ea(Zr),Ia("tabindex"),Ea(pd,8))},e.\u0275dir=yt({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,i){var n;1&e&&(lc(i,rj,!0),lc(i,aj,!0),lc(i,lj,!0)),2&e&&(sc(n=hc())&&(t.avatar=n.first),sc(n=hc())&&(t.trailingIcon=n.first),sc(n=hc())&&(t.removeIcon=n.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,t){1&e&&Wa("click",(function(e){return t._handleClick(e)}))("keydown",(function(e){return t._handleKeydown(e)}))("focus",(function(){return t.focus()}))("blur",(function(){return t._blur()})),2&e&&(Da("tabindex",t.disabled?null:t.tabIndex)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString())("aria-selected",t.ariaSelected),oo("mat-chip-selected",t.selected)("mat-chip-with-avatar",t.avatar)("mat-chip-with-trailing-icon",t.trailingIcon||t.removeIcon)("mat-chip-disabled",t.disabled)("_mat-animation-noopable",t._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[Lo]}),e})(),lj=(()=>{class e{constructor(e,t){this._parentChip=e,t&&"BUTTON"===t.nativeElement.nodeName&&t.nativeElement.setAttribute("type","button")}_handleClick(e){const t=this._parentChip;t.removable&&!t.disabled&&t.remove(),e.stopPropagation()}}return e.\u0275fac=function(t){return new(t||e)(Ea(oj),Ea(Wo))},e.\u0275dir=yt({type:e,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(e,t){1&e&&Wa("click",(function(e){return t._handleClick(e)}))}}),e})();const cj=new Re("mat-chips-default-options");class dj{constructor(e,t,i,n){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=i,this.ngControl=n}}const hj=ew(dj);let uj=0;class mj{constructor(e,t){this.source=e,this.value=t}}let pj=(()=>{class e extends hj{constructor(e,t,i,n,s,r,a){super(r,n,s,a),this._elementRef=e,this._changeDetectorRef=t,this._dir=i,this.ngControl=a,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new x,this._uid="mat-chip-list-"+uj++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(e,t)=>e===t,this._required=!1,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new Gl,this.valueChange=new Gl,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(e){this._multiple=Df(e),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this.writeValue(e),this._value=e}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required}set required(e){this._required=Df(e),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&0===this.chips.length}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=Df(e),this._syncChipsState()}get selectable(){return this._selectable}set selectable(e){this._selectable=Df(e),this.chips&&this.chips.forEach(e=>e.chipListSelectable=this._selectable)}set tabIndex(e){this._userTabIndex=e,this._tabIndex=e}get chipSelectionChanges(){return U(...this.chips.map(e=>e.selectionChange))}get chipFocusChanges(){return U(...this.chips.map(e=>e._onFocus))}get chipBlurChanges(){return U(...this.chips.map(e=>e._onBlur))}get chipRemoveChanges(){return U(...this.chips.map(e=>e.destroyed))}ngAfterContentInit(){this._keyManager=new Q_(this.chips).withWrap().withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(rg(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.tabOut.pipe(rg(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(Pu(null),rg(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new Yg(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(e){this._chipInput=e}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}writeValue(e){this.chips&&this._setSelectionByValue(e,!1)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this.stateChanges.next()}onContainerClick(e){this._originatesFromChip(e)||this.focus()}focus(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}_focusInput(e){this._chipInput&&this._chipInput.focus(e)}_keydown(e){const t=e.target;8===e.keyCode&&this._isInputEmpty(t)?(this._keyManager.setLastItemActive(),e.preventDefault()):t&&t.classList.contains("mat-chip")&&(36===e.keyCode?(this._keyManager.setFirstItemActive(),e.preventDefault()):35===e.keyCode?(this._keyManager.setLastItemActive(),e.preventDefault()):this._keyManager.onKeydown(e),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(e){return e>=0&&e<this.chips.length}_isInputEmpty(e){return!(!e||"input"!==e.nodeName.toLowerCase()||e.value)}_setSelectionByValue(e,t=!0){if(this._clearSelection(),this.chips.forEach(e=>e.deselect()),Array.isArray(e))e.forEach(e=>this._selectValue(e,t)),this._sortValues();else{const i=this._selectValue(e,t);i&&t&&this._keyManager.setActiveItem(i)}}_selectValue(e,t=!0){const i=this.chips.find(t=>null!=t.value&&this._compareWith(t.value,e));return i&&(t?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(e){this._selectionModel.clear(),this.chips.forEach(t=>{t!==e&&t.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(e=>{e.selected&&this._selectionModel.select(e)}),this.stateChanges.next())}_propagateChanges(e){let t=null;t=Array.isArray(this.selected)?this.selected.map(e=>e.value):this.selected?this.selected.value:e,this._value=t,this.change.emit(new mj(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(e=>{e.source.selected?this._selectionModel.select(e.source):this._selectionModel.deselect(e.source),this.multiple||this.chips.forEach(e=>{!this._selectionModel.isSelected(e)&&e.selected&&e.deselect()}),e.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(e=>{let t=this.chips.toArray().indexOf(e.chip);this._isValidIndex(t)&&this._keyManager.updateActiveItem(t),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(e=>{const t=e.chip,i=this.chips.toArray().indexOf(e.chip);this._isValidIndex(i)&&t._hasFocus&&(this._lastDestroyedChipIndex=i)})}_originatesFromChip(e){let t=e.target;for(;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1}_hasFocusedChip(){return this.chips.some(e=>e._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(e=>{e._chipListDisabled=this._disabled,e._chipListMultiple=this.multiple})}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Zr),Ea(Eg,8),Ea(mE,8),Ea(SE,8),Ea(fw),Ea(fA,10))},e.\u0275cmp=ut({type:e,selectors:[["mat-chip-list"]],contentQueries:function(e,t,i){var n;1&e&&lc(i,oj,!0),2&e&&sc(n=hc())&&(t.chips=n)},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(e,t){1&e&&Wa("focus",(function(){return t.focus()}))("blur",(function(){return t._blur()}))("keydown",(function(e){return t._keydown(e)})),2&e&&(So("id",t._uid),Da("tabindex",t.disabled?null:t._tabIndex)("aria-describedby",t._ariaDescribedby||null)("aria-required",t.role?t.required:null)("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-multiselectable",t.multiple)("role",t.role)("aria-orientation",t.ariaOrientation),oo("mat-chip-list-disabled",t.disabled)("mat-chip-list-invalid",t.errorState)("mat-chip-list-required",t.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[Ho([{provide:cI,useExisting:e}]),Lo],ngContentSelectors:ij,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(e,t){1&e&&(Qa(),Oa(0,"div",0),Za(1),Fa())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),e})();const fj={separatorKeyCodes:[13]};let gj=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[fw,{provide:cj,useValue:fj}]}),e})();function _j(e,t){if(1&e&&(Oa(0,"span"),vo(1),Fa()),2&e){const e=Ka(2).$implicit,t=Ka(4);Cs(1),wo(null==t.filteredPropValCount[e.adPropertyKey].hits[0]?null:t.filteredPropValCount[e.adPropertyKey].hits[0].count)}}function yj(e,t){1&e&&vo(0,"0")}function bj(e,t){if(1&e&&(Na(0),Ta(1,_j,2,1,"span",11),Ta(2,yj,1,0,"ng-template",null,12,fc),vo(4,"/"),ja()),2&e){const e=Aa(3),t=Ka().$implicit,i=Ka(4);Cs(1),Pa("ngIf",i.filteredPropValCount[t.adPropertyKey].adPropertyValuesCount>0)("ngIfElse",e)}}function vj(e,t){if(1&e){const e=Va();Oa(0,"div",9),Oa(1,"mat-checkbox",10),Wa("change",(function(i){ii(e);const n=t.$implicit;return Ka(4).onCheckboxChange(i,n)})),vo(2),Ta(3,bj,5,2,"ng-container",2),vo(4),Fa(),Fa()}if(2&e){const e=t.$implicit,i=Ka(4);Cs(1),Pa("formControlName",e.adPropertyKey)("name",e.adPropertyKey),Cs(1),ko(" ",e.description[0].value," ["),Cs(1),Pa("ngIf",i.filteredPropValCount),Cs(1),ko("",e.hits[0].count,"] ")}}function wj(e,t){if(1&e&&(Oa(0,"div",7),Ta(1,vj,5,5,"div",8),Fa()),2&e){const e=Ka().$implicit;Cs(1),Pa("ngForOf",e.value.checkboxes)}}function kj(e,t){if(1&e&&(Na(0),Oa(1,"span"),vo(2),Fa(),vo(3,"| "),ja()),2&e){const e=Ka().$implicit,t=Ka(4);Cs(2),wo(t.filteredPropValCount[e.adPropertyKey].adPropertyValuesCount)}}function xj(e,t){if(1&e&&(Na(0),vo(1),ja()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.adPropertyValue," ")}}function Cj(e,t){if(1&e&&(Na(0),vo(1),ja()),2&e){const e=Ka(2),t=e.$implicit,i=e.index;Cs(1),ko(" ",null==t.refdata[i]?null:t.refdata[i].description," ")}}function Sj(e,t){if(1&e&&Ta(0,Cj,2,1,"ng-container",11),2&e){const e=Ka(),t=e.$implicit,i=e.index,n=Aa(5);Pa("ngIf",t.refdata&&t.refdata[i]&&"array"!==t.adPropertyType)("ngIfElse",n)}}function Mj(e,t){1&e&&(Oa(0,"span"),vo(1," & "),Fa())}function Dj(e,t){if(1&e&&(Na(0),vo(1),Ta(2,Mj,2,0,"span",2),ja()),2&e){const e=t.$implicit,i=t.index,n=Ka(3),s=n.$implicit,r=n.index;Cs(1),ko(" ",e[0].description," "),Cs(1),Pa("ngIf",s.refdata[r].length>i+1)}}function Lj(e,t){if(1&e&&(Na(0),Ta(1,Dj,3,2,"ng-container",18),ja()),2&e){const e=Ka(2),t=e.$implicit,i=e.index;Cs(1),Pa("ngForOf",t.refdata[i])}}function Tj(e,t){if(1&e&&Ta(0,Lj,2,1,"ng-container",2),2&e){const e=Ka(),t=e.$implicit,i=e.index;Pa("ngIf",t.refdata&&t.refdata[i]&&"array"===t.adPropertyType)}}function Aj(e,t){if(1&e&&(Oa(0,"span"),vo(1),Fa()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.count,"/ ")}}function Ej(e,t){if(1&e&&(Na(0),Ta(1,Aj,2,1,"span",2),ja()),2&e){const e=t.$implicit,i=Ka(2).$implicit;Cs(1),Pa("ngIf",i.adPropertyValue===e.adPropertyValue)}}function Ij(e,t){if(1&e&&(Na(0),Ta(1,Ej,2,1,"ng-container",18),ja()),2&e){const e=Ka(2).$implicit,t=Ka(4);Cs(1),Pa("ngForOf",t.filteredPropValCount[e.adPropertyKey].hits)}}function Pj(e,t){if(1&e&&(Oa(0,"span"),vo(1),Fa()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.count,"/ ")}}function Yj(e,t){if(1&e&&(Na(0),Ta(1,Pj,2,1,"span",2),ja()),2&e){const e=t.$implicit,i=Ka(2).$implicit,n=Ka(5);Cs(1),Pa("ngIf",n.setsAreEqual(i.adPropertyValue,e.adPropertyValue))}}function Oj(e,t){if(1&e&&(Na(0),Ta(1,Yj,2,1,"ng-container",18),ja()),2&e){const e=Ka(2).$implicit,t=Ka(4);Cs(1),Pa("ngForOf",t.filteredPropValCount[e.adPropertyKey].hits)}}function Fj(e,t){if(1&e&&(Oa(0,"mat-option",15),Ta(1,xj,2,1,"ng-container",11),Ta(2,Sj,1,2,"ng-template",null,16,fc),Ta(4,Tj,1,1,"ng-template",null,17,fc),vo(6," ["),Ta(7,Ij,2,1,"ng-container",2),Ta(8,Oj,2,1,"ng-container",2),Na(9),vo(10),ja(),vo(11,"] "),Fa()),2&e){const e=t.$implicit,i=Aa(3),n=Ka().$implicit,s=Ka(4);Pa("value",e.adPropertyValue),Cs(1),Pa("ngIf","vehicleModel"===n.adPropertyKey||"int"===n.hits[0].adPropertyType||"internalNumber"===n.adPropertyKey||"firstRegistration"===n.adPropertyKey)("ngIfElse",i),Cs(6),Pa("ngIf",s.filteredPropValCount&&"array"!==e.adPropertyType),Cs(1),Pa("ngIf",s.filteredPropValCount&&"array"===e.adPropertyType),Cs(2),wo(e.count)}}function Rj(e,t){if(1&e){const e=Va();Oa(0,"div",9),Oa(1,"mat-form-field"),Oa(2,"mat-label"),vo(3),Ta(4,kj,4,1,"ng-container",2),vo(5),Fa(),Oa(6,"mat-select",13),Wa("selectionChange",(function(i){ii(e);const n=t.$implicit;return Ka(4).onSelectionChange(i,n)})),Ta(7,Fj,12,6,"mat-option",14),Fa(),Fa(),Fa()}if(2&e){const e=t.$implicit,i=Ka(4);Cs(3),ko("",null==e.description[0]?null:e.description[0].value," ["),Cs(1),Pa("ngIf",i.filteredPropValCount),Cs(1),ko(" ",e.adPropertyValuesCount,"] "),Cs(1),Pa("formControlName",e.adPropertyKey),Cs(1),Pa("ngForOf",e.hits)}}function Nj(e,t){if(1&e&&(Oa(0,"div",7),Ta(1,Rj,8,5,"div",8),Fa()),2&e){const e=Ka().$implicit;Cs(1),Pa("ngForOf",e.value.selects)}}function jj(e,t){if(1&e&&(Oa(0,"mat-tab",5),Ta(1,wj,2,1,"div",6),Ta(2,Nj,2,1,"div",6),Fa()),2&e){const e=t.$implicit;Pa("label",e.value.title),Cs(1),Pa("ngIf",e.value.checkboxes.length>0),Cs(1),Pa("ngIf",e.value.selects.length>0)}}function Hj(e,t){if(1&e&&(Oa(0,"mat-tab-group",3),Ta(1,jj,3,3,"mat-tab",4),Bl(2,"keyvalue"),Fa()),2&e){const e=Ka();Cs(1),Pa("ngForOf",zl(2,1,e.orderedCountResults))}}function Vj(e,t){if(1&e){const e=Va();Oa(0,"mat-chip",24),Wa("removed",(function(){ii(e);const i=t.$implicit;return Ka(2).removeFilterItem(i)})),vo(1),Oa(2,"mat-icon",23),vo(3,"cancel"),Fa(),Fa()}if(2&e){const e=t.$implicit;Pa("selectable",!1)("removable",!0),Cs(1),xo(" ",e.adPropertyKey,": ",e.adPropertyValue," ")}}function Bj(e,t){if(1&e){const e=Va();Oa(0,"div"),Oa(1,"mat-chip-list",19,20),Ta(3,Vj,4,4,"mat-chip",21),Oa(4,"mat-chip",22),Wa("removed",(function(){return ii(e),Ka().removeAllFilterItems()})),vo(5," Reset Filter "),Oa(6,"mat-icon",23),vo(7,"cancel"),Fa(),Fa(),Fa(),Fa()}if(2&e){const e=Ka();Cs(3),Pa("ngForOf",e.dataFilterService.filterItems),Cs(1),Pa("removable",!0)}}let zj=(()=>{class e{constructor(e,t,i){this.dataFilterService=e,this.fb=t,this.dataFilterSharedService=i,this.orderedCountResults={},this.filteredPropValCount=null,this.filteredDocsArrived=new Gl,this.startLoading=new Gl}ngOnInit(){this.dataForm=new cE({}),this.startLoading.emit(!0);const e=JSON.parse(localStorage.getItem("selectedStore"));this.storeId=null,e&&(this.storeId=e._id),this.dataFilterService.filterItems=[],this.dataFilterService.getValueCountForAllProperties(this.storeId).subscribe(e=>{console.log(e),this.orderedCountResults=this.dataFilterService.orderFilterCountResults(e),this.setupFormgroup(e),this.tabGroup.selectedIndex=2,this.startLoading.emit(!1)})}onSelectionChange(e,t){this.sendFilterDataToServer(e.value,t)}onCheckboxChange(e,t){this.sendFilterDataToServer(e.checked,t)}removeFilterItem(e){const t=this.dataFilterService.filterItems.indexOf(e);this.dataFilterService.filterItems.splice(t,1),this.dataForm.get(e.adPropertyKey).reset(),this.sendFilterDataToServer(null,null,!0)}removeAllFilterItems(e=null){this.dataFilterService.filterItems=[],e?this.sendFilterDataToServer(null,null,!0,e):this.sendFilterDataToServer(null,null,!0),this.dataForm.reset()}setupFormgroup(e){e.forEach(e=>{this.dataForm.addControl(e.adPropertyKey,new lE(""))})}sendFilterDataToServer(e,t,i=!1,n=null){if(!i){const i=this.createFilterItem(e,t);this.addFilterItem(i),console.log("filterItems: ",this.dataFilterService.filterItems)}let s=null;n&&(s=n._id),console.log("Store ID:: ",s),this.startLoading.emit(!0),this.dataFilterService.getValueCountForFilteredDocuments(this.storeId).pipe(bu(1)).subscribe(e=>{console.log("value count filter docs arrived: "),console.log(e),this.filteredDocsArrived.emit(e[0].filteredDocuments),this.dataFilterService.filterItems.length>0?(console.log("filteredPropValCount: ",e[0].filteredPropValCount),this.filteredPropValCount=e[0].filteredPropValCount):this.filteredPropValCount=null})}createFilterItem(e,t){return{adPropertyKey:t.adPropertyKey,adPropertyType:t.hits[0].adPropertyType,adPropertyValue:e}}addFilterItem(e){let t=!0,i=0,n=-1;this.dataFilterService.filterItems.forEach(s=>{s.adPropertyKey===e.adPropertyKey&&(t=!1,""===e.adPropertyValue||!1===e.adPropertyValue?n=i:s.adPropertyValue=e.adPropertyValue),i++}),t&&this.dataFilterService.filterItems.push(e),n>-1&&this.dataFilterService.filterItems.splice(n,1)}setsAreEqual(e,t){return mO.arrayEquals(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Ea(ej),Ea(FE),Ea(tj))},e.\u0275cmp=ut({type:e,selectors:[["app-data-filter"]],viewQuery:function(e,t){var i;1&e&&ac(xk,!0),2&e&&sc(i=hc())&&(t.tabGroup=i.first)},outputs:{filteredDocsArrived:"filteredDocsArrived",startLoading:"startLoading"},decls:3,vars:3,consts:[[1,"filter-wrapper",2,"margin-left","10px","margin-right","10px","overflow","hidden",3,"formGroup"],["animationDuration","500ms",4,"ngIf"],[4,"ngIf"],["animationDuration","500ms"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["fxLayout","row wrap","fxLayout.xs","column wrap",4,"ngIf"],["fxLayout","row wrap","fxLayout.xs","column wrap"],["class","filter-form-item",4,"ngFor","ngForOf"],[1,"filter-form-item"],[3,"formControlName","name","change"],[4,"ngIf","ngIfElse"],["adPropertyValuesCount0Template",""],[3,"formControlName","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["refdataTemplate",""],["refdataArrayTemplate",""],[4,"ngFor","ngForOf"],["aria-label","Gesetzte Filter","fyLaxout","row wrap"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],[3,"removable","removed"],["matChipRemove",""],[3,"selectable","removable","removed"]],template:function(e,t){1&e&&(Oa(0,"div",0),Ta(1,Hj,3,3,"mat-tab-group",1),Ta(2,Bj,8,2,"div",2),Fa()),2&e&&(Pa("formGroup",t.dataForm),Cs(1),Pa("ngIf",t.orderedCountResults),Cs(1),Pa("ngIf",t.dataFilterService.filterItems.length>0))},directives:[yA,SE,$d,xk,Wd,uk,uD,oP,_A,IE,kI,mI,LP,Nw,pj,oj,kS,lj],pipes:[ah],styles:[".filter-wrapper[_ngcontent-%COMP%]{overflow:hidden}.mat-tab-body[_ngcontent-%COMP%]{margin-left:10px!important;margin-right:10px!important}.filter-form-item[_ngcontent-%COMP%], .mat-form-field[_ngcontent-%COMP%]{margin-left:5px;margin-right:5px;width:225px}"]}),e})();var Wj=function(e){return e[e.DESCENDING=-1]="DESCENDING",e[e.ASCENDING=1]="ASCENDING",e}({});const Uj=["storeSelect"];function $j(e,t){if(1&e){const e=Va();Oa(0,"mat-form-field",5),Oa(1,"mat-label"),vo(2,"Suche"),Fa(),Oa(3,"input",10),Wa("keydown.enter",(function(t){return ii(e),Ka().search(t)})),Fa(),Oa(4,"mat-icon",11),vo(5,"search"),Fa(),Fa()}}function Gj(e,t){if(1&e&&(Oa(0,"mat-option",12),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e),Cs(1),ko(" ",e.alias," ")}}function qj(e,t){if(1&e&&(Oa(0,"mat-option",12),vo(1),Fa()),2&e){const e=t.$implicit;Pa("value",e),Cs(1),ko(" ",e.title," ")}}function Kj(e,t){if(1&e){const e=Va();Oa(0,"mat-form-field",5),Oa(1,"mat-label"),vo(2,"Sortierung"),Fa(),Oa(3,"mat-select",13,14),Wa("selectionChange",(function(t){return ii(e),Ka().sortChange(t)})),Ta(5,qj,2,2,"mat-option",8),Fa(),Fa()}if(2&e){const e=Ka();Cs(5),Pa("ngForOf",e.sortItems)}}const Jj=function(e,t){return{"haba-offline":e,"haba-online":t}};function Qj(e,t){if(1&e){const e=Va();Oa(0,"mat-form-field"),Oa(1,"mat-label"),vo(2,"Status"),Fa(),Oa(3,"mat-select",15,16),Wa("selectionChange",(function(t){return ii(e),Ka().stateChange(t)})),Oa(5,"mat-option",17),vo(6," Online "),Fa(),Oa(7,"mat-option",18),vo(8," Offline "),Fa(),Fa(),Fa()}if(2&e){const e=Aa(4);Cs(3),Pa("ngClass",Rl(4,Jj,!e.value,e.value))("value",!0),Cs(2),Pa("value",!0),Cs(2),Pa("value",!1)}}let Zj=(()=>{class e{constructor(e,t,i,n){this.dataFilterService=e,this.authService=t,this.mobileDeService=i,this.dataFilterSharedService=n,this.darmasAdsLength=0,this.filteredDocsArrived=new Gl,this.startLoading=new Gl,this.withDataFilterIntegration=!0,this.dataType="darmas-ads",this.withStatusControl=!0,this.withSortOrderControl=!0,this.withTextSearchControl=!0,this.sortItems=[{title:"Update, absteigend",adProperty:"modificationDate",sortOrder:Wj.DESCENDING},{title:"Update, aufsteigend",adProperty:"modificationDate",sortOrder:Wj.ASCENDING},{title:"Preis, absteigend",adProperty:"price.consumerPriceGross",sortOrder:Wj.DESCENDING},{title:"Preis, aufsteigend",adProperty:"price.consumerPriceGross",sortOrder:Wj.ASCENDING}],this.dataForm=new cE({sort:new lE(this.sortItems[0]),status:new lE(!0),store:new lE(""),search:new lE("")})}ngOnInit(){this.withDataFilterIntegration&&this.dataFilterService.addStaticFilterItem("status.online",!0),this.dataFilterService.addSortItem(this.sortItems[0]),this.authService.getStores().pipe(bu(1)).subscribe(e=>{this.stores=e;const t=JSON.parse(localStorage.getItem("selectedStore"));console.log("selected store: ",t);let i=null;i=t?t._id:this.authService.currentUserValue.storeId;for(const n of this.stores)n._id===i&&this.dataForm.get("store").patchValue(n)}),this.authService.currentUserValue.role<GI.OrganizationAdmin&&(console.log(this.dataForm.get("store")),console.log(this.authService.currentUserValue.role),this.dataForm.get("store").disable())}stateChange(e){console.log("state change event: ",e),this.dataFilterService.addStaticFilterItem("status.online",e.value),this.startLoading.emit(!0),this.sendFilterDataToServer()}storeChange(e){window.localStorage.setItem("selectedStore",JSON.stringify(e.value)),window.location.reload()}sortChange(e){"darmas-ads"===this.dataType&&(this.dataFilterService.addSortItem(e.value),console.log("SORT ITEM:: ",e.value),this.startLoading.emit(!0),this.sendFilterDataToServer())}search(e){const t=this.dataForm.get("search").value;this.dataFilterService.addStaticFilterItem("static.search",t,"string"),this.startLoading.emit(!0),this.sendFilterDataToServer()}sendFilterDataToServer(){let e=null;this.authService.currentUserValue.role>=GI.OrganizationAdmin&&(e=this.dataForm.get("store").value._id),console.log("STOREID:: ",e),"darmas-ads"===this.dataType&&this.dataFilterService.getValueCountForFilteredDocuments(e).pipe(bu(1)).subscribe(e=>{console.log("value count filter docs arrived: "),console.log(e),this.filteredDocsArrived.emit(e[0].filteredDocuments),this.startLoading.emit(!1)})}}return e.\u0275fac=function(t){return new(t||e)(Ea(ej),Ea(jE),Ea(BE),Ea(tj))},e.\u0275cmp=ut({type:e,selectors:[["app-data-options-bar"]],viewQuery:function(e,t){var i;1&e&&ac(Uj,!0),2&e&&sc(i=hc())&&(t.storeSelect=i.first)},inputs:{darmasAdsLength:"darmasAdsLength",withDataFilterIntegration:"withDataFilterIntegration",dataType:"dataType",withStatusControl:"withStatusControl",withSortOrderControl:"withSortOrderControl",withTextSearchControl:"withTextSearchControl"},outputs:{filteredDocsArrived:"filteredDocsArrived",startLoading:"startLoading"},decls:15,vars:6,consts:[["fxLayout","row","fxLayoutAlign","space-between",1,"darmasAdsInfos",3,"formGroup"],[2,"margin-top","10px"],[2,"font-size","smaller","color","#bbb"],[1,"formFieldWrapper"],["style","margin-right: 10px",4,"ngIf"],[2,"margin-right","10px"],["formControlName","store",3,"selectionChange"],["storeSelect",""],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["matInput","","type","text","autocomplete","off","formControlName","search",2,"color","#fff",3,"keydown.enter"],["matSuffix",""],[3,"value"],["formControlName","sort",3,"selectionChange"],["sortSelect",""],["formControlName","status",3,"ngClass","value","selectionChange"],["statusSelect",""],[2,"background","green",3,"value"],[2,"background","red",3,"value"]],template:function(e,t){1&e&&(Oa(0,"div",0),Oa(1,"span",1),Oa(2,"span",2),vo(3,"Inserate gesamt"),Fa(),vo(4),Fa(),Oa(5,"span",3),Ta(6,$j,6,0,"mat-form-field",4),Oa(7,"mat-form-field",5),Oa(8,"mat-label"),vo(9,"Filiale"),Fa(),Oa(10,"mat-select",6,7),Wa("selectionChange",(function(e){return t.storeChange(e)})),Ta(12,Gj,2,2,"mat-option",8),Fa(),Fa(),Ta(13,Kj,6,1,"mat-form-field",4),Ta(14,Qj,9,7,"mat-form-field",9),Fa(),Fa()),2&e&&(Pa("formGroup",t.dataForm),Cs(4),ko(" ",t.darmasAdsLength," "),Cs(2),Pa("ngIf",t.withTextSearchControl),Cs(6),Pa("ngForOf",t.stores),Cs(1),Pa("ngIf",t.withSortOrderControl),Cs(1),Pa("ngIf",t.withStatusControl))},directives:[uD,qD,yA,SE,$d,kI,mI,LP,_A,IE,Wd,PI,dA,kS,gI,Nw,Bd,gO],styles:[".darmasAdsInfos[_ngcontent-%COMP%]{width:100%;padding:10px;color:orange;height:47px;background:#616161;margin-top:19px;position:relative}.formFieldWrapper[_ngcontent-%COMP%]{position:absolute;right:0;margin-right:10px;bottom:-12px}.haba-offline[_ngcontent-%COMP%]{background:red}.haba-online[_ngcontent-%COMP%]{background:green}.haba-unset[_ngcontent-%COMP%]{background:initial}"]}),e})();const Xj=["mat-menu-item",""],eH=["*"];function tH(e,t){if(1&e){const e=Va();Oa(0,"div",0),Wa("keydown",(function(t){return ii(e),Ka()._handleKeydown(t)}))("click",(function(){return ii(e),Ka().closed.emit("click")}))("@transformMenu.start",(function(t){return ii(e),Ka()._onAnimationStart(t)}))("@transformMenu.done",(function(t){return ii(e),Ka()._onAnimationDone(t)})),Oa(1,"div",1),Za(2),Fa(),Fa()}if(2&e){const e=Ka();Pa("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Da("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const iH={transformMenu:yy("transformMenu",[xy("void",ky({opacity:0,transform:"scale(0.8)"})),Sy("void => enter",vy([Dy(".mat-menu-content, .mat-mdc-menu-content",by("100ms linear",ky({opacity:1}))),by("120ms cubic-bezier(0, 0, 0.2, 1)",ky({transform:"scale(1)"}))])),Sy("* => void",by("100ms 25ms linear",ky({opacity:0})))]),fadeInItems:yy("fadeInItems",[xy("showing",ky({opacity:1})),Sy("void => *",[ky({opacity:0}),by("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let nH=(()=>{class e{constructor(e,t,i,n,s,r,a){this._template=e,this._componentFactoryResolver=t,this._appRef=i,this._injector=n,this._viewContainerRef=s,this._document=r,this._changeDetectorRef=a,this._attached=new x}attach(e={}){this._portal||(this._portal=new Wg(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new Gg(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const t=this._template.elementRef.nativeElement;t.parentNode.insertBefore(this._outlet.outletElement,t),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,e),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return e.\u0275fac=function(t){return new(t||e)(Ea(pl),Ea(zo),Ea(id),Ea(fa),Ea(gl),Ea(pd),Ea(Zr))},e.\u0275dir=yt({type:e,selectors:[["ng-template","matMenuContent",""]]}),e})();const sH=new Re("MAT_MENU_PANEL");class rH{}const aH=Zv(Jv(rH));let oH=(()=>{class e extends aH{constructor(e,t,i,n){super(),this._elementRef=e,this._focusMonitor=i,this._parentMenu=n,this.role="menuitem",this._hovered=new x,this._focused=new x,this._highlighted=!1,this._triggersSubmenu=!1,i&&i.monitor(this._elementRef,!1),n&&n.addItem&&n.addItem(this),this._document=t}focus(e="program",t){this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}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(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement,t=this._document?this._document.TEXT_NODE:3;let i="";if(e.childNodes){const n=e.childNodes.length;for(let s=0;s<n;s++)e.childNodes[s].nodeType===t&&(i+=e.childNodes[s].textContent)}return i.trim()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(pd),Ea(hy),Ea(sH,8))},e.\u0275cmp=ut({type:e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(e,t){1&e&&Wa("click",(function(e){return t._checkDisabled(e)}))("mouseenter",(function(){return t._handleMouseEnter()})),2&e&&(Da("role",t.role)("tabindex",t._getTabIndex())("aria-disabled",t.disabled.toString())("disabled",t.disabled||null),oo("mat-menu-item",!0)("mat-menu-item-highlighted",t._highlighted)("mat-menu-item-submenu-trigger",t._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[Lo],attrs:Xj,ngContentSelectors:eH,decls:2,vars:2,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"]],template:function(e,t){1&e&&(Qa(),Za(0),Ra(1,"div",0)),2&e&&(Cs(1),Pa("matRippleDisabled",t.disableRipple||t.disabled)("matRippleTrigger",t._getHostElement()))},directives:[Mw],encapsulation:2,changeDetection:0}),e})();const lH=new Re("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let cH=0,dH=(()=>{class e{constructor(e,t,i){this._elementRef=e,this._ngZone=t,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Kl,this._tabSubscription=h.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new x,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new Gl,this.close=this.closed,this.panelId="mat-menu-panel-"+cH++}get xPosition(){return this._xPosition}set xPosition(e){"before"!==e&&"after"!==e&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: <mat-menu xPosition="before" #menu="matMenu"></mat-menu>')}(),this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){"above"!==e&&"below"!==e&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: <mat-menu yPosition="above" #menu="matMenu"></mat-menu>')}(),this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=Df(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=Df(e)}set panelClass(e){const t=this._previousPanelClass;t&&t.length&&t.split(" ").forEach(e=>{this._classList[e]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(e=>{this._classList[e]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Q_(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Pu(this._directDescendantItems),Tu(e=>U(...e.map(e=>e._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e))}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Pu(this._directDescendantItems),Tu(e=>U(...e.map(e=>e._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const t=e.keyCode,i=this._keyManager;switch(t){case 27:e_(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case 36:case 35:e_(e)||(36===t?i.setFirstItemActive():i.setLastItemActive(),e.preventDefault());break;default:38!==t&&40!==t||i.setFocusOrigin("keyboard"),i.onKeydown(e)}}focusFirstItem(e="program"){this.lazyContent?this._ngZone.onStable.asObservable().pipe(bu(1)).subscribe(()=>this._focusFirstItem(e)):this._focusFirstItem(e)}_focusFirstItem(e){const t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length){let e=this._directDescendantItems.first._getHostElement().parentElement;for(;e;){if("menu"===e.getAttribute("role")){e.focus();break}e=e.parentElement}}}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const t="mat-elevation-z"+Math.min(4+e,24),i=Object.keys(this._classList).find(e=>e.startsWith("mat-elevation-z"));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[t]=!0,this._previousElevation=t)}setPositionClasses(e=this.xPosition,t=this.yPosition){const i=this._classList;i["mat-menu-before"]="before"===e,i["mat-menu-after"]="after"===e,i["mat-menu-above"]="above"===t,i["mat-menu-below"]="below"===t}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Pu(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(e=>e._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Rc),Ea(lH))},e.\u0275dir=yt({type:e,contentQueries:function(e,t,i){var n;1&e&&(lc(i,nH,!0),lc(i,oH,!0),lc(i,oH,!1)),2&e&&(sc(n=hc())&&(t.lazyContent=n.first),sc(n=hc())&&(t._allItems=n),sc(n=hc())&&(t.items=n))},viewQuery:function(e,t){var i;1&e&&ac(pl,!0),2&e&&sc(i=hc())&&(t.templateRef=i.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"}}),e})(),hH=(()=>{class e extends dH{}return e.\u0275fac=function(t){return uH(t||e)},e.\u0275dir=yt({type:e,features:[Lo]}),e})();const uH=fn(hH);let mH=(()=>{class e extends hH{constructor(e,t,i){super(e,t,i)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Rc),Ea(lH))},e.\u0275cmp=ut({type:e,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[Ho([{provide:sH,useExisting:hH},{provide:hH,useExisting:e}]),Lo],ngContentSelectors:eH,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(Qa(),Ta(0,tH,3,6,"ng-template"))},directives:[Bd],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:[iH.transformMenu,iH.fadeInItems]},changeDetection:0}),e})();const pH=new Re("mat-menu-scroll-strategy"),fH={provide:pH,deps:[M_],useFactory:function(e){return()=>e.scrollStrategies.reposition()}},gH=Dg({passive:!0});let _H=(()=>{class e{constructor(e,t,i,n,s,r,a,o){this._overlay=e,this._element=t,this._viewContainerRef=i,this._parentMenu=s,this._menuItemInstance=r,this._dir=a,this._focusMonitor=o,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=h.EMPTY,this._hoverSubscription=h.EMPTY,this._menuCloseSubscription=h.EMPTY,this._handleTouchStart=()=>this._openedBy="touch",this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new Gl,this.onMenuOpen=this.menuOpened,this.menuClosed=new Gl,this.onMenuClose=this.menuClosed,t.nativeElement.addEventListener("touchstart",this._handleTouchStart,gH),r&&(r._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=n}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.asObservable().subscribe(e=>{this._destroyMenu(),"click"!==e&&"tab"!==e||!this._parentMenu||this._parentMenu.closed.emit(e)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,gH),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._parentMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),t=e.getConfig();this._setPosition(t.positionStrategy),t.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof hH&&this.menu._startAnimation()}closeMenu(){this.menu.close.emit()}focus(e="program",t){this._focusMonitor?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}_destroyMenu(){if(!this._overlayRef||!this.menuOpen)return;const e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),e instanceof hH?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(iu(e=>"void"===e.toState),bu(1),rg(e.lazyContent._attached)).subscribe({next:()=>e.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}_setMenuElevation(){if(this.menu.setElevation){let e=0,t=this.menu.parentMenu;for(;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}_restoreFocus(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}_checkMenu(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n <mat-menu #menu="matMenu"></mat-menu>\n <button [matMenuTriggerFor]="menu"></button>')}()}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new c_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(e=>{this.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}_setPosition(e){let[t,i]="before"===this.menu.xPosition?["end","start"]:["start","end"],[n,s]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[r,a]=[n,s],[o,l]=[t,i],c=0;this.triggersSubmenu()?(l=t="before"===this.menu.xPosition?"start":"end",i=o="end"===t?"start":"end",c="bottom"===n?8:-8):this.menu.overlapTrigger||(r="top"===n?"bottom":"top",a="top"===s?"bottom":"top"),e.withPositions([{originX:t,originY:r,overlayX:o,overlayY:n,offsetY:c},{originX:i,originY:r,overlayX:l,overlayY:n,offsetY:c},{originX:t,originY:a,overlayX:o,overlayY:s,offsetY:-c},{originX:i,originY:a,overlayX:l,overlayY:s,offsetY:-c}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),t=this._overlayRef.detachments();return U(e,this._parentMenu?this._parentMenu.closed:Uh(),this._parentMenu?this._parentMenu._hovered().pipe(iu(e=>e!==this._menuItemInstance),iu(()=>this._menuOpen)):Uh(),t)}_handleMousedown(e){ly(e)||(this._openedBy=0===e.button?"mouse":null,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const t=e.keyCode;this.triggersSubmenu()&&(39===t&&"ltr"===this.dir||37===t&&"rtl"===this.dir)&&this.openMenu()}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(iu(e=>e===this._menuItemInstance&&!e.disabled),cO(0,qf)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof hH&&this.menu._isAnimating?this.menu._animationDone.pipe(bu(1),cO(0,qf),rg(this._parentMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new Wg(this.menu.templateRef,this._viewContainerRef)),this._portal}}return e.\u0275fac=function(t){return new(t||e)(Ea(M_),Ea(Wo),Ea(gl),Ea(pH),Ea(hH,8),Ea(oH,10),Ea(Eg,8),Ea(hy))},e.\u0275dir=yt({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&Wa("mousedown",(function(e){return t._handleMousedown(e)}))("keydown",(function(e){return t._handleKeydown(e)}))("click",(function(e){return t._handleClick(e)})),2&e&&Da("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.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"]}),e})(),yH=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[fH],imports:[Kv]}),e})(),bH=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[fH],imports:[[ch,Kv,Dw,I_,yH],jg,Kv,yH]}),e})();var vH=function(e){return e.BLACK="black",e.GREY="grey",e.BEIGE="#ddd",e.BROWN="brown",e.RED="red",e.GREEN="green",e.BLUE="blue",e.PURPLE="purple",e.GOLD="gold",e.WHITE="white",e.ORANGE="orange",e.SILVER="#ccc",e.YELLOW="yellow",e}({});function wH(e,t){1&e&&Ra(0,"app-buffering")}function kH(e,t){1&e&&(Oa(0,"th",13),vo(1," Bez "),Fa())}function xH(e,t){if(1&e&&(Oa(0,"td",14),Ra(1,"app-show-make-image",15),Fa()),2&e){const e=t.$implicit;Cs(1),Pa("brand",e.make)}}function CH(e,t){1&e&&(Oa(0,"th",13),vo(1," Model Beschreibung "),Fa())}function SH(e,t){if(1&e&&(Na(0),Oa(1,"span",20),vo(2,"Update"),Fa(),vo(3),ja()),2&e){const e=Ka().$implicit,t=Ka(2);Cs(3),ko(" ",t.getDateFormatForISOString(e.modificationDate)," ")}}function MH(e,t){if(1&e&&(Na(0),vo(1),ja()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.doors,"-T\xfcrer ")}}function DH(e,t){if(1&e&&(Na(0),vo(1),ja()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.manufacturerColorName," ")}}function LH(e,t){if(1&e&&(Na(0),vo(1),ja()),2&e){const e=Ka().$implicit;Cs(1),ko(" (",e.exteriorColor,") ")}}function TH(e,t){if(1&e&&(Oa(0,"div",25),vo(1),Fa()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.gearboxes,"-Gang ")}}function AH(e,t){if(1&e&&(Oa(0,"div",25),vo(1),Fa()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.fuel," ")}}function EH(e,t){if(1&e&&(Oa(0,"div",25),vo(1),Fa()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.seats,"-Sitzer ")}}function IH(e,t){if(1&e&&(Oa(0,"div",25),vo(1),Fa()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.power,"kW ")}}function PH(e,t){1&e&&(Oa(0,"mat-icon"),vo(1,"expand_more"),Fa())}function YH(e,t){1&e&&(Oa(0,"mat-icon"),vo(1,"expand_less"),Fa())}function OH(e,t){if(1&e){const e=Va();Oa(0,"div"),Oa(1,"button",33),Wa("click",(function(){ii(e);const t=Ka().$implicit,i=Ka(2);return i.expandedElement=i.expandedElement===t?null:t})),Ta(2,PH,2,0,"mat-icon",1),Ta(3,YH,2,0,"mat-icon",1),vo(4," Bilder "),Fa(),Fa()}if(2&e){const e=Ka(3);Cs(2),Pa("ngIf",!e.expandedElement),Cs(1),Pa("ngIf",e.expandedElement)}}function FH(e,t){1&e&&vo(0," Keine Bilder vorhanden ")}function RH(e,t){if(1&e){const e=Va();Oa(0,"td",14),Oa(1,"div",16),Oa(2,"div",17),Oa(3,"div",18),vo(4),Fa(),Oa(5,"div",19),Oa(6,"span",20),vo(7,"Erstellt"),Fa(),vo(8),Ta(9,SH,4,1,"ng-container",1),Oa(10,"span",20),vo(11,"Auftragsnr."),Fa(),vo(12),Fa(),Fa(),Oa(13,"div"),Oa(14,"button",21),Wa("click",(function(){ii(e);const i=t.$implicit;return Ka(2).editMobileDeAd(i)})),Oa(15,"mat-icon"),vo(16,"edit"),Fa(),Fa(),Oa(17,"button",21),Wa("click",(function(){ii(e);const i=t.$implicit;return Ka(2).deleteAdFromMobileDe(i.mobileAdId)})),Oa(18,"mat-icon"),vo(19,"delete"),Fa(),Fa(),Fa(),Fa(),Oa(20,"div",22),vo(21),Fa(),Oa(22,"div",23),Oa(23,"div",24),Oa(24,"mat-icon"),vo(25,"check"),Fa(),vo(26,"online "),Fa(),Oa(27,"div",25),vo(28),Ta(29,MH,2,1,"ng-container",1),Fa(),Oa(30,"div",25),Ta(31,DH,2,1,"ng-container",1),Ta(32,LH,2,1,"ng-container",1),Fa(),Ta(33,TH,2,1,"div",26),Ta(34,AH,2,1,"div",26),Ta(35,EH,2,1,"div",26),Ta(36,IH,2,1,"div",26),Fa(),Oa(37,"div",16),Ta(38,OH,5,2,"div",27),Ta(39,FH,1,0,"ng-template",null,28,fc),Oa(41,"div",29),Oa(42,"div",30),vo(43),Bl(44,"currency"),Fa(),Oa(45,"div",31),vo(46," Verkaufspreis"),Ra(47,"br"),Oa(48,"span",32),vo(49," inkl. 19% Mwst "),Fa(),Fa(),Fa(),Fa(),Fa()}if(2&e){const e=t.$implicit,i=Aa(40),n=Ka(2);Cs(4),ko(" ",e.modelDescription," "),Cs(4),ko(" ",n.getDateFormatForISOString(e.creationDate)," "),Cs(1),Pa("ngIf",n.getDateFormatForISOString(e.creationDate)!==n.getDateFormatForISOString(e.modificationDate)),Cs(3),ko(" ",e.internalNumber," "),Cs(9),xo(" ",e.condition," | ",e.mobileAdId," "),Cs(7),ko(" ",e.category," "),Cs(1),Pa("ngIf",e.doors),Cs(1),ao("background",n.getColorCode(e.exteriorColor)),Cs(1),Pa("ngIf",e.manufacturerColorName),Cs(1),Pa("ngIf",e.exteriorColor),Cs(1),Pa("ngIf",e.gearboxes),Cs(1),Pa("ngIf",e.fuel),Cs(1),Pa("ngIf",e.seats),Cs(1),Pa("ngIf",e.power),Cs(2),Pa("ngIf",e.images&&e.images.length>0)("ngIfElse",i),Cs(5),ko(" ",Wl(44,19,e.price.consumerPriceGross,"EUR")," ")}}function NH(e,t){if(1&e&&(Oa(0,"td",14),Oa(1,"div",34),Ra(2,"app-haba-image-list",35),Fa(),Fa()),2&e){const e=t.$implicit,i=Ka(2);Da("colspan",i.displayedColumns.length),Cs(1),Pa("@detailExpandAnimation",e==i.expandedElement?"expanded":"collapsed"),Cs(1),Pa("images",e.images)}}const jH=function(e){return{highlight:e}};function HH(e,t){if(1&e){const e=Va();Oa(0,"tr",36),Wa("click",(function(){ii(e);const i=t.$implicit;return Ka(2).rowClick(i)})),Fa()}if(2&e){const e=t.$implicit,i=t.$implicit,n=Ka(2);oo("expanded-row",n.expandedElement===e),Pa("ngClass",Fl(4,jH,n.selectedRowIndex==i.id))("@enterAnimation",void 0)}}function VH(e,t){1&e&&Ra(0,"tr",37)}const BH=function(){return["expandedDetail"]};function zH(e,t){if(1&e&&(Oa(0,"table",5),Na(1,6),Ta(2,kH,2,0,"th",7),Ta(3,xH,2,1,"td",8),ja(),Na(4,9),Ta(5,CH,2,0,"th",7),Ta(6,RH,50,22,"td",8),ja(),Na(7,10),Ta(8,NH,3,3,"td",8),ja(),Ta(9,HH,1,6,"tr",11),Ta(10,VH,1,0,"tr",12),Fa()),2&e){const e=Ka();Pa("dataSource",e.dataSource),Cs(9),Pa("matRowDefColumns",e.displayedColumns),Cs(1),Pa("matRowDefColumns",Ol(3,BH))}}const WH=function(){return[20,50,100]};let UH=(()=>{class e{constructor(e,t,i,n,s){this.mobileDeService=e,this.dialog=t,this.navigationService=i,this.router=n,this.authService=s,this.displayedColumns=["make","modelDescription"],this.selectedRowIndex=-1,this.loading=!0,this.Helper=mO}ngOnInit(){this.navigationService.currentNavTitleValue="Live Inserate Mobile.de";const e=JSON.parse(localStorage.getItem("selectedStore"));this.storeId=null,this.storeId=e&&this.authService.currentUserValue.role>=GI.OrganizationAdmin?e._id:this.authService.currentUserValue.storeId,this.mobileDeService.getAllAdsForSpecifiedStore(this.storeId).pipe(bu(1)).subscribe(e=>{this.ads=e,this.dataSource=new Ix(e),this.dataSource.paginator=this.paginator,this.darmasAdsLength=this.ads.length,this.loading=!1})}rowClick(e){this.selectedRowIndex=e.id}getColorCode(e){return vH[e]}showLightbox(e,t){}applyFilter(e){}editMobileDeAd(e){this.loading=!0,this.mobileDeService.getDarmasAdIdForMobileAdId(e.mobileAdId).subscribe(e=>{console.log("retobj: ",e),this.router.navigate(["mobile-de/create/ad"],{queryParams:{fromShowDarmasAds:"true",darmasAdId:e.darmasAdId}})})}deleteAdFromMobileDe(e){const t={title:"Achtung"};t.message="Wollen Sie das Inserat mit der Id "+e+" wirklich offline schalten und auf Mobile.de l\xf6schen?",t.confirmButton=!0,t.confirmButtonLabel="Inserat l\xf6schen",this.openDialog(t,e)}sendDeleteRequest(e){this.mobileDeService.deleteAdFromMobileDe(e,this.storeId).pipe(bu(1)).subscribe(t=>{this.ads=this.ads.filter((t,i)=>e!==t.mobileAdId),this.dataSource.data=this.ads,this.darmasAdsLength=this.ads.length})}openDialog(e,t){this.dialog.open(mC,{height:"auto",width:"350px",data:{title:e.title,message:e.message,htmlMessage:e.htmlMessage,confirmButtonRouterLink:e.confirmButtonRouterLink,confirmButton:e.confirmButton,confirmButtonLabel:e.confirmButtonLabel}}).beforeClosed().subscribe(e=>{e&&this.sendDeleteRequest(t)})}getDateFormatForISOString(e){const t=new Date(e);return t.getDate()+"."+(t.getMonth()+1)+"."+t.getFullYear()}dataFilterLoading(e){console.log("isloading event: ",e),this.loading=e}}return e.\u0275fac=function(t){return new(t||e)(Ea(BE),Ea(Wx),Ea(P_),Ea(sf),Ea(jE))},e.\u0275cmp=ut({type:e,selectors:[["app-show-ads"]],viewQuery:function(e,t){var i;1&e&&(rc(UR,!0),ac(mx,!0)),2&e&&(sc(i=hc())&&(t.paginator=i.first),sc(i=hc())&&(t.table=i.first))},decls:5,vars:11,consts:[[1,"hm_wrapper",2,"position","relative"],[4,"ngIf"],["dataType","mobile-de-live",3,"darmasAdsLength","withStatusControl","withSortOrderControl","withTextSearchControl","startLoading"],["style","width: 100%","mat-table","","multiTemplateDataRows","",3,"dataSource",4,"ngIf"],["showFirstLastButtons","",3,"pageSize","pageSizeOptions"],["mat-table","","multiTemplateDataRows","",2,"width","100%",3,"dataSource"],["matColumnDef","make"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","modelDescription"],["matColumnDef","expandedDetail"],["mat-row","","class","element-row",3,"expanded-row","ngClass","click",4,"matRowDef","matRowDefColumns"],["mat-row","","class","detail-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[3,"brand"],["fxLayout","row","fxLayoutAlign","space-between"],["fxLayout","column"],[1,"title"],[1,"creationData"],[2,"font-size","smaller","color","#bbb"],["mat-icon-button","",3,"click"],[1,"subTitle"],[1,"features"],["fxLayout","row",1,"featureItem",2,"background","green"],[1,"featureItem"],["class","featureItem",4,"ngIf"],[4,"ngIf","ngIfElse"],["noImagesTpl",""],["fxLayout","row-reverse",1,"price"],[1,"priceAmount"],[1,"priceTitle"],[2,"font-size","smaller"],["mat-raised-button","","color","primary",3,"click"],[1,"element-detail"],[2,"min-width","100%",3,"images"],["mat-row","",1,"element-row",3,"ngClass","click"],["mat-row","",1,"detail-row"]],template:function(e,t){1&e&&(Oa(0,"div",0),Ta(1,wH,1,0,"app-buffering",1),Oa(2,"app-data-options-bar",2),Wa("startLoading",(function(e){return t.dataFilterLoading(e)})),Fa(),Ta(3,zH,11,4,"table",3),Ra(4,"mat-paginator",4),Fa()),2&e&&(Cs(1),Pa("ngIf",t.loading),Cs(1),Pa("darmasAdsLength",t.darmasAdsLength)("withStatusControl",!1)("withSortOrderControl",!1)("withTextSearchControl",!1),Cs(1),Pa("ngIf",!t.loading),Cs(1),ao("display",t.loading?"none":"block"),Pa("pageSize",20)("pageSizeOptions",Ol(10,WH)))},directives:[$d,Zj,UR,rS,mx,bx,_x,fx,Sx,wx,kx,mN,uD,qD,nC,kS,ST,Tx,Bd,gO],pipes:[lh],styles:[".mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}table[_ngcontent-%COMP%]{width:100%}tr.detail-row[_ngcontent-%COMP%]{height:0}.element-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom-width:0}.element-detail[_ngcontent-%COMP%]{overflow:hidden;display:flex}.element-diagram[_ngcontent-%COMP%]{min-width:80px;padding:8px;font-weight:lighter;margin:8px 0;height:104px}.element-symbol[_ngcontent-%COMP%]{font-weight:700;font-size:40px;line-height:normal}.element-description[_ngcontent-%COMP%]{padding:16px}.element-description-attribution[_ngcontent-%COMP%]{opacity:.5}.mat-column-make[_ngcontent-%COMP%]{width:90px}.mat-column-modelDescription[_ngcontent-%COMP%]{vertical-align:baseline;padding-top:10px}.title[_ngcontent-%COMP%]{color:orange;font-size:20px}.features[_ngcontent-%COMP%]{display:flex;padding:10px 10px 10px 0;flex-wrap:wrap}.featureItem[_ngcontent-%COMP%]{background-color:orange;flex:1 1 auto;padding:5px;margin:5px}.featureItem[_ngcontent-%COMP%]:first-child{margin-left:0}.priceTitle[_ngcontent-%COMP%]{margin-right:10px;color:#888}.priceAmount[_ngcontent-%COMP%]{font-size:20px;margin-right:15px}"],data:{animation:[eN,tN]}}),e})(),$H=(()=>{class e{constructor(e,t,i,n,s){this.mobileDeService=e,this.dialog=t,this.dialogRef=i,this.data=n,this.chatSharedService=s,console.log("darmasad:: ",n.darmasAd),this.darmasAd=n.darmasAd,this.images=n.darmasAd.ad.images,console.log("images:: ",this.images)}ngOnInit(){}saveImages(e){console.log("reordered: ",e);const t=this.darmasAd.ad;t.images=e,this.mobileDeService.updateAd(t,{mobileAdId:this.darmasAd.mobileAdId,mobileSellerId:this.darmasAd.mobileSellerId,darmasAdId:this.darmasAd._id},null).subscribe(e=>{console.log("updt result: ",e)})}}return e.\u0275fac=function(t){return new(t||e)(Ea(BE),Ea(Wx),Ea(jx),Ea(Hx),Ea(UF))},e.\u0275cmp=ut({type:e,selectors:[["app-haba-image-dialog"]],decls:1,vars:2,consts:[[2,"min-width","100%",3,"images","readyProcessedProfileImages","imagesReordered"]],template:function(e,t){1&e&&(Oa(0,"app-haba-image-list",0),Wa("imagesReordered",(function(e){return t.saveImages(e)})),Fa()),2&e&&Pa("images",t.darmasAd.ad.images)("readyProcessedProfileImages",t.chatSharedService.getProfileImagesForAdProcessingObservable(t.darmasAd.ad.mobileAdId))},directives:[ST],styles:[""]}),e})();function GH(e,t){1&e&&Ra(0,"mat-spinner")}function qH(e,t){if(1&e&&(Oa(0,"div",6),Ta(1,GH,1,0,"mat-spinner",7),Fa()),2&e){const e=Ka();Cs(1),Pa("ngIf",e.loading||e.statusLoading)}}function KH(e,t){1&e&&(Oa(0,"th",14),vo(1," Bez "),Fa())}function JH(e,t){if(1&e&&(Oa(0,"td",15),Ra(1,"app-show-make-image",16),Fa()),2&e){const e=t.$implicit;Cs(1),Pa("brand",e.ad.make)}}function QH(e,t){1&e&&(Oa(0,"th",14),vo(1," Model Beschreibung "),Fa())}function ZH(e,t){if(1&e&&(Na(0),Oa(1,"span",21),vo(2,"Update"),Fa(),vo(3),ja()),2&e){const e=Ka().$implicit,t=Ka(2);Cs(3),ko(" ",t.getDateFormatForISOString(e.updatedAt)," ")}}function XH(e,t){if(1&e){const e=Va();Na(0),Oa(1,"div",38),Wa("click",(function(){ii(e);const t=Ka().$implicit;return Ka(2).setAdOffline(t)})),Oa(2,"div",22),Oa(3,"mat-icon"),vo(4,"check"),Fa(),vo(5,"online "),Fa(),Fa(),ja()}}function eV(e,t){if(1&e){const e=Va();Na(0),Oa(1,"div",39),Wa("click",(function(){ii(e);const t=Ka().$implicit;return Ka(2).setAdOnline(t)})),Oa(2,"div",22),Oa(3,"mat-icon"),vo(4,"close"),Fa(),vo(5,"offline "),Fa(),Fa(),ja()}}function tV(e,t){if(1&e&&(Na(0),vo(1),ja()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.displayAd.doors,"-T\xfcrer ")}}function iV(e,t){if(1&e&&(Na(0),vo(1),ja()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.displayAd.manufacturerColorName," ")}}function nV(e,t){if(1&e&&(Na(0),vo(1),ja()),2&e){const e=Ka().$implicit;Cs(1),ko(" (",e.displayAd.exteriorColor,") ")}}function sV(e,t){if(1&e&&(Oa(0,"div",30),vo(1),Fa()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.displayAd.gearboxes,"-Gang ")}}function rV(e,t){if(1&e&&(Oa(0,"div",30),vo(1),Fa()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.displayAd.fuel," ")}}function aV(e,t){if(1&e&&(Oa(0,"div",30),vo(1),Fa()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.displayAd.seats,"-Sitzer ")}}function oV(e,t){if(1&e&&(Oa(0,"div",30),vo(1),Fa()),2&e){const e=Ka().$implicit;Cs(1),ko(" ",e.displayAd.power,"kW ")}}function lV(e,t){1&e&&(Oa(0,"mat-icon"),vo(1,"expand_more"),Fa())}function cV(e,t){1&e&&(Oa(0,"mat-icon"),vo(1,"expand_less"),Fa())}function dV(e,t){1&e&&(Oa(0,"div"),Oa(1,"div",42),Ra(2,"mat-spinner",43),Fa(),Fa())}function hV(e,t){if(1&e){const e=Va();Oa(0,"div"),Oa(1,"button",40),Wa("click",(function(){ii(e);const t=Ka().$implicit;return Ka(2).showImageOverlay(t)})),Ta(2,lV,2,0,"mat-icon",7),Ta(3,cV,2,0,"mat-icon",7),Oa(4,"span"),vo(5,"Bilder"),Fa(),Oa(6,"span",41),Ta(7,dV,3,0,"div",7),Bl(8,"async"),Fa(),Fa(),Fa()}if(2&e){const e=Ka().$implicit,t=Ka(2);var i;Cs(2),Pa("ngIf",!t.expandedElement),Cs(1),Pa("ngIf",t.expandedElement),Cs(4),Pa("ngIf",null==(i=zl(8,3,t.chatSharedService.getProfileImagesForAdProcessingObservable(e.mobileAdId)))?null:i.isProcessing)}}function uV(e,t){1&e&&(Oa(0,"p"),vo(1,"Noch keine Bilder vorhanden"),Fa())}function mV(e,t){if(1&e&&(Oa(0,"span",44),vo(1),Fa()),2&e){const e=Ka().$implicit;Cs(1),ko(" inkl. ",e.ad.price.vatRate,"% Mwst ")}}function pV(e,t){if(1&e){const e=Va();Oa(0,"td",15),Oa(1,"div",17),Oa(2,"div",18),Oa(3,"div",19),vo(4),Fa(),Oa(5,"div",20),Oa(6,"span",21),vo(7,"Erstellt"),Fa(),vo(8),Ta(9,ZH,4,1,"ng-container",7),Oa(10,"span",21),vo(11,"Auftragsnr."),Fa(),vo(12),Fa(),Fa(),Oa(13,"div",18),Oa(14,"div",22),Oa(15,"button",23),Wa("click",(function(){ii(e);const i=t.$implicit;return Ka(2).editMobileDeAd(i)})),Oa(16,"mat-icon"),vo(17,"edit"),Fa(),Fa(),Oa(18,"button",23),Wa("click",(function(){ii(e);const i=t.$implicit;return Ka(2).confirmArchiveDarmasAd(i._id)})),Oa(19,"mat-icon"),vo(20,"delete"),Fa(),Fa(),Fa(),Oa(21,"div",24),Oa(22,"button",25),Oa(23,"mat-icon"),vo(24,"menu"),Fa(),Fa(),Oa(25,"mat-menu",null,26),Oa(27,"button",27),Wa("click",(function(){ii(e);const i=t.$implicit;return Ka(2).createPdf(i)})),vo(28," PDF erzeugen "),Fa(),Fa(),Fa(),Fa(),Fa(),Oa(29,"div",28),vo(30),Fa(),Oa(31,"div",29),Ta(32,XH,6,0,"ng-container",7),Ta(33,eV,6,0,"ng-container",7),Oa(34,"div",30),vo(35),Ta(36,tV,2,1,"ng-container",7),Fa(),Oa(37,"div",30),Ta(38,iV,2,1,"ng-container",7),Ta(39,nV,2,1,"ng-container",7),Fa(),Ta(40,sV,2,1,"div",31),Ta(41,rV,2,1,"div",31),Ta(42,aV,2,1,"div",31),Ta(43,oV,2,1,"div",31),Fa(),Oa(44,"div",17),Ta(45,hV,9,5,"div",32),Ta(46,uV,2,0,"ng-template",null,33,fc),Oa(48,"div",34),Oa(49,"div",35),vo(50),Bl(51,"currency"),Fa(),Oa(52,"div",36),vo(53," Verkaufspreis"),Ra(54,"br"),Ta(55,mV,2,1,"span",37),Fa(),Fa(),Fa(),Fa()}if(2&e){const e=t.$implicit,i=Aa(26),n=Aa(47),s=Ka(2);Cs(4),ko(" ",e.ad.modelDescription," "),Cs(4),ko(" ",s.getDateFormatForISOString(e.createdAt)," "),Cs(1),Pa("ngIf",s.getDateFormatForISOString(e.createdAt)!==s.getDateFormatForISOString(e.updatedAt)),Cs(3),ko(" ",e.ad.internalNumber," "),Cs(10),Pa("matMenuTriggerFor",i),Cs(8),xo(" ",e.displayAd.condition," | ",e.ad.mobileAdId," "),Cs(2),Pa("ngIf",e.status.online),Cs(1),Pa("ngIf",!e.status.online),Cs(2),ko(" ",e.displayAd.category," "),Cs(1),Pa("ngIf",e.doors),Cs(1),ao("background",s.getColorCode(null==e.ad?null:e.ad.exteriorColor))("color",s.getFontColor(null==e.ad?null:e.ad.exteriorColor)),Cs(1),Pa("ngIf",null==e.displayAd?null:e.displayAd.manufacturerColorName),Cs(1),Pa("ngIf",e.ad.exteriorColor),Cs(1),Pa("ngIf",e.displayAd.gearboxes),Cs(1),Pa("ngIf",e.displayAd.fuel),Cs(1),Pa("ngIf",e.displayAd.seats),Cs(1),Pa("ngIf",e.displayAd.power),Cs(2),Pa("ngIf",e.ad.images&&e.ad.images.length>0)("ngIfElse",n),Cs(5),ko(" ",Wl(51,25,null==e.ad.price?null:e.ad.price.consumerPriceGross,"EUR")," "),Cs(5),Pa("ngIf","FIXED"!==e.ad.price.type)}}const fV=function(e){return{highlight:e}};function gV(e,t){if(1&e){const e=Va();Oa(0,"tr",45),Wa("click",(function(){ii(e);const i=t.$implicit;return Ka(2).rowClick(i)})),Fa()}if(2&e){const e=t.$implicit,i=Ka(2);Pa("ngClass",Fl(1,fV,i.selectedRowIndex==e.id))}}function _V(e,t){if(1&e&&(Oa(0,"table",8),Na(1,9),Ta(2,KH,2,0,"th",10),Ta(3,JH,2,1,"td",11),ja(),Na(4,12),Ta(5,QH,2,0,"th",10),Ta(6,pV,56,28,"td",11),ja(),Ta(7,gV,1,3,"tr",13),Fa()),2&e){const e=Ka();Pa("dataSource",e.dataSource),Cs(7),Pa("matRowDefColumns",e.displayedColumns)}}const yV=function(){return[20,50,100]};let bV=(()=>{class e{constructor(e,t,i,n,s,r,a,o,l,c,d,u){this.authService=e,this.mobileDeService=t,this.chatSharedService=i,this.router=n,this.adProcessingService=s,this.dialog=r,this.matSnackBar=a,this.chatService=o,this.navigationService=l,this.route=c,this.dataFilterService=d,this.sharedDataService=u,this.displayedColumns=["make","modelDescription"],this.selectedRowIndex=-1,this.loading=!0,this.helper=mO,this.statusLoading=!1,this.subs=new h}ngOnInit(){const e=JSON.parse(localStorage.getItem("selectedStore"));this.storeId=null,this.storeId=e&&this.authService.currentUserValue.role>=GI.OrganizationAdmin?e._id:this.authService.currentUserValue.storeId,this.selectedStoreId=this.storeId,this.getDocsForSpecifiedStore(this.storeId),this.chatService.getProcessedProfileImages().subscribe(e=>{console.log("PROFILE IMAGES PROCESSED RESULT: ",e),this.chatSharedService.addProfileImagesProcessing(e.mobileAdId,!1,e.mobileDeImages)}),this.sharedDataService.updatedAd$.subscribe(e=>{console.log("AD UPDATED: ",e),this.darmasAds.forEach(t=>{t.mobileAdId===e&&this.mobileDeService.getDarmasAd(t._id).subscribe(e=>{const i=this.darmasAds.indexOf(t);this.darmasAds.splice(i,1,e),this.dataSource.data=this.darmasAds,this.darmasAdsLength=this.darmasAds.length,this.dataSource.paginator=this.paginator,this.table.renderRows()})})})}ngAfterContentInit(){console.log("content init"),this.navigationService.currentNavTitleValue="Mobile.de Inserate Datenbank"}ngAfterViewInit(){}getDocsForSpecifiedStore(e){this.mobileDeService.getAllDarmasAdsForSpecifiedStore(this.storeId).pipe(bu(1)).subscribe(e=>{this.darmasAds=e,this.dataSource=new Ix(this.darmasAds),this.darmasAdsLength=this.darmasAds.length,this.dataSource.paginator=this.paginator,this.loading=!1},e=>{this.loading=!1})}showImageOverlay(e){this.dialog.open($H,{height:"auto",minWidth:"800px",data:{darmasAd:e}}).beforeClosed().subscribe(e=>{})}editMobileDeAd(e){this.router.navigate(["mobile-de/create/ad"],{queryParams:{fromShowDarmasAds:"true",darmasAdId:e._id}})}rowClick(e){this.selectedRowIndex=e.id,console.log("row: ",e),this.selectedAd=e}onFilteredDocsArrived(e){console.log("docs event: ",e),this.darmasAds=e,this.dataSource.data=this.darmasAds,this.darmasAdsLength=this.darmasAds.length,this.dataSource.paginator=this.paginator,this.statusLoading=!1}onCountsForFilteredDocsArrived(e){}createPdf(e){this.adProcessingService.createPdf(e).pipe(bu(1)).subscribe(e=>{console.log("PDF: ",e),window.open("").document.write("<iframe width='100%' height='100%' src='data:application/pdf;base64, "+encodeURI(e)+"'></iframe>")})}confirmArchiveDarmasAd(e){this.dialog.open(mC,{height:"auto",width:"350px",data:{title:"Achtung!",message:"Sie sind dabei das Ad mit der Id "+e+"zu archivieren. Es steht dann erst mal nicht mehr zur Verf\xfcgung.",confirmButton:!0,confirmButtonLabel:"Inserat archivieren"}}).beforeClosed().subscribe(t=>{t&&this.archiveDarmasAd(e)})}archiveDarmasAd(e){this.mobileDeService.archiveDarmasAd(e).pipe(bu(1)).subscribe(t=>{console.log(t),this.darmasAds=this.darmasAds.filter((t,i)=>e!==t._id),this.dataSource.data=this.darmasAds,this.darmasAdsLength=this.darmasAds.length})}setAdOffline(e){this.dialog.open(mC,{height:"auto",width:"350px",data:{title:"Achtung!",message:"Sie sind dabei das Inserat "+e.ad.make+" - "+e.ad.modelDescription+" von Mobile.de zu l\xf6schen (offline zu schalten). ",confirmButton:!0,confirmButtonLabel:"Inserat offline schalten"}}).beforeClosed().subscribe(t=>{t&&(this.statusLoading=!0,this.mobileDeService.deleteAdFromMobileDe(e.ad.mobileAdId,this.selectedStoreId).pipe(bu(1)).subscribe(t=>{console.log("Ad mobile.de delete: ",t),e.status.online=!1,e.mobileAdId=""},e=>{throw console.log("ERROR: ",e),this.statusLoading=!1,this.openSnackBar(e.error.translatedErrors,"Reload").onAction().subscribe(()=>{this.loading=!0,console.log("The snack-bar action was triggered!"),this.mobileDeService.getAllDarmasAdsForSeller().pipe(bu(1)).subscribe(e=>{this.darmasAds=e,this.dataSource.data=e,this.loading=!1})}),e},()=>{this.statusLoading=!1}))})}setAdOnline(e){this.dialog.open(mC,{height:"auto",minWidth:"350px",data:{title:"Achtung!",message:"Sie sind dabei das Inserat "+e.ad.make+" - "+e.ad.modelDescription+" auf Mobile.de zu ver\xf6ffentlichen",confirmButton:!0,confirmButtonLabel:"Inserat ver\xf6ffentlichen"}}).beforeClosed().subscribe(t=>{t&&(this.statusLoading=!0,this.mobileDeService.createAd(e.ad,{darmasAdId:e._id,storeId:this.selectedStoreId},null).pipe(bu(1)).subscribe(t=>{console.log("Ad mobile.de published: ",t),t.updated&&(e.status.online=!0)},e=>{throw console.log("ERROR: ",e),this.statusLoading=!1,this.openSnackBar(e.error.translatedErrors,"Ok").onAction().subscribe(()=>{console.log("The snack-bar action was triggered!")}),e},()=>{this.statusLoading=!1}))})}dataFilterLoading(e){console.log("isloading event: ",e),this.statusLoading=e}getDateFormatForISOString(e){const t=new Date(e);return t.getDate()+"."+(t.getMonth()+1)+"."+t.getFullYear()}getColorCode(e){return vV[e]}getFontColor(e){let t;return t="WHITE"===e||"GREY"===e||"SILVER"===e?"#000":"#fff",t}openSnackBar(e,t){return this.matSnackBar.open(e,t)}}return e.\u0275fac=function(t){return new(t||e)(Ea(jE),Ea(BE),Ea(UF),Ea(sf),Ea(WF),Ea(Wx),Ea(bM),Ea(ZN),Ea(P_),Ea(Vm),Ea(ej),Ea(O_))},e.\u0275cmp=ut({type:e,selectors:[["app-show-darmas-ads-test"]],viewQuery:function(e,t){var i;1&e&&(rc(UR,!0),ac(mx,!0)),2&e&&(sc(i=hc())&&(t.paginator=i.first),sc(i=hc())&&(t.table=i.first))},decls:6,vars:8,consts:[[1,"hm_wrapper",2,"position","relative"],["class","haba-loading-shade",4,"ngIf"],[3,"filteredDocsArrived","countsForFilteredDocsArrived","startLoading"],[3,"darmasAdsLength","filteredDocsArrived","startLoading"],["style","width: 100%","mat-table","","multiTemplateDataRows","",3,"dataSource",4,"ngIf"],["showFirstLastButtons","",3,"pageSize","pageSizeOptions"],[1,"haba-loading-shade"],[4,"ngIf"],["mat-table","","multiTemplateDataRows","",2,"width","100%",3,"dataSource"],["matColumnDef","make"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","modelDescription"],["mat-row","","class","element-row",3,"ngClass","click",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[3,"brand"],["fxLayout","row","fxLayoutAlign","space-between"],["fxLayout","column"],[1,"title"],[1,"creationData"],[2,"font-size","smaller","color","#bbb"],["fxLayout","row"],["mat-icon-button","",3,"click"],[2,"text-align","right"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"],[1,"subTitle"],[1,"features"],[1,"featureItem"],["class","featureItem",4,"ngIf"],[4,"ngIf","ngIfElse"],["noImagesHintTpl",""],["fxLayout","row-reverse",1,"price"],[1,"priceAmount"],[1,"priceTitle"],["style","font-size: smaller",4,"ngIf"],["fxLayout","row","fxLayoutAlign","space-around center",1,"featureItem",2,"background","green",3,"click"],["fxLayout","row","fxLayoutAlign","space-around center",1,"featureItem",2,"background","red",3,"click"],["mat-raised-button","","color","primary",3,"click"],[2,"float","right","margin-left","10px","margin-top","9px"],[1,"centered"],["diameter","18"],[2,"font-size","smaller"],["mat-row","",1,"element-row",3,"ngClass","click"]],template:function(e,t){1&e&&(Oa(0,"div",0),Ta(1,qH,2,1,"div",1),Oa(2,"app-data-filter",2),Wa("filteredDocsArrived",(function(e){return t.onFilteredDocsArrived(e)}))("countsForFilteredDocsArrived",(function(e){return t.onCountsForFilteredDocsArrived(e)}))("startLoading",(function(e){return t.dataFilterLoading(e)})),Fa(),Oa(3,"app-data-options-bar",3),Wa("filteredDocsArrived",(function(e){return t.onFilteredDocsArrived(e)}))("startLoading",(function(e){return t.dataFilterLoading(e)})),Fa(),Ta(4,_V,8,2,"table",4),Ra(5,"mat-paginator",5),Fa()),2&e&&(Cs(1),Pa("ngIf",t.loading||t.statusLoading),Cs(2),Pa("darmasAdsLength",t.darmasAdsLength),Cs(1),Pa("ngIf",!t.loading),Cs(1),ao("display",t.loading?"none":"block"),Pa("pageSize",20)("pageSizeOptions",Ol(7,yV)))},directives:[$d,zj,Zj,UR,nS,mx,bx,_x,fx,Sx,wx,kx,mN,uD,qD,nC,kS,_H,mH,oH,Tx,Bd,gO],pipes:[lh,rh],styles:[".mat-form-field[_ngcontent-%COMP%]{font-size:14px;width:100%}table[_ngcontent-%COMP%]{width:100%}tr.detail-row[_ngcontent-%COMP%]{height:0}.element-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border-bottom-width:0}.element-detail[_ngcontent-%COMP%]{overflow:hidden;display:flex}.element-diagram[_ngcontent-%COMP%]{min-width:80px;padding:8px;font-weight:lighter;margin:8px 0;height:104px}.element-symbol[_ngcontent-%COMP%]{font-weight:700;font-size:40px;line-height:normal}.element-description[_ngcontent-%COMP%]{padding:16px}.element-description-attribution[_ngcontent-%COMP%]{opacity:.5}.mat-column-make[_ngcontent-%COMP%]{width:90px}.mat-column-modelDescription[_ngcontent-%COMP%]{vertical-align:baseline;padding-top:10px}.title[_ngcontent-%COMP%]{color:orange;font-size:20px}.features[_ngcontent-%COMP%]{display:flex;padding:10px 10px 10px 0;flex-wrap:wrap}.featureItem[_ngcontent-%COMP%]{background-color:rgba(255,140,0,.3);flex:1 1 auto;text-align:center;padding-top:8px;margin:5px}.featureItem[_ngcontent-%COMP%]:first-child{margin-left:0}.priceTitle[_ngcontent-%COMP%]{margin-right:10px;color:#888}.priceAmount[_ngcontent-%COMP%]{font-size:20px;margin-right:15px}.description[_ngcontent-%COMP%]{padding:20px;width:400px;margin:0 auto;border:1px solid orange}.darmasAdsInfos[_ngcontent-%COMP%]{width:100%;padding:10px;color:orange;height:30px;background:#616161;margin-top:10px}.colorNonWhite[_ngcontent-%COMP%]{color:#000}"],data:{animation:[eN]}}),e})();var vV=function(e){return e.BLACK="black",e.GREY="grey",e.BEIGE="#ddd",e.BROWN="brown",e.RED="red",e.GREEN="green",e.BLUE="blue",e.PURPLE="purple",e.GOLD="gold",e.WHITE="white",e.ORANGE="orange",e.SILVER="#ccc",e.YELLOW="yellow",e}({});let wV=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[Kv],Kv]}),e})();const kV=["*"],xV='.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0;position:relative}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-selection-list:focus{outline-style:dotted}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-list-option:focus,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:focus,.cdk-high-contrast-active mat-action-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:focus{outline:dotted 1px}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}\n',CV=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],SV=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"];class MV{}const DV=Jv(Zv(MV));class LV{}const TV=Zv(LV);let AV=(()=>{class e extends DV{constructor(){super(...arguments),this._stateChanges=new x}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return EV(t||e)},e.\u0275cmp=ut({type:e,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-nav-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matNavList"],features:[Lo,Et],ngContentSelectors:kV,decls:1,vars:0,template:function(e,t){1&e&&(Qa(),Za(0))},styles:[xV],encapsulation:2,changeDetection:0}),e})();const EV=fn(AV);let IV=(()=>{class e extends DV{constructor(e){super(),this._elementRef=e,this._stateChanges=new x,"action-list"===this._getListType()&&e.nativeElement.classList.add("mat-action-list")}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo))},e.\u0275cmp=ut({type:e,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[Lo,Et],ngContentSelectors:kV,decls:1,vars:0,template:function(e,t){1&e&&(Qa(),Za(0))},styles:[xV],encapsulation:2,changeDetection:0}),e})(),PV=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),e})(),YV=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),e})(),OV=(()=>{class e extends TV{constructor(e,t,i,n){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new x,this._disabled=!1,this._isInteractiveList=!!(i||n&&"action-list"===n._getListType()),this._list=i||n;const s=this._getHostElement();"button"!==s.nodeName.toLowerCase()||s.hasAttribute("type")||s.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(rg(this._destroyed)).subscribe(()=>{t.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=Df(e)}ngAfterContentInit(){!function(e,t,i="mat"){e.changes.pipe(Pu(e)).subscribe(({length:e})=>{_w(t,i+"-2-line",!1),_w(t,i+"-3-line",!1),_w(t,i+"-multi-line",!1),2===e||3===e?_w(t,`${i}-${e}-line`,!0):e>3&&_w(t,i+"-multi-line",!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(Zr),Ea(AV,8),Ea(IV,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,t,i){var n;1&e&&(lc(i,PV,!0),lc(i,YV,!0),lc(i,gw,!0)),2&e&&(sc(n=hc())&&(t._avatar=n.first),sc(n=hc())&&(t._icon=n.first),sc(n=hc())&&(t._lines=n))},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:6,hostBindings:function(e,t){2&e&&oo("mat-list-item-disabled",t.disabled)("mat-list-item-avatar",t._avatar||t._icon)("mat-list-item-with-avatar",t._avatar||t._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[Lo],ngContentSelectors:SV,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,t){1&e&&(Qa(CV),Oa(0,"div",0),Ra(1,"div",1),Za(2),Oa(3,"div",2),Za(4,1),Fa(),Za(5,2),Fa()),2&e&&(Cs(1),Pa("matRippleTrigger",t._getHostElement())("matRippleDisabled",t._isRippleDisabled()))},directives:[Mw],encapsulation:2,changeDetection:0}),e})(),FV=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[yw,Dw,Kv,Tw,ch],yw,Kv,Tw,wV]}),e})();function RV(e,t){if(1&e&&(Oa(0,"mat-list-item"),vo(1),Fa()),2&e){const e=t.$implicit;Cs(1),ko(" ",e," ")}}const NV=[{path:"",pathMatch:"full",redirectTo:"mobile-de/show/ads",canActivate:[qI]},{path:"mobile-de/show/ads",component:UH,canActivate:[qI],data:{animation:"ShowAdsPage"}},{path:"mobile-de/show/darmas/ads",component:bV,canActivate:[qI],data:{animation:"ShowDarmasAdsPage",name:"showDarmasAds"}},{path:"mobile-de/create/ad",component:CR,canActivate:[qI],data:{animation:"CreateAdFormPage",reuse:!0,name:"createAd"}},{path:"createUser",component:KI,canActivate:[qI],data:{animation:"CreateUserPage"}},{path:"chat/help",component:(()=>{class e{constructor(e,t){this.chatService=e,this.chatSharedService=t,this.usersTotal=0,this.message="",this.messages=[]}ngOnInit(){this.chatService.receiveChat().subscribe(e=>{this.messages.push(e)}),this.chatService.getUsers().subscribe(e=>{this.usersTotal=e})}addChat(){this.messages.push(this.message),this.chatService.sendChat(this.message),this.message=""}}return e.\u0275fac=function(t){return new(t||e)(Ea(ZN),Ea(UF))},e.\u0275cmp=ut({type:e,selectors:[["app-customer-chat"]],decls:17,vars:3,consts:[[1,"customerChat"],[4,"ngFor","ngForOf"],["spellcheck","true","autoComplete","true","autocorrect","true","rows","1","placeholder","type message...",1,"chat-input",3,"ngModel","ngModelChange","keyup.enter"],["mat-button","",1,"send-chat-button",3,"click"]],template:function(e,t){1&e&&(Oa(0,"div",0),Oa(1,"mat-card"),Oa(2,"mat-card-title"),Oa(3,"h2"),vo(4,"Live Chat"),Fa(),Fa(),Oa(5,"mat-card-content"),Oa(6,"p"),vo(7," Zur Zeit sind "),Oa(8,"strong"),vo(9),Fa(),vo(10," Benutzer online. "),Fa(),Oa(11,"mat-list"),Ta(12,RV,2,1,"mat-list-item",1),Fa(),Oa(13,"div"),Oa(14,"textarea",2),Wa("ngModelChange",(function(e){return t.message=e}))("keyup.enter",(function(){return t.addChat()})),Fa(),Oa(15,"button",3),Wa("click",(function(){return t.addChat()})),vo(16," Senden "),Fa(),Fa(),Fa(),Fa(),Fa()),2&e&&(Cs(9),wo(t.usersTotal),Cs(3),Pa("ngForOf",t.messages),Cs(2),Pa("ngModel",t.message))},directives:[JT,qT,GT,IV,Wd,dA,_A,wE,nC,OV],styles:[""]}),e})(),canActivate:[qI],data:{animation:"CustomerChatComponent"}},{path:"user",component:qN,canActivate:[qI],data:{animation:"AccountPage"}},{path:"dp24/show/cars",component:GN,canActivate:[qI],data:{animation:"ShowCarsDp24Page"}},{path:"admin/show/dashboard",component:$I,canActivate:[qI],data:{animation:"AdminPage"}}];let jV=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[_f.forRoot(NV)],_f]}),e})();const HV=["*"];function VV(e,t){if(1&e){const e=Va();Oa(0,"div",2),Wa("click",(function(){return ii(e),Ka()._onBackdropClicked()})),Fa()}2&e&&oo("mat-drawer-shown",Ka()._isShowingBackdrop())}function BV(e,t){1&e&&(Oa(0,"mat-drawer-content"),Za(1,2),Fa())}const zV=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],WV=["mat-drawer","mat-drawer-content","*"],UV={transformDrawer:yy("transform",[xy("open, open-instant",ky({transform:"none",visibility:"visible"})),xy("void",ky({"box-shadow":"none",visibility:"hidden"})),Sy("void => open-instant",by("0ms")),Sy("void <=> open, open-instant => void",by("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function $V(e){throw Error(`A drawer was already declared for 'position="${e}"'`)}const GV=new Re("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),qV=new Re("MAT_DRAWER_CONTAINER");let KV=(()=>{class e extends Rg{constructor(e,t,i,n,s){super(i,n,s),this._changeDetectorRef=e,this._container=t}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return e.\u0275fac=function(t){return new(t||e)(Ea(Zr),Ea(ke(()=>QV)),Ea(Wo),Ea(Fg),Ea(Rc))},e.\u0275cmp=ut({type:e,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&ao("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[Lo],ngContentSelectors:HV,decls:1,vars:0,template:function(e,t){1&e&&(Qa(),Za(0))},encapsulation:2,changeDetection:0}),e})(),JV=(()=>{class e{constructor(e,t,i,n,s,r,a){this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=i,this._platform=n,this._ngZone=s,this._doc=r,this._container=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new x,this._animationEnd=new x,this._animationState="void",this.openedChange=new Gl(!0),this._destroyed=new x,this.onPositionChanged=new Gl,this._modeChanged=new x,this.openedChange.subscribe(e=>{e?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._restoreFocus()}),this._ngZone.runOutsideAngular(()=>{Pf(this._elementRef.nativeElement,"keydown").pipe(iu(e=>27===e.keyCode&&!this.disableClose&&!e_(e)),rg(this._destroyed)).subscribe(e=>this._ngZone.run(()=>{this.close(),e.stopPropagation(),e.preventDefault()}))}),this._animationEnd.pipe(Kf((e,t)=>e.fromState===t.fromState&&e.toState===t.toState)).subscribe(e=>{const{fromState:t,toState:i}=e;(0===i.indexOf("open")&&"void"===t||"void"===i&&0===t.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=Df(e)}get autoFocus(){const e=this._autoFocus;return null==e?"side"!==this.mode:e}set autoFocus(e){this._autoFocus=Df(e)}get opened(){return this._opened}set opened(e){this.toggle(Df(e))}get _openedStream(){return this.openedChange.pipe(iu(e=>e),O(()=>{}))}get openedStart(){return this._animationStarted.pipe(iu(e=>e.fromState!==e.toState&&0===e.toState.indexOf("open")),O(()=>{}))}get _closedStream(){return this.openedChange.pipe(iu(e=>!e),O(()=>{}))}get closedStart(){return this._animationStarted.pipe(iu(e=>e.fromState!==e.toState&&"void"===e.toState),O(()=>{}))}_takeFocus(){this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then(e=>{e||"function"!=typeof this._elementRef.nativeElement.focus||this._elementRef.nativeElement.focus()})}_restoreFocus(){if(!this.autoFocus)return;const e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}ngAfterContentInit(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}toggle(e=!this.opened,t="program"){return this._opened=e,e?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=t):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise(e=>{this.openedChange.pipe(bu(1)).subscribe(t=>e(t?"open":"close"))})}get _width(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_animationStartListener(e){this._animationStarted.next(e)}_animationDoneListener(e){this._animationEnd.next(e)}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(iy),Ea(hy),Ea(vg),Ea(Rc),Ea(pd,8),Ea(qV,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&Ua("@transform.start",(function(e){return t._animationStartListener(e)}))("@transform.done",(function(e){return t._animationDoneListener(e)})),2&e&&(Da("align",null),Mo("@transform",t._animationState),oo("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:HV,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(Qa(),Oa(0,"div",0),Za(1),Fa())},encapsulation:2,data:{animation:[UV.transformDrawer]},changeDetection:0}),e})(),QV=(()=>{class e{constructor(e,t,i,n,s,r=!1,a){this._dir=e,this._element=t,this._ngZone=i,this._changeDetectorRef=n,this._animationMode=a,this._drawers=new Kl,this.backdropClick=new Gl,this._destroyed=new x,this._doCheckSubject=new x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new x,e&&e.change.pipe(rg(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),s.change().pipe(rg(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=r}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=Df(e)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(e){this._backdropOverride=null==e?null:Df(e)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe(Pu(this._allDrawers),rg(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(e=>!e._container||e._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Pu(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(F_(10),rg(this._destroyed)).subscribe(()=>this.updateContentMargins())}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._width;else if("push"==this._left.mode){const i=this._left._width;e+=i,t-=i}if(this._right&&this._right.opened)if("side"==this._right.mode)t+=this._right._width;else if("push"==this._right.mode){const i=this._right._width;t+=i,e-=i}e=e||null,t=t||null,e===this._contentMargins.left&&t===this._contentMargins.right||(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(iu(e=>e.fromState!==e.toState),rg(this._drawers.changes)).subscribe(e=>{"open-instant"!==e.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(rg(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(rg(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.asObservable().pipe(bu(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(rg(U(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){const t=this._element.nativeElement.classList,i="mat-drawer-container-has-open";e?t.add(i):t.remove(i)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{"end"==e.position?(null!=this._end&&$V("end"),this._end=e):(null!=this._start&&$V("start"),this._start=e)}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawer()}_closeModalDrawer(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._canHaveBackdrop(e)).forEach(e=>e.close())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(e){return"side"!==e.mode||!!this._backdropOverride}_isDrawerOpen(e){return null!=e&&e.opened}}return e.\u0275fac=function(t){return new(t||e)(Ea(Eg,8),Ea(Wo),Ea(Rc),Ea(Zr),Ea(Ng),Ea(GV),Ea(Hv,8))},e.\u0275cmp=ut({type:e,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,i){var n;1&e&&(lc(i,KV,!0),lc(i,JV,!0)),2&e&&(sc(n=hc())&&(t._content=n.first),sc(n=hc())&&(t._allDrawers=n))},viewQuery:function(e,t){var i;1&e&&ac(KV,!0),2&e&&sc(i=hc())&&(t._userContent=i.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&oo("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Ho([{provide:qV,useExisting:e}])],ngContentSelectors:WV,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(Qa(zV),Ta(0,VV,1,2,"div",0),Za(1),Za(2,1),Ta(3,BV,2,0,"mat-drawer-content",1)),2&e&&(Pa("ngIf",t.hasBackdrop),Cs(3),Pa("ngIf",!t._content))},directives:[$d,KV],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),e})(),ZV=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,Kv,wg,jg],jg,Kv]}),e})();const XV=["*",[["mat-toolbar-row"]]],eB=["*","mat-toolbar-row"];class tB{constructor(e){this._elementRef=e}}const iB=Qv(tB);let nB=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=yt({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e})(),sB=(()=>{class e extends iB{constructor(e,t,i){super(e),this._platform=t,this._document=i}ngAfterViewInit(){En()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(e=>!(e.classList&&e.classList.contains("mat-toolbar-row"))).filter(e=>e.nodeType!==(this._document?this._document.COMMENT_NODE:8)).some(e=>!(!e.textContent||!e.textContent.trim()))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.")}()}}return e.\u0275fac=function(t){return new(t||e)(Ea(Wo),Ea(vg),Ea(pd))},e.\u0275cmp=ut({type:e,selectors:[["mat-toolbar"]],contentQueries:function(e,t,i){var n;1&e&&lc(i,nB,!0),2&e&&sc(n=hc())&&(t._toolbarRows=n)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&oo("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[Lo],ngContentSelectors:eB,decls:2,vars:0,template:function(e,t){1&e&&(Qa(XV),Za(0),Za(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}\n"],encapsulation:2,changeDetection:0}),e})(),rB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[Kv],Kv]}),e})();const aB=["drawer"];function oB(e,t){if(1&e){const e=Va();Oa(0,"a",8),Wa("click",(function(){return ii(e),Ka().closeNavOrLeaveOpen("chat/help")})),Oa(1,"mat-icon"),vo(2,"contact_support"),Fa(),Oa(3,"span",9),vo(4,"Live Help"),Fa(),Fa()}}function lB(e,t){if(1&e){const e=Va();Oa(0,"a",8),Wa("click",(function(){return ii(e),Ka().closeNavOrLeaveOpen("admin/show/dashboard")})),Oa(1,"mat-icon"),vo(2,"lock"),Fa(),Oa(3,"span",9),vo(4,"Administration"),Fa(),Fa()}}function cB(e,t){if(1&e){const e=Va();Oa(0,"mat-icon",22),Wa("click",(function(){return ii(e),Ka(),Aa(2).toggle()})),vo(1," menu "),Fa()}}let dB=(()=>{class e{constructor(e,t,i,n,s){this.navService=e,this.breakpointObserver=t,this.authService=i,this.router=n,this.sharedDataService=s,this.showFiller=!1,this.isHandset=this.breakpointObserver.observe(["(max-width: 599.99px)","(min-width: 600px) and (max-width: 959.99px)"]),this.navTitle="test title",this.roles=GI,this.onSetTheme=new Gl,this.imagesCurrentlyProcessing=!1,this.screenWidth=window.innerWidth,window.onresize=()=>{this.screenWidth=window.innerWidth}}ngOnInit(){this.subs=this.navService.currentNavTitle.pipe(cO(0)).subscribe(e=>{this.navTitle=e}),this.subs.add(this.authService.currentUser.subscribe({next:e=>{this.user=e}})),this.subs.add(this.sharedDataService.imagesProcessing$.subscribe(e=>{this.imagesCurrentlyProcessing=e}))}closeNavOrLeaveOpen(e=null){this.breakpointObserver.isMatched("(max-width: 960px)")&&this.drawer.close(),this.router.navigateByUrl(e)}prepareRoute(e){return e&&e.activatedRouteData&&e.activatedRouteData.animation}ngOnDestroy(){this.subs.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(Ea(P_),Ea(aM),Ea(jE),Ea(sf),Ea(O_))},e.\u0275cmp=ut({type:e,selectors:[["app-navigation"]],viewQuery:function(e,t){var i;1&e&&ac(aB,!0),2&e&&sc(i=hc())&&(t.drawer=i.first)},outputs:{onSetTheme:"onSetTheme"},decls:52,vars:10,consts:[[1,"example-container"],["mode","side",1,"drawer",3,"mode","opened"],["drawer",""],[1,"header"],["src","assets/images/logo_dg_light_hd.png","title","Darmas logo","fxFlexAlign","stretch",2,"width","120px","padding-top","10px","margin-left","10px"],[2,"min-height","100%","cursor","pointer",3,"click"],[1,"close",2,"flex","auto","position","absolute","top","0","right","0","padding","5px","font-size","10px"],[1,"contents"],["mat-list-item","",3,"click"],[1,"nav-caption"],["mat-list-item","",3,"click",4,"ngIf"],["fxFlex","100","fxLayout","row",1,"main","header","doNotPrint"],["style","margin-right: 10px;",3,"click",4,"ngIf"],[2,"color","orange"],[2,"flex-grow","inherit"],["mat-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"],[1,"main","contents",2,"margin-bottom","73px"],["outlet","outlet"],["fxFlex","100","fxLayout","row",1,"main","footer","doNotPrint",2,"z-index","2","bottom","0","position","absolute"],["fxFlex","100","fxLayoutAlign","end",2,"margin-right","15px"],[2,"margin-right","10px",3,"click"]],template:function(e,t){if(1&e){const e=Va();Oa(0,"mat-drawer-container",0),Oa(1,"mat-drawer",1,2),Bl(3,"async"),Oa(4,"mat-toolbar",3),Oa(5,"div"),Ra(6,"img",4),Fa(),Oa(7,"div",5),Wa("click",(function(){return ii(e),Aa(2).close()})),Oa(8,"mat-icon",6),vo(9,"close"),Fa(),Fa(),Fa(),Oa(10,"div",7),Oa(11,"mat-nav-list"),Oa(12,"a",8),Wa("click",(function(){return t.closeNavOrLeaveOpen("mobile-de/create/ad")})),Oa(13,"mat-icon"),vo(14,"add_box"),Fa(),Oa(15,"span",9),vo(16,"Fahrzeug erstellen"),Fa(),Fa(),Oa(17,"a",8),Wa("click",(function(){return t.closeNavOrLeaveOpen("mobile-de/show/ads")})),Oa(18,"mat-icon"),vo(19,"view_list"),Fa(),Oa(20,"span",9),vo(21,"Fahrzeuge LIVE"),Fa(),Fa(),Oa(22,"a",8),Wa("click",(function(){return t.closeNavOrLeaveOpen("mobile-de/show/darmas/ads")})),Oa(23,"mat-icon"),vo(24,"view_list"),Fa(),Oa(25,"span",9),vo(26,"Fahrzeug Datenbank"),Fa(),Fa(),Oa(27,"a",8),Wa("click",(function(){return t.closeNavOrLeaveOpen("dp24/show/cars")})),Oa(28,"mat-icon"),vo(29,"view_stream"),Fa(),Oa(30,"span",9),vo(31,"dispo24 Fahrzeuge"),Fa(),Fa(),Ta(32,oB,5,0,"a",10),Ta(33,lB,5,0,"a",10),Fa(),Fa(),Fa(),Oa(34,"mat-toolbar",11),Ta(35,cB,2,0,"mat-icon",12),Oa(36,"div"),Oa(37,"h1",13),vo(38),Fa(),Fa(),Oa(39,"div",14),Oa(40,"button",15),vo(41),Fa(),Oa(42,"mat-menu",null,16),Oa(44,"button",17),Wa("click",(function(){return t.authService.logout()})),vo(45," Abmelden "),Fa(),Fa(),Fa(),Fa(),Oa(46,"div",18),Ra(47,"router-outlet",null,19),Fa(),Oa(49,"mat-toolbar",20),Oa(50,"div",21),vo(51," \xa92020 Automobile Darmas GmbH "),Fa(),Fa(),Fa()}if(2&e){const e=Aa(2),i=Aa(43);Cs(1),Pa("mode",t.screenWidth>960?"side":"over")("opened",!zl(3,8,t.isHandset).matches),Cs(31),Pa("ngIf",t.user.role>=t.roles.Manager),Cs(1),Pa("ngIf",t.user.role>=t.roles.SuperAdmin),Cs(2),Pa("ngIf",!e.opened),Cs(3),wo(t.navTitle),Cs(2),Pa("matMenuTriggerFor",i),Cs(1),ko(" ",null==t.user?null:t.user.email," ")}},directives:[QV,JV,sB,BD,kS,AV,OV,$d,ED,uD,nC,_H,mH,oH,of,qD],pipes:[rh],styles:["mat-toolbar[_ngcontent-%COMP%]{font-size:12px;text-align:right}.nav-caption[_ngcontent-%COMP%]{margin-left:5px}.drawer[_ngcontent-%COMP%]{min-width:192px;position:fixed}"]}),e})(),hB=(()=>{class e{constructor(e){this.httpClient=e,this.userSubject=new $h(JSON.parse(localStorage.getItem("currentUser"))),this.currentUser=this.userSubject.asObservable()}setUser(e){this.userSubject.next(e)}get currentUserValue(){return this.userSubject.value}set currentUserValue(e){localStorage.removeItem("currentUser"),this.userSubject.next(null)}login(e,t){return this.httpClient.post($C.settings.apiServer.backend+"auth/login",{email:e,password:t}).pipe(O(e=>(console.log("authResponse: ",e),window.localStorage.setItem("currentUser",JSON.stringify(e.value)),this.userSubject.next(e.value),e)))}logout(){localStorage.removeItem("currentUser"),this.userSubject.next(null)}}return e.\u0275fac=function(t){return new(t||e)(Ge(AC))},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function uB(e,t){if(1&e&&(Oa(0,"mat-error"),vo(1),Fa()),2&e){const e=Ka();Cs(1),ko(" ",e.errorMessage," ")}}let mB=(()=>{class e{constructor(e,t){this.appService=e,this.authService=t,this.loginInvalid=!1,this.errorMessage="",this.form=new cE({email:new lE("",CA.email),password:new lE("",CA.minLength(5))})}ngOnInit(){}onSubmit(){this.authService.login(this.form.value.email,this.form.value.password).subscribe(e=>{this.loginInvalid=!1},e=>{console.error(e),this.errorMessage=e.error.message,this.loginInvalid=!0})}}return e.\u0275fac=function(t){return new(t||e)(Ea(hB),Ea(jE))},e.\u0275cmp=ut({type:e,selectors:[["app-auth"]],decls:16,vars:2,consts:[[1,"mat-elevation-z",2,"padding","50px","background-color","rgba(0,0,0,0.5)"],[3,"formGroup","ngSubmit"],[4,"ngIf"],[1,"full-width-input"],["matInput","","placeholder","Email","formControlName","email","required",""],["matInput","","type","password","placeholder","Password","formControlName","password","required",""],["mat-raised-button","","color","primary"]],template:function(e,t){1&e&&(Oa(0,"mat-card",0),Oa(1,"mat-card-content"),Oa(2,"form",1),Wa("ngSubmit",(function(){return t.onSubmit()})),Oa(3,"h2"),vo(4,"Anmeldung"),Fa(),Ta(5,uB,2,1,"mat-error",2),Oa(6,"mat-form-field",3),Ra(7,"input",4),Oa(8,"mat-error"),vo(9," Bitte geben Sie eine g\xfcltige Email-Adresse an "),Fa(),Fa(),Oa(10,"mat-form-field",3),Ra(11,"input",5),Oa(12,"mat-error"),vo(13," Bitte geben Sie ein g\xfcltiges Passwort an "),Fa(),Fa(),Oa(14,"button",6),vo(15,"Login"),Fa(),Fa(),Fa(),Fa()),2&e&&(Cs(2),Pa("formGroup",t.form),Cs(3),Pa("ngIf",t.loginInvalid))},directives:[JT,GT,kE,yA,SE,$d,kI,PI,dA,_A,IE,YE,oI,nC],styles:["mat-card[_ngcontent-%COMP%]{max-width:400px;margin:0 auto;text-align:center}mat-form-field[_ngcontent-%COMP%]{display:block}"]}),e})();function pB(e,t){if(1&e){const e=Va();Oa(0,"app-navigation",3),Wa("onSetTheme",(function(t){return ii(e),Ka().setTheme(t)})),Fa()}}function fB(e,t){1&e&&Ra(0,"app-auth")}let gB=(()=>{class e{constructor(e,t){this.authService=e,this.overlayContainer=t,this.title="client",this.logedIn=!1}ngOnInit(){if(this.dp24User=window.user,this.authService.currentUserValue&&(this.logedIn=!0),window.localStorage.getItem("theme")){const e=window.localStorage.getItem("theme");this.setTheme(e)}else window.localStorage.setItem("theme","dark-theme"),this.setTheme("dark-theme");this.authService.currentUser.subscribe({next:e=>{this.logedIn=!!e},complete:()=>{},error:e=>{}})}setTheme(e){const t=this.overlayContainer.getContainerElement().classList,i=Array.from(t).filter(e=>e.includes("-theme"));i.length&&t.remove(...i),this.overlayContainer.getContainerElement().classList.add(e),this.componentCssClass=e,window.localStorage.setItem("theme",e)}}return e.\u0275fac=function(t){return new(t||e)(Ea(jE),Ea(g_))},e.\u0275cmp=ut({type:e,selectors:[["app-root"]],hostVars:2,hostBindings:function(e,t){2&e&&ho(st,lo,t.componentCssClass,!0)},decls:3,vars:2,consts:[[1,"hm-bg-image"],[3,"onSetTheme",4,"ngIf"],[4,"ngIf"],[3,"onSetTheme"]],template:function(e,t){1&e&&(Oa(0,"div",0),Ta(1,pB,1,0,"app-navigation",1),Ta(2,fB,1,0,"app-auth",2),Fa()),2&e&&(Cs(1),Pa("ngIf",t.logedIn),Cs(1),Pa("ngIf",!t.logedIn))},directives:[$d,dB,mB],styles:[""]}),e})(),_B=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[kM]]}),e})(),yB=(()=>{class e{constructor(e,t){hh(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(t,i=[]){return{ngModule:e,providers:t.serverLoaded?[{provide:MM,useValue:Object.assign(Object.assign({},SM),t)},{provide:LM,useValue:i,multi:!0},{provide:DM,useValue:!0}]:[{provide:MM,useValue:Object.assign(Object.assign({},SM),t)},{provide:LM,useValue:i,multi:!0}]}}}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)(Ge(DM),Ge(kc))},imports:[[sL,DO,_B],sL,DO,_B]}),e})();const bB={provide:new Re("mat-autocomplete-scroll-strategy"),deps:[M_],useFactory:function(e){return()=>e.scrollStrategies.reposition()}};let vB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[bB],imports:[[Hw,I_,Kv,ch],jg,Hw,Kv]}),e})(),wB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)}}),e})(),kB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[wB,Dw,Kv,z_],wB,Kv]}),e})(),xB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,Kv],Kv]}),e})(),CB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[{provide:iw,useValue:"de-DE"}],imports:[[ch,rB,ZV,xS,bH,FV,sC,xI,YI,QT,Qx,JO,Dw,Ek,KL,yB,Ex,vB,PR,kB,xB,cP,sS,TP,YY,gj,$R,tM,nT,_M,yR],rB,ZV,xS,bH,FV,sC,xI,YI,QT,Qx,JO,Dw,Ek,KL,yB,Ex,vB,PR,kB,xB,cP,sS,TP,YY,gj,$R,tM,nT,_M,yR]}),e})(),SB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[]]}),e})(),MB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,CB,RE,NE]]}),e})(),DB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,CB,RE,NE]]}),e})(),LB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,CB]]}),e})(),TB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch]]}),e})(),AB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,CB,LB]]}),e})(),EB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,AB,CB]]}),e})(),IB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,CB,TB,LB,EB]]}),e})(),PB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[BE,lh,WF,VE],imports:[[ch,RE,CB,NE,MB,DB,LB,IB,EB,DI,SB]]}),e})(),YB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[P_],imports:[[ch,CB,_f]]}),e})(),OB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,CB,_f]]}),e})(),FB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[ZN,UF],imports:[[ch,CB,RE,LB]]}),e})(),RB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,CB,LB,NE]]}),e})(),NB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,CB,PB,LB]]}),e})(),jB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch]]}),e})(),HB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[],imports:[[ch,CB,Ex,LB,RB,NB,IB,jB]]}),e})(),VB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[jE,qI,QN],imports:[[ch,CB,NE]]}),e})(),BB=(()=>{class e{constructor(e,t){this.authService=e,this.router=t}intercept(e,t){const i=this.authService.currentUserValue;return i&&i.token&&(e=e.clone({setHeaders:{Authorization:"Bearer "+i.token}})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(Ge(jE),Ge(sf))},e.\u0275prov=ce({token:e,factory:e.\u0275fac}),e})(),zB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,CB]]}),e})(),WB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch]]}),e})(),UB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,CB,LB]]}),e})(),$B=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,CB]]}),e})(),GB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,$B,UB,CB,NE]]}),e})(),qB=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=ce({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),KB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[qB],imports:[[ch,CB,NE]]}),e})(),JB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,CB,RE,NE,LB,jB,PB,EB,KB]]}),e})();var QB=i("blx1"),ZB=i.n(QB);let XB=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[ej,tj],imports:[[ch,CB,NE]]}),e})(),ez=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,CB,LB,jB,OB,JB,EB,XB,_f,KB]]}),e})(),tz=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,CB,jB,EB,_f,XB,KB]]}),e})(),iz=(()=>{class e{}return e.\u0275mod=gt({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)},imports:[[ch,EB,CB]]}),e})();function nz(e){return()=>e.load()}var sz,rz,az;sz=ZB.a,az=void 0,"string"!=typeof(rz=void 0)&&(az=rz,rz=sz[Tl.LocaleId]),rz=rz.toLowerCase().replace(/_/g,"-"),Ml[rz]=sz,az&&(Ml[rz][Tl.ExtraData]=az);let oz=(()=>{class e{}return e.\u0275mod=gt({type:e,bootstrap:[gB]}),e.\u0275inj=de({factory:function(t){return new(t||e)},providers:[$C,{provide:gc,useFactory:nz,deps:[$C],multi:!0},O_,{provide:IC,useClass:BB,multi:!0},{provide:Bp,useClass:Mf},{provide:Sc,useValue:"de"}],imports:[[FB,Wh,jV,PB,Bv,CB,UC,YB,pw,RE,HB,LB,VB,zB,WB,JB,OB,jB,GB,ez,XB,I_,tz,iz],CB,YB,pw,PB,HB,VB,LB,zB,WB,JB,OB,jB,tz,XB,FB,ez]}),e})();(function(){if(An)throw new Error("Cannot enable prod mode after platform setup.");Tn=!1})(),Bh().bootstrapModule(oz).catch(e=>console.error(e))},"zX+o":function(e,t,i){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var i=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(i="a"),e+i},week:{dow:1,doy:4}})}(i("wgY5"))},zn8P:function(e,t){function i(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}i.keys=function(){return[]},i.resolve=i,e.exports=i,i.id="zn8P"}},[[0,0]]]);