PageSourceSearch

https://vp40theapp-175004.firebaseapp.com/main-es2015.d5f3b3dd10c17af128a0.js

js vp40theapp-175004.firebaseapp.com collected 2026-10-03 14:08:07 UTC 1,878,635 bytes, 2 lines download raw bytes

1/*! For license information please see main-es2015.d5f3b3dd10c17af128a0.js.LICENSE.txt */
2(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{"+4pY":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("aiEM");const i=(e,t,n)=>{e.style.setProperty(t,n)},o=(e,t)=>{e.style.removeProperty(t)},a=[],s=(e=[],t)=>{if(void 0!==t){const n=Array.isArray(t)?t:[t];return[...e,...n]}return e},l=()=>{let e,t,n,l,u,c,d,h,f,p,m,g,_,y=[],v=[],b=[],w=!1,k={},M=[],S=[],T={},x=0,L=!1,D=!1,C=!0,O=!1,E=!0;const j=[],A=[],P=[],I=[],Y=[],R=[],N=[],F=[],H=[],$=[],z="function"==typeof AnimationEffect||"function"==typeof window.AnimationEffect,W="function"==typeof Element&&"function"==typeof Element.prototype.animate&&z,U=(e,t)=>((t&&t.oneTimeCallback?A:j).push({c:e,o:t}),_),B=()=>{if(W)$.forEach(e=>{e.cancel()}),$.length=0;else{const e=P.slice();Object(r.k)(()=>{e.forEach(e=>{o(e,"animation-name"),o(e,"animation-duration"),o(e,"animation-timing-function"),o(e,"animation-iteration-count"),o(e,"animation-delay"),o(e,"animation-play-state"),o(e,"animation-fill-mode"),o(e,"animation-direction")})})}},V=()=>{Y.forEach(e=>{e&&e.parentNode&&e.parentNode.removeChild(e)}),Y.length=0},q=()=>void 0!==u?u:d?d.getFill():"both",G=()=>void 0!==f?f:void 0!==c?c:d?d.getDirection():"normal",K=()=>L?"linear":void 0!==n?n:d?d.getEasing():"linear",J=()=>D?0:void 0!==p?p:void 0!==t?t:d?d.getDuration():0,Q=()=>void 0!==l?l:d?d.getIterations():1,X=()=>void 0!==m?m:void 0!==e?e:d?d.getDelay():0,Z=()=>{0!==x&&(x--,0===x&&((()=>{ae(),F.forEach(e=>{e()}),H.forEach(e=>{e()}),(()=>{const e=M,t=S,n=T;P.forEach(r=>{const o=r.classList;e.forEach(e=>o.add(e)),t.forEach(e=>o.remove(e));for(const e in n)n.hasOwnProperty(e)&&i(r,e,n[e])})})();const e=C?1:0;j.forEach(t=>t.c(e,_)),A.forEach(t=>t.c(e,_)),A.length=0,E=!0,O=!0})(),d&&d.animationFinish()))},ee=(e=!0)=>{R.forEach(e=>{e()}),N.forEach(e=>{e()}),(()=>{const e=v,t=b,n=k;P.forEach(r=>{const o=r.classList;e.forEach(e=>o.add(e)),t.forEach(e=>o.remove(e));for(const e in n)n.hasOwnProperty(e)&&i(r,e,n[e])})})(),y.length>0&&(W?(P.forEach(e=>{const t=e.animate(y,{delay:X(),duration:J(),easing:K(),iterations:Q(),fill:q(),direction:G()});t.pause(),$.push(t)}),$.length>0&&($[0].onfinish=()=>{Z()})):((e=!0)=>{V(),P.forEach(t=>{if(y.length>0){const n=((e=[])=>e.map(e=>{const t=e.offset,n=[];for(const r in e)e.hasOwnProperty(r)&&"offset"!==r&&n.push(`${r}: ${e[r]};`);return`${100*t}% { ${n.join(" ")} }`}).join(" "))(y);g=(e=>{let t=a.indexOf(e);return t<0&&(t=a.push(e)-1),"ion-animation-"+t})(n);const o=((e,t,n)=>{const r=(e=>{const t=e.getRootNode();return t.head||t})(n),i=r.querySelector("#"+e);if(i)return i;const o=(n.ownerDocument||document).createElement("style");return o.id=e,o.textContent=`@keyframes ${e} { ${t} } @keyframes ${e}-alt { ${t} }`,r.appendChild(o),o})(g,n,t);Y.push(o),i(t,"animation-duration",J()+"ms"),i(t,"animation-timing-function",K()),i(t,"animation-delay",X()+"ms"),i(t,"animation-fill-mode",q()),i(t,"animation-direction",G());const s=Q()===1/0?"infinite":Q().toString();i(t,"animation-iteration-count",s),i(t,"animation-play-state","paused"),e&&i(t,"animation-name",o.id+"-alt"),Object(r.k)(()=>{i(t,"animation-name",o.id||null)})}})})(e)),w=!0},te=e=>{if(e=Math.min(Math.max(e,0),.999),W)$.forEach(t=>{t.currentTime=t.effect.getComputedTiming().delay+J()*e,t.pause()});else{const t=`-${(X()||0)+J()*e}ms`;P.forEach(e=>{y.length>0&&(i(e,"animation-delay",t),i(e,"animation-play-state","paused"))})}},ne=(e=!0)=>{P.forEach(t=>{Object(r.k)(()=>{i(t,"animation-name",g||null),i(t,"animation-duration",J()+"ms"),i(t,"animation-timing-function",K()),i(t,"animation-delay",X()+"ms"),i(t,"animation-fill-mode",q()||null),i(t,"animation-direction",G()||null);const n=Q()===1/0?"infinite":Q().toString();i(t,"animation-iteration-count",n),e&&i(t,"animation-name",g+"-alt"),Object(r.k)(()=>{i(t,"animation-name",g||null)})})})},re=(e=!1,t=!0)=>(e&&I.forEach(t=>{t.update(e)}),W?$.forEach(e=>{e.effect.updateTiming({delay:X(),duration:J(),easing:K(),iterations:Q(),fill:q(),direction:G()})}):ne(t),_),ie=()=>
2{w&&(W?$.forEach(e=>{e.pause()}):P.forEach(e=>{i(e,"animation-play-state","paused")}))},oe=()=>{h=void 0,Z()},ae=()=>{h&&clearTimeout(h)},se=e=>new Promise(t=>{e&&e.sync&&(D=!0,U(()=>D=!1,{oneTimeCallback:!0})),w||ee(),O&&(W?te(0):ne(),O=!1),E&&(x=I.length+1,E=!1),U(()=>t(),{oneTimeCallback:!0}),I.forEach(e=>{e.play()}),W?($.forEach(e=>{e.play()}),0!==y.length&&0!==P.length||Z()):(()=>{if(ae(),P.forEach(e=>{y.length>0&&Object(r.k)(()=>{i(e,"animation-play-state","running")})}),0===y.length||0===P.length)Z();else{const e=X()||0,t=J()||0,n=Q()||1;h=setTimeout(oe,e+t*n+100),((e,t)=>{let n;const i={passive:!0},a=t=>{e===t.target&&(n&&n(),ae(),Object(r.k)(()=>{P.forEach(e=>{o(e,"animation-duration"),o(e,"animation-delay"),o(e,"animation-play-state")}),Object(r.k)(Z)}))};e&&(e.addEventListener("webkitAnimationEnd",a,i),e.addEventListener("animationend",a,i),n=()=>{e.removeEventListener("webkitAnimationEnd",a,i),e.removeEventListener("animationend",a,i)})})(P[0])}})()}),le=(e,t)=>{const n=y[0];return void 0!==n&&0===n.offset?n[e]=t:y=[{offset:0,[e]:t},...y],_};return _={parentAnimation:d,elements:P,childAnimations:I,animationFinish:Z,from:le,to:(e,t)=>{const n=y[y.length-1];return void 0!==n&&1===n.offset?n[e]=t:y=[...y,{offset:1,[e]:t}],_},fromTo:(e,t,n)=>le(e,t).to(e,n),parent:e=>(d=e,_),play:se,playAsync:()=>se(),playSync:()=>(se({sync:!0}),_),pause:()=>(I.forEach(e=>{e.pause()}),ie(),_),stop:()=>{I.forEach(e=>{e.stop()}),w&&(B(),w=!1)},destroy:()=>(I.forEach(e=>{e.destroy()}),B(),V(),P.length=0,I.length=0,y.length=0,j.length=0,A.length=0,w=!1,E=!0,_),keyframes:e=>(y=e,_),addAnimation:e=>{if(null!=e)if(Array.isArray(e))for(const t of e)t.parent(_),I.push(t);else e.parent(_),I.push(e);return _},addElement:e=>{if(null!=e)if(1===e.nodeType)P.push(e);else if(e.length>=0)for(let t=0;t<e.length;t++)P.push(e[t]);else console.error("Invalid addElement value");return _},update:re,fill:e=>(u=e,re(!0),_),direction:e=>(c=e,re(!0),_),iterations:e=>(l=e,re(!0),_),duration:e=>(W||0!==e||(e=1),t=e,re(!0),_),easing:e=>(n=e,re(!0),_),delay:t=>(e=t,re(!0),_),getWebAnimations:()=>$,getKeyframes:()=>y,getFill:q,getDirection:G,getDelay:X,getIterations:Q,getEasing:K,getDuration:J,afterAddRead:e=>(F.push(e),_),afterAddWrite:e=>(H.push(e),_),afterClearStyles:(e=[])=>{for(const t of e)T[t]="";return _},afterStyles:(e={})=>(T=e,_),afterRemoveClass:e=>(S=s(S,e),_),afterAddClass:e=>(M=s(M,e),_),beforeAddRead:e=>(R.push(e),_),beforeAddWrite:e=>(N.push(e),_),beforeClearStyles:(e=[])=>{for(const t of e)k[t]="";return _},beforeStyles:(e={})=>(k=e,_),beforeRemoveClass:e=>(b=s(b,e),_),beforeAddClass:e=>(v=s(v,e),_),onFinish:U,progressStart:(e=!1)=>(I.forEach(t=>{t.progressStart(e)}),ie(),L=e,w?(re(),te(0)):ee(),_),progressStep:e=>(I.forEach(t=>{t.progressStep(e)}),te(e),_),progressEnd:(e,t,n)=>(L=!1,I.forEach(r=>{r.progressEnd(e,t,n)}),void 0!==n&&(p=n),O=!1,C=1===e,C?W||(m=t*J()*-1,re(!1,!1)):(f="reverse"===G()?"normal":"reverse",W?(re(),te(1-t)):(m=(1-t)*J()*-1,re(!1,!1))),U(()=>{C=!0,p=void 0,f=void 0,m=void 0},{oneTimeCallback:!0}),d||se(),_)}}},"+s0g":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^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],i=/^(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,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"//9w":function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/X5v":function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"/uUt":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e,t){return n=>n.lift(new o(e,t))}class o{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new a(e,this.compare,this.keySelector))}}class a extends r.a{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(r){return this.destination.error(r)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}},0:function(e,t,n){e.exports=n("zUnb")},"0EUg":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("bHdf");function i(){return Object(r.a)(1)}},"0mo+":function(e,t,n){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u
20f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(n("wd/R"))},"1G5W":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("zx2A");function i(e){return t=>t.lift(new o(e))}class o{constructor(e){this.notifier=e}call(e,t){const n=new a(e),i=Object(r.c)(this.notifier,new r.a(n));return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class a extends r.b{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1XSQ":function(e,t,n){"use strict";var r=n("8Y7J"),i=n("SVse"),o=n("qgXg"),a=n("D0XW"),s=n("HDdC"),l=n("vkgz");let u=1;const c=(()=>Promise.resolve())(),d={};function h(e){return e in d&&(delete d[e],!0)}const f={setImmediate(e){const t=u++;return d[t]=!0,c.then(()=>h(t)&&e()),t},clearImmediate(e){h(e)}};var p=n("3N8a");
2class m extends p.a{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=f.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(f.clearImmediate(t),e.scheduled=void 0)}}var g=n("IjjT");class _ extends g.a{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,r=-1,i=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++r<i&&(e=t.shift()));if(this.active=!1,n){for(;++r<i&&(e=t.shift());)e.unsubscribe();throw n}}}const y=new _(m);var v=n("DH7j");class b extends s.a{constructor(e,t=0,n=y){var r;super(),this.source=e,this.delayTime=t,this.scheduler=n,r=t,(Object(v.a)(r)||!(r-parseFloat(r)+1>=0)||t<0)&&(this.delayTime=0),n&&"function"==typeof n.schedule||(this.scheduler=y)}static create(e,t=0,n=y){return new b(e,t,n)}static dispatch(e){const{source:t,subscriber:n}=e;return this.add(t.subscribe(n))}_subscribe(e){return this.scheduler.schedule(b.dispatch,this.delayTime,{source:this.source,subscriber:e})}}class w{constructor(e,t){this.scheduler=e,this.delay=t}call(e,t){return new b(t,this.delay,this.scheduler).subscribe(e)}}var k=n("pxpQ");n.d(t,"a",(function(){return M})),n.d(t,"b",(function(){return L})),n.d(t,"c",(function(){return D}));const M=new r.v("angularfire2.realtimeDatabaseURL");function S(){}class T{constructor(e,t=o.b){this.zone=e,this.delegate=t}now(){return this.delegate.now()}schedule(e,t,n){const r=this.zone;return this.delegate.schedule((function(t){r.runGuarded(()=>{e.apply(this,[t])})}),t,n)}}class x{constructor(e){this.zone=e,this.task=null}call(e,t){const n=this.unscheduleTask.bind(this);return this.task=this.zone.run(()=>Zone.current.scheduleMacroTask("firebaseZoneBlock",S,{},S,S)),t.pipe(Object(l.a)(n,n,n)).subscribe(e).add(n)}unscheduleTask(){null!=this.task&&"scheduled"===this.task.state&&(this.task.invoke(),this.task=null)}}class L{constructor(e){this.ngZone=e,this.outsideAngular=e.runOutsideAngular(()=>new T(Zone.current)),this.insideAngular=e.run(()=>new T(Zone.current,a.a))}}function D(e,t){return function(n){return Object(i.q)(t)&&(n=n.lift(new x(e.ngZone))),n.pipe(function(e,t=0){return function(n){return n.lift(new w(e,t))}}(e.outsideAngular),Object(k.b)(e.insideAngular))}}},"1ppg":function(e,t,n){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},"1xZ4":function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%
2d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("XNiG"),i=n("9ppp");class o extends r.a{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 i.a;return this._value}next(e){super.next(this._value=e)}}},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));let r=!1;const i={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 r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},"2fjn":function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n("wd/R"))},"2oH+":function(e,t,n){(function(e){var n=/^\[object .+?Constructor\]$/,r=/^(?:0|[1-9]\d*)$/,i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1;var o="object"==typeof global&&global&&global.Object===Object&&global,a="object"==typeof self&&self&&self.Object===Object&&self,s=o||a||Function("return this")(),l=t&&!t.nodeType&&t,u=l&&"object"==typeof e&&e&&!e.nodeType&&e,c=u&&u.exports===l,d=c&&o.process,h=function(){try{return u&&u.require&&u.require("util").types||d&&d.binding&&d.binding("util")}catch(e){}}(),f=h&&h.isTypedArray;function p(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var m,g,_,y=Array.prototype,v=Object.prototype,b=s["__core-js_shared__"],w=Function.prototype.toString,k=v.hasOwnProperty,M=(m=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",S=v.toString,T=w.call(Object),x=RegExp("^"+w.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),L=c?s.Buffer:void 0,D=s.Symbol,C=s.Uint8Array,O=(g=Object.getPrototypeOf,_=Object,function(e){return g(_(e))}
vendor: 6,773 bytes, line 2
2),E=Object.create,j=v.propertyIsEnumerable,A=y.splice,P=D?D.toStringTag:void 0,I=function(){try{var e=ee(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Y=L?L.isBuffer:void 0,R=Math.max,N=Date.now,F=ee(s,"Map"),H=ee(Object,"create"),$=function(){function e(){}return function(t){if(!he(t))return{};if(E)return E(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function z(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function W(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function U(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function B(e){var t=this.__data__=new W(e);this.size=t.size}function V(e,t,n){(void 0!==n&&!oe(e[t],n)||void 0===n&&!(t in e))&&K(e,t,n)}function q(e,t,n){var r=e[t];k.call(e,t)&&oe(r,n)&&(void 0!==n||t in e)||K(e,t,n)}function G(e,t){for(var n=e.length;n--;)if(oe(e[n][0],t))return n;return-1}function K(e,t,n){"__proto__"==t&&I?I(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function J(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":P&&P in Object(e)?function(e){var t=k.call(e,P),n=e[P];try{e[P]=void 0;var r=!0}catch(o){}var i=S.call(e);return r&&(t?e[P]=n:delete e[P]),i}(e):function(e){return S.call(e)}(e)}function Q(e){return fe(e)&&"[object Arguments]"==J(e)}function X(e,t,n,r,i){e!==t&&function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s))break}}(t,(function(o,a){if(i||(i=new B),he(o))!function(e,t,n,r,i,o,a){var s=re(e,n),l=re(t,n),u=a.get(l);if(u)V(e,n,u);else{var c,d,h,f,p=o?o(s,l,n+"",e,t,a):void 0,m=void 0===p;if(m){var g=se(l),_=!g&&ue(l),y=!g&&!_&&pe(l);p=l,g||_||y?se(s)?p=s:fe(f=s)&&le(f)?p=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(s):_?(m=!1,p=function(e,t){return e.slice()}(l)):y?(m=!1,h=new(d=(c=l).buffer).constructor(d.byteLength),new C(h).set(new C(d)),p=new c.constructor(h,c.byteOffset,c.length)):p=[]:function(e){if(!fe(e)||"[object Object]"!=J(e))return!1;var t=O(e);if(null===t)return!0;var n=k.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&w.call(n)==T}(l)||ae(l)?(p=s,ae(s)?p=function(e){return function(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o<a;){var s=t[o],l=void 0;void 0===l&&(l=e[s]),i?K(n,s,l):q(n,s,l)}return n}(e,me(e))}(s):he(s)&&!ce(s)||(p=function(e){return"function"!=typeof e.constructor||ne(e)?{}:$(O(e))}(l))):m=!1}m&&(a.set(l,p),i(p,l,r,o,a),a.delete(l)),V(e,n,p)}}(e,t,a,n,X,r,i);else{var s=r?r(re(e,a),o,a+"",e,t,i):void 0;void 0===s&&(s=o),V(e,a,s)}}),me)}function Z(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ee(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!he(e)||function(e){return!!M&&M in e}(e))&&(ce(e)?x:n).test(function(e){if(null!=e){try{return w.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e))}(r)?r:void 0}function te(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}function ne(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||v)}function re(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}z.prototype.clear=function(){this.__data__=H?H(null):{},this.size=0},z.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},z.prototype.get=function(e){var t=this.__data__;if(H){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return k.call(t,e)?t[e]:void 0},z.prototype.has=function(e){var t=this.__data__;return H?void 0!==t[e]:k.call(t,e)},z.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=H&&void 0===t?"__lodash_hash_undefined__":t,this},W.prototype.clear=function(){this.__data__=[],this.size=0},W.prototype.delete=function(e){var t=this.__data__,n=G(t,e);return!(n<0||(n==t.length-1?t.pop():A.call(t,n,1),--this.size,0))},W.prototype.get=function(e){var t=this.__data__,n=G(t,e);return n<0?void 0:t[n][1]},W.prototype.has=function(e){return G(this.__data__,e)>-1},W.prototype.set=function(e,t){var n=this.__data__,r=G(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},U.prototype.clear=function(){this.size=0,this.__data__={hash:new z,map:new(F||W),string:new z}},U.prototype.delete=function(e){var t=Z(this,e).delete(e);return this.size-=t?1:0,t},U.prototype.get=function(e){return Z(this,e).get(e)},U.prototype.has=function(e){return Z(this,e).has(e)},U.prototype.set=function(e,t){var n=Z(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},B.prototype.clear=function(){this.__data__=new W,this.size=0},B.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},B.prototype.get=function(e){return this.__data__.get(e)},B.prototype.has=function(e){return this.__data__.has(e)},B.prototype.set=function(e,t){var n=this.__data__;if(n instanceof W){var r=n.__data__;if(!F||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new U(r)}return n.set(e,t),this.size=n.size,this};var ie=function(e){var t=0,n=0;return function(){var r=N(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(I?function(e,t){return I(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:ye);function oe(e,t){return e===t||e!=e&&t!=t}var ae=Q(function(){return arguments}())?Q:function(e){return fe(e)&&k.call(e,"callee")&&!j.call(e,"callee")},se=Array.isArray;function le(e){return null!=e&&de(e.length)&&!ce(e)}var ue=Y||function(){return!1};function ce(e){if(!he(e))return!1;var t=J(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function de(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function he(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function fe(e){return null!=e&&"object"==typeof e}var pe=f?function(e){return function(t){return e(t)}}(f):function(e){return fe(e)&&de(e.length)&&!!i[J(e)]};function me(e){return le(e)?function(e,t){var n=se(e),r=!n&&ae(e),i=!n&&!r&&ue(e),o=!n&&!r&&!i&&pe(e),a=n||r||i||o,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var u in e)a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||te(u,l))||s.push(u);return s}(e):function(e){if(!he(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=ne(e),n=[];
2for(var r in e)("constructor"!=r||!t&&k.call(e,r))&&n.push(r);return n}(e)}var ge,_e=(ge=function(e,t,n){X(e,t,n)},function(e,t){return ie(function(e,t,n){return t=R(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=R(r.length-t,0),a=Array(o);++i<o;)a[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(a),p(e,this,s)}}(e,void 0,ye),e+"")}((function(e,t){var n=-1,r=t.length,i=r>1?t[r-1]:void 0,o=r>2?t[2]:void 0;for(i=ge.length>3&&"function"==typeof i?(r--,i):void 0,o&&function(e,t,n){if(!he(n))return!1;var r=typeof t;return!!("number"==r?le(n)&&te(t,n.length):"string"==r&&t in n)&&oe(n[t],e)}(t[0],t[1],o)&&(i=r<3?void 0:i,r=1),e=Object(e);++n<r;){var a=t[n];a&&ge(e,a,n)}return e})));function ye(e){return e}e.exports=_e}).call(this,n("YuTi")(e))},"2sMl":function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n("ZZ/e");var r=n("MO+k"),i=n("8piP"),o=n("Na5p"),a=n("A8o4"),s=n("SPmy");class l{constructor(e){this.modalCtrl=e,this.colorArray=["#a33333","#a39633"," #56a333","#339fa3","#7e33a3","#a33333","#a39633"," #56a333","#339fa3","#7e33a3"],this.colorAvg="#F7B512",this.colorRavg="#366d96",this.colorArrayGoodBad=["#10dc60","#AD2624"],this.compareFn=(e,t)=>e.ts.toLowerCase()<t.ts.toLowerCase()?-1:e.ts.toLowerCase()>t.ts.toLowerCase()?1:0}ngOnInit(){if(this.compIn=this.dataObj.comp,this.answerList=s(this.compIn,["ts"],["desc"]),this.graphobj=this.generateAverage(),"question"===this.dataObj.type){const e=[];this.dataObj.answers.forEach((t,n)=>{e.push({answer:t,ts:this.dataObj.ts[n]?this.dataObj.ts[n]:"none",user:"none"!==this.dataObj.users[n]?this.dataObj.users[n]:"none"})}),this.textList=s(e,["ts"],["desc"]),this.ansLength=this.textList.length}}ngAfterViewInit(){if(this.createLineChart(this.graphobj),"question"===this.dataObj.type){const e=this.timeChartDetail.nativeElement;this.timeChartAverage.nativeElement.toggleAttribute("hidden",!0),e.toggleAttribute("hidden",!0)}}dismiss(){this.modalCtrl.dismiss()}compareArrays(e,t){return e.key?1===t.length&&e.key===t[0]:e.keys.length===t.length&&i(e.keys,t).length===t.length}createLineChart(e){const t=Object.keys(e.full),n=e.answerArray,i=[],o=[];Object.keys(n).forEach((t,r)=>{"avg"!==t&&"ravg"!==t?i.push({label:"multi"===this.dataObj.type?this.dataObj.elements[t].value:e.labels[r],data:n[t],backgroundColor:"rgba(0,0,0,0)",borderColor:!this.dataObj.icon||"emotion"!==this.dataObj.icon&&"thumbs"!==this.dataObj.icon?this.colorArray[r]:this.colorArrayGoodBad[r],pointRadius:0}):"ravg"!==t&&o.push({label:"avg"===t?"Daily Avg":"ravg"===t?"Rolling Avg":"N/A",data:n[t],backgroundColor:"rgba(0,0,0,0)",borderColor:"avg"===t?this.colorAvg:this.colorRavg,pointRadius:0})}),this.lines=new r.Chart(this.timeChartDetail.nativeElement,{type:"line",data:{labels:t,datasets:i},options:{animation:{duration:0},title:{display:!0,text:"Vote Quantities Over Time",lineHeight:1.7},legend:{position:"bottom",labels:{boxWidth:20}},scales:{xAxes:[{type:"time",time:{unit:t.length>=180?"quarter":t.length>=30?"month":t.length>=14?"week":"day",displayFormats:{quarter:"[Q]Q-YY",month:"MMM-YY",week:"MMM D",day:"MMM D"}}}],yAxes:[{ticks:{stepSize:1,suggestedMin:5}}]}}}),this.linesAvg=new r.Chart(this.timeChartAverage.nativeElement,{type:"line",data:{labels:t,datasets:o},options:{animation:{duration:0},title:{display:!0,text:"Vote Averages Over Time",lineHeight:1.7},legend:{position:"bottom",labels:{boxWidth:20}},scales:{xAxes:[{type:"time",time:{unit:t.length>=180?"quarter":t.length>=30?"month":t.length>=14?"week":"day",displayFormats:{quarter:"[Q]Q-YY",month:"MMM-YY",week:"MMM D",day:"MMM D"}}}],yAxes:[{ticks:{stepSize:1,suggestdMin:-1}}]}}})}generateAverage(){const e=this.compIn.sort(this.compareFn);let t="",n="";const r={},i={};let s={},l=[];t=e[0].ts,n=e[0].ts,e.forEach(e=>{e.ts>n?n=e.ts:e.ts<t&&(t=e.ts)});const u=this.getDates(t.split("T")[0],n.split("T")[0]);this.dataObj.level?(l=this.ratingsLabels(),s=this.ratingsLevelObj()):"multi"===this.dataObj.type&&(l=Object.keys(this.dataObj.elements)),u.forEach(e=>{r[e]=Object.assign({},s)});let c=0,d=0;if(e.forEach(e=>{const t=e.ts.split("T")[0];let n,i=0,o=0;if(n=e.answer,r[t][n]=r[t][n]?r[t][n]+1:1,"rating"===this.dataObj.type&&"emotion"!==this.dataObj.icon&&"thumbs"
2!==this.dataObj.icon)for(let a=1;a<=this.dataObj.level;a++)o+=r[t][a]*a,i+=r[t][a],d+=r[t][a];else"rating"!==this.dataObj.type||"emotion"!==this.dataObj.icon&&"thumbs"!==this.dataObj.icon?"multi"===this.dataObj.type&&Object.keys(this.dataObj.elements).forEach(e=>{o+=a(r[t][e])?0:r[t][e],i+=a(r[t][e])?0:r[t][e],d+=a(r[t][e])?0:r[t][e]}):(1===n?(o++,d++):(o--,d--),i+=r[t][n]);c++,r[t].ravg=0!==c&&0!==d?d/c:0,r[t].avg=0!==i?o/i:0}),"rating"===this.dataObj.type)for(let a=1;a<=this.dataObj.level;a++)i[a]=o(r,a);else"multi"===this.dataObj.type&&Object.keys(this.dataObj.elements).forEach(e=>{const t=o(r,e),n=[];t.forEach(e=>{n.push(a(e)?0:e)}),i[e]=n});let h=0;return Object.keys(r).forEach(e=>{h=-1e4===r[e].ravg||a(r[e].ravg)?h:r[e].ravg,r[e].ravg=-1e4===r[e].ravg||a(r[e].ravg)?h:r[e].ravg,r[e].avg=a(r[e].avg)?0:r[e].avg}),i.ravg=o(r,"ravg"),i.avg=o(r,"avg"),{full:r,labels:l,answerArray:i}}ratingsLabels(){const e=[];for(let t=1;t<=this.dataObj.level;t++)this.dataObj.icon&&"emotion"!==this.dataObj.icon&&"thumbs"!==this.dataObj.icon?e.push(t):this.dataObj.icon&&"emotion"===this.dataObj.icon?e.push("Good","Bad"):this.dataObj.icon&&"thumbs"===this.dataObj.icon&&e.push("Agree","Disagree");return e}multiLabels(){const e=[];return Object.keys(this.dataObj.elements).forEach(t=>{e.push(this.dataObj.elements[t].value)}),e}ratingsLevelObj(){const e={};for(let t=1;t<=this.dataObj.level;t++)e[t]=0,e.avg=0,e.ravg=-1e4;return e}getDates(e,t){const n=new Date,r=new Date,i=e.split("-"),o=t.split("-");if(n.setUTCFullYear(Number(i[0]),Number(i[1])-1,Number(i[2])),this.isArchive)r.setUTCFullYear(Number(o[0]),Number(o[1])-1,Number(o[2]));else{const e=(new Date).toJSON().split("T")[0].split("-");r.setUTCFullYear(Number(e[0]),Number(e[1])-1,Number(e[2]))}const a=[],s=n;for(;s<=r;)a.push(new Date(s).toJSON().split("T")[0]),s.setDate(s.getDate()+1);return a}}},"2ykv":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^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],i=/^(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,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"3E1r":function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},r=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];e.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u
20932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:r,longMonthsParse:r,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>
2=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3N8a":function(e,t,n){"use strict";var r=n("quSY");class i extends r.a{constructor(e,t){super()}schedule(e,t=0){return this}}n.d(t,"a",(function(){return o}));class o extends i{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 n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}},"3tmi":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("mrSG"),i=n("2Vo4"),o=n("8Y7J"),a=n("SVse"),s=n("xgBC");let l=(()=>{class e{constructor(e,t){this.document=e,this.storage=t,this.themeSubject=new i.a("light-theme"),this.theme$=this.themeSubject.asObservable(),this.darkThemeArray=[{var:"--ion-background-color",val:"#171717"},{var:"--ion-background-color-rgb",val:"23,23,23"},{var:"--ion-text-color",val:"#f2f2f2"},{var:"--ion-text-color-rgb",val:"242,242,242"},{var:"--ion-backdrop-color",val:"#202020"},{var:"--ion-overlay-background-color",val:"#333333"},{var:"--ion-item-background",val:"#202020"},{var:"--ion-item-background-rgb",val:"32,32,32"},{var:"--ion-item-border-color",val:"#333333"},{var:"--ion-input-background-color",val:"#202020"},{var:"--ion-border-color",val:"#333333"},{var:"--fz-background",val:"#171717"},{var:"--fz-list-background-color",val:"#202020"},{var:"--fz-card-background",val:"#202020"},{var:"--fz-item-background",val:"#202020"},{var:"--fz-text-color",val:"#f2f2f2"},{var:"--fz-card-subtitle-color",val:"#F7B512"},{var:"--fz-list-header",val:"#F7B512"},{var:"--fz-options-background-color",val:"#F7B512"},{var:"--fz-modal-toolbar-background",val:"#F7B512"},{var:"--fz-modal-toolbar-color",val:"#000"},{var:"--fz-line-color",val:"#333333"},{var:"--fz-pagination-bullet-background",val:"#737F8A"},{var:"--fz-pagination-bullet-active-background",val:"#F7B512"},{var:"--fz-toolbar-contrast",val:"#f2f2f2"},{var:"--fz-footer-button-color",val:"#000"},{var:"--fz-toggle-background-checked",val:"#F7B512"},{var:"--fz-toggle-background",val:"#92949c"},{var:"--fz-toggle-handle",val:"#F2F2F2"},{var:"--ion-color-secondary",val:"#737F8A"},{var:"--ion-color-secondary-rgb",val:"115,127,138"},{var:"--ion-color-secondary-contrast",val:"#ffffff"},{var:"--ion-color-secondary-contrast-rgb",val:"255,255,255"},{var:"--ion-color-secondary-shade",val:"#657079"},{var:"--ion-color-secondary-tint",val:"#818c96"},{var:"--fz-button-big-color",val:"#F7B512"},{var:"--fz-toolbar-title-color",val:"#000"},{var:"--fz-item-divider-color",val:"#F7B512"},{var:"--fz-item-divider-background-color",val:"#000"},{var:"--fz-searchbar-color",val:"#F7B512"},{var:"--fz-ion-segment-color",val:"#F7B512"},{var:"--fz-segment-checked-text-color",val:"#000"},{var:"--fz-aria-checked-color",val:"#F7B512"},{var:"--fz-aria-unchecked-color",val:" #F2F2F2"},{var:"--fz-border-width",val:"0"},{var:"--fz-action-button-border-color",val:"#808289"},{var:"--fz-note-color",val:"#F7B512"}],this.darkTheme="\n  input {\n    border: none;\n  };\n  .action-sheet-group {\n\n    .action-sheet-cancel {\n        background: rgba(0, 0, 0, 0);\n    }\n    button.action-sheet-button{\n        border-top    : 0.5px solid var(--ion-color-medium-shade);\n    }\n    button.action-sheet-cancel{\n        border-top    : none;\n    }\n}\n  "}setActiveTheme(e){return r.__awaiter(this,void 0,void 0,(function*(){yield this.storage.ready(),this.themeSubject.next(e),this.storage.set("theme",e)}))}setDarkTheme(){return r.__awaiter(this,void 0,void 0,(function*(){return console.log("setting theme to dark mode"),this.darkThemeArray.forEach(e
2=>{this.document.documentElement.style.setProperty(e.var,e.val)}),yield this.storage.set("theme","dark-theme")}))}}return e.ngInjectableDef=o.Zb({factory:function(){return new e(o.ac(a.d),o.ac(s.b))},token:e,providedIn:"root"}),e})()},"4I5i":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})()},"4MV3":function(e,t,n){!function(e){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===t?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===t?e:"\u0aac\u0aaa\u0acb\u0ab0"===t?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4dOw":function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"4pTB":function(e,t){},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("lJxs"),i=n("Cfvw"),o=n("zx2A");function a(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?o=>o.pipe(a((n,o)=>Object(i.a)(e(n,o)).pipe(Object(r.a)((e,r)=>t(n,e,o,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new s(e,n)))}class s{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new l(e,this.project,this.concurrent))}}class l extends o.b{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,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 n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t)}_innerSub(e){const t=new o.a(this),n=this.destination;n.add(t);const r=Object(o.c)(e,t);r!==t&&n.add(r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"59Te":function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function r(e,t,n){if(t!=t)return function(e,t,n,r){for(var i=e.length,o=n+-1;++o<i;)if(t(e[o],o,e))return o;return-1}(e,i,n);for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function i(e){return e!=e}var o,a,s=Array.prototype.splice,l=Math.max,u=(o=function(e,t){return e&&e.length&&t&&t.length?function(e,t,n,i){var o=r,a=-1,l=t.length,u=e;for(e===t&&(t=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(t));++a<l;)for(var c=0,d=t[a],h=d;(c=o(u,h,c,void 0))>-1;)u!==e&&s.call(u,c,1),s.call(e,c,1);return e}(e,t):e},a=l(void 0===a?o.length-1:a,0),function(){for(var e=arguments,t=-1,r=l(e.length-a,0),i=Array(r);++t<r;)i[t]=e[a+t];t=-1;for(var s=Array(a+1);++t<a;)s[t]=e[t];return s[a]=i,n(o,this,s)});e.exports=u},"6+QB":function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(e,t,n){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u
217a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,n){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"7BjC":function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={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?i[n][2]?i[n][2]:i[n][1]:r?i[n][0]:i[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7aV9":function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,t,n){return e>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("n6bG"),i=n("gRHU"),o=n("quSY"),a=n("2QA8"),s=n("2fFW"),l=n("NJ4a");class u extends o.a{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.a;break;case 1:if(!e){this.destination=i.a;break}if("object"==typeof e){e instanceof u?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,e,t,n)}}[a.a](){return this}static create(e,t,n){const r=new u(e,t,n);return r.syncErrorThrowable=!1,r}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 c extends u{constructor(e,t,n,o){let a;super(),this._parentSubscriber=e;let s=this;Object(r.a)(t)?a=t:t&&(a=t.next,n=t.error,o=t.complete,t!==i.a&&(s=Object.create(t),Object(r.a)(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=a,this._error=n,this._complete=o}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;s.a.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:n}=s.a;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(l.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(l.a)(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);s.a.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(n){if(this.unsubscribe(),s.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(e,t,n){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return s.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Object(l.a)(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"8/+R":function(e,t,n){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0
2a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0}
2,meridiem:function(e,t,n){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"8Y7J":function(e,t,n){"use strict";n.d(t,"ub",(function(){return Ls})),n.d(t,"vb",(function(){return Ds})),n.d(t,"wb",(function(){return Cs})),n.d(t,"xb",(function(){return Os})),n.d(t,"tb",(function(){return Ta})),n.d(t,"sb",(function(){return ra})),n.d(t,"g",(function(){return fs})),n.d(t,"ab",(function(){return us})),n.d(t,"E",(function(){return ls})),n.d(t,"cb",(function(){return gt})),n.d(t,"gb",(function(){return mt})),n.d(t,"c",(function(){return Sa})),n.d(t,"J",(function(){return La})),n.d(t,"I",(function(){return Da})),n.d(t,"b",(function(){return Ca})),n.d(t,"d",(function(){return ka})),n.d(t,"e",(function(){return Ma})),n.d(t,"eb",(function(){return Ss})),n.d(t,"T",(function(){return ts})),n.d(t,"ib",(function(){return is})),n.d(t,"z",(function(){return Ea})),n.d(t,"f",(function(){return Es})),n.d(t,"r",(function(){return da})),n.d(t,"q",(function(){return tn})),n.d(t,"N",(function(){return Ht})),n.d(t,"O",(function(){return Ft})),n.d(t,"h",(function(){return v})),n.d(t,"a",(function(){return _e})),n.d(t,"n",(function(){return ve})),n.d(t,"W",(function(){return be})),n.d(t,"l",(function(){return ma})),n.d(t,"o",(function(){return pa})),n.d(t,"s",(function(){return _a})),n.d(t,"H",(function(){return ga})),n.d(t,"A",(function(){return ba})),n.d(t,"Y",(function(){return ke})),n.d(t,"V",(function(){return $r})),n.d(t,"U",(function(){return zr})),n.d(t,"Zb",(function(){return k})),n.d(t,"bb",(function(){return M})),n.d(t,"db",(function(){return D})),n.d(t,"u",(function(){return oe})),n.d(t,"w",(function(){return ue})),n.d(t,"ac",(function(){return z})),n.d(t,"fb",(function(){return W})),n.d(t,"v",(function(){return I})),n.d(t,"t",(function(){return m})),n.d(t,"G",(function(){return g})),n.d(t,"P",(function(){return y})),n.d(t,"F",(function(){return Ga})),n.d(t,"K",(function(){return Fr})),n.d(t,"L",(function(){return Rr})),n.d(t,"M",(function(){return Nr})),n.d(t,"k",(function(){return Ra})),n.d(t,"m",(function(){return Dr})),n.d(t,"p",(function(){return Pr})),n.d(t,"B",(function(){return jr})),n.d(t,"D",(function(){return Er})),n.d(t,"C",(function(){return ms})),n.d(t,"Q",(function(){return ys})),n.d(t,"R",(function(){return gs})),n.d(t,"S",(function(){return ai})),n.d(t,"X",(function(){return li})),n.d(t,"i",(function(){return we})),n.d(t,"j",(function(){return ti})),n.d(t,"x",(function(){return Zr})),n.d(t,"y",(function(){return ei})),n.d(t,"Z",(function(){return dr})),n.d(t,"hb",(function(){return xs})),n.d(t,"Hb",(function(){return hr})),n.d(t,"lb",(function(){return Oa})),n.d(t,"jb",(function(){return se})),n.d(t,"kb",(function(){return Cr})),n.d(t,"ob",(function(){return Rt})),n.d(t,"pb",(function(){return Wt})),n.d(t,"qb",(function(){return bt})),n.d(t,"Fb",(function(){return P})),n.d(t,"Kb",(function(){return ur})),n.d(t,"Tb",(function(){return x})),n.d(t,"Ib",(function(){return kr})),n.d(t,"Jb",(function(){return wr})),n.d(t,"Eb",(function(){return la})),n.d(t,"Db",(function(){return ua})),n.d(t,"mb",(function(){return ia})),n.d(t,"nb",(function(){return oa})),n.d(t,"Yb",(function(){return je})),n.d(t,"cc",(function(){return pr})),n.d(t,"bc",(function(){return gr})),n.d(t,"Xb",(function(){return _r})),n.d(t,"dc",(function(){return yr})),n.d(t,"rb",(function(){return js})),n.d(t,"yb",(function(){return go})),n.d(t,"zb",(function(){return eu})),n.d(t,"Ab",(function(){return Ti})),n.d(t,"Bb",(function(){return Ho})),n.d(t,"Cb",(function(){return As})),n.d(t,"Gb",(function(){return Zi})),n.d(t,"Lb",(function(){return ao})),n.d(t,"Mb",(function(){return oo})),n.d(t,"Nb",(function(){return Ws})),n.d(t,"Ob",(function(){return Lo})),n.d(t,"Pb",(function(){return $o})),n.d(t,"Rb",(function(){return zo})),n.d(t,"Qb",(function(){return Bs})),n.d(t,"Sb",(function(){return Ns})),n.d(t,"Ub",(function(){return Vs})),n.d(t,"Vb",(function(){return Si})),n.d(t,"Wb",(function(){return Ks}));var r=n("XNiG"),i=n("quSY"),o=n("HDdC"),a=n("VRyK"),s=n("w1tV");const l="__annotations__",u="__parameters__",c="__prop__metadata__";function d(e,t,n,r,i){const o=h(t);function a(...e){if(this instanceof a)return o.call(this,...e),this;const t=new a(...e);return function(n){return i&&i(n,...e),(n.hasOwnProperty(l)?n[l]:Object.defineProperty(n,l,{value:[]})[l]).push(t),r&&r(n),n}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a}function h(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function f(e,t,n){const r=h(t);function i(...e){if(this instanceof i)return r.apply(this,e),this;const t=new i(...e);return n.annotation=t,n;function n(e,n,r){const i=e.hasOwnProperty(u)?e[u]:Object.defineProperty(e,u,{value:[]})[u];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(t),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}function p(e,t,n,r){const i=h(t);function o(...e){if(this instanceof o)return i.apply(this,e),this;const t=new o(...e);return function(n,i){const o=n.constructor,a=o.hasOwnProperty(c)?o[c]:Object.defineProperty(o,c,{value:{}})[c];a[i]=a.hasOwnProperty(i)&&a[i]||[],a[i].unshift(t),r&&r(n,i,...e)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}const m=f("Inject",e=>({token:e})),g=f("Optional"),_=f("Self"),y=f("SkipSelf"),v=f("Attribute",e=>({attributeName:e}));var b=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 w(e){for(let t in e)if(e[t]===w)return t;throw Error("Could not find renamed property on target object.")}function k(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const M=k;function S(e){const t=e[T];return t&&t.token===e?t:null}const T=w({ngInjectableDef:w});function x(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(x).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 n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}const L=w({__forward_ref__:w});function D(e){return e.__forward_ref__=D,e.toString=function(){return x(this())},e}function C(e){const t=e;return"function"==typeof t&&t.hasOwnProperty(L)&&t.__forward_ref__===D?t():e}const O="undefined"!=typeof globalThis&&globalThis,E="undefined"!=typeof window&&window,j="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,A="undefined"!=typeof global&&global,P=O||A||E||j;class I{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=k({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const Y=new I("INJECTOR",-1),R=new Object,N=/\n/gm,F=w({provide:String,useValue:w});let H=void 0;function $(e){const t=H;return H=e,t}function z(e,t=b.Default){return function(e,t=b.Default){if(void 0===H)throw new Error("inject() must be called from an injection context");return null===H?function(e,t,n){const r=S(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&b.Optional)return null;throw new Error(`Injector: NOT_FOUND [${x(e)}]`)}(e,0,t):H.get(e,t&b.Optional?null:void 0,t)}(e,t)}const W=z;function U(e){const t=[];for(let n=0;n<e.length;n++){const r=C(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=b.Default;for(let t=0;t<r.length;t++){const i=r[t];i instanceof g||"Optional"===i.ngMetadataName||i===g?n|=b.Optional:i instanceof y||"SkipSelf"===i.ngMetadataName||i===y?n|=b.SkipSelf:i instanceof _||"Self"===i.ngMetadataName||i===_?n|=b.Self:e=i instanceof m||i===m?i.token:i}t.push(z(e,n))}else t.push(z(r))}return t}class B{get(e,t=R){if(t===R){const t=new Error(`NullInjectorError: No provider for ${x(e)}!`);throw t.name="NullInjectorError",t}return t}}function V(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=x(t);if(t instanceof Array)i=t.map(x).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];
2e.push(n+":"+("string"==typeof r?JSON.stringify(r):x(r)))}i=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(N,"\n  ")}`}const q=Function;function G(e){return"function"==typeof e}const K=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,J=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Q=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,X=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/;class Z{constructor(e){this._reflect=e||P.Reflect}isReflectionEnabled(){return!0}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=new Array(void 0===e?t.length:e.length);for(let r=0;r<n.length;r++)n[r]=void 0===e?[]:e[r]&&e[r]!=Object?[e[r]]:[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n}_ownParameters(e,t){if(n=e.toString(),K.test(n)||X.test(n)||J.test(n)&&!Q.test(n))return null;var n;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const r=e.ctorParameters;if(r&&r!==t.ctorParameters){const e="function"==typeof r?r():r,t=e.map(e=>e&&e.type),n=e.map(e=>e&&ee(e.decorators));return this._zipTypesAndAnnotations(t,n)}const i=e.hasOwnProperty(u)&&e[u],o=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return o||i?this._zipTypesAndAnnotations(o,i):new Array(e.length).fill(void 0)}parameters(e){if(!G(e))return[];const t=te(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?ee(e.decorators):e.hasOwnProperty(l)?e[l]:null}annotations(e){if(!G(e))return[];const t=te(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach(e=>{n[e]=ee(t[e])}),n}return e.hasOwnProperty(c)?e[c]:null}propMetadata(e){if(!G(e))return{};const t=te(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach(t=>{n[t]=e[t]})}const r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...r[e]),n[e]=t}),n}ownPropMetadata(e){return G(e)&&this._ownPropMetadata(e,te(e))||{}}hasLifecycleHook(e,t){return e instanceof q&&t in e.prototype}guards(e){return{}}getter(e){return new Function("o","return o."+e+";")}setter(e){return new Function("o","v","return o."+e+" = v;")}method(e){return new Function("o","args",`if (!o.${e}) throw new Error('"${e}" is undefined');\n        return o.${e}.apply(o, args);`)}importUri(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+x(e)}resourceUri(e){return"./"+x(e)}resolveIdentifier(e,t,n,r){return r}resolveEnum(e,t){return e[t]}}function ee(e){return e?e.map(e=>new(0,e.type.annotationCls)(...e.args?e.args:[])):[]}function te(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const ne=w({provide:String,useValue:w}),re=[];function ie(e,t){if(!t){const t=(new Z).parameters(e);return()=>new e(...U(t))}if(ne in t){const e=t;return()=>e.useValue}if(t.useExisting){const e=t;return()=>z(e.useExisting)}if(t.useFactory){const e=t;return()=>e.useFactory(...U(e.deps||re))}if(t.useClass){const n=t;let r=t.deps;if(!r){const t=new Z;r=t.parameters(e)}return()=>new n.useClass(...U(r))}{let n=t.deps;if(!n){const t=new Z;n=t.parameters(e)}return()=>new e(...U(n))}}const oe=d("Injectable",void 0,void 0,void 0,(e,t)=>ae(e,t)),ae=function(e,t){t&&void 0!==t.providedIn&&!S(e)&&(e.ngInjectableDef=k({token:e,providedIn:t.providedIn,factory:ie(e,t)}))},se=new I("The presence of this token marks an injector as being the root injector."),le=function(e,t,n){return new pe(e,t,n)};let ue=(()=>{class e{static create(e,t){return Array.isArray(e)?le(e,t,""):le(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=R,e.NULL=new B,e.ngInjectableDef=k({token:e,providedIn:"any",factory:()=>z(Y)}),e.__NG_ELEMENT_ID__=-1,e})();const ce=function(e){return e},de=[],he=ce,fe=function(){return Array.prototype.slice.call(arguments)};class pe{constructor(e,t=ue.NULL,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(ue,{token:ue,fn:ce,deps:de,value:this,useNew:!1}),r.set(Y,{token:Y,fn:ce,deps:de,value:this,useNew:!1}),function e(t,n){if(n)if((n=C(n))instanceof Array)for(let r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw ge("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw ge("Unexpected provider",n);{let e=C(n.provide);const r=function(e){const t=function(e){let t=de;const n=e.deps;if(n&&n.length){t=[];for(let e=0;e<n.length;e++){let r=6,i=C(n[e]);if(i instanceof Array)for(let e=0,t=i;e<t.length;e++){const n=t[e];n instanceof g||n==g?r|=1:n instanceof y||n==y?r&=-3:n instanceof _||n==_?r&=-5:i=n instanceof m?n.token:C(n)}t.push({token:i,options:r})}}else if(e.useExisting)t=[{token:C(e.useExisting),options:6}];else if(!n&&!(F in e))throw ge("'deps' required",e);return t}(e);let n=ce,r=de,i=!1,o=C(e.provide);
2if(F in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)i=!0,n=C(e.useClass);else{if("function"!=typeof o)throw ge("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);i=!0,n=o}return{deps:t,fn:n,useNew:i,value:r}}(n);if(!0===n.multi){let r=t.get(e);if(r){if(r.fn!==fe)throw me(e)}else t.set(e,r={token:n.provide,deps:[],useNew:!1,fn:fe,value:de});e=n,r.deps.push({token:e,options:6})}const i=t.get(e);if(i&&i.fn==fe)throw me(e);t.set(e,r)}}}(r,e)}get(e,t,n=b.Default){const r=this._records.get(e);try{return function e(t,n,r,i,o,a){try{return function(t,n,r,i,o,a){let s;if(!n||a&b.SkipSelf)a&b.Self||(s=i.get(t,o,b.Default));else{if(s=n.value,s==he)throw Error("\u0275Circular dependency");if(s===de){n.value=he;let t=void 0,o=n.useNew,a=n.fn,l=n.deps,u=de;if(l.length){u=[];for(let t=0;t<l.length;t++){const n=l[t],o=n.options,a=2&o?r.get(n.token):void 0;u.push(e(n.token,a,r,a||4&o?i:ue.NULL,1&o?null:ue.THROW_IF_NOT_FOUND,b.Default))}}n.value=s=o?new a(...u):a.apply(t,u)}}return s}(t,n,r,i,o,a)}catch(s){throw s instanceof Error||(s=new Error(s)),(s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(t),n&&n.value==he&&(n.value=de),s}}(e,r,this._records,this.parent,t,n)}catch(i){return function(e,t,n,r){const i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=V("\n"+e.message,i,"StaticInjectorError",r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(i,e,0,this.source)}}toString(){const e=[];return this._records.forEach((t,n)=>e.push(x(n))),`StaticInjector[${e.join(", ")}]`}}function me(e){return ge("Cannot mix multi providers and regular providers",e)}function ge(e,t){return new Error(V(e,t,"StaticInjectorError"))}const _e=new I("AnalyzeForEntryComponents");class ye{}const ve=p("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),ye),be=p("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),ye),we=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),ke=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),Me={},Se=[],Te=w({ngComponentDef:w}),xe=w({ngDirectiveDef:w}),Le=w({ngPipeDef:w});let De=0;function Ce(e){return function(e){return e[Te]||null}(e)||function(e){return e[xe]||null}(e)}function Oe(e){return function(e){return e[Le]||null}(e)}function Ee(e,t){if(null==e)return Me;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}const je=function(e){const t=e.type,n=t.prototype,r={},i={type:t,providersResolver:null,consts:e.consts,vars:e.vars,factory:e.factory,template:e.template||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===we.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ke.Emulated,id:"c",styles:e.styles||Se,_:null,setInput:null,schemas:e.schemas||null,tView:null};return i._=""+{toString:()=>{const n=e.directives,o=e.features,a=e.pipes;i.id+=De++,i.inputs=Ee(e.inputs,r),i.outputs=Ee(e.outputs),o&&o.forEach(e=>e(i)),i.directiveDefs=n?()=>("function"==typeof n?n():n).map(Ce):null,i.pipeDefs=a?()=>("function"==typeof a?a():a).map(Oe):null,t.hasOwnProperty(T)||(t[T]=k({token:t,factory:e.factory}))}},i},Ae=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(P))();function Pe(e){for(;Array.isArray(e);)e=e[0];return e}function Ie(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ye(e){return Array.isArray(e)&&!0===e[1]}function Re(e,t){return t[1].data[e+20]}function Ne(e){const t=function(e){return e.__ngContext__}(e);return t?Array.isArray(t)?t:t.lView:null}function Fe(e){e[18]=0}function He(e,t,n,r){n||$e(e,t.preOrderHooks,t.preOrderCheckHooks,n,0,void 0!==r?r:null)}function $e(e,t,n,r,i,o){if(r)return;const a=(3&e[2])===i?t:n;a&&function(e,t,n,r){const i=null!=r?r:-1;let o=0;for(let a=void 0!==r?65535&e[18]:0;a<t.length;a++)if("number"==typeof t[a+1]){if(o=t[a],null!=r&&o>=r)break}else t[a]<0&&(e[18]+=65536),(o<i||-1==i)&&(ze(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}(e,a,i,o),null==o&&(3&e[2])===i&&3!==i&&(e[2]&=1023,e[2]+=1)}function ze(e,t,n,r){const i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];i?e[2]>>10<e[18]>>16&&(3&e[2])===t&&(e[2]+=1024,o.call(a)):o.call(a)}let We=null;function Ue(e){We=e}function Be(){return Ge}let Ve,qe,Ge,Ke=1,Je=0,Qe=0;function Xe(e=null){ut!==e&&(dt(null==e?-1:e),Ke=null==e?0:1,Je=0,Qe=0)}function Ze(){return Ve}function et(e,t){Ve=e,qe=t}function tt(e=Ge){return 4==(4&e[2])}let nt=null,rt=-1;function it(e){rt=e}let ot=0;function at(e){ot=e}function st(e,t){const n=Ge;return e&&(rt=e[1].bindingStartIndex),Ve=t,qe=!0,Ge=nt=e,n}function lt(e,t){const n=Ge[1];if(tt(Ge))Ge[2]&=-5;else try{Fe(Ge),t&&$e(Ge,n.viewHooks,n.viewCheckHooks,!1,2,void 0)}finally{Ge[2]&=-73,Ge[7]=n.bindingStartIndex}Ue(null),st(e,null)}let ut=-1;function ct(){return ut}function dt(e){ut=e,Ue(null)}let ht=null,ft=!0,pt=!1;function mt(){return pt=!0,ft}function gt(){if(pt)throw new Error("Cannot enable prod mode after platform setup.");ft=!1}class _t{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e="<body><remove></remove>"+e+"</body>";try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const yt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,vt=/^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 bt(e){return(e=String(e)).match(yt)||e.match(vt)?e:(mt()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function wt(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function kt(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Mt=wt("area,br,col,hr,img,wbr"),St=wt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Tt=wt("rp,rt"),xt=kt(Tt,St),Lt=kt(Mt,kt(St,wt("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")),kt(Tt,wt("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")),xt),Dt=wt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ct=wt("srcset"),Ot=kt(Dt,Ct,
2wt("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"),wt("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")),Et=wt("script,style,template");class jt{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);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(!Lt.hasOwnProperty(t))return this.sanitizedSomething=!0,!Et.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let i=0;i<n.length;i++){const e=n.item(i),t=e.name,o=t.toLowerCase();if(!Ot.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let a=e.value;Dt[o]&&(a=bt(a)),Ct[o]&&(r=a,a=(r=String(r)).split(",").map(e=>bt(e.trim())).join(", ")),this.buf.push(" ",t,'="',It(a),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Lt.hasOwnProperty(t)&&!Mt.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(It(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 At=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Pt=/([^\#-~ |!])/g;function It(e){return e.replace(/&/g,"&amp;").replace(At,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Pt,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Yt;function Rt(e,t){let n=null;try{Yt=Yt||new _t(e);let r=t?String(t):"";n=Yt.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Yt.getInertBodyElement(r)}while(r!==o);const a=new jt,s=a.sanitizeChildren(Nt(n)||n);return mt()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n){const e=Nt(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function Nt(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const Ft=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}();class Ht{}const $t=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),zt=/^url\(([^)]+)\)$/;function Wt(e){if(!(e=String(e).trim()))return"";const t=e.match(zt);return t&&bt(t[1])===t[1]||e.match($t)&&function(e){let t=!0,n=!0;for(let r=0;r<e.length;r++){const i=e.charAt(r);"'"===i&&n?t=!t:'"'===i&&t&&(n=!n)}return t&&n}(e)?e:(mt()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}const Ut=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();function Bt(e){return!!e.listen}class Vt{constructor(){this._players=[]}flushPlayers(){for(let e=0;e<this._players.length;e++){const t=this._players[e];t.parent||0!==t.state||t.play()}this._players.length=0}queuePlayer(e){this._players.push(e)}}function qt(e,t,n,r){const i=[e||null,0,[],n||[null,null],r||[null,null],[0,0],[0],[0],null,null];return Gt(i,0),i}function Gt(e,t,n=-1,r){const i=e[2],o=2*t,a=o+2;for(let l=i.length;l<a;l+=2)i.push(-1,null);const s=o+0;n>=0&&-1===i[s]&&(i[s]=n,i[o+1]=r||null)}function Kt(e,t,n,r,i,o){return o=o||n,i?e[i]=r:e.push(r),!!r&&(r.addEventListener(200,()=>{const t=e.indexOf(r);
2t&&(t<e[0]?e[t]=null:e.splice(t,1)),r.destroy()}),(t.playerHandler||(t.playerHandler=new Vt)).queuePlayer(r,o),!0)}function Jt(e){const t=e[3];return Ye(t)?t[3]:t}function Qt(e){return function(e){let t=Ie(e)?e:Ne(e);for(;t&&!(512&t[2]);)t=Jt(t);return t}(e)[9]}function Xt(e){return e.ngDebugContext}function Zt(e){return e.ngOriginalError}function en(e,...t){e.error(...t)}class tn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||en}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Xt(e)?Xt(e):this._findContext(Zt(e)):null}_findOriginalError(e){let t=Zt(e);for(;t&&Zt(t);)t=Zt(t);return t}}function nn(e){return"ng-reflect-"+e.replace(/[$@]/g,"_").replace(rn,(...e)=>"-"+e[1].toLowerCase())}const rn=/([A-Z])/g;function on(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}const an={};function sn(e,t,n,r){const i=e[8];if(null!=i){const e=function(e,t){for(let n=1;n<e.length;n+=3)if(e[n+0]>t)return n;return e.length}(i,t);i.splice(e,0,t,n,r)}}function ln(e,t,n,r){for(let i=n;i<r;i+=4)if(jn(e,i)===t)return i;return-1}function un(e,t,n=0){dn(e,t,!0,n)}function cn(e,t,n=0){dn(e,t,!1,n)}function dn(e,t,n,r=0){if(function(e,t,n,r){return!e[t?6:7][1+4*n+0]&&(r===an||qn(e,t,n)===r)}(e,n,r,t))return;const i=(t=t===an?qn(e,n,r):t)instanceof class{constructor(e,t){this.fn=e,this.value=t}}?new $n(t,e[0],n?1:2):null,o=i?t.value:t,a=n?1:3;let s,l,u,c=i?a:0,d=!1;(function(e,t,n){const r=e[9];if(t){if(!r||0===n)return!0}else if(!r)return!1;return r[n]!==t})(e,i,a)&&(function(e,t,n){let r=e[9]||(e[9]=[5,null,null,null,null]);n>0?r[n]=t:(r.splice(n=r[0],0,t,null),r[0]+=2)}(e,i,a),d=!0);let h=!1;n?("string"==typeof o?(u=o.split(/\s+/),h=!0):u=o?Object.keys(o):Se,s=kn(e),l=e.length):(s=Mn(e),l=kn(e),u=o?Object.keys(o):Se),function(e,t,n,r,i,o,a,s,l){let u=!1;const c=1+4*t,d=e[l?6:7],h=d[c+1],f=d[c+3];let p=1===d[c+0]||!(d[c+2]||!s),m=0,g=0;const _=!0===a;let y=r,v=o.length;for(;y<h;){const r=jn(e,y);if(v)for(let i=0;i<o.length;i++){const s=o[i],c=s?l?s:Gn(s):null;if(c&&r===c){const r=En(e,y),s=zn(e,y),l=!!_||a[c],d=On(e,y);Hn(d,r,l)&&Bn(r,l,s,t)&&(Tn(e,y,l),xn(e,y,n,t),Fn(e,d,l)&&(pn(e,y,!0),u=!0)),o[i]=null,v--;break}}y+=4}if(v){const r=l?null:Un(e,t);e:for(let s=0;s<o.length;s++){const c=o[s];if(!c)continue;const d=!!_||a[c],f=l?c:Gn(c),v=y>=h;for(let r=y;r<i;r+=4)if(jn(e,r)===f){const i=zn(e,r),o=Ln(e,r),a=En(e,r),s=On(e,r);Bn(a,d,i,t)&&(v&&(In(e,y,r),m++),Hn(s,a,d)&&((null===d||void 0===d&&d!==a)&&(p=!0),Tn(e,y,d),(null!==a||Fn(e,s,d))&&(pn(e,y,!0),u=!0)),i===t&&n===o||xn(e,y,n,t)),y+=4;continue e}null!=d&&(p=!0,m++,Yn(e,v?y:h+4*g,l,f,1|Nn(e,f,l,r),d,t,n),g++,i+=4,y+=4,u=!0)}}for(;y<i;){p=!0;const r=En(e,y),i=On(e,y);zn(e,y),null!=r&&(p=!0),Hn(i,r,null)&&(Tn(e,y,null),Fn(e,i,r)&&(pn(e,y,!0),u=!0),xn(e,y,n,t)),y+=4}p=p||f!==m,function(e,t,n,r,i,o,a,s){const l=e[n?6:7],u=1+4*t;if(s){const e=i+4*a;for(let t=u+4;t<l.length;t+=4)l[t+1]=e,l[t+0]=1}l[u+0]=0,l[u+1]=i,l[u+2]=r,l[u+3]=a;let c=a;for(let d=1;d<u;d+=4)c+=l[d+3];if(!n){const t=e[6],n=o-t[2];for(let e=1;e<t.length;e+=4)t[e+1]+=n}l[0]=c}(e,t,l,s,h,i,m,p),u&&An(e,!0)}(e,r,c,s,l,u,h||o||Me,t,n),d&&Pn(e,!0)}function hn(e,t,n,r,i,o,a){n=i&&n?i(t,n,3):n,o||a?(o&&o.setValue(t,n),a&&a.setValue(t,n)):n?(n=n.toString(),Bt(r)?r.setStyle(e,t,n,Ut.DashCase):e.style.setProperty(t,n)):Bt(r)?r.removeStyle(e,t,Ut.DashCase):e.style.removeProperty(t)}function fn(e,t,n,r,i,o){i||o?(i&&i.setValue(t,n),o&&o.setValue(t,n)):""!==t&&(n?Bt(r)?r.addClass(e,t):e.classList.add(t):Bt(r)?r.removeClass(e,t):e.classList.remove(t))}function pn(e,t,n){const r=t>=10?t+0:t;n?e[r]|=1:e[r]&=-2}function mn(e,t){return 1==(1&e[t>=10?t+0:t])}function gn(e,t){return 2==(2&e[t>=10?t+0:t])}function _n(e,t){return 4==(4&e[t>=10?t+0:t])}function yn(e,t,n){return 31&e|t<<5|n<<19}function vn(e,t){const n=bn(t);return(2&t?e[4]:e[3])[n]}function bn(e){return e>>5&16383}function wn(e){const t=e>>19&16383;return t>=10?t:-1}function kn(e){return e[6][2]}function Mn(e){return e[7][2]}function Sn(e,t,n){e[t+1]=n}
2function Tn(e,t,n){e[t+2]=n}function xn(e,t,n,r){const i=function(e,t){return t<<16|e}(r,n);e[t+3]=i}function Ln(e,t){return e[t+3]>>16&65535}function Dn(e,t){const n=Ln(e,t);if(n){const t=e[9];if(t)return t[n]}return null}function Cn(e,t,n){e[1===t?t:t+0]=n}function On(e,t){return e[1===t?t:t+0]}function En(e,t){return e[t+2]}function jn(e,t){return e[t+1]}function An(e,t){pn(e,1,t)}function Pn(e,t){t?e[1]|=8:e[1]&=-9}function In(e,t,n){if(t===n)return;const r=En(e,t),i=jn(e,t),o=On(e,t),a=Ln(e,t),s=zn(e,t);let l=o,u=On(e,n);const c=wn(l);if(c>=0){const t=On(e,c);Cn(e,c,yn(t,bn(t),n))}const d=wn(u);if(d>=0){const n=On(e,d);Cn(e,d,yn(n,bn(n),t))}Tn(e,t,En(e,n)),Sn(e,t,jn(e,n)),Cn(e,t,On(e,n)),xn(e,t,Ln(e,n),zn(e,n)),Tn(e,n,r),Sn(e,n,i),Cn(e,n,o),xn(e,n,a,s)}function Yn(e,t,n,r,i,o,a,s){const l=t<e.length;e.splice(t,0,1|i|(n?2:0),r,o,0),xn(e,t,s,a),l&&function(e,t){for(let n=t;n<e.length;n+=4){const t=wn(On(e,n));if(t>0){const r=bn(On(e,t));Cn(e,t,yn((mn(e,t)?1:0)|(gn(e,t)?2:0)|(_n(e,t)?4:0),r,n))}}}(e,t+4)}function Rn(e,t){return null!==e}function Nn(e,t,n,r){let i,o=r&&r(t,null,1)?4:0;return n?(o|=2,i=Wn(e[4],t)):i=Wn(e[3],t),i=i>0?i+1:0,yn(o,i,0)}function Fn(e,t,n){const r=vn(e,t);return!r||Hn(t,r,n)}function Hn(e,t,n){return!(2&e)&&t&&n&&4&e?t.toString()!==n.toString():t!==n}class $n{constructor(e,t,n){this._element=t,this._type=n,this._values={},this._dirty=!1,this._factory=e}setValue(e,t){this._values[e]!==t&&(this._values[e]=t,this._dirty=!0)}buildPlayer(e,t){if(this._dirty){const n=this._factory.fn(this._element,this._type,this._values,t,e||null);return this._values={},this._dirty=!1,n}}}function zn(e,t){return 65535&e[t+3]}function Wn(e,t){for(let n=2;n<e.length;n+=3)if(e[n]===t)return n;return-1}function Un(e,t){const n=e[2];return n[2*t+1]||n[1]||null}function Bn(e,t,n,r){return null==e||(null!=t?r<=n:n===r)}function Vn(e){const t=e[4];let n=t[1];if(null===n){n="";for(let e=2;e<t.length;e+=3)t[e+1]&&(n+=(n.length?" ":"")+t[e]);t[1]=n}return n}function qn(e,t,n){return e[t?6:7][1+4*n+2]||null}function Gn(e){return e.replace(/[a-z][A-Z]/g,e=>`${e.charAt(0)}-${e.charAt(1).toLowerCase()}`)}function Kn(e,t,n,r,i=0){const o=e[n?6:7];if(t>0){const e=1+4*t;for(;o.length<e;)o.push(0,r,null,0)}o.push(0,r,null,i)}const Jn=(()=>Promise.resolve(null))();function Qn(e){const t=e[1],n=tt(e);if(t.firstTemplatePass=!1,e[7]=t.bindingStartIndex,!n){const n=!1;He(e,t,n,void 0),function(e){for(let t=e[14];null!==t;t=t[4])if(-1===t[2]&&Ye(t))for(let e=9;e<t.length;e++){const n=t[e];Zn(n,n[1],n[9])}}(e),Xn(t,e),Fe(e),$e(e,t.contentHooks,t.contentCheckHooks,n,1,void 0),function(e,t){const n=ct();try{if(e.expandoInstructions){let n=t[7]=e.expandoStartIndex;it(n);let r=-1,i=-1;for(let o=0;o<e.expandoInstructions.length;o++){const a=e.expandoInstructions[o];"number"==typeof a?(a<=0?(i=-a,Xe(i),n+=9+e.expandoInstructions[++o],r=n):n+=a,it(n)):(null!==a&&(t[7]=n,a(2,Pe(t[r]),i),Ke+=1+Qe,Je=0,Qe=0),r++)}}}finally{Xe(n)}}(t,e)}n&&t.staticContentQueries&&Xn(t,e),function(e){if(null!=e)for(let t=0;t<e.length;t++)rr(e[t])}(t.components)}function Xn(e,t){if(null!=e.contentQueries){at(0);for(let n=0;n<e.contentQueries.length;n++){const r=e.contentQueries[n];e.data[r].contentQueries(2,t[r],r)}}}function Zn(e,t,n){const r=qe,i=Ze();let o;if(512&e[2])ir(Qt(e));else{let a=!1;try{et(null,!0),o=st(e,e[6]),Fe(e),tr(e,t.template,nr(e),n),e[1].firstTemplatePass=!1,Qn(e),a=!0}finally{lt(o,a),et(i,r)}}}function er(e,t,n){const r=e[11],i=st(e,e[6]),o=tt(e);let a=!1;try{!o&&r.begin&&r.begin(),o&&(n&&tr(e,n,1,t),Qn(e),e[2]&=-5),Fe(e),n&&tr(e,n,2,t),Qn(e),a=!0}finally{!o&&r.end&&r.end(),lt(i,a)}}function tr(e,t,n,r){ht=null;const i=ct();try{Xe(null),2&n&&function(e,t){He(e,e[1],!1,0),dt(0)}(e),t(n,r)}finally{dt(i)}}function nr(e){return tt(e)?1:2}function rr(e){const t=Be(),n=function(e,t){const n=t[e];return Ie(n)?n:n[0]}(e,t);(128==(128&n[2])||tt(t))&&80&n[2]&&(function(e){const t=e[1];for(let n=e.length;n<t.blueprint.length;n++)e[n]=t.blueprint[n]}(n),function(e,t){const n=e[1],r=st(e,e[6]),i=n.template,o=tt(e);let a=!1;try{Fe(e),o&&or(1,n,t),tr(e,i,nr(e),t),Qn(e),o&&!n.staticViewQueries||or(2,n,t),a=!0}
2finally{lt(r,a)}}(n,n[9]))}function ir(e){for(let t=0;t<e.components.length;t++){const n=e.components[t];er(Ne(n),n)}}function or(e,t,n){const r=t.viewQuery;r&&(at(t.viewQueryStartIndex),r(e,n))}function ar(e,t,n){const r=e[1];for(let i=0;i<t.length;){const o=t[i++],a=t[i++],s=t[i++],l=e[o],u=r.data[o];u.setInput?u.setInput(l,n,a,s):l[s]=n}}let sr=null;function lr(){if(!sr){const e=P.Symbol;if(e&&e.iterator)sr=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(sr=n)}}}return sr}function ur(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function cr(e,t){const n=hr(e),r=hr(t);if(n&&r)return function(e,t,n){const r=e[lr()](),i=t[lr()]();for(;;){const e=r.next(),t=i.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,cr);{const i=e&&("object"==typeof e||"function"==typeof e),o=t&&("object"==typeof t||"function"==typeof t);return!(n||!i||r||!o)||ur(e,t)}}class dr{constructor(e){this.wrapped=e}static wrap(e){return new dr(e)}static unwrap(e){return dr.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof dr}}function hr(e){return!!fr(e)&&(Array.isArray(e)||!(e instanceof Map)&&lr()in e)}function fr(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function pr(e,t,n){const r=Ze();r.stylingTemplate||(r.stylingTemplate=qt());const i=vr();i?(Gt(r.stylingTemplate,i),(r.onElementCreationFns=r.onElementCreationFns||[]).push(()=>{mr(r,e,t,n,i),function(e,t){let n=e[8];n||(n=e[8]=[0]),n[0]=t}(r.stylingTemplate,i)})):mr(r,e,t,n,0)}function mr(e,t,n,r,i){!function(e,t,n,r,i){if(16&e[1])return;if(!function(e,t,n,r){const i=e[2],o=2*t;return!(o<i.length&&i[o+0]>=0||(Gt(e,t,e[5].length,r),0))}(e,t,0,i))return;r&&(r=function(e){const t=[];for(let n=0;n<e.length;n++)t.push(Gn(e[n]));return t}(r));const o=e[5],a=o[1],s=o[0],l=e[6],u=e[7],c=4*s;let d=10+c,h=d+4*a,f=h+c;const p=o.length;o.push(r?r.length:0,n?n.length:0);let m=0;const g=[];if(r&&r.length)for(let E=0;E<r.length;E++){const t=r[E];let n=ln(e,t,10,d);-1==n&&(n=d+m,m+=4,g.push(t)),o.push(n)}const _=[];if(n&&n.length)for(let E=0;E<n.length;E++){const t=n[E];let r=ln(e,t,d,h);-1==r?(r=h+m,m+=4,_.push(t)):r+=4*g.length,o.push(r)}let y=2;if(g.length)for(;y<p;){const e=o[y+0],t=o[y+1];if(t){const n=y+2+e;for(let e=n;e<n+t;e++)o[e]+=4*g.length}y+=2+(e+t)}const v=_.length+g.length;for(let E=10;E<e.length;E+=4){const t=E>=h,n=E>=(t?f:d),r=On(e,E),i=bn(r);let o=wn(r);o+=t?n?4*g.length:0:4*v+4*(n?g.length:0),Cn(e,E,yn(r,i,o))}for(let E=0;E<4*g.length;E++)e.splice(f,0,null),e.splice(d,0,null),d++,h++,f+=2;
2for(let E=0;E<4*_.length;E++)e.splice(h,0,null),e.push(null),h++,f++;const b=e[4],w=e[3];for(let E=0;E<v;E++){const n=E>=g.length,r=n?E-g.length:E,o=n?_[r]:g[r];let l,u;n?(l=f+4*(a+r),u=d+4*(a+r)):(l=h+4*(s+r),u=10+4*(s+r));let c=n?b:w,p=Wn(c,o);-1===p?(M=c,S=o,T=!n&&null,x=t,null===(k=null)&&(k=M.length,M.push(null,null,null),M[k+0]=S),M[k+1]=T,M[k+2]=x,p=k+1):p+=1;const m=Nn(e,o,n,i||null);Cn(e,u,yn(m,p,l)),Sn(e,u,o),Tn(e,u,null),xn(e,u,0,t),Cn(e,l,yn(m,p,u)),Sn(e,l,o),Tn(e,l,null),xn(e,l,0,t)}var k,M,S,T,x;o[1]=a+_.length,o[0]=s+g.length,l[0]+=_.length,u[0]+=g.length;const L=4*g.length,D=4*_.length,C=u.length;Kn(e,t,!1,h+4*s,g.length);for(let E=1;E<C;E+=4)u[E+1]+=D+L;const O=l.length;Kn(e,t,!0,f+4*a,_.length);for(let E=1;E<O;E+=4)l[E+1]+=2*L+D;Cn(e,1,yn(0,0,h))}(e.stylingTemplate,i,t,n,r)}function gr(e){const t=ct(),n=Be(),r=br(t,n),i=vr();if(i)sn(r,i,cn,[r,e,i]);else{const i=Re(t,n);if(function(e){return 0!=(16&e.flags)}(i)&&e!==an){const t=Vn(r),o=(t.length?t+" ":"")+function(e){let t="";if(e){const n=Object.keys(e);for(let r=0;r<n.length;r++){const i=n[r];t+=(r?";":"")+`${i}:${e[i]}`}}return t}(e);ar(n,i.inputs.style,o),e=an}cn(r,e)}}function _r(e){const t=ct(),n=Be(),r=br(t,n),i=vr();if(i)sn(r,i,un,[r,e,i]);else{const i=Re(t,n);if(function(e){return 0!=(8&e.flags)}(i)&&e!==an){const t=Vn(r),o=(t.length?t+" ":"")+function(e){return e&&"string"!=typeof e&&(e=Object.keys(e).join(" ")),e||""}(e);ar(n,i.inputs.class,o),e=an}un(r,e)}}function yr(){const e=ct(),t=vr()||0,n=Be(),r=3===Re(e,n).type?n[12]:null,i=0!=(8&n[2]);(function(e,t,n,r,i,o,a=0){let s=0;if(function(e,t){const n=e[8];return!n||n[0]===t}(e,a)&&(function(e){const t=e[8];if(t){for(let e=1;e<t.length;e+=3)t[e+1].apply(this,t[e+2]);t.length=1}}(e),function(e){return mn(e,1)}(e))){const a=e[0],l=8&e[1],u=Mn(e);for(let n=10;n<e.length;n+=4)if(mn(e,n)){const s=On(e,n),l=zn(e,n),c=jn(e,n),d=En(e,n),h=4&s?Un(e,l):null,f=Dn(e,n),p=!!(2&s);let m=d;n<u&&!Rn(m)&&(m=En(e,wn(s))),Rn(m)||(m=vn(e,s)),t&&(!r||m)&&(p?fn(a,c,!!m,t,i,f):hn(a,c,m,t,h,o,f)),pn(e,n,!1)}if(l){const t=Array.isArray(n)?Qt(n):n,i=function(e){return e[9]}(e),o=i[0];for(let e=1;e<o;e+=2){const n=i[e],o=e+1,l=i[o];if(n){const e=n.buildPlayer(l,r);void 0!==e&&(null!=e&&Kt(i,t,a,e,o)&&s++,l&&l.destroy())}else l&&l.destroy()}Pn(e,!1)}An(e,!1)}return s})(br(e,n),r,n,i,null,null,t)>0&&function(e,t){const n=0===e.flags;if(e.flags|=2,n&&e.clean==Jn){let t;e.clean=new Promise(e=>t=e),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,ir(e)),2&e.flags){e.flags&=-3;const t=e.playerHandler;t&&t.flushPlayers()}e.clean=Jn,t(null)})}}(Qt(n)),Ue(null)}function vr(){return Ke+Je}function br(e,t){let n=We;return n||(n=function(e,t){let n=e,r=t[n],i=t;for(;Array.isArray(r);)i=r,r=r[0];if(o=i,Array.isArray(o)&&"number"==typeof o[1])return i;var o;{const o=Re(e-20,t).stylingTemplate;return i!==t&&(n=0),i[n]=o?function(e,t){const n=t.slice();for(let r=0;r<10;r++){const e=t[r];Array.isArray(e)&&(n[r]=e.slice())}return n[0]=e,n[1]|=16,n}(r,o):qt(r)}}(e+20,t),Ue(n)),n}function wr(e){return!!e&&"function"==typeof e.then}function kr(e){return!!e&&"function"==typeof e.subscribe}class Mr{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}class Sr{}function Tr(e){const t=Error(`No component factory found for ${x(e)}. Did you add it to @NgModule.entryComponents?`);return t[xr]=e,t}const xr="ngComponent";class Lr{resolveComponentFactory(e){throw Tr(e)}}let Dr=(()=>{class e{}return e.NULL=new Lr,e})();class Cr{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;r<e.length;r++){const t=e[r];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Tr(e);return new Or(t,this._ngModule)}}class Or extends Sr{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}class Er{}class jr{}function Ar(...e){}let Pr=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Ir(e),e})();const Ir=Ar;class Yr{}class Rr{}const Nr=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let Fr=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Hr(),e})();const Hr=Ar;class $r{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const zr=new $r("8.1.3");
vendor: 33,432 bytes, line 2
2class Wr{constructor(){}supports(e){return hr(e)}create(e){return new Br(e)}}const Ur=(e,t)=>t;class Br{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||Ur}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,i=null;for(;t||n;){const o=!n||t&&t.currentIndex<Kr(n,r,i)?t:n,a=Kr(o,r,i),s=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);const e=a-r,t=s-r;if(e!=t){for(let n=0;n<e;n++){const r=n<i.length?i[n]:i[n]=0,o=r+n;t<=o&&o<e&&(i[n]=r+1)}i[o.previousIndex]=t-e}}a!==s&&e(o,a,s)}}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=[]),!hr(e))throw new Error(`Error trying to diff '${x(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,i=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],r=this._trackByFn(t,n),null!==i&&ur(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,n,r,t)),ur(i.item,n)||this._addIdentityChange(i,n)):(i=this._mismatch(i,n,r,t),o=!0),i=i._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[lr()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==i&&ur(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,e,r,t)),ur(i.item,e)||this._addIdentityChange(i,e)):(i=this._mismatch(i,e,r,t),o=!0),i=i._next,t++}),this.length=t;return this._truncate(i),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,n,r){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(ur(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(ur(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new Vr(t,n),i,r),e}_verifyReinsertion(e,t,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),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,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Gr),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._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 Gr),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 Vr{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 qr{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 n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&ur(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Gr{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new qr,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.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 Kr(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class Jr{constructor(){}supports(e){return e instanceof Map||fr(e)}create(){return new Qr}}class Qr{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||fr(e)))throw new Error(`Error trying to diff '${x(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,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),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 n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new Xr(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_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){ur(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(n=>t(e[n],n))}}class Xr{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 Zr=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new y,new g]]}}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 '${n=e,n.name||typeof n}'`);var n}}return e.ngInjectableDef=k({token:e,providedIn:"root",factory:()=>new e([new Wr])}),e})(),ei=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new y,new g]]}}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.ngInjectableDef=k({token:e,providedIn:"root",factory:()=>new e([new Jr])}),e})(),ti=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>ni(),e})();const ni=(...e)=>{},ri=[new Jr],ii=new Zr([new Wr]),oi=new ei(ri);let ai=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>si(e,Pr),e})();const si=Ar;let li=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>ui(e,Pr),e})();const ui=Ar;function ci(e,t,n,r){let i=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return di(n,t),n}(i,e)}function di(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function hi(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}function fi(e,t,n){const r=e.state,i=1792&r;return i===t?(e.state=-1793&r|n,e.initIndex=-1,!0):i===n}function pi(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function mi(e,t){return e.nodes[t]}function gi(e,t){return e.nodes[t]}function _i(e,t){return e.nodes[t]}function yi(e,t){return e.nodes[t]}function vi(e,t){return e.nodes[t]}const bi={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},wi=()=>{},ki=new Map;function Mi(e){let t=ki.get(e);return t||(t=x(e)+"_"+ki.size,ki.set(e,t)),t}function Si(e,t,n,r){if(dr.isWrapped(r)){r=dr.unwrap(r);const i=e.def.nodes[t].bindingIndex+n,o=dr.unwrap(e.oldValues[i]);e.oldValues[i]=new dr(o)}return r}function Ti(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let xi=0;function Li(e,t,n,r){return!(!(2&e.state)&&ur(e.oldValues[t.bindingIndex+n],r))}function Di(e,t,n,r){return!!Li(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Ci(e,t,n,r){const i=e.oldValues[t.bindingIndex+n];if(1&e.state||!cr(i,r)){const o=t.bindings[n].name;throw ci(bi.createDebugContext(e,t.nodeIndex),`${o}: ${i}`,`${o}: ${r}`,0!=(1&e.state))}}function Oi(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Ei(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function ji(e,t,n,r){try{return Oi(33554432&e.def.nodes[t].flags?gi(e,t).componentView:e),bi.handleEvent(e,t,n,r)}catch(i){e.root.errorHandler.handleError(i)}}function Ai(e){return e.parent?gi(e.parent,e.parentNodeDef.nodeIndex):null}function Pi(e){return e.parent?e.parentNodeDef.parent:null}function Ii(e,t){switch(201347067&t.flags){case 1:return gi(e,t.nodeIndex).renderElement;case 2:return mi(e,t.nodeIndex).renderText}}function Yi(e,t){return e?`${e}:${t}`:t}function Ri(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Ni(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Fi(e){return 1<<e%32}function Hi(e){const t={};let n=0;const r={};return e&&e.forEach(([e,i])=>{"number"==typeof e?(t[e]=i,n|=Fi(e)):r[e]=i}),{matchedQueries:t,references:r,matchedQueryIds:n}}function $i(e,t){return e.map(e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,"__source",{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Mi(n)}})}function zi(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===ke.Native?gi(e,n.renderParent.nodeIndex).renderElement:void 0:t}const Wi=new WeakMap;function Ui(e){let t=Wi.get(e);return t||(t=e(()=>wi),t.factory=e,Wi.set(e,t)),t}function Bi(e,t,n,r,i){3===t&&(n=e.renderer.parentNode(Ii(e,e.def.lastRenderRootNode))),Vi(e,t,0,e.def.nodes.length-1,n,r,i)}function Vi(e,t,n,r,i,o,a){for(let s=n;s<=r;s++){const n=e.def.nodes[s];11&n.flags&&Gi(e,n,t,i,o,a),s+=n.childCount}}function qi(e,t,n,r,i,o){let a=e;for(;a&&!Ri(a);)a=a.parent;const s=a.parent,l=Pi(a),u=l.nodeIndex+l.childCount;for(let c=l.nodeIndex+1;c<=u;c++){const e=s.def.nodes[c];e.ngContentIndex===t&&Gi(s,e,n,r,i,o),c+=e.childCount}if(!s.parent){const a=e.root.projectableNodes[t];if(a)for(let t=0;t<a.length;t++)Ki(e,a[t],n,r,i,o)}}function Gi(e,t,n,r,i,o){if(8&t.flags)qi(e,t.ngContent.index,n,r,i,o);else{const a=Ii(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&Ki(e,a,n,r,i,o),32&t.bindingFlags&&Ki(gi(e,t.nodeIndex).componentView,a,n,r,i,o)):Ki(e,a,n,r,i,o),16777216&t.flags){const a=gi(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<a.length;e++)Bi(a[e],n,r,i,o)}1&t.flags&&!t.element.name&&Vi(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,i,o)}}function Ki(e,t,n,r,i,o){const a=e.renderer;switch(n){case 1:a.appendChild(r,t);break;case 2:a.insertBefore(r,t,i);break;case 3:a.removeChild(r,t);break;case 0:o.push(t)}}const Ji=/^:([^:]+):(.+)$/;function Qi(e){if(":"===e[0]){const t=e.match(Ji);return[t[1],t[2]]}return["",e]}function Xi(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}function Zi(e,t,n,r,i,o,a,s,l,u,c,d,h,f,p,m,g,_,y,v){switch(e){case 1:return t+eo(n)+r;case 2:return t+eo(n)+r+eo(i)+o;case 3:return t+eo(n)+r+eo(i)+o+eo(a)+s;case 4:return t+eo(n)+r+eo(i)+o+eo(a)+s+eo(l)+u;case 5:return t+eo(n)+r+eo(i)+o+eo(a)+s+eo(l)+u+eo(c)+d;case 6:return t+eo(n)+r+eo(i)+o+eo(a)+s+eo(l)+u+eo(c)+d+eo(h)+f;case 7:return t+eo(n)+r+eo(i)+o+eo(a)+s+eo(l)+u+eo(c)+d+eo(h)+f+eo(p)+m;case 8:return t+eo(n)+r+eo(i)+o+eo(a)+s+eo(l)+u+eo(c)+d+eo(h)+f+eo(p)+m+eo(g)+_;case 9:return t+eo(n)+r+eo(i)+o+eo(a)+s+eo(l)+u+eo(c)+d+eo(h)+f+eo(p)+m+eo(g)+_+eo(y)+v;default:throw new Error("Does not support more than 9 expressions")}}function eo(e){return null!=e?e.toString():""}const to=new Object,no=Mi(ue),ro=Mi(Y),io=Mi(Er);function oo(e,t,n,r){return n=C(n),{index:-1,deps:$i(r,x(t)),flags:e,token:t,value:n}}function ao(e){const t={},n=[];let r=!1;for(let i=0;i<e.length;i++){const o=e[i];o.token===se&&!0===o.value&&(r=!0),1073741824&o.flags&&n.push(o.token),o.index=i,t[Mi(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}function so(e,t,n=ue.THROW_IF_NOT_FOUND){const r=$(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const a=t.tokenKey;switch(a){case no:case ro:case io:return e}const s=e._def.providersByKey[a];let l;if(s){let t=e._providers[s.index];return void 0===t&&(t=e._providers[s.index]=lo(e,s)),t===to?void 0:t}if((l=S(t.token))&&(i=e,null!=(o=l).providedIn&&(function(e,t){return e._def.modules.indexOf(t)>-1}(i,o.providedIn)||"root"===o.providedIn&&i._def.isRoot))){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:l.factory,deps:[],index:n,token:t.token},e._providers[n]=to,e._providers[n]=lo(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{$(r)}var i,o}function lo(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(so(e,n[0]));case 2:return new t(so(e,n[0]),so(e,n[1]));case 3:return new t(so(e,n[0]),so(e,n[1]),so(e,n[2]));default:const i=new Array(r);for(let t=0;t<r;t++)i[t]=so(e,n[t]);return new t(...i)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(so(e,n[0]));case 2:return t(so(e,n[0]),so(e,n[1]));case 3:return t(so(e,n[0]),so(e,n[1]),so(e,n[2]));default:const i=Array(r);for(let t=0;t<r;t++)i[t]=so(e,n[t]);return t(...i)}}(e,t.value,t.deps);break;case 2048:n=so(e,t.deps[0]);break;case 256:n=t.value}return n===to||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?to:n}function uo(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,po(n,t),bi.dirtyParentQueries(r),ho(r),r}function co(e,t,n){const r=t?Ii(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);Bi(n,2,i,o,void 0)}function ho(e){Bi(e,3,null,null,void 0)}function fo(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function po(e,t){t>=e.length-1?e.pop():e.splice(t,1)}const mo=new Object;function go(e,t,n,r,i,o){return new _o(e,t,n,r,i,o)}class _o extends Sr{constructor(e,t,n,r,i,o){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=i,this.ngContentSelectors=o,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const i=Ui(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,a=bi.createRootView(e,t||[],n,i,r,mo),s=_i(a,o).instance;return n&&a.renderer.setAttribute(gi(a,0).renderElement,"ng-version",zr.full),new yo(a,new ko(a),s)}}class yo extends class{}{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new Pr(gi(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new xo(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function vo(e,t,n){return new bo(e,t,n)}class bo{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Pr(this._data.renderElement)}get injector(){return new xo(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=Pi(e),e=e.parent;return e?new xo(e,t):new xo(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=uo(this._data,e);bi.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new ko(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,i){const o=n||this.parentInjector;i||e instanceof Or||(i=o.get(Er));const a=e.create(o,r,void 0,i);return this.insert(a.hostView,t),a}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,r){let i=t.viewContainer._embeddedViews;null==n&&(n=i.length),r.viewContainerParent=e,fo(i,n,r),function(e,t){const n=Ai(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),bi.dirtyParentQueries(r),co(t,n>0?i[n-1]:null,r)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const r=e.viewContainer._embeddedViews,i=r[t];po(r,t),null==n&&(n=r.length),fo(r,n,i),bi.dirtyParentQueries(i),ho(i),co(e,n>0?r[n-1]:null,i)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=uo(this._data,e);t&&bi.destroyView(t)}detach(e){const t=uo(this._data,e);return t?new ko(t):null}}function wo(e){return new ko(e)}class ko{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return Bi(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){Oi(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{bi.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){bi.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),bi.destroyView(this._view)}detachFromAppRef(){this._appRef=null,ho(this._view),bi.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function Mo(e,t){return new So(e,t)}class So extends ai{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new ko(bi.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Pr(gi(this._parentView,this._def.nodeIndex).renderElement)}}function To(e,t){return new xo(e,t)}class xo{constructor(e,t){this.view=e,this.elDef=t}get(e,t=ue.THROW_IF_NOT_FOUND){return bi.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Mi(e)},t)}}function Lo(e,t){const n=e.def.nodes[t];if(1&n.flags){const t=gi(e,n.nodeIndex);return n.element.template?t.template:t.renderElement}if(2&n.flags)return mi(e,n.nodeIndex).renderText;if(20240&n.flags)return _i(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Do(e){return new Co(e.renderer)}class Co{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,r]=Qi(t),i=this.delegate.createElement(r,n);return e&&this.delegate.appendChild(e,i),i}createViewRoot(e){return e}createTemplateAnchor(e){const t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t}createText(e,t){const n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n}projectNodes(e,t){for(let n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])}attachViewAfter(e,t){const n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e);for(let i=0;i<t.length;i++)this.delegate.insertBefore(n,t[i],r)}detachView(e){for(let t=0;t<e.length;t++){const n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}}destroyView(e,t){for(let n=0;n<t.length;n++)this.delegate.destroyNode(t[n])}listen(e,t,n){return this.delegate.listen(e,t,n)}listenGlobal(e,t,n){return this.delegate.listen(e,t,n)}setElementProperty(e,t,n){this.delegate.setProperty(e,t,n)}setElementAttribute(e,t,n){const[r,i]=Qi(t);null!=n?this.delegate.setAttribute(e,i,n,r):this.delegate.removeAttribute(e,i,r)}setBindingDebugInfo(e,t,n){}setElementClass(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)}setElementStyle(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)}invokeElementMethod(e,t,n){e[t].apply(e,n)}setText(e,t){this.delegate.setValue(e,t)}animate(){throw new Error("Renderer.animate is no longer supported!")}}function Oo(e,t,n,r){return new Eo(e,t,n,r)}class Eo{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=new Array(t.providers.length);for(let r=0;r<t.providers.length;r++){const i=t.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=lo(e,i))}}(this)}get(e,t=ue.THROW_IF_NOT_FOUND,n=b.Default){let r=0;return n&b.SkipSelf?r|=1:n&b.Self&&(r|=4),so(this,{token:e,tokenKey:Mi(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Dr)}destroy(){if(this._destroyed)throw new Error(`The ng module ${x(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let i=0;i<n.providers.length;i++)if(131072&n.providers[i].flags){const t=e._providers[i];if(t&&t!==to){const e=t.ngOnDestroy;"function"!=typeof e||r.has(t)||(e.apply(t),r.add(t))}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}const jo=Mi(Yr),Ao=Mi(Fr),Po=Mi(Pr),Io=Mi(li),Yo=Mi(ai),Ro=Mi(ti),No=Mi(ue),Fo=Mi(Y);function Ho(e,t,n,r,i,o,a,s){const l=[];if(a)for(let c in a){const[e,t]=a[c];l[e]={flags:8,name:c,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const u=[];if(s)for(let c in s)u.push({type:1,propName:c,target:null,eventName:s[c]});return Wo(e,t|=16384,n,r,i,i,o,l,u)}function $o(e,t,n){return Wo(-1,e|=16,null,0,t,t,n)}function zo(e,t,n,r,i){return Wo(-1,e,t,0,n,r,i)}function Wo(e,t,n,r,i,o,a,s,l){const{matchedQueries:u,references:c,matchedQueryIds:d}=Hi(n);l||(l=[]),s||(s=[]),o=C(o);const h=$i(a,x(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:d,references:c,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:Xi(s),outputs:l,element:null,provider:{token:i,value:o,deps:h},text:null,query:null,ngContent:null}}function Uo(e,t){return Go(e,t)}function Bo(e,t){let n=e;for(;n.parent&&!Ri(n);)n=n.parent;return Ko(n.parent,Pi(n),!0,t.provider.value,t.provider.deps)}function Vo(e,t){const n=Ko(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let r=0;r<t.outputs.length;r++){const i=t.outputs[r],o=n[i.propName];if(!kr(o))throw new Error(`@Output ${i.propName} not initialized in '${n.constructor.name}'.`);{const n=o.subscribe(qo(e,t.parent.nodeIndex,i.eventName));e.disposables[t.outputIndex+r]=n.unsubscribe.bind(n)}}return n}function qo(e,t,n){return r=>ji(e,t,n,r)}function Go(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Ko(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,i){const o=i.length;switch(o){case 0:return r();case 1:return r(Qo(e,t,n,i[0]));case 2:return r(Qo(e,t,n,i[0]),Qo(e,t,n,i[1]));case 3:return r(Qo(e,t,n,i[0]),Qo(e,t,n,i[1]),Qo(e,t,n,i[2]));default:const a=Array(o);for(let r=0;r<o;r++)a[r]=Qo(e,t,n,i[r]);return r(...a)}}(e,t.parent,n,r.value,r.deps);case 2048:return Qo(e,t.parent,n,r.deps[0]);case 256:return r.value}}function Ko(e,t,n,r,i){const o=i.length;switch(o){case 0:return new r;case 1:return new r(Qo(e,t,n,i[0]));case 2:return new r(Qo(e,t,n,i[0]),Qo(e,t,n,i[1]));case 3:return new r(Qo(e,t,n,i[0]),Qo(e,t,n,i[1]),Qo(e,t,n,i[2]));default:const a=new Array(o);for(let r=0;r<o;r++)a[r]=Qo(e,t,n,i[r]);return new r(...a)}}const Jo={};function Qo(e,t,n,r,i=ue.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const o=e;2&r.flags&&(i=null);const a=r.tokenKey;a===Ro&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let s=e;for(;s;){if(t)switch(a){case jo:return Do(Xo(s,t,n));case Ao:return Xo(s,t,n).renderer;case Po:return new Pr(gi(s,t.nodeIndex).renderElement);case Io:return gi(s,t.nodeIndex).viewContainer;case Yo:if(t.element.template)return gi(s,t.nodeIndex).template;break;case Ro:return wo(Xo(s,t,n));case No:case Fo:return To(s,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[a];if(e){let t=_i(s,e.nodeIndex);return t||(t={instance:Go(s,e)},s.nodes[e.nodeIndex]=t),t.instance}}n=Ri(s),t=Pi(s),s=s.parent,4&r.flags&&(s=null)}const l=o.root.injector.get(r.token,Jo);return l!==Jo||i===Jo?l:o.root.ngModule.injector.get(r.token,i)}function Xo(e,t,n){let r;if(n)r=gi(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Ri(r);)r=r.parent;return r}function Zo(e,t,n,r,i,o){if(32768&n.flags){const t=gi(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[r].name]=i,524288&n.flags){o=o||{};const t=dr.unwrap(e.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new Mr(t,i,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=i,o}function ea(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let i=0;i<n.length;i++){const o=n[i];let a=o.parent;for(!a&&o.flags&t&&na(e,i,o.flags&t,r++),0==(o.childFlags&t)&&(i+=o.childCount);a&&1&a.flags&&i===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(r=ta(e,a,t,r)),a=a.parent}}function ta(e,t,n,r){for(let i=t.nodeIndex+1;i<=t.nodeIndex+t.childCount;i++){const t=e.def.nodes[i];t.flags&n&&na(e,i,t.flags&n,r++),i+=t.childCount}return r}function na(e,t,n,r){const i=_i(e,t);if(!i)return;const o=i.instance;o&&(bi.setCurrentNode(e,t),1048576&n&&pi(e,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&pi(e,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}const ra=new I("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Ae}),ia={},oa=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),aa=void 0;var sa=["en",[["a","p"],["AM","PM"],aa],[["AM","PM"],aa,aa],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2ay","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],aa,[["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"]],aa,[["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}",aa,"{1} 'at' {0}",aa],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];function la(e){return ua(e)[oa.PluralCase]}function ua(e){const t=e.toLowerCase().replace(/_/g,"-");let n=ia[t];if(n)return n;const r=t.split("-")[0];if(n=ia[r],n)return n;if("en"===r)return sa;throw new Error(`Missing locale data for the locale "${e}".`)}let ca="en-US";class da extends r.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,o=e=>null,a=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(o=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(a=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(o=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(a=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(r,o,a);return e instanceof i.a&&e.add(s),s}}function ha(){return this._results[lr()]()}class fa{constructor(){this.dirty=!0,this._results=[],this.changes=new da,this.length=0;const e=lr(),t=fa.prototype;t[e]||(t[e]=ha)}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,n){void 0===n&&(n=t);for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?(n===t&&(n=t.slice(0,r)),e(i,n)):n!==t&&n.push(i)}return n}(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()}}const pa=d("Directive",(e={})=>e,void 0,void 0,(e,t)=>va(e,t)),ma=d("Component",(e={})=>Object.assign({changeDetection:we.Default},e),pa,void 0,(e,t)=>ya(e,t)),ga=p("Output",e=>({bindingPropertyName:e})),_a=p("HostListener",(e,t)=>({eventName:e,args:t})),ya=Ar,va=Ar,ba=d("NgModule",e=>e,void 0,void 0,(e,t)=>wa(e,t)),wa=function(e,t){let n=t&&t.imports||[];var r;t&&t.exports&&(n=[...n,t.exports]),e.ngInjectorDef={factory:(r={factory:ie(e,{useClass:e}),providers:t&&t.providers,imports:n}).factory,providers:r.providers||[],imports:r.imports||[]}},ka=new I("Application Initializer");class Ma{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 n=0;n<this.appInits.length;n++){const t=this.appInits[n]();wr(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}const Sa=new I("AppId");function Ta(){return`${xa()}${xa()}${xa()}`}function xa(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const La=new I("Platform Initializer"),Da=new I("Platform ID"),Ca=new I("appBootstrapListener");class Oa{log(e){console.log(e)}warn(e){console.warn(e)}}const Ea=new I("LocaleId");function ja(){throw new Error("Runtime compiler is not loaded")}const Aa=ja,Pa=ja,Ia=ja,Ya=ja;class Ra{constructor(){this.compileModuleSync=Aa,this.compileModuleAsync=Pa,this.compileModuleAndAllComponentsSync=Ia,this.compileModuleAndAllComponentsAsync=Ya}clearCache(){}clearCacheFor(e){}getModuleId(e){}}class Na{}let Fa,Ha;function $a(){const e=P.wtf;return!(!e||(Fa=e.trace,!Fa)||(Ha=Fa.events,0))}const za=$a();function Wa(e,t){return null}const Ua=za?function(e,t=null){return Ha.createScope(e,t)}:(e,t)=>Wa,Ba=za?function(e,t){return Fa.leaveScope(e,t),t}:(e,t)=>t,Va=(()=>Promise.resolve(0))();function qa(e){"undefined"==typeof Zone?Va.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ga{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new da(!1),this.onMicrotaskEmpty=new da(!1),this.onStable=new da(!1),this.onError=ne
vendor: 5,272 bytes, line 2
2w da(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var t;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)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,i,o,a)=>{try{return Xa(t),e.invokeTask(r,i,o,a)}finally{Za(t)}},onInvoke:(e,n,r,i,o,a,s)=>{try{return Xa(t),e.invoke(r,i,o,a,s)}finally{Za(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t.hasPendingMicrotasks=i.microTask,Qa(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ga.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ga.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,Ja,Ka,Ka);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Ka(){}const Ja={};function Qa(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 Xa(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Za(e){e._nesting--,Qa(e)}class es{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new da,this.onMicrotaskEmpty=new da,this.onStable=new da,this.onError=new da}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}class ts{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:()=>{Ga.assertNotInAngularZone(),qa(()=>{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())qa(()=>{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,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}class ns{constructor(){this._applications=new Map,as.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 as.findTestabilityInTree(this,e,t)}}class rs{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function is(e){as=e}let os,as=new rs;const ss=new I("AllowMultipleToken");class ls{constructor(e,t){this.name=e,this.token=t}}function us(e,t,n=[]){const r="Platform: "+t,i=new I(r);return(t=[])=>{let o=cs();if(!o||o.injector.get(ss,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{const e=n.concat(t).concat({provide:i,useValue:!0});!function(e){if(os&&!os.destroyed&&!os.injector.get(ss,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");os=e.get(ds);const t=e.get(La,null);
2t&&t.forEach(e=>e())}(ue.create({providers:e,name:r}))}return function(e){const t=cs();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}(i)}}function cs(){return os&&!os.destroyed?os:null}class ds{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e){let t;return t="noop"===e?new es:("zone.js"===e?void 0:e)||new Ga({enableLongStackTrace:mt()}),t}(t?t.ngZone:void 0),r=[{provide:Ga,useValue:n}];return n.run(()=>{const t=ue.create({providers:r,parent:this.injector,name:e.moduleType.name}),i=e.create(t),o=i.injector.get(tn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a=i.injector.get(Ea,"en-US"),ca=a.toLowerCase().replace(/_/g,"-"),i.onDestroy(()=>ps(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const r=n();return wr(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=i.injector.get(Ma);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(i),i))});var a})}bootstrapModule(e,t=[]){const n=hs({},t);return function(e,t,n){return e.get(Na).createCompiler([t]).compileModuleAsync(n)}(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(fs);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${x(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}}function hs(e,t){return Array.isArray(t)?t.reduce(hs,e):Object.assign({},e,t)}let fs=(()=>{class e{constructor(e,t,n,r,i,l){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=mt(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new o.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),c=new o.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Ga.assertNotInAngularZone(),qa(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ga.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(a.a)(u,c.pipe(Object(s.a)()))}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 n;n=e instanceof Sr?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n instanceof Or?null:this._injector.get(Er),i=n.create(ue.NULL,[],t||n.selector,r);i.onDestroy(()=>{this._unloadComponent(i)});const o=i.injector.get(ts,null);return o&&i.injector.get(ns).registerApplication(i.location.nativeElement,o),this._loadComponent(i),mt()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const t=e._tickScope();try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,Ba(t)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;ps(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ca,[]).concat(this._bootstrapListeners).forEac
2h(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),ps(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e._tickScope=Ua("ApplicationRef#tick()"),e})();function ps(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class ms{}class gs{}const _s={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};class ys{constructor(e,t){this._compiler=e,this._config=t||_s}load(e){return this._compiler instanceof Ra?this.loadFactory(e):this.loadAndCompile(e)}loadAndCompile(e){let[t,r]=e.split("#");return void 0===r&&(r="default"),n("zn8P")(t).then(e=>e[r]).then(e=>vs(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+i]).then(e=>vs(e,t,r))}}function vs(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}class bs{constructor(e,t){this.name=e,this.callback=t}}class ws{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof ks&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class ks extends ws{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,r){t.childNodes.forEach(t=>{t instanceof ks&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,r){t instanceof ks&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof ks&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof ks)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}const Ms=new Map,Ss=function(e){return Ms.get(e)||null};function Ts(e){Ms.set(e.nativeNode,e)}const xs=us(null,"core",[{provide:Da,useValue:"unknown"},{provide:ds,deps:[ue]},{provide:ns,deps:[]},{provide:Oa,deps:[]}]);function Ls(){return ii}function Ds(){return oi}function Cs(e){return e||"en-US"}function Os(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}class Es{constructor(e){}}function js(e,t,n,r,i,o){e|=1;const{matchedQueries:a,references:s,matchedQueryIds:l}=Hi(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a,matchedQueryIds:l,references:s,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?Ui(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||wi},provider:null,text:null,query:null,ngContent:null}}function As(e,t,n,r,i,o,a=[],s,l,u,c,d){u||(u=wi);const{matchedQueries:h,references:f,matchedQueryIds:p}=Hi(n);let m=null,g=null;o&&([m,g]=Qi(o)),s=s||[];const _=new Array(s.length);for(let b=0;b<s.length;b++){const[e,t,n]=s[b],[r,i]=Qi(t);let o=void 0,a=void 0;switch(15&e){case 4:a=n;break;case 1:case 8:o=n}_[b]={flags:e,ns:r,name:i,nonMinifiedName:i,securityContext:o,suffix:a}}l=l||[];const y=new Array(l.length);for(let b=0;b<l.length;b++){const[e,t]=l[b];y[b]={type:0,target:e,eventName:t,propName:null}}const v=(a=a||[]).map(([e,t])=>{const[n,r]=Qi(e);return[n,r,t]});return d=function(e){if(e&&"$$undefined"===e.id){const t=null!=e.encapsulation&&e.encapsulation!==ke.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+xi++:"$$empty"}return e&&"$$empty"===e.id&&(e=null),e||null}(d),c&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,
vendor: 4,160 bytes, line 2
2checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:p,references:f,ngContentIndex:r,childCount:i,bindings:_,bindingFlags:Xi(_),outputs:y,element:{ns:m,name:g,attrs:v,template:null,componentProvider:null,componentView:c||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:u||wi},provider:null,text:null,query:null,ngContent:null}}function Ps(e,t,n){const r=n.element,i=e.root.selectorOrNode,o=e.renderer;let a;if(e.parent||!i){a=r.name?o.createElement(r.name,r.ns):o.createComment("");const i=zi(e,t,n);i&&o.appendChild(i,a)}else a=o.selectRootElement(i,!!r.componentRendererType&&r.componentRendererType.encapsulation===ke.ShadowDom);if(r.attrs)for(let s=0;s<r.attrs.length;s++){const[e,t,n]=r.attrs[s];o.setAttribute(a,t,n,e)}return a}function Is(e,t,n,r){for(let i=0;i<n.outputs.length;i++){const o=n.outputs[i],a=Ys(e,n.nodeIndex,Yi(o.target,o.eventName));let s=o.target,l=e;"component"===o.target&&(s=null,l=t);const u=l.renderer.listen(s||r,o.eventName,a);e.disposables[n.outputIndex+i]=u}}function Ys(e,t,n){return r=>ji(e,t,n,r)}function Rs(e,t,n,r){if(!Di(e,t,n,r))return!1;const i=t.bindings[n],o=gi(e,t.nodeIndex),a=o.renderElement,s=i.name;switch(15&i.flags){case 1:!function(e,t,n,r,i,o){const a=t.securityContext;let s=a?e.root.sanitizer.sanitize(a,o):o;s=null!=s?s.toString():null;const l=e.renderer;null!=o?l.setAttribute(n,i,s,r):l.removeAttribute(n,i,r)}(e,i,a,i.ns,s,r);break;case 2:!function(e,t,n,r){const i=e.renderer;r?i.addClass(t,n):i.removeClass(t,n)}(e,a,s,r);break;case 4:!function(e,t,n,r,i){let o=e.root.sanitizer.sanitize(Ft.STYLE,i);if(null!=o){o=o.toString();const e=t.suffix;null!=e&&(o+=e)}else o=null;const a=e.renderer;null!=o?a.setStyle(n,r,o):a.removeStyle(n,r)}(e,i,a,s,r);break;case 8:!function(e,t,n,r,i){const o=t.securityContext;let a=o?e.root.sanitizer.sanitize(o,i):i;e.renderer.setProperty(n,r,a)}(33554432&t.flags&&32&i.flags?o.componentView:e,i,a,s,r)}return!0}function Ns(e,t,n){let r=[];for(let i in n)r.push({propName:i,bindingType:n[i]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:Fi(t),bindings:r},ngContent:null}}function Fs(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&Ni(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let i=0;i<=r;i++){const r=e.def.nodes[i];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&vi(e,i).setDirty(),!(1&r.flags&&i+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(i+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&vi(e,n).setDirty(),n+=t.childCount}}function Hs(e,t){const n=vi(e,t.nodeIndex);if(!n.dirty)return;let r,i=void 0;if(67108864&t.flags){const n=t.parent.parent;i=$s(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=_i(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(i=$s(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(i);const o=t.query.bindings;let a=!1;for(let s=0;s<o.length;s++){const e=o[s];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,a=!0}r[e.propName]=t}a&&n.notifyOnChanges()}function $s(e,t,n,r,i){for(let o=t;o<=n;o++){const t=e.def.nodes[o],n=t.matchedQueries[r.id];if(null!=n&&i.push(zs(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=gi(e,o);if((t.childMatchedQueries&r.filterId)===r.filterId&&($s(e,o+1,o+t.childCount,r,i),o+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const o=e[t],a=Ai(o);a&&a===n&&$s(o,0,o.def.nodes.length-1,r,i)}}const a=n.template._projectedViews;if(a)for(let e=0;e<a.length;e++){const t=a[e];$s(t,0,t.def.nodes.length-1,r,i)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(o+=t.childCount)}return i}
2function zs(e,t,n){if(null!=n)switch(n){case 1:return gi(e,t.nodeIndex).renderElement;case 0:return new Pr(gi(e,t.nodeIndex).renderElement);case 2:return gi(e,t.nodeIndex).template;case 3:return gi(e,t.nodeIndex).viewContainer;case 4:return _i(e,t.nodeIndex).instance}}function Ws(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function Us(e,t,n){const r=zi(e,t,n);r&&qi(e,n.ngContent.index,1,r,null,void 0)}function Bs(e,t){return function(e,t,n){const r=new Array(n.length);for(let i=0;i<n.length;i++){const e=n[i];r[i]={flags:8,name:e,ns:null,nonMinifiedName:e,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:128,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Xi(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}(0,e,new Array(t+1))}function Vs(e,t,n){const r=new Array(n.length-1);for(let i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function qs(e,t,n){let r;const i=e.renderer;r=i.createText(n.text.prefix);const o=zi(e,t,n);return o&&i.appendChild(o,r),{renderText:r}}function Gs(e,t){return(null!=e?e.toString():"")+t.suffix}function Ks(e,t,n,r){let i=0,o=0,a=0,s=0,l=0,u=null,c=null,d=!1,h=!1,f=null;for(let p=0;p<t.length;p++){const e=t[p];if(e.nodeIndex=p,e.parent=u,e.bindingIndex=i,e.outputIndex=o,e.renderParent=c,a|=e.flags,l|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=u?u.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,d=!1,h=!1,e.element.template&&(l|=e.element.template.nodeMatchedQueries)}if(Qs(u,e,t.length),i+=e.bindings.length,o+=e.outputs.length,!c&&3&e.flags&&(f=e),20224&e.flags){d||(d=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);const t=0!=(32768&e.flags);0==(8192&e.flags)||t?u.element.publicProviders[Mi(e.provider.token)]=e:(h||(h=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[Mi(e.provider.token)]=e),t&&(u.element.componentProvider=e)}if(u?(u.childFlags|=e.flags,u.directChildFlags|=e.flags,u.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(u.childMatchedQueries|=e.element.template.nodeMatchedQueries)):s|=e.flags,e.childCount>0)u=e,Js(e)||(c=e);else for(;u&&p===u.nodeIndex+u.childCount;){const e=u.parent;e&&(e.childFlags|=u.childFlags,e.childMatchedQueries|=u.childMatchedQueries),u=e,c=u&&Js(u)?u.renderParent:u}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||wi,updateRenderer:r||wi,handleEvent:(e,n,r,i)=>t[n].element.handleEvent(e,r,i),bindingCount:i,outputCount:o,lastRenderRootNode:f}}function Js(e){return 0!=(1&e.flags)&&null===e.element.name}function Qs(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;
vendor: 19,011 bytes, line 2
2if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function Xs(e,t,n,r){const i=tl(e.root,e.renderer,e,t,n);return nl(i,e.component,r),rl(i),i}function Zs(e,t,n){const r=tl(e,e.renderer,null,null,t);return nl(r,n,n),rl(r),r}function el(e,t,n,r){const i=t.element.componentRendererType;let o;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,tl(e.root,o,e,t.element.componentProvider,n)}function tl(e,t,n,r,i){const o=new Array(i.nodes.length),a=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:a,initIndex:-1}}function nl(e,t,n){e.component=t,e.context=n}function rl(e){let t;Ri(e)&&(t=gi(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let i=0;i<n.nodes.length;i++){const o=n.nodes[i];let a;switch(bi.setCurrentNode(e,i),201347067&o.flags){case 1:const n=Ps(e,t,o);let s=void 0;if(33554432&o.flags){const t=Ui(o.element.componentView);s=bi.createComponentView(e,o,t,n)}Is(e,s,o,n),a={renderElement:n,componentView:s,viewContainer:null,template:o.element.template?Mo(e,o):void 0},16777216&o.flags&&(a.viewContainer=vo(e,o,a));break;case 2:a=qs(e,t,o);break;case 512:case 1024:case 2048:case 256:a=r[i],a||4096&o.flags||(a={instance:Uo(e,o)});break;case 16:a={instance:Bo(e,o)};break;case 16384:a=r[i],a||(a={instance:Vo(e,o)}),32768&o.flags&&nl(gi(e,o.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new fa;break;case 8:Us(e,t,o),a=void 0}r[i]=a}hl(e,dl.CreateViewNodes),gl(e,201326592,268435456,0)}function il(e){sl(e),bi.updateDirectives(e,1),fl(e,dl.CheckNoChanges),bi.updateRenderer(e,1),hl(e,dl.CheckNoChanges),e.state&=-97}function ol(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,fi(e,0,256),sl(e),bi.updateDirectives(e,0),fl(e,dl.CheckAndUpdate),gl(e,67108864,536870912,0);let t=fi(e,256,512);ea(e,2097152|(t?1048576:0)),bi.updateRenderer(e,0),hl(e,dl.CheckAndUpdate),gl(e,134217728,536870912,0),t=fi(e,512,768),ea(e,8388608|(t?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,fi(e,768,1024)}function al(e,t,n,r,i,o,a,s,l,u,c,d,h){return 0===n?function(e,t,n,r,i,o,a,s,l,u,c,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,i,o,a,s,l,u,c,d){const h=t.bindings.length;let f=!1;return h>0&&Rs(e,t,0,n)&&(f=!0),h>1&&Rs(e,t,1,r)&&(f=!0),h>2&&Rs(e,t,2,i)&&(f=!0),h>3&&Rs(e,t,3,o)&&(f=!0),h>4&&Rs(e,t,4,a)&&(f=!0),h>5&&Rs(e,t,5,s)&&(f=!0),h>6&&Rs(e,t,6,l)&&(f=!0),h>7&&Rs(e,t,7,u)&&(f=!0),h>8&&Rs(e,t,8,c)&&(f=!0),h>9&&Rs(e,t,9,d)&&(f=!0),f}(e,t,n,r,i,o,a,s,l,u,c,d);case 2:return function(e,t,n,r,i,o,a,s,l,u,c,d){let h=!1;const f=t.bindings,p=f.length;if(p>0&&Di(e,t,0,n)&&(h=!0),p>1&&Di(e,t,1,r)&&(h=!0),p>2&&Di(e,t,2,i)&&(h=!0),p>3&&Di(e,t,3,o)&&(h=!0),p>4&&Di(e,t,4,a)&&(h=!0),p>5&&Di(e,t,5,s)&&(h=!0),p>6&&Di(e,t,6,l)&&(h=!0),p>7&&Di(e,t,7,u)&&(h=!0),p>8&&Di(e,t,8,c)&&(h=!0),p>9&&Di(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;p>0&&(h+=Gs(n,f[0])),p>1&&(h+=Gs(r,f[1])),p>2&&(h+=Gs(i,f[2])),p>3&&(h+=Gs(o,f[3])),p>4&&(h+=Gs(a,f[4])),p>5&&(h+=Gs(s,f[5])),p>6&&(h+=Gs(l,f[6])),p>7&&(h+=Gs(u,f[7])),p>8&&(h+=Gs(c,f[8])),p>9&&(h+=Gs(d,f[9]));const m=mi(e,t.nodeIndex).renderText;e.renderer.setValue(m,h)}return h}(e,t,n,r,i,o,a,s,l,u,c,d);case 16384:return function(e,t,n,r,i,o,a,s,l,u,c,d){const h=_i(e,t.nodeIndex),f=h.instance;let p=!1,m=void 0;const g=t.bindings.length;return g>0&&Li(e,t,0,n)&&(p=!0,m=Zo(e,h,t,0,n,m)),g>1&&Li(e,t,1,r)&&(p=!0,m=Zo(e,h,t,1,r,m)),g>2&&Li(e,t,2,i)&&(p=!0,m=Zo(e,h,t,2,i,m)),g>3&&Li(e,t,3,o)&&(p=!0,m=Zo(e,h,t,3,o,m)),g>4&&Li(e,t,4,a)&&(p=!0,m=Zo(e,h,t,4,a,m)),g>5&&Li(e,t,5,s)&&(p=!0,m=Zo(e,h,t,5,s,m)),g>6&&Li(e,t,6,l)&&(p=!0,m=Zo(e,h,t,6,l,m)),g>7&&Li(e,t,7,u)&&(p=!0,m=Zo(e,h,t,7,u,m)),g>8&&Li(e,t,8,c)&&(p=!0,m=Zo(e,h,t,8,c,m)),g>9&&Li(e,t,9,d)&&(p=!0,m=Zo(e,h,t,9,d,m)),m&&f.ngOnChanges(m),65536&t.flags&&pi(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,r,i,o,a,s,l,u,c,d);case 32:case 64:case 128:return function(e,t,n,r,i,o,a,s,l,u,c,d){const h=t.bindings;let f=!1;const p=h.length;if(p>0&&Di(e,t,0,n)&&(f=!0),p>1&&Di(e,t,1,r)&&(f=!0),p>2&&Di(e,t,2,i)&&(f=!0),p>3&&Di(e,t,3,o)&&(f=!0),p>4&&Di(e,t,4,a)&&(f=!0),p>5&&Di(e,t,5,s)&&(f=!0),p>6&&Di(e,t,6,l)&&(f=!0),p>7&&Di(e,t,7,u)&&(f=!0),p>8&&Di(e,t,8,c)&&(f=!0),p>9&&Di(e,t,9,d)&&(f=!0),f){const f=yi(e,t.nodeIndex);let m;switch(201347067&t.flags){case 32:m=new Array(h.length),p>0&&(m[0]=n),p>1&&(m[1]=r),p>2&&(m[2]=i),p>3&&(m[3]=o),p>4&&(m[4]=a),p>5&&(m[5]=s),p>6&&(m[6]=l),p>7&&(m[7]=u),p>8&&(m[8]=c),p>9&&(m[9]=d);break;case 64:m={},p>0&&(m[h[0].name]=n),p>1&&(m[h[1].name]=r),p>2&&(m[h[2].name]=i),p>3&&(m[h[3].name]=o),p>4&&(m[h[4].name]=a),p>5&&(m[h[5].name]=s),p>6&&(m[h[6].name]=l),p>7&&(m[h[7].name]=u),p>8&&(m[h[8].name]=c),p>9&&(m[h[9].name]=d);break;case 128:const e=n;switch(p){case 1:m=e.transform(n);break;case 2:m=e.transform(r);break;case 3:m=e.transform(r,i);break;case 4:m=e.transform(r,i,o);break;case 5:m=e.transform(r,i,o,a);break;case 6:m=e.transform(r,i,o,a,s);break;case 7:m=e.transform(r,i,o,a,s,l);break;case 8:m=e.transform(r,i,o,a,s,l,u);break;case 9:m=e.transform(r,i,o,a,s,l,u,c);break;case 10:m=e.transform(r,i,o,a,s,l,u,c,d)}}f.value=m}return f}(e,t,n,r,i,o,a,s,l,u,c,d);default:throw"unreachable"}}(e,t,r,i,o,a,s,l,u,c,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let i=0;i<n.length;i++)Rs(e,t,i,n[i])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let i=!1;for(let o=0;o<n.length;o++)Di(e,t,o,n[o])&&(i=!0);if(i){let i="";for(let e=0;e<n.length;e++)i+=Gs(n[e],r[e]);i=t.text.prefix+i;const o=mi(e,t.nodeIndex).renderText;e.renderer.setValue(o,i)}return i}(e,t,n);case 16384:return function(e,t,n){const r=_i(e,t.nodeIndex),i=r.instance;let o=!1,a=void 0;for(let s=0;s<n.length;s++)Li(e,t,s,n[s])&&(o=!0,a=Zo(e,r,t,s,n[s],a));return a&&i.ngOnChanges(a),65536&t.flags&&pi(e,256,t.nodeIndex)&&i.ngOnInit(),262144&t.flags&&i.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let i=!1;for(let o=0;o<n.length;o++)Di(e,t,o,n[o])&&(i=!0);if(i){const i=yi(e,t.nodeIndex);let o;switch(201347067&t.flags){case 32:o=n;break;case 64:o={};for(let i=0;i<n.length;i++)o[r[i].name]=n[i];break;case 128:const e=n[0],t=n.slice(1);o=e.transform(...t)}i.value=o}return i}(e,t,n);default:throw"unreachable"}}(e,t,r)}function sl(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=gi(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,Ei(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function ll(e,t,n,r,i,o,a,s,l,u,c,d,h){return 0===n?function(e,t,n,r,i,o,a,s,l,u,c,d){const h=t.bindings.length;h>0&&Ci(e,t,0,n),h>1&&Ci(e,t,1,r),h>2&&Ci(e,t,2,i),h>3&&Ci(e,t,3,o),h>4&&Ci(e,t,4,a),h>5&&Ci(e,t,5,s),h>6&&Ci(e,t,6,l),h>7&&Ci(e,t,7,u),h>8&&Ci(e,t,8,c),h>9&&Ci(e,t,9,d)}(e,t,r,i,o,a,s,l,u,c,d,h):function(e,t,n){for(let r=0;r<n.length;r++)Ci(e,t,r,n[r])}(e,t,r),!1}function ul(e,t){if(vi(e,t.nodeIndex).dirty)throw ci(bi.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function cl(e){if(!(128&e.state)){if(fl(e,dl.Destroy),hl(e,dl.Destroy),ea(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=Ai(e);if(t){const n=t.template._projectedViews;n&&(po(n,n.indexOf(e)),bi.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(gi(e,n).renderElement):2&t.flags?e.renderer.destroyNode(mi(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&vi(e,n).destroy()}}(e),Ri(e)&&e.renderer.destroy(),e.state|=128}}const dl=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function hl(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const i=n.nodes[r];33554432&i.flags?pl(gi(e,r).componentView,t):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function fl(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const i=n.nodes[r];if(16777216&i.flags){const n=gi(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)pl(n[e],t)}else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function pl(e,t){const n=e.state;switch(t){case dl.CheckNoChanges:0==(128&n)&&(12==(12&n)?il(e):64&n&&ml(e,dl.CheckNoChangesProjectedViews));break;case dl.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?il(e):64&n&&ml(e,t));break;case dl.CheckAndUpdate:0==(128&n)&&(12==(12&n)?ol(e):64&n&&ml(e,dl.CheckAndUpdateProjectedViews));break;case dl.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?ol(e):64&n&&ml(e,t));break;case dl.Destroy:cl(e);break;case dl.CreateViewNodes:rl(e)}}function ml(e,t){fl(e,t),hl(e,t)}function gl(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const i=e.def.nodes.length;for(let o=0;o<i;o++){const i=e.def.nodes[o];if(i.flags&t&&i.flags&n)switch(bi.setCurrentNode(e,i.nodeIndex),r){case 0:Hs(e,i);break;case 1:ul(e,i)}i.childFlags&t&&i.childFlags&n||(o+=i.childCount)}}let _l=!1;function yl(e,t,n,r,i,o){const a=i.injector.get(Rr);return Zs(bl(e,i,a,t,n),r,o)}function vl(e,t,n,r,i,o){const a=i.injector.get(Rr),s=bl(e,i,new Xl(a),t,n),l=Ol(r);return Jl(Yl.create,Zs,null,[s,l,o])}function bl(e,t,n,r,i){const o=t.injector.get(Ht),a=t.injector.get(tn),s=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:i,sanitizer:o,rendererFactory:n,renderer:s,errorHandler:a}}function wl(e,t,n,r){const i=Ol(n);return Jl(Yl.create,Xs,null,[e,t,i,r])}function kl(e,t,n,r){return n=xl.get(t.element.componentProvider.provider.token)||Ol(n),Jl(Yl.create,el,null,[e,t,n,r])}function Ml(e,t,n,r){return Oo(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===Sl.size||(e.providers.forEach(e=>{const r=Sl.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{Tl.forEach((r,i)=>{S(i).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})})),{hasOverrides:t,hasDeprecatedOverrides:n}}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const i=Sl.get(r.token);i&&(r.flags=-3841&r.flags|i.flags,r.deps=$i(i.deps),r.value=i.value)}if(Tl.size>0){let t=new Set(e.modules);Tl.forEach((r,i)=>{if(t.has(S(i).providedIn)){let t={token:i,flags:r.flags|(n?4096:0),deps:$i(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[Mi(i)]=t}})}}(e=e.factory(()=>wi)),e):e}(r))}const Sl=new Map,Tl=new Map,xl=new Map;function Ll(e){let t;Sl.set(e.token,e),"function"==typeof e.token&&(t=S(e.token))&&"function"==typeof t.providedIn&&Tl.set(e.token,e)}function Dl(e,t){const n=Ui(t.viewDefFactory),r=Ui(n.nodes[0].element.componentView);xl.set(e,r)}function Cl(){Sl.clear(),Tl.clear(),xl.clear()}function Ol(e){if(0===Sl.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const i=e.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&Sl.has(i.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>wi);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=Sl.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=$i(n.deps),e.value=n.value)}}}}function El(e,t,n,r,i,o,a,s,l,u,c,d,h){const f=e.def.nodes[t];return al(e,f,n,r,i,o,a,s,l,u,c,d,h),224&f.flags?yi(e,t).value:void 0}function jl(e,t,n,r,i,o,a,s,l,u,c,d,h){const f=e.def.nodes[t];return ll(e,f,n,r,i,o,a,s,l,u,c,d,h),224&f.flags?yi(e,t).value:void 0}function Al(e){return Jl(Yl.detectChanges,ol,null,[e])}function Pl(e){return Jl(Yl.checkNoChanges,il,null,[e])}function Il(e){return Jl(Yl.destroy,cl,null,[e])}const Yl=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();let Rl,Nl,Fl;function Hl(e,t){Nl=e,Fl=t}function $l(e,t,n,r){return Hl(e,t),Jl(Yl.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function zl(e,t){if(128&e.state)throw hi(Yl[Rl]);return Hl(e,Vl(e,0)),e.def.updateDirectives((function(e,n,r,...i){const o=e.def.nodes[n];return 0===t?Ul(e,o,r,i):Bl(e,o,r,i),16384&o.flags&&Hl(e,Vl(e,n)),224&o.flags?yi(e,o.nodeIndex).value:void 0}),e)}function Wl(e,t){if(128&e.state)throw hi(Yl[Rl]);return Hl(e,ql(e,0)),e.def.updateRenderer((function(e,n,r,...i){const o=e.def.nodes[n];return 0===t?Ul(e,o,r,i):Bl(e,o,r,i),3&o.flags&&Hl(e,ql(e,n)),224&o.flags?yi(e,o.nodeIndex).value:void 0}),e)}function Ul(e,t,n,r){if(al(e,t,n,...r)){const i=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],o=i[e];8&r.flags&&(n[nn(r.nonMinifiedName)]=on(o))}const r=t.parent,o=gi(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(o,t,r):e.renderer.removeAttribute(o,t)}else e.renderer.setValue(o,"bindings="+JSON.stringify(n,null,2))}}}function Bl(e,t,n,r){ll(e,t,n,...r)}function Vl(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function ql(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class Gl{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Pi(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return gi(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return To(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){Kl(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&Kl(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!Ri(e);)e=e.parent;return e.parent?gi(e.parent,Pi(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?Ii(this.view,this.nodeDef):Ii(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const i=function(e,t){let n=-1;for(let r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(n,r);let o=-1;n.factory(()=>(o++,o===i?e.error.bind(e,...t):wi)),o<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function Kl(e,t,n){for(let r in t.references)n[r]=zs(e,t,t.references[r])}function Jl(e,t,n,r){const i=Rl,o=Nl,a=Fl;try{Rl=e;const s=t.apply(n,r);return Nl=o,Fl=a,Rl=i,s}catch(s){if(Xt(s)||!Nl)throw s;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),di(e,t),e}(s,Ql())}}function Ql(){return Nl?new Gl(Nl,Fl):null}class Xl{constructor(e){this.delegate=e}createRenderer(e,t){return new Zl(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class Zl{constructor(e){this.delegate=e,this.debugContextFactory=Ql,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){!function(e){Ms.delete(e.nativeNode)}(Ss(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new ks(n,null,r);t.name=e,Ts(t)}return n}createComment(e){const t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Ts(new ws(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Ts(new ws(t,null,n)),t}appendChild(e,t){const n=Ss(e),r=Ss(t);n&&r&&n instanceof ks&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n){const r=Ss(e),i=Ss(t),o=Ss(n);r&&i&&r instanceof ks&&r.insertBefore(o,i),this.delegate.insertBefore(e,t,n)}removeChild(e,t){const n=Ss(e),r=Ss(t);n&&r&&n instanceof ks&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=Ql();return r&&Ts(new ks(n,null,r)),n}setAttribute(e,t,n,r){const i=Ss(e);i&&i instanceof ks&&(i.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=Ss(e);r&&r instanceof ks&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=Ss(e);n&&n instanceof ks&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=Ss(e);n&&n instanceof ks&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const i=Ss(e);i&&i instanceof ks&&(i.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=Ss(e);r&&r instanceof ks&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=Ss(e);r&&r instanceof ks&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=Ss(e);r&&r.listeners.push(new bs(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function eu(e,t,n){return new tu(e,t,n)}class tu extends jr{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){!function(){if(_l)return;_l=!0;const e=mt()?{setCurrentNode:Hl,createRootView:vl,createEmbeddedView:wl,createComponentView:kl,createNgModuleRef:Ml,overrideProvider:Ll,overrideComponentView:Dl,clearOverrides:Cl,checkAndUpdateView:Al,checkNoChangesView:Pl,destroyView:Il,createDebugContext:(e,t)=>
2new Gl(e,t),handleEvent:$l,updateDirectives:zl,updateRenderer:Wl}:{setCurrentNode:()=>{},createRootView:yl,createEmbeddedView:Xs,createComponentView:el,createNgModuleRef:Oo,overrideProvider:wi,overrideComponentView:wi,clearOverrides:wi,checkAndUpdateView:ol,checkNoChangesView:il,destroyView:cl,createDebugContext:(e,t)=>new Gl(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?El:jl,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?El:jl,e)};bi.setCurrentNode=e.setCurrentNode,bi.createRootView=e.createRootView,bi.createEmbeddedView=e.createEmbeddedView,bi.createComponentView=e.createComponentView,bi.createNgModuleRef=e.createNgModuleRef,bi.overrideProvider=e.overrideProvider,bi.overrideComponentView=e.overrideComponentView,bi.clearOverrides=e.clearOverrides,bi.checkAndUpdateView=e.checkAndUpdateView,bi.checkNoChangesView=e.checkNoChangesView,bi.destroyView=e.destroyView,bi.resolveDep=Qo,bi.createDebugContext=e.createDebugContext,bi.handleEvent=e.handleEvent,bi.updateDirectives=e.updateDirectives,bi.updateRenderer=e.updateRenderer,bi.dirtyParentQueries=Fs}();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const i in e.providersByKey)r[i]=e.providersByKey[i];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(Ui(this._ngModuleDefFactory));return bi.createNgModuleRef(this.moduleType,e||ue.NULL,this._bootstrapComponents,t)}}},"8mBD":function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"8piP":function(e,t){var n=/^\[object .+?Constructor\]$/,r="object"==typeof global&&global&&global.Object===Object&&global,i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();function a(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function s(e,t){return!(!e||!e.length)&&function(e,t,n){if(t!=t)return function(e,t,n,r){for(var i=e.length,o=-1;++o<i;)if(t(e[o],o,e))return o;return-1}(e,l);for(var r=-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t)>-1}function l(e){return e!=e}function u(e,t){return e.has(t)}var c,d=Array.prototype,h=Function.prototype,f=Object.prototype,p=o["__core-js_shared__"],m=(c=/[^.]+$/.exec(p&&p.keys&&p.keys.IE_PROTO||""))?"Symbol(src)_1."+c:"",g=h.toString,_=f.hasOwnProperty,y=f.toString,v=RegExp("^"+g.call(_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),b=d.splice,w=Math.max,k=Math.min,M=j(o,"Map"),S=j(Object,"create");function T(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function x(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function L(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function D(e){var t=-1,n=e?e.length:0;for(this.__data__=new L;++t<n;)this.add(e[t])}function C(e,t){for(var n,r,i=e.length;i--;)if((n=e[i][0])===(r=t)||n!=n&&r!=r)return i;return-1}function O(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!Y(e)}(e)}(e)?e:[]}function E(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function j(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!R(e)||(t=e,m&&m in t))&&(Y(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}(e)?v:n).test(function(e){if(null!=e){try{return g.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e));var t}(r)?r:void 0}T.prototype.clear=function(){this.__data__=S?S(null):{}},T.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},T.prototype.get=function(e){var t=this.__data__;if(S){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return _.call(t,e)?t[e]:void 0},T.prototype.has=function(e){var t=this.__data__;return S?void 0!==t[e]:_.call(t,e)},T.prototype.set=function(e,t){return this.__data__[e]=S&&void 0===t?"__lodash_hash_undefined__":t,this},x.prototype.clear=function(){this.__data__=[]},x.prototype.delete=function(e){var t=this.__data__,n=C(t,e);return!(n<0||(n==t.length-1?t.pop():b.call(t,n,1),0))},x.prototype.get=function(e){var t=this.__data__,n=C(t,e);return n<0?void 0:t[n][1]},x.prototype.has=function(e){return C(this.__data__,e)>-1},x.prototype.set=function(e,t){var n=this.__data__,r=C(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},L.prototype.clear=function(){this.__data__={hash:new T,map:new(M||x),string:new T}},L.prototype.delete=function(e){return E(this,e).delete(e)},L.prototype.get=function(e){return E(this,e).get(e)},L.prototype.has=function(e){return E(this,e).has(e)},L.prototype.set=function(e,t){return E(this,e).set(e,t),this},D.prototype.add=D.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},D.prototype.has=function(e){return this.__data__.has(e)};var A,P,I=(A=function(e){var t=function(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}(e,O);return t.length&&t[0]===e[0]?function(e,t,n){for(var r=s,i=e[0].length,o=e.length,a=o,l=Array(o),c=1/0,d=[];a--;){var h=e[a];c=k(h.length,c),l[a]=i>=120&&h.length>=120?new D(a&&h):void 0}h=e[0];var f=-1,p=l[0];e:for(;++f<i&&d.length<c;){var m=h[f],g=m;if(m=0!==m?m:0,!(p?u(p,g):r(d,g,void 0))){for(a=o;--a;){var _=l[a];if(!(_?u(_,g):r(e[a],g,void 0)))continue e}p&&p.push(g),d.push(m)}}return d}(t):[]},P=w(void 0===P?A.length-1:P,0),function(){for(var e=arguments,t=-1,n=w(e.length-P,0),r=Array(n);++t<n;)r[t]=e[P+t];t=-1;for(var i=Array(P+1);++t<P;)i[t]=e[t];return i[P]=r,a(A,this,i)});function Y(e){var t=R(e)?y.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function R(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=I},"930v":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("+4pY");const i=()=>Object(r.a)().easing("cubic-bezier(0.0, 0.0, 0.2, 1)").duration(300),o=e=>{let t,n;const o=e.width+8,a=Object(r.a)(),s=Object(r.a)();return e.isEndSide?(t=o+"px",n="0px"):(t=-o+"px",n="0px"),a.addElement(e.menuInnerEl).fromTo("transform",`translateX(${t})`,`translateX(${n})`),s.addElement(e.backdropEl).fromTo("opacity",.01,.32),i().addAnimation([a,s])},a=e=>{let t,n;const o=e.width;e.isEndSide?(t=-o+"px",n=o+"px"):(t=o+"px",n=-o+"px");const a=Object(r.a)().addElement(e.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),s=Object(r.a)().addElement(e.contentEl).fromTo("transform","translateX(0px)",`translateX(${t})`),l=Object(r.a)().addElement(e.backdropEl).fromTo("opacity",.01,.32);return i().addAnimation([a,l,s])},s=e=>{const t=e.width*(e.isEndSide?-1:1)+"px",n=Object(r.a)().addElement(e.contentEl).fromTo("transform","translateX(0px)",`translateX(${t})`);return i().addAnimation(n)},l=(()=>{const e=new Map,t=[],n=async e=>(await h(),"start"===e||"end"===e?d(t=>t.side===e&&!t.disabled)||d(t=>t.side===e):null!=e?d(t=>t.menuId===e):d(e=>!e.disabled)||(t.length>0?t[0].el:void 0)),r=async()=>(await h(),u()),i=(t,n)=>{e.set(t,n)},l=e=>{const n=e.side;t.filter(t=>
2t.side===n&&t!==e).forEach(e=>e.disabled=!0)},u=()=>d(e=>e._isOpen),c=()=>t.some(e=>e.isAnimating),d=e=>{const n=t.find(e);if(void 0!==n)return n.el},h=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(e=>e.componentOnReady()));return i("reveal",s),i("push",a),i("overlay",o),{registerAnimation:i,get:n,getMenus:async()=>(await h(),t.map(e=>e.el)),getOpen:r,isEnabled:async e=>{const t=await n(e);return!!t&&!t.disabled},swipeGesture:async(e,t)=>{const r=await n(t);return r&&(r.swipeGesture=e),r},isAnimating:async()=>(await h(),c()),isOpen:async e=>{if(null!=e){const t=await n(e);return void 0!==t&&t.isOpen()}return void 0!==await r()},enable:async(e,t)=>{const r=await n(t);return r&&(r.disabled=!e),r},toggle:async e=>{const t=await n(e);return!!t&&t.toggle()},close:async e=>{const t=await(void 0!==e?n(e):r());return void 0!==t&&t.close()},open:async e=>{const t=await n(e);return!!t&&t.open()},_getOpenSync:u,_createAnimation:(t,n)=>{const r=e.get(t);if(!r)throw new Error("animation not registered");return r(n)},_register:e=>{t.indexOf(e)<0&&(e.disabled||l(e),t.push(e))},_unregister:e=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},_setOpen:async(e,t,n)=>{if(c())return!1;if(t){const t=await r();t&&e.el!==t&&await t.setOpen(!1,!1)}return e._setOpen(t,n)},_setActiveMenu:l}})()},"9B/o":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("mrSG"),i=n("a3Cf"),o=n("HDdC"),a=function(){function e(e,t,n){try{n&&"string"!=typeof n&&(n=Object.keys(n).map((function(e){return e+"="+n[e]})).join(",")),this._objectInstance=cordova.InAppBrowser.open(e,t,n)}catch(r){"undefined"!=typeof window&&window.open(e,t),console.warn("Native: InAppBrowser is not installed or you are running on a browser. Falling back to window.open.")}}return e.prototype._loadAfterBeforeload=function(e){return Object(i.cordovaInstance)(this,"_loadAfterBeforeload",{sync:!0},arguments)},e.prototype.show=function(){return Object(i.cordovaInstance)(this,"show",{sync:!0},arguments)},e.prototype.close=function(){return Object(i.cordovaInstance)(this,"close",{sync:!0},arguments)},e.prototype.hide=function(){return Object(i.cordovaInstance)(this,"hide",{sync:!0},arguments)},e.prototype.executeScript=function(e){return Object(i.cordovaInstance)(this,"executeScript",{},arguments)},e.prototype.insertCSS=function(e){return Object(i.cordovaInstance)(this,"insertCSS",{},arguments)},e.prototype.on=function(e){var t=this;return function(){if(!0===Object(i.instanceAvailability)(t))return new o.a((function(n){return t._objectInstance.addEventListener(e,n.next.bind(n)),function(){return t._objectInstance.removeEventListener(e,n.next.bind(n))}}))}()},e.prototype.on=function(e){var t=this;return function(){if(!0===Object(i.instanceAvailability)(t))return new o.a((function(n){return t._objectInstance.addEventListener(e,n.next.bind(n)),function(){return t._objectInstance.removeEventListener(e,n.next.bind(n))}}))}()},e}(),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.create=function(e,t,n){return new a(e,t,n)},t.pluginName="InAppBrowser",t.plugin="cordova-plugin-inappbrowser",t.pluginRef="cordova.InAppBrowser",t.repo="https://github.com/apache/cordova-plugin-inappbrowser",t.platforms=["AmazonFire OS","Android","Browser","iOS","macOS","Windows"],t}(i.IonicNativePlugin)},"9ppp":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})()},"9rRi":function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},A8o4:function(e,t){e.exports=function(e){return void 0===e}},AGEe:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n("mrSG"),i=n("qNh5"),o=n("SZJ3"),a=n("SxV6"),s=n("eIep"),l=n("lJxs"),u=n("UXun"),c=n("LRne"),d=n("pRuv"),h=n("SLW3"),f=n("8Y7J");let p=(()=>{class e{constructor(e,t,n,r){this.auth=e,this.engine=t,this.watchdog=n,this.pubs=r,this.cache=new Map,this.compareFn=(e,t)=>e.name.toLowerCase()<t.name.toLowerCase()?-1:e.name.toLowerCase()>t.name.toLowerCase()?1:0,this.startup()}startup(){return r.__awaiter(this,void 0,void 0,(function*(){this.sqcnode=yield this.auth.node$.pipe(Object(a.a)()).toPromise()}))}getFront(){if(this.cache.sites)return this.cache.sites;const e=this.auth.node$.pipe(Object(s.a)(e=>this.engine.fetchListWithKeysByOrder(e+"sites/front","name")),Object(l.a)(e=>e?e.filter(e=>!e.private||this.auth.user.value.sites&&this.auth.user.value.sites[e.$key]||this.watchdog.isWriter):null),Object(u.a)(1));return this.cache.sites=e,e}getBack(){const e="sitesfull";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(s.a)(e=>this.engine.fetchArrayWithIndexKeys(e+"sites/back")),Object(u.a)(1));return this.cache[e]=t,t}getFullSite(e){if(this.cache[e])return this.cache[e];const t=this.getBack().pipe(Object(l.a)(t=>t?t[e]:Object(c.a)(null)));return this.cache[e]=t,t}_addUser(e,t){return new Promise(n=>r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.auth.getNode(),i=yield this.auth.getCurrentUser(),o={};t?(o[r+"sites/back/"+e+"/members/"+t]=!0,o[r+"users/back/"+t+"/sites/"+e]=!0):(o[r+"sites/back/"+e+"/members/"+i.$key]=!0,o[r+"users/back/"+i.$key+"/sites/"+e]=!0),n(o)})))}_removeUser(e,t){return new Promise(n=>r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.auth.getNode(),i=yield this.auth.getCurrentUser(),o={};t?(o[r+"sites/back/"+e+"/members/"+t]=null,o[r+"users/back/"+t+"/sites/"+e]=null):(o[r+"sites/back/"+e+"/members/"+i.$key]=null,o[r+"users/back/"+i.$key+"/sites/"+e]=null),n(o)})))}remove(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.auth.getNode(),n=this.engine._keys(e.members)?this.engine._keys(e.members):[],r=this.engine._keys(e.pages)?this.engine._keys(e.pages):[],i=this.engine._keys(e.pubs)?this.engine._keys(e.pubs):[],o=this.engine._keys(e.bulletins)?this.engine._keys(e.bulletins):[],a={};
2this.engine._isEmpty(n)||n.forEach(n=>{a[t+"users/back/"+n+"/sites/"+e.$key]=null}),this.engine._isEmpty(r)||r.forEach(n=>{a[t+"pages/back/"+n+"/sites/"+e.$key]=null,a[t+"pages/front/"+n+"/sites/"+e.$key]=null}),this.engine._isEmpty(i)||i.forEach(n=>{a[t+"pubs/back/"+n+"/sites/"+e.$key]=null,a[t+"pubs/front/"+n+"/sites/"+e.$key]=null}),this.engine._isEmpty(o)||o.forEach(n=>{a[t+"bulletins/back/"+n+"/sites/"+e.$key]=null,a[t+"bulletins/front/"+n+"/sites/"+e.$key]=null});const s=yield this.engine.moveToTrash(e,"sites");return this.engine._merge(a,s),this.auth.updateDB(a)}))}}return e.ngInjectableDef=f.Zb({factory:function(){return new e(f.ac(i.a),f.ac(o.a),f.ac(d.a),f.ac(h.a))},token:e,providedIn:"root"}),e})()},AQ68:function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},"AfW+":function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return _})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return v})),n.d(t,"e",(function(){return r})),n.d(t,"f",(function(){return i})),n.d(t,"g",(function(){return o}));const r=e=>o(e),i=(e,t)=>("string"==typeof e&&(t=e,e=void 0),r(e).includes(t)),o=(e=window)=>{e.Ionic=e.Ionic||{};let t=e.Ionic.platforms;return null==t&&(t=e.Ionic.platforms=a(e),t.forEach(t=>e.document.documentElement.classList.add("plt-"+t))),t},a=e=>Object.keys(m).filter(t=>m[t](e)),s=e=>!!f(e,/iPad/i)||!(!f(e,/Macintosh/i)||!u(e)),l=e=>f(e,/android|sink/i),u=e=>p(e,"(any-pointer:coarse)"),c=e=>d(e)||h(e),d=e=>!!(e.cordova||e.phonegap||e.PhoneGap),h=e=>{const t=e.Capacitor;return!(!t||!t.isNative)},f=(e,t)=>t.test(e.navigator.userAgent),p=(e,t)=>e.matchMedia(t).matches,m={ipad:s,iphone:e=>f(e,/iPhone/i),ios:e=>f(e,/iPhone|iPod/i)||s(e),android:l,phablet:e=>{const t=e.innerWidth,n=e.innerHeight,r=Math.min(t,n),i=Math.max(t,n);return r>390&&r<520&&i>620&&i<800},tablet:e=>{const t=e.innerWidth,n=e.innerHeight,r=Math.min(t,n),i=Math.max(t,n);return s(e)||(e=>l(e)&&!f(e,/mobile/i))(e)||r>460&&r<820&&i>780&&i<1400},cordova:d,capacitor:h,electron:e=>f(e,/electron/i),pwa:e=>!(!e.matchMedia("(display-mode: standalone)").matches&&!e.navigator.standalone),mobile:u,mobileweb:e=>u(e)&&!c(e),desktop:e=>!u(e),hybrid:c};class g{constructor(){this.m=new Map}reset(e){this.m=new Map(Object.entries(e))}get(e,t){const n=this.m.get(e);return void 0!==n?n:t}getBoolean(e,t=!1){const n=this.m.get(e);return void 0===n?t:"string"==typeof n?"true"===n:!!n}getNumber(e,t){const n=parseFloat(this.m.get(e));return isNaN(n)?void 0!==t?t:NaN:n}set(e,t){this.m.set(e,t)}}const _=new g,y=e=>{try{const t=e.sessionStorage.getItem(M);return null!==t?JSON.parse(t):{}}catch(t){return{}}},v=(e,t)=>{try{e.sessionStorage.setItem(M,JSON.stringify(t))}catch(n){return}},b=e=>{const t={};return e.location.search.slice(1).split("&").map(e=>e.split("=")).map(([e,t])=>[decodeURIComponent(e),decodeURIComponent(t)]).filter(([e])=>w(e,k)).map(([e,t])=>[e.slice(k.length),t]).forEach(([e,n])=>{t[e]=n}),t},w=(e,t)=>e.substr(0,t.length)===t,k="ionic:",M="ionic-persist-config"},AvvY:function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%
2d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===t&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},B55N:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(e,t){return"\u5143"===t[1]?1:parseInt(t[1]||e,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,n){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,t){switch(t){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n("wd/R"))},"B6f/":function(e,t,n){(function(e){var n="[object Arguments]",r="[object Map]",i="[object Object]",o="[object Set]",a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,l=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/^\s+|\s+$/g,d=/\\(\\)?/g,h=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,p=/^\[object .+?Constructor\]$/,m=/^0o[0-7]+$/i,g=/^(?:0|[1-9]\d*)$/,_={};
vendor: 3,619 bytes, line 2
2_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_[n]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object Boolean]"]=_["[object DataView]"]=_["[object Date]"]=_["[object Error]"]=_["[object Function]"]=_[r]=_["[object Number]"]=_[i]=_["[object RegExp]"]=_[o]=_["[object String]"]=_["[object WeakMap]"]=!1;var y=parseInt,v="object"==typeof global&&global&&global.Object===Object&&global,b="object"==typeof self&&self&&self.Object===Object&&self,w=v||b||Function("return this")(),k=t&&!t.nodeType&&t,M=k&&"object"==typeof e&&e&&!e.nodeType&&e,S=M&&M.exports===k&&v.process,T=function(){try{return S&&S.binding("util")}catch(e){}}(),x=T&&T.isTypedArray;function L(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function D(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function C(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function O(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var E,j,A,P=Array.prototype,I=Function.prototype,Y=Object.prototype,R=w["__core-js_shared__"],N=(E=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+E:"",F=I.toString,H=Y.hasOwnProperty,$=Y.toString,z=RegExp("^"+F.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),W=w.Symbol,U=w.Uint8Array,B=Y.propertyIsEnumerable,V=P.splice,q=(j=Object.keys,A=Object,function(e){return j(A(e))}),G=Math.max,K=we(w,"DataView"),J=we(w,"Map"),Q=we(w,"Promise"),X=we(w,"Set"),Z=we(w,"WeakMap"),ee=we(Object,"create"),te=Ce(K),ne=Ce(J),re=Ce(Q),ie=Ce(X),oe=Ce(Z),ae=W?W.prototype:void 0,se=ae?ae.valueOf:void 0,le=ae?ae.toString:void 0;function ue(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ce(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function de(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function he(e){var t=-1,n=e?e.length:0;for(this.__data__=new de;++t<n;)this.add(e[t])}function fe(e){this.__data__=new ce(e)}function pe(e,t){for(var n=e.length;n--;)if(Ee(e[n][0],t))return n;return-1}function me(e,t){for(var n=0,r=(t=Se(t,e)?[t]:ye(t)).length;null!=e&&n<r;)e=e[De(t[n++])];return n&&n==r?e:void 0}function ge(e,t){return null!=e&&t in Object(e)}function _e(e,t,a,s,l){return e===t||(null==e||null==t||!Re(e)&&!Ne(t)?e!=e&&t!=t:function(e,t,a,s,l,u){var c=Ae(e),d=Ae(t),h="[object Array]",f="[object Array]";c||(h=(h=ke(e))==n?i:h),d||(f=(f=ke(t))==n?i:f);var p=h==i&&!D(e),m=f==i&&!D(t),g=h==f;if(g&&!p)return u||(u=new fe),c||He(e)?ve(e,t,a,s,l,u):function(e,t,n,i,a,s,l){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new U(e),new U(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ee(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case r:var u=C;case o:if(u||(u=O),e.size!=t.size&&!(2&s))return!1;var c=l.get(e);if(c)return c==t;s|=1,l.set(e,t);var d=ve(u(e),u(t),i,a,s,l);return l.delete(e),d;case"[object Symbol]":if(se)return se.call(e)==se.call(t)}return!1}(e,t,h,a,s,l,u);if(!(2&l)){var _=p&&H.call(e,"__wrapped__"),y=m&&H.call(t,"__wrapped__");
vendor: 4,260 bytes, line 2
2if(_||y){var v=_?e.value():e,b=y?t.value():t;return u||(u=new fe),a(v,b,s,l,u)}}return!!g&&(u||(u=new fe),function(e,t,n,r,i,o){var a=2&i,s=$e(e),l=s.length;if(l!=$e(t).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in t:H.call(t,c)))return!1}var d=o.get(e);if(d&&o.get(t))return d==t;var h=!0;o.set(e,t),o.set(t,e);for(var f=a;++u<l;){var p=e[c=s[u]],m=t[c];if(r)var g=a?r(m,p,c,t,e,o):r(p,m,c,e,t,o);if(!(void 0===g?p===m||n(p,m,r,i,o):g)){h=!1;break}f||(f="constructor"==c)}if(h&&!f){var _=e.constructor,y=t.constructor;_==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof y&&y instanceof y||(h=!1)}return o.delete(e),o.delete(t),h}(e,t,a,s,l,u))}(e,t,_e,a,s,l))}function ye(e){return Ae(e)?e:Le(e)}function ve(e,t,n,r,i,o){var a=2&i,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var c=-1,d=!0,h=1&i?new he:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var f=e[c],p=t[c];if(r)var m=a?r(p,f,c,t,e,o):r(f,p,c,e,t,o);if(void 0!==m){if(m)continue;d=!1;break}if(h){if(!L(t,(function(e,t){if(!h.has(t)&&(f===e||n(f,e,r,i,o)))return h.add(t)}))){d=!1;break}}else if(f!==p&&!n(f,p,r,i,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function be(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function we(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Re(e)||function(e){return!!N&&N in e}(e))&&(Ie(e)||D(e)?z:p).test(Ce(e))}(n)?n:void 0}ue.prototype.clear=function(){this.__data__=ee?ee(null):{}},ue.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ue.prototype.get=function(e){var t=this.__data__;if(ee){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return H.call(t,e)?t[e]:void 0},ue.prototype.has=function(e){var t=this.__data__;return ee?void 0!==t[e]:H.call(t,e)},ue.prototype.set=function(e,t){return this.__data__[e]=ee&&void 0===t?"__lodash_hash_undefined__":t,this},ce.prototype.clear=function(){this.__data__=[]},ce.prototype.delete=function(e){var t=this.__data__,n=pe(t,e);return!(n<0||(n==t.length-1?t.pop():V.call(t,n,1),0))},ce.prototype.get=function(e){var t=this.__data__,n=pe(t,e);return n<0?void 0:t[n][1]},ce.prototype.has=function(e){return pe(this.__data__,e)>-1},ce.prototype.set=function(e,t){var n=this.__data__,r=pe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},de.prototype.clear=function(){this.__data__={hash:new ue,map:new(J||ce),string:new ue}},de.prototype.delete=function(e){return be(this,e).delete(e)},de.prototype.get=function(e){return be(this,e).get(e)},de.prototype.has=function(e){return be(this,e).has(e)},de.prototype.set=function(e,t){return be(this,e).set(e,t),this},he.prototype.add=he.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},he.prototype.has=function(e){return this.__data__.has(e)},fe.prototype.clear=function(){this.__data__=new ce},fe.prototype.delete=function(e){return this.__data__.delete(e)},fe.prototype.get=function(e){return this.__data__.get(e)},fe.prototype.has=function(e){return this.__data__.has(e)},fe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ce){var r=n.__data__;if(!J||r.length<199)return r.push([e,t]),this;n=this.__data__=new de(r)}return n.set(e,t),this};var ke=function(e){return $.call(e)};function Me(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||g.test(e))&&e>-1&&e%1==0&&e<t}function Se(e,t){if(Ae(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Fe(e))||s.test(e)||!a.test(e)||null!=t&&e in Object(t)}function Te(e){return e==e&&!Re(e)}function xe(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(K&&"[object DataView]"!=ke(new K(new ArrayBuffer(1)))||J&&ke(new J)!=r||Q&&"[object Promise]"!=ke(Q.resolve())||X&&ke(new X)!=o||Z&&"[object WeakMap]"!=ke(new Z))&&(ke=function(e){var t=$.call(e),n=t==i?e.constructor:void 0,a=n?Ce(n):void 0;if(a)switch(a){case te:return"[object DataView]";case ne:return r;case re:return"[object Promise]";case ie:return o;case oe:return"[object WeakMap]"}return t});var Le=Oe((function(e){var t;
2e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(Fe(e))return le?le.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return l.test(e)&&n.push(""),e.replace(u,(function(e,t,r,i){n.push(r?i.replace(d,"$1"):t||e)})),n}));function De(e){if("string"==typeof e||Fe(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ce(e){if(null!=e){try{return F.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Oe(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(Oe.Cache||de),n}function Ee(e,t){return e===t||e!=e&&t!=t}function je(e){return function(e){return Ne(e)&&Pe(e)}(e)&&H.call(e,"callee")&&(!B.call(e,"callee")||$.call(e)==n)}Oe.Cache=de;var Ae=Array.isArray;function Pe(e){return null!=e&&Ye(e.length)&&!Ie(e)}function Ie(e){var t=Re(e)?$.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Ye(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Re(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ne(e){return!!e&&"object"==typeof e}function Fe(e){return"symbol"==typeof e||Ne(e)&&"[object Symbol]"==$.call(e)}var He=x?function(e){return function(t){return e(t)}}(x):function(e){return Ne(e)&&Ye(e.length)&&!!_[$.call(e)]};function $e(e){return Pe(e)?function(e,t){var n=Ae(e)||je(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!H.call(e,o)||i&&("length"==o||Me(o,r))||n.push(o);return n}(e):function(e){if((t=e)!==("function"==typeof(n=t&&t.constructor)&&n.prototype||Y))return q(e);var t,n,r=[];for(var i in Object(e))H.call(e,i)&&"constructor"!=i&&r.push(i);return r}(e)}function ze(e){return e}e.exports=function(e,t,n){var r=e?e.length:0;if(!r)return-1;var i,o,a,s=null==n?0:(o=(i=(a=n)?(a=function(e){if("number"==typeof e)return e;if(Fe(e))return NaN;if(Re(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Re(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var n=f.test(e);return n||m.test(e)?y(e.slice(2),n?2:8):h.test(e)?NaN:+e}(a))===1/0||a===-1/0?17976931348623157e292*(a<0?-1:1):a==a?a:0:0===a?a:0)%1,i==i?o?i-o:i:0);return s<0&&(s=G(r+s,0)),function(e,t,n,r){for(var i=e.length,o=n+-1;++o<i;)if(t(e[o],o,e))return o;return-1}(e,function(e){return"function"==typeof e?e:null==e?ze:"object"==typeof e?Ae(e)?function(e,t){return Se(e)&&Te(t)?xe(De(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:me(e,t);return void 0===r?void 0:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,i=-1,o=(t=Se(t,e)?[t]:ye(t)).length;++i<o;){var a=De(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}return r||!!(o=e?e.length:0)&&Ye(o)&&Me(a,o)&&(Ae(e)||je(e))}(e,t,ge)}(n,e):_e(t,r,void 0,3)}}(e[0],e[1]):1==(n=function(e){for(var t=$e(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Te(i)]}return t}(t=e)).length&&n[0][2]?xe(n[0][0],n[0][1]):function(e){return e===t||function(e,t,n,r){var i=n.length,o=i;if(null==e)return!o;for(e=Object(e);i--;){var a=n[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var s=(a=n[i])[0],l=e[s];if(a[2]){if(void 0===l&&!(s in e))return!1}else if(!_e(a[1],l,void 0,3,new fe))return!1}return!0}(e,0,n)}:Se(r=e)?(i=De(r),function(e){return null==e?void 0:e[i]}):function(e){return function(t){return me(t,e)}}(r);var t,n,r,i}(t),s)}}).call(this,n("YuTi")(e))},BVg3:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(e)?o+(n||i?"sek\xfandur":"sek\xfandum"):o+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?o+(n||i?"m\xedn\xfatur":"m\xedn\xfatum"):n?o+"m\xedn\xfata":o+"m\xedn\xfatu";case"hh":return t(e)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(i?"daga":"d\xf6gum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":i?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?n?o+"m\xe1nu\xf0ir":o+(i?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?o+"m\xe1nu\xf0ur":o+(i?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||i?"\xe1r":"\xe1ri";case"yy":return t(e)?o+(n||i?"\xe1r":"\xe1rum"):o+(n||i?"\xe1r":"\xe1ri")}}e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},ByF4:function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Cfvw:function(e,t,n){"use strict";var r=n("HDdC"),i=n("SeVD"),o=n("quSY"),a=n("kJWO"),s=n("jZKg"),l=n("Lhse"),u=n("c2HN"),c=n("I55L");function d(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[a.a]}(e))return function(e,t){return new r.a(n=>{const r=new o.a;return r.add(t.schedule(()=>{const i=e[a.a]();r.add(i.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r})}(e,t);if(Object(u.a)(e))return function(e,t){return new r.a(n=>{const r=new o.a;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r})}(e,t);if(Object(c.a)(e))return Object(s.a)(e,t);if(function(e){return e&&"function"==typeof e[l.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a(n=>{const r=new o.a;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(()=>{i=e[l.a](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=i.next();e=n.value,t=n.done}catch(r){return void n.error(r)}t?n.complete():(n.next(e),this.schedule())})))})),r})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof r.a?e:new r.a(Object(i.a)(e))}n.d(t,"a",(function(){return d}))},CjzT:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".
2split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},CoRJ:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},"D/JM":function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},D0XW:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("3N8a");const i=new(n("IjjT").a)(r.a)},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},"DKr+":function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={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 r?i[n][0]:i[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0}
vendor: 6,079 bytes, line 2
2,meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n("wd/R"))},Dkky:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"\xf6\xf6":"\xd6\xd6":n?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(e){return"\xf6s"===e||"\xd6S"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%
2d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(e,t,n){!function(e){"use strict";var t={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\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,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"\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}})}(n("wd/R"))},EOgW:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,n){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},EY2u:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}
2));var r=n("HDdC");const i=new r.a(e=>e.complete());function o(e){return e?function(e){return new r.a(t=>e.schedule(()=>t.complete()))}(e):i}},Ffbe:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("mrSG"),i=n("8Y7J"),o=n("8piP"),a=n("I9vy");class s{constructor(){this.gc=new i.r,this.ol=new i.r,this.fm=new i.r}ngOnInit(){this.startThings()}startThings(){return r.__awaiter(this,void 0,void 0,(function*(){"text"===this.element.type?this.textEle.nativeElement.insertAdjacentHTML("afterbegin",this.element.value):this.textEle.nativeElement.toggleAttribute("hidden",!0)}))}gcEvent(e){this.gc.emit(e)}olEvent(e){this.ol.emit(e)}fmEvent(e){this.fm.emit(e)}woof(e,t){return!(!e||!t)&&this.matchingStatus(Object.keys(e),[t])}matchingStatus(e,t){return!a(o(e,t))}checkRoles(e,t){return"Admin"===e?this.matchingRole(["Admin","Dev"],[t]):"Dev"===e?this.matchingRole(["Dev"],[t]):"SDO"===e?this.matchingRole(["Admin","SDO","Dev"],[t]):"Writer"===e?this.matchingRole(["Writer","Admin","SDO","Dev"],[t]):"Assistant"===e?this.matchingRole(["Assistant","Writer","Admin","SDO","Dev"],[t]):"Reader"===e&&this.matchingRole(["Reader","Assistant","Writer","SDO","Admin","Dev"],[t])}matchingRole(e,t){return!a(o(e,t))}imgError(e){return console.log("image error"),e.src="./../../assets/file.png",!0}}},Fnuy:function(e,t,n){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},"Fs+g":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("mrSG"),i=n("qNh5"),o=n("ZZ/e"),a=n("8Y7J");let s=(()=>{class e{constructor(e,t){this.auth=e,this.alert=t}canActivate(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const e=!!(yield this.auth.isActive);if(!e){const e=yield this.alert.create({header:"Blocked",subHeader:"Users Only",message:"Please Log In",buttons:["Got it, Chief"]});yield e.present()}return e}))}}return e.ngInjectableDef=a.Zb({factory:function(){return new e(a.ac(i.a),a.ac(o.b))},token:e,providedIn:"root"}),e})()},G0Uy:function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},G2Zt:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n("ZZ/e"),n("Yttj");
2class r{constructor(e,t,n){this.modal=e,this.sanitizer=t,this.webview=n,this.bulSliders={slidesPerView:1,spaceBetween:10,centeredSlides:!0,slidesPerColumnFill:"column",initialSlide:0}}ngOnInit(){console.log(JSON.stringify(this.images))}wv(e){const t=this.webview.convertFileSrc(e);return this.sanitizer.bypassSecurityTrustUrl(t)}dismiss(){this.images=null,this.title=null,this.modal.dismiss()}reachEnd(e){console.log("reached end"),console.log(JSON.stringify(e))}slideChange(e){console.log("slide changed"),console.log(JSON.stringify(e))}}},H8ED:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(r=+e,i={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".
2split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},HC5s:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("Cfvw"),i=n("SxV6");function o(e){return Object(r.a)(e).pipe(Object(i.a)()).toPromise()}},HDdC:function(e,t,n){"use strict";var r=n("7o/Q"),i=n("2QA8"),o=n("gRHU"),a=n("kJWO"),s=n("mCNh"),l=n("2fFW");n.d(t,"a",(function(){return u}));let u=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:a}=this,s=function(e,t,n){if(e){if(e instanceof r.a)return e;if(e[i.a])return e[i.a]()}return e||t||n?new r.a(e,t,n):new r.a(o.a)}(e,t,n);if(s.add(a?a.call(s,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),l.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){l.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:i}=e;if(t||i)return!1;e=n&&n instanceof r.a?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=c(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(i){n(i),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[a.a](){return this}pipe(...e){return 0===e.length?this:Object(s.b)(e)(this)}toPromise(e){return new(e=c(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function c(e){if(e||(e=l.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},HP3h:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(e){return function(t,i,o,a){var s=n(t),l=r[e][n(t)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,t)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},HPGL:function(e,t,n){"use strict";function r(){if("undefined"==typeof process){var e="undefined"!=typeof window?window:{},t=Date.now(),n=!1;e.document.addEventListener("deviceready",(function(){console.log("Ionic Native: deviceready event fired after "+(Date.now()-t)+" ms"),n=!0})),setTimeout((function(){!n&&e.cordova&&console.warn("Ionic Native: deviceready did not fire within 5000ms. This can happen when plugins are in an inconsistent state. Try removing plugins from plugins/ and reinstalling them.")}),5e3)}}n.d(t,"a",(function(){return r}))},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>e&&"number"==typeof e.length&&"function"!=typeof e},I9vy:function(e,t,n){(function(e){var n,r,i,o="[object Map]",a="[object Set]",s=/^\[object .+?Constructor\]$/,l="object"==typeof global&&global&&global.Object===Object&&global,u="object"==typeof self&&self&&self.Object===Object&&self,c=l||u||Function("return this")(),d=t&&!t.nodeType&&t,h=d&&"object"==typeof e&&e&&!e.nodeType&&e,f=h&&h.exports===d,p=Function.prototype,m=Object.prototype,g=c["__core-js_shared__"],_=(n=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||""))?"Symbol(sr
2c)_1."+n:"",y=p.toString,v=m.hasOwnProperty,b=m.toString,w=RegExp("^"+y.call(v).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k=f?c.Buffer:void 0,M=m.propertyIsEnumerable,S=k?k.isBuffer:void 0,T=(r=Object.keys,i=Object,function(e){return r(i(e))}),x=R(c,"DataView"),L=R(c,"Map"),D=R(c,"Promise"),C=R(c,"Set"),O=R(c,"WeakMap"),E=!M.call({valueOf:1},"valueOf"),j=F(x),A=F(L),P=F(D),I=F(C),Y=F(O);function R(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!U(e)||function(e){return!!_&&_ in e}(e))&&(W(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}(e)?w:s).test(F(e))}(n)?n:void 0}var N=function(e){return b.call(e)};function F(e){if(null!=e){try{return y.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(x&&"[object DataView]"!=N(new x(new ArrayBuffer(1)))||L&&N(new L)!=o||D&&"[object Promise]"!=N(D.resolve())||C&&N(new C)!=a||O&&"[object WeakMap]"!=N(new O))&&(N=function(e){var t=b.call(e),n="[object Object]"==t?e.constructor:void 0,r=n?F(n):void 0;if(r)switch(r){case j:return"[object DataView]";case A:return o;case P:return"[object Promise]";case I:return a;case Y:return"[object WeakMap]"}return t});var H=Array.isArray;function $(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!W(e)}var z=S||function(){return!1};function W(e){var t=U(e)?b.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function U(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){if($(e)&&(H(e)||"string"==typeof e||"function"==typeof e.splice||z(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&$(e)}(e)&&v.call(e,"callee")&&(!M.call(e,"callee")||"[object Arguments]"==b.call(e))}(e)))return!e.length;var t=N(e);if(t==o||t==a)return!e.size;if(E||function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||m)}(e))return!T(e).length;for(var n in e)if(v.call(e,n))return!1;return!0}}).call(this,n("YuTi")(e))},IBtZ:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,(function(e,t,n){return"\u10d8"===n?t+"\u10e8\u10d8":t+n+"\u10e8\u10d8"}))},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):e},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},IdTS:function(e,t){function n(e,t,n){if(t!=t)return function(e,t,n,r){for(var i=e.length,o=n+-1;++o<i;)if(t(e[o],o,e))return o;return-1}(e,r,n);for(var i=n-1,o=e.length;++i<o;)if(e[i]===t)return i;return-1}function r(e){return e!=e}var i=Array.prototype.splice;e.exports=function(e,t){return e&&e.length&&t&&t.length?function(e,t,r,o){var a=n,s=-1,l=t.length,u=e;for(e===t&&(t=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(t));++s<l;)for(var c=0,d=t[s],h=d;(c=a(u,h,c,void 0))>-1;)u!==e&&i.call(u,c,1),i.call(e,c,1);return e}(e,t):e}},IheW:function(e,t,n){"use strict";n.d(t,"k",(function(){return j})),n.d(t,"n",(function(){return R})),n.d(t,"o",(function(){return N})),n.d(t,"l",(function(){return P})),n.d(t,"m",(function(){return I})),n.d(t,"b",(function(){return d})),n.d(t,"f",(function(){return c})),n.d(t,"c",(function(){return x})),n.d(t,"a",(function(){return D})),n.d(t,"d",(function(){return $})),n.d(t,"e",(function(){return H})),n.d(t,"j",(function(){return F})),n.d(t,"g",(function(){return A})),n.d(t,"i",(function(){return E})),n.d(t,"h",(function(){return Y}));var r=n("8Y7J"),i=n("LRne"),o=n("HDdC"),a=n("bOdf"),s=n("pLZG"),l=n("lJxs"),u=n("SVse");class c{}class d{}class h{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>
vendor: 6,764 bytes, line 2
2{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),r=n.toLowerCase(),i=e.slice(t+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const r=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(t,r))})}: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 h?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 h;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof h?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 n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const r=("a"===e.op?this.headers.get(t):void 0)||[];r.push(...n),this.headers.set(t,r);break;case"d":const i=e.value;if(i){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===i.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 f{encodeKey(e){return p(e)}encodeValue(e){return p(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function p(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 m{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new f,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.split("&").forEach(e=>{const r=e.indexOf("="),[i,o]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],a=n.get(i)||[];a.push(o),n.set(i,a)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):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("&")}).join("&")}clone(e){const t=new m({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 n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function g(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function _(e){return"undefined"!=typeof Blob&&e instanceof Blob}function y(e){return"undefined"!=typeof FormData&&e instanceof FormData}class v{constructor(e,t,n,r){let i;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)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new h),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":n<t.length-1?"&":"")+e}}else this.params=new m,this.urlWithParams=t}serializeBody(){return null===this.body?null:g(this.body)||_(this.body)||y(this.body)||"string"==typeof this.body?this.body:this.body instanceof m?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||y(this.body)?null:_(this.body)?this.body.type||null:g(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof m?"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,n=e.url||this.url,r=e.responseType||this.responseType,i=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let s=e.headers||this.headers,l=e.params||this.params;return void 0!==e.setHeaders&&(s=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),s)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new v(t,n,i,{params:l,headers:s,reportProgress:a,responseType:r,withCredentials:o})}}const b=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.Re
2sponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}();class w{constructor(e,t=200,n="OK"){this.headers=e.headers||new h,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class k extends w{constructor(e={}){super(e),this.type=b.ResponseHeader}clone(e={}){return new k({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 M extends w{constructor(e={}){super(e),this.type=b.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new M({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 S extends w{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 T(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}class x{constructor(e){this.handler=e}request(e,t,n={}){let r;if(e instanceof v)r=e;else{let i=void 0;i=n.headers instanceof h?n.headers:new h(n.headers);let o=void 0;n.params&&(o=n.params instanceof m?n.params:new m({fromObject:n.params})),r=new v(e,t,void 0!==n.body?n.body:null,{headers:i,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const o=Object(i.a)(r).pipe(Object(a.a)(e=>this.handler.handle(e)));if(e instanceof v||"events"===n.observe)return o;const u=o.pipe(Object(s.a)(e=>e instanceof M));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return u.pipe(Object(l.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return u.pipe(Object(l.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return u.pipe(Object(l.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return u.pipe(Object(l.a)(e=>e.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${n.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 m).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,T(n,t))}post(e,t,n={}){return this.request("POST",e,T(n,t))}put(e,t,n={}){return this.request("PUT",e,T(n,t))}}class L{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const D=new r.v("HTTP_INTERCEPTORS");class C{intercept(e,t){return t.handle(e)}}const O=/^\)\]\}',?\n/;class E{}class j{constructor(){}build(){return new XMLHttpRequest}}class A{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new o.a(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const r=e.serializeBody();let i=null;const o=()=>{if(null!==i)return i;const t=1223===n.status?204:n.status,r=n.statusText||"OK",o=new h(n.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}(n)||e.url;return i=new k({headers:o,status:t,statusText:r,url:a}),i},a=()=>{let{headers:r,status:i,statusText:a,url:s}=o(),l=null;204!==i&&(l=void 0===n.response?n.responseText:n.response),0===i&&(i=l?200:0);let u=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(O,"");try{l=""!==l?JSON.parse(l):null}catch(c){l=e,u&&(u=!1,l={error:c,text:l})}}u?(t.next(new M({body:l,headers:r,status:i,statusText:a,url:s||void 0})),t.complete()):t.error(new S({error:l,headers:r,status:i,statusText:a,url:s||void 0}))},s=e=>{const{url:r}=o(),i=new S({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});t.error(i)};let l=!1;const u=r=>{l||(t.next(o()),l=!0);let i={type:b.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(i.total=r.total),"text"===e.responseType&&n.responseText&&(i.partialText=n.responseText),t.next(i)},c=e=>{let n={type:b.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",a),n.addEventListener("error",s),e.reportProgress&&(n.addEventListener("progress",u),null!==r&&n.upload&&n.upload.addEventListener("progress",c)),n.send(r),t.next({type:b.Sent}),()=>{n.removeEventListener("error",s),n.removeEventListener("load",a),e.reportProgress&&(n.removeEventListener("progress",u),null!==r&&n.upload&&n.upload.removeEventListener("progress",c)),n.abort()}})}}const P=new r.v("XSRF_COOKIE_NAME"),I=new r.v("XSRF_HEADER_NAME");class Y{}class R{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,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=Object(u.t)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}class N{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}class F{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(D,[]);this.chain=e.reduceRight((e,t)=>new L(e,t),this.backend)}return this.chain.handle(e)}}class H{static disable(){return{ngModule:H,providers:[{provide:N,useClass:C}]}}static withOptions(e={}){return{ngModule:H,providers:[e.cookieName?{provide:P,useValue:e.cookieName}:[],e.headerName?{provide:I,useValue:e.headerName}:[]]}}}class ${}},IjjT:function(e,t,n){"use strict";let r=(()=>
2{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();n.d(t,"a",(function(){return i}));class i extends r{constructor(e,t=r.now){super(e,()=>i.delegate&&i.delegate!==this?i.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return i.delegate&&i.delegate!==this?i.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},"Ivi+":function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,t,n){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},IzEk:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("7o/Q"),i=n("4I5i"),o=n("EY2u");function a(e){return t=>0===e?Object(o.b)():t.lift(new s(e))}class s{constructor(e){if(this.total=e,this.total<0)throw new i.a}call(e,t){return t.subscribe(new l(e,this.total))}}class l extends r.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}},"J/vQ":function(e,t){function n(e,t,n){if(t!=t)return function(e,t,n,r){for(var i=e.length,o=n+-1;++o<i;)if(t(e[o],o,e))return o;return-1}(e,i,n);for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function r(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function i(e){return e!=e}var o=Array.prototype.splice;e.exports=function(e,t,i){return e&&e.length&&t&&t.length?function(e,t,i,a){var s=a?r:n,l=-1,u=t.length,c=e;for(e===t&&(t=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(t));++l<u;)for(var d=0,h=t[l],f=h;(d=s(c,f,d,a))>-1;)c!==e&&o.call(c,d,1),o.call(e,d,1);return e}(e,t,0,i):e}},"JCF/":function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},r=["\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:r,monthsShort:r,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,t,n){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},JIr8:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("zx2A");function i(e){return function(t){const n=new o(e),r=t.lift(n);return n.caught=r}}class o{constructor(e){this.selector=e}call(e,t){return t.subscribe(new a(e,this.selector,this.caught))}}class a extends r.b{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const i=new r.a(this);this.add(i);const o=Object(r.c)(n,i);o!==i&&this.add(o)}}}},JVSJ:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return r+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return r+(1===e?"dan":"dana");case"MM":return r+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return r+(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}})}(n("wd/R"))},JX91:function(e,t,n){"use strict";var r=n("LRne"),i=n("0EUg");function o(...e){return Object(i.a)()(Object(r.a)(...e))}var a=n("z+Ro");function s(...e){const t=e[e.length-1];return Object(a.a)(t)?(e.pop(),n=>o(e,n,t)):t=>o(e,t)}n.d(t,"a",(function(){return s}))},JgjO:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n("ZZ/e");
2class r{constructor(e){this.viewCtrl=e}ngOnInit(){this.icons=["airplane","alert","alarm","american-football","boat","bookmark","build","calendar","call","checkbox","clipboard","document","filing","flag","folder","globe","help-buoy","jet","mail","medkit","megaphone","paper","people","rainy","restaurant","ribbon","star","trophy"]}return(e){this.viewCtrl.dismiss(e)}}},Ji5e:function(e,t,n){},JvlW:function(e,t,n){!function(e){"use strict";var t={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(e,t,n,r){return t?i(n)[0]:r?i(n)[1]:i(n)[2]}function r(e){return e%10==0||e>10&&e<20}function i(e){return t[e].split("_")}function o(e,t,o,a){var s=e+" ";return 1===e?s+n(0,t,o[0],a):t?s+(r(e)?i(o)[1]:i(o)[0]):a?s+i(o)[1]:s+(r(e)?i(o)[1]:i(o)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,n,r){return t?"kelios sekund\u0117s":r?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:o,m:n,mm:o,h:n,hh:o,d:n,dd:o,M:n,MM:o,y:n,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},K2hA:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("8Y7J"),i=n("myLu"),o=n("YYej");class a{constructor(){this.fzUpdate=new r.r,this.disabled=!1,this.keys=[],this.validAnswer=!1,this.onChange=e=>{},this.onTouch=()=>{}}writeValue(e){this.onChange(e),this.theScore=e||0}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouch=e}ngOnInit(){if(this.element){this.questionNumber=this.element.order?this.element.order+1:0,this.iconOn="checkmark-circle",this.iconOff="checkmark-circle-outline",this.keys=this.element.elements?Object.keys(this.element.elements):[],this.answerList=i(this.keys.map(e=>Object.assign({$key:e},this.element.elements[e])),"order");const e=this.keys.map(e=>Object.assign({$key:e},{value:!1}));this.tempList=o(e,"$key")}}click(e){const t=!0!==this.tempList[e.$key].value;
2this.element.multiple||this.keys.forEach(e=>{this.tempList[e].value=!1}),this.tempList[e.$key].value=t;const n=this.filterFunc(this.tempList);this.fzUpdate.emit(n),n!==[]&&(this.validAnswer=!0),this.writeValue(e)}filterFunc(e){const t=[];return this.keys.forEach(n=>{!0===e[n].value&&t.push(n)}),t}}},K813:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("mrSG"),i=(n("ZZ/e"),n("Zr1d"),n("XNiG")),o=(n("MDrr"),n("j7BH"));class a{constructor(e,t,n,r,o,a){this.modalCtrl=e,this.keyboard=t,this.form=n,this.plt=r,this.textIonic=o,this.popover=a,this.leave$=new i.a,this.sectionHeight="100%",this.inputBottom="0%",this.noKb=1,this.wKb="0px",this.showTextOptions=!1,this.isMobile=!1,this.isWeb=!1,this.isBold=!1,this.isItalic=!1,this.isUl=!1,this.isST=!1,this.isSub=!1,this.isSup=!1,this.textType={},this.stringTools={isNullOrWhiteSpace:e=>null==e||0===(e=(e=e.replace(/[\n\r]/g,"")).split(" ").join("")).length}}ngOnInit(){this.mainField=this.editorEle.nativeElement,this.mainField.focus(),this.item=this.form.control(""),this.textAlign="left",this.updateItem(),this.startup(),this.plt.is("cordova")?(this.isMobile=!0,this.keyboard.hideFormAccessoryBar(!0)):(this.sectionHeight="100%",this.inputBottom="0%",this.isWeb=!0),this.body=this.form.control(this.text),this.item=this.form.control(this.body)}ngOnDestroy(){this.leave$.next(!0),this.leave$.unsubscribe()}dismiss(){this.modalCtrl.dismiss(),this.textChanged=!1}save(){this.item.touched?this.modalCtrl.dismiss({data:""!==this.item.value?this.item.value:"[blank]"}):this.modalCtrl.dismiss()}updateItem(){const e=this.editorEle.nativeElement;e.innerHTML=null!==this.text?this.text:"";const t=()=>{this.stringTools.isNullOrWhiteSpace(e.innerText)?(e.innerHTML="<div></div>",this.item.setValue(null)):(this.item.setValue(e.innerHTML),this.item.markAsTouched())};e.onchange=()=>t(),e.onkeyup=()=>t(),e.onpaste=()=>t(),e.oninput=()=>t()}startup(){const e=this.editorEle.nativeElement;e.addEventListener("focus",()=>{this.showTextOptions=!0}),e.addEventListener("click",e=>{this.textAlign=""!==e.path[0].style.textAlign?e.path[0].style.textAlign:"left",this.textOL="OL"===e.path[2].nodeName,this.textUL="UL"===e.path[1].nodeName||"UL"===e.path[2].nodeName})}runCommand(e,t){if(t.includes("|")){const e=t.split("|")[1];t=t.split("|")[0],document.execCommand(t,!1,e)}else document.execCommand(t,!1)}setColor(e,t){document.execCommand("styleWithCSS",!1),document.execCommand("backColor",!1,t),document.execCommand("foreColor",!1,"var(--fz-text-color)")}setAttr(e){"left"!==e&&"center"!==e&&"right"!==e&&"justify"!==e||(this.textAlign=e),"H1"!==e&&"H2"!==e&&"H3"!==e&&"H4"!==e&&"p"!==e&&"div"!==e||(this.eleType=e),"bold"===e&&(this.isBold=e),"italic"===e&&(this.isItalic=e),"underline"===e&&(this.isUl=e)}bold(e){this.isBold=!this.isBold,this.runCommand(e,"bold")}italic(e){this.isItalic=!this.isItalic,this.runCommand(e,"italic")}ul(e){this.isUl=!this.isUl,this.runCommand(e,"underline")}tSize(e,t){let n="formatBlock|";switch(t){case"H1":n+="<H1>";break;case"H2":n+="<H2>";break;case"H3":n+="<H3>";break;case"H4":n+="<H4>";break;case"P":n+="<p>";break;case"pre":n+="<div>";break;case"bq":n+="<blockquote>";break;case"ind":n+="<address>";break;default:n+="<div>"}this.runCommand(e,n)}st(e){this.isST=!this.isST,this.runCommand(e,"strikeThrough")}sub(e){this.isSub=!this.isSub,this.runCommand(e,"subscript")}sup(e){this.isSup=!this.isSup,this.runCommand(e,"superscript")}rmFormat(e){document.execCommand("styleWithCSS",!1),document.execCommand("backColor",!1,"none"),this.runCommand(e,"removeFormat")}alignThings(e,t){this.textAlign="full"===t?"justify":t;const n="justify"+t.charAt(0).toUpperCase()+t.slice(1);this.runCommand(e,n),this.setAttr(t)}decorateThings(e,t){this.runCommand(e,t),this.setAttr(t)}showAlignPopover(e){return r.__awaiter(this,void 0,void 0,(function*(){this.mainField.focus();const t=yield this.popover.create({component:o.a,cssClass:"icon-linear-menu",keyboardClose:!1,event:e,componentProps:{buttonArray:[{label:"Left",icon:"fz-align-left",id:"left"},{label:"Center",icon:"fz-align-center",id:"center"},{label:"Right",icon:"fz-align-right",id:"right"},{label:"Justify",icon:"fz-align-justify",id:"full"}],current:[this.textAlign]}});yield t.present();const{data:n}=yield t.onWillDismiss();if(n&&n.id!==this.textAlign){const t="justify"+n.id.charAt(0).toUpperCase()+n.id.slice(1);this.runCommand(e,t),this.setAttr(n.id)}}))}showDecoratorPopover(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.popover.create({component:o.a,cssClass:"icon-linear-menu",keyboardClose:!1,event:e,componentProps:{buttonArray:[{label:"Bold",icon:"fz-bold",id:"bold"},{label:"Italic",icon:"fz-italic",id:"italic"},{label:"Underline",icon:"fz-underline",id:"underline"}],current:[this.isBold,this.isItalic,this.isUl]}});yield t.present();const{data:n}=yield t.onWillDismiss();n&&""!==n.id&&(this.runCommand(e,n.id),this.setAttr(n.id))}))}
2showEditorPopover(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.popover.create({component:o.a,cssClass:"icon-linear-menu",keyboardClose:!1,event:e,componentProps:{buttonArray:[{label:"Undo",icon:"fz-undo",id:"undo"},{label:"Redo",icon:"fz-redo",id:"redo"},{label:"Remove Format",icon:"fz-ban",id:"removeFormat"}],current:[this.isBold,this.isItalic,this.isUl]}});yield t.present();const{data:n}=yield t.onWillDismiss();n&&""!==n.id&&this.runCommand(e,n.id)}))}showListPopover(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.popover.create({component:o.a,cssClass:"icon-linear-menu",keyboardClose:!1,event:e,componentProps:{buttonArray:[{label:"Numbered List",icon:"fz-list-ol",id:"OL"},{label:"Bullet Points",icon:"fz-list-ul",id:"UL"}],current:[this.textUL?"UL":!!this.textOL&&"OL"]}});yield t.present();const{data:n}=yield t.onWillDismiss();n&&("OL"===n.id?this.runCommand(e,"insertOrderedList"):"UL"===n.id&&this.runCommand(e,"insertUnorderedList"))}))}showIndentPopover(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.popover.create({component:o.a,cssClass:"icon-linear-menu",keyboardClose:!1,event:e,componentProps:{buttonArray:[{label:"Indent",icon:"fz-indent",id:"indent"},{label:"Outdent",icon:"fz-outdent",id:"outdent"}],current:[]}});yield t.present();const{data:n}=yield t.onWillDismiss();n&&("indent"===n.id?this.runCommand(e,"indent"):"outdent"===n.id&&this.runCommand(e,"outdent"))}))}showTextFormattingPopover(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=[];this.isBold&&t.push("bold"),this.isItalic&&t.push("italic"),this.isUl&&t.push("underline"),this.isST&&t.push("strikethrough"),this.isSub&&t.push("subscript"),this.isSup&&t.push("superscript");const n=yield this.popover.create({component:o.a,cssClass:"icon-linear-menu",keyboardClose:!1,event:e,componentProps:{buttonArray:[{label:"Bold",icon:"fz-bold",id:"bold"},{label:"Italic",icon:"fz-italic",id:"italic"},{label:"Underline",icon:"fz-underline",id:"underline"},{label:"Strikethrough",icon:"fz-strikethrough",id:"strikethrough"}],current:[this.textAlign]}});yield n.present();const{data:r}=yield n.onWillDismiss();if(r&&r.id)switch(r.id){case"bold":this.bold(e);break;case"italic":this.italic(e);break;case"underline":this.ul(e);break;case"strikethrough":this.st(e)}}))}}},"KOl+":function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return h})),n.d(t,"d",(function(){return f})),n.d(t,"b",(function(){return _})),n.d(t,"e",(function(){return v})),n.d(t,"f",(function(){return b}));var r=n("HDdC"),i=n("xgIS"),o={error:"cordova_not_available"},a={error:"plugin_not_installed"};function s(e){if("undefined"!=typeof window&&window.angular){var t=window.document,n=window.angular.element(t.querySelector("[ng-app]")||t.body).injector();if(n)return n.get("$q")((function(t,n){e(t,n)}));console.warn("Angular 1 was detected but $q couldn't be retrieved. This is usually when the app is not bootstrapped on the html or body tag. Falling back to native promises which won't trigger an automatic digest when promises resolve.")}return function(){if(Promise)return new Promise((function(t,n){e(t,n)}));console.error("No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.")}()}function l(e,t,n,r){var i,o;void 0===r&&(r={});var a=s((function(a,s){i=r.destruct?m(e,t,n,r,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a(e)}),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)})):m(e,t,n,r,a,s),o=s}));return i&&i.error&&(a.catch((function(){})),"function"==typeof o&&o(i.error)),a}function u(e,t,n,r){return void 0===r&&(r={}),s((function(i,o){var a=m(e,t,n,r);a?a.error?o(a.error):a.then&&a.then(i).catch(o):o({error:"unexpected_error"})}))}function c(e,t,n,i){return void 0===i&&(i={}),new r.a((function(r){var o;return(o=i.destruct?m(e,t,n,i,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.next(e)}),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.error(e)})):m(e,t,n,i,r.next.bind(r),r.error.bind(r)))&&o.error&&(r.error(o.error),r.complete()),function(){try{if(i.clearFunction)return i.clearWithArgs?m(e,i.clearFunction,n,i,r.next.bind(r),r.error.bind(r)):m(e,i.clearFunction,[])}catch(o){console.warn("Unable to clear the previous observable watch for",e.constructor.getPluginName(),t),console.warn(o)}}}))}function d(e,t){return t="undefined"!=typeof window&&t?y(window,t):t||("undefined"!=typeof window?window:{}),Object(i.a)(t,e)}function h(e,t,n){var r,i,s;return"string"==typeof e?r=e:(r=e.constructor.getPluginRef(),n=e.constructor.getPluginName(),s=e.constructor.getPluginInstallName()),!(!(i=_(r))||t&&void 0===i[t])||("undefined"!=typeof window&&window.cordova?(function(e,t,n){n?console.warn("Native: tried calling "+e+"."+n+", but the "+e+" plugin is not installed."):console.warn("Native: tried accessing the "+e+" plugin but it's not installed."),t&&console.warn("Install the "+e+" plugin: 'ionic cordova plugin add "+t+"'")}(n,s,t),a):(function(e,t){"undefined"==typeof process&&(t?console.warn("Native: tried calling "+e+"."+t+", but Cordova is not available. Make sure to include cordova.js or run in a device/simulator"):console.warn("Native: tried accessing the "+e+" plugin but Cordova is not available. Make sure to include cordova.js or run in a device/simulator"))}(n,t),o))}function f(e,t){return e._objectInstance&&(!t||void 0!==e._objectInstance[t])}function p(e,t,n,r){if(void 0===t&&(t={}),t.sync)return e;if("reverse"===t.callbackOrder)e.unshift(r),e.unshift(n);else if("node"===t.callbackStyle)e.push((function(e,t){e?r(e):n(t)}));else if("object"===t.callbackStyle&&t.successName&&t.errorName){var i={};i[t.successName]=n,i[t.errorName]=r,e.push(i)}else if(void 0!==t.successIndex||void 0!==t.errorIndex){var o=function(){t.successIndex>e.length?e[t.successIndex]=n:e.splice(t.successIndex,0,n)},a=function(){t.errorIndex>e.length?e[t.errorIndex]=r:e.splice(t.errorIndex,0,r)};t.successIndex>t.errorIndex?(a(),o()):(o(),a())}else e.push(n),e.push(r);return e}function m(e,t,n,r,i,o){void 0===r&&(r={}),n=p(n,r,i,o);var a=h(e,t);if(!0===a){var s=_(e.constructor.getPluginRef());return s[t].apply(s,n)}return a}function g(e,t,n,r,i,o){if(void 0===r&&(r={}),n=p(n,r,i,o),f(e,t))return e._objectInstance[t].apply(e._objectInstance,n)}function _(e){return"undefined"!=typeof window?y(window,e):null}function y(e,t){for(var n=t.split("."),r=e,i=0;i<n.length;i++){if(!r)return null;r=r[n[i]]}return r}var v=function(e,t,n){return void 0===n&&(n={}),function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return n.sync?m(e,t,r,n):n.observable?c(e,t,r,n):n.eventObservable&&n.event?d(n.event,n.element):n.otherPromise?u(e,t,r,n):l(e,t,r,n)}};function b(e,t,n){return void 0===n&&(n={}),function(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(n.sync)return g(e,t,i,n);if(n.observable)return new r.a((function(r){var o;return(o=n.destruct?g(e,t,i,n,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.next(e)}),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r.error(e)})):g(e,t,i,n,r.next.bind(r),r.error.bind(r)))&&o.error&&r.error(o.error),function(){try{return n.clearWithArgs?g(e,n.clearFunction,i,n,r.next.bind(r),r.error.bind(r)):g(e,n.clearFunction,[])}catch(o){console.warn("Unable to clear the previous observable watch for",e.constructor.getPluginName(),t),console.warn(o)}}}));if(n.otherPromise)return s((function(r,o){var a;(a=n.destruct?g(e,t,i,n,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r(e)}),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o(e)})):g(e,t,i,n,r,o))&&a.then?a.then(r,o):o()}));var a,l,u=s((function(r,o){a=n.destruct?g(e,t,i,n,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r(e)}),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o(e)})):g(e,t,i,n,r,o),l=o}));return a&&a.error&&(u.catch((function(){})),"function"==typeof l&&l(a.error)),u}}},KSF8:function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i
2)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},Kqap:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new o(e,t,n))}}class o{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new a(e,this.accumulator,this.seed,this.hasSeed))}}class a extends r.a{constructor(e,t,n,r){super(e),this.accumulator=t,this._seed=n,this.hasSeed=r,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 n;try{n=this.accumulator(this.seed,e,t)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}},L7TZ:function(e,t){var n="object"==typeof global&&global&&global.Object===Object&&global,r="object"==typeof self&&self&&self.Object===Object&&self,i=n||r||Function("return this")();function o(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var a=Object.prototype,s=a.hasOwnProperty,l=a.toString,u=i.Symbol,c=a.propertyIsEnumerable,d=u?u.isConcatSpreadable:void 0;function h(e){return f(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?l.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}(e)}(e)&&s.call(e,"callee")&&(!c.call(e,"callee")||"[object Arguments]"==l.call(e))}(e)||!!(d&&e&&e[d])}var f=Array.isArray;e.exports=function(e){return e&&e.length?function e(t,n,r,i,a){var s=-1,l=t.length;for(r||(r=h),a||(a=[]);++s<l;){var u=t[s];n>0&&r(u)?n>1?e(u,n-1,r,i,a):o(a,u):i||(a[a.length]=u)}return a}(e,1):[]}},LOEa:function(e,t,n){(function(){var e,t=n("wj3C").default,r="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)},i=function(e){e=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global,e];for(var t=0;t<e.length;++t){var n=e[t];if(n&&n.Math==Math)return n}return globalThis}(this);function o(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}function a(e){var t="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return t?t.call(e):{next:o(e)}}!function(e,t){if(t){var n=i;e=e.split(".");for(var o=0;o<e.length-1;o++){var a=e[o];a in n||(n[a]={}),n=n[a]}(t=t(o=n[e=e[e.length-1]]))!=o&&null!=t&&r(n,e,{configurable:!0,writable:!0,value:t})}}("Promise",(function(e){function t(e){this.b=0,this.c=void 0,this.a=[];var t=this.f();try{e(t.resolve,t.reject)}catch(n){t.reject(n)}}function n(){this.a=null}function r(e){return e instanceof t?e:new t((function(t){t(e)}))}if(e)return e;n.prototype.b=function(e){if(null==this.a){this.a=[];var t=this;this.c((function(){t.g()}))}this.a.push(e)};var o=i.setTimeout;n.prototype.c=function(e){o(e,0)},n.prototype.g=function(){for(;this.a&&this.a.length;){var e=this.a;this.a=[];for(var t=0;t<e.length;++t){var n=e[t];e[t]=null;try{n()}catch(r){this.f(r)}}}this.a=null},n.prototype.f=function(e){this.c((function(){throw e}))},t.prototype.f=function(){function e(e){return function(r){n||(n=!0,e.call(t,r))}}var t=this,n=!1;return{resolve:e(this.v),reject:e(this.g)}}
2,t.prototype.v=function(e){if(e===this)this.g(new TypeError("A Promise cannot resolve to itself"));else if(e instanceof t)this.o(e);else{e:switch(typeof e){case"object":var n=null!=e;break e;case"function":n=!0;break e;default:n=!1}n?this.m(e):this.h(e)}},t.prototype.m=function(e){var t=void 0;try{t=e.then}catch(n){return void this.g(n)}"function"==typeof t?this.u(t,e):this.h(e)},t.prototype.g=function(e){this.i(2,e)},t.prototype.h=function(e){this.i(1,e)},t.prototype.i=function(e,t){if(0!=this.b)throw Error("Cannot settle("+e+", "+t+"): Promise already settled in state"+this.b);this.b=e,this.c=t,this.l()},t.prototype.l=function(){if(null!=this.a){for(var e=0;e<this.a.length;++e)s.b(this.a[e]);this.a=null}};var s=new n;return t.prototype.o=function(e){var t=this.f();e.Pa(t.resolve,t.reject)},t.prototype.u=function(e,t){var n=this.f();try{e.call(t,n.resolve,n.reject)}catch(r){n.reject(r)}},t.prototype.then=function(e,n){function r(e,t){return"function"==typeof e?function(t){try{i(e(t))}catch(n){o(n)}}:t}var i,o,a=new t((function(e,t){i=e,o=t}));return this.Pa(r(e,i),r(n,o)),a},t.prototype.catch=function(e){return this.then(void 0,e)},t.prototype.Pa=function(e,t){function n(){switch(r.b){case 1:e(r.c);break;case 2:t(r.c);break;default:throw Error("Unexpected state: "+r.b)}}var r=this;null==this.a?s.b(n):this.a.push(n)},t.resolve=r,t.reject=function(e){return new t((function(t,n){n(e)}))},t.race=function(e){return new t((function(t,n){for(var i=a(e),o=i.next();!o.done;o=i.next())r(o.value).Pa(t,n)}))},t.all=function(e){var n=a(e),i=n.next();return i.done?r([]):new t((function(e,t){function o(t){return function(n){a[t]=n,0==--s&&e(a)}}var a=[],s=0;do{a.push(void 0),s++,r(i.value).Pa(o(a.length-1),t),i=n.next()}while(!i.done)}))},t}));var s=s||{},l=this||self,u=/^[\w+/_-]+[=]{0,2}$/,c=null;function d(){}function h(e){var t=typeof e;if("object"==t){if(!e)return"null";if(e instanceof Array)return"array";if(e instanceof Object)return t;var n=Object.prototype.toString.call(e);if("[object Window]"==n)return"object";if("[object Array]"==n||"number"==typeof e.length&&void 0!==e.splice&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("splice"))return"array";if("[object Function]"==n||void 0!==e.call&&void 0!==e.propertyIsEnumerable&&!e.propertyIsEnumerable("call"))return"function"}else if("function"==t&&void 0===e.call)return"object";return t}function f(e){var t=h(e);return"array"==t||"object"==t&&"number"==typeof e.length}function p(e){return"function"==h(e)}function m(e){var t=typeof e;return"object"==t&&null!=e||"function"==t}function g(e){return Object.prototype.hasOwnProperty.call(e,_)&&e[_]||(e[_]=++y)}var _="closure_uid_"+(1e9*Math.random()>>>0),y=0;function v(e,t,n){return e.call.apply(e.bind,arguments)}function b(e,t,n){if(!e)throw Error();if(2<arguments.length){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(n,r),e.apply(t,n)}}return function(){return e.apply(t,arguments)}}function w(e,t,n){return(w=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?v:b).apply(null,arguments)}function k(e,t){var n=Array.prototype.slice.call(arguments,1);return function(){var t=n.slice();return t.push.apply(t,arguments),e.apply(this,t)}}var M=Date.now||function(){return+new Date};function S(e,t){function n(){}n.prototype=t.prototype,e.$a=t.prototype,e.prototype=new n,e.prototype.constructor=e}function T(e,t,n){this.code=D+e,this.message=t||C[e]||"",this.a=n||null}function x(e){var t=e&&e.code;return t?new T(t.substring(D.length),e.message,e.serverResponse):null}S(T,Error),T.prototype.w=function(){var e={code:this.code,message:this.message};return this.a&&(e.serverResponse=this.a),e},T.prototype.toJSON=function(){return this.w()};var L,D="auth/",C={"admin-restricted-operation":"This operation is restricted to administrators only.","argument-error":"","app-not-authorized":"This app, identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.","app-not-installed":"The requested mobile application corresponding to the identifier (Android package name or iOS bundle ID) provided is not installed on this device.","captcha-check-failed":"The reCAPTCHA response token provided is either invalid, expired, already used or the domain associated with it does not match the list of whitelisted domains.","code-expired":"The SMS code has expired. Please re-send the verification code to try again.","cordova-not-ready":"Cordova framework is not ready.","cors-unsupported":"This browser is not supported.","credential-already-in-use":"This credential is already associated with a different user account.","custom-token-mismatch":"The custom token corresponds to a different audience.","requires-recent-login":"This operation is sensitive and requires recent authentication. Log in again before retrying this request.","dynamic-link-not-activated":"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.","email-change-needs-verification":"Multi-factor users must al
2ways have a verified email.","email-already-in-use":"The email address is already in use by another account.","expired-action-code":"The action code has expired. ","cancelled-popup-request":"This operation has been cancelled due to another conflicting popup being opened.","internal-error":"An internal error has occurred.","invalid-app-credential":"The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired.","invalid-app-id":"The mobile app identifier is not registed for the current project.","invalid-user-token":"This user's credential isn't valid for this project. This can happen if the user's token has been tampered with, or if the user isn't for the project associated with this API key.","invalid-auth-event":"An internal error has occurred.","invalid-verification-code":"The SMS verification code used to create the phone auth credential is invalid. Please resend the verification code sms and be sure use the verification code provided by the user.","invalid-continue-uri":"The continue URL provided in the request is invalid.","invalid-cordova-configuration":"The following Cordova plugins must be installed to enable OAuth sign-in: cordova-plugin-buildinfo, cordova-universal-links-plugin, cordova-plugin-browsertab, cordova-plugin-inappbrowser and cordova-plugin-customurlscheme.","invalid-custom-token":"The custom token format is incorrect. Please check the documentation.","invalid-dynamic-link-domain":"The provided dynamic link domain is not configured or authorized for the current project.","invalid-email":"The email address is badly formatted.","invalid-api-key":"Your API key is invalid, please check you have copied it correctly.","invalid-cert-hash":"The SHA-1 certificate hash provided is invalid.","invalid-credential":"The supplied auth credential is malformed or has expired.","invalid-message-payload":"The email template corresponding to this action contains invalid characters in its message. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-multi-factor-session":"The request does not contain a valid proof of first factor successful sign-in.","invalid-oauth-provider":"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.","invalid-oauth-client-id":"The OAuth client ID provided is either invalid or does not match the specified API key.","unauthorized-domain":"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.","invalid-action-code":"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.","wrong-password":"The password is invalid or the user does not have a password.","invalid-persistence-type":"The specified persistence type is invalid. It can only be local, session or none.","invali
2d-phone-number":"The format of the phone number provided is incorrect. Please enter the phone number in a format that can be parsed into E.164 format. E.164 phone numbers are written in the format [+][country code][subscriber number including area code].","invalid-provider-id":"The specified provider ID is invalid.","invalid-recipient-email":"The email corresponding to this action failed to send as the provided recipient email address is invalid.","invalid-sender":"The email template corresponding to this action contains an invalid sender email or name. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-verification-id":"The verification ID used to create the phone auth credential is invalid.","invalid-tenant-id":"The Auth instance's tenant ID is invalid.","multi-factor-info-not-found":"The user does not have a second factor matching the identifier provided.","multi-factor-auth-required":"Proof of ownership of a second factor is required to complete sign-in.","missing-android-pkg-name":"An Android Package Name must be provided if the Android App is required to be installed.","auth-domain-config-required":"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.","missing-app-credential":"The phone verification request is missing an application verifier assertion. A reCAPTCHA response token needs to be provided.","missing-verification-code":"The phone auth credential was created with an empty SMS verification code.","missing-continue-uri":"A continue URL must be provided in the request.","missing-iframe-start":"An internal error has occurred.","missing-ios-bundle-id":"An iOS Bundle ID must be provided if an App Store ID is provided.","missing-multi-factor-info":"No second factor identifier is provided.","missing-multi-factor-session":"The request is missing proof of first factor successful sign-in.","missing-or-invalid-nonce":"The request does not contain a valid nonce. This can occur if the SHA-256 hash of the provided raw nonce does not match the hashed nonce in the ID token payload.","missing-phone-number":"To send verification codes, provide a phone number for the recipient.","missing-verification-id":"The phone auth credential was created with an empty verification ID.","app-deleted":"This instance of FirebaseApp has been deleted.","account-exists-with-different-credential":"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.","network-request-failed":"A network error (such as timeout, interrupted connection or unreachable host) has occurred.","no-auth-event":"An internal error has occurred.","no-such-provider":"User was not linked to an account with the given provider.","null-user":"A null user object was provided as the argument for an operation which requires a non-null user object.","operation-not-allowed":"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.","operation-not-supported-in-this-environment":'This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.',"popup-blocked":"Unable to establish a connection with the popup. It may have been blocked by the browser.","popup-closed-by-user":"The popup has been closed by the user before finalizing the operation.","provider-already-linked":"User can only be linked to one identity for the given provider.","quota-exceeded":"The project's quota for this operation has been exceeded.","redirect-cancelled-by-user":"The redirect operation has been cancelled by the user before finalizing.","redirect-operation-pending":"A redirect sign-in operation is already pending.","rejected-credential":"The request contains malformed or mismatching credentials.","second-factor-already-in-use":"The second factor is already enrolled on this account.","maximum-second-factor-count-exceeded":"The maximum allowed number of second factors on a user has been exceeded.","tenant-id-mismatch":"The provided tenant ID does not match the Auth instance's tenant ID",timeout:"The operation has timed out.","user-token-expired":"The user's credential is no longer valid. The user must sign in again.","too-many-requests":"We have blocked all requests from this device due to unusual activity. Try again later.","unauthorized-continue-uri":"The domain of the continue URL is not whitelisted.  Please whitelist the domain in the Firebase console.","unsupported-first-factor":"Enrolling a second factor or signing in with a multi-factor account requires sign-in with a supported first factor.","unsupported-persistence-type":"The current environment does not support the specified persistence type.","unsupported-tenant-operation":"This operation is not supported in a multi-tenant context.","unverified-email":"The operation requires a verified email.","user-cancelled":"The user did not grant your application the permissions it requested.","user-not-found":"There is no user record corresponding to this identifier. The user may have been deleted.","user-disabled":"The user account has been disabled by an administrator.","user-mismatch":"The supplied credentials do not correspond to the previously signed in user.","user-signed-out":"","weak-password":"The password must be 6 characters long or more.","web-storage-unsupported":"This browser is not supported or 3rd party cookies and data may be disabled."},O={kd:{Sa:"https://staging-identitytoolkit.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/",Ya:"https://staging-securetoken.sandbox.googleapis.com/v1/token",Va:"https://staging-identitytoolkit.sandbox.googleapis.com/v2/",id:"b"},rd:{Sa:"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",Ya:"https://securetoken.googleapis.com/v1/token",Va:"https://identitytoolkit.googleapis.com/v2/",id:"p"},td:{Sa:"https://staging-www.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/",Ya:"https://staging-securetoken.sandbox.googleapis.com/v1/token",Va:"https://staging-identitytoolkit.sandbox.googleapis.com/v2/",id:"s"},ud:{Sa:"https://www-googleapis-test.sandbox.google.com/identitytoolkit/v3/relyingparty/",Ya:"https://test-securetoken.sandbox.googleapis.com/v1/token",Va:"https://test-identitytoolkit.sandbox.googleapis.com/v2/",id:"t"}};function E(e){for(var t in O)if(O[t].id===e)return{firebaseEndpoint:(e=O[t]).Sa,secureTokenEndpoint:e.Ya,identityPlatformEndpoint:e.Va};return null}function j(e){if(!e)return!1;
2try{return!!e.$goog_Thenable}catch(t){return!1}}function A(e){if(Error.captureStackTrace)Error.captureStackTrace(this,A);else{var t=Error().stack;t&&(this.stack=t)}e&&(this.message=String(e))}function P(e,t){for(var n="",r=(e=e.split("%s")).length-1,i=0;i<r;i++)n+=e[i]+(i<t.length?t[i]:"%s");A.call(this,n+e[r])}function I(e,t){throw new P("Failure"+(e?": "+e:""),Array.prototype.slice.call(arguments,1))}function Y(e,t){this.c=e,this.f=t,this.b=0,this.a=null}function R(e,t){e.f(t),100>e.b&&(e.b++,t.next=e.a,e.a=t)}function N(){this.b=this.a=null}L=E("__EID__")?"__EID__":void 0,S(A,Error),A.prototype.name="CustomError",S(P,A),P.prototype.name="AssertionError",Y.prototype.get=function(){if(0<this.b){this.b--;var e=this.a;this.a=e.next,e.next=null}else e=this.c();return e};var F=new Y((function(){return new $}),(function(e){e.reset()}));function H(){var e=_t,t=null;return e.a&&(t=e.a,e.a=e.a.next,e.a||(e.b=null),t.next=null),t}function $(){this.next=this.b=this.a=null}N.prototype.add=function(e,t){var n=F.get();n.set(e,t),this.b?this.b.next=n:this.a=n,this.b=n},$.prototype.set=function(e,t){this.a=e,this.b=t,this.next=null},$.prototype.reset=function(){this.next=this.b=this.a=null};var z=Array.prototype.indexOf?function(e,t){return Array.prototype.indexOf.call(e,t,void 0)}:function(e,t){if("string"==typeof e)return"string"!=typeof t||1!=t.length?-1:e.indexOf(t,0);for(var n=0;n<e.length;n++)if(n in e&&e[n]===t)return n;return-1},W=Array.prototype.forEach?function(e,t,n){Array.prototype.forEach.call(e,t,n)}:function(e,t,n){for(var r=e.length,i="string"==typeof e?e.split(""):e,o=0;o<r;o++)o in i&&t.call(n,i[o],o,e)},U=Array.prototype.filter?function(e,t){return Array.prototype.filter.call(e,t,void 0)}:function(e,t){for(var n=e.length,r=[],i=0,o="string"==typeof e?e.split(""):e,a=0;a<n;a++)if(a in o){var s=o[a];t.call(void 0,s,a,e)&&(r[i++]=s)}return r},B=Array.prototype.map?function(e,t){return Array.prototype.map.call(e,t,void 0)}:function(e,t){for(var n=e.length,r=Array(n),i="string"==typeof e?e.split(""):e,o=0;o<n;o++)o in i&&(r[o]=t.call(void 0,i[o],o,e));return r},V=Array.prototype.some?function(e,t){return Array.prototype.some.call(e,t,void 0)}:function(e,t){for(var n=e.length,r="string"==typeof e?e.split(""):e,i=0;i<n;i++)if(i in r&&t.call(void 0,r[i],i,e))return!0;return!1};function q(e,t){return 0<=z(e,t)}function G(e,t){var n;return(n=0<=(t=z(e,t)))&&Array.prototype.splice.call(e,t,1),n}function K(e,t){!function(e,t){for(var n="string"==typeof e?e.split(""):e,r=e.length-1;0<=r;--r)r in n&&t.call(void 0,n[r],r,e)}(e,(function(n,r){t.call(void 0,n,r,e)&&Array.prototype.splice.call(e,r,1)}))}function J(e){return Array.prototype.concat.apply([],arguments)}function Q(e){var t=e.length;if(0<t){for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}return[]}var X,Z=String.prototype.trim?function(e){return e.trim()}:function(e){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(e)[1]},ee=/&/g,te=/</g,ne=/>/g,re=/"/g,ie=/'/g,oe=/\x00/g,ae=/[\x00&<>"']/;function se(e,t){return-1!=e.indexOf(t)}function le(e,t){return e<t?-1:e>t?1:0}e:{var ue=l.navigator;if(ue){var ce=ue.userAgent;if(ce){X=ce;break e}}X=""}function de(e){return se(X,e)}function he(e,t){for(var n in e)t.call(void 0,e[n],n,e)}function fe(e){for(var t in e)return!1;return!0}function pe(e){var t,n={};for(t in e)n[t]=e[t];return n}var me="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function ge(e,t){for(var n,r,i=1;i<arguments.length;i++){for(n in r=arguments[i])e[n]=r[n];for(var o=0;o<me.length;o++)n=me[o],Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}}function _e(e,t){e:{try{var n=e&&e.ownerDocument,r=n&&(n.defaultView||n.parentWindow);if((r=r||l).Element&&r.Location){var i=r;break e}}catch(a){}i=null}if(i&&void 0!==i[t]&&(!e||!(e instanceof i[t])&&(e instanceof i.Location||e instanceof i.Element))){if(m(e))try{var o=e.constructor.displayName||e.constructor.name||Object.prototype.toString.call(e)}catch(a){o="<object could not be stringified>"}else o=void 0===e?"undefined":null===e?"null":typeof e;I("Argument is not a %s (or a non-Element, non-Location mock); got: %s",t,o)}}function ye(e,t){this.a=e===we&&t||"",this.b=be}function ve(e){return e instanceof ye&&e.constructor===ye&&e.b===be?e.a:(I("expected object of type Const, got '"+e+"'"),"type_error:Const")}ye.prototype.sa=!0,ye.prototype.ra=function(){return this.a},ye.prototype.toString=function(){return"Const{"+this.a+"}"};var be={},we={},ke=new ye(we,"");function Me(e,t){this.a=e===Ce&&t||"",this.b=De}function Se(e){return e instanceof Me&&e.constructor===Me&&e.b===De?e.a:(I("expected object of type TrustedResourceUrl, got '"+e+"' of type "+h(e)),"type_error:TrustedResourceUrl")}function Te(e,t){var n=ve(e);
2if(!Le.test(n))throw Error("Invalid TrustedResourceUrl format: "+n);return e=n.replace(xe,(function(e,r){if(!Object.prototype.hasOwnProperty.call(t,r))throw Error('Found marker, "'+r+'", in format string, "'+n+'", but no valid label mapping found in args: '+JSON.stringify(t));return(e=t[r])instanceof ye?ve(e):encodeURIComponent(String(e))})),new Me(Ce,e)}Me.prototype.sa=!0,Me.prototype.ra=function(){return this.a.toString()},Me.prototype.toString=function(){return"TrustedResourceUrl{"+this.a+"}"};var xe=/%{(\w+)}/g,Le=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,De={},Ce={};function Oe(e,t){this.a=e===Ie&&t||"",this.b=Pe}function Ee(e){return e instanceof Oe&&e.constructor===Oe&&e.b===Pe?e.a:(I("expected object of type SafeUrl, got '"+e+"' of type "+h(e)),"type_error:SafeUrl")}Oe.prototype.sa=!0,Oe.prototype.ra=function(){return this.a.toString()},Oe.prototype.toString=function(){return"SafeUrl{"+this.a+"}"};var je=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function Ae(e){return e instanceof Oe?e:(e="object"==typeof e&&e.sa?e.ra():String(e),je.test(e)||(e="about:invalid#zClosurez"),new Oe(Ie,e))}var Pe={},Ie={};function Ye(){this.a="",this.b=Ne}function Re(e){return e instanceof Ye&&e.constructor===Ye&&e.b===Ne?e.a:(I("expected object of type SafeHtml, got '"+e+"' of type "+h(e)),"type_error:SafeHtml")}Ye.prototype.sa=!0,Ye.prototype.ra=function(){return this.a.toString()},Ye.prototype.toString=function(){return"SafeHtml{"+this.a+"}"};var Ne={};function Fe(e){var t=new Ye;return t.a=e,t}Fe("<!DOCTYPE html>");var He=Fe("");function $e(e,t){for(var n=e.split("%s"),r="",i=Array.prototype.slice.call(arguments,1);i.length&&1<n.length;)r+=n.shift()+i.shift();return r+n.join("%s")}function ze(e){return ae.test(e)&&(-1!=e.indexOf("&")&&(e=e.replace(ee,"&amp;")),-1!=e.indexOf("<")&&(e=e.replace(te,"&lt;")),-1!=e.indexOf(">")&&(e=e.replace(ne,"&gt;")),-1!=e.indexOf('"')&&(e=e.replace(re,"&quot;")),-1!=e.indexOf("'")&&(e=e.replace(ie,"&#39;")),-1!=e.indexOf("\0")&&(e=e.replace(oe,"&#0;"))),e}function We(e){return We[" "](e),e}Fe("<br>"),We[" "]=d;var Ue,Be,Ve=de("Opera"),qe=de("Trident")||de("MSIE"),Ge=de("Edge"),Ke=Ge||qe,Je=de("Gecko")&&!(se(X.toLowerCase(),"webkit")&&!de("Edge"))&&!(de("Trident")||de("MSIE"))&&!de("Edge"),Qe=se(X.toLowerCase(),"webkit")&&!de("Edge");function Xe(){var e=l.document;return e?e.documentMode:void 0}e:{var Ze="",et=(Be=X,Je?/rv:([^\);]+)(\)|;)/.exec(Be):Ge?/Edge\/([\d\.]+)/.exec(Be):qe?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(Be):Qe?/WebKit\/(\S+)/.exec(Be):Ve?/(?:Version)[ \/]?(\S+)/.exec(Be):void 0);if(et&&(Ze=et?et[1]:""),qe){var tt=Xe();if(null!=tt&&tt>parseFloat(Ze)){Ue=String(tt);break e}}Ue=Ze}var nt,rt={};function it(e){return function(e,t){var n=rt;return Object.prototype.hasOwnProperty.call(n,e)?n[e]:n[e]=t()}(e,(function(){for(var t=0,n=Z(String(Ue)).split("."),r=Z(String(e)).split("."),i=Math.max(n.length,r.length),o=0;0==t&&o<i;o++){var a=n[o]||"",s=r[o]||"";do{if(a=/(\d*)(\D*)(.*)/.exec(a)||["","","",""],s=/(\d*)(\D*)(.*)/.exec(s)||["","","",""],0==a[0].length&&0==s[0].length)break;t=le(0==a[1].length?0:parseInt(a[1],10),0==s[1].length?0:parseInt(s[1],10))||le(0==a[2].length,0==s[2].length)||le(a[2],s[2]),a=a[3],s=s[3]}while(0==t)}return 0<=t}))}nt=l.document&&qe?Xe():void 0;try{new self.OffscreenCanvas(0,0).getContext("2d")}catch(Be){}var ot=!qe||9<=Number(nt);function at(e){var t=document;return"string"==typeof e?t.getElementById(e):e}function st(e,t){he(t,(function(t,n){t&&"object"==typeof t&&t.sa&&(t=t.ra()),"style"==n?e.style.cssText=t:"class"==n?e.className=t:"for"==n?e.htmlFor=t:ct.hasOwnProperty(n)?e.setAttribute(ct[n],t):0==n.lastIndexOf("aria-",0)||0==n.lastIndexOf("data-",0)?e.setAttribute(n,t):e[n]=t}))}var lt,ut,ct={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function dt(e,t,n){function r(n){n&&t.appendChild("string"==typeof n?e.createTextNode(n):n)}for(var i=2;i<n.length;i++){var o=n[i];
2!f(o)||m(o)&&0<o.nodeType?r(o):W(ft(o)?Q(o):o,r)}}function ht(e,t){return t=String(t),"application/xhtml+xml"===e.contentType&&(t=t.toLowerCase()),e.createElement(t)}function ft(e){if(e&&"number"==typeof e.length){if(m(e))return"function"==typeof e.item||"string"==typeof e.item;if(p(e))return"function"==typeof e.item}return!1}function pt(e){l.setTimeout((function(){throw e}),0)}function mt(e,t){ut||function(){if(l.Promise&&l.Promise.resolve){var e=l.Promise.resolve(void 0);ut=function(){e.then(yt)}}else ut=function(){var e=yt;!p(l.setImmediate)||l.Window&&l.Window.prototype&&!de("Edge")&&l.Window.prototype.setImmediate==l.setImmediate?(lt||(lt=function(){var e=l.MessageChannel;if(void 0===e&&"undefined"!=typeof window&&window.postMessage&&window.addEventListener&&!de("Presto")&&(e=function(){var e=ht(document,"IFRAME");e.style.display="none",function(e){var t=new Me(Ce,ve(ke));_e(e,"HTMLIFrameElement"),e.src=Se(t).toString()}(e),document.documentElement.appendChild(e);var t=e.contentWindow;(e=t.document).open(),e.write(Re(He)),e.close();var n="callImmediate"+Math.random(),r="file:"==t.location.protocol?"*":t.location.protocol+"//"+t.location.host;e=w((function(e){"*"!=r&&e.origin!=r||e.data!=n||this.port1.onmessage()}),this),t.addEventListener("message",e,!1),this.port1={},this.port2={postMessage:function(){t.postMessage(n,r)}}}),void 0!==e&&!de("Trident")&&!de("MSIE")){var t=new e,n={},r=n;return t.port1.onmessage=function(){if(void 0!==n.next){var e=(n=n.next).Fb;n.Fb=null,e()}},function(e){r.next={Fb:e},r=r.next,t.port2.postMessage(0)}}return function(e){l.setTimeout(e,0)}}()),lt(e)):l.setImmediate(e)}}(),gt||(ut(),gt=!0),_t.add(e,t)}var gt=!1,_t=new N;function yt(){for(var e;e=H();){try{e.a.call(e.b)}catch(t){pt(t)}R(F,e)}gt=!1}function vt(e,t){if(this.a=bt,this.i=void 0,this.f=this.b=this.c=null,this.g=this.h=!1,e!=d)try{var n=this;e.call(t,(function(e){jt(n,wt,e)}),(function(e){if(!(e instanceof Ft))try{if(e instanceof Error)throw e;throw Error("Promise rejected.")}catch(t){}jt(n,kt,e)}))}catch(r){jt(this,kt,r)}}var bt=0,wt=2,kt=3;function Mt(){this.next=this.f=this.b=this.g=this.a=null,this.c=!1}Mt.prototype.reset=function(){this.f=this.b=this.g=this.a=null,this.c=!1};var St=new Y((function(){return new Mt}),(function(e){e.reset()}));function Tt(e,t,n){var r=St.get();return r.g=e,r.b=t,r.f=n,r}function xt(e){if(e instanceof vt)return e;var t=new vt(d);return jt(t,wt,e),t}function Lt(e){return new vt((function(t,n){n(e)}))}function Dt(e,t,n){At(e,t,n,null)||mt(k(t,e))}function Ct(e){return new vt((function(t){var n=e.length,r=[];if(n)for(var i=function(e,i,o){n--,r[e]=i?{Ob:!0,value:o}:{Ob:!1,reason:o},0==n&&t(r)},o=0;o<e.length;o++)Dt(e[o],k(i,o,!0),k(i,o,!1));else t(r)}))}function Ot(e,t){e.b||e.a!=wt&&e.a!=kt||Pt(e),e.f?e.f.next=t:e.b=t,e.f=t}function Et(e,t,n,r){var i=Tt(null,null,null);return i.a=new vt((function(e,o){i.g=t?function(n){try{var i=t.call(r,n);e(i)}catch(a){o(a)}}:e,i.b=n?function(t){try{var i=n.call(r,t);void 0===i&&t instanceof Ft?o(t):e(i)}catch(a){o(a)}}:o})),i.a.c=e,Ot(e,i),i.a}function jt(e,t,n){e.a==bt&&(e===n&&(t=kt,n=new TypeError("Promise cannot resolve to itself")),e.a=1,At(n,e.Zc,e.$c,e)||(e.i=n,e.a=t,e.c=null,Pt(e),t!=kt||n instanceof Ft||function(e,t){e.g=!0,mt((function(){e.g&&Nt.call(null,t)}))}(e,n)))}function At(e,t,n,r){if(e instanceof vt)return Ot(e,Tt(t||d,n||null,r)),!0;if(j(e))return e.then(t,n,r),!0;if(m(e))try{var i=e.then;if(p(i))return function(e,t,n,r,i){function o(e){a||(a=!0,r.call(i,e))}var a=!1;try{t.call(e,(function(e){a||(a=!0,n.call(i,e))}),o)}catch(s){o(s)}}(e,i,t,n,r),!0}catch(o){return n.call(r,o),!0}return!1}function Pt(e){e.h||(e.h=!0,mt(e.fc,e))}function It(e){var t=null;return e.b&&(e.b=(t=e.b).next,t.next=null),e.b||(e.f=null),t}function Yt(e,t,n,r){if(n==kt&&t.b&&!t.c)for(;e&&e.g;e=e.c)e.g=!1;if(t.a)t.a.c=null,Rt(t,n,r);else try{t.c?t.g.call(t.f):Rt(t,n,r)}catch(i){Nt.call(null,i)}R(St,t)}function Rt(e,t,n){t==wt?e.g.call(e.f,n):e.b&&e.b.call(e.f,n)}vt.prototype.then=function(e,t,n){return Et(this,p(e)?e:null,p(t)?t:null,n)},vt.prototype.$goog_Thenable=!0,(e=vt.prototype).na=function(e,t){return(e=Tt(e,e,t)).c=!0,Ot(this,e),this},e.s=function(e,t){return Et(this,null,e,t)},e.cancel=function(e){if(this.a==bt){var t=new Ft(e);mt((function(){!function e(t,n){if(t.a==bt)if(t.c){var r=t.c;if(r.b){for(var i=0,o=null,a=null,s=r.b;s&&(s.c||(i++,s.a==t&&(o=s),!(o&&1<i)));s=s.next)o||(a=s);
2o&&(r.a==bt&&1==i?e(r,n):(a?((i=a).next==r.f&&(r.f=i),i.next=i.next.next):It(r),Yt(r,o,kt,n)))}t.c=null}else jt(t,kt,n)}(this,t)}),this)}},e.Zc=function(e){this.a=bt,jt(this,wt,e)},e.$c=function(e){this.a=bt,jt(this,kt,e)},e.fc=function(){for(var e;e=It(this);)Yt(this,e,this.a,this.i);this.h=!1};var Nt=pt;function Ft(e){A.call(this,e)}function Ht(){0!=$t&&(zt[g(this)]=this),this.xa=this.xa,this.oa=this.oa}S(Ft,A),Ft.prototype.name="cancel";var $t=0,zt={};function Wt(e){if(!e.xa&&(e.xa=!0,e.Da(),0!=$t)){var t=g(e);if(0!=$t&&e.oa&&0<e.oa.length)throw Error(e+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete zt[t]}}Ht.prototype.xa=!1,Ht.prototype.Da=function(){if(this.oa)for(;this.oa.length;)this.oa.shift()()};var Ut=Object.freeze||function(e){return e},Bt=!qe||9<=Number(nt),Vt=qe&&!it("9"),qt=function(){if(!l.addEventListener||!Object.defineProperty)return!1;var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}});try{l.addEventListener("test",d,t),l.removeEventListener("test",d,t)}catch(n){}return e}();function Gt(e,t){this.type=e,this.b=this.target=t,this.defaultPrevented=!1}function Kt(e,t){if(Gt.call(this,e?e.type:""),this.relatedTarget=this.b=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.pointerId=0,this.pointerType="",this.a=null,e){var n=this.type=e.type,r=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:null;if(this.target=e.target||e.srcElement,this.b=t,t=e.relatedTarget){if(Je){e:{try{We(t.nodeName);var i=!0;break e}catch(o){}i=!1}i||(t=null)}}else"mouseover"==n?t=e.fromElement:"mouseout"==n&&(t=e.toElement);this.relatedTarget=t,r?(this.clientX=void 0!==r.clientX?r.clientX:r.pageX,this.clientY=void 0!==r.clientY?r.clientY:r.pageY,this.screenX=r.screenX||0,this.screenY=r.screenY||0):(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0),this.button=e.button,this.key=e.key||"",this.ctrlKey=e.ctrlKey,this.altKey=e.altKey,this.shiftKey=e.shiftKey,this.metaKey=e.metaKey,this.pointerId=e.pointerId||0,this.pointerType="string"==typeof e.pointerType?e.pointerType:Jt[e.pointerType]||"",this.a=e,e.defaultPrevented&&this.preventDefault()}}Gt.prototype.preventDefault=function(){this.defaultPrevented=!0},S(Kt,Gt);var Jt=Ut({2:"touch",3:"pen",4:"mouse"});Kt.prototype.preventDefault=function(){Kt.$a.preventDefault.call(this);var e=this.a;if(e.preventDefault)e.preventDefault();else if(e.returnValue=!1,Vt)try{(e.ctrlKey||112<=e.keyCode&&123>=e.keyCode)&&(e.keyCode=-1)}catch(t){}},Kt.prototype.g=function(){return this.a};var Qt="closure_listenable_"+(1e6*Math.random()|0),Xt=0;function Zt(e,t,n,r,i){this.listener=e,this.proxy=null,this.src=t,this.type=n,this.capture=!!r,this.Ua=i,this.key=++Xt,this.va=this.Oa=!1}function en(e){e.va=!0,e.listener=null,e.proxy=null,e.src=null,e.Ua=null}function tn(e){this.src=e,this.a={},this.b=0}function nn(e,t){var n=t.type;n in e.a&&G(e.a[n],t)&&(en(t),0==e.a[n].length&&(delete e.a[n],e.b--))}function rn(e,t,n,r){for(var i=0;i<e.length;++i){var o=e[i];if(!o.va&&o.listener==t&&o.capture==!!n&&o.Ua==r)return i}return-1}tn.prototype.add=function(e,t,n,r,i){var o=e.toString();(e=this.a[o])||(e=this.a[o]=[],this.b++);var a=rn(e,t,r,i);return-1<a?(t=e[a],n||(t.Oa=!1)):((t=new Zt(t,this.src,o,!!r,i)).Oa=n,e.push(t)),t};var on="closure_lm_"+(1e6*Math.random()|0),an={};function sn(e,t,n,r,i){if(r&&r.once)un(e,t,n,r,i);else if(Array.isArray(t))for(var o=0;o<t.length;o++)sn(e,t[o],n,r,i);else n=yn(n),e&&e[Qt]?bn(e,t,n,m(r)?!!r.capture:!!r,i):ln(e,t,n,!1,r,i)}function ln(e,t,n,r,i,o){if(!t)throw Error("Invalid event type");var a=m(i)?!!i.capture:!!i,s=gn(e);if(s||(e[on]=s=new tn(e)),!(n=s.add(t,n,r,a,o)).proxy)if(r=function(){var e=mn,t=Bt?function(n){return e.call(t.src,t.listener,n)}:function(n){if(!(n=e.call(t.src,t.listener,n)))return n};return t}(),n.proxy=r,r.src=e,r.listener=n,e.addEventListener)qt||(i=a),void 0===i&&(i=!1),e.addEventListener(t.toString(),r,i);else if(e.attachEvent)e.attachEvent(hn(t.toString()),r);else{if(!e.addListener||!e.removeListener)throw Error("addEventListener and attachEvent are unavailable.");e.addListener(r)}}function un(e,t,n,r,i){if(Array.isArray(t))for(var o=0;o<t.length;o++)un(e,t[o],n,r,i);else n=yn(n),e&&e[Qt]?wn(e,t,n,m(r)?!!r.capture:!!r,i):ln(e,t,n,!0,r,i)}function cn(e,t,n,r,i){if(Array.isArray(t))for(var o=0;o<t.length;o++)cn(e,t[o],n,r,i);else r=m(r)?!!r.capture:!!r,n=yn(n),e&&e[Qt]?(e=e.v,(t=String(t).toString())in e.a&&-1<(n=rn(o=e.a[t],n,r,i))&&(en(o[n]),Array.prototype.splice.call(o,n,1),0==o.length&&(delete e.a[t],e.b--))):e&&(e=gn(e))&&(t=e.a[t.toString()],e=-1,t&&(e=rn(t,n,r,i)),(n=-1<e?t[e]:null)&&dn(n))}function dn(e){if("number"!=typeof e&&e&&!e.va){var t=e.src;if(t&&t[Qt])nn(t.v,e);else{var n=e.type,r=e.proxy;t.removeEventListener?t.removeEventListener(n,r,e.capture):t.detachEvent?t.detachEvent(hn(n),r):t.addListener&&t.removeListener&&t.removeListener(r),(n=gn(t))?(nn(n,e),0==n.b&&(n.src=null,t[on]=null)):en(e)}}}function hn(e){return e in an?an[e]:an[e]="on"+e}function fn(e,t,n,r){var i=!0;if((e=gn(e))&&(t=e.a[t.toString()]))for(t=t.concat(),e=0;e<t.length;e++){var o=t[e];o&&o.capture==n&&!o.va&&(o=pn(o,r),i=i&&!1!==o)}return i}function pn(e,t){var n=e.listener,r=e.Ua||e.src;return e.Oa&&dn(e),n.call(r,t)}function mn(e,t){if(e.va)return!0;
2if(!Bt){if(!t)e:{t=["window","event"];for(var n=l,r=0;r<t.length;r++)if(null==(n=n[t[r]])){t=null;break e}t=n}if(t=new Kt(r=t,this),n=!0,!(0>r.keyCode||null!=r.returnValue)){e:{var i=!1;if(0==r.keyCode)try{r.keyCode=-1;break e}catch(a){i=!0}(i||null==r.returnValue)&&(r.returnValue=!0)}for(r=[],i=t.b;i;i=i.parentNode)r.push(i);for(e=e.type,i=r.length-1;0<=i;i--){t.b=r[i];var o=fn(r[i],e,!0,t);n=n&&o}for(i=0;i<r.length;i++)t.b=r[i],o=fn(r[i],e,!1,t),n=n&&o}return n}return pn(e,new Kt(t,this))}function gn(e){return(e=e[on])instanceof tn?e:null}var _n="__closure_events_fn_"+(1e9*Math.random()>>>0);function yn(e){return p(e)?e:(e[_n]||(e[_n]=function(t){return e.handleEvent(t)}),e[_n])}function vn(){Ht.call(this),this.v=new tn(this),this.$b=this,this.fb=null}function bn(e,t,n,r,i){e.v.add(String(t),n,!1,r,i)}function wn(e,t,n,r,i){e.v.add(String(t),n,!0,r,i)}function kn(e,t,n,r){if(!(t=e.v.a[String(t)]))return!0;t=t.concat();for(var i=!0,o=0;o<t.length;++o){var a=t[o];if(a&&!a.va&&a.capture==n){var s=a.listener,l=a.Ua||a.src;a.Oa&&nn(e.v,a),i=!1!==s.call(l,r)&&i}}return i&&!r.defaultPrevented}function Mn(e,t,n){if(p(e))n&&(e=w(e,n));else{if(!e||"function"!=typeof e.handleEvent)throw Error("Invalid listener argument");e=w(e.handleEvent,e)}return 2147483647<Number(t)?-1:l.setTimeout(e,t||0)}function Sn(e){var t=null;return new vt((function(n,r){-1==(t=Mn((function(){n(void 0)}),e))&&r(Error("Failed to schedule timer."))})).s((function(e){throw l.clearTimeout(t),e}))}function Tn(e){if(e.V&&"function"==typeof e.V)return e.V();if("string"==typeof e)return e.split("");if(f(e)){for(var t=[],n=e.length,r=0;r<n;r++)t.push(e[r]);return t}for(r in t=[],n=0,e)t[n++]=e[r];return t}function xn(e){if(e.Y&&"function"==typeof e.Y)return e.Y();if(!e.V||"function"!=typeof e.V){if(f(e)||"string"==typeof e){var t=[];e=e.length;for(var n=0;n<e;n++)t.push(n);return t}for(var r in t=[],n=0,e)t[n++]=r;return t}}function Ln(e,t){this.b={},this.a=[],this.c=0;var n=arguments.length;if(1<n){if(n%2)throw Error("Uneven number of arguments");for(var r=0;r<n;r+=2)this.set(arguments[r],arguments[r+1])}else if(e)if(e instanceof Ln)for(n=e.Y(),r=0;r<n.length;r++)this.set(n[r],e.get(n[r]));else for(r in e)this.set(r,e[r])}function Dn(e){if(e.c!=e.a.length){for(var t=0,n=0;t<e.a.length;){var r=e.a[t];Cn(e.b,r)&&(e.a[n++]=r),t++}e.a.length=n}if(e.c!=e.a.length){var i={};for(n=t=0;t<e.a.length;)Cn(i,r=e.a[t])||(e.a[n++]=r,i[r]=1),t++;e.a.length=n}}function Cn(e,t){return Object.prototype.hasOwnProperty.call(e,t)}S(vn,Ht),vn.prototype[Qt]=!0,vn.prototype.addEventListener=function(e,t,n,r){sn(this,e,t,n,r)},vn.prototype.removeEventListener=function(e,t,n,r){cn(this,e,t,n,r)},vn.prototype.dispatchEvent=function(e){var t,n=this.fb;if(n)for(t=[];n;n=n.fb)t.push(n);n=this.$b;var r=e.type||e;if("string"==typeof e)e=new Gt(e,n);else if(e instanceof Gt)e.target=e.target||n;else{var i=e;ge(e=new Gt(r,n),i)}if(i=!0,t)for(var o=t.length-1;0<=o;o--){var a=e.b=t[o];i=kn(a,r,!0,e)&&i}if(i=kn(a=e.b=n,r,!0,e)&&i,i=kn(a,r,!1,e)&&i,t)for(o=0;o<t.length;o++)i=kn(a=e.b=t[o],r,!1,e)&&i;return i},vn.prototype.Da=function(){if(vn.$a.Da.call(this),this.v){var e,t=this.v;for(e in t.a){for(var n=t.a[e],r=0;r<n.length;r++)en(n[r]);delete t.a[e],t.b--}}this.fb=null},(e=Ln.prototype).V=function(){Dn(this);for(var e=[],t=0;t<this.a.length;t++)e.push(this.b[this.a[t]]);return e},e.Y=function(){return Dn(this),this.a.concat()},e.clear=function(){this.b={},this.c=this.a.length=0},e.get=function(e,t){return Cn(this.b,e)?this.b[e]:t},e.set=function(e,t){Cn(this.b,e)||(this.c++,this.a.push(e)),this.b[e]=t},e.forEach=function(e,t){for(var n=this.Y(),r=0;r<n.length;r++){var i=n[r],o=this.get(i);e.call(t,o,i,this)}};var On=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/\\#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function En(e,t){var n;this.a=this.l=this.f="",this.g=null,this.h=this.c="",this.i=!1,e instanceof En?(this.i=void 0!==t?t:e.i,jn(this,e.f),this.l=e.l,this.a=e.a,An(this,e.g),this.c=e.c,Pn(this,Zn(e.b)),this.h=e.h):e&&(n=String(e).match(On))?(this.i=!!t,jn(this,n[1]||"",!0),this.l=Fn(n[2]||""),this.a=Fn(n[3]||"",!0),An(this,n[4]),this.c=Fn(n[5]||"",!0),Pn(this,n[6]||"",!0),this.h=Fn(n[7]||"")):(this.i=!!t,this.b=new qn(null,this.i))}function jn(e,t,n){e.f=n?Fn(t,!0):t,e.f&&(e.f=e.f.replace(/:$/,""))}function An(e,t){if(t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);e.g=t}else e.g=null}function Pn(e,t,n){t instanceof qn?(e.b=t,function(e,t){t&&!e.f&&(Gn(e),e.c=null,e.a.forEach((function(e,t){var n=t.toLowerCase();t!=n&&(Jn(this,t),Xn(this,n,e))}),e)),e.f=t}(e.b,e.i)):(n||(t=Hn(t,Bn)),e.b=new qn(t,e.i))}function In(e,t,n){e.b.set(t,n)}function Yn(e,t){return e.b.get(t)}function Rn(e){return e instanceof En?new En(e):new En(e,void 0)}function Nn(e,t,n,r){var i=new En(null,void 0);return e&&jn(i,e),t&&(i.a=t),n&&An(i,n),r&&(i.c=r),i}function Fn(e,t){return e?t?decodeURI(e.replace(/%25/g,"%2525")):decodeURIComponent(e):""}function Hn(e,t,n){return"string"==typeof e?(e=encodeURI(e).replace(t,$n),n&&(e=e.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e):null}function $n(e){return"%"+((e=e.charCodeAt(0))>>4&15).toString(16)+(15&e).toString(16)}En.prototype.toString=function(){var e=[],t=this.f;t&&e.push(Hn(t,zn,!0),":");var n=this.a;return(n||"file"==t)&&(e.push("//"),(t=this.l)&&e.push(Hn(t,zn,!0),"@"),e.push(encodeURIComponent(String(n)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(n=this.g)&&e.push(":",String(n))),(n=this.c)&&(this.a&&"/"!=n.charAt(0)&&e.push("/"),e.push(Hn(n,"/"==n.charAt(0)?Un:Wn,!0))),(n=this.b.toString())&&e.push("?",n),(n=this.h)&&e.push("#",Hn(n,Vn)),e.join("")},En.prototype.resolve=function(e){var t=new En(this),n=!!e.f;n?jn(t,e.f):n=!!e.l,n?t.l=e.l:n=!!e.a,n?t.a=e.a:n=null!=e.g;var r=e.c;if(n)An(t,e.g);else if(n=!!e.c){if("/"!=r.charAt(0))if(this.a&&!this.c)r="/"+r;else{var i=t.c.lastIndexOf("/");-1!=i&&(r=t.c.substr(0,i+1)+r)}if(".."==(i=r)||"."==i)r="";else if(se(i,"./")||se(i,"/.")){r=0==i.lastIndexOf("/",0),i=i.split("/");for(var o=[],a=0;a<i.length;){var s=i[a++];"."==s?r&&a==i.length&&o.push(""):".."==s?((1<o.length||1==o.length&&""!=o[0])&&o.pop(),r&&a==i.length&&o.push("")):(o.push(s),r=!0)}r=o.join("/")}else r=i}return n?t.c=r:n=""!==e.b.toString(),n?Pn(t,Zn(e.b)):n=!!e.h,n&&(t.h=e.h),t};var zn=/[#\/\?@]/g,Wn=/[#\?:]/g,Un=/[#\?]/g,Bn=/[#\?@]/g,Vn=/#/g;function qn(e,t){this.b=this.a=null,this.c=e||null,this.f=!!t}function Gn(e){e.a||(e.a=new Ln,e.b=0,e.c&&function(e,t){if(e){e=e.split("&");for(var n=0;n<e.length;n++){var r=e[n].indexOf("="),i=null;if(0<=r){var o=e[n].substring(0,r);i=e[n].substring(r+1)}else o=e[n];t(o,i?decodeURIComponent(i.replace(/\+/g," ")):"")}}}(e.c,(function(t,n){e.add(decodeURIComponent(t.replace(/\+/g," ")),n)})))}function Kn(e){var t=xn(e);
2if(void 0===t)throw Error("Keys are undefined");var n=new qn(null,void 0);e=Tn(e);for(var r=0;r<t.length;r++){var i=t[r],o=e[r];Array.isArray(o)?Xn(n,i,o):n.add(i,o)}return n}function Jn(e,t){Gn(e),t=er(e,t),Cn(e.a.b,t)&&(e.c=null,e.b-=e.a.get(t).length,Cn((e=e.a).b,t)&&(delete e.b[t],e.c--,e.a.length>2*e.c&&Dn(e)))}function Qn(e,t){return Gn(e),t=er(e,t),Cn(e.a.b,t)}function Xn(e,t,n){Jn(e,t),0<n.length&&(e.c=null,e.a.set(er(e,t),Q(n)),e.b+=n.length)}function Zn(e){var t=new qn;return t.c=e.c,e.a&&(t.a=new Ln(e.a),t.b=e.b),t}function er(e,t){return t=String(t),e.f&&(t=t.toLowerCase()),t}function tr(e){var t=[];return function e(t,n,r){if(null==n)r.push("null");else{if("object"==typeof n){if(Array.isArray(n)){var i=n;n=i.length,r.push("[");for(var o="",a=0;a<n;a++)r.push(o),e(t,i[a],r),o=",";return void r.push("]")}if(!(n instanceof String||n instanceof Number||n instanceof Boolean)){for(i in r.push("{"),o="",n)Object.prototype.hasOwnProperty.call(n,i)&&"function"!=typeof(a=n[i])&&(r.push(o),or(i,r),r.push(":"),e(t,a,r),o=",");return void r.push("}")}n=n.valueOf()}switch(typeof n){case"string":or(n,r);break;case"number":r.push(isFinite(n)&&!isNaN(n)?String(n):"null");break;case"boolean":r.push(String(n));break;case"function":r.push("null");break;default:throw Error("Unknown type: "+typeof n)}}}(new nr,e,t),t.join("")}function nr(){}(e=qn.prototype).add=function(e,t){Gn(this),this.c=null,e=er(this,e);var n=this.a.get(e);return n||this.a.set(e,n=[]),n.push(t),this.b+=1,this},e.clear=function(){this.a=this.c=null,this.b=0},e.forEach=function(e,t){Gn(this),this.a.forEach((function(n,r){W(n,(function(n){e.call(t,n,r,this)}),this)}),this)},e.Y=function(){Gn(this);for(var e=this.a.V(),t=this.a.Y(),n=[],r=0;r<t.length;r++)for(var i=e[r],o=0;o<i.length;o++)n.push(t[r]);return n},e.V=function(e){Gn(this);var t=[];if("string"==typeof e)Qn(this,e)&&(t=J(t,this.a.get(er(this,e))));else{e=this.a.V();for(var n=0;n<e.length;n++)t=J(t,e[n])}return t},e.set=function(e,t){return Gn(this),this.c=null,Qn(this,e=er(this,e))&&(this.b-=this.a.get(e).length),this.a.set(e,[t]),this.b+=1,this},e.get=function(e,t){return e&&0<(e=this.V(e)).length?String(e[0]):t},e.toString=function(){if(this.c)return this.c;if(!this.a)return"";for(var e=[],t=this.a.Y(),n=0;n<t.length;n++){var r=t[n],i=encodeURIComponent(String(r));r=this.V(r);for(var o=0;o<r.length;o++){var a=i;""!==r[o]&&(a+="="+encodeURIComponent(String(r[o]))),e.push(a)}}return this.c=e.join("&")};var rr={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},ir=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;function or(e,t){t.push('"',e.replace(ir,(function(e){var t=rr[e];return t||(t="\\u"+(65536|e.charCodeAt(0)).toString(16).substr(1),rr[e]=t),t})),'"')}function ar(){var e=Sr();return qe&&!!nt&&11==nt||/Edge\/\d+/.test(e)}function sr(){return l.window&&l.window.location.href||self&&self.location&&self.location.href||""}function lr(e,t){t=t||l.window;var n="about:blank";e&&(n=Ee(Ae(e))),t.location.href=n}function ur(e){return!!((e=(e||Sr()).toLowerCase()).match(/android/)||e.match(/webos/)||e.match(/iphone|ipad|ipod/)||e.match(/blackberry/)||e.match(/windows phone/)||e.match(/iemobile/))}function cr(e){e=e||l.window;try{e.close()}catch(t){}}function dr(e,t,n){var r=Math.floor(1e9*Math.random()).toString();t=t||500,n=n||600;var i=(window.screen.availHeight-n)/2,o=(window.screen.availWidth-t)/2;for(a in t={width:t,height:n,top:0<i?i:0,left:0<o?o:0,location:!0,resizable:!0,statusbar:!0,toolbar:!1},n=Sr().toLowerCase(),r&&(t.target=r,se(n,"crios/")&&(t.target="_blank")),wr(Sr())==br&&(e=e||"http://localhost",t.scrollbars=!0),n=e||"",(e=t)||(e={}),r=window,t=n instanceof Oe?n:Ae(void 0!==n.href?n.href:String(n)),n=e.target||n.target,i=[],e)switch(a){case"width":case"height":case"top":case"left":i.push(a+"="+e[a]);break;case"target":case"noopener":case"noreferrer":break;default:i.push(a+"="+(e[a]?1:0))}var a=i.join(",");if((de("iPhone")&&!de("iPod")&&!de("iPad")||de("iPad")||de("iPod"))&&r.navigator&&r.navigator.standalone&&n&&"_self"!=n?(_e(a=ht(document,"A"),"HTMLAnchorElement"),t instanceof Oe||t instanceof Oe||(t="object"==typeof t&&t.sa?t.ra():String(t),je.test(t)||(t="about:invalid#zClosurez"),t=new Oe(Ie,t)),a.href=Ee(t),a.setAttribute("target",n),e.noreferrer&&a.setAttribute("rel","noreferrer"),(e=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,r,1),a.dispatchEvent(e),a={}):e.noreferrer?(a=r.open("",n,a),e=Ee(t),a&&(Ke&&se(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),a.opener=null,e=Fe('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+ze(e)+'">'),r=a.document)&&(r.write(Re(e)),r.close())):(a=r.open(Ee(t),n,a))&&e.noopener&&(a.opener=null),a)try{a.focus()}catch(s){}return a}var hr=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,fr=/^[^@]+@[^@]+$/;function pr(){var e=null;return new vt((function(t){"complete"==l.document.readyState?t():(e=function(){t()},un(window,"load",e))})).s((function(t){throw cn(window,"load",e),t}))}function mr(e){return e=e||Sr(),!("file:"!==Cr()&&"ionic:"!==Cr()||!e.toLowerCase().match(/iphone|ipad|ipod|android/))}function gr(){var e=l.window;try{return!(!e||e==e.top)}catch(t){return!1}}function _r(){return void 0!==l.WorkerGlobalScope&&"function"==typeof l.importScripts}function yr(){return t.INTERNAL.hasOwnProperty("reactNative")?"ReactNative":t.INTERNAL.hasOwnProperty("node")?"Node":_r()?"Worker":"Browser"}function vr(){var e=yr();return"ReactNative"===e||"Node"===e}var br="Firefox";function wr(e){var t=e.toLowerCase();return se(t,"opera/")||se(t,"opr/")||se(t,"opios/")?"Opera":se(t,"iemobile")?"IEMobile":se(t,"msie")||se(t,"trident/")?"IE":se(t,"edge/")?"Edge":se(t,"firefox/")?br:se(t,"silk/")?"Silk":se(t,"blackberry")?"Blackberry":se(t,"webos")?"Webos":!se(t,"safari/")||se(t,"chrome/")||se(t,"crios/")||se(t,"android")?!se(t,"chrome/")&&!se(t,"crios/")||se(t,"edge/")?se(t,"android")?"Android":(e=e.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/))&&2==e.length?e[1]:"Other":"Chrome":"Safari"}var kr={ld:"FirebaseCore-web",nd:"FirebaseUI-web"};function Mr(e,t){t=t||[];var n,r=[],i={};for(n in kr)i[kr[n]]=!0;for(n=0;n<t.length;n++)void 0!==i[t[n]]&&(delete i[t[n]],r.push(t[n]));return r.sort(),(t=r).length||(t=["FirebaseCore-web"]),"Browser"===(r=yr())?r=wr(i=Sr()):"Worker"===r&&(r=wr(i=Sr())+"-"+r),r+"/JsCore/"+e+"/"+t.join(",")}function Sr(){return l.navigator&&l.navigator.userAgent||""}function Tr(e,t){e=e.split("."),t=t||l;
2for(var n=0;n<e.length&&"object"==typeof t&&null!=t;n++)t=t[e[n]];return n!=e.length&&(t=void 0),t}function xr(){try{var e=l.localStorage,t=Pr();if(e)return e.setItem(t,"1"),e.removeItem(t),!ar()||!!l.indexedDB}catch(n){return _r()&&!!l.indexedDB}return!1}function Lr(){return(Dr()||"chrome-extension:"===Cr()||mr())&&!vr()&&xr()&&!_r()}function Dr(){return"http:"===Cr()||"https:"===Cr()}function Cr(){return l.location&&l.location.protocol||null}function Or(e){return!ur(e=e||Sr())&&wr(e)!=br}function Er(e){return void 0===e?null:tr(e)}function jr(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&null!=e[t]&&(n[t]=e[t]);return n}function Ar(e){if(null!==e)return JSON.parse(e)}function Pr(e){return e||Math.floor(1e9*Math.random()).toString()}function Ir(e){return"Safari"!=wr(e=e||Sr())&&!e.toLowerCase().match(/iphone|ipad|ipod/)}function Yr(){var e=l.___jsl;if(e&&e.H)for(var t in e.H)if(e.H[t].r=e.H[t].r||[],e.H[t].L=e.H[t].L||[],e.H[t].r=e.H[t].L.concat(),e.CP)for(var n=0;n<e.CP.length;n++)e.CP[n]=null}function Rr(e,t){if(e>t)throw Error("Short delay should be less than long delay!");this.a=e,this.c=t,e=Sr(),t=yr(),this.b=ur(e)||"ReactNative"===t}function Nr(){var e=l.document;return!e||void 0===e.visibilityState||"visible"==e.visibilityState}function Fr(e){"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(e)}function Hr(e){try{var t=new Date(parseInt(e,10));if(!isNaN(t.getTime())&&!/[^0-9]/.test(e))return t.toUTCString()}catch(n){}return null}function $r(){return!(!Tr("fireauth.oauthhelper",l)&&!Tr("fireauth.iframe",l))}Rr.prototype.get=function(){var e=l.navigator;return!e||"boolean"!=typeof e.onLine||!Dr()&&"chrome-extension:"!==Cr()&&void 0===e.connection||e.onLine?this.b?this.c:this.a:Math.min(5e3,this.a)};var zr,Wr={};function Ur(e){Wr[e]||(Wr[e]=!0,Fr(e))}try{var Br={};Object.defineProperty(Br,"abcd",{configurable:!0,enumerable:!0,value:1}),Object.defineProperty(Br,"abcd",{configurable:!0,enumerable:!0,value:2}),zr=2==Br.abcd}catch(Be){zr=!1}function Vr(e,t,n){zr?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,value:n}):e[t]=n}function qr(e,t){if(t)for(var n in t)t.hasOwnProperty(n)&&Vr(e,n,t[n])}function Gr(e){var t={};return qr(t,e),t}function Kr(e){var t=e;if("object"==typeof e&&null!=e)for(var n in t="length"in e?[]:{},e)Vr(t,n,Kr(e[n]));return t}function Jr(e){var t=e&&(e[ti]?"phone":null);if(!(t&&e&&e[ei]))throw new T("internal-error","Internal assert: invalid MultiFactorInfo object");Vr(this,"uid",e[ei]),Vr(this,"displayName",e[Xr]||null);var n=null;e[Zr]&&(n=new Date(e[Zr]).toUTCString()),Vr(this,"enrollmentTime",n),Vr(this,"factorId",t)}function Qr(e){try{var t=new ni(e)}catch(n){t=null}return t}Jr.prototype.w=function(){return{uid:this.uid,displayName:this.displayName,factorId:this.factorId,enrollmentTime:this.enrollmentTime}};var Xr="displayName",Zr="enrolledAt",ei="mfaEnrollmentId",ti="phoneInfo";function ni(e){Jr.call(this,e),Vr(this,"phoneNumber",e[ti])}function ri(e){var t={},n=e[si],r=e[ui],i=e[ci];if(e=Qr(e[li]),!i||i!=oi&&i!=ai&&!n||i==ai&&!r||i==ii&&!e)throw Error("Invalid checkActionCode response!");i==ai?(t[hi]=n||null,t[pi]=n||null,t[di]=r):(t[hi]=r||null,t[pi]=r||null,t[di]=n||null),t[fi]=e||null,Vr(this,gi,i),Vr(this,mi,Kr(t))}S(ni,Jr),ni.prototype.w=function(){var e=ni.$a.w.call(this);return e.phoneNumber=this.phoneNumber,e};var ii="REVERT_SECOND_FACTOR_ADDITION",oi="EMAIL_SIGNIN",ai="VERIFY_AND_CHANGE_EMAIL",si="email",li="mfaInfo",ui="newEmail",ci="requestType",di="email",hi="fromEmail",fi="multiFactorInfo",pi="previousEmail",mi="data",gi="operation";function _i(e){var t=Yn(e=Rn(e),yi)||null,n=Yn(e,vi)||null,r=Yn(e,ki)||null;if(r=r&&Si[r]||null,!t||!n||!r)throw new T("argument-error",yi+", "+vi+"and "+ki+" are required in a valid action code URL.");qr(this,{apiKey:t,operation:r,code:n,continueUrl:Yn(e,bi)||null,languageCode:Yn(e,wi)||null,tenantId:Yn(e,Mi)||null})}var yi="apiKey",vi="oobCode",bi="continueUrl",wi="languageCode",ki="mode",Mi="tenantId",Si={recoverEmail:"RECOVER_EMAIL",resetPassword:"PASSWORD_RESET",revertSecondFactorAddition:ii,signIn:oi,verifyAndChangeEmail:ai,verifyEmail:"VERIFY_EMAIL"};function Ti(e){try{return new _i(e)}catch(t){return null}}function xi(e){var t=e[Ei];if(void 0===t)throw new T("missing-continue-uri");if("string"!=typeof t||"string"==typeof t&&!t.length)throw new T("invalid-continue-uri");this.h=t,this.b=this.a=null,this.g=!1;var n=e[Li];if(n&&"object"==typeof n){t=n[Pi];var r=n[ji];if(n=n[Ai],"string"==typeof t&&t.length){if(this.a=t,void 0!==r&&"boolean"!=typeof r)throw new T("argument-error",ji+" property must be a boolean when specified.");if(this.g=!!r,void 0!==n&&("string"!=typeof n||"string"==typeof n&&!n.length))throw new T("argument-error",Ai+" property must be a non empty string when specified.");this.b=n||null}else{if(void 0!==t)throw new T("argument-error",Pi+" property must be a non empty string when specified.");if(void 0!==r||void 0!==n)throw new T("missing-android-pkg-name")}}else if(void 0!==n)throw new T("argument-error",Li+" property must be a non null object when specified.");if(this.f=null,(t=e[Oi])&&"object"==typeof t){if("string"==typeof(t=t[Ii])&&t.length)this.f=t;else if(void 0!==t)throw new T("argument-error",Ii+" property must be a non empty string when specified.")}else if(void 0!==t)throw new T("argument-error",Oi+" property must be a non null object when specified.");if(void 0!==(t=e[Ci])&&"boolean"!=typeof t)throw new T("argument-error",Ci+" property must be a boolean when specified.");if(this.c=!!t,void 0!==(e=e[Di])&&("string"!=typeof e||"string"==typeof e&&!e.length))throw new T("argument-error",Di+" property must be a non empty string when specified.");this.i=e||null}var Li="android",Di="dynamicLinkDomain",Ci="handleCodeInApp",Oi="iOS",Ei="url",ji="installApp",Ai="minimumVersion",Pi="packageName",Ii="bundleId";function Yi(e){var t={};for(var n in t.continueUrl=e.h,t.canHandleCodeInApp=e.c,(t.androidPackageName=e.a)&&(t.androidMinimumVersion=e.b,t.androidInstallApp=e.g),t.iOSBundleId=e.f,t.dynamicLinkDomain=e.i,t)null===t[n]&&delete t[n];return t}var Ri=null;function Ni(e){var t=Hi(e);if(!(t&&t.sub&&t.iss&&t.aud&&t.exp))throw Error("Invalid JWT");this.g=e,this.c=t.exp,this.h=t.sub,M(),this.a=t.provider_id||t.firebase&&t.firebase.sign_in_provider||null,this.f=t.firebase&&t.firebase.tenant||null,this.b=!!t.is_anonymous||"anonymous"==this.a}function Fi(e){try{return new Ni(e)}catch(t){return null}}function Hi(e){if(!e)return null;if(3!=(e=e.split(".")).length)return null;for(var t=(4-(e=e[1]).length%4)%4,n=0;n<t;n++)e+=".";try{return JSON.parse(function(e){var t="";return function(e,t){function n(t){for(;r<e.length;){var n=e.charAt(r++),i=Ri[n];if(null!=i)return i;if(!/^[\s\xa0]*$/.test(n))throw Error("Unknown base64 encoding at char: "+n)}return t}!function(){if(!Ri){Ri={};for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),t=["+/=","+/","-_=","-_.","-_"],n=0;5>n;n++)for(var r=e.concat(t[n].split("")),i=0;i<r.length;i++){var o=r[i];void 0===Ri[o]&&(Ri[o]=i)}}}();for(var r=0;;){var i=n(-1),o=n(0),a=n(64),s=n(64);if(64===s&&-1===i)break;t(i<<2|o>>4),64!=a&&(t(o<<4&240|a>>2),64!=s&&t(a<<6&192|s))}}(e,(function(e){t+=String.fromCharCode(e)})),t}(e))}catch(r){}return null}Ni.prototype.S=function(){return this.f},Ni.prototype.i=function(){return this.b},Ni.prototype.toString=function(){return this.g};var $i="oauth_consumer_key oauth_nonce oauth_signature oauth_signature_method oauth_timestamp oauth_token oauth_version".split(" "),zi=["client_id","response_type","scope","redirect_uri","state"],Wi={md:{Ja:"locale",ua:700,ta:600,fa:"facebook.com",Wa:zi},od:{Ja:null,ua:500,ta:750,fa:"github.com",Wa:zi},pd:{Ja:"hl",ua:515,ta:680,fa:"google.com",Wa:zi},vd:{Ja:"lang",ua:485,ta:705,fa:"twitter.com",Wa:$i},jd:{Ja:"locale",ua:640,ta:600,fa:"apple.com",Wa:[]}};function Ui(e){for(var t in Wi)if(Wi[t].fa==e)return Wi[t];return null}function Bi(e){var t={};t["facebook.com"]=Ji,t["google.com"]=Xi,t["github.com"]=Qi,t["twitter.com"]=Zi;var n=e&&e[qi];try{if(n)return t[n]?new t[n](e):new Ki(e);if(void 0!==e[Vi])return new Gi(e)}catch(r){}return null}var Vi="idToken",qi="providerId";function Gi(e){var t=e[qi];if(!t&&e[Vi]){var n=Fi(e[Vi]);n&&n.a&&(t=n.a)}if(!t)throw Error("Invalid additional user info!");"anonymous"!=t&&"custom"!=t||(t=null),n=!1,void 0!==e.isNewUser?n=!!e.isNewUser:"identitytoolkit#SignupNewUserResponse"===e.kind&&(n=!0),Vr(this,"providerId",t),Vr(this,"isNewUser",n)}
2function Ki(e){Gi.call(this,e),Vr(this,"profile",Kr((e=Ar(e.rawUserInfo||"{}"))||{}))}function Ji(e){if(Ki.call(this,e),"facebook.com"!=this.providerId)throw Error("Invalid provider ID!")}function Qi(e){if(Ki.call(this,e),"github.com"!=this.providerId)throw Error("Invalid provider ID!");Vr(this,"username",this.profile&&this.profile.login||null)}function Xi(e){if(Ki.call(this,e),"google.com"!=this.providerId)throw Error("Invalid provider ID!")}function Zi(e){if(Ki.call(this,e),"twitter.com"!=this.providerId)throw Error("Invalid provider ID!");Vr(this,"username",e.screenName||null)}function eo(e){var t=Rn(e),n=Yn(t,"link"),r=Yn(Rn(n),"link");return t=Yn(t,"deep_link_id"),Yn(Rn(t),"link")||t||r||n||e}function to(e,t){if(!e&&!t)throw new T("internal-error","Internal assert: no raw session string available");if(e&&t)throw new T("internal-error","Internal assert: unable to determine the session type");this.a=e||null,this.b=t||null,this.type=this.a?no:ro}S(Ki,Gi),S(Ji,Ki),S(Qi,Ki),S(Xi,Ki),S(Zi,Ki);var no="enroll",ro="signin";function io(){}function oo(e,t){return e.then((function(e){if(e[Ba]){var n=Fi(e[Ba]);if(!n||t!=n.h)throw new T("user-mismatch");return e}throw new T("user-mismatch")})).s((function(e){throw e&&e.code&&e.code==D+"user-not-found"?new T("user-mismatch"):e}))}function ao(e,t){if(!t)throw new T("internal-error","failed to construct a credential");this.a=t,Vr(this,"providerId",e),Vr(this,"signInMethod",e)}function so(e){return{pendingToken:e.a,requestUri:"http://localhost"}}function lo(e){if(e&&e.providerId&&e.signInMethod&&0==e.providerId.indexOf("saml.")&&e.pendingToken)try{return new ao(e.providerId,e.pendingToken)}catch(t){}return null}function uo(e,t,n){if(this.a=null,t.idToken||t.accessToken)t.idToken&&Vr(this,"idToken",t.idToken),t.accessToken&&Vr(this,"accessToken",t.accessToken),t.nonce&&!t.pendingToken&&Vr(this,"nonce",t.nonce),t.pendingToken&&(this.a=t.pendingToken);else{if(!t.oauthToken||!t.oauthTokenSecret)throw new T("internal-error","failed to construct a credential");Vr(this,"accessToken",t.oauthToken),Vr(this,"secret",t.oauthTokenSecret)}Vr(this,"providerId",e),Vr(this,"signInMethod",n)}function co(e){var t={};return e.idToken&&(t.id_token=e.idToken),e.accessToken&&(t.access_token=e.accessToken),e.secret&&(t.oauth_token_secret=e.secret),t.providerId=e.providerId,e.nonce&&!e.a&&(t.nonce=e.nonce),t={postBody:Kn(t).toString(),requestUri:"http://localhost"},e.a&&(delete t.postBody,t.pendingToken=e.a),t}function ho(e){if(e&&e.providerId&&e.signInMethod){var t={idToken:e.oauthIdToken,accessToken:e.oauthTokenSecret?null:e.oauthAccessToken,oauthTokenSecret:e.oauthTokenSecret,oauthToken:e.oauthTokenSecret&&e.oauthAccessToken,nonce:e.nonce,pendingToken:e.pendingToken};try{return new uo(e.providerId,t,e.signInMethod)}catch(n){}}return null}function fo(e,t){this.Pc=t||[],qr(this,{providerId:e,isOAuthProvider:!0}),this.Hb={},this.ob=(Ui(e)||{}).Ja||null,this.nb=null}function po(e){if("string"!=typeof e||0!=e.indexOf("saml."))throw new T("argument-error",'SAML provider IDs must be prefixed with "saml."');fo.call(this,e,[])}function mo(e){fo.call(this,e,zi),this.a=[]}function go(){mo.call(this,"facebook.com")}function _o(e){if(!e)throw new T("argument-error","credential failed: expected 1 argument (the OAuth access token).");var t=e;return m(e)&&(t=e.accessToken),(new go).credential({accessToken:t})}function yo(){mo.call(this,"github.com")}function vo(e){if(!e)throw new T("argument-error","credential failed: expected 1 argument (the OAuth access token).");var t=e;return m(e)&&(t=e.accessToken),(new yo).credential({accessToken:t})}function bo(){mo.call(this,"google.com"),this.Ca("profile")}function wo(e,t){var n=e;return m(e)&&(n=e.idToken,t=e.accessToken),(new bo).credential({idToken:n,accessToken:t})}function ko(){fo.call(this,"twitter.com",$i)}function Mo(e,t){var n=e;if(m(n)||(n={oauthToken:e,oauthTokenSecret:t}),!n.oauthToken||!n.oauthTokenSecret)throw new T("argument-error","credential failed: expected 2 arguments (the OAuth access token and secret).");return new uo("twitter.com",n,"twitter.com")}function So(e,t,n){this.a=e,this.f=t,Vr(this,"providerId","password"),Vr(this,"signInMethod",n===xo.EMAIL_LINK_SIGN_IN_METHOD?xo.EMAIL_LINK_SIGN_IN_METHOD:xo.EMAIL_PASSWORD_SIGN_IN_METHOD)}function To(e){return e&&e.email&&e.password?new So(e.email,e.password,e.signInMethod):null}function xo(){qr(this,{providerId:"password",isOAuthProvider:!1})}function Lo(e,t){if(!(t=Do(t)))throw new T("argument-error","Invalid email link!");return new So(e,t.code,xo.EMAIL_LINK_SIGN_IN_METHOD)}function Do(e){return(e=Ti(e=eo(e)))&&e.operation===oi?e:null}function Co(e){if(!(e.cb&&e.bb||e.La&&e.ea))throw new T("internal-error");this.a=e,Vr(this,"providerId","phone"),this.fa="phone",Vr(this,"signInMethod","phone")}function Oo(e){if(e&&"phone"===e.providerId&&(e.verificationId&&e.verificationCode||e.temporaryProof&&e.phoneNumber)){var t={};return W(["verificationId","verificationCode","temporaryProof","phoneNumber"],(function(n){e[n]&&(t[n]=e[n])})),new Co(t)}return null}function Eo(e){return e.a.La&&e.a.ea?{temporaryProof:e.a.La,phoneNumber:e.a.ea}:{sessionInfo:e.a.cb,code:e.a.bb}}function jo(e){try{this.a=e||t.auth()}catch(n){throw new T("argument-error","Either an instance of firebase.auth.Auth must be passed as an argument to the firebase.auth.PhoneAuthProvider constructor, or the default firebase App instance must be initialized via firebase.initializeApp().")}qr(this,{providerId:"phone",isOAuthProvider:!1})}function Ao(e,t){if(!e)throw new T("missing-verification-id");if(!t)throw new T("missing-verification-code");return new Co({cb:e,bb:t})}function Po(e){if(e.temporaryProof&&e.phoneNumber)return new Co({La:e.temporaryProof,ea:e.phoneNumber});var t=e&&e.providerId;if(!t||"password"===t)return null;var n=e&&e.oauthAccessToken,r=e&&e.oauthTokenSecret,i=e&&e.nonce,o=e&&e.oauthIdToken,a=e&&e.pendingToken;try{switch(t){case"google.com":return wo(o,n);case"facebook.com":return _o(n);case"github.com":return vo(n);case"twitter.com":return Mo(n,r);default:return n||r||o||a?a?0==t.indexOf("saml.")?new ao(t,a):new uo(t,{pendingToken:a,idToken:e.oauthIdToken,accessToken:e.oauthAccessToken},t):new mo(t).credential({idToken:o,accessToken:n,rawNonce:i}):null}}catch(s){return null}}function Io(e){if(!e.isOAuthProvider)throw new T("invalid-oauth-provider")}function Yo(e,t,n,r,i,o,a){if(this.c=e,this.b=t||null,this.g=n||null,this.f=r||null,this.i=o||null,this.h=a||null,this.a=i||null,!this.g&&!this.a)throw new T("invalid-auth-event");
2if(this.g&&this.a)throw new T("invalid-auth-event");if(this.g&&!this.f)throw new T("invalid-auth-event")}function Ro(e){return(e=e||{}).type?new Yo(e.type,e.eventId,e.urlResponse,e.sessionId,e.error&&x(e.error),e.postBody,e.tenantId):null}function No(){this.b=null,this.a=[]}to.prototype.Ha=function(){return xt(this.a?this.a:this.b)},to.prototype.w=function(){return this.type==no?{multiFactorSession:{idToken:this.a}}:{multiFactorSession:{pendingCredential:this.b}}},io.prototype.ja=function(){},io.prototype.b=function(){},io.prototype.c=function(){},io.prototype.w=function(){},ao.prototype.ja=function(e){return hs(e,so(this))},ao.prototype.b=function(e,t){var n=so(this);return n.idToken=t,fs(e,n)},ao.prototype.c=function(e,t){return oo(ps(e,so(this)),t)},ao.prototype.w=function(){return{providerId:this.providerId,signInMethod:this.signInMethod,pendingToken:this.a}},uo.prototype.ja=function(e){return hs(e,co(this))},uo.prototype.b=function(e,t){var n=co(this);return n.idToken=t,fs(e,n)},uo.prototype.c=function(e,t){return oo(ps(e,co(this)),t)},uo.prototype.w=function(){var e={providerId:this.providerId,sign
2InMethod:this.signInMethod};return this.idToken&&(e.oauthIdToken=this.idToken),this.accessToken&&(e.oauthAccessToken=this.accessToken),this.secret&&(e.oauthTokenSecret=this.secret),this.nonce&&(e.nonce=this.nonce),this.a&&(e.pendingToken=this.a),e},fo.prototype.Ka=function(e){return this.Hb=pe(e),this},S(po,fo),S(mo,fo),mo.prototype.Ca=function(e){return q(this.a,e)||this.a.push(e),this},mo.prototype.Pb=function(){return Q(this.a)},mo.prototype.credential=function(e,t){var n;if(!(n=m(e)?{idToken:e.idToken||null,accessToken:e.accessToken||null,nonce:e.rawNonce||null}:{idToken:e||null,accessToken:t||null}).idToken&&!n.accessToken)throw new T("argument-error","credential failed: must provide the ID token and/or the access token.");return new uo(this.providerId,n,this.providerId)},S(go,mo),Vr(go,"PROVIDER_ID","facebook.com"),Vr(go,"FACEBOOK_SIGN_IN_METHOD","facebook.com"),S(yo,mo),Vr(yo,"PROVIDER_ID","github.com"),Vr(yo,"GITHUB_SIGN_IN_METHOD","github.com"),S(bo,mo),Vr(bo,"PROVIDER_ID","google.com"),Vr(bo,"GOOGLE_SIGN_IN_METHOD","google.com"),S(ko,fo),Vr(ko,"PROVIDER_ID","twitter.com"),Vr(ko,"TWITTER_SIGN_IN_METHOD","twitter.com"),So.prototype.ja=function(e){return this.signInMethod==xo.EMAIL_LINK_SIGN_IN_METHOD?Ks(e,ks,{email:this.a,oobCode:this.f}):Ks(e,Us,{email:this.a,password:this.f})},So.prototype.b=function(e,t){return this.signInMethod==xo.EMAIL_LINK_SIGN_IN_METHOD?Ks(e,Ms,{idToken:t,email:this.a,oobCode:this.f}):Ks(e,Ys,{idToken:t,email:this.a,password:this.f})},So.prototype.c=function(e,t){return oo(this.ja(e),t)},So.prototype.w=function(){return{email:this.a,password:this.f,signInMethod:this.signInMethod}},qr(xo,{PROVIDER_ID:"password"}),qr(xo,{EMAIL_LINK_SIGN_IN_METHOD:"emailLink"}),qr(xo,{EMAIL_PASSWORD_SIGN_IN_METHOD:"password"}),Co.prototype.ja=function(e){return e.eb(Eo(this))},Co.prototype.b=function(e,t){var n=Eo(this);return n.idToken=t,Ks(e,Vs,n)},Co.prototype.c=function(e,t){var n=Eo(this);return n.operation="REAUTH",oo(e=Ks(e,qs,n),t)},Co.prototype.w=function(){var e={providerId:"phone"};return this.a.cb&&(e.verificationId=this.a.cb),this.a.bb&&(e.verificationCode=this.a.bb),this.a.La&&(e.temporaryProof=this.a.La),this.a.ea&&(e.phoneNumber=this.a.ea),e},jo.prototype.eb=function(e,t){var n=this.a.a;return xt(t.verify()).then((function(r){if("string"!=typeof r)throw new T("argument-error","An implementation of firebase.auth.ApplicationVerifier.prototype.verify() must return a firebase.Promise that resolves with a string.");switch(t.type){case"recaptcha":var i=m(e)?e.session:null,o=m(e)?e.phoneNumber:e;return(i&&i.type==no?i.Ha().then((function(e){return function(e,t){return Ks(e,Ns,t).then((function(e){return e.phoneSessionInfo.sessionInfo}))}(n,{idToken:e,phoneEnrollmentInfo:{phoneNumber:o,recaptchaToken:r}})})):i&&i.type==ro?i.Ha().then((function(t){return function(e,t){return Ks(e,Fs,t).then((function(e){return e.phoneResponseInfo.sessionInfo}))}(n,{mfaPendingCredential:t,mfaEnrollmentId:e.multiFactorHint&&e.multiFactorHint.uid||e.multiFactorUid,phoneSignInInfo:{recaptchaToken:r}})})):function(e,t){return Ks(e,Ps,t)}(n,{phoneNumber:o,recaptchaToken:r})).then((function(e){return"function"==typeof t.reset&&t.reset(),e}),(function(e){throw"function"==typeof t.reset&&t.reset(),e}));default:throw new T("argument-error",'Only firebase.auth.ApplicationVerifiers with type="recaptcha" are currently supported.')}}))},qr(jo,{PROVIDER_ID:"phone"}),qr(jo,{PHONE_SIGN_IN_METHOD:"phone"}),Yo.prototype.getUid=function(){var e=[];return e.push(this.c),this.b&&e.push(this.b),this.f&&e.push(this.f),this.h&&e.push(this.h),e.join("-")},Yo.prototype.S=function(){return this.h},Yo.prototype.w=function(){return{type:this.c,eventId:this.b,urlResponse:this.g,sessionId:this.f,postBody:this.i,tenantId:this.h,error:this.a&&this.a.w()}};var Fo,Ho=null;function $o(e){var t="unauthorized-domain",n=void 0,r=Rn(e);e=r.a,"chrome-extension"==(r=r.f)?n=$e("This chrome extension ID (chrome-extension://%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",e):"http"==r||"https"==r?n=$e("This domain (%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",e):t="operation-not-supported-in-this-environment",T.call(this,t,n)}function zo(e,t,n){T.call(this,e,n),(e=t||{}).Ib&&Vr(this,"email",e.Ib),e.ea&&Vr(this,"phoneNumber",e.ea),e.credential&&Vr(this,"credential",e.credential),e.Yb&&Vr(this,"tenantId",e.Yb)}function Wo(e){if(e.code){var t=e.code||"";0==t.indexOf(D)&&(t=t.substring(D.length));var n={credential:Po(e),Yb:e.tenantId};if(e.email)n.Ib=e.email;
2else if(e.phoneNumber)n.ea=e.phoneNumber;else if(!n.credential)return new T(t,e.message||void 0);return new zo(t,n,e.message)}return null}function Uo(){}function Bo(){}function Vo(e){if(!e.f&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var t=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],n=0;n<t.length;n++){var r=t[n];try{return new ActiveXObject(r),e.f=r}catch(i){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return e.f}function qo(){}function Go(){this.a=new XDomainRequest,this.readyState=0,this.onreadystatechange=null,this.responseType=this.responseText=this.response="",this.status=-1,this.statusText="",this.a.onload=w(this.pc,this),this.a.onerror=w(this.Rb,this),this.a.onprogress=w(this.qc,this),this.a.ontimeout=w(this.uc,this)}function Ko(e,t){e.readyState=t,e.onreadystatechange&&e.onreadystatechange()}function Jo(e,t,n){this.reset(e,t,n,void 0,void 0)}function Qo(e){this.f=e,this.b=this.c=this.a=null}function Xo(e,t){this.name=e,this.value=t}S($o,T),S(zo,T),zo.prototype.w=function(){var e={code:this.code,message:this.message};this.email&&(e.email=this.email),this.phoneNumber&&(e.phoneNumber=this.phoneNumber),this.tenantId&&(e.tenantId=this.tenantId);var t=this.credential&&this.credential.w();return t&&ge(e,t),e},zo.prototype.toJSON=function(){return this.w()},Uo.prototype.c=null,S(Bo,Uo),Bo.prototype.a=function(){var e=Vo(this);return e?new ActiveXObject(e):new XMLHttpRequest},Bo.prototype.b=function(){var e={};return Vo(this)&&(e[0]=!0,e[1]=!0),e},Fo=new Bo,S(qo,Uo),qo.prototype.a=function(){var e=new XMLHttpRequest;if("withCredentials"in e)return e;if("undefined"!=typeof XDomainRequest)return new Go;throw Error("Unsupported browser")},qo.prototype.b=function(){return{}},(e=Go.prototype).open=function(e,t,n){if(null!=n&&!n)throw Error("Only async requests are supported.");this.a.open(e,t)},e.send=function(e){if(e){if("string"!=typeof e)throw Error("Only string data is supported");this.a.send(e)}else this.a.send()},e.abort=function(){this.a.abort()},e.setRequestHeader=function(){},e.getResponseHeader=function(e){return"content-type"==e.toLowerCase()?this.a.contentType:""},e.pc=function(){this.status=200,this.response=this.responseText=this.a.responseText,Ko(this,4)},e.Rb=function(){this.status=500,this.response=this.responseText="",Ko(this,4)},e.uc=function(){this.Rb()},e.qc=function(){this.status=200,Ko(this,1)},e.getAllResponseHeaders=function(){return"content-type: "+this.a.contentType},Jo.prototype.a=null,Jo.prototype.reset=function(e,t,n,r,i){r||M(),delete this.a},Xo.prototype.toString=function(){return this.name};var Zo=new Xo("SEVERE",1e3),ea=new Xo("WARNING",900),ta=new Xo("CONFIG",700),na=new Xo("FINE",500);Qo.prototype.log=function(e,t,n){if(e.value>=function e(t){return t.c?t.c:t.a?e(t.a):(I("Root logger has no level set."),null)}(this).value)for(p(t)&&(t=t()),e=new Jo(e,String(t),this.f),n&&(e.a=n),n=this;n;)n=n.a};var ra={},ia=null;function oa(e){var t;if(ia||(ia=new Qo(""),ra[""]=ia,ia.c=ta),!(t=ra[e])){t=new Qo(e);var n=e.lastIndexOf("."),r=e.substr(n+1);(n=oa(e.substr(0,n))).b||(n.b={}),n.b[r]=t,t.a=n,ra[e]=t}return t}function aa(e,t){e&&e.log(na,t,void 0)}function sa(e){this.f=e}function la(e){vn.call(this),this.o=e,this.readyState=ua,this.status=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.i=new Headers,this.b=null,this.m="GET",this.g="",this.a=!1,this.h=oa("goog.net.FetchXmlHttp"),this.l=this.c=this.f=null}S(sa,Uo),sa.prototype.a=function(){return new la(this.f)},sa.prototype.b=function(e){return function(){return e}}({}),S(la,vn);var ua=0;function ca(e){e.c.read().then(e.oc.bind(e)).catch(e.Ta.bind(e))}function da(e,t){t&&e.f&&(e.status=e.f.status,e.statusText=e.f.statusText),e.readyState=4,e.f=null,e.c=null,e.l=null,ha(e)}function ha(e){e.onreadystatechange&&e.onreadystatechange.call(e)}function fa(e){vn.call(this),this.headers=new Ln,this.O=e||null,this.c=!1,this.A=this.a=null,this.h=this.P=this.l="",this.f=this.N=this.i=this.G=!1,this.g=0,this.o=null,this.m=pa,this.u=this.R=!1}(e=la.prototype).open=function(e,t){if(this.readyState!=ua)throw this.abort(),Error("Error reopening a connection");this.m=e,this.g=t,this.readyState=1,ha(this)},e.send=function(e){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.a=!0;var t={headers:this.i,method:this.m,credentials:void 0,cache:void 0};
2e&&(t.body=e),this.o.fetch(new Request(this.g,t)).then(this.tc.bind(this),this.Ta.bind(this))},e.abort=function(){this.response=this.responseText="",this.i=new Headers,this.status=0,this.c&&this.c.cancel("Request was aborted."),1<=this.readyState&&this.a&&4!=this.readyState&&(this.a=!1,da(this,!1)),this.readyState=ua},e.tc=function(e){this.a&&(this.f=e,this.b||(this.b=e.headers,this.readyState=2,ha(this)),this.a&&(this.readyState=3,ha(this),this.a&&("arraybuffer"===this.responseType?e.arrayBuffer().then(this.rc.bind(this),this.Ta.bind(this)):void 0!==l.ReadableStream&&"body"in e?(this.response=this.responseText="",this.c=e.body.getReader(),this.l=new TextDecoder,ca(this)):e.text().then(this.sc.bind(this),this.Ta.bind(this)))))},e.oc=function(e){if(this.a){var t=this.l.decode(e.value?e.value:new Uint8Array(0),{stream:!e.done});t&&(this.response=this.responseText+=t),e.done?da(this,!0):ha(this),3==this.readyState&&ca(this)}},e.sc=function(e){this.a&&(this.response=this.responseText=e,da(this,!0))},e.rc=function(e){this.a&&(this.response=e,da(this,!0))},e.Ta=function(e){var t=this.h;t&&t.log(ea,"Failed to fetch url "+this.g,e instanceof Error?e:Error(e)),this.a&&da(this,!0)},e.setRequestHeader=function(e,t){this.i.append(e,t)},e.getResponseHeader=function(e){return this.b?this.b.get(e.toLowerCase())||"":((e=this.h)&&e.log(ea,"Attempting to get response header but no headers have been received for url: "+this.g,void 0),"")},e.getAllResponseHeaders=function(){if(!this.b){var e=this.h;return e&&e.log(ea,"Attempting to get all response headers but no headers have been received for url: "+this.g,void 0),""}e=[];for(var t=this.b.entries(),n=t.next();!n.done;)e.push((n=n.value)[0]+": "+n[1]),n=t.next();return e.join("\r\n")},S(fa,vn);var pa="";fa.prototype.b=oa("goog.net.XhrIo");var ma=/^https?$/i,ga=["POST","PUT"];function _a(e){return"content-type"==e.toLowerCase()}function ya(e,t){e.c=!1,e.a&&(e.f=!0,e.a.abort(),e.f=!1),e.h=t,va(e),wa(e)}function va(e){e.G||(e.G=!0,e.dispatchEvent("complete"),e.dispatchEvent("error"))}function ba(e){if(e.c&&void 0!==s)if(e.A[1]&&4==Ma(e)&&2==Sa(e))aa(e.b,Ta(e,"Local request error detected and ignored"));else if(e.i&&4==Ma(e))Mn(e.Ub,0,e);else if(e.dispatchEvent("readystatechange"),4==Ma(e)){aa(e.b,Ta(e,"Request complete")),e.c=!1;try{var t,n=Sa(e);e:switch(n){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var r=!0;break e;default:r=!1}if(!(t=r)){var i;if(i=0===n){var o=String(e.l).match(On)[1]||null;if(!o&&l.self&&l.self.location){var a=l.self.location.protocol;o=a.substr(0,a.length-1)}i=!ma.test(o?o.toLowerCase():"")}t=i}if(t)e.dispatchEvent("complete"),e.dispatchEvent("success");else{try{var u=2<Ma(e)?e.a.statusText:""}catch(c){aa(e.b,"Can not get status: "+c.message),u=""}e.h=u+" ["+Sa(e)+"]",va(e)}}finally{wa(e)}}}function wa(e,t){if(e.a){ka(e);var n=e.a,r=e.A[0]?d:null;e.a=null,e.A=null,t||e.dispatchEvent("ready");try{n.onreadystatechange=r}catch(i){(e=e.b)&&e.log(Zo,"Problem encountered resetting onreadystatechange: "+i.message,void 0)}}}function ka(e){e.a&&e.u&&(e.a.ontimeout=null),e.o&&(l.clearTimeout(e.o),e.o=null)}function Ma(e){return e.a?e.a.readyState:0}function Sa(e){try{return 2<Ma(e)?e.a.status:-1}catch(t){return-1}}function Ta(e,t){return t+" ["+e.P+" "+e.l+" "+Sa(e)+"]"}function xa(e){var t=Ra;this.g=[],this.u=t,this.o=e||null,this.f=this.a=!1,this.c=void 0,this.m=this.A=this.i=!1,this.h=0,this.b=null,this.l=0}function La(e,t,n){e.a=!0,e.c=n,e.f=!t,Ea(e)}function Da(e){if(e.a){if(!e.m)throw new ja(e);e.m=!1}}function Ca(e,t,n,r){e.g.push([t,n,r]),e.a&&Ea(e)}function Oa(e){return V(e.g,(function(e){return p(e[1])}))}function Ea(e){if(e.h&&e.a&&Oa(e)){var t=e.h,n=Ia[t];n&&(l.clearTimeout(n.a),delete Ia[t]),e.h=0}e.b&&(e.b.l--,delete e.b),t=e.c;for(var r=n=!1;e.g.length&&!e.i;){var i=e.g.shift(),o=i[0],a=i[1];if(i=i[2],o=e.f?a:o)try{var s=o.call(i||e.o,t);void 0!==s&&(e.f=e.f&&(s==t||s instanceof Error),e.c=t=s),(j(t)||"function"==typeof l.Promise&&t instanceof l.Promise)&&(r=!0,e.i=!0)}catch(u){t=u,e.f=!0,Oa(e)||(n=!0)}}e.c=t,r&&(s=w(e.v,e,!0),r=w(e.v,e,!1),t instanceof xa?(Ca(t,s,r),t.A=!0):t.then(s,r)),n&&(t=new Pa(t),Ia[t.a]=t,e.h=t.a)}function ja(){A.call(this)}function Aa(){A.call(this)}function Pa(e){this.a=l.setTimeout(w(this.c,this),0),this.b=e}(e=fa.prototype).Ma=function(){void 0!==s&&this.a&&(this.h="Timed out after "+this.g+"ms, aborting",aa(this.b,Ta(this,this.h)),this.dispatchEvent("timeout"),this.abort(8))},e.abort=function(){this.a&&this.c&&(aa(this.b,Ta(this,"Aborting")),this.c=!1,this.f=!0,this.a.abort(),this.f=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),wa(this))},e.Da=function(){this.a&&(this.c&&(this.c=!1,this.f=!0,this.a.abort(),this.f=!1),wa(this,!0)),fa.$a.Da.call(this)},e.Ub=function(){this.xa||(this.N||this.i||this.f?ba(this):this.Ic())},e.Ic=function(){ba(this)},e.getResponse=function(){try{if(!this.a)return null;if("response"in this.a)return this.a.response;switch(this.m){case pa:case"text":return this.a.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in this.a)return this.a.mozResponseArrayBuffer}var e=this.b;return e&&e.log(Zo,"Response type "+this.m+" is not supported on this browser",void 0),null}catch(t){return aa(this.b,"Can not get response: "+t.message),null}},xa.prototype.cancel=function(e){if(this.a)this.c instanceof xa&&this.c.cancel();else{if(this.b){var t=this.b;delete this.b,e?t.cancel(e):(t.l--,0>=t.l&&t.cancel())}this.u?this.u.call(this.o,this):this.m=!0,this.a||(e=new Aa(this),Da(this),La(this,!1,e))}},xa.prototype.v=function(e,t){this.i=!1,La(this,e,t)},xa.prototype.then=function(e,t,n){var r,i,o=new vt((function(e,t){r=e,i=t}));return Ca(this,r,(function(e){e instanceof Aa?o.cancel():i(e)})),o.then(e,t,n)}
2,xa.prototype.$goog_Thenable=!0,S(ja,A),ja.prototype.message="Deferred has already fired",ja.prototype.name="AlreadyCalledError",S(Aa,A),Aa.prototype.message="Deferred was canceled",Aa.prototype.name="CanceledError",Pa.prototype.c=function(){throw delete Ia[this.a],this.b};var Ia={};function Ya(e){var t={},n=t.document||document,r=Se(e).toString(),i=ht(document,"SCRIPT"),o={Vb:i,Ma:void 0},a=new xa(o),s=null,d=null!=t.timeout?t.timeout:5e3;return 0<d&&(s=window.setTimeout((function(){Na(i,!0);var e=new $a(Ha,"Timeout reached for loading script "+r);Da(a),La(a,!1,e)}),d),o.Ma=s),i.onload=i.onreadystatechange=function(){i.readyState&&"loaded"!=i.readyState&&"complete"!=i.readyState||(Na(i,t.wd||!1,s),Da(a),La(a,!0,null))},i.onerror=function(){Na(i,!0,s);var e=new $a(Fa,"Error while loading script "+r);Da(a),La(a,!1,e)},ge(o=t.attributes||{},{type:"text/javascript",charset:"UTF-8"}),st(i,o),function(e,t){_e(e,"HTMLScriptElement"),e.src=Se(t),null===c&&(c=(t=(t=l.document).querySelector&&t.querySelector("script[nonce]"))&&(t=t.nonce||t.getAttribute("nonce"))&&u.test(t)?t:""),(t=c)&&e.setAttribute("nonce",t)}(i,e),function(e){var t;return(t=(e||document).getElementsByTagName("HEAD"))&&0!=t.length?t[0]:e.documentElement}(n).appendChild(i),a}function Ra(){if(this&&this.Vb){var e=this.Vb;e&&"SCRIPT"==e.tagName&&Na(e,!0,this.Ma)}}function Na(e,t,n){null!=n&&l.clearTimeout(n),e.onload=d,e.onerror=d,e.onreadystatechange=d,t&&window.setTimeout((function(){e&&e.parentNode&&e.parentNode.removeChild(e)}),0)}var Fa=0,Ha=1;function $a(e,t){var n="Jsloader error (code #"+e+")";t&&(n+=": "+t),A.call(this,n),this.code=e}function za(e){this.f=e}function Wa(e,n,r){if(this.c=e,this.l=(e=n||{}).secureTokenEndpoint||"https://securetoken.googleapis.com/v1/token",this.v=e.secureTokenTimeout||Va,this.g=pe(e.secureTokenHeaders||qa),this.h=e.firebaseEndpoint||"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",this.i=e.identityPlatformEndpoint||"https://identitytoolkit.googleapis.com/v2/",this.m=e.firebaseTimeout||Ga,this.a=pe(e.firebaseHeaders||Ka),r&&(this.a["X-Client-Version"]=r,this.g["X-Client-Version"]=r),r="Node"==yr(),!(r=l.XMLHttpRequest||r&&t.INTERNAL.node&&t.INTERNAL.node.XMLHttpRequest)&&!_r())throw new T("internal-error","The XMLHttpRequest compatibility library was not found.");this.f=void 0,this.f=_r()?new sa(self):vr()?new za(r):new qo,this.b=null}S($a,A),S(za,Uo),za.prototype.a=function(){return new this.f},za.prototype.b=function(){return{}};var Ua,Ba="idToken",Va=new Rr(3e4,6e4),qa={"Content-Type":"application/x-www-form-urlencoded"},Ga=new Rr(3e4,6e4),Ka={"Content-Type":"application/json"};function Ja(e,t){t?e.a["X-Firebase-Locale"]=t:delete e.a["X-Firebase-Locale"]}function Qa(e,t){t&&(e.l=Xa("https://securetoken.googleapis.com/v1/token",t),e.h=Xa("https://www.googleapis.com/identitytoolkit/v3/relyingparty/",t),e.i=Xa("https://identitytoolkit.googleapis.com/v2/",t))}function Xa(e,t){return e=Rn(e),t=Rn(t.url),e.c=e.a+e.c,jn(e,t.f),e.a=t.a,An(e,t.g),e.toString()}function Za(e,t){t?(e.a["X-Client-Version"]=t,e.g["X-Client-Version"]=t):(delete e.a["X-Client-Version"],delete e.g["X-Client-Version"])}function es(e,t,n,r,i,o,a){(function(){var e=Sr();return!((e="Chrome"!=wr(e)?null:(e=e.match(/\sChrome\/(\d+)/i))&&2==e.length?parseInt(e[1],10):null)&&30>e||qe&&nt&&!(9<nt))})()||_r()?e=w(e.u,e):(Ua||(Ua=new vt((function(e,t){!function(e,t){((window.gapi||{}).client||{}).request?e():(l[ns]=function(){((window.gapi||{}).client||{}).request?e():t(Error("CORS_UNSUPPORTED"))},function(e,t){Ca(e,null,t,void 0)}(Ya(Te(ts,{onload:ns})),(function(){t(Error("CORS_UNSUPPORTED"))})))}(e,t)}))),e=w(e.o,e)),e(t,n,r,i,o,a)}Wa.prototype.S=function(){return this.b},Wa.prototype.u=function(e,t,n,r,i,o){if(_r()&&(void 0===l.fetch||void 0===l.Headers||void 0===l.Request))throw new T("operation-not-supported-in-this-environment","fetch, Headers and Request native APIs or equivalent Polyfills must be available to support HTTP requests from a Worker environment.");var a=new fa(this.f);if(o){a.g=Math.max(0,o);var s=setTimeout((function(){a.dispatchEvent("timeout")}),o)}bn(a,"complete",(function(){s&&clearTimeout(s);var e=null;try{e=JSON.parse(function(e){try{return e.a?e.a.responseText:""}catch(t){return aa(e.b,"Can not get responseText: "+t.message),""}}(this))||null}catch(n){e=null}t&&t(e)})),wn(a,"ready",(function(){s&&clearTimeout(s),Wt(this)})),wn(a,"timeout",(function(){s&&clearTimeout(s),Wt(this),t&&t(null)})),function(e,t,n,r,i){if(e.a)throw Error("[goog.net.XhrIo] Object is active with another request="+e.l+"; newUri="+t);n=n?n.toUpperCase():"GET",e.l=t,e.h="",e.P=n,e.G=!1,e.c=!0,e.a=e.O?e.O.a():Fo.a(),e.A=function(e){return e.c||(e.c=e.b())}(e.O?e.O:Fo),e.a.onreadystatechange=w(e.Ub,e);try{aa(e.b,Ta(e,"Opening Xhr")),e.N=!0,e.a.open(n,String(t),!0),e.N=!1}
2catch(a){return aa(e.b,Ta(e,"Error opening Xhr: "+a.message)),void ya(e,a)}t=r||"";var o=new Ln(e.headers);i&&function(e,t){if(e.forEach&&"function"==typeof e.forEach)e.forEach(t,void 0);else if(f(e)||"string"==typeof e)W(e,t,void 0);else for(var n=xn(e),r=Tn(e),i=r.length,o=0;o<i;o++)t.call(void 0,r[o],n&&n[o],e)}(i,(function(e,t){o.set(t,e)})),i=function(e){e:{for(var t=_a,n=e.length,r="string"==typeof e?e.split(""):e,i=0;i<n;i++)if(i in r&&t.call(void 0,r[i],i,e)){t=i;break e}t=-1}return 0>t?null:"string"==typeof e?e.charAt(t):e[t]}(o.Y()),r=l.FormData&&t instanceof l.FormData,!q(ga,n)||i||r||o.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),o.forEach((function(e,t){this.a.setRequestHeader(t,e)}),e),e.m&&(e.a.responseType=e.m),"withCredentials"in e.a&&e.a.withCredentials!==e.R&&(e.a.withCredentials=e.R);try{ka(e),0<e.g&&(e.u=function(e){return qe&&it(9)&&"number"==typeof e.timeout&&void 0!==e.ontimeout}(e.a),aa(e.b,Ta(e,"Will abort after "+e.g+"ms if incomplete, xhr2 "+e.u)),e.u?(e.a.timeout=e.g,e.a.ontimeout=w(e.Ma,e)):e.o=Mn(e.Ma,e.g,e)),aa(e.b,Ta(e,"Sending request")),e.i=!0,e.a.send(t),e.i=!1}catch(a){aa(e.b,Ta(e,"Send error: "+a.message)),ya(e,a)}}(a,e,n,r,i)};var ts=new ye(we,"https://apis.google.com/js/client.js?onload=%{onload}"),ns="__fcb"+Math.floor(1e6*Math.random()).toString();function rs(e){if("string"!=typeof(e=e.email)||!fr.test(e))throw new T("invalid-email")}function is(e){"email"in e&&rs(e)}function os(e){if(!e[Ba]){if(e.mfaPendingCredential)throw new T("multi-factor-auth-required",null,pe(e));throw new T("internal-error")}}function as(e){if(e.phoneNumber||e.temporaryProof){if(!e.phoneNumber||!e.temporaryProof)throw new T("internal-error")}else{if(!e.sessionInfo)throw new T("missing-verification-id");if(!e.code)throw new T("missing-verification-code")}}Wa.prototype.o=function(e,t,n,r,i){var o=this;Ua.then((function(){window.gapi.client.setApiKey(o.c);var a=window.gapi.auth.getToken();window.gapi.auth.setToken(null),window.gapi.client.request({path:e,method:n,body:r,headers:i,authType:"none",callback:function(e){window.gapi.auth.setToken(a),t&&t(e)}})})).s((function(e){t&&t({error:{message:e&&e.message||"CORS_UNSUPPORTED"}})}))},Wa.prototype.yb=function(){return Ks(this,Rs,{})},Wa.prototype.Ab=function(e,t){return Ks(this,Is,{idToken:e,email:t})},Wa.prototype.Bb=function(e,t){return Ks(this,Ys,{idToken:e,password:t})};var ss={displayName:"DISPLAY_NAME",photoUrl:"PHOTO_URL"};function ls(e){if(!e.phoneVerificationInfo)throw new T("internal-error");if(!e.phoneVerificationInfo.sessionInfo)throw new T("missing-verification-id");if(!e.phoneVerificationInfo.code)throw new T("missing-verification-code")}function us(e){if(!e.requestUri||!e.sessionId&&!e.postBody&&!e.pendingToken)throw new T("internal-error")}function cs(e,t){return t.oauthIdToken&&t.providerId&&0==t.providerId.indexOf("oidc.")&&!t.pendingToken&&(e.sessionId?t.nonce=e.sessionId:e.postBody&&Qn(e=new qn(e.postBody),"nonce")&&(t.nonce=e.get("nonce"))),t}function ds(e){var t=null;if(e.needConfirmation?(e.code="account-exists-with-different-credential",t=Wo(e)):"FEDERATED_USER_ID_ALREADY_LINKED"==e.errorMessage?(e.code="credential-already-in-use",t=Wo(e)):"EMAIL_EXISTS"==e.errorMessage?(e.code="email-already-in-use",t=Wo(e)):e.errorMessage&&(t=Js(e.errorMessage)),t)throw t;os(e)}function hs(e,t){return t.returnIdpCredential=!0,Ks(e,Hs,t)}function fs(e,t){return t.returnIdpCredential=!0,Ks(e,zs,t)}function ps(e,t){return t.returnIdpCredential=!0,t.autoCreate=!1,Ks(e,$s,t)}function ms(e){if(!e.oobCode)throw new T("invalid-action-code")}(e=Wa.prototype).Cb=function(e,t){var n={idToken:e},r=[];return he(ss,(function(e,i){var o=t[i];null===o?r.push(e):i in t&&(n[i]=o)})),r.length&&(n.deleteAttribute=r),Ks(this,Is,n)},e.ub=function(e,t){return ge(e={requestType:"PASSWORD_RESET",email:e},t),Ks(this,Os,e)},e.vb=function(e,t){return ge(e={requestType:"EMAIL_SIGNIN",email:e},t),Ks(this,Ls,e)},e.tb=function(e,t){return ge(e={requestType:"VERIFY_EMAIL",idToken:e},t),Ks(this,Ds,e)},e.Db=function(e,t,n){return ge(e={requestType:"VERIFY_AND_CHANGE_EMAIL",idToken:e,newEmail:t},n),Ks(this,Cs,e)},e.eb=function(e){return Ks(this,Bs,e)},e.mb=function(e,t){return Ks(this,As,{oobCode:e,newPassword:t})},e.Qa=function(e){return Ks(this,_s,{oobCode:e})},e.ib=function(e){return Ks(this,gs,{oobCode:e})};var gs={endpoint:"setAccountInfo",B:ms,Z:"email",C:!0},_s={endpoint:"resetPassword",B:ms,F:function(e){var t=e.requestType;if(!t||!e.email&&"EMAIL_SIGNIN"!=t&&"VERIFY_AND_CHANGE_EMAIL"!=t)throw new T("internal-error")},C:!0},ys={endpoint:"signupNewUser",B:function(e){if(rs(e),!e.password)throw new T("weak-
2password")},F:os,U:!0,C:!0},vs={endpoint:"createAuthUri",C:!0},bs={endpoint:"deleteAccount",M:["idToken"]},ws={endpoint:"setAccountInfo",M:["idToken","deleteProvider"],B:function(e){if("array"!=h(e.deleteProvider))throw new T("internal-error")}},ks={endpoint:"emailLinkSignin",M:["email","oobCode"],B:rs,F:os,U:!0,C:!0},Ms={endpoint:"emailLinkSignin",M:["idToken","email","oobCode"],B:rs,F:os,U:!0},Ss={endpoint:"accounts/mfaEnrollment:finalize",M:["idToken","phoneVerificationInfo"],B:ls,F:os,C:!0,Na:!0},Ts={endpoint:"accounts/mfaSignIn:finalize",M:["mfaPendingCredential","phoneVerificationInfo"],B:ls,F:os,C:!0,Na:!0},xs={endpoint:"getAccountInfo"},Ls={endpoint:"getOobConfirmationCode",M:["requestType"],B:function(e){if("EMAIL_SIGNIN"!=e.requestType)throw new T("internal-error");rs(e)},Z:"email",C:!0},Ds={endpoint:"getOobConfirmationCode",M:["idToken","requestType"],B:function(e){if("VERIFY_EMAIL"!=e.requestType)throw new T("internal-error")},Z:"email",C:!0},Cs={endpoint:"getOobConfirmationCode",M:["idToken","newEmail","requestType"],B:function(e){if("VERIFY_AND_CHANGE_EMAIL"!=e.requestType)throw new T("internal-error")},Z:"email",C:!0},Os={endpoint:"getOobConfirmationCode",M:["requestType"],B:function(e){if("PASSWORD_RESET"!=e.requestType)throw new T("internal-error");rs(e)},Z:"email",C:!0},Es={kb:!0,endpoint:"getProjectConfig",Tb:"GET"},js={kb:!0,endpoint:"getRecaptchaParam",Tb:"GET",F:function(e){if(!e.recaptchaSiteKey)throw new T("internal-error")}},As={endpoint:"resetPassword",B:ms,Z:"email",C:!0},Ps={endpoint:"sendVerificationCode",M:["phoneNumber","recaptchaToken"],Z:"sessionInfo",C:!0},Is={endpoint:"setAccountInfo",M:["idToken"],B:is,U:!0},Ys={endpoint:"setAccountInfo",M:["idToken"],B:function(e){if(is(e),!e.password)throw new T("weak-password")},F:os,U:!0},Rs={endpoint:"signupNewUser",F:os,U:!0,C:!0},Ns={endpoint:"accounts/mfaEnrollment:start",M:["idToken","phoneEnrollmentInfo"],B:function(e){if(!e.phoneEnrollmentInfo)throw new T("internal-error");if(!e.phoneEnrollmentInfo.phoneNumber)throw new T("missing-phone-number");if(!e.phoneEnrollmentInfo.recaptchaToken)throw new T("missing-app-credential")},F:function(e){if(!e.phoneSessionInfo||!e.phoneSessionInfo.sessionInfo)throw new T("internal-error")},C:!0,Na:!0},Fs={endpoint:"accounts/mfaSignIn:start",M:["mfaPendingCredential","mfaEnrollmentId","phoneSignInInfo"],B:function(e){if(!e.phoneSignInInfo||!e.phoneSignInInfo.recaptchaToken)throw new T("missing-app-credential")},F:function(e){if(!e.phoneResponseInfo||!e.phoneResponseInfo.sessionInfo)throw new T("internal-error")},C:!0,Na:!0},Hs={endpoint:"verifyAssertion",B:us,Xa:cs,F:ds,U:!0,C:!0},$s={endpoint:"verifyAssertion",B:us,Xa:cs,F:function(e){if(e.errorMessage&&"USER_NOT_FOUND"==e.errorMessage)throw new T("user-not-found");if(e.errorMessage)throw Js(e.errorMessage);os(e)},U:!0,C:!0},zs={endpoint:"verifyAssertion",B:function(e){if(us(e),!e.idToken)throw new T("internal-error")},Xa:cs,F:ds,U:!0},Ws={endpoint:"verifyCustomToken",B:function(e){if(!e.token)throw new T("invalid-custom-token")},F:os,U:!0,C:!0},Us={endpoint:"verifyPassword",B:function(e){if(rs(e),!e.password)throw new T("wrong-password")},F:os,U:!0,C:!0},Bs={endpoint:"verifyPhoneNumber",B:as,F:os,C:!0},Vs={endpoint:"verifyPhoneNumber",B:function(e){if(!e.idToken)throw new T("internal-error");as(e)},F:function(e){if(e.temporaryProof)throw e.code="credential-already-in-use",Wo(e);os(e)}},qs={Gb:{USER_NOT_FOUND:"user-not-found"},endpoint:"verifyPhoneNumber",B:as,F:os,C:!0},Gs={endpoint:"accounts/mfaEnrollment:withdraw",M:["idToken","mfaEnrollmentId"],F:function(e){if(!!e[Ba]^!!e.refreshToken)throw new T("internal-error")},C:!0,Na:!0};function Ks(e,t,n){if(!function(e,t){if(!t||!t.length)return!0;if(!e)return!1;for(var n=0;n<t.length;n++){var r=e[t[n]];if(null==r||""===r)return!1}return!0}(n,t.M))return Lt(new T("internal-error"));var r,i=!!t.Na,o=t.Tb||"POST";return xt(n).then(t.B).then((function(){return t.U&&(n.returnSecureToken=!0),t.C&&e.b&&void 0===n.tenantId&&(n.tenantId=e.b),function(e,t,n,r,i,o,a){var s=Rn(t+n);In(s,"key",e.c),a&&In(s,"cb",M().toString());var l="GET"==r;if(l)for(var u in i)i.hasOwnProperty(u)&&In(s,u,i[u]);return new vt((function(t,n){es(e,s.toString(),(function(e){e?e.error?n(Qs(e,o||{})):t(e):n(new T("network-request-failed"))}),r,l?void 0:tr(jr(i)),e.a,e.m.get())}))}(e,i?e.i:e.h,t.endpoint,o,n,t.Gb,t.kb||!1)})).then((function(e){return r=e,t.Xa?t.Xa(n,r):r})).then(t.F).then((function(){if(!t.Z)return r;if(!(t.Z in r))throw new T("internal-error");return r[t.Z]}))}function Js(e){return Qs({error:{errors:[{message:e}],code:400,message:e}})}function Qs(e,t){var n=(e.error&&e.error.errors&&e.error.errors[0]||{}).reason||"",r={keyInvalid:"invalid-api-key",ipRefererBlocked:"app-not-authorized"};if(n=r[n]?new T(r[n]):null)return n;for(var i in n=e.error&&e.error.message||"",ge(r={INVALID_CUSTOM_TOKEN:"invalid-custom-token",CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVA
2LID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_EMAIL:"invalid-email",INVALID_PASSWORD:"wrong-password",USER_DISABLED:"user-disabled",MISSING_PASSWORD:"internal-error",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_OR_INVALID_NONCE:"missing-or-invalid-nonce",INVALID_MESSAGE_PAYLOAD:"invalid-message-payload",INVALID_RECIPIENT_EMAIL:"invalid-recipient-email",INVALID_SENDER:"invalid-sender",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",INVALID_PROVIDER_ID:"invalid-provider-id",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",CORS_UNSUPPORTED:"cors-unsupported",DYNAMIC_LINK_NOT_ACTIVATED:"dynamic-link-not-activated",INVALID_APP_ID:"invalid-app-id",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",WEAK_PASSWORD:"weak-password",OPERATION_NOT_ALLOWED:"operation-not-allowed",USER_CANCELLED:"user-cancelled",CAPTCHA_CHECK_FAILED:"captcha-check-failed",INVALID_APP_CREDENTIAL:"invalid-app-credential",INVALID_CODE:"invalid-verification-code",INVALID_PHONE_NUMBER:"invalid-phone-number",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_APP_CREDENTIAL:"missing-app-credential",MISSING_CODE:"missing-verification-code",MISSING_PHONE_NUMBER:"missing-phone-number",MISSING_SESSION_INFO:"missing-verification-id",QUOTA_EXCEEDED:"quota-exceeded",SESSION_EXPIRED:"code-expired",REJECTED_CREDENTIAL:"rejected-credential",INVALID_CONTINUE_URI:"invalid-continue-uri",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",MISSING_IOS_BUNDLE_ID:"missing-ios-bundle-id",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_DYNAMIC_LINK_DOMAIN:"invalid-dynamic-link-domain",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",INVALID_CERT_HASH:"invalid-cert-hash",UNSUPPORTED_TENANT_OPERATION:"unsupported-tenant-operation",INVALID_TENANT_ID:"invalid-tenant-id",TENANT_ID_MISMATCH:"tenant-id-mismatch",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",EMAIL_CHANGE_NEEDS_VERIFICATION:"email-change-needs-verification",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",UNSUPPORTED_FIRST_FACTOR:"unsupported-first-factor",UNVERIFIED_EMAIL:"unverified-email"},t||{}),t=(t=n.match(/^[^\s]+\s*:\s*([\s\S]*)$/))&&1<t.length?t[1]:void 0,r)if(0===n.indexOf(i))return new T(r[i],t);return!t&&e&&(t=Er(e)),new T("internal-error",t)}function Xs(e){this.b=e,this.a=null,this.qb=function(e){return(nl||(nl=new vt((function(e,t){function n(){Yr(),Tr("gapi.load")("gapi.iframes",{callback:e,ontimeout:function(){Yr(),t(Error("Network Error"))},timeout:el.get()})}if(Tr("gapi.iframes.Iframe"))e();else if(Tr("gapi.load"))n();else{var r="__iframefcb"+Math.floor(1e6*Math.random()).toString();l[r]=function(){Tr("gapi.load")?n():t(Error("Network Error"))},xt(Ya(r=Te(Zs,{onload:r}))).s((function(){t(Error("Network Error"))}))}})).s((function(e){throw nl=null,e})))).then((function(){return new vt((function(t,n){Tr("gapi.iframes.getContext")().open({where:document.body,url:e.b,messageHandlersFilter:Tr("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"),attributes:{style:{position:"absolute",top:"-100px",width:"1px",height:"1px"}},dontclear:!0},(function(r){function i(){clearTimeout(o),t()}e.a=r,e.a.restyle({setHideOnLeave:!1});var o=setTimeout((function(){n(Error("Network Error"))}),tl.get());r.ping(i).then(i,(function(){n(Error("Network Error"))}))}))}))}))}(this)}var Zs=new ye(we,"https://apis.google.com/js/api.js?onload=%{onload}"),el=new Rr(3e4,6e4),tl=new Rr(5e3,15e3),nl=null;function rl(e,t,n,r){this.l=e,this.h=t,this.i=n,this.g=r,this.f=null,e=this.g?Nn((e=Rn(this.g.url)).f,e.a,e.g,"/emulator/auth/iframe"):Nn("https",this.l,null,"/__/auth/iframe"),this.a=e,In(this.a,"apiKey",this.h),In(this.a,"appName",this.i),this.b=null,this.c=[]}function il(e,t,n,r,i,o){this.u=e,this.o=t,this.c=n,this.v=r,this.m=o,this.i=this.g=this.l=null,this.a=i,this.h=this.f=null}function ol(e){try{return t.app(e).auth().Ga()}catch(n){return[]}}function al(e,t,n,r,i,o){this.o=e,this.g=t,this.b=n,this.f=o,this.c=r||null,this.i=i||null,this.l=this.u=this.A=null,this.h=[],this.v=this.a=null}function sl(e){var t=sr();return function(e){return Ks(e,Es,{}).then((function(e){return e.authorizedDomains||[]}))}(e).then((function(e){e:{var n=Rn(t),r=n.f;n=n.a;for(var i=0;i<e.length;i++){var o=e[i],a=n,s=r;if(0==o.indexOf("chrome-extension://")?a=Rn(o).a==a&&"chrome-extension"==s:"http"!=s&&"https"!=s?a=!1:hr.test(o)?a=a==o:(o=o.split(".").join("\\."),a=new RegExp("^(.+\\."+o+"|"+o+")$","i").test(a)),a){e=!0;break e}}e=!1}if(!e)throw new $o(sr())}
2))}function ll(e){return e.v||(e.v=pr().then((function(){if(!e.u){var t=e.c,n=e.i,r=ol(e.b),i=new rl(e.o,e.g,e.b,e.f);i.f=t,i.b=n,i.c=Q(r||[]),e.u=i.toString()}e.m=new Xs(e.u),function(e){if(!e.m)throw Error("IfcHandler must be initialized!");!function(e,t){e.qb.then((function(){e.a.register("authEvent",t,Tr("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))}))}(e.m,(function(t){var n={};if(t&&t.authEvent){var r=!1;for(t=Ro(t.authEvent),n=0;n<e.h.length;n++)r=e.h[n](t)||r;return(n={}).status=r?"ACK":"ERROR",xt(n)}return n.status="ERROR",xt(n)}))}(e)}))),e.v}function ul(e){return e.l||(e.A=e.c?Mr(e.c,ol(e.b)):null,e.l=new Wa(e.g,E(e.i),e.A),e.f&&Qa(e.l,e.f)),e.l}function cl(e,t,n,r,i,o,a,s,l,u,c,d){return(e=new il(e,t,n,r,i,d)).l=o,e.g=a,e.i=s,e.b=pe(l||null),e.f=u,e.xb(c).toString()}function dl(e){if(this.a=e||t.INTERNAL.reactNative&&t.INTERNAL.reactNative.AsyncStorage,!this.a)throw new T("internal-error","The React Native compatibility library was not found.");this.type="asyncStorage"}function hl(e){this.b=e,this.a={},this.f=w(this.c,this)}rl.prototype.toString=function(){return this.f?In(this.a,"v",this.f):Jn(this.a.b,"v"),this.b?In(this.a,"eid",this.b):Jn(this.a.b,"eid"),this.c.length?In(this.a,"fw",this.c.join(",")):Jn(this.a.b,"fw"),this.a.toString()},il.prototype.xb=function(e){return this.h=e,this},il.prototype.toString=function(){if(this.m){var e=Rn(this.m.url);e=Nn(e.f,e.a,e.g,"/emulator/auth/handler")}else e=Nn("https",this.u,null,"/__/auth/handler");if(In(e,"apiKey",this.o),In(e,"appName",this.c),In(e,"authType",this.v),this.a.isOAuthProvider){var n=this.a;try{var r=t.app(this.c).auth().ka()}catch(l){r=null}for(var i in n.nb=r,In(e,"providerId",this.a.providerId),n=jr((r=this.a).Hb))n[i]=n[i].toString();i=r.Pc,n=pe(n);for(var o=0;o<i.length;o++){var a=i[o];a in n&&delete n[a]}r.ob&&r.nb&&!n[r.ob]&&(n[r.ob]=r.nb),fe(n)||In(e,"customParameters",Er(n))}if("function"==typeof this.a.Pb&&(r=this.a.Pb()).length&&In(e,"scopes",r.join(",")),this.l?In(e,"redirectUrl",this.l):Jn(e.b,"redirectUrl"),this.g?In(e,"eventId",this.g):Jn(e.b,"eventId"),this.i?In(e,"v",this.i):Jn(e.b,"v"),this.b)for(var s in this.b)this.b.hasOwnProperty(s)&&!Yn(e,s)&&In(e,s,this.b[s]);return this.h?In(e,"tid",this.h):Jn(e.b,"tid"),this.f?In(e,"eid",this.f):Jn(e.b,"eid"),(s=ol(this.c)).length&&In(e,"fw",s.join(",")),e.toString()},(e=al.prototype).Nb=function(e,t,n){var r=new T("popup-closed-by-user"),i=new T("web-storage-unsupported"),o=this,a=!1;return this.la().then((function(){(function(e){var t={type:"webStorageSupport"};return ll(e).then((function(){return function(e,t){return e.qb.then((function(){return new vt((function(n){e.a.send(t.type,t,n,Tr("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))}))}))}(e.m,t)})).then((function(e){if(e&&e.length&&void 0!==e[0].webStorageSupport)return e[0].webStorageSupport;throw Error()}))})(o).then((function(n){n||(e&&cr(e),t(i),a=!0)}))})).s((function(){})).then((function(){if(!a)return function(e){return new vt((function(t){return function n(){Sn(2e3).then((function(){if(e&&!e.closed)return n();t()}))}()}))}(e)})).then((function(){if(!a)return Sn(n).then((function(){t(r)}))}))},e.Wb=function(){var e=Sr();return!Or(e)&&!Ir(e)},e.Sb=function(){return!1}
2,e.Lb=function(e,t,n,r,i,o,a,s){if(!e)return Lt(new T("popup-blocked"));if(a&&!Or())return this.la().s((function(t){cr(e),i(t)})),r(),xt();this.a||(this.a=sl(ul(this)));var l=this;return this.a.then((function(){var t=l.la().s((function(t){throw cr(e),i(t),t}));return r(),t})).then((function(){Io(n),a||lr(cl(l.o,l.g,l.b,t,n,null,o,l.c,void 0,l.i,s,l.f),e)})).s((function(e){throw"auth/network-request-failed"==e.code&&(l.a=null),e}))},e.Mb=function(e,t,n,r){this.a||(this.a=sl(ul(this)));var i=this;return this.a.then((function(){Io(t),lr(cl(i.o,i.g,i.b,e,t,sr(),n,i.c,void 0,i.i,r,i.f))})).s((function(e){throw"auth/network-request-failed"==e.code&&(i.a=null),e}))},e.la=function(){var e=this;return ll(this).then((function(){return e.m.qb})).s((function(){throw e.a=null,new T("network-request-failed")}))},e.Zb=function(){return!0},e.Ea=function(e){this.h.push(e)},e.Ra=function(e){K(this.h,(function(t){return t==e}))},(e=dl.prototype).get=function(e){return xt(this.a.getItem(e)).then((function(e){return e&&Ar(e)}))},e.set=function(e,t){return xt(this.a.setItem(e,Er(t)))},e.T=function(e){return xt(this.a.removeItem(e))},e.ca=function(){},e.ia=function(){};var fl,pl=[];function ml(e,t,n){fe(e.a)&&e.b.addEventListener("message",e.f),void 0===e.a[t]&&(e.a[t]=[]),e.a[t].push(n)}function gl(e){this.a=e}function _l(e){this.c=e,this.b=!1,this.a=[]}function yl(e,t,n,r){var i,o,a,s,l=n||{},u=null;if(e.b)return Lt(Error("connection_unavailable"));var c=r?800:50,d="undefined"!=typeof MessageChannel?new MessageChannel:null;return new vt((function(n,r){d?(i=Math.floor(Math.random()*Math.pow(10,20)).toString(),d.port1.start(),a=setTimeout((function(){r(Error("unsupported_event"))}),c),e.a.push(u={messageChannel:d,onMessage:o=function(e){e.data.eventId===i&&("ack"===e.data.status?(clearTimeout(a),s=setTimeout((function(){r(Error("timeout"))}),3e3)):"done"===e.data.status?(clearTimeout(s),void 0!==e.data.response?n(e.data.response):r(Error("unknown_error"))):(clearTimeout(a),clearTimeout(s),r(Error("invalid_response"))))}}),d.port1.addEventListener("message",o),e.c.postMessage({eventType:t,eventId:i,data:l},[d.port2])):r(Error("connection_unavailable"))})).then((function(t){return vl(e,u),t})).s((function(t){throw vl(e,u),t}))}function vl(e,t){if(t){var n=t.messageChannel;n&&(n.port1.removeEventListener("message",t.onMessage),n.port1.close()),K(e.a,(function(e){return e==t}))}}function bl(){if(!kl())throw new T("web-storage-unsupported");this.c={},this.a=[],this.b=0,this.m=l.indexedDB,this.type="indexedDB",this.g=this.l=this.f=this.i=null,this.o=!1,this.h=null;var e=this;_r()&&self?(this.l=function(){var e=_r()?self:null;if(W(pl,(function(n){n.b==e&&(t=n)})),!t){var t=new hl(e);pl.push(t)}return t}(),ml(this.l,"keyChanged",(function(t,n){return Ll(e).then((function(t){return 0<t.length&&W(e.a,(function(e){e(t)})),{keyProcessed:q(t,n.key)}}))})),ml(this.l,"ping",(function(){return xt(["keyChanged"])}))):function(){var e=l.navigator;return e&&e.serviceWorker?xt().then((function(){return e.serviceWorker.ready})).then((function(e){return e.active||null})).s((function(){return null})):xt(null)}().then((function(t){(e.h=t)&&(e.g=new _l(new gl(t)),yl(e.g,"ping",null,!0).then((function(t){t[0].fulfilled&&q(t[0].value,"keyChanged")&&(e.o=!0)})).s((function(){})))}))}function wl(e){return e.v||(e.v=function e(t){return new vt((function(n,r){var i=t.m.open("firebaseLocalStorageDb",1);i.onerror=function(e){try{e.preventDefault()}catch(t){}r(Error(e.target.error))},i.onupgradeneeded=function(e){e=e.target.result;try{e.createObjectStore("firebaseLocalStorage",{keyPath:"fbase_key"})}catch(t){r(t)}},i.onsuccess=function(i){(i=i.target.result).objectStoreNames.contains("firebaseLocalStorage")?n(i):function(e){return new vt((function(t,n){var r=e.m.deleteDatabase("firebaseLocalStorageDb");r.onsuccess=function(){t()},r.onerror=function(e){n(Error(e.target.error))}}))}(t).then((function(){return e(t)})).then((function(e){n(e)})).s((function(e){r(e)}))}}))}(e)),e.v}function kl(){try{return!!l.indexedDB}catch(Be){return!1}}function Ml(e){return e.objectStore("firebaseLocalStorage")}function Sl(e,t){return e.transaction(["firebaseLocalStorage"],t?"readwrite":"readonly")}function Tl(e){return new vt((function(t,n){e.onsuccess=function(e){e&&e.target?t(e.target.result):t()},e.onerror=function(e){n(e.target.error)}}))}function xl(e,t){return e.g&&e.h&&function(){var e=l.navigator;return e&&e.serviceWorker&&e.serviceWorker.controller||null}()===e.h?yl(e.g,"keyChanged",{key:t},e.o).then((function(){})).s((function(){})):xt()}function Ll(e){return wl(e).then((function(e){var t=Ml(Sl(e,!1));return t.getAll?Tl(t.getAll()):new vt((function(e,n){var r=[],i=t.openCursor();i.onsuccess=function(t){(t=t.target.result)?(r.push(t.value),t.continue()):e(r)},i.onerror=function(e){n(e.target.error)}}))})).then((function(t){var n={},r=[];if(0==e.b){for(r=0;r<t.length;r++)n[t[r].fbase_key]=t[r].value;r=function e(t,n){var r,i=[];for(r in t)r in n?typeof t[r]!=typeof n[r]?i.push(r):"object"==typeof t[r]&&null!=t[r]&&null!=n[r]?0<e(t[r],n[r]).length&&i.push(r):t[r]!==n[r]&&i.push(r):i.push(r);for(r in n)r in t||i.push(r);return i}(e.c,n),e.c=n}return r}))}function Dl(e){e.i&&e.i.cancel("STOP_EVENT"),e.f&&(clearTimeout(e.f),e.f=null)}function Cl(e){var t=this,n=null;this.a=[],this.type="indexedDB",this.c=e,this.b=xt().then((function(){if(kl()){var e=Pr(),r="__sak"+e;return fl||(fl=new bl),(n=fl).set(r,e).then((function(){return n.get(r)})).then((function(t){if(t!==e)throw Error("indexedDB not supported!");return n.T(r)})).then((function(){return n})).s((function(){return t.c}))}return t.c})).then((function(e){return t.type=e.type,e.ca((function(e){W(t.a,(function(t){t(e)}))})),e}))}function Ol(){this.a={},this.type="inMemory"}function El(){if(!function(){var e="Node"==yr();if(!(e=jl()||e&&t.INTERNAL.node&&t.INTERNAL.node.localStorage))return!1;try{return e.setItem("__sak","1"),e.removeItem("__sak"),!0}catch(n){return!1}}()){if("Node"==yr())throw new T("internal-error","The LocalStorage compatibility library was not found.");throw new T("web-storage-unsupported")}this.a=jl()||t.INTERNAL.node.localStorage,this.type="localStorage"}function jl(){try{var e=l.localStorage,t=Pr();return e&&(e.setItem(t,"1"),e.removeItem(t)),e}catch(n){return null}}function Al(){this.type="nullStorage"}function Pl(){if(!function(){var e="Node"==yr();if(!(e=Il()||e&&t.INTERNAL.node&&t.INTERNAL.node.sessionStorage))return!1;try{return e.setItem("__sak","1"),e.removeItem("__sak"),!0}catch(n){return!1}}()){if("Node"==yr())throw new T("internal-error","The SessionStorage compatibility library was not found.");throw new T("web-storage-unsupported")}this.a=Il()||t.INTERNAL.node.sessionStorage,this.type="sessionStorage"}function Il(){try{var e=l.sessionStorage,t=Pr();return e&&(e.setItem(t,"1"),e.removeItem(t)),e}catch(n){return null}}function Yl(){var e={};e.Browser=Fl,e.Node=Hl,e.ReactNative=$l,e.Worker=zl,this.a=e[yr()]}hl.prototype.c=function(e){var t=e.data.eventType,n=e.data.eventId,r=this.a[t];if(r&&0<r.length){e.ports[0].postMessage({status:"ack",eventId:n,eventType:t,response:null});var i=[];W(r,(function(t){i.push(xt().then((function(){return t(e.origin,e.data.data)})))})),Ct(i).then((function(r){var i=[];W(r,(function(e){i.push({fulfilled:e.Ob,value:e.value,reason:e.reason?e.reason.message:void 0})})),W(i,(function(e){for(var t in e)void 0===e[t]&&delete e[t]})),e.ports[0].postMessage({status:"done",eventId:n,eventType:t,response:i})}))}},gl.prototype.postMessage=function(e,t){this.a.postMessage(e,t)},_l.prototype.close=function(){for(;0<this.a.length;)vl(this,this.a[0]);this.b=!0},(e=bl.prototype).set=function(e,t){var n,r=!1,i=this;return wl(this).then((function(t){return Tl((t=Ml(Sl(n=t,!0))).get(e))})).then((function(o){var a=Ml(Sl(n,!0));
2return o?(o.value=t,Tl(a.put(o))):(i.b++,r=!0,(o={}).fbase_key=e,o.value=t,Tl(a.add(o)))})).then((function(){return i.c[e]=t,xl(i,e)})).na((function(){r&&i.b--}))},e.get=function(e){return wl(this).then((function(t){return Tl(Ml(Sl(t,!1)).get(e))})).then((function(e){return e&&e.value}))},e.T=function(e){var t=!1,n=this;return wl(this).then((function(r){return t=!0,n.b++,Tl(Ml(Sl(r,!0)).delete(e))})).then((function(){return delete n.c[e],xl(n,e)})).na((function(){t&&n.b--}))},e.ca=function(e){0==this.a.length&&function(e){Dl(e),function t(){e.f=setTimeout((function(){e.i=Ll(e).then((function(t){0<t.length&&W(e.a,(function(e){e(t)}))})).then((function(){t()})).s((function(e){"STOP_EVENT"!=e.message&&t()}))}),800)}()}(this),this.a.push(e)},e.ia=function(e){K(this.a,(function(t){return t==e})),0==this.a.length&&Dl(this)},(e=Cl.prototype).get=function(e){return this.b.then((function(t){return t.get(e)}))},e.set=function(e,t){return this.b.then((function(n){return n.set(e,t)}))},e.T=function(e){return this.b.then((function(t){return t.T(e)}))},e.ca=function(e){this.a.push(e)},e.ia=function(e){K(this.a,(function(t){return t==e}))},(e=Ol.prototype).get=function(e){return xt(this.a[e])},e.set=function(e,t){return this.a[e]=t,xt()},e.T=function(e){return delete this.a[e],xt()},e.ca=function(){},e.ia=function(){},(e=El.prototype).get=function(e){var t=this;return xt().then((function(){return Ar(t.a.getItem(e))}))},e.set=function(e,t){var n=this;return xt().then((function(){var r=Er(t);null===r?n.T(e):n.a.setItem(e,r)}))},e.T=function(e){var t=this;return xt().then((function(){t.a.removeItem(e)}))},e.ca=function(e){l.window&&sn(l.window,"storage",e)},e.ia=function(e){l.window&&cn(l.window,"storage",e)},(e=Al.prototype).get=function(){return xt(null)},e.set=function(){return xt()},e.T=function(){return xt()},e.ca=function(){},e.ia=function(){},(e=Pl.prototype).get=function(e){var t=this;return xt().then((function(){return Ar(t.a.getItem(e))}))},e.set=function(e,t){var n=this;return xt().then((function(){var r=Er(t);null===r?n.T(e):n.a.setItem(e,r)}))},e.T=function(e){var t=this;return xt().then((function(){t.a.removeItem(e)}))},e.ca=function(){},e.ia=function(){};var Rl,Nl,Fl={D:El,ab:Pl},Hl={D:El,ab:Pl},$l={D:dl,ab:Al},zl={D:El,ab:Al},Wl={qd:"local",NONE:"none",sd:"session"};function Ul(){var e=!(Ir(Sr())||!gr()),t=Or(),n=xr();this.v=e,this.h=t,this.l=n,this.a={},Rl||(Rl=new Yl),e=Rl;try{this.g=!ar()&&$r()||!l.indexedDB?new e.a.D:new Cl(_r()?new Ol:new e.a.D)}catch(r){this.g=new Ol,this.h=!0}try{this.i=new e.a.ab}catch(r){this.i=new Ol}this.m=new Ol,this.f=w(this.Xb,this),this.b={}}function Bl(){return Nl||(Nl=new Ul),Nl}function Vl(e,t){switch(t){case"session":return e.i;case"none":return e.m;default:return e.g}}function ql(e,t){return"firebase:"+e.name+(t?":"+t:"")}function Gl(e,t,n){return n=ql(t,n),"local"==t.D&&(e.b[n]=null),Vl(e,t.D).T(n)}function Kl(e){e.c&&(clearInterval(e.c),e.c=null)}function Jl(e){this.a=e,this.b=Bl()}(e=Ul.prototype).get=function(e,t){return Vl(this,e.D).get(ql(e,t))},e.set=function(e,t,n){var r=ql(e,n),i=this,o=Vl(this,e.D);return o.set(r,t).then((function(){return o.get(r)})).then((function(t){"local"==e.D&&(i.b[r]=t)}))},e.addListener=function(e,t,n){e=ql(e,t),this.l&&(this.b[e]=l.localStorage.getItem(e)),fe(this.a)&&(Vl(this,"local").ca(this.f),this.h||(ar()||!$r())&&l.indexedDB||!this.l||function(e){Kl(e),e.c=setInterval((function(){for(var t in e.a){var n=l.localStorage.getItem(t),r=e.b[t];n!=r&&(e.b[t]=n,n=new Kt({type:"storage",key:t,target:window,oldValue:r,newValue:n,a:!0}),e.Xb(n))}}),1e3)}(this)),this.a[e]||(this.a[e]=[]),this.a[e].push(n)},e.removeListener=function(e,t,n){e=ql(e,t),this.a[e]&&(K(this.a[e],(function(e){return e==n})),0==this.a[e].length&&delete this.a[e]),fe(this.a)&&(Vl(this,"local").ia(this.f),Kl(this))},e.Xb=function(e){if(e&&e.g){var t=e.a.key;if(null==t)for(var n in this.a){var r=this.b[n];void 0===r&&(r=null);var i=l.localStorage.getItem(n);i!==r&&(this.b[n]=i,this.lb(n))}else if(0==t.indexOf("firebase:")&&this.a[t]){if(void 0!==e.a.a?Vl(this,"local").ia(this.f):Kl(this),this.v)if(n=l.localStorage.getItem(t),(r=e.a.newValue)!==n)null!==r?l.localStorage.setItem(t,r):l.localStorage.removeItem(t);else if(this.b[t]===r&&void 0===e.a.a)return;var o=this;n=function(){void 0===e.a.a&&o.b[t]===l.localStorage.getItem(t)||(o.b[t]=l.localStorage.getItem(t),o.lb(t))},qe&&nt&&10==nt&&l.localStorage.getItem(t)!==e.a.newValue&&e.a.newValue!==e.a.oldValue?setTimeout(n,10):n()}}else W(e,w(this.lb,this))},e.lb=function(e){this.a[e]&&W(this.a[e],(function(e){e()}
2))};var Ql,Xl={name:"authEvent",D:"local"};function Zl(){this.a=Bl()}function eu(e,t){this.b=tu,this.f=l.Uint8Array?new Uint8Array(this.b):Array(this.b),this.g=this.c=0,this.a=[],this.i=e,this.h=t,this.l=l.Int32Array?new Int32Array(64):Array(64),void 0===Ql&&(Ql=l.Int32Array?new Int32Array(lu):lu),this.reset()}S(eu,(function(){this.b=-1}));for(var tu=64,nu=tu-1,ru=[],iu=0;iu<nu;iu++)ru[iu]=0;var ou=J(128,ru);function au(e){for(var t=e.f,n=e.l,r=0,i=0;i<t.length;)n[r++]=t[i]<<24|t[i+1]<<16|t[i+2]<<8|t[i+3],i=4*r;for(t=16;64>t;t++){var o=(0|n[t-16])+(((i=0|n[t-15])>>>7|i<<25)^(i>>>18|i<<14)^i>>>3)|0,a=(0|n[t-7])+(((r=0|n[t-2])>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)|0;n[t]=o+a|0}r=0|e.a[0],i=0|e.a[1];var s=0|e.a[2],l=0|e.a[3],u=0|e.a[4],c=0|e.a[5],d=0|e.a[6];for(o=0|e.a[7],t=0;64>t;t++){var h=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&i^r&s^i&s)|0;a=(o=o+((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))|0)+((a=(a=u&c^~u&d)+(0|Ql[t])|0)+(0|n[t])|0)|0,o=d,d=c,c=u,u=l+a|0,l=s,s=i,i=r,r=a+h|0}e.a[0]=e.a[0]+r|0,e.a[1]=e.a[1]+i|0,e.a[2]=e.a[2]+s|0,e.a[3]=e.a[3]+l|0,e.a[4]=e.a[4]+u|0,e.a[5]=e.a[5]+c|0,e.a[6]=e.a[6]+d|0,e.a[7]=e.a[7]+o|0}function su(e,t,n){void 0===n&&(n=t.length);var r=0,i=e.c;if("string"==typeof t)for(;r<n;)e.f[i++]=t.charCodeAt(r++),i==e.b&&(au(e),i=0);else{if(!f(t))throw Error("message must be string or array");for(;r<n;){var o=t[r++];if(!("number"==typeof o&&0<=o&&255>=o&&o==(0|o)))throw Error("message must be a byte array");e.f[i++]=o,i==e.b&&(au(e),i=0)}}e.c=i,e.g+=n}eu.prototype.reset=function(){this.g=this.c=0,this.a=l.Int32Array?new Int32Array(this.h):Q(this.h)};var lu=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function uu(){eu.call(this,8,cu)}S(uu,eu);var cu=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];function du(e,t,n,r,i,o){this.m=e,this.i=t,this.l=n,this.v=r||null,this.u=i||null,this.o=o,this.h=t+":"+n,this.A=new Zl,this.g=new Jl(this.h),this.f=null,this.b=[],this.a=this.c=null}function hu(e){return new T("invalid-cordova-configuration",e)}function fu(e,t){for(var n=0;n<e.b.length;n++)try{e.b[n](t)}catch(r){}}function pu(e){return e.f||(e.f=e.la().then((function(){return new vt((function(t){e.Ea((function n(r){return t(r),e.Ra(n),!1})),function(e){function t(t){r=!0,i&&i.cancel(),mu(e).then((function(r){var i=n;if(r&&t&&t.url){var o=null;-1!=(i=eo(t.url)).indexOf("/__/auth/callback")&&(o=(o="object"==typeof(o=Ar(Yn(o=Rn(i),"firebaseError")||null))?x(o):null)?new Yo(r.c,r.b,null,null,o,null,r.S()):new Yo(r.c,r.b,i,r.f,null,null,r.S())),i=o||n}fu(e,i)}))}var n=new Yo("unknown",null,null,null,new T("no-auth-event")),r=!1,i=Sn(500).then((function(){return mu(e).then((function(){r||fu(e,n)}))})),o=l.handleOpenURL;l.handleOpenURL=function(e){if(0==e.toLowerCase().indexOf(Tr("BuildInfo.packageName",l).toLowerCase()+"://")&&t({url:e}),"function"==typeof o)try{o(e)}catch(n){console.error(n)}},Ho||(Ho=new No),function(e){var t=Ho;t.a.push(e),t.b||(t.b=function(e){for(var n=0;n<t.a.length;n++)t.a[n](e)},"function"==typeof(e=Tr("universalLinks.subscribe",l))&&e(null,t.b))}(t)}(e)}))}))),e.f}function mu(e){var t=null;return function(e){return e.b.get(Xl,e.a).then((function(e){return Ro(e)}))}(e.g).then((function(n){return t=n,Gl((n=e.g).b,Xl,n.a)})).then((function(){return t}))}function gu(e){this.a=e,this.b=Bl()}(e=du.prototype).la=function(){return this.Ia?this.Ia:this.Ia=(mr(void 0)?pr().then((function(){return new vt((function(e,t){var n=l.document,r=setTimeout((function(){t(Error("Cordova framework is not ready."))}),1e3);n.addEventListener("deviceready",(function(){clearTimeout(r),e()}),!1)}))})):Lt(Error("Cordova must run in an Android or iOS file scheme."))).then((function(){if("function"!=typeof Tr("universalLinks.subscribe",l))throw hu("cordova-universal-links-plugin-fix is not installed");if(void 0===Tr("BuildInfo.packageName",l))throw hu("cordova-plugin-buildinfo is not installed");if("function"!=typeof Tr("cordova.plugins.browsertab.openUrl",l))throw hu("cordova-plugin-browsertab is not installed");if("function"!=typeof Tr("cordova.InAppBrowser.open",l))throw hu("cordova-plugin-inappbrowser is not installed")}),(function(){throw new T("cordova-not-ready")}))},e.Nb=function(e,t){return t(new T("operation-not-supported-in-this-environment")),xt()},e.Lb=function(){return Lt(new T("operation-not-supported-in-this-environment"))},e.Zb=function(){return!1},e.Wb=function(){return!0},e.Sb=function(){return!0},e.Mb=function(e,t,n,r){if(this.c)return Lt(new T("redirect-operation-pending"));var i=this,o=l.document,a=null,s=null,u=null,c=null;return this.c=xt().then((function(){return Io(t),pu(i)})).then((function(){return function(e,t,n,r,i){var o=function(){for(var e=20,t=[];0<e;)t.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),e--;return t.join("")}(),a=new Yo(t,r,null,o,new T("no-auth-event"),null,i),s=Tr("BuildInfo.packageName",l);if("string"!=typeof s)throw new T("invalid-cordova-configuration");var u=Tr("BuildInfo.displayName",l),c={};if(Sr().toLowerCase().match(/iphone|ipad|ipod/))c.ibi=s;else{if(!Sr().toLowerCase().match(/android/))return Lt(new T("operation-not-supported-in-this-environment"));c.apn=s}u&&(c.appDisplayName=u),o=function(e){var t=new uu;su(t,e),e=[];var n=8*t.g;su(t,ou,56>t.c?56-t.c:t.b-(t.c-56));for(var r=63;56<=r;r--)t.f[r]=255&n,n/=256;for(au(t),r=n=0;r<t.i;r++)for(var i=24;0<=i;i-=8)e[n++]=t.a[r]>>i&255;return function(e){return B(e,(function(e){return 1<(e=e.toString(16)).length?e:"0"+e})).join("")}(e)}(o),c.sessionId=o;var d=cl(e.m,e.i,e.l,t,n,null,r,e.v,c,e.u,i,e.o);return e.la().then((function(){var t=e.h;return e.A.a.set(Xl,a.w(),t)})).then((function(){var t=Tr("cordova.plugins.browsertab.isAvailable",l);if("function"!=typeof t)throw new T("invalid-cordova-configuration");var n=null;t((function(t){if(t){if("function"!=typeof(n=Tr("cordova.plugins.browsertab.openUrl",l)))throw new T("invalid-cordova-configuration");n(d)}else{if("function"!=typeof(n=Tr("cordova.InAppBrowser.open",l)))throw new T("invalid-cordova-configuration");t=Sr(),e.a=n(d,t.match(/(iPad|iPhone|iPod).*OS 7_\d/i)||t.match(/(iPad|iPhone|iPod).*OS 8_\d/i)?"_blank":"_system","location=yes")}}))}))}(i,e,t,n,r)})).then((function(){return new vt((function(e,t){s=function(){var t=Tr("cordova.plugins.browsertab.close",l);return e(),"function"==typeof t&&t(),i.a&&"function"==typeof i.a.close&&(i.a.close(),i.a=null),!1},i.Ea(s),c=function(){Nr()&&u()},o.addEventListener("resume",u=function(){a||(a=Sn(2e3).then((function(){t(new T("redirect-cancelled-by-user"))})))},!1),Sr().toLowerCase().match(/android/)||o.addEventListener("visibilitychange",c,!1)})).s((function(e){return mu(i).then((function(){throw e}))}))})).na((function(){u&&o.removeEventListener("resume",u,!1),c&&o.removeEventListener("visibilitychange",c,!1),a&&a.cancel(),s&&i.Ra(s),i.c=null}))},e.Ea=function(e){this.b.push(e),pu(this).s((function(t){"auth/invalid-cordova-configuration"===t.code&&(t=new Yo("unknown",null,null,null,new T("no-auth-event")),e(t))}))},e.Ra=function(e){K(this.b,(function(t){return t==e}))};var _u={name:"pendingRedirect",D:"session"};
2function yu(e){return Gl(e.b,_u,e.a)}function vu(e,t,n,r){this.i={},this.u=0,this.O=e,this.m=t,this.v=n,this.G=r,this.h=[],this.f=!1,this.l=w(this.o,this),this.b=new Pu,this.A=new Fu,this.g=new gu(ju(this.m,this.v)),this.c={},this.c.unknown=this.b,this.c.signInViaRedirect=this.b,this.c.linkViaRedirect=this.b,this.c.reauthViaRedirect=this.b,this.c.signInViaPopup=this.A,this.c.linkViaPopup=this.A,this.c.reauthViaPopup=this.A,this.a=bu(this.O,this.m,this.v,L,this.G)}function bu(e,n,r,i,o){var a=t.SDK_VERSION||null;return mr()?new du(e,n,r,a,i,o):new al(e,n,r,a,i,o)}function wu(e){e.f||(e.f=!0,e.a.Ea(e.l));var t=e.a;return e.a.la().s((function(n){throw e.a==t&&e.reset(),n}))}function ku(e){e.a.Wb()&&wu(e).s((function(t){var n=new Yo("unknown",null,null,null,new T("operation-not-supported-in-this-environment"));Du(t)&&e.o(n)})),e.a.Sb()||Iu(e.b)}function Mu(e,t){q(e.h,t)||e.h.push(t),e.f||function(e){return e.b.get(_u,e.a).then((function(e){return"pending"==e}))}(e.g).then((function(t){t?yu(e.g).then((function(){wu(e).s((function(t){var n=new Yo("unknown",null,null,null,new T("operation-not-supported-in-this-environment"));Du(t)&&e.o(n)}))})):ku(e)})).s((function(){ku(e)}))}function Su(e,t){K(e.h,(function(e){return e==t}))}vu.prototype.reset=function(){this.f=!1,this.a.Ra(this.l),this.a=bu(this.O,this.m,this.v,null,this.G),this.i={}},vu.prototype.o=function(e){if(!e)throw new T("invalid-auth-event");if(6e5<=M()-this.u&&(this.i={},this.u=0),e&&e.getUid()&&this.i.hasOwnProperty(e.getUid()))return!1;for(var t=!1,n=0;n<this.h.length;n++){var r=this.h[n];if(r.Eb(e.c,e.b)){(t=this.c[e.c])&&(t.h(e,r),e&&(e.f||e.b)&&(this.i[e.getUid()]=!0,this.u=M())),t=!0;break}}return Iu(this.b),t};var Tu=new Rr(2e3,1e4),xu=new Rr(3e4,6e4);function Lu(e,t,n,r,i,o,a){return e.a.Lb(t,n,r,(function(){e.f||(e.f=!0,e.a.Ea(e.l))}),(function(){e.reset()}),i,o,a)}function Du(e){return!(!e||"auth/cordova-not-ready"!=e.code)}function Cu(e,t,n,r,i){var o;return function(e){return e.b.set(_u,"pending",e.a)}(e.g).then((function(){return e.a.Mb(t,n,r,i).s((function(t){if(Du(t))throw new T("operation-not-supported-in-this-environment");return o=t,yu(e.g).then((function(){throw o}))})).then((function(){return e.a.Zb()?new vt((function(){})):yu(e.g).then((function(){return e.qa()})).then((function(){})).s((function(){}))}))}))}function Ou(e,t,n,r,i){return e.a.Nb(r,(function(e){t.ma(n,null,e,i)}),Tu.get())}vu.prototype.qa=function(){return this.b.qa()};var Eu={};function ju(e,t,n){return e=e+":"+t,n&&(e=e+":"+n.url),e}function Au(e,t,n,r){var i=ju(t,n,r);return Eu[i]||(Eu[i]=new vu(e,t,n,r)),Eu[i]}function Pu(){this.b=null,this.f=[],this.c=[],this.a=null,this.i=this.g=!1}function Iu(e){e.g||(e.g=!0,Nu(e,!1,null,null))}function Yu(e){e.g&&!e.i&&Nu(e,!1,null,null)}function Ru(e,t){if(e.b=function(){return xt(t)},e.f.length)for(var n=0;n<e.f.length;n++)e.f[n](t)}function Nu(e,t,n,r){t?r?function(e,t){if(e.b=function(){return Lt(t)},e.c.length)for(var n=0;n<e.c.length;n++)e.c[n](t)}(e,r):Ru(e,n):Ru(e,{user:null}),e.f=[],e.c=[]}function Fu(){}function Hu(){this.hb=!1,Object.defineProperty(this,"appVerificationDisabled",{get:function(){return this.hb},set:function(e){this.hb=e},enumerable:!1})}function $u(e,t){this.a=t,Vr(this,"verificationId",e)}function zu(e,t,n,r){return new jo(e).eb(t,n).then((function(e){return new $u(e,r)}))}function Wu(e){var t=Hi(e);if(!(t&&t.exp&&t.auth_time&&t.iat))throw new T("internal-error","An internal error occurred. The token obtained by Firebase appears to be malformed. Please retry the operation.");qr(this,{token:e,expirationTime:Hr(1e3*t.exp),authTime:Hr(1e3*t.auth_time),issuedAtTime:Hr(1e3*t.iat),signInProvider:t.firebase&&t.firebase.sign_in_provider?t.firebase.sign_in_provider:null,signInSecondFactor:t.firebase&&t.firebase.sign_in_second_factor?t.firebase.sign_in_second_factor:null,claims:t})}function Uu(e,t,n){var r=t&&t[Vu];if(!r)throw new T("argument-error","Internal assert: Invalid MultiFactorResolver");this.a=e,this.f=pe(t),this.g=n,this.c=new to(null,r),this.b=[];var i=this;W(t[Bu]||[],(function(e){(e=Qr(e))&&i.b.push(e)})),Vr(this,"auth",this.a),Vr(this,"session",this.c),Vr(this,"hints",this.b)}Pu.prototype.reset=function(){this.b=null,this.a&&(this.a.cancel(),this.a=null)},Pu.prototype.h=function(e,t){if(e){this.reset(),this.g=!0;var n=e.c,r=e.b,i=e.a&&"auth/web-storage-unsupported"==e.a.code,o=e.a&&"auth/operation-not-supported-in-this-environment"==e.a.code;this.i=!(!i&&!o),"unknown"!=n||i||o?e.a?(Nu(this,!0,null,e.a),xt()):t.Fa(n,r)?function(e,t,n){n=n.Fa(t.c,t.b);var r=t.g,i=t.f,o=t.i,a=t.S(),s=!!t.c.match(/Redirect$/);n(r,i,a,o).then((function(t){Nu(e,s,t,null)})).s((function(t){Nu(e,s,null,t)}))}(this,e,t):Lt(new T("invalid-auth-event")):(Nu(this,!1,null,null),xt())}else Lt(new T("invalid-auth-event"))},Pu.prototype.qa=function(){var e=this;return new vt((function(t,n){e.b?e.b().then(t,n):(e.f.push(t),e.c.push(n),function(e){var t=new T("timeout");e.a&&e.a.cancel(),e.a=Sn(xu.get()).then((function(){e.b||(e.g=!0,Nu(e,!0,null,t))}))}(e))}))},Fu.prototype.h=function(e,t){if(e){var n=e.c,r=e.b;e.a?(t.ma(e.c,null,e.a,e.b),xt()):t.Fa(n,r)?function(e,t){var n=e.b,r=e.c;t.Fa(r,n)(e.g,e.f,e.S(),e.i).then((function(e){t.ma(r,e,null,n)})).s((function(e){t.ma(r,null,e,n)}
2))}(e,t):Lt(new T("invalid-auth-event"))}else Lt(new T("invalid-auth-event"))},$u.prototype.confirm=function(e){return e=Ao(this.verificationId,e),this.a(e)};var Bu="mfaInfo",Vu="mfaPendingCredential";function qu(e,t,n,r){T.call(this,"multi-factor-auth-required",r,t),this.b=new Uu(e,t,n),Vr(this,"resolver",this.b)}function Gu(e,t,n){if(e&&m(e.serverResponse)&&"auth/multi-factor-auth-required"===e.code)try{return new qu(t,e.serverResponse,n,e.message)}catch(r){}return null}function Ku(){}function Ju(e){Vr(this,"factorId",e.fa),this.a=e}function Qu(e){if(Ju.call(this,e),this.a.fa!=jo.PROVIDER_ID)throw new T("argument-error","firebase.auth.PhoneMultiFactorAssertion requires a valid firebase.auth.PhoneAuthCredential")}function Xu(e,t){for(var n in Gt.call(this,e),t)this[n]=t[n]}function Zu(e,t){this.a=e,this.b=[],this.c=w(this.xc,this),sn(this.a,"userReloaded",this.c);var n=[];t&&t.multiFactor&&t.multiFactor.enrolledFactors&&W(t.multiFactor.enrolledFactors,(function(e){var t=null,r={};if(e){e.uid&&(r[ei]=e.uid),e.displayName&&(r[Xr]=e.displayName),e.enrollmentTime&&(r[Zr]=new Date(e.enrollmentTime).toISOString()),e.phoneNumber&&(r[ti]=e.phoneNumber);try{t=new ni(r)}catch(i){}e=t}else e=null;e&&n.push(e)})),ec(this,n)}function ec(e,t){e.b=t,Vr(e,"enrolledFactors",t)}function tc(e,t,n){if(this.h=e,this.i=t,this.g=n,this.c=3e4,this.f=96e4,this.b=null,this.a=this.c,this.f<this.c)throw Error("Proactive refresh lower bound greater than upper bound!")}function nc(e){this.c=e,this.b=this.a=null}function rc(e){return e.b&&1e3*e.b.c||0}function ic(e,t){var n=t.refreshToken;e.b=Fi(t[Ba]||""),e.a=n}function oc(e,t){this.a=e||null,this.b=t||null,qr(this,{lastSignInTime:Hr(t||null),creationTime:Hr(e||null)})}function ac(e,t,n,r,i,o){qr(this,{uid:e,displayName:r||null,photoURL:i||null,email:n||null,phoneNumber:o||null,providerId:t})}function sc(e,n,r){this.G=[],this.l=e.apiKey,this.m=e.appName,this.o=e.authDomain||null;var i=t.SDK_VERSION?Mr(t.SDK_VERSION):null;this.a=new Wa(this.l,E(L),i),e.emulatorConfig&&Qa(this.a,e.emulatorConfig),this.b=new nc(this.a),mc(this,n[Ba]),ic(this.b,n),Vr(this,"refreshToken",this.b.a),yc(this,r||{}),vn.call(this),this.P=!1,this.o&&Lr()&&(this.i=Au(this.o,this.l,this.m)),this.R=[],this.f=null,this.u=function(e){return new tc((function(){return e.I(!0)}),(function(e){return!(!e||"auth/network-request-failed"!=e.code)}),(function(){var t=rc(e.b)-M()-3e5;return 0<t?t:0}))}(this),this.$=w(this.gb,this);var o=this;this.pa=null,this.Ba=function(e){o.wa(e.h)},this.ba=null,this.za=function(e){Qa(o.a,e.c)},this.W=null,this.X=[],this.Aa=function(e){cc(o,e.f)},this.aa=null,this.N=new Zu(this,r),Vr(this,"multiFactor",this.N)}function lc(e,t){e.ba&&cn(e.ba,"languageCodeChanged",e.Ba),(e.ba=t)&&sn(t,"languageCodeChanged",e.Ba)}function uc(e,t){e.W&&cn(e.W,"emulatorConfigChanged",e.za),(e.W=t)&&sn(t,"emulatorConfigChanged",e.za)}function cc(e,n){e.X=n,Za(e.a,t.SDK_VERSION?Mr(t.SDK_VERSION,e.X):null)}function dc(e,t){e.aa&&cn(e.aa,"frameworkChanged",e.Aa),(e.aa=t)&&sn(t,"frameworkChanged",e.Aa)}function hc(e){try{return t.app(e.m).auth()}catch(n){throw new T("internal-error","No firebase.auth.Auth instance is available for the Firebase App '"+e.m+"'!")}}function fc(e){e.A||e.u.b||(e.u.start(),cn(e,"tokenChanged",e.$),sn(e,"tokenChanged",e.$))}function pc(e){cn(e,"tokenChanged",e.$),e.u.stop()}function mc(e,t){e.ya=t,Vr(e,"_lat",t)}function gc(e){for(var t=[],n=0;n<e.R.length;n++)t.push(e.R[n](e));return Ct(t).then((function(){return e}))}function _c(e){e.i&&!e.P&&(e.P=!0,Mu(e.i,e))}function yc(e,t){qr(e,{uid:t.uid,displayName:t.displayName||null,photoURL:t.photoURL||null,email:t.email||null,emailVerified:t.emailVerified||!1,phoneNumber:t.phoneNumber||null,isAnonymous:t.isAnonymous||!1,tenantId:t.tenantId||null,metadata:new oc(t.createdAt,t.lastLoginAt),providerData:[]}),e.a.b=e.tenantId}function vc(){}function bc(e){return xt().then((function(){if(e.A)throw new T("app-deleted")}))}function wc(e){return B(e.providerData,(function(e){return e.providerId}))}function kc(e,t){t&&(Mc(e,t.providerId),e.providerData.push(t))}function Mc(e,t){K(e.providerData,(function(e){return e.providerId==t}))}function Sc(e,t,n){("uid"!=t||n)&&e.hasOwnProperty(t)&&Vr(e,t,n)}function Tc(e,t){e!=t&&(qr(e,{uid:t.uid,displayName:t.displayName,photoURL:t.photoURL,email:t.email,emailVerified:t.emailVerified,phoneNumber:t.phoneNumber,isAnonymous:t.isAnonymous,tenantId:t.tenantId,providerData:[]}),Vr(e,"metadata",t.metadata?function(e){return new oc(e.a,e.b)}(t.metadata):new oc),W(t.providerData,(function(t){kc(e,t)})),function(e,t){e.b=t.b,e.a=t.a}(e.b,t.b),Vr(e,"refreshToken",e.b.a),ec(e.N,t.N.b))}function xc(e){return e.I().then((function(t){var n=e.isAnonymous;return function(e,t){return Ks(e.a,xs,{idToken:t}).then(w(e.Jc,e))}(e,t).then((function(){return n||Sc(e,"isAnonymous",!1),t}))}))}function Lc(e,t){t[Ba]&&e.ya!=t[Ba]&&(ic(e.b,t),e.dispatchEvent(new Xu("tokenChanged")),mc(e,t[Ba]),Sc(e,"refreshToken",e.b.a))}function Dc(e,t){return xc(e).then((function(){if(q(wc(e),t))return gc(e).then((function(){throw new T("provider-already-linked")}))}))}function Cc(e,t,n){return Gr({user:e,credential:Po(t),additionalUserInfo:t=
2Bi(t),operationType:n})}function Oc(e,t){return Lc(e,t),e.reload().then((function(){return e}))}function Ec(e,n,r,i,o){if(!Lr())return Lt(new T("operation-not-supported-in-this-environment"));if(e.f&&!o)return Lt(e.f);var a=Ui(r.providerId),s=Pr(e.uid+":::"),l=null;(!Or()||gr())&&e.o&&r.isOAuthProvider&&(l=cl(e.o,e.l,e.m,n,r,null,s,t.SDK_VERSION||null,null,null,e.tenantId));var u=dr(l,a&&a.ua,a&&a.ta);return i=i().then((function(){if(Ac(e),!o)return e.I().then((function(){}))})).then((function(){return Lu(e.i,u,n,r,s,!!l,e.tenantId)})).then((function(){return new vt((function(t,r){e.ma(n,null,new T("cancelled-popup-request"),e.h||null),e.g=t,e.O=r,e.h=s,e.c=Ou(e.i,e,n,u,s)}))})).then((function(e){return u&&cr(u),e?Gr(e):null})).s((function(e){throw u&&cr(u),e})),Pc(e,i,o)}function jc(e,t,n,r,i){if(!Lr())return Lt(new T("operation-not-supported-in-this-environment"));if(e.f&&!i)return Lt(e.f);var o=null,a=Pr(e.uid+":::");return r=r().then((function(){if(Ac(e),!i)return e.I().then((function(){}))})).then((function(){return e.ga=a,gc(e)})).then((function(t){return e.ha&&(t=(t=e.ha).b.set(Rc,e.w(),t.a)),t})).then((function(){return Cu(e.i,t,n,a,e.tenantId)})).s((function(t){if(o=t,e.ha)return Nc(e.ha);throw o})).then((function(){if(o)throw o})),Pc(e,r,i)}function Ac(e){if(!e.i||!e.P){if(e.i&&!e.P)throw new T("internal-error");throw new T("auth-domain-config-required")}}function Pc(e,t,n){var r=function(e,t,n){return e.f&&!n?(t.cancel(),Lt(e.f)):t.s((function(t){throw!t||"auth/user-disabled"!=t.code&&"auth/user-token-expired"!=t.code||(e.f||e.dispatchEvent(new Xu("userInvalidated")),e.f=t),t}))}(e,t,n);return e.G.push(r),r.na((function(){G(e.G,r)})),r.s((function(t){var n=null;throw t&&"auth/multi-factor-auth-required"===t.code&&(n=Gu(t.w(),hc(e),w(e.ic,e))),n||t}))}function Ic(e){if(!e.apiKey)return null;var t={apiKey:e.apiKey,authDomain:e.authDomain,appName:e.appName,emulatorConfig:e.emulatorConfig},n={};if(!e.stsTokenManager||!e.stsTokenManager.accessToken)return null;n[Ba]=e.stsTokenManager.accessToken,n.refreshToken=e.stsTokenManager.refreshToken||null;var r=new sc(t,n,e);return e.providerData&&W(e.providerData,(function(e){e&&kc(r,Gr(e))})),e.redirectEventId&&(r.ga=e.redirectEventId),r}function Yc(e){this.a=e,this.b=Bl()}Uu.prototype.Qc=function(e){var t=this;return e.rb(this.a.a,this.c).then((function(e){var n=pe(t.f);return delete n[Bu],delete n[Vu],ge(n,e),t.g(n)}))},S(qu,T),Ku.prototype.rb=function(e,t,n){return t.type==no?function(e,t,n,r){return n.Ha().then((function(n){return n={idToken:n},void 0!==r&&(n.displayName=r),ge(n,{phoneVerificationInfo:Eo(e.a)}),Ks(t,Ss,n)}))}(this,e,t,n):function(e,t,n){return n.Ha().then((function(n){return ge(n={mfaPendingCredential:n},{phoneVerificationInfo:Eo(e.a)}),Ks(t,Ts,n)}))}(this,e,t)},S(Ju,Ku),S(Qu,Ju),S(Xu,Gt),(e=Zu.prototype).xc=function(e){ec(this,function(e){var t=[];return W(e.mfaInfo||[],(function(e){(e=Qr(e))&&t.push(e)})),t}(e.gd))},e.Qb=function(){return this.a.I().then((function(e){return new to(e,null)}))},e.ec=function(e,t){var n=this,r=this.a.a;return this.Qb().then((function(n){return e.rb(r,n,t)})).then((function(e){return Lc(n.a,e),n.a.reload()}))},e.ad=function(e){var t=this,n="string"==typeof e?e:e.uid,r=this.a.a;return this.a.I().then((function(e){return Ks(r,Gs,{idToken:e,mfaEnrollmentId:n})})).then((function(e){var r=U(t.b,(function(e){return e.uid!=n}));return ec(t,r),Lc(t.a,e),t.a.reload().s((function(e){if("auth/user-token-expired"!=e.code)throw e}))}))},e.w=function(){return{multiFactor:{enrolledFactors:B(this.b,(function(e){return e.w()}))}}},tc.prototype.start=function(){this.a=this.c,function e(t,n){t.stop(),t.b=Sn(function(e,t){return t?(e.a=e.c,e.g()):(t=e.a,e.a*=2,e.a>e.f&&(e.a=e.f),t)}(t,n)).then((function(){return function(){var e=l.document,t=null;return Nr()||!e?xt():new vt((function(n){t=function(){Nr()&&(e.removeEventListener("visibilitychange",t,!1),n())},e.addEventListener("visibilitychange",t,!1)})).s((function(n){throw e.removeEventListener("visibilitychange",t,!1),n}))}()})).then((function(){return t.h()})).then((function(){e(t,!0)})).s((function(n){t.i(n)&&e(t,!1)}))}(this,!0)},tc.prototype.stop=function(){this.b&&(this.b.cancel(),this.b=null)},nc.prototype.w=function(){return{apiKey:this.c.c,refreshToken:this.a,accessToken:this.b&&this.b.toString(),expirationTime:rc(this)}},nc.prototype.getToken=function(e){return e=!!e,this.b&&!this.a?Lt(new T("user-token-expired")):e||!this.b||M()>rc(this)-3e4?this.a?function(e,t){return function(e,t){return new vt((function(n,r){"refresh_token"==t.grant_type&&t.refresh_token||"authorization_code"==t.grant_type&&t.code?es(e,e.l+"?key="+encodeURIComponent(e.c),(function(e){e?e.error?r(Qs(e)):e.access_token&&e.refresh_token?n(e):r(new T("internal-error")):r(new T("network-request-failed"))}),"POST",Kn(t).toString(),e.g,e.v.get()):r(new T("internal-error"))}))}(e.c,t).then((function(t){return e.b=Fi(t.access_token),e.a=t.refresh_token,{accessToken:e.b.toString(),refreshToken:e.a}})).s((function(t){throw"auth/user-token-expired"==t.code&&(e.a=null),t}))}(this,{grant_type:"refresh_token",refresh_token:this.a}):xt(null):xt({accessToken:this.b.toString(),refreshToken:this.a})},oc.prototype.w=function(){return{lastLoginAt:this.b,createdAt:this.a}},S(sc,vn),sc.prototype.wa=function(e){this.pa=e,Ja(this.a,e)},sc.prototype.ka=function(){return this.pa},sc.prototype.Ga=function(){return Q(this.X)},sc.prototype.gb=function(){this.u.b&&(this.u.stop(),this.u.start())},Vr(sc.prototype,"providerId","firebase"),(e=sc.prototype).reload=function(){var e=this;return Pc(this,bc(this).then((function(){return xc(e).then((function(){return gc(e)})).then(vc)})))},e.nc=function(e){return this.I(e).then((function(e){return new Wu(e)}))},e.I=function(e){var t=this;return Pc(this,bc(this).then((function(){return t.b.getToken(e)})).then((function(e){if(!e)throw new T("internal-error");
2return e.accessToken!=t.ya&&(mc(t,e.accessToken),t.dispatchEvent(new Xu("tokenChanged"))),Sc(t,"refreshToken",e.refreshToken),e.accessToken})))},e.Jc=function(e){if(!(e=e.users)||!e.length)throw new T("internal-error");yc(this,{uid:(e=e[0]).localId,displayName:e.displayName,photoURL:e.photoUrl,email:e.email,emailVerified:!!e.emailVerified,phoneNumber:e.phoneNumber,lastLoginAt:e.lastLoginAt,createdAt:e.createdAt,tenantId:e.tenantId});for(var t=function(e){return(e=e.providerUserInfo)&&e.length?B(e,(function(e){return new ac(e.rawId,e.providerId,e.email,e.displayName,e.photoUrl,e.phoneNumber)})):[]}(e),n=0;n<t.length;n++)kc(this,t[n]);Sc(this,"isAnonymous",!(this.email&&e.passwordHash||this.providerData&&this.providerData.length)),this.dispatchEvent(new Xu("userReloaded",{gd:e}))},e.Kc=function(e){return Ur("firebase.User.prototype.reauthenticateAndRetrieveDataWithCredential is deprecated. Please use firebase.User.prototype.reauthenticateWithCredential instead."),this.sb(e)},e.sb=function(e){var t=this,n=null;return Pc(this,e.c(this.a,this.uid).then((function(e){return Lc(t,e),n=Cc(t,e,"reauthenticate"),t.f=null,t.reload()})).then((function(){return n})),!0)},e.Bc=function(e){return Ur("firebase.User.prototype.linkAndRetrieveDataWithCredential is deprecated. Please use firebase.User.prototype.linkWithCredential instead."),this.pb(e)},e.pb=function(e){var t=this,n=null;return Pc(this,Dc(this,e.providerId).then((function(){return t.I()})).then((function(n){return e.b(t.a,n)})).then((function(e){return n=Cc(t,e,"link"),Oc(t,e)})).then((function(){return n})))},e.Cc=function(e,t){var n=this;return Pc(this,Dc(this,"phone").then((function(){return zu(hc(n),e,t,w(n.pb,n))})))},e.Lc=function(e,t){var n=this;return Pc(this,xt().then((function(){return zu(hc(n),e,t,w(n.sb,n))})),!0)},e.Ab=function(e){var t=this;return Pc(this,this.I().then((function(n){return t.a.Ab(n,e)})).then((function(e){return Lc(t,e),t.reload()})))},e.dd=function(e){var t=this;return Pc(this,this.I().then((function(n){return e.b(t.a,n)})).then((function(e){return Lc(t,e),t.reload()})))},e.Bb=function(e){var t=this;return Pc(this,this.I().then((function(n){return t.a.Bb(n,e)})).then((function(e){return Lc(t,e),t.reload()})))},e.Cb=function(e){if(void 0===e.displayName&&void 0===e.photoURL)return bc(this);var t=this;return Pc(this,this.I().then((function(n){return t.a.Cb(n,{displayName:e.displayName,photoUrl:e.photoURL})})).then((function(e){return Lc(t,e),Sc(t,"displayName",e.displayName||null),Sc(t,"photoURL",e.photoUrl||null),W(t.providerData,(function(e){"password"===e.providerId&&(Vr(e,"displayName",t.displayName),Vr(e,"photoURL",t.photoURL))})),gc(t)})).then(vc))},e.bd=function(e){var t=this;return Pc(this,xc(this).then((function(n){return q(wc(t),e)?function(e,t,n){return Ks(e,ws,{idToken:t,deleteProvider:n})}(t.a,n,[e]).then((function(e){var n={};return W(e.providerUserInfo||[],(function(e){n[e.providerId]=!0})),W(wc(t),(function(e){n[e]||Mc(t,e)})),n[jo.PROVIDER_ID]||Vr(t,"phoneNumber",null),gc(t)})):gc(t).then((function(){throw new T("no-such-provider")}))})))},e.delete=function(){var e=this;return Pc(this,this.I().then((function(t){return Ks(e.a,bs,{idToken:t})})).then((function(){e.dispatchEvent(new Xu("userDeleted"))}))).then((function(){for(var t=0;t<e.G.length;t++)e.G[t].cancel("app-deleted");lc(e,null),uc(e,null),dc(e,null),e.G=[],e.A=!0,pc(e),Vr(e,"refreshToken",null),e.i&&Su(e.i,e)}))},e.Eb=function(e,t){return!!("linkViaPopup"==e&&(this.h||null)==t&&this.g||"reauthViaPopup"==e&&(this.h||null)==t&&this.g||"linkViaRedirect"==e&&(this.ga||null)==t||"reauthViaRedirect"==e&&(this.ga||null)==t)},e.ma=function(e,t,n,r){"linkViaPopup"!=e&&"reauthViaPopup"!=e||r!=(this.h||null)||(n&&this.O?this.O(n):t&&!n&&this.g&&this.g(t),this.c&&(this.c.cancel(),this.c=null),delete this.g,delete this.O)},e.Fa=function(e,t){return"linkViaPopup"==e&&t==(this.h||null)?w(this.Jb,this):"reauthViaPopup"==e&&t==(this.h||null)?w(this.Kb,this):"linkViaRedirect"==e&&(this.ga||null)==t?w(this.Jb,this):"reauthViaRedirect"==e&&(this.ga||null)==t?w(this.Kb,this):null},e.Dc=function(e){var t=this;return Ec(this,"linkViaPopup",e,(function(){return Dc(t,e.providerId).then((function(){return gc(t)}))}),!1)},e.Mc=function(e){return Ec(this,"reauthViaPopup",e,(function(){return xt()}),!0)},e.Ec=function(e){var t=this;return jc(this,"linkViaRedirect",e,(function(){return Dc(t,e.providerId)}),!1)},e.Nc=function(e){return jc(this,"reauthViaRedirect",e,(function(){return xt()}),!0)},e.Jb=function(e,t,n,r){var i=this;this.c&&(this.c.cancel(),this.c=null);var o=null;return Pc(this,this.I().then((function(n){return fs(i.a,{requestUri:e,postBody:r,sessionId:t,idToken:n})})).then((function(e){return o=Cc(i,e,"link"),Oc(i,e)})).then((function(){return o}
2)))},e.Kb=function(e,t,n,r){var i=this;this.c&&(this.c.cancel(),this.c=null);var o=null;return Pc(this,xt().then((function(){return oo(ps(i.a,{requestUri:e,sessionId:t,postBody:r,tenantId:n}),i.uid)})).then((function(e){return o=Cc(i,e,"reauthenticate"),Lc(i,e),i.f=null,i.reload()})).then((function(){return o})),!0)},e.tb=function(e){var t=this,n=null;return Pc(this,this.I().then((function(t){return n=t,void 0===e||fe(e)?{}:Yi(new xi(e))})).then((function(e){return t.a.tb(n,e)})).then((function(e){if(t.email!=e)return t.reload()})).then((function(){})))},e.Db=function(e,t){var n=this,r=null;return Pc(this,this.I().then((function(e){return r=e,void 0===t||fe(t)?{}:Yi(new xi(t))})).then((function(t){return n.a.Db(r,e,t)})).then((function(e){if(n.email!=e)return n.reload()})).then((function(){})))},e.ic=function(e){var t=null,n=this;return Pc(this,e=oo(xt(e),n.uid).then((function(e){return t=Cc(n,e,"reauthenticate"),Lc(n,e),n.f=null,n.reload()})).then((function(){return t})),!0)},e.toJSON=function(){return this.w()},e.w=function(){var e={uid:this.uid,displayName:this.displayName,photoURL:this.photoURL,email:this.email,emailVerified:this.emailVerified,phoneNumber:this.phoneNumber,isAnonymous:this.isAnonymous,tenantId:this.tenantId,providerData:[],apiKey:this.l,appName:this.m,authDomain:this.o,stsTokenManager:this.b.w(),redirectEventId:this.ga||null};return this.metadata&&ge(e,this.metadata.w()),W(this.providerData,(function(t){e.providerData.push(function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}(t))})),ge(e,this.N.w()),e};var Rc={name:"redirectUser",D:"session"};function Nc(e){return Gl(e.b,Rc,e.a)}function Fc(e){this.a=e,this.b=Bl(),this.c=null,this.f=function(e){var t=zc("local"),n=zc("session"),r=zc("none");return function(e,t,n){var r=ql(t,n),i=Vl(e,t.D);return e.get(t,n).then((function(o){var a=null;try{a=Ar(l.localStorage.getItem(r))}catch(s){}if(a&&!o)return l.localStorage.removeItem(r),e.set(t,a,n);a&&o&&"localStorage"!=i.type&&l.localStorage.removeItem(r)}))}(e.b,t,e.a).then((function(){return e.b.get(n,e.a)})).then((function(i){return i?n:e.b.get(r,e.a).then((function(n){return n?r:e.b.get(t,e.a).then((function(n){return n?t:e.b.get($c,e.a).then((function(e){return e?zc(e):t}))}))}))})).then((function(t){return e.c=t,Hc(e,t.D)})).s((function(){e.c||(e.c=t)}))}(this),this.b.addListener(zc("local"),this.a,w(this.g,this))}function Hc(e,t){var n,r=[];for(n in Wl)Wl[n]!==t&&r.push(Gl(e.b,zc(Wl[n]),e.a));return r.push(Gl(e.b,$c,e.a)),function(e){return new vt((function(t,n){var r=e.length,i=[];if(r)for(var o=function(e,n){r--,i[e]=n,0==r&&t(i)},a=function(e){n(e)},s=0;s<e.length;s++)Dt(e[s],k(o,s),a);else t(i)}))}(r)}Fc.prototype.g=function(){var e=this,t=zc("local");Vc(this,(function(){return xt().then((function(){return e.c&&"local"!=e.c.D?e.b.get(t,e.a):null})).then((function(n){if(n)return Hc(e,"local").then((function(){e.c=t}))}))}))};var $c={name:"persistence",D:"session"};function zc(e){return{name:"authUser",D:e}}function Wc(e,t){return Vc(e,(function(){return e.b.set(e.c,t.w(),e.a)}))}function Uc(e){return Vc(e,(function(){return Gl(e.b,e.c,e.a)}))}function Bc(e,t,n){return Vc(e,(function(){return e.b.get(e.c,e.a).then((function(e){return e&&t&&(e.authDomain=t),e&&n&&(e.emulatorConfig=n),Ic(e||{})}))}))}function Vc(e,t){return e.f=e.f.then(t,t),e.f}function qc(e){if(this.m=!1,Vr(this,"settings",new Hu),Vr(this,"app",e),!td(this).options||!td(this).options.apiKey)throw new T("invalid-api-key");e=t.SDK_VERSION?Mr(t.SDK_VERSION):null,this.a=new Wa(td(this).options&&td(this).options.apiKey,E(L),e),this.R=[],this.u=[],this.P=[],this.ac=t.INTERNAL.createSubscribe(w(this.yc,this)),this.X=void 0,this.bc=t.INTERNAL.createSubscribe(w(this.zc,this)),Zc(this,null),this.l=new Fc(td(this).options.apiKey+":"+td(this).name),this.G=new Yc(td(this).options.apiKey+":"+td(this).name),this.$=od(this,function(e){var t=td(e).options.authDomain,n=function(e){var t=function(e,t){return e.b.get(Rc,e.a).then((function(e){return e&&t&&(e.authDomain=t),Ic(e||{})}))}(e.G,td(e).options.authDomain).then((function(t){return(e.o=t)&&(t.ha=e.G),Nc(e.G)}));return od(e,t)}(e).then((function(){return Bc(e.l,t,e.f)})).then((function(t){return t?(t.ha=e.G,e.o&&(e.o.ga||null)==(t.ga||null)?t:t.reload().then((function(){return Wc(e.l,t).then((function(){return t}))})).s((function(n){return"auth/network-request-failed"==n.code?t:Uc(e.l)}))):null})).then((function(t){Zc(e,t||null)}));
2return od(e,n)}(this)),this.i=od(this,function(e){return e.$.then((function(){return Xc(e)})).s((function(){})).then((function(){if(!e.m)return e.pa()})).s((function(){})).then((function(){if(!e.m){e.ba=!0;var t=e.l;t.b.addListener(zc("local"),t.a,e.pa)}}))}(this)),this.ba=!1,this.pa=w(this.Yc,this),this.Ba=w(this.da,this),this.ya=w(this.kc,this),this.za=w(this.vc,this),this.Aa=w(this.wc,this),this.b=null,function(e){var t=td(e).options.authDomain,n=td(e).options.apiKey;t&&Lr()&&(e.gb=e.$.then((function(){if(!e.m){if(e.b=Au(t,n,td(e).name,e.f),Mu(e.b,e),nd(e)&&_c(nd(e)),e.o){_c(e.o);var r=e.o;r.wa(e.ka()),lc(r,e),cc(r=e.o,e.N),dc(r,e),Qa((r=e.o).a,e.f),uc(r,e),e.o=null}return e.b}})))}(this),this.INTERNAL={},this.INTERNAL.delete=w(this.delete,this),this.INTERNAL.logFramework=w(this.Fc,this),this.A=0,vn.call(this),function(e){Object.defineProperty(e,"lc",{get:function(){return this.ka()},set:function(e){this.wa(e)},enumerable:!1}),e.aa=null,Object.defineProperty(e,"ti",{get:function(){return this.S()},set:function(e){this.xb(e)},enumerable:!1}),e.W=null}(this),this.N=[],this.f=null}function Gc(e){Gt.call(this,"languageCodeChanged"),this.h=e}function Kc(e){Gt.call(this,"emulatorConfigChanged"),this.c=e}function Jc(e){Gt.call(this,"frameworkChanged"),this.f=e}function Qc(e){return e.gb||Lt(new T("auth-domain-config-required"))}function Xc(e){if(!Lr())return Lt(new T("operation-not-supported-in-this-environment"));var t=Qc(e).then((function(){return e.b.qa()})).then((function(e){return e?Gr(e):null}));return od(e,t)}function Zc(e,t){nd(e)&&(function(e,t){K(e.R,(function(e){return e==t}))}(nd(e),e.Ba),cn(nd(e),"tokenChanged",e.ya),cn(nd(e),"userDeleted",e.za),cn(nd(e),"userInvalidated",e.Aa),pc(nd(e))),t&&(t.R.push(e.Ba),sn(t,"tokenChanged",e.ya),sn(t,"userDeleted",e.za),sn(t,"userInvalidated",e.Aa),0<e.A&&fc(t)),Vr(e,"currentUser",t),t&&(t.wa(e.ka()),lc(t,e),cc(t,e.N),dc(t,e),Qa(t.a,e.f),uc(t,e))}function ed(e,t){var n=null,r=null;return od(e,t.then((function(t){return n=Po(t),r=Bi(t),function(e,t){var n={};return n.apiKey=td(e).options.apiKey,n.authDomain=td(e).options.authDomain,n.appName=td(e).name,e.f&&(n.emulatorConfig=e.f),e.$.then((function(){return function(e,t,n,r){var i=new sc(e,t);return n&&(i.ha=n),r&&cc(i,r),i.reload().then((function(){return i}))}(n,t,e.G,e.Ga())})).then((function(t){return nd(e)&&t.uid==nd(e).uid?(Tc(nd(e),t),e.da(t)):(Zc(e,t),_c(t),e.da(t))})).then((function(){id(e)}))}(e,t)}),(function(t){var n=null;throw t&&"auth/multi-factor-auth-required"===t.code&&(n=Gu(t.w(),e,w(e.jc,e))),n||t})).then((function(){return Gr({user:nd(e),credential:n,additionalUserInfo:r,operationType:"signIn"})})))}function td(e){return e.app}function nd(e){return e.currentUser}function rd(e){return nd(e)&&nd(e)._lat||null}function id(e){if(e.ba){for(var t=0;t<e.u.length;t++)e.u[t]&&e.u[t](rd(e));if(e.X!==e.getUid()&&e.P.length)for(e.X=e.getUid(),t=0;t<e.P.length;t++)e.P[t]&&e.P[t](rd(e))}}function od(e,t){return e.R.push(t),t.na((function(){G(e.R,t)})),t}function ad(){}function sd(){this.a={},this.b=1e12}Fc.prototype.wb=function(e){var t=null,n=this;return function(e){var t=new T("invalid-persistence-type"),n=new T("unsupported-persistence-type");e:{for(r in Wl)if(Wl[r]==e){var r=!0;break e}r=!1}if(!r||"string"!=typeof e)throw t;switch(yr()){case"ReactNative":if("session"===e)throw n;break;case"Node":if("none"!==e)throw n;break;case"Worker":if("session"===e||!kl()&&"none"!==e)throw n;break;default:if(!xr()&&"none"!==e)throw n}}(e),Vc(this,(function(){return e!=n.c.D?n.b.get(n.c,n.a).then((function(r){return t=r,Hc(n,e)})).then((function(){if(n.c=zc(e),t)return n.b.set(n.c,t,n.a)})):xt()}))},S(qc,vn),S(Gc,Gt),S(Kc,Gt),S(Jc,Gt),(e=qc.prototype).wb=function(e){return od(this,e=this.l.wb(e))},e.wa=function(e){this.aa===e||this.m||(this.aa=e,Ja(this.a,this.aa),this.dispatchEvent(new Gc(this.ka())))},e.ka=function(){return this.aa},e.ed=function(){var e=l.navigator;this.wa(e&&(e.languages&&e.languages[0]||e.language||e.userLanguage)||null)},e.fd=function(e){if(!this.f){if(!/^https?:\/\//.test(e))throw new T("argument-error","Emulator URL must start with a valid scheme (http:// or https://).");Fr("WARNING: You are using the Auth Emulator, which is intended for local testing only.  Do not use with production credentials."),l.document&&pr().then((function(){var e=l.document.createElement("div");e.innerText="Running in emulator mode. Do not use with production credentials.",e.style.position="fixed",e.style.width="100%",e.style.backgroundColor="#ffffff",e.style.border=".1em solid #000000",e.style.color="#ff0000",e.style.bottom="0px",e.style.left="0px",e.style.margin="0px",e.style.zIndex=1e4,e.style.textAlign="center",e.classList.add("firebase-emulator-warning"),l.document.body.appendChild(e)})),this.f={url:e},this.settings.hb=!0,Qa(this.a,this.f),this.dispatchEvent(new Kc(this.f))}},e.Fc=function(e){this.N.push(e),Za(this.a,t.SDK_VERSION?Mr(t.SDK_VERSION,this.N):null),this.dispatchEvent(new Jc(this.N))},e.Ga=function(){return Q(this.N)},e.xb=function(e){this.W===e||this.m||(this.W=e,this.a.b=this.W)},e.S=function(){return this.W},e.toJSON=function(){return{apiKey:td(this).options.apiKey,authDomain:td(this).options.authDomain,appName:td(this).name,currentUser:nd(this)&&nd(this).w()}},e.Eb=function(e,t){switch(e){case"unknown":case"signInViaRedirect":return!0;case"signInViaPopup":return this.h==t&&!!this.g;default:return!1}},e.ma=function(e,t,n,r){"signInViaPopup"==e&&this.h==r&&(n&&this.O?this.O(n):t&&!n&&this.g&&this.g(t),this.c&&(this.c.cancel(),this.c=null),delete this.g,delete this.O)},e.Fa=function(e,t){return"signInViaRedirect"==e||"signInViaPopup"==e&&this.h==t&&this.g?w(this.hc,this):null},e.hc=function(e,t,n,r){var i=this,o={requestUri:e,postBody:r,sessionId:t,tenantId:n};return this.c&&(this.c.cancel(),this.c=null),i.$.then((function(){return ed(i,hs(i.a,o))}))},e.Wc=function(e){if(!Lr())return Lt(new T("operation-not-supported-in-this-environment"));var n=this,r=Ui(e.providerId),i=Pr(),o=null;(!Or()||gr())&&td(this).options.authDomain&&e.isOAuthProvider&&(o=cl(td(this).options.authDomain,td(this).options.apiKey,td(this).name,"signInViaPopup",e,null,i,t.SDK_VERSION||null,null,null,this.S(),this.f));var a=dr(o,r&&r.ua,r&&r.ta);return od(this,r=Qc(this).then((function(t){return Lu(t,a,"signInViaPopup",e,i,!!o,n.S())})).then((function(){return new vt((function(e,t){n.ma("signInViaPopup",null,new T("cancelled-popup-request"),n.h),n.g=e,n.O=t,n.h=i,n.c=Ou(n.b,n,"signInViaPopup",a,i)}))})).then((function(e){return a&&cr(a),e?Gr(e):null})).s((function(e){throw a&&cr(a),e})))},e.Xc=function(e){if(!Lr())return Lt(new T("operation-not-supported-in-this-environment"));var t=this;return od(this,Qc(this).then((function(){return function(e){return Vc(e,(function(){return e.b.set($c,e.c.D,e.a)}))}(t.l)})).then((function(){return Cu(t.b,"signInViaRedirect",e,void 0,t.S())})))},e.qa=function(){var e=this;return Xc(this).then((function(t){return e.b&&Yu(e.b.b),t})).s((function(t){throw e.b&&Yu(e.b.b),t}))},e.cd=function(e){if(!e)return Lt(new T("null-user"));if(this.W!=e.tenantId)return Lt(new T("tenant-id-mismatch"));var t=this,n={};n.apiKey=td(this).options.apiKey,n.authDomain=td(this).options.authDomain,n.appName=td(this).name;var r=function(e,t,n,r){var i=e.b,o={};return o[Ba]=i.b&&i.b.toString(),o.refreshToken=i.a,t=new sc(t||{apiKey:e.l,authDomain:e.o,appName:e.m},o),n&&(t.ha=n),r&&cc(t,r),Tc(t,e),t}(e,n,t.G,t.Ga());return od(this,this.i.then((function(){if(td(t).options.apiKey!=e.l)return r.reload()})).then((function(){return nd(t)&&e.uid==nd(t).uid?(Tc(nd(t),e),t.da(e)):(Zc(t,r),_c(r),t.da(r))})).then((function(){id(t)})))},e.zb=function(){var e=this;return od(this,this.i.then((function(){return e.b&&Yu(e.b.b),nd(e)?(Zc(e,null),Uc(e.l).then((function(){id(e)}))):xt()})))},e.Yc=function(){var e=this;return Bc(this.l,td(this).options.authDomain).then((function(t){if(!e.m){var n;if(n=nd(e)&&t){n=nd(e).uid;var r=t.uid;n=null!=n&&""!==n&&null!=r&&""!==r&&n==r}if(n)return Tc(nd(e),t),nd(e).I();(nd(e)||t)&&(Zc(e,t),t&&(_c(t),t.ha=e.G),e.b&&Mu(e.b,e),id(e))}}))},e.da=function(e){return Wc(this.l,e)},e.kc=function(){id(this),this.da(nd(this))},e.vc=function(){this.zb()},e.wc=function(){this.zb()},e.jc=function(e){var t=this;return this.i.then((function(){return ed(t,xt(e))}))},e.yc=function(e){var t=this;this.addAuthTokenListener((function(){e.next(nd(t))}))},e.zc=function(e){var t=this;!function(e,t){e.P.push(t),od(e,e.i.then((function(){!e.m&&q(e.P,t)&&e.X!==e.getUid()&&(e.X=e.getUid(),t(rd(e)))})))}(this,(function(){e.next(nd(t))}))},e.Hc=function(e,t,n){var r=this;return this.ba&&Promise.resolve().then((function(){"function"==typeof e?e(nd(r)):"function"==typeof e.next&&e.next(nd(r))})),this.ac(e,t,n)},e.Gc=function(e,t,n){var r=this;return this.ba&&Promise.resolve().then((function(){r.X=r.getUid(),"function"==typeof e?e(nd(r)):"function"==typeof e.next&&e.next(nd(r))}
2)),this.bc(e,t,n)},e.mc=function(e){var t=this;return od(this,this.i.then((function(){return nd(t)?nd(t).I(e).then((function(e){return{accessToken:e}})):null})))},e.Sc=function(e){var t=this;return this.i.then((function(){return ed(t,Ks(t.a,Ws,{token:e}))})).then((function(e){var n=e.user;return Sc(n,"isAnonymous",!1),t.da(n),e}))},e.Tc=function(e,t){var n=this;return this.i.then((function(){return ed(n,Ks(n.a,Us,{email:e,password:t}))}))},e.dc=function(e,t){var n=this;return this.i.then((function(){return ed(n,Ks(n.a,ys,{email:e,password:t}))}))},e.Za=function(e){var t=this;return this.i.then((function(){return ed(t,e.ja(t.a))}))},e.Rc=function(e){return Ur("firebase.auth.Auth.prototype.signInAndRetrieveDataWithCredential is deprecated. Please use firebase.auth.Auth.prototype.signInWithCredential instead."),this.Za(e)},e.yb=function(){var e=this;return this.i.then((function(){var t=nd(e);if(t&&t.isAnonymous){var n=Gr({providerId:null,isNewUser:!1});return Gr({user:t,credential:null,additionalUserInfo:n,operationType:"signIn"})}return ed(e,e.a.yb()).then((function(t){var n=t.user;return Sc(n,"isAnonymous",!0),e.da(n),t}))}))},e.getUid=function(){return nd(this)&&nd(this).uid||null},e.cc=function(e){this.addAuthTokenListener(e),this.A++,0<this.A&&nd(this)&&fc(nd(this))},e.Oc=function(e){var t=this;W(this.u,(function(n){n==e&&t.A--})),0>this.A&&(this.A=0),0==this.A&&nd(this)&&pc(nd(this)),this.removeAuthTokenListener(e)},e.addAuthTokenListener=function(e){var t=this;this.u.push(e),od(this,this.i.then((function(){t.m||q(t.u,e)&&e(rd(t))})))},e.removeAuthTokenListener=function(e){K(this.u,(function(t){return t==e}))},e.delete=function(){this.m=!0;for(var e=0;e<this.R.length;e++)this.R[e].cancel("app-deleted");return this.R=[],this.l&&(e=this.l).b.removeListener(zc("local"),e.a,this.pa),this.b&&(Su(this.b,this),Yu(this.b.b)),Promise.resolve()},e.gc=function(e){return od(this,function(e,t){return Ks(e,vs,{identifier:t,continueUri:Dr()?sr():"http://localhost"}).then((function(e){return e.signinMethods||[]}))}(this.a,e))},e.Ac=function(e){return!!Do(e)},e.vb=function(e,t){var n=this;return od(this,xt().then((function(){var e=new xi(t);if(!e.c)throw new T("argument-error",Ci+" must be true when sending sign in link to email");return Yi(e)})).then((function(t){return n.a.vb(e,t)})).then((function(){})))},e.hd=function(e){return this.Qa(e).then((function(e){return e.data.email}))},e.mb=function(e,t){return od(this,this.a.mb(e,t).then((function(){})))},e.Qa=function(e){return od(this,this.a.Qa(e).then((function(e){return new ri(e)})))},e.ib=function(e){return od(this,this.a.ib(e).then((function(){})))},e.ub=function(e,t){var n=this;return od(this,xt().then((function(){return void 0===t||fe(t)?{}:Yi(new xi(t))})).then((function(t){return n.a.ub(e,t)})).then((function(){})))},e.Vc=function(e,t){return od(this,zu(this,e,t,w(this.Za,this)))},e.Uc=function(e,t){var n=this;return od(this,xt().then((function(){var r=t||sr(),i=Lo(e,r);if(!(r=Do(r)))throw new T("argument-error","Invalid email link!");if(r.tenantId!==n.S())throw new T("tenant-id-mismatch");return n.Za(i)})))},ad.prototype.render=function(){},ad.prototype.reset=function(){},ad.prototype.getResponse=function(){},ad.prototype.execute=function(){};var ld=null;function ud(e,t){return(t=cd(t))&&e.a[t]||null}function cd(e){return(e=void 0===e?1e12:e)?e.toString():null}function dd(e,t){this.g=!1,this.c=t,this.a=this.b=null,this.h="invisible"!==this.c.size,this.f=at(e);var n=this;this.i=function(){n.execute()},this.h?this.execute():sn(this.f,"click",this.i)}function hd(e){if(e.g)throw Error("reCAPTCHA mock was already deleted!")}function fd(){}function pd(){}sd.prototype.render=function(e,t){return this.a[this.b.toString()]=new dd(e,t),this.b++},sd.prototype.reset=function(e){var t=ud(this,e);e=cd(e),t&&e&&(t.delete(),delete this.a[e])},sd.prototype.getResponse=function(e){return(e=ud(this,e))?e.getResponse():null},sd.prototype.execute=function(e){(e=ud(this,e))&&e.execute()},dd.prototype.getResponse=function(){return hd(this),this.b},dd.prototype.execute=function(){hd(this);var e=this;this.a||(this.a=setTimeout((function(){e.b=function(){for(var e=50,t=[];0<e;)t.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),e--;return t.join("")}();var t=e.c.callback,n=e.c["expired-callback"];if(t)try{t(e.b)}catch(r){}e.a=setTimeout((function(){if(e.a=null,e.b=null,n)try{n()}catch(r){}e.h&&e.execute()}),6e4)}),500))},dd.prototype.delete=function(){hd(this),this.g=!0,clearTimeout(this.a),this.a=null,cn(this.f,"click",this.i)},Vr(fd,"FACTOR_ID","phone"),pd.prototype.g=function(){return ld||(ld=new sd),xt(ld)},pd.prototype.c=function(){};var md=null;function gd(){this.b=l.grecaptcha?1/0:0,this.f=null,this.a="__rcb"+Math.floor(1e6*Math.random()).toString()}var _d=new ye(we,"https://www.google.com/recaptcha/api.js?onload=%{onload}&render=explicit&hl=%{hl}"),yd=new Rr(3e4,6e4);gd.prototype.g=function(e){var t=this;return new vt((function(n,r){var i=setTimeout((function(){r(new T("network-request-failed"))}),yd.get());!l.grecaptcha||e!==t.f&&!t.b?(l[t.a]=function(){if(l.grecaptcha){t.f=e;var o=l.grecaptcha.render;
2l.grecaptcha.render=function(e,n){return e=o(e,n),t.b++,e},clearTimeout(i),n(l.grecaptcha)}else clearTimeout(i),r(new T("internal-error"));delete l[t.a]},xt(Ya(Te(_d,{onload:t.a,hl:e||""}))).s((function(){clearTimeout(i),r(new T("internal-error","Unable to load external reCAPTCHA dependencies!"))}))):(clearTimeout(i),n(l.grecaptcha))}))},gd.prototype.c=function(){this.b--};var vd=null;function bd(e,t,n,r,i,o,a){if(Vr(this,"type","recaptcha"),this.c=this.f=null,this.A=!1,this.m=t,this.g=null,a?(md||(md=new pd),a=md):(vd||(vd=new gd),a=vd),this.v=a,this.a=n||{theme:"light",type:"image"},this.h=[],this.a[Md])throw new T("argument-error","sitekey should not be provided for reCAPTCHA as one is automatically provisioned for the current project.");if(this.i="invisible"===this.a[Sd],!l.document)throw new T("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment with DOM support.");if(!at(t)||!this.i&&at(t).hasChildNodes())throw new T("argument-error","reCAPTCHA container is either not found or already contains inner elements!");this.o=new Wa(e,o||null,i||null),this.u=r||function(){return null};var s=this;this.l=[];var u=this.a[wd];this.a[wd]=function(e){if(Td(s,e),"function"==typeof u)u(e);else if("string"==typeof u){var t=Tr(u,l);"function"==typeof t&&t(e)}};var c=this.a[kd];this.a[kd]=function(){if(Td(s,null),"function"==typeof c)c();else if("string"==typeof c){var e=Tr(c,l);"function"==typeof e&&e()}}}var wd="callback",kd="expired-callback",Md="sitekey",Sd="size";function Td(e,t){for(var n=0;n<e.l.length;n++)try{e.l[n](t)}catch(r){}}function xd(e,t){return e.h.push(t),t.na((function(){G(e.h,t)})),t}function Ld(e){if(e.A)throw new T("internal-error","RecaptchaVerifier instance has been destroyed.")}function Dd(e,n,r){var i=!1;try{this.b=r||t.app()}catch(s){throw new T("argument-error","No firebase.app.App instance is currently initialized.")}if(!this.b.options||!this.b.options.apiKey)throw new T("invalid-api-key");r=this.b.options.apiKey;var o=this,a=null;try{a=this.b.auth().Ga()}catch(s){}try{i=this.b.auth().settings.appVerificationDisabledForTesting}catch(s){}a=t.SDK_VERSION?Mr(t.SDK_VERSION,a):null,bd.call(this,r,e,n,(function(){try{var e=o.b.auth().ka()}catch(t){e=null}return e}),a,E(L),i)}function Cd(e,t,n,r){e:{n=Array.prototype.slice.call(n);for(var i=0,o=!1,a=0;a<t.length;a++)if(t[a].optional)o=!0;else{if(o)throw new T("internal-error","Argument validator encountered a required argument after an optional argument.");i++}if(o=t.length,n.length<i||o<n.length)r="Expected "+(i==o?1==i?"1 argument":i+" arguments":i+"-"+o+" arguments")+" but got "+n.length+".";else{for(i=0;i<n.length;i++)if(o=t[i].optional&&void 0===n[i],!t[i].K(n[i])&&!o){if(t=t[i],0>i||i>=Od.length)throw new T("internal-error","Argument validator received an unsupported number of arguments.");n=Od[i],r=(r?"":n+" argument ")+(t.name?'"'+t.name+'" ':"")+"must be "+t.J+".";break e}r=null}}if(r)throw new T("argument-error",e+" failed: "+r)}(e=bd.prototype).Ia=function(){var e=this;return this.f?this.f:this.f=xd(this,xt().then((function(){if(Dr()&&!_r())return pr();throw new T("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment.")})).then((function(){return e.v.g(e.u())})).then((function(t){return e.g=t,Ks(e.o,js,{})})).then((function(t){e.a[Md]=t.recaptchaSiteKey})).s((function(t){throw e.f=null,t})))},e.render=function(){Ld(this);var e=this;return xd(this,this.Ia().then((function(){if(null===e.c){var t=e.m;if(!e.i){var n=at(t);t=function(e,t,n){var r=arguments,i=document,o=String(r[0]),a=r[1];if(!ot&&a&&(a.name||a.type)){if(o=["<",o],a.name&&o.push(' name="',ze(a.name),'"'),a.type){o.push(' type="',ze(a.type),'"');var s={};ge(s,a),delete s.type,a=s}o.push(">"),o=o.join("")}return o=ht(i,o),a&&("string"==typeof a?o.className=a:Array.isArray(a)?o.className=a.join(" "):st(o,a)),2<r.length&&dt(i,o,r),o}("DIV"),n.appendChild(t)}e.c=e.g.render(t,e.a)}return e.c})))},e.verify=function(){Ld(this);var e=this;return xd(this,this.render().then((function(t){return new vt((function(n){var r=e.g.getResponse(t);if(r)n(r);else{var i=function(t){t&&(function(e,t){K(e.l,(function(e){return e==t}))}(e,i),n(t))};e.l.push(i),e.i&&e.g.execute(e.c)}}))})))},e.reset=function(){Ld(this),null!==this.c&&this.g.reset(this.c)},e.clear=function(){Ld(this),this.A=!0,this.v.c();for(var e=0;e<this.h.length;e++)this.h[e].cancel("RecaptchaVerifier instance has been destroyed.");if(!this.i){e=at(this.m);for(var t;t=e.firstChild;)e.removeChild(t)}},S(Dd,bd);var Od="First Second Third Fourth Fifth Sixth Seventh Eighth Ninth".split(" ");function Ed(e,t){return{name:e||"",J:"a valid string",optional:!!t,K:function(e){return"string"==typeof e}}}
2function jd(e,t){return{name:e||"",J:"a boolean",optional:!!t,K:function(e){return"boolean"==typeof e}}}function Ad(e,t){return{name:e||"",J:"a valid object",optional:!!t,K:m}}function Pd(e,t){return{name:e||"",J:"a function",optional:!!t,K:function(e){return"function"==typeof e}}}function Id(e,t){return{name:e||"",J:"null",optional:!!t,K:function(e){return null===e}}}function Yd(e){return{name:e?e+"Credential":"credential",J:e?"a valid "+e+" credential":"a valid credential",optional:!1,K:function(t){return!!t&&!(!t.ja||e&&t.providerId!==e)}}}function Rd(e,t){return m(e)&&"string"==typeof e.type&&e.type===t&&"function"==typeof e.Ha}function Nd(e){return m(e)&&"string"==typeof e.uid}function Fd(e,t,n,r){return{name:n||"",J:e.J+" or "+t.J,optional:!!r,K:function(n){return e.K(n)||t.K(n)}}}function Hd(e,t){for(var n in t){var r=t[n].name;e[r]=Wd(r,e[n],t[n].j)}}function $d(e,t){for(var n in t){var r=t[n].name;r!==n&&Object.defineProperty(e,r,{get:k((function(e){return this[e]}),n),set:k((function(e,t,n,r){Cd(e,[n],[r],!0),this[t]=r}),r,n,t[n].jb),enumerable:!0})}}function zd(e,t,n,r){e[t]=Wd(t,n,r)}function Wd(e,t,n){function r(){var e=Array.prototype.slice.call(arguments);return Cd(o,n,e),t.apply(this,e)}if(!n)return t;var i,o=function(e){return(e=e.split("."))[e.length-1]}(e);for(i in t)r[i]=t[i];for(i in t.prototype)r.prototype[i]=t.prototype[i];return r}Hd(qc.prototype,{ib:{name:"applyActionCode",j:[Ed("code")]},Qa:{name:"checkActionCode",j:[Ed("code")]},mb:{name:"confirmPasswordReset",j:[Ed("code"),Ed("newPassword")]},dc:{name:"createUserWithEmailAndPassword",j:[Ed("email"),Ed("password")]},gc:{name:"fetchSignInMethodsForEmail",j:[Ed("email")]},qa:{name:"getRedirectResult",j:[]},Ac:{name:"isSignInWithEmailLink",j:[Ed("emailLink")]},Gc:{name:"onAuthStateChanged",j:[Fd(Ad(),Pd(),"nextOrObserver"),Pd("opt_error",!0),Pd("opt_completed",!0)]},Hc:{name:"onIdTokenChanged",j:[Fd(Ad(),Pd(),"nextOrObserver"),Pd("opt_error",!0),Pd("opt_completed",!0)]},ub:{name:"sendPasswordResetEmail",j:[Ed("email"),Fd(Ad("opt_actionCodeSettings",!0),Id(null,!0),"opt_actionCodeSettings",!0)]},vb:{name:"sendSignInLinkToEmail",j:[Ed("email"),Ad("actionCodeSettings")]},wb:{name:"setPersistence",j:[Ed("persistence")]},Rc:{name:"signInAndRetrieveDataWithCredential",j:[Yd()]},yb:{name:"signInAnonymously",j:[]},Za:{name:"signInWithCredential",j:[Yd()]},Sc:{name:"signInWithCustomToken",j:[Ed("token")]},Tc:{name:"signInWithEmailAndPassword",j:[Ed("email"),Ed("password")]},Uc:{name:"signInWithEmailLink",j:[Ed("email"),Ed("emailLink",!0)]},Vc:{name:"signInWithPhoneNumber",j:[Ed("phoneNumber"),{name:"applicationVerifier",J:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,K:function(e){return!(!e||"string"!=typeof e.type||"function"!=typeof e.verify)}}]},Wc:{name:"signInWithPopup",j:[{name:"authProvider",J:"a valid Auth provider",optional:!1,K:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},Xc:{name:"signInWithRedirect",j:[{name:"authProvider",J:"a valid Auth provider",optional:!1,K:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},cd:{name:"updateCurrentUser",j:[Fd({name:"user",J:"an instance of Firebase User",optional:!1,K:function(e){return!!(e&&e instanceof sc)}},Id(),"user")]},zb:{name:"signOut",j:[]},toJSON:{name:"toJSON",j:[Ed(null,!0)]},ed:{name:"useDeviceLanguage",j:[]},fd:{name:"useEmulator",j:[Ed("url")]},hd:{name:"verifyPasswordResetCode",j:[Ed("code")]}}),$d(qc.prototype,{lc:{name:"languageCode",jb:Fd(Ed(),Id(),"languageCode")},ti:{name:"tenantId",jb:Fd(Ed(),Id(),"tenantId")}}),(qc.Persistence=Wl).LOCAL="local",qc.Persistence.SESSION="session",qc.Persistence.NONE="none",Hd(sc.prototype,{delete:{name:"delete",j:[]},nc:{name:"getIdTokenResult",j:[jd("opt_forceRefresh",!0)]},I:{name:"getIdToken",j:[jd("opt_forceRefresh",!0)]},Bc:{name:"linkAndRetrieveDataWithCredential",j:[Yd()]},pb:{name:"linkWithCredential",j:[Yd()]},Cc:{name:"linkWithPhoneNumber",j:[Ed("phoneNumber"),{name:"applicationVerifier",J:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,K:function(e){return!(!e||"string"!=typeof e.type||"function"!=typeof e.verify)}}]},Dc:{name:"linkWithPopup",j:[{name:"authProvider",J:"a valid Auth provider",optional:!1,K:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},Ec:{name:"linkWithRedirect",j:[{name:"authProvider",J:"a valid Auth provider",optional:!1,K:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},Kc:{name:"reauthenticateAndRetrieveDataWithCredential",j:[Yd()]},sb:{name:"reauthenticateWithCredential",j:[Yd()]},Lc:{name:"reauthenticateWithPhoneNumber",j:[Ed("phoneNumber"),{name:"applicationVerifier",J:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,K:function(e){return!(!e||"string"!=typeof e.type||"function"!=typeof e.verify)}}]},Mc:{name:"reauthenticateWithPopup",j:[{name:"authProvider",J:"a valid Auth provider",optional:!1,K:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},Nc:{name:"reauthenticateWithRedirect",j:[{name:"authProvider",J:"a valid Auth provider",optional:!1,K:function(e){return!!(e&&e.providerId&&e.hasOwnProperty&&e.hasOwnProperty("isOAuthProvider"))}}]},reload:{name:"reload",j:[]},tb:{name:"sendEmailVerification",j:[Fd(Ad("opt_actionCodeSettings",!0),Id(null,!0),"opt_actionCodeSettings",!0)]},toJSON:{name:"toJSON",j:[Ed(null,!0)]},bd:{name:"unlink",j:[Ed("provider")]},Ab:{name:"updateEmail",j:[Ed("email")]},Bb:{name:"updatePassword",j:[Ed("password")]},dd:{name:"updatePhoneNumber",j:[Yd("phone")]},Cb:{name:"updateProfile",j:[Ad("profile")]},Db:{name:"verifyBeforeUpdateEmail",j:[Ed("email"),Fd(Ad("opt_actionCodeSettings",!0),Id(null,!0),"opt_actionCodeSettings",!0)]}}),Hd(sd.prototype,{execute:{name:"execute"},render:{name:"render"}
2,reset:{name:"reset"},getResponse:{name:"getResponse"}}),Hd(ad.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),Hd(vt.prototype,{na:{name:"finally"},s:{name:"catch"},then:{name:"then"}}),$d(Hu.prototype,{appVerificationDisabled:{name:"appVerificationDisabledForTesting",jb:jd("appVerificationDisabledForTesting")}}),Hd($u.prototype,{confirm:{name:"confirm",j:[Ed("verificationCode")]}}),zd(io,"fromJSON",(function(e){e="string"==typeof e?JSON.parse(e):e;for(var t,n=[ho,To,Oo,lo],r=0;r<n.length;r++)if(t=n[r](e))return t;return null}),[Fd(Ed(),Ad(),"json")]),zd(xo,"credential",(function(e,t){return new So(e,t)}),[Ed("email"),Ed("password")]),Hd(So.prototype,{w:{name:"toJSON",j:[Ed(null,!0)]}}),Hd(go.prototype,{Ca:{name:"addScope",j:[Ed("scope")]},Ka:{name:"setCustomParameters",j:[Ad("customOAuthParameters")]}}),zd(go,"credential",_o,[Fd(Ed(),Ad(),"token")]),zd(xo,"credentialWithLink",Lo,[Ed("email"),Ed("emailLink")]),Hd(yo.prototype,{Ca:{name:"addScope",j:[Ed("scope")]},Ka:{name:"setCustomParameters",j:[Ad("customOAuthParameters")]}}),zd(yo,"credential",vo,[Fd(Ed(),Ad(),"token")]),Hd(bo.prototype,{Ca:{name:"addScope",j:[Ed("scope")]},Ka:{name:"setCustomParameters",j:[Ad("customOAuthParameters")]}}),zd(bo,"credential",wo,[Fd(Ed(),Fd(Ad(),Id()),"idToken"),Fd(Ed(),Id(),"accessToken",!0)]),Hd(ko.prototype,{Ka:{name:"setCustomParameters",j:[Ad("customOAuthParameters")]}}),zd(ko,"credential",Mo,[Fd(Ed(),Ad(),"token"),Ed("secret",!0)]),Hd(mo.prototype,{Ca:{name:"addScope",j:[Ed("scope")]},credential:{name:"credential",j:[Fd(Ed(),Fd(Ad(),Id()),"optionsOrIdToken"),Fd(Ed(),Id(),"accessToken",!0)]},Ka:{name:"setCustomParameters",j:[Ad("customOAuthParameters")]}}),Hd(uo.prototype,{w:{name:"toJSON",j:[Ed(null,!0)]}}),Hd(ao.prototype,{w:{name:"toJSON",j:[Ed(null,!0)]}}),zd(jo,"credential",Ao,[Ed("verificationId"),Ed("verificationCode")]),Hd(jo.prototype,{eb:{name:"verifyPhoneNumber",j:[Fd(Ed(),{name:"phoneInfoOptions",J:"valid phone info options",optional:!1,K:function(e){return!!e&&(e.session&&e.phoneNumber?Rd(e.session,no)&&"string"==typeof e.phoneNumber:e.session&&e.multiFactorHint?Rd(e.session,ro)&&Nd(e.multiFactorHint):e.session&&e.multiFactorUid?Rd(e.session,ro)&&"string"==typeof e.multiFactorUid:!!e.phoneNumber&&"string"==typeof e.phoneNumber)}},"phoneInfoOptions"),{name:"applicationVerifier",J:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,K:function(e){return!(!e||"string"!=typeof e.type||"function"!=typeof e.verify)}}]}}),Hd(Co.prototype,{w:{name:"toJSON",j:[Ed(null,!0)]}}),Hd(T.prototype,{toJSON:{name:"toJSON",j:[Ed(null,!0)]}}),Hd(zo.prototype,{toJSON:{name:"toJSON",j:[Ed(null,!0)]}}),Hd($o.prototype,{toJSON:{name:"toJSON",j:[Ed(null,!0)]}}),Hd(qu.prototype,{toJSON:{name:"toJSON",j:[Ed(null,!0)]}}),Hd(Uu.prototype,{Qc:{name:"resolveSignIn",j:[{name:"multiFactorAssertion",J:"a valid multiFactorAssertion",optional:!1,K:function(e){return!!e&&!!e.rb}}]}}),Hd(Zu.prototype,{Qb:{name:"getSession",j:[]},ec:{name:"enroll",j:[{name:"multiFactorAssertion",J:"a valid multiFactorAssertion",optional:!1,K:function(e){return!!e&&!!e.rb}},Ed("displayName",!0)]},ad:{name:"unenroll",j:[Fd({name:"multiFactorInfo",J:"a valid multiFactorInfo",optional:!1,K:Nd},Ed(),"multiFactorInfoIdentifier")]}}),Hd(Dd.prototype,{clear:{name:"clear",j:[]},render:{name:"render",j:[]},verify:{name:"verify",j:[]}}),zd(_i,"parseLink",Ti,[Ed("link")]),zd(fd,"assertion",(function(e){return new Qu(e)}),[Yd("phone")]),function(){if(void 0===t||!t.INTERNAL||!t.INTERNAL.registerComponent)throw Error("Cannot find the firebase namespace; be sure to include firebase-app.js before this library.");var e={ActionCodeInfo:{Operation:{EMAIL_SIGNIN:oi,PASSWORD_RESET:"PASSWORD_RESET",RECOVER_EMAIL:"RECOVER_EMAIL",REVERT_SECOND_FACTOR_ADDITION:ii,VERIFY_AND_CHANGE_EMAIL:ai,VERIFY_EMAIL:"VERIFY_EMAIL"}},Auth:qc,AuthCredential:io,Error:T};zd(e,"EmailAuthProvider",xo,[]),zd(e,"FacebookAuthProvider",go,[]),zd(e,"GithubAuthProvider",yo,[]),zd(e,"GoogleAuthProvider",bo,[]),zd(e,"TwitterAuthProvider",ko,[]),zd(e,"OAuthProvider",mo,[Ed("providerId")]),zd(e,"SAMLAuthProvider",po,[Ed("providerId")]),zd(e,"PhoneAuthProvider",jo,[{name:"auth",J:"an instance of Firebase Auth",optional:!0,K:function(e){return!!(e&&e instanceof qc)}}]),zd(e,"RecaptchaVerifier",Dd,[Fd(Ed(),{name:"",J:"an HTML element",optional:!1,K:function(e){return!!(e&&e instanceof Element)}},"recaptchaContainer"),Ad("recaptchaParameters",!0),{name:"app",J:"an instance of Firebase App",optional:!0,K:function(e){return!!(e&&e instanceof t.app.App)}}]),zd(e,"ActionCodeURL",_i,[]),zd(e,"PhoneMultiFactorGenerator",fd,[]),t.INTERNAL.registerComponent({name:"auth",instanceFactory:function(e){return new qc(e=e.getProvider("app").getImmediate())},multipleInstances:!1,serviceProps:e,instantiationMode:"LAZY",type:"PUBLIC"}),t.INTERNAL.registerComponent({name:"auth-internal",instanceFactory:function(e){return{getUid:w((e=e.getProvider("auth").getImmediate()).getUid,e),getToken:w(e.mc,e),addAuthTokenListener:w(e.cc,e),removeAuthTokenListener:w(e.Oc,e)}},multipleInstances:!1,instantiationMode:"LAZY",type:"PRIVATE"}),t.registerVersion("@firebase/auth","0.15.0"),t.INTERNAL.extendNamespace({User:sc})}()}).apply("undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},LRne:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("z+Ro"),i=n("yCtX"),o=n("jZKg");function a(...e){let t=e[e.length-1];return Object(r.a)(t)?(e.pop(),Object(o.a)(e,t)):Object(i.a)(e)}},Lhse:function(e,t,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",(function(){return i}));const i=r()},Loxo:function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},Lq6m:function(e,t,n){"use strict";var r=n("KOl+");n.d(t,"a",(function(){return i}));var i=function(){function e(){}return e.installed=function(){return!0===Object(r.a)(this.pluginRef)},e.getPlugin=function(){return"undefined"!=typeof window?function(e,t){for(var n=t.split("."),r=e,i=0;i<n.length;i++){if(!r)return null;r=r[n[i]]}return r}(window,this.pluginRef):null},e.getPluginName=function(){return this.pluginName},e.getPluginRef=function(){return this.pluginRef},e.getPluginInstallName=function(){return this.plugin}
2,e.getSupportedPlatforms=function(){return this.platforms},e.pluginName="",e.pluginRef="",e.plugin="",e.repo="",e.platforms=[],e.install="",e}()},LyHe:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n("mrSG"),i=n("qNh5"),o=n("SZJ3"),a=n("pRuv"),s=n("SxV6"),l=n("eIep"),u=n("lJxs"),c=n("UXun"),d=n("ZZ/e"),h=n("8Y7J");let f=(()=>{class e{constructor(e,t,n,r){this.auth=e,this.engine=t,this.watchdog=n,this.modalCtrl=r,this.cache=new Map,this.compareFn=(e,t)=>e.title.toLowerCase()<t.title.toLowerCase()?-1:e.title.toLowerCase()>t.title.toLowerCase()?1:0,this.startup()}startup(){return r.__awaiter(this,void 0,void 0,(function*(){var e;this.sqcnode=yield(e=this.auth.node$,e.pipe(Object(s.a)()).toPromise())}))}getFront(){const e="bulletins";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(l.a)(e=>this.engine.fetchListWithKeysByOrder(e+"bulletins/front/","title")),Object(u.a)(e=>e.sort(this.compareFn)),Object(c.a)(1));return this.cache[e]=t,t}getBulletinExpress(e){return this.getFront().pipe(Object(u.a)(t=>t.filter(t=>t.$key===e)))}getBulletins(){const e="bulletinspublished";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(l.a)(e=>this.engine.fetchListWithKeysByChild(e+"/bulletins/front","published",!0)),Object(u.a)(e=>this.engine._sortBy(e,"timestamp")),Object(u.a)(e=>e.reverse()),Object(c.a)(1));return this.cache[e]=t,t}getAlerts(){const e="alerts";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(l.a)(e=>this.engine.fetchListWithKeysByOrder(e+"alerts/front/","title")),Object(u.a)(e=>e.sort(this.compareFn)),Object(c.a)(1));return this.cache[e]=t,t}getActiveAlerts(){const e="alertsactive";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(l.a)(e=>this.engine.fetchListWithKeysByChild(e+"/alerts/front","active",!0)),Object(u.a)(e=>this.engine._sortBy(e,"timestamp")),Object(u.a)(e=>e.reverse()),Object(c.a)(1));return this.cache[e]=t,t}getBulletin(e){if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(l.a)(t=>this.engine.fetchObjectWithKey(t+"/bulletins/back/"+e)),Object(c.a)(1));return this.cache[e]=t,t}getAlert(e){if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(l.a)(t=>this.engine.fetchObjectWithKey(t+"/alerts/back/"+e)),Object(c.a)(1));return this.cache[e]=t,t}subscribeUser(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const[i,o]=yield Promise.all([this.getFront().pipe(Object(s.a)()).toPromise(),this.auth.getNode()]),a={};return i.forEach(i=>r.__awaiter(this,void 0,void 0,(function*(){const r=this.engine._keys(i.groups),s=this.engine._keys(i.sites),l=this.engine._intersection(r,t),u=this.engine._intersection(s,n);this.engine._merge(a,this._subUser(o,i,e,!this.engine._isEmpty(l)&&!this.engine._isEmpty(u)||null))}))),a}))}_subUser(e,t,n,r){const i=t.$key,o={};return o[e+"users/back/"+n.$key+"/bulletins/"+i]=r,o[e+"bulletins/back/"+i+"/subscribers/"+n.$key]=r,o}}return e.ngInjectableDef=h.Zb({factory:function(){return new e(h.ac(i.a),h.ac(o.a),h.ac(a.a),h.ac(d.Kb))},token:e,providedIn:"root"}),e})()},MDrr:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("IdTS"),i=n("8piP"),o=n("I9vy"),a=n("8Y7J");let s=(()=>{class e{constructor(){this.BLOCKELEMENTS=/^(address|article|aside|audio|blockquote|canvas|center|dd|div|dl|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|noscript|ol|output|p|pre|section|table|tfoot|ul|video)$/i,this.LISTELEMENTS=/^(ul|li|ol)$/i,this.VALIDELEMENTS=/^(#text|span|address|article|aside|audio|blockquote|canvas|center|dd|div|dl|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|noscript|ol|output|p|pre|section|table|tfoot|ul|video|li)$/i,this.alignmentStyles=["left","right","center","justify"]}classy(e,t,n,i){const o=t.split(" ");r(o,n),i?i&&!0===e&&o.push(n):o.push(e);let a="";return o.forEach(e=>{a=""===a||" "===a?e:a+" "+e}),a}changeTextAlignment(e,t){return this.classy(e,t,this.alignmentStyles)}currentTextAlignment(e){return i(e.split(" "),this.alignmentStyles)}isCurrentTextAlignment(e,t){return!o(i([e],t.split(" ")))}alignmentIcon(e){let t="";switch(e){case"left":t="fz-align-left";break;case"right":t="fz-align-right";break;case"center":t="fz-align-center";break;case"justify":t="fz-align-justify";break;default:t="fz-align-left"}return t}textSize(e,t){let n="div";switch(e){case"26px":n="H1";break;case"24px":n="H2";break;case"22px":n="H3";break;case"20px":n="H4";break;case"14px":default:n="div"}return"33px"===t&&(n="p"),n}stripHtmlToText(e){const t=document.createElement("DIV");t.innerHTML=e;let n=t.textContent||t.innerText||"";return n.replace("\u200b",""),n=n.trim(),n}getDomFromHtml(e){const t=document.createElement("DIV");return t.innerHTML=e,t}}return e.ngInjectableDef=a.Zb({factory:function(){return new e},token:e,providedIn:"root"}),e})()},"MO+k":function(e,t,n){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
vendor: 5,207 bytes, line 2
2ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(e,n){return function(e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[t[r]]=r);var i=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in i)if(i.hasOwnProperty(o)){if(!("channels"in i[o]))throw new Error("missing channels property: "+o);if(!("labels"in i[o]))throw new Error("missing channel labels property: "+o);if(i[o].labels.length!==i[o].channels)throw new Error("channel and label counts mismatch: "+o);var a=i[o].channels,s=i[o].labels;delete i[o].channels,delete i[o].labels,Object.defineProperty(i[o],"channels",{value:a}),Object.defineProperty(i[o],"labels",{value:s})}i.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a;return s===a?t=0:r===s?t=(i-o)/l:i===s?t=2+(o-r)/l:o===s&&(t=4+(r-i)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?l/(s+a):l/(2-s-a)),100*n]},i.rgb.hsv=function(e){var t,n,r,i,o,a=e[0]/255,s=e[1]/255,l=e[2]/255,u=Math.max(a,s,l),c=u-Math.min(a,s,l),d=function(e){return(u-e)/6/c+.5};return 0===c?i=o=0:(o=c/u,t=d(a),n=d(s),r=d(l),a===u?i=r-n:s===u?i=1/3+t-r:l===u&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*u]},i.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[i.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},i.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},i.rgb.keyword=function(e){var r=n[e];if(r)return r;var i,o,a,s=1/0;for(var l in t)if(t.hasOwnProperty(l)){var u=(o=e,a=t[l],Math.pow(o[0]-a[0],2)+Math.pow(o[1]-a[1],2)+Math.pow(o[2]-a[2],2));u<s&&(s=u,i=l)}return i},i.keyword.rgb=function(e){return t[e]},i.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},i.rgb.lab=function(e){var t=i.rgb.xyz(e),n=t[0],r=t[1],o=t[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},i.hsl.rgb=function(e){var t,n,r,i,o,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[o=255*l,o,o];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),i=[0,0,0];for(var u=0;u<3;u++)(r=a+1/3*-(u-1))<0&&r++,r>1&&r--,i[u]=255*(o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t);return i},i.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),(r+n)/2*100]},i.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),l=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}},i.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return r=(2-o)*a,n=o*s,[i,100*(n=(n/=(t=(2-o)*s)<=1?t:2-t)||0),100*(r/=2)]},i.hwb.rgb=function(e){var t,n,r,i,o,a,s,l=e[0]/360,u=e[1]/100,c=e[2]/100,d=u+c;switch(d>1&&(u/=d,c/=d),r=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(r=1-r),i=u+r*((n=1-c)-u),t){default:case 6:case 0:o=n,a=i,s=u;break;case 1:o=i,a=n,s=u;break;case 2:o=u,a=n,s=i;break;case 3:o=u,a=i,s=n;break;case 4:o=i,a=u,s=n;break;case 5:o=n,a=u,s=i}return[255*o,255*a,255*s]},i.cmyk.rgb=function(e){var t=e[1]/100,n=e[2]/100,r=e[3]/100;return[255*(1-Math.min(1,e[0]/100*(1-r)+r)),255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r))]},i.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;
vendor: 4,459 bytes, line 2
2return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},i.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},i.lab.xyz=function(e){var t,n,r;t=e[1]/500+(n=(e[0]+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),o=Math.pow(t,3),a=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},i.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},i.lch.lab=function(e){var t,n=e[1];return t=e[2]/360*2*Math.PI,[e[0],n*Math.cos(t),n*Math.sin(t)]},i.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],o=1 in arguments?arguments[1]:i.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},i.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},i.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},i.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},i.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),a=Math.min(Math.min(n,r),i),s=o-a;return t=s<=0?0:o===n?(r-i)/s%6:o===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},i.hsl.hcg=function(e){var t,n=e[1]/100,r=e[2]/100,i=0;return(t=r<.5?2*n*r:2*n*(1-r))<1&&(i=(r-.5*t)/(1-t)),[e[0],100*t,100*i]},i.hsv.hcg=function(e){var t=e[2]/100,n=e[1]/100*t,r=0;return n<1&&(r=(t-n)/(1-n)),[e[0],100*n,100*r]},i.hcg.rgb=function(e){var t=e[1]/100,n=e[2]/100;if(0===t)return[255*n,255*n,255*n];var r,i=[0,0,0],o=e[0]/360%1*6,a=o%1,s=1-a;switch(Math.floor(o)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return[255*(t*i[0]+(r=(1-t)*n)),255*(t*i[1]+r),255*(t*i[2]+r)]},i.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},i.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},i.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},i.hwb.hcg=function(e){var t=1-e[2]/100,n=t-e[1]/100,r=0;return n<1&&(r=(t-n)/(1-n)),[e[0],100*n,100*r]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=i.gray.hsv=function(e){return[0,0,e[0]]},i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}(n={exports:{}}),n.exports}();function r(e,t){return function(n){return t(e(n))}}function i(e,t){for(var i=[t[e].parent,e],o=n[t[e].parent][e],a=t[e].parent;t[a].parent;)i.unshift(t[a].parent),o=r(n[t[a].parent][a],o),a=t[a].parent;return o.conversion=i,o}var o={};
2Object.keys(n).forEach((function(e){o[e]={},Object.defineProperty(o[e],"channels",{value:n[e].channels}),Object.defineProperty(o[e],"labels",{value:n[e].labels});var t=function(e){for(var t=function(e){var t=function(){for(var e={},t=Object.keys(n),r=t.length,i=0;i<r;i++)e[t[i]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var i=r.pop(),o=Object.keys(n[i]),a=o.length,s=0;s<a;s++){var l=o[s],u=t[l];-1===u.distance&&(u.distance=t[i].distance+1,u.parent=i,r.unshift(l))}return t}(e),r={},o=Object.keys(t),a=o.length,s=0;s<a;s++){var l=o[s];null!==t[l].parent&&(r[l]=i(l,t))}return r}(e);Object.keys(t).forEach((function(n){var r=t[n];o[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i<r;i++)n[i]=Math.round(n[i]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),o[e][n].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var a=o,s={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},l={getRgba:u,getHsla:c,getRgb:function(e){var t=u(e);return t&&t.slice(0,3)},getHsl:function(e){var t=c(e);return t&&t.slice(0,3)},getHwb:d,getAlpha:function(e){var t=u(e);return t||(t=c(e))||(t=d(e))?t[3]:void 0},hexString:function(e,t){return t=void 0!==t&&3===e.length?t:e[3],"#"+g(e[0])+g(e[1])+g(e[2])+(t>=0&&t<1?g(Math.round(255*t)):"")},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?h(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"}
vendor: 4,940 bytes, line 2
2,rgbaString:h,percentString:function(e,t){return t<1||e[3]&&e[3]<1?f(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"},percentaString:f,hslString:function(e,t){return t<1||e[3]&&e[3]<1?p(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:p,hwbString:function(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return _[e.slice(0,3)]}};function u(e){if(e){var t=[0,0,0],n=1,r=e.match(/^#([a-fA-F0-9]{3,4})$/i),i="";if(r){i=(r=r[1])[3];for(var o=0;o<t.length;o++)t[o]=parseInt(r[o]+r[o],16);i&&(n=Math.round(parseInt(i+i,16)/255*100)/100)}else if(r=e.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(i=r[2],r=r[1],o=0;o<t.length;o++)t[o]=parseInt(r.slice(2*o,2*o+2),16);i&&(n=Math.round(parseInt(i,16)/255*100)/100)}else if(r=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<t.length;o++)t[o]=parseInt(r[o+1]);n=parseFloat(r[4])}else if(r=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<t.length;o++)t[o]=Math.round(2.55*parseFloat(r[o+1]));n=parseFloat(r[4])}else if(r=e.match(/(\w+)/)){if("transparent"==r[1])return[0,0,0,0];if(!(t=s[r[1]]))return}for(o=0;o<t.length;o++)t[o]=m(t[o],0,255);return n=n||0==n?m(n,0,1):1,t[3]=n,t}}function c(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[m(parseInt(t[1]),0,360),m(parseFloat(t[2]),0,100),m(parseFloat(t[3]),0,100),m(isNaN(n)?1:n,0,1)]}}}function d(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[m(parseInt(t[1]),0,360),m(parseFloat(t[2]),0,100),m(parseFloat(t[3]),0,100),m(isNaN(n)?1:n,0,1)]}}}function h(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function f(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function p(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function m(e,t,n){return Math.min(Math.max(t,e),n)}function g(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var _={};for(var y in s)_[s[y]]=y;var v=function(e){return e instanceof v?e:this instanceof v?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=l.getRgba(e))?this.setValues("rgb",t):(t=l.getHsla(e))?this.setValues("hsl",t):(t=l.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new v(e);var t};v.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return l.hexString(this.values.rgb)},rgbString:function(){return l.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return l.rgbaString(this.values.rgb,this.values.alpha)}
vendor: 5,319 bytes, line 2
2,percentString:function(){return l.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return l.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return l.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return l.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return l.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=e,r=void 0===t?.5:t,i=2*r-1,o=this.alpha()-n.alpha(),a=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,s=1-a;return this.rgb(a*this.red()+s*n.red(),a*this.green()+s*n.green(),a*this.blue()+s*n.blue()).alpha(this.alpha()*r+n.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new v,r=this.values,i=n.values;for(var o in r)r.hasOwnProperty(o)&&("[object Array]"===(t={}.toString.call(e=r[o]))?i[o]=e.slice(0):"[object Number]"===t?i[o]=e:console.error("unexpected color value:",e));return n}},v.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},v.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},v.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r<e.length;r++)n[e.charAt(r)]=t[e][r];return 1!==t.alpha&&(n.a=t.alpha),n},v.prototype.setValues=function(e,t){var n,r,i=this.values,o=this.spaces,s=this.maxes,l=1;if(this.valid=!0,"alpha"===e)l=t;else if(t.length)i[e]=t.slice(0,e.length),l=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)i[e][n]=t[e.charAt(n)];l=t.a}else if(void 0!==t[o[e][0]]){var u=o[e];for(n=0;n<e.length;n++)i[e][n]=t[u[n]];l=t.alpha}if(i.alpha=Math.max(0,Math.min(1,void 0===l?i.alpha:l)),"alpha"===e)return!1;for(n=0;n<e.length;n++)r=Math.max(0,Math.min(s[e][n],i[e][n])),i[e][n]=Math.round(r);for(var c in o)c!==e&&(i[c]=a[e][c](i[e]));return!0},v.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},v.prototype.setChannel=function(e,t,n){var r=this.values[e];return void 0===n?r[t]:(n===r[t]||(r[t]=n,this.setValues(e,r)),this)},"undefined"!=typeof window&&(window.Color=v);var b=v;function w(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}var k,M={noop:function(){},uid:(k=0,function(){return k++}),isNullOrUndef:function(e){return null==e},isArray:function(e){if(Array.isArray&&Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},isFinite:function(e){return("number"==typeof e||e instanceof Number)&&isFinite(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,n){return M.valueOrDefault(M.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,n,r){var i,o,a;if(M.isArray(e))if(o=e.length,r)for(i=o-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;i<o;i++)t.call(n,e[i],i);else if(M.isObject(e))for(o=(a=Object.keys(e)).length,i=0;i<o;i++)t.call(n,e[a[i]],a[i])},arrayEquals:function(e,t){var n,r,i,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(o=t[n],(i=e[n])instanceof Array&&o instanceof Array){if(!M.arrayEquals(i,o))return!1}else if(i!==o)return!1;return!0},clone:function(e){if(M.isArray(e))return e.map(M.clone);if(M.isObject(e)){for(var t=Object.create(e),n=Object.keys(e),r=n.length,i=0;i<r;++i)t[n[i]]=M.clone(e[n[i]]);return t}return e},_merger:function(e,t,n,r){if(w(e)){var i=t[e],o=n[e];
vendor: 4,454 bytes, line 2
2M.isObject(i)&&M.isObject(o)?M.merge(i,o,r):t[e]=M.clone(o)}},_mergerIf:function(e,t,n){if(w(e)){var r=t[e],i=n[e];M.isObject(r)&&M.isObject(i)?M.mergeIf(r,i):t.hasOwnProperty(e)||(t[e]=M.clone(i))}},merge:function(e,t,n){var r,i,o,a,s,l=M.isArray(t)?t:[t],u=l.length;if(!M.isObject(e))return e;for(r=(n=n||{}).merger||M._merger,i=0;i<u;++i)if(M.isObject(t=l[i]))for(s=0,a=(o=Object.keys(t)).length;s<a;++s)r(o[s],e,t,n);return e},mergeIf:function(e,t){return M.merge(e,t,{merger:M._mergerIf})},extend:Object.assign||function(e){return M.merge(e,[].slice.call(arguments,1),{merger:function(e,t,n){t[e]=n[e]}})},inherits:function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=t.prototype,n.prototype=new r,n.extend=M.inherits,e&&M.extend(n.prototype,e),n.__super__=t.prototype,n},_deprecated:function(e,t,n,r){void 0!==t&&console.warn(e+': "'+n+'" is deprecated. Please use "'+r+'" instead')}},S=M;M.callCallback=M.callback,M.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},M.getValueOrDefault=M.valueOrDefault,M.getValueAtIndexOrDefault=M.valueAtIndexOrDefault;var T={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),e<1?r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-T.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*T.easeInBounce(2*e):.5*T.easeOutBounce(2*e-1)+.5}},x={effects:T};S.easingEffects=T;var L=Math.PI,D=L/180,C=2*L,O=L/2,E=L/4,j=2*L/3,A={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,r,i,o){if(o){var a=Math.min(o,i/2,r/2),s=t+a,l=n+a,u=t+r-a,c=n+i-a;e.moveTo(t,l),s<u&&l<c?(e.arc(s,l,a,-L,-O),e.arc(u,l,a,-O,0),e.arc(u,c,a,0,O),e.arc(s,c,a,O,L)):s<u?(e.moveTo(s,n),e.arc(u,l,a,-O,O),e.arc(s,l,a,O,L+O)):l<c?(e.arc(s,l,a,-L,0),e.arc(s,c,a,0,L)):e.arc(s,l,a,-L,L),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,r,i)},drawPoint:function(e,t,n,r,i,o){var a,s,l,u,c,d=(o||0)*D;if(t&&"object"==typeof t&&("[object HTMLImageElement]"===(a=t.toString())||"[object HTMLCanvasElement]"===a))return e.save(),e.translate(r,i),e.rotate(d),e.drawImage(t,-t.width/2,-t.height/2,t.width,t.height),void e.restore(
vendor: 28,934 bytes, line 2
2);if(!(isNaN(n)||n<=0)){switch(e.beginPath(),t){default:e.arc(r,i,n,0,C),e.closePath();break;case"triangle":e.moveTo(r+Math.sin(d)*n,i-Math.cos(d)*n),d+=j,e.lineTo(r+Math.sin(d)*n,i-Math.cos(d)*n),d+=j,e.lineTo(r+Math.sin(d)*n,i-Math.cos(d)*n),e.closePath();break;case"rectRounded":u=n-(c=.516*n),s=Math.cos(d+E)*u,l=Math.sin(d+E)*u,e.arc(r-s,i-l,c,d-L,d-O),e.arc(r+l,i-s,c,d-O,d),e.arc(r+s,i+l,c,d,d+O),e.arc(r-l,i+s,c,d+O,d+L),e.closePath();break;case"rect":if(!o){u=Math.SQRT1_2*n,e.rect(r-u,i-u,2*u,2*u);break}d+=E;case"rectRot":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(r-s,i-l),e.lineTo(r+l,i-s),e.lineTo(r+s,i+l),e.lineTo(r-l,i+s),e.closePath();break;case"crossRot":d+=E;case"cross":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(r-s,i-l),e.lineTo(r+s,i+l),e.moveTo(r+l,i-s),e.lineTo(r-l,i+s);break;case"star":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(r-s,i-l),e.lineTo(r+s,i+l),e.moveTo(r+l,i-s),e.lineTo(r-l,i+s),d+=E,s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(r-s,i-l),e.lineTo(r+s,i+l),e.moveTo(r+l,i-s),e.lineTo(r-l,i+s);break;case"line":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(r-s,i-l),e.lineTo(r+s,i+l);break;case"dash":e.moveTo(r,i),e.lineTo(r+Math.cos(d)*n,i+Math.sin(d)*n)}e.fill(),e.stroke()}},_isPointInArea:function(e,t){return e.x>t.left-1e-6&&e.x<t.right+1e-6&&e.y>t.top-1e-6&&e.y<t.bottom+1e-6},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,r){var i=n.steppedLine;if(i){if("middle"===i){var o=(t.x+n.x)/2;e.lineTo(o,r?n.y:t.y),e.lineTo(o,r?t.y:n.y)}else"after"===i&&!r||"after"!==i&&r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}else n.tension?e.bezierCurveTo(r?t.controlPointPreviousX:t.controlPointNextX,r?t.controlPointPreviousY:t.controlPointNextY,r?n.controlPointNextX:n.controlPointPreviousX,r?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}},P=A;S.clear=A.clear,S.drawRoundedRectangle=function(e){e.beginPath(),A.roundedRect.apply(A,arguments)};var I={_set:function(e,t){return S.merge(this[e]||(this[e]={}),t)}};I._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var Y=I,R=S.valueOrDefault,N={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,r,i;return S.isObject(e)?(t=+e.top||0,n=+e.right||0,r=+e.bottom||0,i=+e.left||0):t=n=r=i=+e||0,{top:t,right:n,bottom:r,left:i,height:t+r,width:i+n}},_parseFont:function(e){var t=Y.global,n=R(e.fontSize,t.defaultFontSize),r={family:R(e.fontFamily,t.defaultFontFamily),lineHeight:S.options.toLineHeight(R(e.lineHeight,t.defaultLineHeight),n),size:n,style:R(e.fontStyle,t.defaultFontStyle),weight:null,string:""};return r.string=function(e){return!e||S.isNullOrUndef(e.size)||S.isNullOrUndef(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(r),r},resolve:function(e,t,n,r){var i,o,a,s=!0;for(i=0,o=e.length;i<o;++i)if(void 0!==(a=e[i])&&(void 0!==t&&"function"==typeof a&&(a=a(t),s=!1),void 0!==n&&S.isArray(a)&&(a=a[n],s=!1),void 0!==a))return r&&!s&&(r.cacheable=!1),a}},F={_factorize:function(e){var t,n=[],r=Math.sqrt(e);for(t=1;t<r;t++)e%t==0&&(n.push(t),n.push(e/t));return r===(0|r)&&n.push(r),n.sort((function(e,t){return e-t})).pop(),n},log10:Math.log10||function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t}},H=F;S.log10=F.log10;var $=S,z=P,W=N,U=H;$.easing=x,$.canvas=z,$.options=W,$.math=U,$.rtl={getRtlAdapter:function(e,t,n){return e?function(e,t){return{x:function(n){return e+e+t-n},setWidth:function(e){t=e},textAlign:function(e){return"center"===e?e:"right"===e?"left":"right"},xPlus:function(e,t){return e-t},leftForLtr:function(e,t){return e-t}}}(t,n):{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}}},overrideTextDirection:function(e,t){var n,r;"ltr"!==t&&"rtl"!==t||(r=[(n=e.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)},restoreTextDirection:function(e){var t=e.prevTextDirection;void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}};var B=function(e){$.extend(this,e),this.initialize.apply(this,arguments)};$.extend(B.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=$.extend({},e._model)),e._start={},e},transition:function(e){var t=this,n=t._model,r=t._start,i=t._view;return n&&1!==e?(i||(i=t._view={}),r||(r=t._start={}),function(e,t,n,r){var i,o,a,s,l,u,c,d,h,f=Object.keys(n);for(i=0,o=f.length;i<o;++i)if(u=n[a=f[i]],t.hasOwnProperty(a)||(t[a]=u),(s=t[a])!==u&&"_"!==a[0]){if(e.hasOwnProperty(a)||(e[a]=s),(c=typeof u)==typeof(l=e[a]))if("string"===c){if((d=b(l)).valid&&(h=b(u)).valid){t[a]=h.mix(d,r).rgbString();continue}}else if($.isFinite(l)&&$.isFinite(u)){t[a]=l+(u-l)*r;continue}t[a]=u}}(r,i,n,e),t):(t._view=$.extend({},n),t._start=null,t)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return $.isNumber(this._model.x)&&$.isNumber(this._model.y)}}),B.extend=$.inherits;var V=B,q=V.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),G=q;Object.defineProperty(q.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(q.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}}),Y._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:$.noop,onComplete:$.noop}});var K={animations:[],request:null,addAnimation:function(e,t,n,r){var i,o,a=this.animations;for(t.chart=e,t.startTime=Date.now(),t.duration=n,r||(e.animating=!0),i=0,o=a.length;i<o;++i)if(a[i].chart===e)return void(a[i]=t);a.push(t),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=$.findIndex(this.animations,(function(t){return t.chart===e}));-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=$.requestAnimFrame.call(window,(function(){e.request=null,e.startDigest()})))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var e,t,n,r,i=this.animations,o=0;o<i.length;)t=(e=i[o]).chart,n=e.numSteps,r=Math.floor((Date.now()-e.startTime)/e.duration*n)+1,e.currentStep=Math.min(r,n),$.callback(e.render,[t,e],t),$.callback(e.onAnimationProgress,[e],t),e.currentStep>=n?($.callback(e.onAnimationComplete,[e],t),t.animating=!1,i.splice(o,1)):++o}},J=$.options.resolve,Q=["push","pop","shift","splice","unshift"];function X(e,t){var n=e._chartjs;if(n){var r=n.listeners,i=r.indexOf(t);-1!==i&&r.splice(i,1),r.length>0||(Q.forEach((function(t){delete e[t]})),delete e._chartjs)}}var Z=function(e,t){this.initialize(e,t)};$.extend(Z.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,n=t.scales,r=this.getDataset(),i=t.options.scales;null!==e.xAxisID&&e.xAxisID in n&&!r.xAxisID||(e.xAxisID=r.xAxisID||i.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in n&&!r.yAxisID||(e.yAxisID=r.yAxisID||i.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&X(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),r=this.getDataset().data||[],i=n.data;for(e=0,t=r.length;e<t;++e)i[e]=i[e]||this.createMetaData(e);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var e,t,n=this,r=n.getDataset(),i=r.data||(r.data=[]);n._data!==i&&(n._data&&X(n._data,n),i&&Object.isExtensible(i)&&(t=n,(e=i)._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),Q.forEach((function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),i=r.apply(this,t);return $.each(e._chartjs.listeners,(function(e){"function"==typeof e[n]&&e[n].apply(e,t)})),i}})})))),n._data=i),n.resyncElements()},_configure:function(){this._config=$.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(e,t,n){"_meta"!==e&&"data"!==e&&$._merger(e,t,n)}})},_update:function(e){this._configure(),this._cachedDataOpts=null,this.update(e)},update:$.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],r=n.length,i=0;i<r;++i)n[i].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,r=0;for(e.dataset&&e.dataset.draw();r<n;++r)t[r].draw()},getStyle:function(e){var t,n=this.getMeta(),r=n.dataset;return this._configure(),!1!==(t=r&&void 0===e?this._resolveDatasetElementOptions(r||{}):this._resolveDataElementOptions(n.data[e=e||0]||{},e)).fill&&null!==t.fill||(t.backgroundColor=t.borderColor),t},_resolveDatasetElementOptions:function(e,t){var n,r,i,o,a=this,s=a.chart,l=a._config,u=e.custom||{},c=s.options.elements[a.datasetElementType.prototype._type]||{},d=a._datasetElementOptions,h={},f={chart:s,dataset:a.getDataset(),datasetIndex:a.index,hover:t};for(n=0,r=d.length;n<r;++n)i=d[n],o=t?"hover"+i.charAt(0).toUpperCase()+i.slice(1):i,h[i]=J([u[o],l[o],c[o]],f);return h},_resolveDataElementOptions:function(e,t){var n=this,r=e&&e.custom,i=n._cachedDataOpts;if(i&&!r)return i;var o,a,s,l,u=n.chart,c=n._config,d=u.options.elements[n.dataElementType.prototype._type]||{},h=n._dataElementOptions,f={},p={chart:u,dataIndex:t,dataset:n.getDataset(),datasetIndex:n.index},m={cacheable:!r};if(r=r||{},$.isArray(h))for(a=0,s=h.length;a<s;++a)f[l=h[a]]=J([r[l],c[l],d[l]],p,t,m);else for(a=0,s=(o=Object.keys(h)).length;a<s;++a)f[l=o[a]]=J([r[l],c[h[l]],c[l],d[l]],p,t,m);return m.cacheable&&(n._cachedDataOpts=Object.freeze(f)),f},removeHoverStyle:function(e){$.merge(e._model,e.$previousStyle||{}),delete e.$previousStyle},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,r=e.custom||{},i=e._model,o=$.getHoverColor;e.$previousStyle={backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:i.borderWidth},i.backgroundColor=J([r.hoverBackgroundColor,t.hoverBackgroundColor,o(i.backgroundColor)],void 0,n),i.borderColor=J([r.hoverBorderColor,t.hoverBorderColor,o(i.borderColor)],void 0,n),i.borderWidth=J([r.hoverBorderWidth,t.hoverBorderWidth,i.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var e=this.getMeta().dataset;e&&this.removeHoverStyle(e)},_setDatasetHoverStyle:function(){var e,t,n,r,i,o,a=this.getMeta().dataset,s={};if(a){for(o=a._model,i=this._resolveDatasetElementOptions(a,!0),e=0,t=(r=Object.keys(i)).length;e<t;++e)s[n=r[e]]=o[n],o[n]=i[n];a.$previousStyle=s}},resyncElements:function(){var e=this.getMeta(),t=this.getDataset().data,n=e.data.length,r=t.length;r<n?e.data.splice(r,n-r):r>n&&this.insertElements(n,r-n)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+n)},onDataPush:function(){var e=arguments.length;this.insertElements(this.getDataset().data.length-e,e)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),Z.extend=$.inherits;var ee=Z,te=2*Math.PI;function ne(e,t){var n=t.startAngle,r=t.endAngle,i=t.pixelMargin,o=i/t.outerRadius,a=t.x,s=t.y;e.beginPath(),e.arc(a,s,t.outerRadius,n-o,r+o),t.innerRadius>i?e.arc(a,s,t.innerRadius-i,r+(o=i/t.innerRadius),n-o,!0):e.arc(a,s,i,r+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}Y._set("global",{elements:{arc:{backgroundColor:Y.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var re=V.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var r=$.getAngleFromPoint(n,{x:e,y:t}),i=r.angle,o=r.distance,a=n.startAngle,s=n.endAngle;s<a;)s+=te;for(;i>s;)i-=te;for(;i<a;)i+=te;return i>=a&&i<=s&&o>=n.innerRadius&&o<=n.outerRadius}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,r="inner"===n.borderAlign?.33:0,i={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-r,0),pixelMargin:r,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/te)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,i.fullCircles){for(i.endAngle=i.startAngle+te,t.beginPath(),t.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),t.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),t.closePath(),e=0;e<i.fullCircles;++e)t.fill();i.endAngle=i.startAngle+n.circumference%te}t.beginPath(),t.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),t.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),t.closePath(),t.fill(),n.borderWidth&&function(e,t,n){var r="inner"===t.borderAlign;r?(e.lineWidth=2*t.borderWidth,e.lineJoin="round"):(e.lineWidth=t.borderWidth,e.lineJoin="bevel"),n.fullCircles&&function(e,t,n,r){var i,o=n.endAngle;for(r&&(n.endAngle=n.startAngle+te,ne(e,n),n.endAngle=o,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=te,n.fullCircles--)),e.beginPath(),e.arc(n.x,n.y,n.innerRadius,n.startAngle+te,n.startAngle,!0),i=0;i<n.fullCircles;++i)e.stroke();for(e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.startAngle+te),i=0;i<n.fullCircles;++i)e.stroke()}(e,t,n,r),r&&ne(e,n),e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.endAngle),e.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),e.closePath(),e.stroke()}(t,n,i),t.restore()}}),ie=$.valueOrDefault,oe=Y.global.defaultColor;Y._set("global",{elements:{line:{tension:.4,backgroundColor:oe,borderWidth:3,borderColor:oe,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var ae=V.extend({_type:"line",draw:function(){var e,t,n,r=this,i=r._view,o=r._chart.ctx,a=i.spanGaps,s=r._children.slice(),l=Y.global,u=l.elements.line,c=-1,d=r._loop;if(s.length){if(r._loop){for(e=0;e<s.length;++e)if(t=$.previousItem(s,e),!s[e]._view.skip&&t._view.skip){s=s.slice(e).concat(s.slice(0,e)),d=a;break}d&&s.push(s[0])}for(o.save(),o.lineCap=i.borderCapStyle||u.borderCapStyle,o.setLineDash&&o.setLineDash(i.borderDash||u.borderDash),o.lineDashOffset=ie(i.borderDashOffset,u.borderDashOffset),o.lineJoin=i.borderJoinStyle||u.borderJoinStyle,o.lineWidth=ie(i.borderWidth,u.borderWidth),o.strokeStyle=i.borderColor||l.defaultColor,o.beginPath(),(n=s[0]._view).skip||(o.moveTo(n.x,n.y),c=0),e=1;e<s.length;++e)n=s[e]._view,t=-1===c?$.previousItem(s,e):s[c],n.skip||(c!==e-1&&!a||-1===c?o.moveTo(n.x,n.y):$.canvas.lineTo(o,t._view,n),c=e);d&&o.closePath(),o.stroke(),o.restore()}}}),se=$.valueOrDefault,le=Y.global.defaultColor;function ue(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}Y._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:le,borderColor:le,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var ce=V.extend({_type:"point",inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:ue,inXRange:ue,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._chart.ctx,r=t.pointStyle,i=t.rotation,o=t.radius,a=t.x,s=t.y,l=Y.global,u=l.defaultColor;t.skip||(void 0===e||$.canvas._isPointInArea(t,e))&&(n.strokeStyle=t.borderColor||u,n.lineWidth=se(t.borderWidth,l.elements.point.borderWidth),n.fillStyle=t.backgroundColor||u,$.canvas.drawPoint(n,r,o,a,s,i))}}),de=Y.global.defaultColor;function he(e){return e&&void 0!==e.width}function fe(e){var t,n,r,i,o;return he(e)?(t=e.x-(o=e.width/2),n=e.x+o,r=Math.min(e.y,e.base),i=Math.max(e.y,e.base)):(o=e.height/2,t=Math.min(e.x,e.base),n=Math.max(e.x,e.base),r=e.y-o,i=e.y+o),{left:t,top:r,right:n,bottom:i}}function pe(e,t,n){return e===t?n:e===n?t:e}function me(e,t,n){var r=null===t,i=null===n,o=!(!e||r&&i)&&fe(e);return o&&(r||t>=o.left&&t<=o.right)&&(i||n>=o.top&&n<=o.bottom)}Y._set("global",{elements:{rectangle:{backgroundColor:de,borderColor:de,borderSkipped:"bottom",borderWidth:0}}});var ge=V.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,n=function(e){var t=fe(e),n=t.right-t.left,r=t.bottom-t.top,i=function(e,t,n){var r,i,o,a,s=e.borderWidth,l=function(e){var t=e.borderSkipped,n={};return t?(e.horizontal?e.base>e.x&&(t=pe(t,"left","right")):e.base<e.y&&(t=pe(t,"bottom","top")),n[t]=!0,n):n}(e);return $.isObject(s)?(r=+s.top||0,i=+s.right||0,o=+s.bottom||0,a=+s.left||0):r=i=o=a=+s||0,{t:l.top||r<0?0:r>n?n:r,r:l.right||i<0?0:i>t?t:i,b:l.bottom||o<0?0:o>n?n:o,l:l.left||a<0?0:a>t?t:a}}(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r},inner:{x:t.left+i.l,y:t.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b}}}(t),r=n.outer,i=n.inner;e.fillStyle=t.backgroundColor,e.fillRect(r.x,r.y,r.w,r.h),r.w===i.w&&r.h===i.h||(e.save(),e.beginPath(),e.rect(r.x,r.y,r.w,r.h),e.clip(),e.fillStyle=t.borderColor,e.rect(i.x,i.y,i.w,i.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return me(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return he(n)?me(n,e,null):me(n,null,t)},inXRange:function(e){return me(this._view,e,null)},inYRange:function(e){return me(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return he(n)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return he(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),_e={},ye=ae,ve=ce,be=ge;_e.Arc=re,_e.Line=ye,_e.Point=ve,_e.Rectangle=be;var we=$._deprecated,ke=$.valueOrDefault;Y._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),Y._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Me=ee.extend({dataElementType:_e.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,n=this;ee.prototype.initialize.apply(n,arguments),(e=n.getMeta()).stack=n.getDataset().stack,e.bar=!0,t=n._getIndexScale().options,we("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),we("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),we("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),we("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),we("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,n,r=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=r.length;t<n;++t)this.updateElement(r[t],t,e)},updateElement:function(e,t,n){var r=this,i=r.getMeta(),o=r.getDataset(),a=r._resolveDataElementOptions(e,t);e._xScale=r.getScaleForId(i.xAxisID),e._yScale=r.getScaleForId(i.yAxisID),e._datasetIndex=r.index,e._index=t,e._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:o.label,label:r.chart.data.labels[t]},$.isArray(o.data[t])&&(e._model.borderSkipped=null),r._updateElementGeometry(e,t,n,a),e.pivot()},_updateElementGeometry:function(e,t,n,r){var i=this,o=e._model,a=i._getValueScale(),s=a.getBasePixel(),l=a.isHorizontal(),u=i._ruler||i.getRuler(),c=i.calculateBarValuePixels(i.index,t,r),d=i.calculateBarIndexPixels(i.index,t,u,r);o.horizontal=l,o.base=n?s:c.base,o.x=l?n?s:c.head:d.center,o.y=l?d.center:n?s:c.head,o.height=l?d.size:void 0,o.width=l?void 0:d.size},_getStacks:function(e){var t,n,r=this._getIndexScale(),i=r._getMatchingVisibleMetas(this._type),o=r.options.stacked,a=i.length,s=[];for(t=0;t<a&&(n=i[t],(!1===o||-1===s.indexOf(n.stack)||void 0===o&&void 0===n.stack)&&s.push(n.stack),n.index!==e);++t);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var n=this._getStacks(e),r=void 0!==t?n.indexOf(t):-1;return-1===r?n.length-1:r},getRuler:function(){var e,t,n=this._getIndexScale(),r=[];for(e=0,t=this.getMeta().data.length;e<t;++e)r.push(n.getPixelForValue(null,e,this.index));return{pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(e,t,n){var r,i,o,a,s,l,u,c=this.chart,d=this._getValueScale(),h=d.isHorizontal(),f=c.data.datasets,p=d._getMatchingVisibleMetas(this._type),m=d._parseValue(f[e].data[t]),g=n.minBarLength,_=d.options.stacked,y=this.getMeta().stack,v=void 0===m.start?0:m.max>=0&&m.min>=0?m.min:m.max,b=void 0===m.start?m.end:m.max>=0&&m.min>=0?m.max-m.min:m.min-m.max,w=p.length;if(_||void 0===_&&void 0!==y)for(r=0;r<w&&(i=p[r]).index!==e;++r)i.stack===y&&(o=void 0===(u=d._parseValue(f[i.index].data[t])).start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(m.min<0&&o<0||m.max>=0&&o>0)&&(v+=o));return a=d.getPixelForValue(v),l=(s=d.getPixelForValue(v+b))-a,void 0!==g&&Math.abs(l)<g&&(l=g,s=b>=0&&!h||b<0&&h?a-g:a+g),{size:l,base:a,head:s,center:s+l/2}},calculateBarIndexPixels:function(e,t,n,r){var i="flex"===r.barThickness?function(e,t,n){var r,i=t.pixels,o=i[e],a=e>0?i[e-1]:null,s=e<i.length-1?i[e+1]:null,l=n.categoryPercentage;return null===a&&(a=o-(null===s?t.end-t.start:s-o)),null===s&&(s=o+o-a),r=o-(o-Math.min(a,s))/2*l,{chunk:Math.abs(s-a)/2*l/t.stackCount,ratio:n.barPercentage,start:r}}(t,n,r):function(e,t,n){var r,i,o=n.barThickness,a=t.stackCount,s=t.pixels[e],l=$.isNullOrUndef(o)?function(e,t){var n,r,i,o,a=e._length;for(i=1,o=t.length;i<o;++i)a=Math.min(a,Math.abs(t[i]-t[i-1]));for(i=0,o=e.getTicks().length;i<o;++i)r=e.getPixelForTick(i),a=i>0?Math.min(a,Math.abs(r-n)):a,n=r;return a}(t.scale,t.pixels):-1;return $.isNullOrUndef(o)?(r=l*n.categoryPercentage,i=n.barPercentage):(r=o*a,i=1),{chunk:r/a,ratio:i,start:s-r/2}}(t,n,r),o=this.getStackIndex(e,this.getMeta().stack),a=i.start+i.chunk*o+i.chunk/2,s=Math.min(ke(r.maxBarThickness,1/0),i.chunk*i.ratio);return{base:a-s/2,head:a+s/2,center:a,size:s}},draw:function(){var e=this.chart,t=this._getValueScale(),n=this.getMeta().data,r=this.getDataset(),i=n.length,o=0;for($.canvas.clipArea(e.ctx,e.chartArea);o<i;++o){var a=t._parseValue(r.data[o]);isNaN(a.min)||isNaN(a.max)||n[o].draw()}$.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var e=this,t=$.extend({},ee.prototype._resolveDataElementOptions.apply(e,arguments)),n=e._getIndexScale().options,r=e._getValueScale().options;return t.barPercentage=ke(n.barPercentage,t.barPercentage),t.barThickness=ke(n.barThickness,t.barThickness),t.categoryPercentage=ke(n.categoryPercentage,t.categoryPercentage),t.maxBarThickness=ke(n.maxBarThickness,t.maxBarThickness),t.minBarLength=ke(r.minBarLength,t.minBarLength),t}}),Se=$.valueOrDefault,Te=$.options.resolve;Y._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return(t.datasets[e.datasetIndex].label||"")+": ("+e.xLabel+", "+e.yLabel+", "+t.datasets[e.datasetIndex].data[e.index].r+")"}}}});var xe=ee.extend({dataElementType:_e.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(e){var t=this,n=t.getMeta();$.each(n.data,(function(n,r){t.updateElement(n,r,e)}))},updateElement:function(e,t,n){var r=this,i=r.getMeta(),o=e.custom||{},a=r.getScaleForId(i.xAxisID),s=r.getScaleForId(i.yAxisID),l=r._resolveDataElementOptions(e,t),u=r.getDataset().data[t],c=r.index,d=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof u?u:NaN,t,c),h=n?s.getBasePixel():s.getPixelForValue(u,t,c);e._xScale=a,e._yScale=s,e._options=l,e._datasetIndex=c,e._index=t,e._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:o.skip||isNaN(d)||isNaN(h),x:d,y:h},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options,r=$.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Se(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Se(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Se(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(e,t){var n=this,r=n.chart,i=n.getDataset(),o=e.custom||{},a=i.data[t]||{},s=ee.prototype._resolveDataElementOptions.apply(n,arguments),l={chart:r,dataIndex:t,dataset:i,datasetIndex:n.index};return n._cachedDataOpts===s&&(s=$.extend({},s)),s.radius=Te([o.radius,a.r,n._config.radius,r.options.elements.point.radius],l,t),s}}),Le=$.valueOrDefault,De=Math.PI,Ce=2*De,Oe=De/2;Y._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t,n,r,i=document.createElement("ul"),o=e.data,a=o.datasets,s=o.labels;if(i.setAttribute("class",e.id+"-legend"),a.length)for(t=0,n=a[0].data.length;t<n;++t)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[t],s[t]&&r.appendChild(document.createTextNode(s[t]));return i.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,r){var i=e.getDatasetMeta(0),o=i.controller.getStyle(r);return{text:n,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(t.datasets[0].data[r])||i.data[r].hidden,index:r}})):[]}},onClick:function(e,t){var n,r,i,o=t.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n<r;++n)(i=a.getDatasetMeta(n)).data[o]&&(i.data[o].hidden=!i.data[o].hidden);a.update()}},cutoutPercentage:50,rotation:-Oe,circumference:Ce,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],r=": "+t.datasets[e.datasetIndex].data[e.index];return $.isArray(n)?(n=n.slice())[0]+=r:n+=r,n}}}});var Ee=ee.extend({dataElementType:_e.Arc,linkScales:$.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroun
2dColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var t,n,r=this,i=r.chart,o=i.chartArea,a=i.options,s=1,l=1,u=0,c=0,d=r.getMeta(),h=d.data,f=a.cutoutPercentage/100||0,p=a.circumference,m=r._getRingWeight(r.index);if(p<Ce){var g=a.rotation%Ce,_=(g+=g>=De?-Ce:g<-De?Ce:0)+p,y=Math.cos(g),v=Math.sin(g),b=Math.cos(_),w=Math.sin(_),k=g<=0&&_>=0||_>=Ce,M=g<=Oe&&_>=Oe||_>=Ce+Oe,S=g<=-Oe&&_>=-Oe||_>=De+Oe,T=g===-De||_>=De?-1:Math.min(y,y*f,b,b*f),x=S?-1:Math.min(v,v*f,w,w*f),L=k?1:Math.max(y,y*f,b,b*f),D=M?1:Math.max(v,v*f,w,w*f);s=(L-T)/2,l=(D-x)/2,u=-(L+T)/2,c=-(D+x)/2}for(t=0,n=h.length;t<n;++t)h[t]._options=r._resolveDataElementOptions(h[t],t);for(i.borderWidth=r.getMaxBorderWidth(),i.outerRadius=Math.max(Math.min((o.right-o.left-i.borderWidth)/s,(o.bottom-o.top-i.borderWidth)/l)/2,0),i.innerRadius=Math.max(i.outerRadius*f,0),i.radiusLength=(i.outerRadius-i.innerRadius)/(r._getVisibleDatasetWeightTotal()||1),i.offsetX=u*i.outerRadius,i.offsetY=c*i.outerRadius,d.total=r.calculateTotal(),r.outerRadius=i.outerRadius-i.radiusLength*r._getRingWeightOffset(r.index),r.innerRadius=Math.max(r.outerRadius-i.radiusLength*m,0),t=0,n=h.length;t<n;++t)r.updateElement(h[t],t,e)},updateElement:function(e,t,n){var r=this,i=r.chart,o=i.chartArea,a=i.options,s=a.animation,l=(o.left+o.right)/2,u=(o.top+o.bottom)/2,c=a.rotation,d=a.rotation,h=r.getDataset(),f=n&&s.animateRotate||e.hidden?0:r.calculateCircumference(h.data[t])*(a.circumference/Ce),p=e._options||{};$.extend(e,{_datasetIndex:r.index,_index:t,_model:{backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,borderAlign:p.borderAlign,x:l+i.offsetX,y:u+i.offsetY,startAngle:c,endAngle:d,circumference:f,outerRadius:n&&s.animateScale?0:r.outerRadius,innerRadius:n&&s.animateScale?0:r.innerRadius,label:$.valueAtIndexOrDefault(h.label,t,i.data.labels[t])}});var m=e._model;n&&s.animateRotate||(m.startAngle=0===t?a.rotation:r.getMeta().data[t-1]._model.endAngle,m.endAngle=m.startAngle+m.circumference),e.pivot()},calculateTotal:function(){var e,t=this.getDataset(),n=this.getMeta(),r=0;return $.each(n.data,(function(n,i){e=t.data[i],isNaN(e)||n.hidden||(r+=Math.abs(e))})),r},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?Ce*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,r,i,o,a,s,l,u=0,c=this.chart;if(!e)for(t=0,n=c.data.datasets.length;t<n;++t)if(c.isDatasetVisible(t)){e=(r=c.getDatasetMeta(t)).data,t!==this.index&&(o=r.controller);break}if(!e)return 0;for(t=0,n=e.length;t<n;++t)i=e[t],o?(o._configure(),a=o._resolveDataElementOptions(i,t)):a=i._options,"inner"!==a.borderAlign&&(u=(l=a.hoverBorderWidth)>(u=(s=a.borderWidth)>u?s:u)?l:u);return u},setHoverStyle:function(e){var t=e._model,n=e._options,r=$.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=Le(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Le(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Le(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t},_getRingWeight:function(e){return Math.max(Le(this.chart.data.datasets[e].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});Y._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),Y._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var je=Me.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Ae=$.valueOrDefault,Pe=$.options.resolve,Ie=$.canvas._isPointInArea;function Ye(e,t){var n=e&&e.options.ticks||{},r=n.reverse,i=void 0===n.min?t:0,o=void 0===n.max?t:0;return{start:r?o:i,end:r?i:o}}function Re(e,t,n){var r=n/2,i=Ye(e,r),o=Ye(t,r);return{top:o.end,right:i.end,bottom:o.start,left:i.start}}function Ne(e){var t,n,r,i;return $.isObject(e)?(t=e.top,n=e.right,r=e.bottom,i=e.left):t=n=r=i=e,{top:t,right:n,bottom:r,left:i}}Y._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Fe=ee.extend({datasetElementType:_e.Line,dataElementType:_e.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroun
2dColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(e){var t,n,r=this,i=r.getMeta(),o=i.dataset,a=i.data||[],s=r._config,l=r._showLine=Ae(s.showLine,r.chart.options.showLines);for(r._xScale=r.getScaleForId(i.xAxisID),r._yScale=r.getScaleForId(i.yAxisID),l&&(void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),o._scale=r._yScale,o._datasetIndex=r.index,o._children=a,o._model=r._resolveDatasetElementOptions(o),o.pivot()),t=0,n=a.length;t<n;++t)r.updateElement(a[t],t,e);for(l&&0!==o._model.tension&&r.updateBezierControlPoints(),t=0,n=a.length;t<n;++t)a[t].pivot()},updateElement:function(e,t,n){var r,i,o=this,a=o.getMeta(),s=e.custom||{},l=o.getDataset(),u=o.index,c=l.data[t],d=o._xScale,h=o._yScale,f=a.dataset._model,p=o._resolveDataElementOptions(e,t);r=d.getPixelForValue("object"==typeof c?c:NaN,t,u),i=n?h.getBasePixel():o.calculatePointY(c,t,u),e._xScale=d,e._yScale=h,e._options=p,e._datasetIndex=u,e._index=t,e._model={x:r,y:i,skip:s.skip||isNaN(r)||isNaN(i),radius:p.radius,pointStyle:p.pointStyle,rotation:p.rotation,backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,tension:Ae(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:p.hitRadius}},_resolveDatasetElementOptions:function(e){var t=this,n=t._config,r=e.custom||{},i=t.chart.options,o=i.elements.line,a=ee.prototype._resolveDatasetElementOptions.apply(t,arguments);return a.spanGaps=Ae(n.spanGaps,i.spanGaps),a.tension=Ae(n.lineTension,o.tension),a.steppedLine=Pe([r.steppedLine,n.steppedLine,o.stepped]),a.clip=Ne(Ae(n.clip,Re(t._xScale,t._yScale,a.borderWidth))),a},calculatePointY:function(e,t,n){var r,i,o,a,s,l,u=this.chart,c=this._yScale,d=0,h=0;if(c.options.stacked){for(a=+c.getRightValue(e),l=(s=u._getSortedVisibleDatasetMetas()).length,r=0;r<l&&(i=s[r]).index!==n;++r)"line"===i.type&&i.yAxisID===c.id&&((o=+c.getRightValue(u.data.datasets[i.index].data[t]))<0?h+=o||0:d+=o||0);return c.getPixelForValue(a<0?h+a:d+a)}return c.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,r,i=this.chart,o=this.getMeta(),a=o.dataset._model,s=i.chartArea,l=o.data||[];function u(e,t,n){return Math.max(Math.min(e,n),t)}if(a.spanGaps&&(l=l.filter((function(e){return!e._model.skip}))),"monotone"===a.cubicInterpolationMode)$.splineCurveMonotone(l);else for(e=0,t=l.length;e<t;++e)n=l[e]._model,r=$.splineCurve($.previousItem(l,e)._model,n,$.nextItem(l,e)._model,a.tension),n.controlPointPreviousX=r.previous.x,n.controlPointPreviousY=r.previous.y,n.controlPointNextX=r.next.x,n.controlPointNextY=r.next.y;if(i.options.elements.line.capBezierPoints)for(e=0,t=l.length;e<t;++e)Ie(n=l[e]._model,s)&&(e>0&&Ie(l[e-1]._model,s)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=u(n.controlPointPreviousY,s.top,s.bottom)),e<l.length-1&&Ie(l[e+1]._model,s)&&(n.controlPointNextX=u(n.controlPointNextX,s.left,s.right),n.controlPointNextY=u(n.controlPointNextY,s.top,s.bottom)))},draw:function(){var e,t=this.chart,n=this.getMeta(),r=n.data||[],i=t.chartArea,o=t.canvas,a=0,s=r.length;for(this._showLine&&($.canvas.clipArea(t.ctx,{left:!1===(e=n.dataset._model.clip).left?0:i.left-e.left,right:!1===e.right?o.width:i.right+e.right,top:!1===e.top?0:i.top-e.top,bottom:!1===e.bottom?o.height:i.bottom+e.bottom}),n.dataset.draw(),$.canvas.unclipArea(t.ctx));a<s;++a)r[a].draw(i)},setHoverStyle:function(e){var t=e._model,n=e._options,r=$.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Ae(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Ae(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Ae(n.hoverBorderWidth,n.borderWidth),t.radius=Ae(n.hoverRadius,n.radius)}}),He=$.options.resolve;Y._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(e){var t,n,r,i=document.createElement("ul"),o=e.data,a=o.datasets,s=o.labels;if(i.setAttribute("class",e.id+"-legend"),a.length)for(t=0,n=a[0].data.length;t<n;++t)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[t],s[t]&&r.appendChild(document.createTextNode(s[t]));return i.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,r){var i=e.getDatasetMeta(0),o=i.controller.getStyle(r);return{text:n,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(t.datasets[0].data[r])||i.data[r].hidden,index:r}})):[]}},onClick:function(e,t){var n,r,i,o=t.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n<r;++n)(i=a.getDatasetMeta(n)).data[o].hidden=!i.data[o].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}});var $e=ee.extend({dataElementType:_e.Arc,linkScales:$.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroun
2dColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,r,i=this,o=i.getDataset(),a=i.getMeta(),s=i.chart.options.startAngle||0,l=i._starts=[],u=i._angles=[],c=a.data;for(i._updateRadius(),a.count=i.countVisibleElements(),t=0,n=o.data.length;t<n;t++)l[t]=s,r=i._computeAngle(t),u[t]=r,s+=r;for(t=0,n=c.length;t<n;++t)c[t]._options=i._resolveDataElementOptions(c[t],t),i.updateElement(c[t],t,e)},_updateRadius:function(){var e=this,t=e.chart,n=t.chartArea,r=t.options,i=Math.min(n.right-n.left,n.bottom-n.top);t.outerRadius=Math.max(i/2,0),t.innerRadius=Math.max(r.cutoutPercentage?t.outerRadius/100*r.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),e.outerRadius=t.outerRadius-t.radiusLength*e.index,e.innerRadius=e.outerRadius-t.radiusLength},updateElement:function(e,t,n){var r=this,i=r.chart,o=r.getDataset(),a=i.options,s=a.animation,l=i.scale,u=i.data.labels,c=l.xCenter,d=l.yCenter,h=a.startAngle,f=e.hidden?0:l.getDistanceFromCenterForValue(o.data[t]),p=r._starts[t],m=p+(e.hidden?0:r._angles[t]),g=s.animateScale?0:l.getDistanceFromCenterForValue(o.data[t]),_=e._options||{};$.extend(e,{_datasetIndex:r.index,_index:t,_scale:l,_model:{backgroundColor:_.backgroundColor,borderColor:_.borderColor,borderWidth:_.borderWidth,borderAlign:_.borderAlign,x:c,y:d,innerRadius:0,outerRadius:n?g:f,startAngle:n&&s.animateRotate?h:p,endAngle:n&&s.animateRotate?h:m,label:$.valueAtIndexOrDefault(u,t,u[t])}}),e.pivot()},countVisibleElements:function(){var e=this.getDataset(),t=this.getMeta(),n=0;return $.each(t.data,(function(t,r){isNaN(e.data[r])||t.hidden||n++})),n},setHoverStyle:function(e){var t=e._model,n=e._options,r=$.getHoverColor,i=$.valueOrDefault;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=i(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=i(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=i(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(e){var t=this,n=this.getMeta().count,r=t.getDataset(),i=t.getMeta();return isNaN(r.data[e])||i.data[e].hidden?0:He([t.chart.options.elements.arc.angle,2*Math.PI/n],{chart:t.chart,dataIndex:e,dataset:r,datasetIndex:t.index},e)}});Y._set("pie",$.clone(Y.doughnut)),Y._set("pie",{cutoutPercentage:0});var ze=Ee,We=$.valueOrDefault;Y._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Ue=ee.extend({datasetElementType:_e.Line,dataElementType:_e.Point,linkScales:$.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroun
2dColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,r=this,i=r.getMeta(),o=i.dataset,a=i.data||[],s=r.chart.scale,l=r._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=s,o._datasetIndex=r.index,o._children=a,o._loop=!0,o._model=r._resolveDatasetElementOptions(o),o.pivot(),t=0,n=a.length;t<n;++t)r.updateElement(a[t],t,e);for(r.updateBezierControlPoints(),t=0,n=a.length;t<n;++t)a[t].pivot()},updateElement:function(e,t,n){var r=this,i=e.custom||{},o=r.getDataset(),a=r.chart.scale,s=a.getPointPositionForValue(t,o.data[t]),l=r._resolveDataElementOptions(e,t),u=r.getMeta().dataset._model,c=n?a.xCenter:s.x,d=n?a.yCenter:s.y;e._scale=a,e._options=l,e._datasetIndex=r.index,e._index=t,e._model={x:c,y:d,skip:i.skip||isNaN(c)||isNaN(d),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:We(i.tension,u?u.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var e=this,t=e._config,n=e.chart.options,r=ee.prototype._resolveDatasetElementOptions.apply(e,arguments);return r.spanGaps=We(t.spanGaps,n.spanGaps),r.tension=We(t.lineTension,n.elements.line.tension),r},updateBezierControlPoints:function(){var e,t,n,r,i=this.getMeta(),o=this.chart.chartArea,a=i.data||[];function s(e,t,n){return Math.max(Math.min(e,n),t)}for(i.dataset._model.spanGaps&&(a=a.filter((function(e){return!e._model.skip}))),e=0,t=a.length;e<t;++e)n=a[e]._model,r=$.splineCurve($.previousItem(a,e,!0)._model,n,$.nextItem(a,e,!0)._model,n.tension),n.controlPointPreviousX=s(r.previous.x,o.left,o.right),n.controlPointPreviousY=s(r.previous.y,o.top,o.bottom),n.controlPointNextX=s(r.next.x,o.left,o.right),n.controlPointNextY=s(r.next.y,o.top,o.bottom)},setHoverStyle:function(e){var t=e._model,n=e._options,r=$.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=We(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=We(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=We(n.hoverBorderWidth,n.borderWidth),t.radius=We(n.hoverRadius,n.radius)}});Y._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),Y._set("global",{datasets:{scatter:{showLine:!1}}});var Be={bar:Me,bubble:xe,doughnut:Ee,horizontalBar:je,line:Fe,polarArea:$e,pie:ze,radar:Ue,scatter:Fe};function Ve(e,t){return e.native?{x:e.x,y:e.y}:$.getRelativePosition(e,t)}function qe(e,t){var n,r,i,o,a,s,l=e._getSortedVisibleDatasetMetas();for(r=0,o=l.length;r<o;++r)for(i=0,a=(n=l[r].data).length;i<a;++i)(s=n[i])._view.skip||t(s)}function Ge(e,t){var n=[];return qe(e,(function(e){e.inRange(t.x,t.y)&&n.push(e)})),n}function Ke(e,t,n,r){var i=Number.POSITIVE_INFINITY,o=[];return qe(e,(function(e){if(!n||e.inRange(t.x,t.y)){var a=e.getCenterPoint(),s=r(t,a);s<i?(o=[e],i=s):s===i&&o.push(e)}})),o}function Je(e){var t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,r){var i=t?Math.abs(e.x-r.x):0,o=n?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}function Qe(e,t,n){var r=Ve(t,e);n.axis=n.axis||"x";var i=Je(n.axis),o=n.intersect?Ge(e,r):Ke(e,r,!1,i),a=[];return o.length?(e._getSortedVisibleDatasetMetas().forEach((function(e){var t=e.data[o[0]._index];t&&!t._view.skip&&a.push(t)})),a):[]}var Xe={modes:{single:function(e,t){var n=Ve(t,e),r=[];return qe(e,(function(e){if(e.inRange(n.x,n.y))return r.push(e),r})),r.slice(0,1)},label:Qe,index:Qe,dataset:function(e,t,n){var r=Ve(t,e);n.axis=n.axis||"xy";var i=Je(n.axis),o=n.intersect?Ge(e,r):Ke(e,r,!1,i);return o.length>0&&(o=e.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(e,t){return Qe(e,t,{intersect:!1})},point:function(e,t){return Ge(e,Ve(t,e))},nearest:function(e,t,n){var r=Ve(t,e);n.axis=n.axis||"xy";var i=Je(n.axis);return Ke(e,r,n.intersect,i)},x:function(e,t,n){var r=Ve(t,e),i=[],o=!1;return qe(e,(function(e){e.inXRange(r.x)&&i.push(e),e.inRange(r.x,r.y)&&(o=!0)})),n.intersect&&!o&&(i=[]),i},y:function(e,t,n){var r=Ve(t,e),i=[],o=!1;return qe(e,(function(e){e.inYRange(r.y)&&i.push(e),e.inRange(r.x,r.y)&&(o=!0)})),n.intersect&&!o&&(i=[]),i}}},Ze=$.extend;function et(e,t){return $.where(e,(function(e){return e.pos===t}))}function tt(e,t){return e.sort((function(e,n){var r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight}))}function nt(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function rt(e,t,n){var r,i,o=n.box,a=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?o.height:o.width,e[n.pos]+=n.size,o.getPadding){var s=o.getPadding();a.top=Math.max(a.top,s.top),a.left=Math.max(a.left,s.left),a.bottom=Math.max(a.bottom,s.bottom),a.right=Math.max(a.right,s.right)}if(r=t.outerWidth-nt(a,e,"left","right"),i=t.outerHeight-nt(a,e,"top","bottom"),r!==e.w||i!==e.h){e.w=r,e.h=i;var l=n.horizontal?[r,e.w]:[i,e.h];return!(l[0]===l[1]||isNaN(l[0])&&isNaN(l[1]))}}function it(e,t){var n,r=t.maxPadding;return n={left:0,top:0,right:0,bottom:0}
vendor: 5,121 bytes, line 2
2,(e?["left","right"]:["top","bottom"]).forEach((function(e){n[e]=Math.max(t[e],r[e])})),n}function ot(e,t,n){var r,i,o,a,s,l,u=[];for(r=0,i=e.length;r<i;++r)(a=(o=e[r]).box).update(o.width||t.w,o.height||t.h,it(o.horizontal,t)),rt(t,n,o)&&(l=!0,u.length&&(s=!0)),a.fullWidth||u.push(o);return s&&ot(u,t,n)||l}function at(e,t,n){var r,i,o,a,s=n.padding,l=t.x,u=t.y;for(r=0,i=e.length;r<i;++r)a=(o=e[r]).box,o.horizontal?(a.left=a.fullWidth?s.left:t.left,a.right=a.fullWidth?n.outerWidth-s.right:t.left+t.w,a.top=u,a.bottom=u+a.height,a.width=a.right-a.left,u=a.bottom):(a.left=l,a.right=l+a.width,a.top=t.top,a.bottom=t.top+t.h,a.height=a.bottom-a.top,l=a.right);t.x=l,t.y=u}Y._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var st,lt={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw:function(){t.draw.apply(t,arguments)}}]},e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var r,i=["fullWidth","position","weight"],o=i.length,a=0;a<o;++a)n.hasOwnProperty(r=i[a])&&(t[r]=n[r])},update:function(e,t,n){if(e){var r=$.options.toPadding((e.options.layout||{}).padding),i=t-r.width,o=n-r.height,a=function(e){var t=function(e){var t,n,r,i=[];for(t=0,n=(e||[]).length;t<n;++t)i.push({index:t,box:r=e[t],pos:r.position,horizontal:r.isHorizontal(),weight:r.weight});return i}(e),n=tt(et(t,"left"),!0),r=tt(et(t,"right")),i=tt(et(t,"top"),!0),o=tt(et(t,"bottom"));return{leftAndTop:n.concat(i),rightAndBottom:r.concat(o),chartArea:et(t,"chartArea"),vertical:n.concat(r),horizontal:i.concat(o)}}(e.boxes),s=a.vertical,l=a.horizontal,u=Object.freeze({outerWidth:t,outerHeight:n,padding:r,availableWidth:i,vBoxMaxWidth:i/2/s.length,hBoxMaxHeight:o/2}),c=Ze({maxPadding:Ze({},r),w:i,h:o,x:r.left,y:r.top},r);!function(e,t){var n,r,i;for(n=0,r=e.length;n<r;++n)(i=e[n]).width=i.horizontal?i.box.fullWidth&&t.availableWidth:t.vBoxMaxWidth,i.height=i.horizontal&&t.hBoxMaxHeight}(s.concat(l),u),ot(s,c,u),ot(l,c,u)&&ot(s,c,u),function(e){var t=e.maxPadding;function n(n){var r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}(c),at(a.leftAndTop,c,u),c.x+=c.w,c.y+=c.h,at(a.rightAndBottom,c,u),e.chartArea={left:c.left,top:c.top,right:c.left+c.w,bottom:c.top+c.h},$.each(a.chartArea,(function(t){var n=t.box;Ze(n,e.chartArea),n.update(c.w,c.h)}))}}},ut=(st=Object.freeze({__proto__:null,default:"/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n"}))&&st.default||st,ct=["animationstart","webkitAnimationStart"],dt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function ht(e,t){var n=$.getStyle(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}var ft=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(n){}return e}()&&{passive:!0};function pt(e,t,n){e.addEventListener(t,n,ft)}function mt(e,t,n){e.removeEventListener(t,n,ft)}function gt(e,t,n,r,i){return{type:e,chart:t,native:i||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function _t(e){var t=document.createElement("div");return t.className=e||"",t}var yt={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;!function(e,t){var n=e.$chartjs||(e.$chartjs={});if(!n.containsStyles){n.containsStyles=!0,t="/* Chart.js */\n"+t;var r=document.createElement("style");r.setAttribute("type","text/css"),r.appendChild(document.createTextNode(t)),e.appendChild(r)}}(t.host?t:document.head,ut)}},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(this._ensureLoaded(e),function(e,t){var n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");
2if(e.$chartjs={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===i||""===i){var o=ht(e,"width");void 0!==o&&(e.width=o)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var a=ht(e,"height");void 0!==o&&(e.height=a)}}(e,t),n):null},releaseContext:function(e){var t=e.canvas;if(t.$chartjs){var n=t.$chartjs.initial;["height","width"].forEach((function(e){var r=n[e];$.isNullOrUndef(r)?t.removeAttribute(e):t.setAttribute(e,r)})),$.each(n.style||{},(function(e,n){t.style[n]=e})),t.width=t.width,delete t.$chartjs}},addEventListener:function(e,t,n){var r=e.canvas;if("resize"!==t){var i=n.$chartjs||(n.$chartjs={});pt(r,t,(i.proxies||(i.proxies={}))[e.id+"_"+t]=function(t){n(function(e,t){var n=dt[e.type]||e.type,r=$.getRelativePosition(e,t);return gt(n,t,r.x,r.y,e)}(t,e))})}else!function(e,t,n){var r,i,o,a,s=e.$chartjs||(e.$chartjs={}),l=s.resizer=function(e){var t=_t("chartjs-size-monitor"),n=_t("chartjs-size-monitor-expand"),r=_t("chartjs-size-monitor-shrink");n.appendChild(_t()),r.appendChild(_t()),t.appendChild(n),t.appendChild(r),t._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,r.scrollLeft=1e6,r.scrollTop=1e6};var i=function(){t._reset(),e()};return pt(n,"scroll",i.bind(n,"expand")),pt(r,"scroll",i.bind(r,"shrink")),t}((r=function(){if(s.resizer){var r=n.options.maintainAspectRatio&&e.parentNode,i=r?r.clientWidth:0;t(gt("resize",n)),r&&r.clientWidth<i&&n.canvas&&t(gt("resize",n))}},o=!1,a=[],function(){a=Array.prototype.slice.call(arguments),i=i||this,o||(o=!0,$.requestAnimFrame.call(window,(function(){o=!1,r.apply(i,a)})))}));!function(e,t){var n=e.$chartjs||(e.$chartjs={}),r=n.renderProxy=function(e){"chartjs-render-animation"===e.animationName&&t()};$.each(ct,(function(t){pt(e,t,r)})),n.reflow=!!e.offsetParent,e.classList.add("chartjs-render-monitor")}(e,(function(){if(s.resizer){var t=e.parentNode;t&&t!==l.parentNode&&t.insertBefore(l,t.firstChild),l._reset()}}))}(r,n,e)},removeEventListener:function(e,t,n){var r,i,o,a=e.canvas;if("resize"!==t){var s=((n.$chartjs||{}).proxies||{})[e.id+"_"+t];s&&mt(a,t,s)}else o=(i=(r=a).$chartjs||{}).resizer,delete i.resizer,function(e){var t=e.$chartjs||{},n=t.renderProxy;n&&($.each(ct,(function(t){mt(e,t,n)})),delete t.renderProxy),e.classList.remove("chartjs-render-monitor")}(r),o&&o.parentNode&&o.parentNode.removeChild(o)}};$.addEvent=pt,$.removeEvent=mt;var vt=$.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},yt._enabled?yt:{acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}});Y._set("global",{plugins:{}});var bt={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach((function(e){-1===t.indexOf(e)&&t.push(e)})),this._cacheId++},unregister:function(e){var t=this._plugins;[].concat(e).forEach((function(e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var r,i,o,a,s,l=this.descriptors(e),u=l.length;for(r=0;r<u;++r)if("function"==typeof(s=(o=(i=l[r]).plugin)[t])&&((a=[e].concat(n||[])).push(i.options),!1===s.apply(o,a)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var n=[],r=[],i=e&&e.config||{},o=i.options&&i.options.plugins||{};return this._plugins.concat(i.plugins||[]).forEach((function(e){if(-1===n.indexOf(e)){var t=e.id,i=o[t];!1!==i&&(!0===i&&(i=$.clone(Y.global.plugins[t])),n.push(e),r.push({plugin:e,options:i||{}}))}})),t.descriptors=r,t.id=this._cacheId,r},_invalidate:function(e){delete e.$plugins}},wt={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=$.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?$.merge(Object.create(null),[Y.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=$.extend(this.defaults[e],t))},addScalesToLayout:function(e){$.each(e.scales,(function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,lt.addBox(e,t)}))}},kt=$.valueOrDefault,Mt=$.rtl.getRtlAdapter;Y._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackgroun
vendor: 29,059 bytes, line 2
2d:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:$.noop,title:function(e,t){var n="",r=t.labels,i=r?r.length:0;if(e.length>0){var o=e[0];o.label?n=o.label:o.xLabel?n=o.xLabel:i>0&&o.index<i&&(n=r[o.index])}return n},afterTitle:$.noop,beforeBody:$.noop,beforeLabel:$.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),$.isNullOrUndef(e.value)?n+=e.yLabel:n+=e.value,n},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:$.noop,afterBody:$.noop,beforeFooter:$.noop,footer:$.noop,afterFooter:$.noop}}});var St={average:function(e){if(!e.length)return!1;var t,n,r=0,i=0,o=0;for(t=0,n=e.length;t<n;++t){var a=e[t];if(a&&a.hasValue()){var s=a.tooltipPosition();r+=s.x,i+=s.y,++o}}return{x:r/o,y:i/o}},nearest:function(e,t){var n,r,i,o=t.x,a=t.y,s=Number.POSITIVE_INFINITY;for(n=0,r=e.length;n<r;++n){var l=e[n];if(l&&l.hasValue()){var u=l.getCenterPoint(),c=$.distanceBetweenPoints(t,u);c<s&&(s=c,i=l)}}if(i){var d=i.tooltipPosition();o=d.x,a=d.y}return{x:o,y:a}}};function Tt(e,t){return t&&($.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function xt(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function Lt(e){var t=Y.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:kt(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:kt(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:kt(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:kt(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:kt(e.titleFontStyle,t.defaultFontStyle),titleFontSize:kt(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:kt(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:kt(e.footerFontStyle,t.defaultFontStyle),footerFontSize:kt(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Dt(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Ct(e){return Tt([],xt(e))}var Ot=V.extend({initialize:function(){this._model=Lt(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,n=t.callbacks,r=n.beforeTitle.apply(e,arguments),i=n.title.apply(e,arguments),o=n.afterTitle.apply(e,arguments),a=[];return a=Tt(a,xt(r)),a=Tt(a,xt(i)),Tt(a,xt(o))},getBeforeBody:function(){return Ct(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,r=n._options.callbacks,i=[];return $.each(e,(function(e){var o={before:[],lines:[],after:[]};Tt(o.before,xt(r.beforeLabel.call(n,e,t))),Tt(o.lines,r.label.call(n,e,t)),Tt(o.after,xt(r.afterLabel.call(n,e,t))),i.push(o)})),i},getAfterBody:function(){return Ct(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,n=t.beforeFooter.apply(e,arguments),r=t.footer.apply(e,arguments),i=t.afterFooter.apply(e,arguments),o=[];return o=Tt(o,xt(n)),o=Tt(o,xt(r)),Tt(o,xt(i))},update:function(e){var t,n,r,i,o,a,s,l,u,c,d=this,h=d._options,f=d._model,p=d._model=Lt(h),m=d._active,g=d._data,_={xAlign:f.xAlign,yAlign:f.yAlign},y={x:f.x,y:f.y},v={width:f.width,height:f.height},b={x:f.caretX,y:f.caretY};if(m.length){p.opacity=1;var w=[],k=[];b=St[h.position].call(d,m,d._eventPosition);var M=[];for(t=0,n=m.length;t<n;++t)M.push((i=void 0,o=void 0,l=void 0,u=void 0,c=void 0,i=(r=m[t])._xScale,o=r._yScale||r._scale,a=r._index,u=(l=r._chart.getDatasetMeta(s=r._datasetIndex).controller)._getIndexScale(),c=l._getValueScale(),{xLabel:i?i.getLabelForIndex(a,s):"",yLabel:o?o.getLabelForIndex(a,s):"",label:u?""+u.getLabelForIndex(a,s):"",value:c?""+c.getLabelForIndex(a,s):"",index:a,datasetIndex:s,x:r._model.x,y:r._model.y}));h.filter&&(M=M.filter((function(e){return h.filter(e,g)}))),h.itemSort&&(M=M.sort((function(e,t){return h.itemSort(e,t,g)}))),$.each(M,(function(e){w.push(h.callbacks.labelColor.call(d,e,d._chart)),k.push(h.callbacks.labelTextColor.call(d,e,d._chart))})),p.title=d.getTitle(M,g),p.beforeBody=d.getBeforeBody(M,g),p.body=d.getBody(M,g),p.afterBody=d.getAfterBody(M,g),p.footer=d.getFooter(M,g),p.x=b.x,p.y=b.y,p.caretPadding=h.caretPadding,p.labelColors=w,p.labelTextColors=k,p.dataPoints=M,v=function(e,t){var n=e._chart.ctx,r=2*t.yPadding,i=0,o=t.body,a=o.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0),s=t.title.length,l=t.footer.length,u=t.titleFontSize,c=t.bodyFontSize,d=t.footerFontSize;r+=s*u,r+=s?(s-1)*t.titleSpacing:0,r+=s?t.titleMarginBottom:0,r+=(a+=t.beforeBody.length+t.afterBody.length)*c,r+=a?(a-1)*t.bodySpacing:0,r+=l?t.footerMarginTop:0,r+=l*d,r+=l?(l-1)*t.footerSpacing:0;var h=0,f=function(e){i=Math.max(i,n.measureText(e).width+h)};return n.font=$.fontString(u,t._titleFontStyle,t._titleFontFamily),$.each(t.title,f),n.font=$.fontString(c,t._bodyFontStyle,t._bodyFontFamily),$.each(t.beforeBody.concat(t.afterBody),f),h=t.displayColors?c+2:0,$.each(o,(function(e){$.each(e.before,f),$.each(e.lines,f),$.each(e.after,f)})),h=0,n.font=$.fontString(d,t._footerFontStyle,t._footerFontFamily),$.each(t.footer,f),{width:i+=2*t.xPadding,height:r}}(this,p),y=function(e,t,n,r){var i=e.x,o=e.y,a=e.caretPadding,s=n.xAlign,l=n.yAlign,u=e.caretSize+a,c=e.cornerRadius+a;return"right"===s?i-=t.width:"center"===s&&((i-=t.width/2)+t.width>r.width&&(i=r.width-t.width),i<0&&(i=0)),"top"===l?o+=u:o-="bottom"===l?t.height+u:t.height/2,"center"===l?"left"===s?i+=u:"right"===s&&(i-=u):"left"===s?i-=c:"right"===s&&(i+=c),{x:i,y:o}}(p,v,_=function(e,t){var n,r,i,o,a,s=e._model,l=e._chart,u=e._chart.chartArea,c="center",d="center";s.y<t.height?d="top":s.y>l.height-t.height&&(d="bottom");var h=(u.left+u.right)/2,f=(u.top+u.bottom)/2;"center"===d?(n=function(e){return e<=h},r=function(e){return e>h}):(n=function(e){return e<=t.width/2},r=function(e){return e>=l.width-t.width/2}),i=function(e){return e+t.width+s.caretSize+s.caretPadding>l.width},o=function(e){return e-t.width-s.caretSize-s.caretPadding<0},a=function(e){return e<=f?"top":"bottom"},n(s.x)?(c="left",i(s.x)&&(c="center",d=a(s.y))):r(s.x)&&(c="right",o(s.x)&&(c="center",d=a(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:c,yAlign:p.yAlign?p.yAlign:d}}(this,v),d._chart)}else p.opacity=0;return p.xAlign=_.xAlign,p.yAlign=_.yAlign,p.x=y.x,p.y=y.y,p.width=v.width,p.height=v.height,p.caretX=b.x,p.caretY=b.y,d._model=p,e&&h.custom&&h.custom.call(d,p),d},drawCaret:function(e,t){var n=this._chart.ctx,r=this.getCaretPosition(e,t,this._view);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)},getCaretPosition:function(e,t,n){var r,i,o,a,s,l,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=e.x,p=e.y,m=t.width,g=t.height;if("center"===h)s=p+g/2,"left"===d?(i=(r=f)-u,o=r,a=s+u,l=s-u):(i=(r=f+m)+u,o=r,a=s-u,l=s+u);else if("left"===d?(r=(i=f+c+u)-u,o=i+u):"right"===d?(r=(i=f+m-c-u)-u,o=i+u):(r=(i=n.caretX)-u,o=i+u),"top"===h)s=(a=p)-u,l=a;else{s=(a=p+g)+u,l=a;var _=o;o=r,r=_}return{x1:r,x2:i,x3:o,y1:a,y2:s,y3:l}},drawTitle:function(e,t,n){var r,i,o,a=t.title,s=a.length;if(s){var l=Mt(t.rtl,t.x,t.width);for(e.x=Dt(t,t._titleAlign),n.textAlign=l.textAlign(t._titleAlign),n.textBaseline="middle",r=t.titleFontSize,i=t.titleSpacing,n.fillStyle=t.titleFontColor,n.font=$.fontString(r,t._titleFontStyle,t._titleFontFamily),o=0;o<s;++o)n.fillText(a[o],l.x(e.x),e.y+r/2),e.y+=r+i,o+1===s&&(e.y+=t.titleMarginBottom-i)}},drawBody:function(e,t,n){var r,i,o,a,s,l,u,c,d=t.bodyFontSize,h=t.bodySpacing,f=t._bodyAlign,p=t.body,m=t.displayColors,g=0,_=m?Dt(t,"left"):0,y=Mt(t.rtl,t.x,t.width),v=function(t){n.fillText(t,y.x(e.x+g),e.y+d/2),e.y+=d+h},b=y.textAlign(f);for(n.textAlign=f,n.textBaseline="middle",n.font=$.fontString(d,t._bodyFontStyle,t._bodyFontFamily),e.x=Dt(t,b),n.fillStyle=t.bodyFontColor,$.each(t.beforeBody,v),g=m&&"right"!==b?"center"===f?d/2+1:d+2:0,s=0,u=p.length;s<u;++s){for(r=p[s],o=t.labelColors[s],n.fillStyle=i=t.labelTextColors[s],$.each(r.before,v),l=0,c=(a=r.lines).length;l<c;++l){if(m){var w=y.x(_);n.fillStyle=t.legendColorBackground,n.fillRect(y.leftForLtr(w,d),e.y,d,d),n.lineWidth=1,n.strokeStyle=o.borderColor,n.strokeRect(y.leftForLtr(w,d),e.y,d,d),n.fillStyle=o.backgroundColor,n.fillRect(y.leftForLtr(y.xPlus(w,1),d-2),e.y+1,d-2,d-2),n.fillStyle=i}v(a[l])}$.each(r.after,v)}g=0,$.each(t.afterBody,v),e.y-=h},drawFooter:function(e,t,n){var r,i,o=t.footer,a=o.length;if(a){var s=Mt(t.rtl,t.x,t.width);for(e.x=Dt(t,t._footerAlign),e.y+=t.footerMarginTop,n.textAlign=s.textAlign(t._footerAlign),n.textBaseline="middle",r=t.footerFontSize,n.fillStyle=t.footerFontColor,n.font=$.fontString(r,t._footerFontStyle,t._footerFontFamily),i=0;i<a;++i)n.fillText(o[i],s.x(e.x),e.y+r/2),e.y+=r+t.footerSpacing}},drawBackground:function(e,t,n,r){n.fillStyle=t.backgroundColor,n.strokeStyle=t.borderColor,n.lineWidth=t.borderWidth;var i=t.xAlign,o=t.yAlign,a=e.x,s=e.y,l=r.width,u=r.height,c=t.cornerRadius;n.beginPath(),n.moveTo(a+c,s),"top"===o&&this.drawCaret(e,r),n.lineTo(a+l-c,s),n.quadraticCurveTo(a+l,s,a+l,s+c),"center"===o&&"right"===i&&this.drawCaret(e,r),n.lineTo(a+l,s+u-c),n.quadraticCurveTo(a+l,s+u,a+l-c,s+u),"bottom"===o&&this.drawCaret(e,r),n.lineTo(a+c,s+u),n.quadraticCurveTo(a,s+u,a,s+u-c),"center"===o&&"left"===i&&this.drawCaret(e,r),n.lineTo(a,s+c),n.quadraticCurveTo(a,s,a+c,s),n.closePath(),n.fill(),t.borderWidth>0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},r={x:t.x,y:t.y},i=Math.abs(t.opacity<.001)?0:t.opacity;this._options.enabled&&(t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length)&&(e.save(),e.globalAlpha=i,this.drawBackground(r,t,e,n),r.y+=t.yPadding,$.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(r,t,e),this.drawBody(r,t,e),this.drawFooter(r,t,e),$.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,n=this,r=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(e,r.mode,r),r.reverse&&n._active.reverse()),(t=!$.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(r.enabled||r.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}});Ot.positioners=St;var Et=$.valueOrDefault;function jt(){return $.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){if("xAxes"===e||"yAxes"===e){var i,o,a,s=n[e].length;for(t[e]||(t[e]=[]),i=0;i<s;++i)o=Et((a=n[e][i]).type,"xAxes"===e?"category":"linear"),i>=t[e].length&&t[e].push({}),$.merge(t[e][i],!t[e][i].type||a.type&&a.type!==t[e][i].type?[wt.getScaleDefaults(o),a]:a)}else $._merger(e,t,n,r)}})}function At(){return $.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){var i=t[e]||Object.create(null),o=n[e];"scales"===e?t[e]=jt(i,o):"scale"===e?t[e]=$.merge(i,[wt.getScaleDefaults(o.type),o]):$._merger(e,t,n,r)}})}function Pt(e){var t=e.options;$.each(e.scales,(function(t){lt.removeBox(e,t)})),t=At(Y.global,Y[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function It(e,t,n){var r,i=function(e){return e.id===r};do{r=t+n++}while($.findIndex(e,i)>=0);return r}function Yt(e){return"top"===e||"bottom"===e}function Rt(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}Y._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Nt=function(e,t){return this.construct(e,t),this};$.extend(Nt.prototype,{construct:function(e,t){var n=this;t=function(e){var t=(e=e||Object.create(null)).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=At(Y.global,Y[e.type],e.options||{}),e}(t);var r=vt.acquireContext(e,t),i=r&&r.canvas,o=i&&i.height,a=i&&i.width;n.id=$.uid(),n.ctx=r,n.canvas=i,n.config=t,n.width=a,n.height=o,n.aspectRatio=o?a/o:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Nt.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),r&&i?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return bt.notify(e,"beforeInit"),$.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),bt.notify(e,"afterInit"),e},clear:function(){return $.canvas.clear(this),this},stop:function(){return K.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,i=n.maintainAspectRatio&&t.aspectRatio||null,o=Math.max(0,Math.floor($.getMaximumWidth(r))),a=Math.max(0,Math.floor(i?o/i:$.getMaximumHeight(r)));if((t.width!==o||t.height!==a)&&(r.width=t.width=o,r.height=t.height=a,r.style.width=o+"px",r.style.height=a+"px",$.retinaScale(t,n.devicePixelRatio),!e)){var s={width:o,height:a};bt.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;$.each(t.xAxes,(function(e,n){e.id||(e.id=It(t.xAxes,"x-axis-",n))})),$.each(t.yAxes,(function(e,n){e.id||(e.id=It(t.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,n=e.scales||{},r=[],i=Object.keys(n).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(r=r.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&r.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),$.each(r,(function(t){var r=t.options,o=r.id,a=Et(r.type,t.dtype);Yt(r.position)!==Yt(t.dposition)&&(r.position=t.dposition),i[o]=!0;var s=null;if(o in n&&n[o].type===a)(s=n[o]).options=r,s.ctx=e.ctx,s.chart=e;else{var l=wt.getScaleConstructor(a);if(!l)return;s=new l({id:o,type:a,options:r,ctx:e.ctx,chart:e}),n[s.id]=s}s.mergeTicksOptions(),t.isDefault&&(e.scale=s)})),$.each(i,(function(e,t){e||delete n[t]})),e.scales=n,wt.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=this,r=[],i=n.data.datasets;for(e=0,t=i.length;e<t;e++){var o=i[e],a=n.getDatasetMeta(e),s=o.type||n.config.type;if(a.type&&a.type!==s&&(n.destroyDatasetMeta(e),a=n.getDatasetMeta(e)),a.type=s,a.order=o.order||0,a.index=e,a.controller)a.controller.updateIndex(e),a.controller.linkScales();else{var l=Be[a.type];if(void 0===l)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new l(n,e),r.push(a.controller)}}return r},resetElements:function(){var e=this;$.each(e.data.datasets,(function(t,n){e.getDatasetMeta(n).controller.reset()}),e)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var t,n,r=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),Pt(r),bt._invalidate(r),!1!==bt.notify(r,"beforeUpdate")){r.tooltip._data=r.data;var i=r.buildOrUpdateControllers();for(t=0,n=r.data.datasets.length;t<n;t++)r.getDatasetMeta(t).controller.buildOrUpdateElements();r.updateLayout(),r.options.animation&&r.options.animation.duration&&$.each(i,(function(e){e.reset()})),r.updateDatasets(),r.tooltip.initialize(),r.lastActive=[],bt.notify(r,"afterUpdate"),r._layers.sort(Rt("z","_idx")),r._bufferedRender?r._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:r.render(e)}},updateLayout:function(){var e=this;!1!==bt.notify(e,"beforeLayout")&&(lt.update(this,this.width,this.height),e._layers=[],$.each(e.boxes,(function(t){t._configure&&t._configure(),e._layers.push.apply(e._layers,t._layers())}),e),e._layers.forEach((function(e,t){e._idx=t})),bt.notify(e,"afterScaleUpdate"),bt.notify(e,"afterLayout"))},updateDatasets:function(){if(!1!==bt.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);bt.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),n={meta:t,index:e};!1!==bt.notify(this,"beforeDatasetUpdate",[n])&&(t.controller._update(),bt.notify(this,"afterDatasetUpdate",[n]))},render:function(e){var t=this;e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]});var n=t.options.animation,r=Et(e.duration,n&&n.duration),i=e.lazy;if(!1!==bt.notify(t,"beforeRender")){var o=function(e){bt.notify(t,"afterRender"),$.callback(n&&n.onComplete,[e],t)};if(n&&r){var a=new G({numSteps:r/16.66,easing:e.easing||n.easing,render:function(e,t){var n=t.currentStep,r=n/t.numSteps;e.draw((0,$.easing.effects[t.easing])(r),r,n)},onAnimationProgress:n.onProgress,onAnimationComplete:o});K.addAnimation(t,a,r,i)}else t.draw(),o(new G({numSteps:0,chart:t}));return t}},draw:function(e){var t,n,r=this;if(r.clear(),$.isNullOrUndef(e)&&(e=1),r.transition(e),!(r.width<=0||r.height<=0)&&!1!==bt.notify(r,"beforeDraw",[e])){for(n=r._layers,t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(r.chartArea);for(r.drawDatasets(e);t<n.length;++t)n[t].draw(r.chartArea);r._drawTooltip(e),bt.notify(r,"afterDraw",[e])}},transition:function(e){for(var t=0,n=(this.data.datasets||[]).length;t<n;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(e);this.tooltip.transition(e)},_getSortedDatasetMetas:function(e){var t,n,r=[];for(t=0,n=(this.data.datasets||[]).length;t<n;++t)e&&!this.isDatasetVisible(t)||r.push(this.getDatasetMeta(t));return r.sort(Rt("order","index")),r},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(e){var t,n;if(!1!==bt.notify(this,"beforeDatasetsDraw",[e])){for(n=(t=this._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)this.drawDataset(t[n],e);bt.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n={meta:e,index:e.index,easingValue:t};!1!==bt.notify(this,"beforeDatasetDraw",[n])&&(e.controller.draw(t),bt.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==bt.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),bt.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return Xe.modes.single(this,e)},getElementsAtEvent:function(e){return Xe.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return Xe.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var r=Xe.modes[t];return"function"==typeof r?r(this,e,n):[]},getDatasetAtEvent:function(e){return Xe.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n||(n=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e}),n},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,n=this.data.datasets[e],r=n._meta&&n._meta[t];r&&(r.controller.destroy(),delete n._meta[t])},destroy:function(){var e,t,n=this,r=n.canvas;for(n.stop(),e=0,t=n.data.datasets.length;e<t;++e)n.destroyDatasetMeta(e);r&&(n.unbindEvents(),$.canvas.clear(n),vt.releaseContext(n.ctx),n.canvas=null,n.ctx=null),bt.notify(n,"destroy"),delete Nt.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new Ot({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var e=this,t=e._listeners={},n=function(){e.eventHandler.apply(e,arguments)};$.each(e.options.events,(function(r){vt.addEventListener(e,r,n),t[r]=n})),e.options.responsive&&(n=function(){e.resize()},vt.addEventListener(e,"resize",n),t.resize=n)},unbindEvents:function(){var e=this,t=e._listeners;t&&(delete e._listeners,$.each(t,(function(t,n){vt.removeEventListener(e,n,t)})))},updateHoverStyle:function(e,t,n){var r,i,o,a=n?"set":"remove";for(i=0,o=e.length;i<o;++i)(r=e[i])&&this.getDatasetMeta(r._datasetIndex).controller[a+"HoverStyle"](r);"dataset"===t&&this.getDatasetMeta(e[0]._datasetIndex).controller["_"+a+"DatasetHoverStyle"]()},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==bt.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var r=t.handleEvent(e);n&&(r=n._start?n.handleEvent(e):r|n.handleEvent(e)),bt.notify(t,"afterEvent",[e]);var i=t._bufferedRequest;return i?t.render(i):r&&!t.animating&&(t.stop(),t.render({duration:t.options.hover.animationDuration,lazy:!0})),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t,n=this,r=n.options||{},i=r.hover;return n.lastActive=n.lastActive||[],n.active="mouseout"===e.type?[]:n.getElementsAtEventForMode(e,i.mode,i),$.callback(r.onHover||r.hover.onHover,[e.native,n.active],n),"mouseup"!==e.type&&"click"!==e.type||r.onClick&&r.onClick.call(n,e.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,i.mode,!1),n.active.length&&i.mode&&n.updateHoverStyle(n.active,i.mode,!0),t=!$.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,t}}),Nt.instances={};var Ft=Nt;function Ht(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function $t(e){this.options=e||{}}Nt.Controller=Nt,Nt.types={},$.configMerge=At,$.scaleMerge=jt,$.extend($t.prototype,{formats:Ht,parse:Ht,format:Ht,add:Ht,diff:Ht,startOf:Ht,endOf:Ht,_create:function(e){return e}}),$t.override=function(e){$.extend($t.prototype,e)};var zt={_date:$t},Wt={formatters:{values:function(e){return $.isArray(e)?e:""+e},linear:function(e,t,n){var r=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&e!==Math.floor(e)&&(r=e-Math.floor(e));var i=$.log10(Math.abs(r)),o="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var a=$.log10(Math.abs(e)),s=Math.floor(a)-Math.floor(i);s=Math.max(Math.min(s,20),0),o=e.toExponential(s)}else{var l=-1*Math.floor(i);l=Math.max(Math.min(l,20),0),o=e.toFixed(l)}else o="0";return o},logarithmic:function(e,t,n){var r=e/Math.pow(10,Math.floor($.log10(e)));return 0===e?"0":1===r||2===r||5===r||0===t||t===n.length-1?e.toExponential():""}}},Ut=$.isArray,Bt=$.isNullOrUndef,Vt=$.valueOrDefault,qt=$.valueAtIndexOrDefault;function Gt(e,t,n){var r,i=e.getTicks().length,o=Math.min(t,i-1),a=e.getPixelForTick(o),s=e._startPixel,l=e._endPixel;if(!(n&&(r=1===i?Math.max(a-s,l-a):0===t?(e.getPixelForTick(1)-a)/2:(a-e.getPixelForTick(o-1))/2,(a+=o<t?r:-r)<s-1e-6||a>l+1e-6)))return a}function Kt(e){return e.drawTicks?e.tickMarkLength:0}function Jt(e){var t,n;return e.display?(t=$.options._parseFont(e),n=$.options.toPadding(e.padding),t.lineHeight+n.height):0}function Qt(e,t){return $.extend($.options._parseFont({fontFamily:Vt(t.fontFamily,e.fontFamily),fontSize:Vt(t.fontSize,e.fontSize),fontStyle:Vt(t.fontStyle,e.fontStyle),lineHeight:Vt(t.lineHeight,e.lineHeight)}),{color:$.options.resolve([t.fontColor,e.fontColor,Y.global.defaultFontColor])})}function Xt(e){var t=Qt(e,e.minor);return{minor:t,major:e.major.enabled?Qt(e,e.major):t}}function Zt(e){var t,n,r,i=[];for(n=0,r=e.length;n<r;++n)void 0!==(t=e[n])._index&&i.push(t);return i}function en(e,t,n,r){var i,o,a,s,l=Vt(n,0),u=Math.min(Vt(r,e.length),e.length),c=0;for(t=Math.ceil(t),r&&(t=(i=r-n)/Math.floor(i/t)),s=l;s<0;)c++,s=Math.round(l+c*t);for(o=Math.max(l,0);o<u;o++)a=e[o],o===s?(a._index=o,c++,s=Math.round(l+c*t)):delete a.label}Y._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:Wt.formatters.values,minor:{},major:{}}});var tn=V.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){$.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var r,i,o,a,s,l=this,u=l.options.ticks,c=u.sampleSize;if(l.beforeUpdate(),l.maxWidth=e,l.maxHeight=t,l.margins=$.extend({left:0,right:0,top:0,bottom:0},n),l._ticks=null,l.ticks=null,l._labelSizes=null,l._maxLabelLines=0,l.longestLabelWidth=0,l.longestTextCache=l.longestTextCache||{},l._gridLineItems=null,l._labelItems=null,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),a=l.buildTicks()||[],(!(a=l.afterBuildTicks(a)||a)||!a.length)&&l.ticks)for(a=[],r=0,i=l.ticks.length;r<i;++r)a.push({value:l.ticks[r],major:!1});return l._ticks=a,o=l._convertTicksToLabels((s=c<a.length)?function(e,t){for(var n=[],r=e.length/t,i=0,o=e.length;i<o;i+=r)n.push(e[Math.floor(i)]);return n}(a,c):a),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDraw=u.display&&(u.autoSkip||"auto"===u.source)?l._autoSkip(a):a,s&&(o=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=o,l.afterUpdate(),l.minSize},_configure:function(){var e,t,n=this,r=n.options.ticks.reverse;n.isHorizontal()?(e=n.left,t=n.right):(e=n.top,t=n.bottom,r=!r),n._startPixel=e,n._endPixel=t,n._reversePixels=r,n._length=t-e},afterUpdate:function(){$.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){$.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){$.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){$.callback(this.options.beforeDataLimits,[this])},determineDataLimits:$.noop,afterDataLimits:function(){$.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){$.callback(this.options.beforeBuildTicks,[this])},buildTicks:$.noop,afterBuildTicks:function(e){var t=this;return Ut(e)&&e.length?$.callback(t.options.afterBuildTicks,[t,e]):(t.ticks=$.callback(t.options.afterBuildTicks,[t,t.ticks])||t.ticks,e)},beforeTickToLabelConversion:function(){$.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){$.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){$.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e,t,n,r,i,o,a,s=this,l=s.options,u=l.ticks,c=s.getTicks().length,d=u.minRotation||0,h=u.maxRotation,f=d;!s._isVisible()||!u.display||d>=h||c<=1||!s.isHorizontal()?s.labelRotation=d:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,r=Math.min(s.maxWidth,s.chart.width-t),t+6>(i=l.offset?s.maxWidth/c:r/(c-1))&&(i=r/(c-(l.offset?.5:1)),o=s.maxHeight-Kt(l.gridLines)-u.padding-Jt(l.scaleLabel),a=Math.sqrt(t*t+n*n),f=$.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/i,1)),Math.asin(Math.min(o/a,1))-Math.asin(n/a))),f=Math.max(d,Math.min(h,f))),s.labelRotation=f)},afterCalculateTickRotation:function(){$.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){$.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,r=e.options,i=r.ticks,o=r.scaleLabel,a=r.gridLines,s=e._isVisible(),l="bottom"===r.position,u=e.isHorizontal();
2if(u?t.width=e.maxWidth:s&&(t.width=Kt(a)+Jt(o)),u?s&&(t.height=Kt(a)+Jt(o)):t.height=e.maxHeight,i.display&&s){var c=Xt(i),d=e._getLabelSizes(),h=d.first,f=d.last,p=d.widest,m=d.highest,g=.4*c.minor.lineHeight,_=i.padding;if(u){var y=0!==e.labelRotation,v=$.toRadians(e.labelRotation),b=Math.cos(v),w=Math.sin(v);t.height=Math.min(e.maxHeight,t.height+(w*p.width+b*(m.height-(y?m.offset:0))+(y?0:g))+_);var k,M,S=e.getPixelForTick(0)-e.left,T=e.right-e.getPixelForTick(e.getTicks().length-1);y?(k=l?b*h.width+w*h.offset:w*(h.height-h.offset),M=l?w*(f.height-f.offset):b*f.width+w*f.offset):(k=h.width/2,M=f.width/2),e.paddingLeft=Math.max((k-S)*e.width/(e.width-S),0)+3,e.paddingRight=Math.max((M-T)*e.width/(e.width-T),0)+3}else t.width=Math.min(e.maxWidth,t.width+(i.mirror?0:p.width+_+g)),e.paddingTop=h.height/2,e.paddingBottom=f.height/2}e.handleMargins(),u?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){$.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(Bt(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,r,i=this;for(i.ticks=e.map((function(e){return e.value})),i.beforeTickToLabelConversion(),t=i.convertTicksToLabels(e)||i.ticks,i.afterTickToLabelConversion(),n=0,r=e.length;n<r;++n)e[n].label=t[n];return t},_getLabelSizes:function(){var e=this,t=e._labelSizes;return t||(e._labelSizes=t=function(e,t,n,r){var i,o,a,s,l,u,c,d,h,f,p,m,g,_=n.length,y=[],v=[],b=[],w=0,k=0;for(i=0;i<_;++i){if(s=n[i].label,e.font=u=(l=n[i].major?t.major:t.minor).string,c=r[u]=r[u]||{data:{},gc:[]},d=l.lineHeight,h=f=0,Bt(s)||Ut(s)){if(Ut(s))for(o=0,a=s.length;o<a;++o)Bt(p=s[o])||Ut(p)||(h=$.measureText(e,c.data,c.gc,h,p),f+=d)}else h=$.measureText(e,c.data,c.gc,h,s),f=d;y.push(h),v.push(f),b.push(d/2),w=Math.max(h,w),k=Math.max(f,k)}function M(e){return{width:y[e]||0,height:v[e]||0,offset:b[e]||0}}return function(e,t){$.each(e,(function(e){var n,r=e.gc,i=r.length/2;if(i>t){for(n=0;n<i;++n)delete e.data[r[n]];r.splice(0,i)}}))}(r,_),m=y.indexOf(w),g=v.indexOf(k),{first:M(0),last:M(_-1),widest:M(m),highest:M(g)}}(e.ctx,Xt(e.options.ticks),e.getTicks(),e.longestTextCache),e.longestLabelWidth=t.widest.width),t},_parseValue:function(e){var t,n,r,i;return Ut(e)?(t=+this.getRightValue(e[0]),n=+this.getRightValue(e[1]),r=Math.min(t,n),i=Math.max(t,n)):(t=void 0,n=e=+this.getRightValue(e),r=e,i=e),{min:r,max:i,start:t,end:n}},_getScaleLabel:function(e){var t=this._parseValue(e);return void 0!==t.start?"["+t.start+", "+t.end+"]":+this.getRightValue(e)},getLabelForIndex:$.noop,getPixelForValue:$.noop,getValueForPixel:$.noop,getPixelForTick:function(e){var t=this.options.offset,n=this._ticks.length,r=1/Math.max(n-(t?0:1),1);return e<0||e>n-1?null:this.getPixelForDecimal(e*r+(t?r/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0},_autoSkip:function(e){var t,n,r,i,o=this.options.ticks,a=o.maxTicksLimit||this._length/this._tickSize()+1,s=o.major.enabled?function(e){var t,n,r=[];for(t=0,n=e.length;t<n;t++)e[t].major&&r.push(t);return r}(e):[],l=s.length,u=s[0],c=s[l-1];if(l>a)return function(e,t,n){var r,i,o=0,a=t[0];for(n=Math.ceil(n),r=0;r<e.length;r++)i=e[r],r===a?(i._index=r,a=t[++o*n]):delete i.label}(e,s,l/a),Zt(e);if(r=function(e,t,n,r){var i,o,a,s,l=function(e){var t,n,r=e.length;if(r<2)return!1;for(n=e[0],t=1;t<r;++t)if(e[t]-e[t-1]!==n)return!1;return n}(e),u=(t.length-1)/r;if(!l)return Math.max(u,1);for(a=0,s=(i=$.math._factorize(l)).length-1;a<s;a++)if((o=i[a])>u)return o;return Math.max(u,1)}(s,e,0,a),l>0){for(t=0,n=l-1;t<n;t++)en(e,r,s[t],s[t+1]);return en(e,r,$.isNullOrUndef(i=l>1?(c-u)/(l-1):null)?0:u-i,u),en(e,r,c,$.isNullOrUndef(i)?e.length:c+i),Zt(e)}return en(e,r),Zt(e)},_tickSize:function(){var e=this.options.ticks,t=$.toRadians(this.labelRotation),n=Math.abs(Math.cos(t)),r=M
vendor: 24,751 bytes, line 2
2ath.abs(Math.sin(t)),i=this._getLabelSizes(),o=e.autoSkipPadding||0,a=i?i.widest.width+o:0,s=i?i.highest.height+o:0;return this.isHorizontal()?s*n>a*r?a/n:s/r:s*r<a*n?s/n:a/r},_isVisible:function(){var e,t,n,r=this.chart,i=this.options.display;if("auto"!==i)return!!i;for(e=0,t=r.data.datasets.length;e<t;++e)if(r.isDatasetVisible(e)&&((n=r.getDatasetMeta(e)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(e){var t,n,r,i,o,a,s,l,u,c,d,h,f,p,m,g,_,y=this,v=y.chart,b=y.options,w=b.gridLines,k=b.position,M=w.offsetGridLines,S=y.isHorizontal(),T=y._ticksToDraw,x=T.length+(M?1:0),L=Kt(w),D=[],C=w.drawBorder?qt(w.lineWidth,0,0):0,O=C/2,E=$._alignPixel,j=function(e){return E(v,e,C)};for("top"===k?(t=j(y.bottom),s=y.bottom-L,u=t-O,d=j(e.top)+O,f=e.bottom):"bottom"===k?(t=j(y.top),d=e.top,f=j(e.bottom)-O,s=t+O,u=y.top+L):"left"===k?(t=j(y.right),a=y.right-L,l=t-O,c=j(e.left)+O,h=e.right):(t=j(y.left),c=e.left,h=j(e.right)-O,a=t+O,l=y.left+L),n=0;n<x;++n)Bt((r=T[n]||{}).label)&&n<T.length||(n===y.zeroLineIndex&&b.offset===M?(p=w.zeroLineWidth,m=w.zeroLineColor,g=w.zeroLineBorderDash||[],_=w.zeroLineBorderDashOffset||0):(p=qt(w.lineWidth,n,1),m=qt(w.color,n,"rgba(0,0,0,0.1)"),g=w.borderDash||[],_=w.borderDashOffset||0),void 0!==(i=Gt(y,r._index||n,M))&&(o=E(v,i,p),S?a=l=c=h=o:s=u=d=f=o,D.push({tx1:a,ty1:s,tx2:l,ty2:u,x1:c,y1:d,x2:h,y2:f,width:p,color:m,borderDash:g,borderDashOffset:_})));return D.ticksLength=x,D.borderValue=t,D},_computeLabelItems:function(){var e,t,n,r,i,o,a,s,l,u,c,d,h=this,f=h.options,p=f.ticks,m=f.position,g=p.mirror,_=h.isHorizontal(),y=h._ticksToDraw,v=Xt(p),b=p.padding,w=Kt(f.gridLines),k=-$.toRadians(h.labelRotation),M=[];for("top"===m?(o=h.bottom-w-b,a=k?"left":"center"):"bottom"===m?(o=h.top+w+b,a=k?"right":"center"):"left"===m?(i=h.right-(g?0:w)-b,a=g?"left":"right"):(i=h.left+(g?0:w)+b,a=g?"right":"left"),e=0,t=y.length;e<t;++e)Bt(r=(n=y[e]).label)||(s=h.getPixelForTick(n._index||e)+p.labelOffset,u=(l=n.major?v.major:v.minor).lineHeight,c=Ut(r)?r.length:1,_?(i=s,d="top"===m?((k?1:.5)-c)*u:(k?0:.5)*u):(o=s,d=(1-c)*u/2),M.push({x:i,y:o,rotation:k,label:r,font:l,textOffset:d,textAlign:a}));return M},_drawGrid:function(e){var t=this,n=t.options.gridLines;if(n.display){var r,i,o,a,s,l=t.ctx,u=t.chart,c=$._alignPixel,d=n.drawBorder?qt(n.lineWidth,0,0):0,h=t._gridLineItems||(t._gridLineItems=t._computeGridLineItems(e));for(o=0,a=h.length;o<a;++o)i=(s=h[o]).color,(r=s.width)&&i&&(l.save(),l.lineWidth=r,l.strokeStyle=i,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),n.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(d){var f,p,m,g,_=d,y=qt(n.lineWidth,h.ticksLength-1,1),v=h.borderValue;t.isHorizontal()?(f=c(u,t.left,_)-_/2,p=c(u,t.right,y)+y/2,m=g=v):(m=c(u,t.top,_)-_/2,g=c(u,t.bottom,y)+y/2,f=p=v),l.lineWidth=d,l.strokeStyle=qt(n.color,0),l.beginPath(),l.moveTo(f,m),l.lineTo(p,g),l.stroke()}}},_drawLabels:function(){var e=this;if(e.options.ticks.display){var t,n,r,i,o,a,s,l,u=e.ctx,c=e._labelItems||(e._labelItems=e._computeLabelItems());for(t=0,r=c.length;t<r;++t){if(a=(o=c[t]).font,u.save(),u.translate(o.x,o.y),u.rotate(o.rotation),u.font=a.string,u.fillStyle=a.color,u.textBaseline="middle",u.textAlign=o.textAlign,l=o.textOffset,Ut(s=o.label))for(n=0,i=s.length;n<i;++n)u.fillText(""+s[n],0,l),l+=a.lineHeight;else u.fillText(s,0,l);u.restore()}}},_drawTitle:function(){var e=this,t=e.ctx,n=e.options,r=n.scaleLabel;if(r.display){var i,o,a=Vt(r.fontColor,Y.global.defaultFontColor),s=$.options._parseFont(r),l=$.options.toPadding(r.padding),u=s.lineHeight/2,c=n.position,d=0;if(e.isHorizontal())i=e.left+e.width/2,o="bottom"===c?e.bottom-u-l.bottom:e.top+u+l.top;else{var h="left"===c;i=h?e.left+u+l.top:e.right-u-l.top,o=e.top+e.height/2,d=h?-.5*Math.PI:.5*Math.PI}t.save(),t.translate(i,o),t.rotate(d),t.textAlign="center",t.textBaseline="middle",t.fillStyle=a,t.font=s.string,t.fillText(r.labelString,0,0),t.restore()}},draw:function(e){this._isVisible()&&(this._drawGrid(e),this._drawTitle(),this._drawLabels())},_layers:function(){var e=this,t=e.options,n=t.ticks&&t.ticks.z||0,r=t.gridLines&&t.gridLines.z||0;return e._isVisible()&&n!==r&&e.draw===e._draw?[{z:r,draw:function(){e._drawGrid.apply(e,arguments),e._drawTitle.apply(e,arguments)}},{z:n,draw:function(){e._drawLabels.apply(e,arguments)}}]:[{z:n,draw:function(){e.draw.apply(e,arguments)}}]},_getMatchingVisibleMetas:function(e){var t=this,n=t.isHorizontal();return t.chart._getSortedVisibleDatasetMetas().filter((function(r){return(!e||r.type===e)&&(n?r.xAxisID===t.id:r.yAxisID===t.id)}))}});tn.prototype._draw=tn.prototype.draw;var nn=tn,rn=$.isNullOrUndef,on=nn.extend({determineDataLimits:function(){var e,t=this,n=t._getLabels(),r=t.options.ticks,i=r.min,o=r.max,a=0,s=n.length-1;void 0!==i&&(e=n.indexOf(i))>=0&&(a=e),void 0!==o&&(e=n.indexOf(o))>=0&&(s=e),t.minIndex=a,t.maxIndex=s,t.min=n[a],t.max=n[s]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,n=this.maxIndex;this.ticks=0===t&&n===e.length-1?e:e.slice(t,n+1)},getLabelForIndex:function(e,t){var n=this.chart;return n.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,n=e.ticks;nn.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),n&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(n.length-(t?0:1),1))},getPixelForValue:function(e,t,n){var r,i,o,a=this;return rn(t)||rn(n)||(e=a.chart.data.datasets[n].data[t]),rn(e)||(r=a.isHorizontal()?e.x:e.y),(void 0!==r||void 0!==e&&isNaN(t))&&(i=a._getLabels(),e=$.valueOrDefault(r,e),t=-1!==(o=i.indexOf(e))?o:t,isNaN(t)&&(t=e)),a.getPixelForDecimal((t-a._startValue)/a._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}});on._defaults={position:"bottom"};var an=$.isNullOrUndef,sn=nn.extend({getRightValue:function(e){return"string"==typeof e?+e:nn.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=$.sign(e.min),r=$.sign(e.max);n<0&&r<0?e.max=0:n>0&&r>0&&(e.min=0)}var i=void 0!==t.min||void 0!==t.suggestedMin,o=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(e.min=null===e.min?t.suggestedMin:Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(e.max=null===e.max?t.suggestedMax:Math.max(e.max,t.suggestedMax)),i!==o&&e.min>=e.max&&(i?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,n=t.stepSize,r=t.maxTicksLimit;return n?e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(e=this._computeTickLimit(),r=r||11),r&&(e=Math.min(r,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:$.noop,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:$.valueOrDefault(t.fixedStepSize,t.stepSize)},i=e.ticks=function(e,t){var n,r,i,o,a=[],s=e.stepSize,l=s||1,u=e.maxTicks-1,c=e.min,d=e.max,h=e.precision,f=t.min,p=t.max,m=$.niceNum((p-f)/u/l)*l;if(m<1e-14&&an(c)&&an(d))return[f,p];(o=Math.ceil(p/m)-Math.floor(f/m))>u&&(m=$.niceNum(o*m/u/l)*l),s||an(h)?n=Math.pow(10,$._decimalPlaces(m)):(n=Math.pow(10,h),m=Math.ceil(m*n)/n),r=Math.floor(f/m)*m,i=Math.ceil(p/m)*m,s&&(!an(c)&&$.almostWhole(c/m,m/1e3)&&(r=c),!an(d)&&$.almostWhole(d/m,m/1e3)&&(i=d)),o=$.almostEquals(o=(i-r)/m,Math.round(o),m/1e3)?Math.round(o):Math.ceil(o),r=Math.round(r*n)/n,i=Math.round(i*n)/n,a.push(an(c)?r:c);for(var g=1;g<o;++g)a.push(Math.round((r+g*m)*n)/n);return a.push(an(d)?i:d),a}(r,e);e.handleDirectionalChanges(),e.max=$.max(i),e.min=$.min(i),t.reverse?(i.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),nn.prototype.convertTicksToLabels.call(e)},_configure:function(){var e,t=this,n=t.getTicks(),r=t.min,i=t.max;nn.prototype._configure.call(t),t.options.offset&&n.length&&(r-=e=(i-r)/Math.max(n.length-1,1)/2,i+=e),t._startValue=r,t._endValue=i,t._valueRange=i-r}}),ln={position:"left",ticks:{callback:Wt.formatters.linear}};function un(e,t,n,r){var i,o,a=e.options,s=function(e,t,n){var r=[n.type,void 0===t&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===e[r]&&(e[r]={pos:[],neg:[]}),e[r]}(t,a.stacked,n),l=s.pos,u=s.neg,c=r.length;for(i=0;i<c;++i)o=e._parseValue(r[i]),isNaN(o.min)||isNaN(o.max)||n.data[i].hidden||(l[i]=l[i]||0,u[i]=u[i]||0,a.relativePoints?l[i]=100:o.min<0||o.max<0?u[i]+=o.min:l[i]+=o.max)}function cn(e,t,n){var r,i,o=n.length;for(r=0;r<o;++r)i=e._parseValue(n[r]),isNaN(i.min)||isNaN(i.max)||t.data[r].hidden||(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}var dn=sn.extend({determineDataLimits:function(){var e,t,n,r,i=this,o=i.options,a=i.chart.data.datasets,s=i._getMatchingVisibleMetas(),l=o.stacked,u={},c=s.length;if(i.min=Number.POSITIVE_INFINITY,i.max=Number.NEGATIVE_INFINITY,void 0===l)for(e=0;!l&&e<c;++e)l=void 0!==(t=s[e]).stack;for(e=0;e<c;++e)n=a[(t=s[e]).index].data,l?un(i,u,t,n):cn(i,t,n);$.each(u,(function(e){r=e.pos.concat(e.neg),i.min=Math.min(i.min,$.min(r)),i.max=Math.max(i.max,$.max(r))})),i.min=$.isFinite(i.min)&&!isNaN(i.min)?i.min:0,i.max=$.isFinite(i.max)&&!isNaN(i.max)?i.max:1,i.handleTickRangeOptions()},_computeTickLimit:function(){var e;return this.isHorizontal()?Math.ceil(this.width/40):(e=$.options._parseFont(this.options.ticks),Math.ceil(this.height/e.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){return this.getPixelForDecimal((+this.getRightValue(e)-this._startValue)/this._valueRange)},getValueForPixel:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange},getPixelForTick:function(e){var t=this.ticksAsNumbers;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])}});dn._defaults=ln;var hn=$.valueOrDefault,fn=$.math.log10,pn={position:"left",ticks:{callback:Wt.formatters.logarithmic}};function mn(e,t){return $.isFinite(e)&&e>=0?e:t}var gn=nn.extend({determineDataLimits:function(){var e,t,n,r,i,o,a=this,s=a.options,l=a.chart,u=l.data.datasets,c=a.isHorizontal();function d(e){return c?e.xAxisID===a.id:e.yAxisID===a.id}a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,a.minNotZero=Number.POSITIVE_INFINITY;var h=s.stacked;if(void 0===h)for(e=0;e<u.length;e++)if(t=l.getDatasetMeta(e),l.isDatasetVisible(e)&&d(t)&&void 0!==t.stack){h=!0;break}if(s.stacked||h){var f={};for(e=0;e<u.length;e++){var p=[(t=l.getDatasetMeta(e)).type,void 0===s.stacked&&void 0===t.stack?e:"",t.stack].join(".");if(l.isDatasetVisible(e)&&d(t))for(void 0===f[p]&&(f[p]=[]),i=0,o=(r=u[e].data).length;i<o;i++){var m=f[p];n=a._parseValue(r[i]),isNaN(n.min)||isNaN(n.max)||t.data[i].hidden||n.min<0||n.max<0||(m[i]=m[i]||0,m[i]+=n.max)}}$.each(f,(function(e){if(e.length>0){var t=$.min(e),n=$.max(e);a.min=Math.min(a.min,t),a.max=Math.max(a.max,n)}}))}else for(e=0;e<u.length;e++)if(t=l.getDatasetMeta(e),l.isDatasetVisible(e)&&d(t))for(i=0,o=(r=u[e].data).length;i<o;i++)n=a._parseValue(r[i]),isNaN(n.min)||isNaN(n.max)||t.data[i].hidden||n.min<0||n.max<0||(a.min=Math.min(n.min,a.min),a.max=Math.max(n.max,a.max),0!==n.min&&(a.minNotZero=Math.min(n.min,a.minNotZero)));a.min=$.isFinite(a.min)?a.min:null,a.max=$.isFinite(a.max)?a.max:null,a.minNotZero=$.isFinite(a.minNotZero)?a.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;e.min=mn(t.min,e.min),e.max=mn(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(fn(e.min))-1),e.max=Math.pow(10,Math.floor(fn(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(fn(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(fn(e.min))+1):10),null===e.minNotZero&&(e.minNotZero=e.min>0?e.min:e.max<1?Math.pow(10,Math.floor(fn(e.max))):1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),r={min:mn(t.min),max:mn(t.max)},i=e.ticks=function(e,t){var n,r,i=[],o=hn(e.min,Math.pow(10,Math.floor(fn(t.min)))),a=Math.floor(fn(t.max)),s=Math.ceil(t.max/Math.pow(10,a));0===o?(n=Math.floor(fn(t.minNotZero)),r=Math.floor(t.minNotZero/Math.pow(10,n)),i.push(o),o=r*Math.pow(10,n)):(n=Math.floor(fn(o)),r=Math.floor(o/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{i.push(o),10==++r&&(r=1,l=++n>=0?1:l),o=Math.round(r*Math.pow(10,n)*l)/l}while(n<a||n===a&&r<s);var u=hn(e.max,o);return i.push(u),i}(r,e);e.max=$.max(i),e.min=$.min(i),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&i.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),nn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(fn(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;nn.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=hn(e.options.ticks.fontSize,Y.global.defaultFontSize)/e._length),e._startValue=fn(t),e._valueOffset=n,e._valueRange=(fn(e.max)-fn(t))/(1-n)},getPixelForValue:function(e){var t=this,n=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(n=(fn(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(n)},getValueForPixel:function(e){var t=this,n=t.getDecimalForPixel(e);return 0===n&&0===t.min?0:Math.pow(10,t._startValue+(n-t._valueOffset)*t._valueRange)}});gn._defaults=pn;var _n=$.valueOrDefault,yn=$.valueAtIndexOrDefault,vn=$.options.resolve,bn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Wt.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function wn(e){var t=e.ticks;return t.display&&e.display?_n(t.fontSize,Y.global.defaultFontSize)+2*t.backdropPaddingY:0}function kn(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:e<r||e>i?{start:t-n,end:t}:{start:t,end:t+n}}function Mn(e){return 0===e||180===e?"center":e<180?"left":"right"}function Sn(e,t,n,r){var i,o,a=n.y+r/2;if($.isArray(t))for(i=0,o=t.length;i<o;++i)e.fillText(t[i],n.x,a),a+=r;else e.fillText(t,n.x,a)}function Tn(e,t,n){90===e||270===e?n.y-=t.h/2:(e>270||e<90)&&(n.y-=t.h)}function xn(e){return $.isNumber(e)?e:0}var Ln=sn.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=wn(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;$.each(t.data.datasets,(function(i,o){if(t.isDatasetVisible(o)){var a=t.getDatasetMeta(o);$.each(i.data,(function(t,i){var o=+e.getRightValue(t);isNaN(o)||a.data[i].hidden||(n=Math.min(o,n),r=Math.max(o,r))}))}})),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=r===Number.NEGATIVE_INFINITY?0:r,e.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/wn(this.options))},convertTicksToLabels:function(){var e=this;sn.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map((function(){var t=$.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""}))},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,n,r,i=$.options._parseFont(e.options.pointLabels),o={l:0,r:e.width,t:0,b:e.height-e.paddingTop},a={};e.ctx.font=i.string,e._pointLabelSizes=[];var s,l,u,c=e.chart.data.labels.length;for(t=0;t<c;t++){r=e.getPointPosition(t,e.drawingArea+5),s=e.ctx,l=i.lineHeight,n=$.isArray(u=e.pointLabels[t])?{w:$.longestText(s,s.font,u),h:u.length*l}:{w:s.measureText(u).width,h:l},e._pointLabelSizes[t]=n;var d=e.getIndexAngle(t),h=$.toDegrees(d)%360,f=kn(h,r.x,n.w,0,180),p=kn(h,r.y,n.h,90,270);f.start<o.l&&(o.l=f.start,a.l=d),f.end>o.r&&(o.r=f.end,a.r=d),p.start<o.t&&(o.t=p.start,a.t=d),p.end>o.b&&(o.b=p.end,a.b=d)}e.setReductions(e.drawingArea,o,a)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,n){var r=this,i=t.l/Math.sin(n.l),o=Math.max(t.r-r.width,0)/Math.sin(n.r),a=-t.t/Math.cos(n.t),s=-Math.max(t.b-(r.height-r.paddingTop),0)/Math.cos(n.b);i=xn(i),o=xn(o),a=xn(a),s=xn(s),r.drawingArea=Math.min(Math.floor(e-(i+o)/2),Math.floor(e-(a+s)/2)),r.setCenterPoint(i,o,a,s)},setCenterPoint:function(e,t,n,r){var i=this,o=n+i.drawingArea,a=i.height-i.paddingTop-r-i.drawingArea;i.xCenter=Math.floor((e+i.drawingArea+(i.width-t-i.drawingArea))/2+i.left),i.yCenter=Math.floor((o+a)/2+i.top+i.paddingTop)},getIndexAngle:function(e){var t=this.chart,n=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if($.isNullOrUndef(e))return NaN;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,n=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0)},_drawGrid:function(){var e,t,n,r=this,i=r.ctx,o=r.options,a=o.gridLines,s=o.angleLines,l=_n(s.lineWidth,a.lineWidth),u=_n(s.color,a.color);if(o.pointLabels.display&&function(e){var t=e.ctx,n=e.options,r=n.pointLabels,i=wn(n),o=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),a=$.options._parseFont(r);t.save(),t.font=a.string,t.textBaseline="middle";for(var s=e.chart.data.labels.length-1;s>=0;s--){var l=e.getPointPosition(s,o+(0===s?i/2:0)+5),u=yn(r.fontColor,s,Y.global.defaultFontColor);t.fillStyle=u;var c=e.getIndexAngle(s),d=$.toDegrees(c);t.textAlign=Mn(d),Tn(d,e._pointLabelSizes[s],l),Sn(t,e.pointLabels[s],l,a.lineHeight)}t.restore()}(r),a.display&&$.each(r.ticks,(function(e,n){0!==n&&(t=r.getDistanceFromCenterForValue(r.ticksAsNumbers[n]),function(e,t,n,r){var i,o=e.ctx,a=t.circular,s=e.chart.data.labels.length,l=yn(t.color,r-1),u=yn(t.lineWidth,r-1);if((a||s)&&l&&u){if(o.save(),o.strokeStyle=l,o.lineWidth=u,o.setLineDash&&(o.setLineDash(t.borderDash||[]),o.lineDashOffset=t.borderDashOffset||0),o.beginPath(),a)o.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{i=e.getPointPosition(0,n),o.moveTo(i.x,i.y);for(var c=1;c<s;c++)i=e.getPointPosition(c,n),o.lineTo(i.x,i.y)}o.closePath(),o.stroke(),o.restore()}}(r,a,t,n))})),s.display&&l&&u){for(i.save(),i.lineWidth=l,i.strokeStyle=u,i.setLineDash&&(i.setLineDash(vn([s.borderDash,a.borderDash,[]])),i.lineDashOffset=vn([s.borderDashOffset,a.borderDashOffset,0])),e=r.chart.data.labels.length-1;e>=0;e--)t=r.getDistanceFromCenterForValue(o.ticks.reverse?r.min:r.max),n=r.getPointPosition(e,t),i.beginPath(),i.moveTo(r.xCenter,r.yCenter),i.lineTo(n.x,n.y),i.stroke();i.restore()}},_drawLabels:function(){var e=this,t=e.ctx,n=e.options.ticks;if(n.display){var r,i,o=e.getIndexAngle(0),a=$.options._parseFont(n),s=_n(n.fontColor,Y.global.defaultFontColor);t.save(),t.font=a.string,t.translate(e.xCenter,e.yCenter),t.rotate(o),t.textAlign="center",t.textBaseline="middle",$.each(e.ticks,(function(o,l){(0!==l||n.reverse)&&(r=e.getDistanceFromCenterForValue(e.ticksAsNumbers[l]),n.showLabelBackdrop&&(i=t.measureText(o).width,t.fillStyle=n.backdropColor,t.fillRect(-i/2-n.backdropPaddingX,-r-a.size/2-n.backdropPaddingY,i+2*n.backdropPaddingX,a.size+2*n.backdropPaddingY)),t.fillStyle=s,t.fillText(o,0,-r))})),t.restore()}},_drawTitle:$.noop});Ln._defaults=bn;var Dn=$._deprecated,Cn=$.options.resolve,On=$.valueOrDefault,En=Number.MIN_SAFE_INTEGER||-9007199254740991,jn=Number.MAX_SAFE_INTEGER||9007199254740991,An={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Pn=Object.keys(An);function In(e,t){return e-t}function Yn(e){return $.valueOrDefault(e.time.min,e.ticks.min)}function Rn(e){return $.valueOrDefault(e.time.max,e.ticks.max)}function Nn(e,t,n,r){var i=function(e,t,n){for(var r,i,o,a=0,s=e.length-1;a>=0&&a<=s;){if(o=e[r=a+s>>1],!(i=e[r-1]||null))return{lo:null,hi:o};if(o[t]<n)a=r+1;else{if(!(i[t]>n))return{lo:i,hi:o};s=r-1}}return{lo:o,hi:null}}(e,t,n),o=i.lo?i.hi?i.lo:e[e.length-2]:e[0],a=i.lo?i.hi?i.hi:e[e.length-1]:e[1],s=a[t]-o[t];return o[r]+(a[r]-o[r])*(s?(n-o[t])/s:0)}function Fn(e,t){var n=e._adapter,r=e.options.time,i=r.parser,o=i||r.format,a=t;return"function"==typeof i&&(a=i(a)),$.isFinite(a)||(a="string"==typeof o?n.parse(a,o):n.parse(a)),null!==a?+a:(i||"function"!=typeof o||(a=o(t),$.isFinite(a)||(a=n.parse(a))),a)}function Hn(e,t){if($.isNullOrUndef(t))return null;var n=e.options.time,r=Fn(e,e.getRightValue(t));return null===r||n.round&&(r=+e._adapter.startOf(r,n.round)),r}function $n(e,t,n,r){var i,o,a=Pn.length;for(i=Pn.indexOf(e);i<a-1;++i)if((o=An[Pn[i]]).common&&Math.ceil((n-t)/((o.steps?o.steps:jn)*o.size))<=r)return Pn[i];return Pn[a-1]}function zn(e,t,n){var r,i,o=[],a={},s=t.length;for(r=0;r<s;++r)a[i=t[r]]=r,o.push({value:i,major:!1});return 0!==s&&n?function(e,t,n,r){var i,o,a=e._adapter,s=+a.startOf(t[0].value,r),l=t[t.length-1].value;for(i=s;i<=l;i=+a.add(i,1,r))(o=n[i])>=0&&(t[o].major=!0);return t}(e,o,a,n):o}var Wn=nn.extend({initialize:function(){this.mergeTicksOptions(),nn.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,n=t.time||(t.time={}),r=e._adapter=new zt._date(t.adapters.date);return Dn("time scale",n.format,"time.format","time.parser"),Dn("time scale",n.min,"time.min","ticks.min"),Dn("time scale",n.max,"time.max","ticks.max"),$.mergeIf(n.displayFormats,r.formats()),nn.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),nn.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,r,i,o,a,s=this,l=s.chart,u=s._adapter,c=s.options,d=c.time.unit||"day",h=jn,f=En,p=[],m=[],g=[],_=s._getLabels();for(e=0,n=_.length;e<n;++e)g.push(Hn(s,_[e]));for(e=0,n=(l.data.datasets||[]).length;e<n;++e)if(l.isDatasetVisible(e))if($.isObject((i=l.data.datasets[e].data)[0]))for(m[e]=[],t=0,r=i.length;t<r;++t)o=Hn(s,i[t]),p.push(o),m[e][t]=o;else m[e]=g.slice(0),a||(p=p.concat(g),a=!0);else m[e]=[];g.length&&(h=Math.min(h,g[0]),f=Math.max(f,g[g.length-1])),p.length&&(p=n>1?function(e){var t,n,r,i={},o=[];for(t=0,n=e.length;t<n;++t)i[r=e[t]]||(i[r]=!0,o.push(r));return o}(p).sort(In):p.sort(In),h=Math.min(h,p[0]),f=Math.max(f,p[p.length-1])),h=Hn(s,Yn(c))||h,f=Hn(s,Rn(c))||f,h=h===jn?+u.startOf(Date.now(),d):h,f=f===En?+u.endOf(Date.now(),d)+1:f,s.min=Math.min(h,f),s.max=Math.max(h+1,f),s._table=[],s._timestamps={data:p,datasets:m,labels:g}},buildTicks:function(){var e,t,n,r=this,i=r.min,o=r.max,a=r.options,s=a.ticks,l=a.time,u=r._timestamps,c=[],d=r.getLabelCapacity(i),h=s.source,f=a.distribution;for(u="data"===h||"auto"===h&&"series"===f?u.data:"labels"===h?u.labels:function(e,t,n,r){var i,o=e._adapter,a=e.options,s=a.time,l=s.unit||$n(s.minUnit,t,n,r),u=Cn([s.stepSize,s.unitStepSize,1]),c="week"===l&&s.isoWeekday,d=t,h=[];if(c&&(d=+o.startOf(d,"isoWeek",c)),d=+o.startOf(d,c?"day":l),o.diff(n,t,l)>1e5*u)throw t+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(i=d;i<n;i=+o.add(i,u,l))h.push(i);return i!==n&&"ticks"!==a.bounds||h.push(i),h}(r,i,o,d),"ticks"===a.bounds&&u.length&&(i=u[0],o=u[u.length-1]),i=Hn(r,Yn(a)
2)||i,o=Hn(r,Rn(a))||o,e=0,t=u.length;e<t;++e)(n=u[e])>=i&&n<=o&&c.push(n);return r.min=i,r.max=o,r._unit=l.unit||(s.autoSkip?$n(l.minUnit,r.min,r.max,d):function(e,t,n,r,i){var o,a;for(o=Pn.length-1;o>=Pn.indexOf(n);o--)if(An[a=Pn[o]].common&&e._adapter.diff(i,r,a)>=t-1)return a;return Pn[n?Pn.indexOf(n):0]}(r,c.length,l.minUnit,r.min,r.max)),r._majorUnit=s.major.enabled&&"year"!==r._unit?function(e){for(var t=Pn.indexOf(e)+1,n=Pn.length;t<n;++t)if(An[Pn[t]].common)return Pn[t]}(r._unit):void 0,r._table=function(e,t,n,r){if("linear"===r||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var i,o,a,s,l,u=[],c=[t];for(i=0,o=e.length;i<o;++i)(s=e[i])>t&&s<n&&c.push(s);for(c.push(n),i=0,o=c.length;i<o;++i)l=c[i+1],s=c[i],void 0!==(a=c[i-1])&&void 0!==l&&Math.round((l+a)/2)===s||u.push({time:s,pos:i/(o-1)});return u}(r._timestamps.data,i,o,f),r._offsets=function(e,t,n,r,i){var o,a,s=0,l=0;return i.offset&&t.length&&(o=Nn(e,"time",t[0],"pos"),s=1===t.length?1-o:(Nn(e,"time",t[1],"pos")-o)/2,a=Nn(e,"time",t[t.length-1],"pos"),l=1===t.length?a:(a-Nn(e,"time",t[t.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}(r._table,c,0,0,a),s.reverse&&c.reverse(),zn(r,c,r._majorUnit)},getLabelForIndex:function(e,t){var n=this,r=n._adapter,i=n.chart.data,o=n.options.time,a=i.labels&&e<i.labels.length?i.labels[e]:"",s=i.datasets[t].data[e];return $.isObject(s)&&(a=n.getRightValue(s)),o.tooltipFormat?r.format(Fn(n,a),o.tooltipFormat):"string"==typeof a?a:r.format(Fn(n,a),o.displayFormats.datetime)},tickFormatFunction:function(e,t,n,r){var i=this.options,o=i.time.displayFormats,a=this._majorUnit,s=o[a],l=n[t],u=i.ticks,c=a&&s&&l&&l.major,d=this._adapter.format(e,r||(c?
vendor: 4,078 bytes, line 2
2s:o[this._unit])),h=c?u.major:u.minor,f=Cn([h.callback,h.userCallback,u.callback,u.userCallback]);return f?f(d,t,n):d},convertTicksToLabels:function(e){var t,n,r=[];for(t=0,n=e.length;t<n;++t)r.push(this.tickFormatFunction(e[t].value,t,e));return r},getPixelForOffset:function(e){var t=this._offsets,n=Nn(this._table,"time",e,"pos");return this.getPixelForDecimal((t.start+n)*t.factor)},getPixelForValue:function(e,t,n){var r=null;if(void 0!==t&&void 0!==n&&(r=this._timestamps.datasets[n][t]),null===r&&(r=Hn(this,e)),null!==r)return this.getPixelForOffset(r)},getPixelForTick:function(e){var t=this.getTicks();return e>=0&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end,r=Nn(this._table,"pos",n,"time");return this._adapter._create(r)},_getLabelSize:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,r=$.toRadians(this.isHorizontal()?t.maxRotation:t.minRotation),i=Math.cos(r),o=Math.sin(r),a=On(t.fontSize,Y.global.defaultFontSize);return{w:n*i+a*o,h:n*o+a*i}},getLabelWidth:function(e){return this._getLabelSize(e).w},getLabelCapacity:function(e){var t=this,n=t.options.time,r=n.displayFormats,i=r[n.unit]||r.millisecond,o=t.tickFormatFunction(e,0,zn(t,[e],t._majorUnit),i),a=t._getLabelSize(o),s=Math.floor(t.isHorizontal()?t.width/a.w:t.height/a.h);return t.options.offset&&s--,s>0?s:1}});Wn._defaults={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};var Un={category:on,linear:dn,logarithmic:gn,radialLinear:Ln,time:Wn},Bn={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};zt._date.override("function"==typeof e?{_id:"moment",formats:function(){return Bn},parse:function(t,n){return"string"==typeof t&&"string"==typeof n?t=e(t,n):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,n){return e(t).format(n)},add:function(t,n,r){return e(t).add(n,r).valueOf()},diff:function(t,n,r){return e(t).diff(e(n),r)},startOf:function(t,n,r){return t=e(t),"isoWeek"===n?t.isoWeekday(r).valueOf():t.startOf(n).valueOf()},endOf:function(t,n){return e(t).endOf(n).valueOf()},_create:function(t){return e(t)}}:{}),Y._set("global",{plugins:{filler:{propagate:!0}}});var Vn={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),i=r&&n.isDatasetVisible(t)&&r.dataset._children||[],o=i.length||0;return o?function(e,t){return t<o&&i[t]._view||null}:null},boundary:function(e){var t=e.boundary,n=t?t.x:null,r=t?t.y:null;return $.isArray(t)?function(e,n){return t[n]}:function(e){return{x:null===n?e.x:n,y:null===r?e.y:r}}}};function qn(e,t,n){var r,i=e._model||{},o=i.fill;if(void 0===o&&(o=!!i.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(r=parseFloat(o,10),isFinite(r)&&Math.floor(r)===r)return"-"!==o[0]&&"+"!==o[0]||(r=t+r),!(r===t||r<0||r>=n)&&r;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function Gn(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,n,r,i,o,a=e.el._scale,s=a.options,l=a.chart.data.labels.length,u=e.fill,c=[];if(!l)return null;for(n=s.ticks.reverse?a.min:a.max,r=a.getPointPositionForValue(0,t=s.ticks.reverse?a.max:a.min),i=0;i<l;++i)o="start"===u||"end"===u?a.getPointPositionForValue(i,"start"===u?t:n):a.getBasePosition(i),s.gridLines.circular&&(o.cx=r.x,o.cy=r.y,o.angle=a.getIndexAngle(i)-Math.PI/2),c.push(o);return c}(e):function(e){var t,n=e.el._model||{},r=e.el._scale||{},i=e.fill,o=null;if(isFinite(i))return null;if("start"===i?o=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===i?o=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:r.getBasePixel&&(o=r.getBasePixel()),null!=o){if(void 0!==o.x&&void 0!==o.y)return o;
vendor: 14,943 bytes, line 2
2if($.isFinite(o))return{x:(t=r.isHorizontal())?o:null,y:t?null:o}}return null}(e)}function Kn(e,t,n){var r,i=e[t].fill,o=[t];if(!n)return i;for(;!1!==i&&-1===o.indexOf(i);){if(!isFinite(i))return i;if(!(r=e[i]))return!1;if(r.visible)return i;o.push(i),i=r.fill}return!1}function Jn(e){var t=e.fill,n="dataset";return!1===t?null:(isFinite(t)||(n="boundary"),Vn[n](e))}function Qn(e){return e&&!e.skip}function Xn(e,t,n,r,i){var o,a,s,l;if(r&&i){for(e.moveTo(t[0].x,t[0].y),o=1;o<r;++o)$.canvas.lineTo(e,t[o-1],t[o]);if(void 0===n[0].angle)for(e.lineTo(n[i-1].x,n[i-1].y),o=i-1;o>0;--o)$.canvas.lineTo(e,n[o],n[o-1],!0);else for(a=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-a,2)+Math.pow(n[0].y-s,2)),o=i-1;o>0;--o)e.arc(a,s,l,n[o].angle,n[o-1].angle,!0)}}function Zn(e,t,n,r,i,o){var a,s,l,u,c,d,h,f,p=t.length,m=r.spanGaps,g=[],_=[],y=0,v=0;for(e.beginPath(),a=0,s=p;a<s;++a)c=n(u=t[l=a%p]._view,l,r),d=Qn(u),h=Qn(c),o&&void 0===f&&d&&(s=p+(f=a+1)),d&&h?(y=g.push(u),v=_.push(c)):y&&v&&(m?(d&&g.push(u),h&&_.push(c)):(Xn(e,g,_,y,v),y=v=0,g=[],_=[]));Xn(e,g,_,y,v),e.closePath(),e.fillStyle=i,e.fill()}var er={id:"filler",afterDatasetsUpdate:function(e,t){var n,r,i,o,a=(e.data.datasets||[]).length,s=t.propagate,l=[];for(r=0;r<a;++r)o=null,(i=(n=e.getDatasetMeta(r)).dataset)&&i._model&&i instanceof _e.Line&&(o={visible:e.isDatasetVisible(r),fill:qn(i,r,a),chart:e,el:i}),n.$filler=o,l.push(o);for(r=0;r<a;++r)(o=l[r])&&(o.fill=Kn(l,r,s),o.boundary=Gn(o),o.mapper=Jn(o))},beforeDatasetsDraw:function(e){var t,n,r,i,o,a,s,l=e._getSortedVisibleDatasetMetas(),u=e.ctx;for(n=l.length-1;n>=0;--n)(t=l[n].$filler)&&t.visible&&(o=(r=t.el)._children||[],s=(i=r._view).backgroundColor||Y.global.defaultColor,(a=t.mapper)&&s&&o.length&&($.canvas.clipArea(u,e.chartArea),Zn(u,o,a,i,s,r._loop),$.canvas.unclipArea(u)))}},tr=$.rtl.getRtlAdapter,nr=$.noop,rr=$.valueOrDefault;function ir(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}Y._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,i=r.getDatasetMeta(n);i.hidden=null===i.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.options.legend||{},r=n.labels&&n.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(n){var i=n.controller.getStyle(r?0:void 0);return{text:t[n.index].label,fillStyle:i.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:i.borderCapStyle,lineDash:i.borderDash,lineDashOffset:i.borderDashOffset,lineJoin:i.borderJoinStyle,lineWidth:i.borderWidth,strokeStyle:i.borderColor,pointStyle:i.pointStyle,rotation:i.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(e){var t,n,r,i=document.createElement("ul"),o=e.data.datasets;for(i.setAttribute("class",e.id+"-legend"),t=0,n=o.length;t<n;t++)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[t].backgroundColor,o[t].label&&r.appendChild(document.createTextNode(o[t].label));return i.outerHTML}});var or=V.extend({initialize:function(e){$.extend(this,e),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:nr,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:nr,beforeSetDimensions:nr,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:nr,beforeBuildLabels:nr,buildLabels:function(){var e=this,t=e.options.labels||{},n=$.callback(t.generateLabels,[e.chart],e)||[];t.filter&&(n=n.filter((function(n){return t.filter(n,e.chart.data)}))),e.options.reverse&&n.reverse(),e.legendItems=n},afterBuildLabels:nr,beforeFit:nr,fit:function(){var e=this,t=e.options,n=t.labels,r=t.display,i=e.ctx,o=$.options._parseFont(n),a=o.size,s=e.legendHitBoxes=[],l=e.minSize,u=e.isHorizontal();if(u?(l.width=e.maxWidth,l.height=r?10:0):(l.width=r?10:0,l.height=e.maxHeight),r){if(i.font=o.string,u){var c=e.lineWidths=[0],d=0;i.textAlign="left",i.textBaseline="middle",$.each(e.legendItems,(function(e,t){var r=ir(n,a)+a/2+i.measureText(e.text).width;(0===t||c[c.length-1]+r+2*n.padding>l.width)&&(d+=a+n.padding,c[c.length-(t>0?0:1)]=0),s[t]={left:0,top:0,width:r,height:a},c[c.length-1]+=r+n.padding})),l.height+=d}else{var h=n.padding,f=e.columnWidths=[],p=e.columnHeights=[],m=n.padding,g=0,_=0;$.each(e.legendItems,(function(e,t){var r=ir(n,a)+a/2+i.measureText(e.text).width;t>0&&_+a+2*h>l.height&&(m+=g+n.padding,f.push(g),p.push(_),g=0,_=0),g=Math.max(g,r),_+=a+h,s[t]={left:0,top:0,width:r,height:a}})),m+=g,f.push(g),p.push(_),l.width+=m}e.width=l.width,e.height=l.height}else e.width=l.width=e.height=l.height=0},afterFit:nr,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,r=Y.global,i=r.defaultColor,o=r.elements.line,a=e.height,s=e.columnHeights,l=e.width,u=e.lineWidths;if(t.display){var c,d=tr(t.rtl,e.left,e.minSize.width),h=e.ctx,f=rr(n.fontColor,r.defaultFontColor),p=$.options._parseFont(n),m=p.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=f,h.fillStyle=f,h.font=p.string;var g=ir(n,m),_=e.legendHitBoxes,y=function(e,r){switch(t.align){case"start":return n.padding;case"end":return e-r;default:return(e-r+n.padding)/2}},v=e.isHorizontal();c=v?{x:e.left+y(l,u[0]),y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+y(a,s[0]),line:0},$.rtl.overrideTextDirection(e.ctx,t.textDirection);var b=m+n.padding;$.each(e.legendItems,(function(t,r){var f=h.measureText(t.text).width,p=g+m/2+f,w=c.x,k=c.y;d.setWidth(e.minSize.width),v?r>0&&w+p+n.padding>e.left+e.minSize.width&&(k=c.y+=b,c.line++,w=c.x=e.left+y(l,u[c.line])):r>0&&k+b>e.top+e.minSize.height&&(w=c.x=w+e.columnWidths[c.line]+n.padding,c.line++,k=c.y=e.top+y(a,s[c.line]));var M=d.x(w);!function(e,t,r){if(!(isNaN(g)||g<=0)){h.save();var a=rr(r.lineWidth,o.borderWidth);if(h.fillStyle=rr(r.fillStyle,i),h.lineCap=rr(r.lineCap,o.borderCapStyle),h.lineDashOffset=rr(r.lineDashOffset,o.borderDashOffset),h.lineJoin=rr(r.lineJoin,o.borderJoinStyle),h.lineWidth=a,h.strokeStyle=rr(r.strokeStyle,i),h.setLineDash&&h.setLineDash(rr(r.lineDash,o.borderDash)),n&&n.usePointStyle){var s=g*Math.SQRT2/2,l=d.xPlus(e,g/2);$.canvas.drawPoint(h,r.pointStyle,s,l,t+m/2,r.rotation)}else h.fillRect(d.leftForLtr(e,g),t,g,m),0!==a&&h.strokeRect(d.leftForLtr(e,g),t,g,m);h.restore()}}(M,k,t),_[r].left=d.leftForLtr(M,_[r].width),_[r].top=k,function(e,t,n,r){var i=m/2,o=d.xPlus(e,g+i),a=t+i;h.fillText(n.text,o,a),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(o,a),h.lineTo(d.xPlus(o,r),a),h.stroke())}(M,k,t,f),v?c.x+=p+n.padding:c.y+=b})),$.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var n,r,i,o=this;if(e>=o.left&&e<=o.right&&t>=o.top&&t<=o.bottom)for(i=o.legendHitBoxes,n=0;n<i.length;++n)if(e>=(r=i[n]).left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height)return o.legendItems[n];return null},handleEvent:function(e){var t,n=this,r=n.options,i="mouseup"===e.type?"click":e.type;if("mousemove"===i){if(!r.onHover&&!r.onLeave)return}else{if("click"!==i)return;if(!r.onClick)return}t=n._getLegendItemAt(e.x,e.y),"click"===i?t&&r.onClick&&r.onClick.call(n,e.native,t):(r.onLeave&&t!==n._hoveredItem&&(n._hoveredItem&&r.onLeave.call(n,e.native,n._hoveredItem),n._hoveredItem=t),r.onHover&&t&&r.onHover.call(n,e.native,t))}});function ar(e,t){var n=new or({ctx:e.ctx,options:t,chart:e});lt.configure(e,n,t),lt.addBox(e,n),e.legend=n}var sr={id:"legend",_element:or,beforeInit:function(e){var t=e.options.legend;t&&ar(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?($.mergeIf(t,Y.global.legend),n?(lt.configure(e,n,t),n.options=t):ar(e,t)):n&&(lt.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},lr=$.noop;Y._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var ur=V.extend({initialize:function(e){$.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:lr,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:lr,beforeSetDimensions:lr,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:lr,beforeBuildLabels:lr,buildLabels:lr,afterBuildLabels:lr,beforeFit:lr,fit:function(){var e,t=this,n=t.options,r=t.minSize={},i=t.isHorizontal();n.display?(e=($.isArray(n.text)?n.text.length:1)*$.options._parseFont(n).lineHeight+2*n.padding,t.width=r.width=i?t.maxWidth:e,t.height=r.height=i?e:t.maxHeight):t.width=r.width=t.height=r.height=0},afterFit:lr,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=e.options;if(n.display){var r,i,o,a=$.options._parseFont(n),s=a.lineHeight,l=s/2+n.padding,u=0,c=e.top,d=e.left,h=e.bottom,f=e.right;t.fillStyle=$.valueOrDefault(n.fontColor,Y.global.defaultFontColor),t.font=a.string,e.isHorizontal()?(i=d+(f-d)/2,o=c+l,r=f-d):(i="left"===n.position?d+l:f-l,o=c+(h-c)/2,r=h-c,u=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(i,o),t.rotate(u),t.textAlign="center",t.textBaseline="middle";var p=n.text;if($.isArray(p))for(var m=0,g=0;g<p.length;++g)t.fillText(p[g],0,m,r),m+=s;else t.fillText(p,0,0,r);t.restore()}}});function cr(e,t){var n=new ur({ctx:e.ctx,options:t,chart:e});lt.configure(e,n,t),lt.addBox(e,n),e.titleBlock=n}var dr={},hr=er,fr=sr,pr={id:"title",_element:ur,beforeInit:function(e){var t=e.options.title;t&&cr(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?($.mergeIf(t,Y.global.title),n?(lt.configure(e,n,t),n.options=t):cr(e,t)):n&&(lt.removeBox(e,n),delete e.titleBlock)}};for(var mr in dr.filler=hr,dr.legend=fr,dr.title=pr,Ft.helpers=$,function(){function e(e,t,n){var r;return"string"==typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}function t(e){return null!=e&&"none"!==e}function n(n,r,i){var o=document.defaultView,a=$._getParentNode(n),s=o.getComputedStyle(n)[r],l=o.getComputedStyle(a)[r],u=t(s),c=t(l),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?e(s,n,i):d,c?e(l,a,i):d):"none"}$.where=function(e,t){if($.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return $.each(e,(function(e){t(e)&&n.push(e)})),n},$.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var r=0,i=e.length;r<i;++r)if(t.call(n,e[r],r,e))return r;return-1},$.findNextWhere=function(e,t,n){$.isNullOrUndef(n)&&(n=-1);for(var r=n+1;r<e.length;r++){var i=e[r];if(t(i))return i}},$.findPreviousWhere=function(e,t,n){$.isNullOrUndef(n)&&(n=e.length);for(var r=n-1;r>=0;r--){var i=e[r];if(t(i))return i}},$.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},$.almostEquals=function(e,t,n){return Math.abs(e-t)<n},$.almostWhole=function(e,t){var n=Math.round(e);return n-t<=e&&n+t>=e},$.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},$.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},$.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},$.toRadians=function(e){return e*(Math.PI/180)},$.toDegrees=function(e){return e*(180/Math.PI)},$._decimalPlaces=function(e){if($.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},$.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r),o=Math.atan2(r,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:i}},$.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},$.aliasPixel=function(e){return e%2==0?0:.5},$._alignPixel=function(e,t,n){var r=e.currentDevicePixelRatio,i=n/2;return Math.round((t-i)*r)/r+i},$.splineCurve=function(e,t,n,r){var i=e.skip?t:e,o=t,a=n.skip?t:n,s=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),l=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),u=s/(s+l),c=l/(s+l),d=r*(u=isNaN(u)?0:u),h=r*(c=isNaN(c)?0:c);return{previous:{x:o.x-d*(a.x-i.x),y:o.y-d*(a.y-i.y)},next:{x:o.x+h*(a.x-i.x),y:o.y+h*(a.y-i.y)}}},$.EPSILON=Number.EPSILON||1e-14,$.splineCurveMonotone=function(e){var t,n,r,i,o,a,s,l,u,c=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),d=c.length;for(t=0;t<d;++t)if(!(r=c[t]).model.skip){if(n=t>0?c[t-1]:null,(i=t<d-1?c[t+1]:null)&&!i.model.skip){var h=i.model.x-r.model.x;r.deltaK=0!==h?(i.model.y-r.model.y)/h:0}r.mK=!n||n.model.skip?r.deltaK:!i||i.model.skip?n.deltaK:this.sign(n.deltaK)!==this.sign(r.deltaK)?0:(n.deltaK+r.deltaK)/2}for(t=0;t<d-1;++t)i=c[t+1],(r=c[t]).model.skip||i.model.skip||($.almostEquals(r.deltaK,0,this.EPSILON)?r.mK=i.mK=0:(o=r.mK/r.deltaK,a=i.mK/r.deltaK,(l=Math.pow(o,2)+Math.pow(a,2))<=9||(s=3/Math.sqrt(l),r.mK=o*s*r.deltaK,i.mK=a*s*r.deltaK)));for(t=0;t<d;++t)(r=c[t]).model.skip||(i=t<d-1?c[t+1]:null,(n=t>0?c[t-1]:null)&&!n.model.skip&&(r.model.controlPointPreviousX=r.model.x-(u=(r.model.x-n.model.x)/3),r.model.controlPointPreviousY=r.model.y-u*r.mK),i&&!i.model.skip&&(r.model.controlPointNextX=r.model.x+(u=(i.model.x-r.model.x)/3),r.model.controlPointNextY=r.model.y+u*r.mK))},$.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},$.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},$.niceNum=function(e,t){var n=Math.floor($.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},$.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},$.getRelativePosition=function(e,t){var n,r,i=e.originalEvent||e,o=e.target||e.srcElement,a=o.getBoundingClientRect(),s=i.touches;s&&s.length>0?(n=s[0].clientX,r=s[0].clientY):(n=i.clientX,r=i.clientY);var l=parseFloat($.getStyle(o,"padding-left")),u=parseFloat($.getStyle(o,"padding-top")),c=p
2arseFloat($.getStyle(o,"padding-right")),d=parseFloat($.getStyle(o,"padding-bottom")),h=a.bottom-a.top-u-d;return{x:n=Math.round((n-a.left-l)/(a.right-a.left-l-c)*o.width/t.currentDevicePixelRatio),y:r=Math.round((r-a.top-u)/h*o.height/t.currentDevicePixelRatio)}},$.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},$.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},$._calculatePadding=function(e,t,n){return(t=$.getStyle(e,t)).indexOf("%")>-1?n*parseInt(t,10)/100:parseInt(t,10)},$._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},$.getMaximumWidth=function(e){var t=$._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,r=n-$._calculatePadding(t,"padding-left",n)-$._calculatePadding(t,"padding-right",n),i=$.getConstraintWidth(e);return isNaN(i)?r:Math.min(r,i)},$.getMaximumHeight=function(e){var t=$._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,r=n-$._calculatePadding(t,"padding-top",n)-$._calculatePadding(t,"padding-bottom",n),i=$.getConstraintHeight(e);return isNaN(i)?r:Math.min(r,i)},$.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},$.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;
2if(1!==n){var r=e.canvas,i=e.height,o=e.width;r.height=i*n,r.width=o*n,e.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=i+"px",r.style.width=o+"px")}},$.fontString=function(e,t,n){return t+" "+e+"px "+n},$.longestText=function(e,t,n,r){var i=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},o=r.garbageCollect=[],r.font=t),e.font=t;var a,s,l,u,c,d=0,h=n.length;for(a=0;a<h;a++)if(null!=(u=n[a])&&!0!==$.isArray(u))d=$.measureText(e,i,o,d,u);else if($.isArray(u))for(s=0,l=u.length;s<l;s++)null==(c=u[s])||$.isArray(c)||(d=$.measureText(e,i,o,d,c));var f=o.length/2;if(f>n.length){for(a=0;a<f;a++)delete i[o[a]];o.splice(0,f)}return d},$.measureText=function(e,t,n,r,i){var o=t[i];return o||(o=t[i]=e.measureText(i).width,n.push(i)),o>r&&(r=o),r},$.numberOfLabelLines=function(e){var t=1;return $.each(e,(function(e){$.isArray(e)&&e.length>t&&(t=e.length)})),t},$.color=b?function(e){return e instanceof CanvasGradient&&(e=Y.global.defaultColor),b(e)}:function(e){return console.error("Color.js not found!"),e},$.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:$.color(e).saturate(.5).darken(.1).rgbString()}}(),Ft._adapters=zt,Ft.Animation=G,Ft.animationService=K,Ft.controllers=Be,Ft.DatasetController=ee,Ft.defaults=Y,Ft.Element=V,Ft.elements=_e,Ft.Interaction=Xe,Ft.layouts=lt,Ft.platform=vt,Ft.plugins=bt,Ft.Scale=nn,Ft.scaleService=wt,Ft.Ticks=Wt,Ft.Tooltip=Ot,Ft.helpers.each(Un,(function(e,t){Ft.scaleService.registerScaleType(t,e,e._defaults)})),dr)dr.hasOwnProperty(mr)&&Ft.plugins.register(dr[mr]);Ft.platform.initialize();var gr=Ft;return"undefined"!=typeof window&&(window.Chart=Ft),Ft.Chart=Ft,Ft.Legend=dr.legend._element,Ft.Title=dr.title._element,Ft.pluginService=Ft.plugins,Ft.PluginBase=Ft.Element.extend({}),Ft.canvasHelpers=Ft.helpers.canvas,Ft.layoutService=Ft.layouts,Ft.LinearScaleBase=sn,Ft.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(e){Ft[e]=function(t,n){return new Ft(t,Ft.helpers.merge(n||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}})),gr}(function(){try{return n("wd/R")}catch(e){}}())},NJ4a:function(e,t,n){"use strict";function r(e){setTimeout(()=>{throw e},0)}n.d(t,"a",(function(){return r}))},NSPt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("wj3C"),i=n("mrSG"),o=n("zVF4"),a=n("q/0M"),s=n("S+S0");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u,c=l(r),d=function(){function e(e){this.domStorage_=e,this.prefix_="firebase:"}return e.prototype.set=function(e,t){null==t?this.domStorage_.removeItem(this.prefixedName_(e)):this.domStorage_.setItem(this.prefixedName_(e),o.stringify(t))},e.prototype.get=function(e){var t=this.domStorage_.getItem(this.prefixedName_(e));return null==t?null:o.jsonEval(t)},e.prototype.remove=function(e){this.domStorage_.removeItem(this.prefixedName_(e))},e.prototype.prefixedName_=function(e){return this.prefix_+e},e.prototype.toString=function(){return this.domStorage_.toString()},e}(),h=function(){function e(){this.cache_={},this.isInMemoryStorage=!0}return e.prototype.set=function(e,t){null==t?delete this.cache_[e]:this.cache_[e]=t},e.prototype.get=function(e){return o.contains(this.cache_,e)?this.cache_[e]:null},e.prototype.remove=function(e){delete this.cache_[e]},e}(),f=function(e){try{if("undefined"!=typeof window&&void 0!==window[e]){var t=window[e];return t.setItem("firebase:sentinel","cache"),t.removeItem("firebase:sentinel"),new d(t)}}catch(n){}return new h},p=f("localStorage"),m=f("sessionStorage"),g=new a.Logger("@firebase/database"),_=(u=1,function(){return u++}),y=function(e){var t=o.stringToByteArray(e),n=new o.Sha1;n.update(t);var r=n.digest();return o.base64.encodeByteArray(r)},v=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n="",r=0;r<e.length;r++){var i=e[r];Array.isArray(i)||i&&"object"==typeof i&&"number"==typeof i.length?n+=v.apply(null,i):n+="object"==typeof i?o.stringify(i):i,n+=" "}return n},b=null,w=!0,k=function(e,t){o.assert(!t||!0===e||!1===e,"Can't turn on custom loggers persistently."),!0===e?(g.logLevel=a.LogLevel.VERBOSE,b=g.log.bind(g),t&&m.set("logging_enabled",!0)):"function"==typeof e?b=e:(b=null,m.remove("logging_enabled"))},M=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!0===w&&(w=!1,null===b&&!0===m.get("logging_enabled")&&k(!0)),b){var n=v.apply(null,e);b(n)}},S=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];M.apply(void 0,i.__spread([e],t))}},T=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE INTERNAL ERROR: "+v.apply(void 0,i.__spread(e));g.error(n)},x=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE FATAL ERROR: "+v.apply(void 0,i.__spread(e));throw g.error(n),new Error(n)},L=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="FIREBASE WARNING: "+v.apply(void 0,i.__spread(e));g.warn(n)},D=function(e){return"number"==typeof e&&(e!=e||e===Number.POSITIVE_INFINITY||e===Number.NEGATIVE_INFINITY)}
2,C="[MIN_NAME]",O="[MAX_NAME]",E=function(e,t){if(e===t)return 0;if(e===C||t===O)return-1;if(t===C||e===O)return 1;var n=K(e),r=K(t);return null!==n?null!==r?n-r==0?e.length-t.length:n-r:-1:null!==r?1:e<t?-1:1},j=function(e,t){return e===t?0:e<t?-1:1},A=function(e,t){if(t&&e in t)return t[e];throw new Error("Missing required key ("+e+") in object: "+o.stringify(t))},P=function(e){if("object"!=typeof e||null===e)return o.stringify(e);var t=[];for(var n in e)t.push(n);t.sort();for(var r="{",i=0;i<t.length;i++)0!==i&&(r+=","),r+=o.stringify(t[i]),r+=":",r+=P(e[t[i]]);return r+"}"},I=function(e,t){var n=e.length;if(n<=t)return[e];for(var r=[],i=0;i<n;i+=t)r.push(e.substring(i,i+t>n?n:i+t));return r};function Y(e,t){for(var n in e)e.hasOwnProperty(n)&&t(n,e[n])}var R,N,F,H,$,z,W,U,B,V,q=function(e){var t,n,r,i,a;o.assert(!D(e),"Invalid JSON number"),0===e?(n=0,r=0,t=1/e==-1/0?1:0):(t=e<0,(e=Math.abs(e))>=Math.pow(2,-1022)?(n=(i=Math.min(Math.floor(Math.log(e)/Math.LN2),1023))+1023,r=Math.round(e*Math.pow(2,52-i)-Math.pow(2,52))):(n=0,r=Math.round(e/Math.pow(2,-1074))));var s=[];for(a=52;a;a-=1)s.push(r%2?1:0),r=Math.floor(r/2);for(a=11;a;a-=1)s.push(n%2?1:0),n=Math.floor(n/2);s.push(t?1:0),s.reverse();var l=s.join(""),u="";for(a=0;a<64;a+=8){var c=parseInt(l.substr(a,8),2).toString(16);1===c.length&&(c="0"+c),u+=c}return u.toLowerCase()},G=new RegExp("^-?(0*)\\d{1,10}$"),K=function(e){if(G.test(e)){var t=Number(e);if(t>=-2147483648&&t<=2147483647)return t}return null},J=function(e){try{e()}catch(t){setTimeout((function(){throw L("Exception was thrown by user callback.",t.stack||""),t}),Math.floor(0))}},Q=function(e,t){var n=setTimeout(e,t);return"object"==typeof n&&n.unref&&n.unref(),n},X=function(){function e(e,t){if(void 0===t){this.pieces_=e.split("/");for(var n=0,r=0;r<this.pieces_.length;r++)this.pieces_[r].length>0&&(this.pieces_[n]=this.pieces_[r],n++);this.pieces_.length=n,this.pieceNum_=0}else this.pieces_=e,this.pieceNum_=t}return Object.defineProperty(e,"Empty",{get:function(){return new e("")},enumerable:!1,configurable:!0}),e.prototype.getFront=function(){return this.pieceNum_>=this.pieces_.length?null:this.pieces_[this.pieceNum_]},e.prototype.getLength=function(){return this.pieces_.length-this.pieceNum_},e.prototype.popFront=function(){var t=this.pieceNum_;return t<this.pieces_.length&&t++,new e(this.pieces_,t)},e.prototype.getBack=function(){return this.pieceNum_<this.pieces_.length?this.pieces_[this.pieces_.length-1]:null},e.prototype.toString=function(){for(var e="",t=this.pieceNum_;t<this.pieces_.length;t++)""!==this.pieces_[t]&&(e+="/"+this.pieces_[t]);return e||"/"},e.prototype.toUrlEncodedString=function(){for(var e="",t=this.pieceNum_;t<this.pieces_.length;t++)""!==this.pieces_[t]&&(e+="/"+encodeURIComponent(String(this.pieces_[t])));return e||"/"},e.prototype.slice=function(e){return void 0===e&&(e=0),this.pieces_.slice(this.pieceNum_+e)},e.prototype.parent=function(){if(this.pieceNum_>=this.pieces_.length)return null;for(var t=[],n=this.pieceNum_;n<this.pieces_.length-1;n++)t.push(this.pieces_[n]);return new e(t,0)},e.prototype.child=function(t){for(var n=[],r=this.pieceNum_;r<this.pieces_.length;r++)n.push(this.pieces_[r]);if(t instanceof e)for(r=t.pieceNum_;r<t.pieces_.length;r++)n.push(t.pieces_[r]);else{var i=t.split("/");for(r=0;r<i.length;r++)i[r].length>0&&n.push(i[r])}return new e(n,0)},e.prototype.isEmpty=function(){return this.pieceNum_>=this.pieces_.length},e.relativePath=function(t,n){var r=t.getFront(),i=n.getFront();if(null===r)return n;if(r===i)return e.relativePath(t.popFront(),n.popFront());throw new Error("INTERNAL ERROR: innerPath ("+n+") is not within outerPath ("+t+")")},e.comparePaths=function(e,t){for(var n=e.slice(),r=t.slice(),i=0;i<n.length&&i<r.length;i++){var o=E(n[i],r[i]);if(0!==o)return o}return n.length===r.length?0:n.length<r.length?-1:1},e.prototype.equals=function(e){if(this.getLength()!==e.getLength())return!1;for(var t=this.pieceNum_,n=e.pieceNum_;t<=this.pieces_.length;t++,n++)if(this.pieces_[t]!==e.pieces_[n])return!1;return!0},e.prototype.contains=function(e){var t=this.pieceNum_,n=e.pieceNum_;if(this.getLength()>e.getLength())return!1;for(;t<this.pieces_.length;){if(this.pieces_[t]!==e.pieces_[n])return!1;++t,++n}return!0},e}(),Z=function(){function e(e,t){this.errorPrefix_=t,this.parts_=e.slice(),this.byteLength_=Math.max(1,this.parts_.length);for(var n=0;n<this.parts_.length;n++)this.byteLength_+=o.stringLength(this.parts_[n]);this.checkValid_()}return Object.defineProperty(e,"MAX_PATH_DEPTH",{get:function(){return 32}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e,"MAX_PATH_LENGTH_BYTES",{get:function(){return 768},enumerable:!1,configurable:!0}),e.prototype.push=function(e){this.parts_.length>0&&(this.byteLength_+=1),this.parts_.push(e),this.byteLength_+=o.stringLength(e),this.checkValid_()},e.prototype.pop=function(){var e=this.parts_.pop();this.byteLength_-=o.stringLength(e),this.parts_.length>0&&(this.byteLength_-=1)},e.prototype.checkValid_=function(){if(this.byteLength_>e.MAX_PATH_LENGTH_BYTES)throw new Error(this.errorPrefix_+"has a key path longer than "+e.MAX_PATH_LENGTH_BYTES+" bytes ("+this.byteLength_+").");if(this.parts_.length>e.MAX_PATH_DEPTH)throw new Error(this.errorPrefix_+"path specified exceeds the maximum depth that can be written ("+e.MAX_PATH_DEPTH+") or object contains a cycle "+this.toErrorString())},e.prototype.toErrorString=function(){return 0===this.parts_.length?"":"in property '"+this.parts_.join(".")+"'"},e}(),ee=function(){function e(e,t,n,r,i,o,a){void 0===i&&(i=!1),void 0===o&&(o=""),void 0===a&&(a=!1),this.secure=t,this.namespace=n,this.webSocketOnly=r,this.nodeAdmin=i,this.persistenceKey=o,this.includeNamespaceInQueryParams=a,this.host=e.toLowerCase(),this.domain=this.host.substr(this.host.indexOf(".")+1),this.internalHost=p.get("host:"+e)||this.host}return e.prototype.needsQueryParam=function(){return this.host!==this.internalHost||this.isCustomHost()||this.includeNamespaceInQueryParams},e.prototype.isCacheableHost=function(){return"s-"===this.internalHost.substr(0,2)},e.prototype.isDemoHost=function(){return"firebaseio-demo.com"===this.domain},e.prototype.isCustomHost=function(){return"firebaseio.com"!==this.domain&&"firebaseio-demo.com"!==this.domain},e.prototype.updateHost=function(e){e!==this.internalHost&&(this.internalHost=e,this.isCacheableHost()&&p.set("host:"+this.host,this.internalHost))},e.prototype.connectionURL=function(e,t){var n;if(o.assert("string"==typeof e,"typeof type must == string"),o.assert("object"==typeof t,"typeof params must == object"),"websocket"===e)n=(this.secure?"wss://":"ws://")+this.internalHost+"/.ws?";else{if("long_polling"!==e)throw new Error("Unknown connection type: "+e);n=(this.secure?"https://":"http://")+this.internalHost+"/.lp?"}this.needsQueryParam()&&(t.ns=this.namespace);var r=[];return Y(t,(function(e,t){r.push(e+"="+t)})),n+r.join("&")},e.prototype.toString=function(){var e=this.toURLString();return this.persistenceKey&&(e+="<"+this.persistenceKey+">"),e},e.prototype.toURLString=function(){return(this.secure?"https://":"http://")+this.host},e}(),te=function(e,t){var n=ne(e),r=n.namespace;return"firebase.com"===n.domain&&x(n.host+" is no longer supported. Please use <YOUR FIREBASE>.firebaseio.com instead"),r&&"undefined"!==r||"localhost"===n.domain||x("Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com"),n.secure||"undefined"!=typeof window&&window.location&&window.location.protocol&&-1!==window.location.protocol.indexOf("https:")&&L("Insecure Firebase access from a secure page. Please use https in calls to new Firebase()."),{repoInfo:new ee(n.host,n.secure,r,t,"ws"===n.scheme||"wss"===n.scheme,"",r!==n.subdomain),path:new X(n.pathString)}},ne=function(e){var t="",n="",r="",o="",a="",s=!0,l="https",u=443;if("string"==typeof e){var c=e.indexOf("//");c>=0&&(l=e.substring(0,c-1),e=e.substring(c+2));var d=e.indexOf("/");-1===d&&(d=e.length);var h=e.indexOf("?");-1===h&&(h=e.length),t=e.substring(0,Math.min(d,h)),d<h&&(o=function(e){for(var t="",n=e.split("/"),r=0;r<n.length;r++)if(n[r].length>0){var i=n[r];try{i=decodeURIComponent(i.replace(/\+/g," "))}catch(o){}t+="/"+i}return t}(e.substring(d,h)));var f=function(e){var t,n,r={};"?"===e.charAt(0)&&(e=e.substring(1));try{for(var o=i.__values(e.split("&")),a=o.next();!a.done;a=o.next()){var s=a.value;if(0!==s.length){var l=s.split("=");2===l.length?r[decodeURIComponent(l[0])]=decodeURIComponent(l[1]):L("Invalid query segment '"+s+"' in query '"+e+"'")}}}catch(u){t={error:u}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}(e.substring(Math.min(e.length,h)));(c=t.indexOf(":"))>=0?(s="https"===l||"wss"===l,u=parseInt(t.substring(c+1),10)):c=t.length;var p=t.slice(0,c);if("localhost"===p.toLowerCase())n="localhost";else if(p.split(".").length<=2)n=p;else{var m=t.indexOf(".");r=t.substring(0,m).toLowerCase(),n=t.substring(m+1),a=r}"ns"in f&&(a=f.ns)}return{host:t,port:u,domain:n,subdomain:r,secure:s,scheme:l,pathString:o,namespace:a}},re=/[\[\].#$\/\u0000-\u001F\u007F]/,ie=/[\[\].#$\u0000-\u001F\u007F]/,oe=function(e){return"string"==typeof e&&0!==e.length&&!re.test(e)},ae=function(e){return"string"==typeof e&&0!==e.length&&!ie.test(e)},se=function(e){return null===e||"string"==typeof e||"number"==typeof e&&!D(e)||e&&"object"==typeof e&&o.contains(e,".sv")},le=function(e,t,n,r,i){i&&void 0===n||ue(o.errorPrefix(e,t,i),n,r)},ue=function(e,t,n){var r=n instanceof X?new Z(n,e):n;if(void 0===t)throw new Error(e+"contains undefined "+r.toErrorString());if("function"==typeof t)throw new Error(e+"contains a function "+r.toErrorString()+" with contents = "+t.toString());if(D(t))throw new Error(e+"contains "+t.toString()+" "+r.toErrorString());if("string"==typeof t&&t.length>10485760/3&&o.stringLength(t)>10485760)throw new Error(e+"contains a string greater than 10485760 utf8 bytes "+r.toErrorString()+" ('"+t.substring(0,50)+"...')");if(t&&"object"==typeof t){var i=!1,a=!1;if(Y(t,(function(t,n){if(".value"===t)i=!0;
2else if(".priority"!==t&&".sv"!==t&&(a=!0,!oe(t)))throw new Error(e+" contains an invalid key ("+t+") "+r.toErrorString()+'.  Keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]"');r.push(t),ue(e,n,r),r.pop()})),i&&a)throw new Error(e+' contains ".value" child '+r.toErrorString()+" in addition to actual children.")}},ce=function(e,t,n,r,i){if(!i||void 0!==n){var a=o.errorPrefix(e,t,i);if(!n||"object"!=typeof n||Array.isArray(n))throw new Error(a+" must be an object containing the children to replace.");var s=[];Y(n,(function(e,t){var n=new X(e);if(ue(a,t,r.child(n)),".priority"===n.getBack()&&!se(t))throw new Error(a+"contains an invalid value for '"+n.toString()+"', which must be a valid Firebase priority (a string, finite number, server value, or null).");s.push(n)})),function(e,t){var n,r;for(n=0;n<t.length;n++)for(var i=(r=t[n]).slice(),o=0;o<i.length;o++)if(".priority"===i[o]&&o===i.length-1);else if(!oe(i[o]))throw new Error(e+"contains an invalid key ("+i[o]+") in path "+r.toString()+'. Keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]"');t.sort(X.comparePaths);var a=null;for(n=0;n<t.length;n++){if(r=t[n],null!==a&&a.contains(r))throw new Error(e+"contains a path "+a.toString()+" that is ancestor of another path "+r.toString());a=r}}(a,s)}},de=function(e,t,n,r){if(!r||void 0!==n){if(D(n))throw new Error(o.errorPrefix(e,t,r)+"is "+n.toString()+", but must be a valid Firebase priority (a string, finite number, server value, or null).");if(!se(n))throw new Error(o.errorPrefix(e,t,r)+"must be a valid Firebase priority (a string, finite number, server value, or null).")}},he=function(e,t,n,r){if(!r||void 0!==n)switch(n){case"value":case"child_added":case"child_removed":case"child_changed":case"child_moved":break;default:throw new Error(o.errorPrefix(e,t,r)+'must be a valid event type = "value", "child_added", "child_removed", "child_changed", or "child_moved".')}},fe=function(e,t,n,r){if(!(r&&void 0===n||oe(n)))throw new Error(o.errorPrefix(e,t,r)+'was an invalid key = "'+n+'".  Firebase keys must be non-empty strings and can\'t contain ".", "#", "$", "/", "[", or "]").')},pe=function(e,t,n,r){if(!(r&&void 0===n||ae(n)))throw new Error(o.errorPrefix(e,t,r)+'was an invalid path = "'+n+'". Paths must be non-empty strings and can\'t contain ".", "#", "$", "[", or "]"')},me=function(e,t,n,r){n&&(n=n.replace(/^\/*\.info(\/|$)/,"/")),pe(e,t,n,r)},ge=function(e,t){if(".info"===t.getFront())throw new Error(e+" failed = Can't modify data under /.info/")},_e=function(e,t,n){var r=n.path.toString();if("string"!=typeof n.repoInfo.host||0===n.repoInfo.host.length||!oe(n.repoInfo.namespace)&&"localhost"!==n.repoInfo.host.split(":")[0]||0!==r.length&&!function(e){return e&&(e=e.replace(/^\/*\.info(\/|$)/,"/")),ae(e)}(r))throw new Error(o.errorPrefix(e,t,!1)+'must be a valid firebase URL and the path can\'t contain ".", "#", "$", "[", or "]".')},ye=function(e,t,n,r){if((!r||void 0!==n)&&"boolean"!=typeof n)throw new Error(o.errorPrefix(e,t,r)+"must be a boolean.")},ve=function(){function e(e,t){this.repo_=e,this.path_=t}return e.prototype.cancel=function(e){o.validateArgCount("OnDisconnect.cancel",0,1,arguments.length),o.validateCallback("OnDisconnect.cancel",1,e,!0);var t=new o.Deferred;return this.repo_.onDisconnectCancel(this.path_,t.wrapCallback(e)),t.promise},e.prototype.remove=function(e){o.validateArgCount("OnDisconnect.remove",0,1,arguments.length),ge("OnDisconnect.remove",this.path_),o.validateCallback("OnDisconnect.remove",1,e,!0);var t=new o.Deferred;return this.repo_.onDisconnectSet(this.path_,null,t.wrapCallback(e)),t.promise},e.prototype.set=function(e,t){o.validateArgCount("OnDisconnect.set",1,2,arguments.length),ge("OnDisconnect.set",this.path_),le("OnDisconnect.set",1,e,this.path_,!1),o.validateCallback("OnDisconnect.set",2,t,!0);var n=new o.Deferred;return this.repo_.onDisconnectSet(this.path_,e,n.wrapCallback(t)),n.promise},e.prototype.setWithPriority=function(e,t,n){o.validateArgCount("OnDisconnect.setWithPriority",2,3,arguments.length),ge("OnDisconnect.setWithPriority",this.path_),le("OnDisconnect.setWithPriority",1,e,this.path_,!1),de("OnDisconnect.setWithPriority",2,t,!1),o.validateCallback("OnDisconnect.setWithPriority",3,n,!0);var r=new o.Deferred;return this.repo_.onDisconnectSetWithPriority(this.path_,e,t,r.wrapCallback(n)),r.promise},e.prototype.update=function(e,t){if(o.validateArgCount("OnDisconnect.update",1,2,arguments.length),ge("OnDisconnect.update",this.path_),Array.isArray(e)){for(var n={},r=0;r<e.length;++r)n[""+r]=e[r];e=n,L("Passing an Array to firebase.database.onDisconnect().update() is deprecated. Use set() if you want to overwrite the existing data, or an Object with integer keys if you really do want to only update some of the children.")}ce("OnDisconnect.update",1,e,this.path_,!1),o.validateCallback("OnDisconnect.update",2,t,!0);var i=new o.Deferred;return this.repo_.onDisconnectUpdate(this.path_,e,i.wrapCallback(t)),i.promise},e}(),be=function(){function e(e,t){this.committed=e,this.snapshot=t}return e.prototype.toJSON=function(){return o.validateArgCount("TransactionResult.toJSON",0,1,arguments.length),{committed:this.committed,snapshot:this.snapshot.toJSON()}},e}(),we=(R="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz",N=0,F=[],function(e){var t,n=e===N;N=e;var r=new Array(8);for(t=7;t>=0;t--)r[t]=R.charAt(e%64),e=Math.floor(e/64);o.assert(0===e,"Cannot push at time == 0");var i=r.join("");if(n){for(t=11;t>=0&&63===F[t];t--)F[t]=0;F[t]++}else for(t=0;t<12;t++)F[t]=Math.floor(64*Math.random());for(t=0;t<12;t++)i+=R.charAt(F[t]);return o.assert(20===i.length,"nextPushId: Length should be 20."),i}),ke=function(){function e(e,t){this.name=e,this.node=t}return e.Wrap=function(t,n){return new e(t,n)},e}(),Me=function(){function e(){}return e.prototype.getCompare=function(){return this.compare.bind(this)},e.prototype.indexedValueChanged=function(e,t){var n=new ke(C,e),r=new ke(C,t);return 0!==this.compare(n,r)},e.prototype.minPost=function(){return ke.MIN},e}(),Se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),Object.defineProperty(t,"__EMPTY_NODE",{get:function(){return H},set:function(e){H=e}
2,enumerable:!1,configurable:!0}),t.prototype.compare=function(e,t){return E(e.name,t.name)},t.prototype.isDefinedOn=function(e){throw o.assertionError("KeyIndex.isDefinedOn not expected to be called.")},t.prototype.indexedValueChanged=function(e,t){return!1},t.prototype.minPost=function(){return ke.MIN},t.prototype.maxPost=function(){return new ke(O,H)},t.prototype.makePost=function(e,t){return o.assert("string"==typeof e,"KeyIndex indexValue must always be a string."),new ke(e,H)},t.prototype.toString=function(){return".key"},t}(Me),Te=new Se,xe=function(e){return"number"==typeof e?"number:"+q(e):"string:"+e},Le=function(e){if(e.isLeafNode()){var t=e.val();o.assert("string"==typeof t||"number"==typeof t||"object"==typeof t&&o.contains(t,".sv"),"Priority must be a string or number.")}else o.assert(e===$||e.isEmpty(),"priority of unexpected type.");o.assert(e===$||e.getPriority().isEmpty(),"Priority nodes can't have a priority of their own.")},De=function(){function e(t,n){void 0===n&&(n=e.__childrenNodeConstructor.EMPTY_NODE),this.value_=t,this.priorityNode_=n,this.lazyHash_=null,o.assert(null!=this.value_,"LeafNode shouldn't be created with null/undefined value."),Le(this.priorityNode_)}return Object.defineProperty(e,"__childrenNodeConstructor",{get:function(){return z},set:function(e){z=e},enumerable:!1,configurable:!0}),e.prototype.isLeafNode=function(){return!0},e.prototype.getPriority=function(){return this.priorityNode_},e.prototype.updatePriority=function(t){return new e(this.value_,t)},e.prototype.getImmediateChild=function(t){return".priority"===t?this.priorityNode_:e.__childrenNodeConstructor.EMPTY_NODE},e.prototype.getChild=function(t){return t.isEmpty()?this:".priority"===t.getFront()?this.priorityNode_:e.__childrenNodeConstructor.EMPTY_NODE},e.prototype.hasChild=function(){return!1},e.prototype.getPredecessorChildName=function(e,t){return null},e.prototype.updateImmediateChild=function(t,n){return".priority"===t?this.updatePriority(n):n.isEmpty()&&".priority"!==t?this:e.__childrenNodeConstructor.EMPTY_NODE.updateImmediateChild(t,n).updatePriority(this.priorityNode_)},e.prototype.updateChild=function(t,n){var r=t.getFront();return null===r?n:n.isEmpty()&&".priority"!==r?this:(o.assert(".priority"!==r||1===t.getLength(),".priority must be the last token in a path"),this.updateImmediateChild(r,e.__childrenNodeConstructor.EMPTY_NODE.updateChild(t.popFront(),n)))},e.prototype.isEmpty=function(){return!1},e.prototype.numChildren=function(){return 0},e.prototype.forEachChild=function(e,t){return!1},e.prototype.val=function(e){return e&&!this.getPriority().isEmpty()?{".value":this.getValue(),".priority":this.getPriority().val()}:this.getValue()},e.prototype.hash=function(){if(null===this.lazyHash_){var e="";this.priorityNode_.isEmpty()||(e+="priority:"+xe(this.priorityNode_.val())+":");var t=typeof this.value_;e+=t+":",e+="number"===t?q(this.value_):this.value_,this.lazyHash_=y(e)}return this.lazyHash_},e.prototype.getValue=function(){return this.value_},e.prototype.compareTo=function(t){return t===e.__childrenNodeConstructor.EMPTY_NODE?1:t instanceof e.__childrenNodeConstructor?-1:(o.assert(t.isLeafNode(),"Unknown node type"),this.compareToLeafNode_(t))},e.prototype.compareToLeafNode_=function(t){var n=typeof t.value_,r=typeof this.value_,i=e.VALUE_TYPE_ORDER.indexOf(n),a=e.VALUE_TYPE_ORDER.indexOf(r);return o.assert(i>=0,"Unknown leaf type: "+n),o.assert(a>=0,"Unknown leaf type: "+r),i===a?"object"===r?0:this.value_<t.value_?-1:this.value_===t.value_?0:1:a-i},e.prototype.withIndex=function(){return this},e.prototype.isIndexed=function(){return!0},e.prototype.equals=function(e){return e===this||!!e.isLeafNode()&&this.value_===e.value_&&this.priorityNode_.equals(e.priorityNode_)},e.VALUE_TYPE_ORDER=["object","boolean","number","string"],e}(),Ce=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t.prototype.compare=function(e,t){var n=e.node.getPriority(),r=t.node.getPriority(),i=n.compareTo(r);return 0===i?E(e.name,t.name):i},t.prototype.isDefinedOn=function(e){return!e.getPriority().isEmpty()},t.prototype.indexedValueChanged=function(e,t){return!e.getPriority().equals(t.getPriority())},t.prototype.minPost=function(){return ke.MIN},t.prototype.maxPost=function(){return new ke(O,new De("[PRIORITY-POST]",U))},t.prototype.makePost=function(e,t){var n=W(e);return new ke(t,new De("[PRIORITY-POST]",n))},t.prototype.toString=function(){return".priority"},t}(Me)),Oe=function(){function e(e,t,n,r,i){void 0===i&&(i=null),this.isReverse_=r,this.resultGenerator_=i,this.nodeStack_=[];for(var o=1;!e.isEmpty();)if(e=e,o=t?n(e.key,t):1,r&&(o*=-1),o<0)e=this.isReverse_?e.left:e.right;else{if(0===o){this.nodeStack_.push(e);break}this.nodeStack_.push(e),e=this.isReverse_?e.right:e.left}}return e.prototype.getNext=function(){if(0===this.nodeStack_.length)return null;var e,t=this.nodeStack_.pop();if(e=this.resultGenerator_?this.resultGenerator_(t.key,t.value):{key:t.key,value:t.value},this.isReverse_)for(t=t.left;!t.isEmpty();)this.nodeStack_.push(t),t=t.right;else for(t=t.right;!t.isEmpty();)this.nodeStack_.push(t),t=t.left;return e},e.prototype.hasNext=function(){return this.nodeStack_.length>0},e.prototype.peek=function(){if(0===this.nodeStack_.length)return null;var e=this.nodeStack_[this.nodeStack_.length-1];return this.resultGenerator_?this.resultGenerator_(e.key,e.value):{key:e.key,value:e.value}},e}(),Ee=function(){function e(t,n,r,i,o){this.key=t,this.value=n,this.color=null!=r?r:e.RED,this.left=null!=i?i:Ae.EMPTY_NODE,this.right=null!=o?o:Ae.EMPTY_NODE}return e.prototype.copy=function(t,n,r,i,o){return new e(null!=t?t:this.key,null!=n?n:this.value,
2null!=r?r:this.color,null!=i?i:this.left,null!=o?o:this.right)},e.prototype.count=function(){return this.left.count()+1+this.right.count()},e.prototype.isEmpty=function(){return!1},e.prototype.inorderTraversal=function(e){return this.left.inorderTraversal(e)||!!e(this.key,this.value)||this.right.inorderTraversal(e)},e.prototype.reverseTraversal=function(e){return this.right.reverseTraversal(e)||e(this.key,this.value)||this.left.reverseTraversal(e)},e.prototype.min_=function(){return this.left.isEmpty()?this:this.left.min_()},e.prototype.minKey=function(){return this.min_().key},e.prototype.maxKey=function(){return this.right.isEmpty()?this.key:this.right.maxKey()},e.prototype.insert=function(e,t,n){var r=this,i=n(e,r.key);return(r=i<0?r.copy(null,null,null,r.left.insert(e,t,n),null):0===i?r.copy(null,t,null,null,null):r.copy(null,null,null,null,r.right.insert(e,t,n))).fixUp_()},e.prototype.removeMin_=function(){if(this.left.isEmpty())return Ae.EMPTY_NODE;var e=this;return e.left.isRed_()||e.left.left.isRed_()||(e=e.moveRedLeft_()),(e=e.copy(null,null,null,e.left.removeMin_(),null)).fixUp_()},e.prototype.remove=function(e,t){var n,r;if(t(e,(n=this).key)<0)n.left.isEmpty()||n.left.isRed_()||n.left.left.isRed_()||(n=n.moveRedLeft_()),n=n.copy(null,null,null,n.left.remove(e,t),null);else{if(n.left.isRed_()&&(n=n.rotateRight_()),n.right.isEmpty()||n.right.isRed_()||n.right.left.isRed_()||(n=n.moveRedRight_()),0===t(e,n.key)){if(n.right.isEmpty())return Ae.EMPTY_NODE;r=n.right.min_(),n=n.copy(r.key,r.value,null,null,n.right.removeMin_())}n=n.copy(null,null,null,null,n.right.remove(e,t))}return n.fixUp_()},e.prototype.isRed_=function(){return this.color},e.prototype.fixUp_=function(){var e=this;return e.right.isRed_()&&!e.left.isRed_()&&(e=e.rotateLeft_()),e.left.isRed_()&&e.left.left.isRed_()&&(e=e.rotateRight_()),e.left.isRed_()&&e.right.isRed_()&&(e=e.colorFlip_()),e},e.prototype.moveRedLeft_=function(){var e=this.colorFlip_();return e.right.left.isRed_()&&(e=(e=(e=e.copy(null,null,null,null,e.right.rotateRight_())).rotateLeft_()).colorFlip_()),e},e.prototype.moveRedRight_=function(){var e=this.colorFlip_();return e.left.left.isRed_()&&(e=(e=e.rotateRight_()).colorFlip_()),e},e.prototype.rotateLeft_=function(){var t=this.copy(null,null,e.RED,null,this.right.left);return this.right.copy(null,null,this.color,t,null)},e.prototype.rotateRight_=function(){var t=this.copy(null,null,e.RED,this.left.right,null);return this.left.copy(null,null,this.color,null,t)},e.prototype.colorFlip_=function(){var e=this.left.copy(null,null,!this.left.color,null,null),t=this.right.copy(null,null,!this.right.color,null,null);return this.copy(null,null,!this.color,e,t)},e.prototype.checkMaxDepth_=function(){var e=this.check_();return Math.pow(2,e)<=this.count()+1},e.prototype.check_=function(){if(this.isRed_()&&this.left.isRed_())throw new Error("Red node has red child("+this.key+","+this.value+")");
2if(this.right.isRed_())throw new Error("Right child of ("+this.key+","+this.value+") is red");var e=this.left.check_();if(e!==this.right.check_())throw new Error("Black depths differ");return e+(this.isRed_()?0:1)},e.RED=!0,e.BLACK=!1,e}(),je=function(){function e(){}return e.prototype.copy=function(e,t,n,r,i){return this},e.prototype.insert=function(e,t,n){return new Ee(e,t,null)},e.prototype.remove=function(e,t){return this},e.prototype.count=function(){return 0},e.prototype.isEmpty=function(){return!0},e.prototype.inorderTraversal=function(e){return!1},e.prototype.reverseTraversal=function(e){return!1},e.prototype.minKey=function(){return null},e.prototype.maxKey=function(){return null},e.prototype.check_=function(){return 0},e.prototype.isRed_=function(){return!1},e}(),Ae=function(){function e(t,n){void 0===n&&(n=e.EMPTY_NODE),this.comparator_=t,this.root_=n}return e.prototype.insert=function(t,n){return new e(this.comparator_,this.root_.insert(t,n,this.comparator_).copy(null,null,Ee.BLACK,null,null))},e.prototype.remove=function(t){return new e(this.comparator_,this.root_.remove(t,this.comparator_).copy(null,null,Ee.BLACK,null,null))},e.prototype.get=function(e){for(var t,n=this.root_;!n.isEmpty();){if(0===(t=this.comparator_(e,n.key)))return n.value;t<0?n=n.left:t>0&&(n=n.right)}return null},e.prototype.getPredecessorKey=function(e){for(var t,n=this.root_,r=null;!n.isEmpty();){if(0===(t=this.comparator_(e,n.key))){if(n.left.isEmpty())return r?r.key:null;for(n=n.left;!n.right.isEmpty();)n=n.right;return n.key}t<0?n=n.left:t>0&&(r=n,n=n.right)}throw new Error("Attempted to find predecessor key for a nonexistent key.  What gives?")},e.prototype.isEmpty=function(){return this.root_.isEmpty()},e.prototype.count=function(){return this.root_.count()},e.prototype.minKey=function(){return this.root_.minKey()},e.prototype.maxKey=function(){return this.root_.maxKey()},e.prototype.inorderTraversal=function(e){return this.root_.inorderTraversal(e)},e.prototype.reverseTraversal=function(e){return this.root_.reverseTraversal(e)},e.prototype.getIterator=function(e){return new Oe(this.root_,null,this.comparator_,!1,e)},e.prototype.getIteratorFrom=function(e,t){return new Oe(this.root_,e,this.comparator_,!1,t)},e.prototype.getReverseIteratorFrom=function(e,t){return new Oe(this.root_,e,this.comparator_,!0,t)},e.prototype.getReverseIterator=function(e){return new Oe(this.root_,null,this.comparator_,!0,e)},e.EMPTY_NODE=new je,e}(),Pe=Math.log(2),Ie=function(){function e(e){this.count=parseInt(Math.log(e+1)/Pe,10),this.current_=this.count-1;var t=parseInt(Array(this.count+1).join("1"),2);this.bits_=e+1&t}return e.prototype.nextBitIsOne=function(){var e=!(this.bits_&1<<this.current_);return this.current_--,e},e}(),Ye=function(e,t,n,r){e.sort(t);var i=function(t,r){var o,a,s=r-t;if(0===s)return null;if(1===s)return o=e[t],a=n?n(o):o,new Ee(a,o.node,Ee.BLACK,null,null);var l=parseInt(s/2,10)+t,u=i(t,l),c=i(l+1,r);return o=e[l],a=n?n(o):o,new Ee(a,o.node,Ee.BLACK,u,c)},o=function(t){for(var r=null,o=null,a=e.length,s=function(t,r){var o=a-t,s=a;a-=t;var u=i(o+1,s),c=e[o],d=n?n(c):c;l(new Ee(d,c.node,r,null,u))},l=function(e){r?(r.left=e,r=e):(o=e,r=e)},u=0;u<t.count;++u){var c=t.nextBitIsOne(),d=Math.pow(2,t.count-(u+1));c?s(d,Ee.BLACK):(s(d,Ee.BLACK),s(d,Ee.RED))}return o}(new Ie(e.length));return new Ae(r||t,o)},Re={},Ne=function(){function e(e,t){this.indexes_=e,this.indexSet_=t}return Object.defineProperty(e,"Default",{get:function(){return o.assert(Re&&Ce,"ChildrenNode.ts has not been loaded"),B=B||new e({".priority":Re},{".priority":Ce})},enumerable:!1,configurable:!0}),e.prototype.get=function(e){var t=o.safeGet(this.indexes_,e);if(!t)throw new Error("No index defined for "+e);return t instanceof Ae?t:null},e.prototype.hasIndex=function(e){return o.contains(this.indexSet_,e.toString())},e.prototype.addIndex=function(t,n){o.assert(t!==Te,"KeyIndex always exists and isn't meant to be added to the IndexMap.");for(var r,a=[],s=!1,l=n.getIterator(ke.Wrap),u=l.getNext();u;)s=s||t.isDefinedOn(u.node),a.push(u),u=l.getNext();r=s?Ye(a,t.getCompare()):Re;var c=t.toString(),d=i.__assign({},this.indexSet_);d[c]=t;var h=i.__assign({},this.indexes_);return h[c]=r,new e(h,d)},e.prototype.addToIndexes=function(t,n){var r=this;return new e(o.map(this.indexes_,(function(e,i){var a=o.safeGet(r.indexSet_,i);if(o.assert(a,"Missing index implementation for "+i),e===Re){if(a.isDefinedOn(t.node)){for(var s=[],l=n.getIterator(ke.Wrap),u=l.getNext();u;)u.name!==t.name&&s.push(u),u=l.getNext();return s.push(t),Ye(s,a.getCompare())}return Re}var c=n.get(t.name),d=e;return c&&(d=d.remove(new ke(t.name,c))),d.insert(t,t.node)})),this.indexSet_)}
2,e.prototype.removeFromIndexes=function(t,n){return new e(o.map(this.indexes_,(function(e){if(e===Re)return e;var r=n.get(t.name);return r?e.remove(new ke(t.name,r)):e})),this.indexSet_)},e}();function Fe(e,t){return E(e.name,t.name)}function He(e,t){return E(e,t)}var $e=function(){function e(e,t,n){this.children_=e,this.priorityNode_=t,this.indexMap_=n,this.lazyHash_=null,this.priorityNode_&&Le(this.priorityNode_),this.children_.isEmpty()&&o.assert(!this.priorityNode_||this.priorityNode_.isEmpty(),"An empty node cannot have a priority")}return Object.defineProperty(e,"EMPTY_NODE",{get:function(){return V||(V=new e(new Ae(He),null,Ne.Default))},enumerable:!1,configurable:!0}),e.prototype.isLeafNode=function(){return!1},e.prototype.getPriority=function(){return this.priorityNode_||V},e.prototype.updatePriority=function(t){return this.children_.isEmpty()?this:new e(this.children_,t,this.indexMap_)},e.prototype.getImmediateChild=function(e){if(".priority"===e)return this.getPriority();var t=this.children_.get(e);return null===t?V:t},e.prototype.getChild=function(e){var t=e.getFront();return null===t?this:this.getImmediateChild(t).getChild(e.popFront())},e.prototype.hasChild=function(e){return null!==this.children_.get(e)},e.prototype.updateImmediateChild=function(t,n){if(o.assert(n,"We should always be passing snapshot nodes"),".priority"===t)return this.updatePriority(n);var r=new ke(t,n),i=void 0,a=void 0;n.isEmpty()?(i=this.children_.remove(t),a=this.indexMap_.removeFromIndexes(r,this.children_)):(i=this.children_.insert(t,n),a=this.indexMap_.addToIndexes(r,this.children_));var s=i.isEmpty()?V:this.priorityNode_;return new e(i,s,a)},e.prototype.updateChild=function(e,t){var n=e.getFront();if(null===n)return t;o.assert(".priority"!==e.getFront()||1===e.getLength(),".priority must be the last token in a path");var r=this.getImmediateChild(n).updateChild(e.popFront(),t);return this.updateImmediateChild(n,r)},e.prototype.isEmpty=function(){return this.children_.isEmpty()},e.prototype.numChildren=function(){return this.children_.count()},e.prototype.val=function(t){if(this.isEmpty())return null;var n={},r=0,i=0,o=!0;if(this.forEachChild(Ce,(function(a,s){n[a]=s.val(t),r++,o&&e.INTEGER_REGEXP_.test(a)?i=Math.max(i,Number(a)):o=!1})),!t&&o&&i<2*r){var a=[];for(var s in n)a[s]=n[s];return a}return t&&!this.getPriority().isEmpty()&&(n[".priority"]=this.getPriority().val()),n},e.prototype.hash=function(){if(null===this.lazyHash_){var e="";this.getPriority().isEmpty()||(e+="priority:"+xe(this.getPriority().val())+":"),this.forEachChild(Ce,(function(t,n){var r=n.hash();""!==r&&(e+=":"+t+":"+r)})),this.lazyHash_=""===e?"":y(e)}return this.lazyHash_},e.prototype.getPredecessorChildName=function(e,t,n){var r=this.resolveIndex_(n);if(r){var i=r.getPredecessorKey(new ke(e,t));return i?i.name:null}return this.children_.getPredecessorKey(e)},e.prototype.getFirstChildName=function(e){var t=this.resolveIndex_(e);if(t){var n=t.minKey();return n&&n.name}return this.children_.minKey()},e.prototype.getFirstChild=function(e){var t=this.getFirstChildName(e);return t?new ke(t,this.children_.get(t)):null},e.prototype.getLastChildName=function(e){var t=this.resolveIndex_(e);if(t){var n=t.maxKey();return n&&n.name}return this.children_.maxKey()},e.prototype.getLastChild=function(e){var t=this.getLastChildName(e);return t?new ke(t,this.children_.get(t)):null},e.prototype.forEachChild=function(e,t){var n=this.resolveIndex_(e);return n?n.inorderTraversal((function(e){return t(e.name,e.node)})):this.children_.inorderTraversal(t)},e.prototype.getIterator=function(e){return this.getIteratorFrom(e.minPost(),e)},e.prototype.getIteratorFrom=function(e,t){var n=this.resolveIndex_(t);if(n)return n.getIteratorFrom(e,(function(e){return e}));for(var r=this.children_.getIteratorFrom(e.name,ke.Wrap),i=r.peek();null!=i&&t.compare(i,e)<0;)r.getNext(),i=r.peek();return r},e.prototype.getReverseIterator=function(e){return this.getReverseIteratorFrom(e.maxPost(),e)},e.prototype.getReverseIteratorFrom=function(e,t){var n=this.resolveIndex_(t);if(n)return n.getReverseIteratorFrom(e,(function(e){return e}));for(var r=this.children_.getReverseIteratorFrom(e.name,ke.Wrap),i=r.peek();null!=i&&t.compare(i,e)>0;)r.getNext(),i=r.peek();return r},e.prototype.compareTo=function(e){return this.isEmpty()?e.isEmpty()?0:-1:e.isLeafNode()||e.isEmpty()?1:e===ze?-1:0},e.prototype.withIndex=function(t){if(t===Te||this.indexMap_.hasIndex(t))return this;var n=this.indexMap_.addIndex(t,this.children_);return new e(this.children_,this.priorityNode_,n)},e.prototype.isIndexed=function(e){return e===Te||this.indexMap_.hasIndex(e)},e.prototype.equals=function(e){if(e===this)return!0;
2if(e.isLeafNode())return!1;var t=e;if(this.getPriority().equals(t.getPriority())){if(this.children_.count()===t.children_.count()){for(var n=this.getIterator(Ce),r=t.getIterator(Ce),i=n.getNext(),o=r.getNext();i&&o;){if(i.name!==o.name||!i.node.equals(o.node))return!1;i=n.getNext(),o=r.getNext()}return null===i&&null===o}return!1}return!1},e.prototype.resolveIndex_=function(e){return e===Te?null:this.indexMap_.get(e.toString())},e.INTEGER_REGEXP_=/^(0|[1-9]\d*)$/,e}(),ze=new(function(e){function t(){return e.call(this,new Ae(He),$e.EMPTY_NODE,Ne.Default)||this}return i.__extends(t,e),t.prototype.compareTo=function(e){return e===this?0:1},t.prototype.equals=function(e){return e===this},t.prototype.getPriority=function(){return this},t.prototype.getImmediateChild=function(e){return $e.EMPTY_NODE},t.prototype.isEmpty=function(){return!1},t}($e));function We(e,t){if(void 0===t&&(t=null),null===e)return $e.EMPTY_NODE;if("object"==typeof e&&".priority"in e&&(t=e[".priority"]),o.assert(null===t||"string"==typeof t||"number"==typeof t||"object"==typeof t&&".sv"in t,"Invalid priority type found: "+typeof t),"object"==typeof e&&".value"in e&&null!==e[".value"]&&(e=e[".value"]),"object"!=typeof e||".sv"in e)return new De(e,We(t));if(e instanceof Array){var n=$e.EMPTY_NODE;return Y(e,(function(t,r){if(o.contains(e,t)&&"."!==t.substring(0,1)){var i=We(r);!i.isLeafNode()&&i.isEmpty()||(n=n.updateImmediateChild(t,i))}})),n.updatePriority(We(t))}var r=[],i=!1;if(Y(e,(function(e,t){if("."!==e.substring(0,1)){var n=We(t);n.isEmpty()||(i=i||!n.getPriority().isEmpty(),r.push(new ke(e,n)))}})),0===r.length)return $e.EMPTY_NODE;var a=Ye(r,Fe,(function(e){return e.name}),He);if(i){var s=Ye(r,Ce.getCompare());return new $e(a,We(t),new Ne({".priority":s},{".priority":Ce}))}return new $e(a,We(t),Ne.Default)}Object.defineProperties(ke,{MIN:{value:new ke(C,$e.EMPTY_NODE)},MAX:{value:new ke(O,ze)}}),Se.__EMPTY_NODE=$e.EMPTY_NODE,De.__childrenNodeConstructor=$e,$=ze,function(e){U=e}(ze),function(e){W=e}(We);var Ue,Be=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t.prototype.compare=function(e,t){var n=e.node.compareTo(t.node);return 0===n?E(e.name,t.name):n},t.prototype.isDefinedOn=function(e){return!0},t.prototype.indexedValueChanged=function(e,t){return!e.equals(t)},t.prototype.minPost=function(){return ke.MIN},t.prototype.maxPost=function(){return ke.MAX},t.prototype.makePost=function(e,t){var n=We(e);return new ke(t,n)},t.prototype.toString=function(){return".value"},t}(Me)),Ve=function(e){function t(t){var n=e.call(this)||this;return n.indexPath_=t,o.assert(!t.isEmpty()&&".priority"!==t.getFront(),"Can't create PathIndex with empty path or .priority key"),n}return i.__extends(t,e),t.prototype.extractChild=function(e){return e.getChild(this.indexPath_)},t.prototype.isDefinedOn=function(e){return!e.getChild(this.indexPath_).isEmpty()},t.prototype.compare=function(e,t){var n=this.extractChild(e.node),r=this.extractChild(t.node),i=n.compareTo(r);return 0===i?E(e.name,t.name):i},t.prototype.makePost=function(e,t){var n=We(e),r=$e.EMPTY_NODE.updateChild(this.indexPath_,n);return new ke(t,r)},t.prototype.maxPost=function(){var e=$e.EMPTY_NODE.updateChild(this.indexPath_,ze);return new ke(O,e)},t.prototype.toString=function(){return this.indexPath_.slice().join("/")},t}(Me),qe=function(){function e(e,t,n){this.node_=e,this.ref_=t,this.index_=n}return e.prototype.val=function(){return o.validateArgCount("DataSnapshot.val",0,0,arguments.length),this.node_.val()},e.prototype.exportVal=function(){return o.validateArgCount("DataSnapshot.exportVal",0,0,arguments.length),this.node_.val(!0)},e.prototype.toJSON=function(){return o.validateArgCount("DataSnapshot.toJSON",0,1,arguments.length),this.exportVal()},e.prototype.exists=function(){return o.validateArgCount("DataSnapshot.exists",0,0,arguments.length),!this.node_.isEmpty()},e.prototype.child=function(t){o.validateArgCount("DataSnapshot.child",0,1,arguments.length),t=String(t),pe("DataSnapshot.child",1,t,!1);var n=new X(t),r=this.ref_.child(n);return new e(this.node_.getChild(n),r,Ce)},e.prototype.hasChild=function(e){o.validateArgCount("DataSnapshot.hasChild",1,1,arguments.length),pe("DataSnapshot.hasChild",1,e,!1);var t=new X(e);return!this.node_.getChild(t).isEmpty()},e.prototype.getPriority=function(){return o.validateArgCount("DataSnapshot.getPriority",0,0,arguments.length),this.node_.getPriority().val()},e.prototype.forEach=function(t){var n=this;if(o.validateArgCount("DataSnapshot.forEach",1,1,arguments.length),o.validateCallback("DataSnapshot.forEach",1,t,!1),this.node_.isLeafNode())return!1;var r=this.node_;return!!r.forEachChild(this.index_,(function(r,i){return t(new e(i,n.ref_.child(r),Ce))}))},e.prototype.hasChildren=function(){return o.validateArgCount("DataSnapshot.hasChildren",0,0,arguments.length),!this.node_.isLeafNode()&&!this.node_.isEmpty()},Object.defineProperty(e.prototype,"key",{get:function(){return this.ref_.getKey()}
2,enumerable:!1,configurable:!0}),e.prototype.numChildren=function(){return o.validateArgCount("DataSnapshot.numChildren",0,0,arguments.length),this.node_.numChildren()},e.prototype.getRef=function(){return o.validateArgCount("DataSnapshot.ref",0,0,arguments.length),this.ref_},Object.defineProperty(e.prototype,"ref",{get:function(){return this.getRef()},enumerable:!1,configurable:!0}),e}(),Ge=function(){function e(e,t,n,r){this.eventType=e,this.eventRegistration=t,this.snapshot=n,this.prevName=r}return e.prototype.getPath=function(){var e=this.snapshot.getRef();return"value"===this.eventType?e.path:e.getParent().path},e.prototype.getEventType=function(){return this.eventType},e.prototype.getEventRunner=function(){return this.eventRegistration.getEventRunner(this)},e.prototype.toString=function(){return this.getPath().toString()+":"+this.eventType+":"+o.stringify(this.snapshot.exportVal())},e}(),Ke=function(){function e(e,t,n){this.eventRegistration=e,this.error=t,this.path=n}return e.prototype.getPath=function(){return this.path},e.prototype.getEventType=function(){return"cancel"},e.prototype.getEventRunner=function(){return this.eventRegistration.getEventRunner(this)},e.prototype.toString=function(){return this.path.toString()+":cancel"},e}(),Je=function(){function e(e,t,n){this.callback_=e,this.cancelCallback_=t,this.context_=n}return e.prototype.respondsTo=function(e){return"value"===e},e.prototype.createEvent=function(e,t){var n=t.getQueryParams().getIndex();return new Ge("value",this,new qe(e.snapshotNode,t.getRef(),n))},e.prototype.getEventRunner=function(e){var t=this.context_;if("cancel"===e.getEventType()){o.assert(this.cancelCallback_,"Raising a cancel event on a listener with no cancel callback");var n=this.cancelCallback_;return function(){n.call(t,e.error)}}var r=this.callback_;return function(){r.call(t,e.snapshot)}},e.prototype.createCancelEvent=function(e,t){return this.cancelCallback_?new Ke(this,e,t):null},e.prototype.matches=function(t){return t instanceof e&&(!t.callback_||!this.callback_||t.callback_===this.callback_&&t.context_===this.context_)},e.prototype.hasAnyCallback=function(){return null!==this.callback_},e}(),Qe=function(){function e(e,t,n){this.callbacks_=e,this.cancelCallback_=t,this.context_=n}return e.prototype.respondsTo=function(e){var t="children_added"===e?"child_added":e;return o.contains(this.callbacks_,t="children_removed"===t?"child_removed":t)},e.prototype.createCancelEvent=function(e,t){return this.cancelCallback_?new Ke(this,e,t):null},e.prototype.createEvent=function(e,t){o.assert(null!=e.childName,"Child events should have a childName.");var n=t.getRef().child(e.childName),r=t.getQueryParams().getIndex();return new Ge(e.type,this,new qe(e.snapshotNode,n,r),e.prevName)},e.prototype.getEventRunner=function(e){var t=this.context_;if("cancel"===e.getEventType()){o.assert(this.cancelCallback_,"Raising a cancel event on a listener with no cancel callback");var n=this.cancelCallback_;return function(){n.call(t,e.error)}}var r=this.callbacks_[e.eventType];return function(){r.call(t,e.snapshot,e.prevName)}},e.prototype.matches=function(t){var n=this;if(t instanceof e){if(!this.callbacks_||!t.callbacks_)return!0;if(this.context_===t.context_){var r=Object.keys(t.callbacks_),i=Object.keys(this.callbacks_),o=r.length;if(o===i.length){if(1===o){var a=r[0],s=i[0];return!(s!==a||t.callbacks_[a]&&this.callbacks_[s]&&t.callbacks_[a]!==this.callbacks_[s])}return i.every((function(e){return t.callbacks_[e]===n.callbacks_[e]}))}}}return!1},e.prototype.hasAnyCallback=function(){return null!==this.callbacks_},e}(),Xe=function(){function e(e,t,n,r){this.repo=e,this.path=t,this.queryParams_=n,this.orderByCalled_=r}return Object.defineProperty(e,"__referenceConstructor",{get:function(){return o.assert(Ue,"Reference.ts has not been loaded"),Ue},set:function(e){Ue=e},enumerable:!1,configurable:!0}),e.validateQueryEndpoints_=function(e){var t=null,n=null;if(e.hasStart()&&(t=e.getIndexStartValue()),e.hasEnd()&&(n=e.getIndexEndValue()),e.getIndex()===Te){var r="Query: When ordering by key, you may only pass one argument to startAt(), endAt(), or equalTo().",i="Query: When ordering by key, the argument passed to startAt(), endAt(),or equalTo() must be a string.";if(e.hasStart()){if(e.getIndexStartName()!==C)throw new Error(r);if("string"!=typeof t)throw new Error(i)}if(e.hasEnd()){if(e.getIndexEndName()!==O)throw new Error(r);if("string"!=typeof n)throw new Error(i)}}else if(e.getIndex()===Ce){if(null!=t&&!se(t)||null!=n&&!se(n))throw new Error("Query: When ordering by priority, the first argument passed to startAt(), endAt(), or equalTo() must be a valid priority value (null, a number, or a string).")}else if(o.assert(e.getIndex()instanceof Ve||e.getIndex()===Be,"unknown index type."),null!=t&&"object"==typeof t||null!=n&&"object"==typeof n)throw new Error("Query: First argument passed to startAt(), endAt(), or equalTo() cannot be an object.")},e.validateLimit_=function(e){if(e.hasStart()&&e.hasEnd()&&e.hasLimit()&&!e.hasAnchoredLimit())throw new Error("Query: Can't combine startAt(), endAt(), and limit(). Use limitToFirst() or limitToLast() instead.")},e.prototype.validateNoPreviousOrderByCall_=function(e){if(!0===this.orderByCalled_)throw new Error(e+": You can't combine multiple orderBy calls.")},e.prototype.getQueryParams=function(){return this.queryParams_},e.prototype.getRef=function(){return o.validateArgCount("Query.ref",0,0,arguments.length),new e.__referenceConstructor(this.repo,this.path)},e.prototype.on=function(t,n,r,i){o.validateArgCount("Query.on",2,4,arguments.length),he("Query.on",1,t,!1),o.validateCallback("Query.on",2,n,!1);var a=e.getCancelAndContextArgs_("Query.on",r,i);if("value"===t)this.onValueEvent(n,a.cancel,a.context);else{var s={};s[t]=n,this.onChildEvent(s,a.cancel,a.context)}return n},e.prototype.onValueEvent=function(e,t,n){var r=new Je(e,t||null,n||null);this.repo.addEventCallbackForQuery(this,r)},e.prototype.onChildEvent=function(e,t,n){var r=new Qe(e,t,n);this.repo.addEventCallbackForQuery(this,r)},e.prototype.off=function(e,t,n){o.validateArgCount("Query.off",0,3,arguments.length),he("Query.off",1,e,!0),o.validateCallback("Query.off",2,t,!0),o.validateContextObject("Query.off",3,n,!0);var r=null,i=null;if("value"===e){var a=t||null;r=new Je(a,null,n||null)}else e&&(t&&((i={}
2)[e]=t),r=new Qe(i,null,n||null));this.repo.removeEventCallbackForQuery(this,r)},e.prototype.once=function(t,n,r,i){var a=this;o.validateArgCount("Query.once",1,4,arguments.length),he("Query.once",1,t,!1),o.validateCallback("Query.once",2,n,!0);var s=e.getCancelAndContextArgs_("Query.once",r,i),l=!0,u=new o.Deferred;u.promise.catch((function(){}));var c=function(e){l&&(l=!1,a.off(t,c),n&&n.bind(s.context)(e),u.resolve(e))};return this.on(t,c,(function(e){a.off(t,c),s.cancel&&s.cancel.bind(s.context)(e),u.reject(e)})),u.promise},e.prototype.limitToFirst=function(t){if(o.validateArgCount("Query.limitToFirst",1,1,arguments.length),"number"!=typeof t||Math.floor(t)!==t||t<=0)throw new Error("Query.limitToFirst: First argument must be a positive integer.");if(this.queryParams_.hasLimit())throw new Error("Query.limitToFirst: Limit was already set (by another call to limit, limitToFirst, or limitToLast).");return new e(this.repo,this.path,this.queryParams_.limitToFirst(t),this.orderByCalled_)},e.prototype.limitToLast=function(t){if(o.validateArgCount("Query.limitToLast",1,1,arguments.length),"number"!=typeof t||Math.floor(t)!==t||t<=0)throw new Error("Query.limitToLast: First argument must be a positive integer.");if(this.queryParams_.hasLimit())throw new Error("Query.limitToLast: Limit was already set (by another call to limit, limitToFirst, or limitToLast).");return new e(this.repo,this.path,this.queryParams_.limitToLast(t),this.orderByCalled_)},e.prototype.orderByChild=function(t){if(o.validateArgCount("Query.orderByChild",1,1,arguments.length),"$key"===t)throw new Error('Query.orderByChild: "$key" is invalid.  Use Query.orderByKey() instead.');if("$priority"===t)throw new Error('Query.orderByChild: "$priority" is invalid.  Use Query.orderByPriority() instead.');if("$value"===t)throw new Error('Query.orderByChild: "$value" is invalid.  Use Query.orderByValue() instead.');pe("Query.orderByChild",1,t,!1),this.validateNoPreviousOrderByCall_("Query.orderByChild");var n=new X(t);if(n.isEmpty())throw new Error("Query.orderByChild: cannot pass in empty path.  Use Query.orderByValue() instead.");var r=new Ve(n),i=this.queryParams_.orderBy(r);return e.validateQueryEndpoints_(i),new e(this.repo,this.path,i,!0)},e.prototype.orderByKey=function(){o.validateArgCount("Query.orderByKey",0,0,arguments.length),this.validateNoPreviousOrderByCall_("Query.orderByKey");var t=this.queryParams_.orderBy(Te);return e.validateQueryEndpoints_(t),new e(this.repo,this.path,t,!0)},e.prototype.orderByPriority=function(){o.validateArgCount("Query.orderByPriority",0,0,arguments.length),this.validateNoPreviousOrderByCall_("Query.orderByPriority");var t=this.queryParams_.orderBy(Ce);return e.validateQueryEndpoints_(t),new e(this.repo,this.path,t,!0)},e.prototype.orderByValue=function(){o.validateArgCount("Query.orderByValue",0,0,arguments.length),this.validateNoPreviousOrderByCall_("Query.orderByValue");var t=this.queryParams_.orderBy(Be);return e.validateQueryEndpoints_(t),new e(this.repo,this.path,t,!0)},e.prototype.startAt=function(t,n){void 0===t&&(t=null),o.validateArgCount("Query.startAt",0,2,arguments.length),le("Query.startAt",1,t,this.path,!0),fe("Query.startAt",2,n,!0);var r=this.queryParams_.startAt(t,n);if(e.validateLimit_(r),e.validateQueryEndpoints_(r),this.queryParams_.hasStart())throw new Error("Query.startAt: Starting point was already set (by another call to startAt or equalTo).");return void 0===t&&(t=null,n=null),new e(this.repo,this.path,r,this.orderByCalled_)},e.prototype.endAt=function(t,n){void 0===t&&(t=null),o.validateArgCount("Query.endAt",0,2,arguments.length),le("Query.endAt",1,t,this.path,!0),fe("Query.endAt",2,n,!0);var r=this.queryParams_.endAt(t,n);if(e.validateLimit_(r),e.validateQueryEndpoints_(r),this.queryParams_.hasEnd())throw new Error("Query.endAt: Ending point was already set (by another call to endAt or equalTo).");return new e(this.repo,this.path,r,this.orderByCalled_)},e.prototype.equalTo=function(e,t){if(o.validateArgCount("Query.equalTo",1,2,arguments.length),le("Query.equalTo",1,e,this.path,!1),fe("Query.equalTo",2,t,!0),this.queryParams_.hasStart())throw new Error("Query.equalTo: Starting point was already set 
2(by another call to startAt or equalTo).");if(this.queryParams_.hasEnd())throw new Error("Query.equalTo: Ending point was already set (by another call to endAt or equalTo).");return this.startAt(e,t).endAt(e,t)},e.prototype.toString=function(){return o.validateArgCount("Query.toString",0,0,arguments.length),this.repo.toString()+this.path.toUrlEncodedString()},e.prototype.toJSON=function(){return o.validateArgCount("Query.toJSON",0,1,arguments.length),this.toString()},e.prototype.queryObject=function(){return this.queryParams_.getQueryObject()},e.prototype.queryIdentifier=function(){var e=this.queryObject(),t=P(e);return"{}"===t?"default":t},e.prototype.isEqual=function(t){if(o.validateArgCount("Query.isEqual",1,1,arguments.length),!(t instanceof e)){var n="Query.isEqual failed: First argument must be an instance of firebase.database.Query.";throw new Error(n)}var r=this.repo===t.repo,i=this.path.equals(t.path),a=this.queryIdentifier()===t.queryIdentifier();return r&&i&&a},e.getCancelAndContextArgs_=function(e,t,n){var r={cancel:null,context:null};if(t&&n)r.cancel=t,o.validateCallback(e,3,r.cancel,!0),r.context=n,o.validateContextObject(e,4,r.context,!0);else if(t)if("object"==typeof t&&null!==t)r.context=t;else{if("function"!=typeof t)throw new Error(o.errorPrefix(e,3,!0)+" must either be a cancel callback or a context object.");r.cancel=t}return r},Object.defineProperty(e.prototype,"ref",{get:function(){return this.getRef()},enumerable:!1,configurable:!0}),e}(),Ze=function(){function e(e){this.node_=e}return e.prototype.getImmediateChild=function(t){return new e(this.node_.getImmediateChild(t))},e.prototype.node=function(){return this.node_},e}(),et=function(){function e(e,t){this.syncTree_=e,this.path_=t}return e.prototype.getImmediateChild=function(t){var n=this.path_.child(t);return new e(this.syncTree_,n)},e.prototype.node=function(){return this.syncTree_.calcCompleteEventCache(this.path_)},e}(),tt=function(e,t,n){return e&&"object"==typeof e?(o.assert(".sv"in e,"Unexpected leaf node or priority contents"),"string"==typeof e[".sv"]?nt(e[".sv"],t,n):"object"==typeof e[".sv"]?rt(e[".sv"],t):void o.assert(!1,"Unexpected server value: "+JSON.stringify(e,null,2))):e},nt=function(e,t,n){switch(e){case"timestamp":return n.timestamp;default:o.assert(!1,"Unexpected server value: "+e)}},rt=function(e,t,n){e.hasOwnProperty("increment")||o.assert(!1,"Unexpected server value: "+JSON.stringify(e,null,2));var r=e.increment;"number"!=typeof r&&o.assert(!1,"Unexpected increment value: "+r);var i=t.node();if(o.assert(null!=i,"Expected ChildrenNode.EMPTY_NODE for nulls"),!i.isLeafNode())return r;var a=i.getValue();return"number"!=typeof a?r:a+r},it=function(e,t,n,r){return at(t,new et(n,e),r)},ot=function(e,t,n){return at(e,new Ze(t),n)};function at(e,t,n){var r,i=e.getPriority().val(),o=tt(i,t.getImmediateChild(".priority"),n);if(e.isLeafNode()){var a=e,s=tt(a.getValue(),t,n);return s!==a.getValue()||o!==a.getPriority().val()?new De(s,We(o)):e}var l=e;return r=l,o!==l.getPriority().val()&&(r=r.updatePriority(new De(o))),l.forEachChild(Ce,(function(e,i){var o=at(i,t.getImmediateChild(e),n);o!==i&&(r=r.updateImmediateChild(e,o))})),r}var st,lt,ut=function(){function e(){this.value=null,this.children=new Map}return e.prototype.find=function(e){if(null!=this.value)return this.value.getChild(e);if(!e.isEmpty()&&this.children.size>0){var t=e.getFront();return e=e.popFront(),this.children.has(t)?this.children.get(t).find(e):null}return null},e.prototype.remember=function(t,n){if(t.isEmpty())this.value=n,this.children.clear();else if(null!==this.value)this.value=this.value.updateChild(t,n);else{var r=t.getFront();this.children.has(r)||this.children.set(r,new e);var i=this.children.get(r);t=t.popFront(),i.remember(t,n)}},e.prototype.forget=function(e){if(e.isEmpty())return this.value=null,this.children.clear(),!0;if(null!==this.value){if(this.value.isLeafNode())return!1;var t=this.value;this.value=null;var n=this;return t.forEachChild(Ce,(function(e,t){n.remember(new X(e),t)})),this.forget(e)}if(this.children.size>0){var r=e.getFront();return e=e.popFront(),this.children.has(r)&&this.children.get(r).forget(e)&&this.children.delete(r),0===this.children.size}return!0},e.prototype.forEachTree=function(e,t){null!==this.value?t(e,this.value):this.forEachChild((function(n,r){var i=new X(e.toString()+"/"+n);r.forEachTree(i,t)}))}
2,e.prototype.forEachChild=function(e){this.children.forEach((function(t,n){e(n,t)}))},e}(),ct=function(e){return e[e.OVERWRITE=0]="OVERWRITE",e[e.MERGE=1]="MERGE",e[e.ACK_USER_WRITE=2]="ACK_USER_WRITE",e[e.LISTEN_COMPLETE=3]="LISTEN_COMPLETE",e}({}),dt=function(){function e(e,t,n,r){this.fromUser=e,this.fromServer=t,this.queryId=n,this.tagged=r,o.assert(!r||t,"Tagged queries must be from server.")}return e.User=new e(!0,!1,null,!1),e.Server=new e(!1,!0,null,!1),e.forServerTaggedQuery=function(t){return new e(!1,!0,t,!0)},e}(),ht=function(){function e(e,t,n){this.path=e,this.affectedTree=t,this.revert=n,this.type=ct.ACK_USER_WRITE,this.source=dt.User}return e.prototype.operationForChild=function(t){if(this.path.isEmpty()){if(null!=this.affectedTree.value)return o.assert(this.affectedTree.children.isEmpty(),"affectedTree should not have overlapping affected paths."),this;var n=this.affectedTree.subtree(new X(t));return new e(X.Empty,n,this.revert)}return o.assert(this.path.getFront()===t,"operationForChild called for unrelated child."),new e(this.path.popFront(),this.affectedTree,this.revert)},e}(),ft=function(){function e(e,t){void 0===t&&(st||(st=new Ae(j)),t=st),this.value=e,this.children=t}return e.fromObject=function(t){var n=e.Empty;return Y(t,(function(e,t){n=n.set(new X(e),t)})),n},e.prototype.isEmpty=function(){return null===this.value&&this.children.isEmpty()},e.prototype.findRootMostMatchingPathAndValue=function(e,t){if(null!=this.value&&t(this.value))return{path:X.Empty,value:this.value};if(e.isEmpty())return null;var n=e.getFront(),r=this.children.get(n);if(null!==r){var i=r.findRootMostMatchingPathAndValue(e.popFront(),t);return null!=i?{path:new X(n).child(i.path),value:i.value}:null}return null},e.prototype.findRootMostValueAndPath=function(e){return this.findRootMostMatchingPathAndValue(e,(function(){return!0}))},e.prototype.subtree=function(t){if(t.isEmpty())return this;var n=t.getFront(),r=this.children.get(n);return null!==r?r.subtree(t.popFront()):e.Empty},e.prototype.set=function(t,n){if(t.isEmpty())return new e(n,this.children);var r=t.getFront(),i=(this.children.get(r)||e.Empty).set(t.popFront(),n),o=this.children.insert(r,i);return new e(this.value,o)},e.prototype.remove=function(t){if(t.isEmpty())return this.children.isEmpty()?e.Empty:new e(null,this.children);var n=t.getFront(),r=this.children.get(n);if(r){var i=r.remove(t.popFront()),o=void 0;return o=i.isEmpty()?this.children.remove(n):this.children.insert(n,i),null===this.value&&o.isEmpty()?e.Empty:new e(this.value,o)}return this},e.prototype.get=function(e){if(e.isEmpty())return this.value;var t=e.getFront(),n=this.children.get(t);return n?n.get(e.popFront()):null},e.prototype.setTree=function(t,n){if(t.isEmpty())return n;var r,i=t.getFront(),o=(this.children.get(i)||e.Empty).setTree(t.popFront(),n);return r=o.isEmpty()?this.children.remove(i):this.children.insert(i,o),new e(this.value,r)},e.prototype.fold=function(e){return this.fold_(X.Empty,e)},e.prototype.fold_=function(e,t){var n={};return this.children.inorderTraversal((function(r,i){n[r]=i.fold_(e.child(r),t)})),t(e,this.value,n)},e.prototype.findOnPath=function(e,t){return this.findOnPath_(e,X.Empty,t)},e.prototype.findOnPath_=function(e,t,n){var r=!!this.value&&n(t,this.value);if(r)return r;if(e.isEmpty())return null;var i=e.getFront(),o=this.children.get(i);return o?o.findOnPath_(e.popFront(),t.child(i),n):null},e.prototype.foreachOnPath=function(e,t){return this.foreachOnPath_(e,X.Empty,t)},e.prototype.foreachOnPath_=function(t,n,r){if(t.isEmpty())return this;this.value&&r(n,this.value);var i=t.getFront(),o=this.children.get(i);return o?o.foreachOnPath_(t.popFront(),n.child(i),r):e.Empty},e.prototype.foreach=function(e){this.foreach_(X.Empty,e)},e.prototype.foreach_=function(e,t){this.children.inorderTraversal((function(n,r){r.foreach_(e.child(n),t)})),this.value&&t(e,this.value)},e.prototype.foreachChild=function(e){this.children.inorderTraversal((function(t,n){n.value&&e(t,n.value)}))},e.Empty=new e(null),e}(),pt=function(){function e(e,t){this.source=e,this.path=t,this.type=ct.LISTEN_COMPLETE}return e.prototype.operationForChild=function(t){return this.path.isEmpty()?new e(this.source,X.Empty):new e(this.source,this.path.popFront())},e}(),mt=function(){function e(e,t,n){this.source=e,this.path=t,this.snap=n,this.type=ct.OVERWRITE}return e.prototype.operationForChild=function(t){return this.path.isEmpty()?new e(this.source,X.Empty,this.snap.getImmediateChild(t)):new e(this.source,this.path.popFront(),this.snap)},e}(),gt=function(){function e(e,t,n){this.source=e,this.path=t,this.children=n,this.type=ct.MERGE}return e.prototype.operationForChild=function(t){if(this.path.isEmpty()){var n=this.children.subtree(new X(t));return n.isEmpty()?null:n.value?new mt(this.source,X.Empty,n.value):new e(this.source,X.Empty,n)}return o.assert(this.path.getFront()===t,"Can't get a merge for a child not on the path of the operation"),new e(this.source,this.path.popFront(),this.children)},e.prototype.toString=function(){return"Operation("+this.path+": "+this.source.toString()+" merge: "+this.children.toString()+")"},e}(),_t=function(){function e(e,t,n){this.node_=e,this.fullyInitialized_=t,this.filtered_=n}return e.prototype.isFullyInitialized=function(){return this.fullyInitialized_},e.prototype.isFiltered=function(){return this.filtered_},e.prototype.isCompleteForPath=function(e){if(e.isEmpty())return this.isFullyInitialized()&&!this.filtered_;var t=e.getFront();return this.isCompleteForChild(t)},e.prototype.isCompleteForChild=function(e){return this.isFullyInitialized()&&!this.filtered_||this.node_.hasChild(e)},e.prototype.getNode=function(){return this.node_},e}(),yt=function(){function e(e,t){this.eventCache_=e,this.serverCache_=t}return e.prototype.updateEventSnap=function(t,n,r){return new e(new _t(t,n,r),this.serverCache_)},e.prototype.updateServerSnap=function(t,n,r){return new e(this.eventCache_,new _t(t,n,r))},e.prototype.getEventCache=function(){return this.eventCache_},e.prototype.getCompleteEventSnap=function(){return this.eventCache_.isFullyInitialized()?this.eventCache_.getNode():null},e.prototype.getServerCache=function(){return this.serverCache_},e.prototype.getCompleteServerSnap=function(){return this.serverCache_.isFullyInitialized()?this.serverCache_.getNode():null},e.Empty=new e(new _t($e.EMPTY_NODE,!1,!1),new _t($e.EMPTY_NODE,!1,!1)),e}(),vt=function(){function e(e,t,n,r,i){this.type=e,this.snapshotNode=t,this.childName=n,this.oldSnap=r,this.prevName=i}return e.valueChange=function(t){return new e(e.VALUE,t)},e.childAddedChange=function(t,n){return new e(e.CHILD_ADDED,n,t)},e.childRemovedChange=function(t,n){return new e(e.CHILD_REMOVED,n,t)},e.childChangedChange=function(t,n,r){return new e(e.CHILD_CHANGED,n,t,r)},e.childMovedChange=function(t,n){return new e(e.CHILD_MOVED,n,t)},e.CHILD_ADDED="child_added",e.CHILD_REMOVED="child_removed",e.CHILD_CHANGED="child_changed",e.CHILD_MOVED="child_moved",e.VALUE="value",e}(),bt=function(){function e(e){this.index_=e}return e.prototype.updateChild=function(e,t,n,r,i,a){o.assert(e.isIndexed(this.index_),"A node must be indexed if only a child is updated");var s=e.getImmediateChild(t);return s.getChild(r).equals(n.getChild(r))&&s.isEmpty()===n.isEmpty()?e:(null!=a&&(n.isEmpty()?e.hasChild(t)?a.trackChildChange(vt.childRemovedChange(t,s)):o.assert(e.isLeafNode(),"A child remove without an old child only makes sense on a leaf node"):s.isEmpty()?a.trackChildChange(vt.childAddedChange(t,n)):a.trackChildChange(vt.childChangedChange(t,n,s))),e.isLeafNode()&&n.isEmpty()?e:e.updateImmediateChild(t,n).withIndex(this.index_))},e.prototype.updateFullNode=function(e,t,n){return null!=n&&(e.isLeafNode()||e.forEachChild(Ce,(function(e,r){t.hasChild(e)||n.trackChildChange(vt.childRemovedChange(e,r))})),t.isLeafNode()||t.forEachChild(Ce,(function(t,r){if(e.hasChild(t)){var i=e.getImmediateChild(t);i.equals(r)||n.trackChildChange(vt.childChangedChange(t,r,i))}else n.trackChildChange(vt.childAddedChange(t,r))}))),t.withIndex(this.index_)},e.prototype.updatePriority=function(e,t){return e.isEmpty()?$e.EMPTY_NODE:e.updatePriority(t)},e.prototype.filtersNodes=function(){return!1},e.prototype.getIndexedFilter=function(){return this},e.prototype.getIndex=function(){return this.index_},e}(),wt=function(){function e(){this.changeMap=new Map}return e.prototype.trackChildChange=function(e){var t=e.type,n=e.childName;o.assert(t===vt.CHILD_ADDED||t===vt.CHILD_CHANGED||t===vt.CHILD_REMOVED,"Only child changes supported for tracking"),o.assert(".priority"!==n,"Only non-priority child changes can be tracked.");var r=this.changeMap.get(n);if(r){var i=r.type;if(t===vt.CHILD_ADDED&&i===vt.CHILD_REMOVED)this.changeMap.set(n,vt.childChangedChange(n,e.snapshotNode,r.snapshotNode));else if(t===vt.CHILD_REMOVED&&i===vt.CHILD_ADDED)this.changeMap.delete(n);else if(t===vt.CHILD_REMOVED&&i===vt.CHILD_CHANGED)this.changeMap.set(n,vt.childRemovedChange(n,r.oldSnap));else if(t===vt.CHILD_CHANGED&&i===vt.CHILD_ADDED)this.changeMap.set(n,vt.childAddedChange(n,e.snapshotNode));else{if(t!==vt.CHILD_CHANGED||i!==vt.CHILD_CHANGED)throw o.assertionError("Illegal combination of changes: "+e+" occurred after "+r);this.changeMap.set(n,vt.childChangedChange(n,e.snapshotNode,r.oldSnap))}}else this.changeMap.set(n,e)},e.prototype.getChanges=function(){return Array.from(this.changeMap.values())},e}(),kt=new(function(){function e(){}return e.prototype.getCompleteChild=function(e){return null},e.prototype.getChildAfterChild=function(e,t,n){return null},e}()),Mt=function(){function e(e,t,n){void 0===n&&(n=null),this.writes_=e,this.viewCache_=t,this.optCompleteServerCache_=n}return e.prototype.getCompleteChild=function(e){var t=this.viewCache_.getEventCache();if(t.isCompleteForChild(e))return t.getNode().getImmediateChild(e);var n=null!=this.optCompleteServerCache_?new _t(this.optCompleteServerCache_,!0,!1):this.viewCache_.getServerCache();return this.writes_.calcCompleteChild(e,n)},e.prototype.getChildAfterChild=function(e,t,n){var r=null!=this.optCompleteServerCache_?this.optCompleteServerCache_:this.viewCache_.getCompleteServerSnap(),i=this.writes_.calcIndexedSlice(r,t,1,n,e);return 0===i.length?null:i[0]},e}(),St=function(){return function(e,t){this.viewCache=e,this.changes=t}}(),Tt=function(){function e(e){this.filter_=e}return e.prototype.assertIndexed=function(e){o.assert(e.getEventCache().getNode().isIndexed(this.filter_.getIndex()),"Event snap not indexed"),o.assert(e.getServerCache().getNode().isIndexed(this.filter_.getIndex()),"Server snap not indexed")},e.prototype.applyOperation=function(t,n,r,i){var a,s,l=new wt;if(n.type===ct.OVERWRITE){var u=n;u.source.fromUser?a=this.applyUserOverwrite_(t,u.path,u.snap,r,i,l):(o.assert(u.source.fromServer,"Unknown source."),s=u.source.tagged||t.getServerCache().isFiltered()&&!u.path.isEmpty(),a=this.applyServerOverwrite_(t,u.path,u.snap,r,i,s,l))}else if(n.type===ct.MERGE){var c=n;c.source.fromUser?a=this.applyUserMerge_(t,c.path,c.children,r,i,l):(o.assert(c.source.fromServer,"Unknown source."),s=c.source.tagged||t.getServerCache().isFiltered(),a=this.applyServerMerge_(t,c.path,c.children,r,i,s,l))}else if(n.type===ct.ACK_USER_WRITE){var d=n;a=d.revert?this.revertUserWrite_(t,d.path,r,i,l):this.ackUserWrite_(t,d.path,d.affectedTree,r,i,l)}else{if(n.type!==ct.LISTEN_COMPLETE)throw o.assertionError("Unknown operation type: "+n.type);a=this.listenComplete_(t,n.path,r,l)}var h=l.getChanges();return e.maybeAddValueEvent_(t,a,h),new St(a,h)},e.maybeAddValueEvent_=function(e,t,n){var r=t.getEventCache();if(r.isFullyInitialized()){var i=r.getNode().isLeafNode()||r.getNode().isEmpty(),o=e.getCompleteEventSnap();(n.length>
20||!e.getEventCache().isFullyInitialized()||i&&!r.getNode().equals(o)||!r.getNode().getPriority().equals(o.getPriority()))&&n.push(vt.valueChange(t.getCompleteEventSnap()))}},e.prototype.generateEventCacheAfterServerEvent_=function(e,t,n,r,i){var a=e.getEventCache();if(null!=n.shadowingWrite(t))return e;var s=void 0,l=void 0;if(t.isEmpty())if(o.assert(e.getServerCache().isFullyInitialized(),"If change path is empty, we must have complete server data"),e.getServerCache().isFiltered()){var u=e.getCompleteServerSnap(),c=n.calcCompleteEventChildren(u instanceof $e?u:$e.EMPTY_NODE);s=this.filter_.updateFullNode(e.getEventCache().getNode(),c,i)}else{var d=n.calcCompleteEventCache(e.getCompleteServerSnap());s=this.filter_.updateFullNode(e.getEventCache().getNode(),d,i)}else{var h=t.getFront();if(".priority"===h){o.assert(1===t.getLength(),"Can't have a priority with additional path components");var f=a.getNode();l=e.getServerCache().getNode();var p=n.calcEventCacheAfterServerOverwrite(t,f,l);s=null!=p?this.filter_.updatePriority(f,p):a.getNode()}else{var m=t.popFront(),g=void 0;if(a.isCompleteForChild(h)){l=e.getServerCache().getNode();var _=n.calcEventCacheAfterServerOverwrite(t,a.getNode(),l);g=null!=_?a.getNode().getImmediateChild(h).updateChild(m,_):a.getNode().getImmediateChild(h)}else g=n.calcCompleteChild(h,e.getServerCache());s=null!=g?this.filter_.updateChild(a.getNode(),h,g,m,r,i):a.getNode()}}return e.updateEventSnap(s,a.isFullyInitialized()||t.isEmpty(),this.filter_.filtersNodes())},e.prototype.applyServerOverwrite_=function(e,t,n,r,i,o,a){var s,l=e.getServerCache(),u=o?this.filter_:this.filter_.getIndexedFilter();if(t.isEmpty())s=u.updateFullNode(l.getNode(),n,null);else if(u.filtersNodes()&&!l.isFiltered()){var c=l.getNode().updateChild(t,n);s=u.updateFullNode(l.getNode(),c,null)}else{var d=t.getFront();if(!l.isCompleteForPath(t)&&t.getLength()>1)return e;var h=t.popFront(),f=l.getNode().getImmediateChild(d).updateChild(h,n);s=".priority"===d?u.updatePriority(l.getNode(),f):u.updateChild(l.getNode(),d,f,h,kt,null)}var p=e.updateServerSnap(s,l.isFullyInitialized()||t.isEmpty(),u.filtersNodes()),m=new Mt(r,p,i);return this.generateEventCacheAfterServerEvent_(p,t,r,m,a)},e.prototype.applyUserOverwrite_=function(e,t,n,r,i,o){var a,s,l=e.getEventCache(),u=new Mt(r,e,i);if(t.isEmpty())s=this.filter_.updateFullNode(e.getEventCache().getNode(),n,o),a=e.updateEventSnap(s,!0,this.filter_.filtersNodes());else{var c=t.getFront();if(".priority"===c)s=this.filter_.updatePriority(e.getEventCache().getNode(),n),a=e.updateEventSnap(s,l.isFullyInitialized(),l.isFiltered());else{var d=t.popFront(),h=l.getNode().getImmediateChild(c),f=void 0;if(d.isEmpty())f=n;else{var p=u.getCompleteChild(c);f=null!=p?".priority"===d.getBack()&&p.getChild(d.parent()).isEmpty()?p:p.updateChild(d,n):$e.EMPTY_NODE}if(h.equals(f))a=e;else{var m=this.filter_.updateChild(l.getNode(),c,f,d,u,o);a=e.updateEventSnap(m,l.isFullyInitialized(),this.filter_.filtersNodes())}}}return a},e.cacheHasChild_=function(e,t){return e.getEventCache().isCompleteForChild(t)},e.prototype.applyUserMerge_=function(t,n,r,i,o,a){var s=this,l=t;return r.foreach((function(r,u){var c=n.child(r);e.cacheHasChild_(t,c.getFront())&&(l=s.applyUserOverwrite_(l,c,u,i,o,a))})),r.foreach((function(r,u){var c=n.child(r);e.cacheHasChild_(t,c.getFront())||(l=s.applyUserOverwrite_(l,c,u,i,o,a))})),l},e.prototype.applyMerge_=function(e,t){return t.foreach((function(t,n){e=e.updateChild(t,n)})),e},e.prototype.applyServerMerge_=function(e,t,n,r,i,o,a){var s=this;if(e.getServerCache().getNode().isEmpty()&&!e.getServerCache().isFullyInitialized())return e;var l,u=e;l=t.isEmpty()?n:ft.Empty.setTree(t,n);var c=e.getServerCache().getNode();return l.children.inorderTraversal((function(t,n){if(c.hasChild(t)){var l=e.getServerCache().getNode().getImmediateChild(t),d=s.applyMerge_(l,n);u=s.applyServerOverwrite_(u,new X(t),d,r,i,o,a)}})),l.children.inorderTraversal((function(t,n){var l=!e.getServerCache().isCompleteForChild(t)&&null==n.value;if(!c.hasChild(t)&&!l){var d=e.getServerCache().getNode().getImmediateChild(t),h=s.applyMerge_(d,n);u=s.applyServerOverwrite_(u,new X(t),h,r,i,o,a)}})),u},e.prototype.ackUserWrite_=function(e,t,n,r,i,o){if(null!=r.shadowingWrite(t))return e;var a=e.getServerCache().isFiltered(),s=e.getServerCache();if(null!=n.value){if(t.isEmpty()&&s.isFullyInitialized()||s.isCompleteForPath(t))return this.applyServerOverwrite_(e,t,s.getNode().getChild(t),r,i,a,o);if(t.isEmpty()){var l=ft.Empty;
2return s.getNode().forEachChild(Te,(function(e,t){l=l.set(new X(e),t)})),this.applyServerMerge_(e,t,l,r,i,a,o)}return e}var u=ft.Empty;return n.foreach((function(e,n){var r=t.child(e);s.isCompleteForPath(r)&&(u=u.set(e,s.getNode().getChild(r)))})),this.applyServerMerge_(e,t,u,r,i,a,o)},e.prototype.listenComplete_=function(e,t,n,r){var i=e.getServerCache(),o=e.updateServerSnap(i.getNode(),i.isFullyInitialized()||t.isEmpty(),i.isFiltered());return this.generateEventCacheAfterServerEvent_(o,t,n,kt,r)},e.prototype.revertUserWrite_=function(e,t,n,r,i){var a;if(null!=n.shadowingWrite(t))return e;var s=new Mt(n,e,r),l=e.getEventCache().getNode(),u=void 0;if(t.isEmpty()||".priority"===t.getFront()){var c=void 0;if(e.getServerCache().isFullyInitialized())c=n.calcCompleteEventCache(e.getCompleteServerSnap());else{var d=e.getServerCache().getNode();o.assert(d instanceof $e,"serverChildren would be complete if leaf node"),c=n.calcCompleteEventChildren(d)}u=this.filter_.updateFullNode(l,c=c,i)}else{var h=t.getFront(),f=n.calcCompleteChild(h,e.getServerCache());null==f&&e.getServerCache().isCompleteForChild(h)&&(f=l.getImmediateChild(h)),(u=null!=f?this.filter_.updateChild(l,h,f,t.popFront(),s,i):e.getEventCache().getNode().hasChild(h)?this.filter_.updateChild(l,h,$e.EMPTY_NODE,t.popFront(),s,i):l).isEmpty()&&e.getServerCache().isFullyInitialized()&&(a=n.calcCompleteEventCache(e.getCompleteServerSnap())).isLeafNode()&&(u=this.filter_.updateFullNode(u,a,i))}return a=e.getServerCache().isFullyInitialized()||null!=n.shadowingWrite(X.Empty),e.updateEventSnap(u,a,this.filter_.filtersNodes())},e}(),xt=function(){function e(e){this.query_=e,this.index_=this.query_.getQueryParams().getIndex()}return e.prototype.generateEventsForChanges=function(e,t,n){var r=this,i=[],o=[];return e.forEach((function(e){e.type===vt.CHILD_CHANGED&&r.index_.indexedValueChanged(e.oldSnap,e.snapshotNode)&&o.push(vt.childMovedChange(e.childName,e.snapshotNode))})),this.generateEventsForType_(i,vt.CHILD_REMOVED,e,n,t),this.generateEventsForType_(i,vt.CHILD_ADDED,e,n,t),this.generateEventsForType_(i,vt.CHILD_MOVED,o,n,t),this.generateEventsForType_(i,vt.CHILD_CHANGED,e,n,t),this.generateEventsForType_(i,vt.VALUE,e,n,t),i},e.prototype.generateEventsForType_=function(e,t,n,r,i){var o=this,a=n.filter((function(e){return e.type===t}));a.sort(this.compareChanges_.bind(this)),a.forEach((function(t){var n=o.materializeSingleChange_(t,i);r.forEach((function(r){r.respondsTo(t.type)&&e.push(r.createEvent(n,o.query_))}))}))},e.prototype.materializeSingleChange_=function(e,t){return"value"===e.type||"child_removed"===e.type||(e.prevName=t.getPredecessorChildName(e.childName,e.snapshotNode,this.index_)),e},e.prototype.compareChanges_=function(e,t){if(null==e.childName||null==t.childName)throw o.assertionError("Should only compare child_ events.");var n=new ke(e.childName,e.snapshotNode),r=new ke(t.childName,t.snapshotNode);return this.index_.compare(n,r)},e}(),Lt=function(){function e(e,t){this.query_=e,this.eventRegistrations_=[];var n=this.query_.getQueryParams(),r=new bt(n.getIndex()),i=n.getNodeFilter();this.processor_=new Tt(i);var o=t.getServerCache(),a=t.getEventCache(),s=r.updateFullNode($e.EMPTY_NODE,o.getNode(),null),l=i.updateFullNode($e.EMPTY_NODE,a.getNode(),null),u=new _t(s,o.isFullyInitialized(),r.filtersNodes()),c=new _t(l,a.isFullyInitialized(),i.filtersNodes());this.viewCache_=new yt(c,u),this.eventGenerator_=new xt(this.query_)}return e.prototype.getQuery=function(){return this.query_},e.prototype.getServerCache=function(){return this.viewCache_.getServerCache().getNode()},e.prototype.getCompleteServerCache=function(e){var t=this.viewCache_.getCompleteServerSnap();return t&&(this.query_.getQueryParams().loadsAllData()||!e.isEmpty()&&!t.getImmediateChild(e.getFront()).isEmpty())?t.getChild(e):null},e.prototype.isEmpty=function(){return 0===this.eventRegistrations_.length},e.prototype.addEventRegistration=function(e){this.eventRegistrations_.push(e)},e.prototype.removeEventRegistration=function(e,t){var n=[];if(t){o.assert(null==e,"A cancel should cancel all event registrations.");var r=this.query_.path;this.eventRegistrations_.forEach((function(e){var i=e.createCancelEvent(t=t,r);i&&n.push(i)}))}if(e){for(var i=[],a=0;a<this.eventRegistrations_.length;++a){var s=this.eventRegistrations_[a];if(s.matches(e)){if(e.hasAnyCallback()){i=i.concat(this.eventRegistrations_.slice(a+1));break}}else i.push(s)}this.eventRegistrations_=i}else this.eventRegistrations_=[];return n},e.prototype.applyOperation=function(e,t,n){e.type===ct.MERGE&&null!==e.source.queryId&&(o.assert(this.viewCache_.getCompleteServerSnap(),"We should always have a full c
2ache before handling merges"),o.assert(this.viewCache_.getCompleteEventSnap(),"Missing event cache, even though we have a server cache"));var r=this.viewCache_,i=this.processor_.applyOperation(r,e,t,n);return this.processor_.assertIndexed(i.viewCache),o.assert(i.viewCache.getServerCache().isFullyInitialized()||!r.getServerCache().isFullyInitialized(),"Once a server snap is complete, it should never go back"),this.viewCache_=i.viewCache,this.generateEventsForChanges_(i.changes,i.viewCache.getEventCache().getNode(),null)},e.prototype.getInitialEvents=function(e){var t=this.viewCache_.getEventCache(),n=[];return t.getNode().isLeafNode()||t.getNode().forEachChild(Ce,(function(e,t){n.push(vt.childAddedChange(e,t))})),t.isFullyInitialized()&&n.push(vt.valueChange(t.getNode())),this.generateEventsForChanges_(n,t.getNode(),e)},e.prototype.generateEventsForChanges_=function(e,t,n){return this.eventGenerator_.generateEventsForChanges(e,t,n?[n]:this.eventRegistrations_)},e}(),Dt=function(){function e(){this.views=new Map}return Object.defineProperty(e,"__referenceConstructor",{get:function(){return o.assert(lt,"Reference.ts has not been loaded"),lt},set:function(e){o.assert(!lt,"__referenceConstructor has already been defined"),lt=e},enumerable:!1,configurable:!0}),e.prototype.isEmpty=function(){return 0===this.views.size},e.prototype.applyOperation=function(e,t,n){var r,a,s=e.source.queryId;if(null!==s){var l=this.views.get(s);return o.assert(null!=l,"SyncTree gave us an op for an invalid query."),l.applyOperation(e,t,n)}var u=[];try{for(var c=i.__values(this.views.values()),d=c.next();!d.done;d=c.next())u=u.concat((l=d.value).applyOperation(e,t,n))}catch(h){r={error:h}}finally{try{d&&!d.done&&(a=c.return)&&a.call(c)}finally{if(r)throw r.error}}return u},e.prototype.addEventRegistration=function(e,t,n,r,i){var o=e.queryIdentifier(),a=this.views.get(o);if(!a){var s=n.calcCompleteEventCache(i?r:null),l=!1;s?l=!0:r instanceof $e?(s=n.calcCompleteEventChildren(r),l=!1):(s=$e.EMPTY_NODE,l=!1);var u=new yt(new _t(s,l,!1),new _t(r,i,!1));a=new Lt(e,u),this.views.set(o,a)}return a.addEventRegistration(t),a.getInitialEvents(t)},e.prototype.removeEventRegistration=function(t,n,r){var o,a,s=t.queryIdentifier(),l=[],u=[],c=this.hasCompleteView();if("default"===s)try{for(var d=i.__values(this.views.entries()),h=d.next();!h.done;h=d.next()){var f,p=i.__read(h.value,2),m=p[0];u=u.concat((f=p[1]).removeEventRegistration(n,r)),f.isEmpty()&&(this.views.delete(m),f.getQuery().getQueryParams().loadsAllData()||l.push(f.getQuery()))}}catch(g){o={error:g}}finally{try{h&&!h.done&&(a=d.return)&&a.call(d)}finally{if(o)throw o.error}}else(f=this.views.get(s))&&(u=u.concat(f.removeEventRegistration(n,r)),f.isEmpty()&&(this.views.delete(s),f.getQuery().getQueryParams().loadsAllData()||l.push(f.getQuery())));return c&&!this.hasCompleteView()&&l.push(new e.__referenceConstructor(t.repo,t.path)),{removed:l,events:u}},e.prototype.getQueryViews=function(){var e,t,n=[];try{for(var r=i.__values(this.views.values()),o=r.next();!o.done;o=r.next()){var a=o.value;a.getQuery().getQueryParams().loadsAllData()||n.push(a)}}catch(s){e={error:s}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return n},e.prototype.getCompleteServerCache=function(e){var t,n,r=null;try{for(var o=i.__values(this.views.values()),a=o.next();!a.done;a=o.next())r=r||a.value.getCompleteServerCache(e)}catch(s){t={error:s}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r},e.prototype.viewForQuery=function(e){if(e.getQueryParams().loadsAllData())return this.getCompleteView();var t=e.queryIdentifier();return this.views.get(t)},e.prototype.viewExistsForQuery=function(e){return null!=this.viewForQuery(e)},e.prototype.hasCompleteView=function(){return null!=this.getCompleteView()},e.prototype.getCompleteView=function(){var e,t;try{for(var n=i.__values(this.views.values()),r=n.next();!r.done;r=n.next()){var o=r.value;if(o.getQuery().getQueryParams().loadsAllData())return o}}catch(a){e={error:a}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return null},e}(),Ct=function(){function e(e){this.writeTree_=e}return e.prototype.addWrite=function(t,n){if(t.isEmpty())return new e(new ft(n));var r=this.writeTree_.findRootMostValueAndPath(t);if(null!=r){var i=r.path,o=r.value,a=X.relativePath(i,t);return o=o.updateChild(a,n),new e(this.writeTree_.set(i,o))}var s=new ft(n);return new e(this.writeTree_.setTree(t,s))},e.prototype.addWrites=function(e,t){var n=this;return Y(t,(function(t,r){n=n.addWrite(e.child(t),r)})),n},e.prototype.removeWrite=function(t){return t.isEmpty()?e.Empty:new e(this.writeTree_.setTree(t,ft.Empty))},e.prototype.hasCompleteWrite=function(e){return null!=this.getCompleteNode(e)},e.prototype.getCompleteNode=function(e){var t=this.writeTree_.findRootMostValueAndPath(e);return null!=t?this.writeTree_.get(t.path).getChild(X.relativePath(t.path,e)):null},e.prototype.getCompleteChildren=function(){var e=[],t=this.writeTree_.value;return null!=t?t.isLeafNode()||t.forEachChild(Ce,(function(t,n){e.push(new ke(t,n))})):this.writeTree_.children.inorderTraversal((function(t,n){null!=n.value&&e.push(new ke(t,n.value))})),e},e.prototype.childCompoundWrite=function(t){if(t.isEmpty())return this;var n=this.getCompleteNode(t);return new e(null!=n?new ft(n):this.writeTree_.subtree(t))},e.prototype.isEmpty=function(){return this.writeTree_.isEmpty()},e.prototype.apply=function(e){return function e(t,n,r){if(null!=n.value)return r.updateChild(t,n.value);var i=null;return n.children.inorderTraversal((function(n,a){".priority"===n?(o.assert(null!==a.value,"Priority writes must al
2ways be leaf nodes"),i=a.value):r=e(t.child(n),a,r)})),r.getChild(t).isEmpty()||null===i||(r=r.updateChild(t.child(".priority"),i)),r}(X.Empty,this.writeTree_,e)},e.Empty=new e(new ft(null)),e}(),Ot=function(){function e(){this.visibleWrites_=Ct.Empty,this.allWrites_=[],this.lastWriteId_=-1}return e.prototype.childWrites=function(e){return new Et(e,this)},e.prototype.addOverwrite=function(e,t,n,r){o.assert(n>this.lastWriteId_,"Stacking an older write on top of newer ones"),void 0===r&&(r=!0),this.allWrites_.push({path:e,snap:t,writeId:n,visible:r}),r&&(this.visibleWrites_=this.visibleWrites_.addWrite(e,t)),this.lastWriteId_=n},e.prototype.addMerge=function(e,t,n){o.assert(n>this.lastWriteId_,"Stacking an older merge on top of newer ones"),this.allWrites_.push({path:e,children:t,writeId:n,visible:!0}),this.visibleWrites_=this.visibleWrites_.addWrites(e,t),this.lastWriteId_=n},e.prototype.getWrite=function(e){for(var t=0;t<this.allWrites_.length;t++){var n=this.allWrites_[t];if(n.writeId===e)return n}return null},e.prototype.removeWrite=function(e){var t=this,n=this.allWrites_.findIndex((function(t){return t.writeId===e}));o.assert(n>=0,"removeWrite called with nonexistent writeId.");var r=this.allWrites_[n];this.allWrites_.splice(n,1);for(var i=r.visible,a=!1,s=this.allWrites_.length-1;i&&s>=0;){var l=this.allWrites_[s];l.visible&&(s>=n&&this.recordContainsPath_(l,r.path)?i=!1:r.path.contains(l.path)&&(a=!0)),s--}return!!i&&(a?(this.resetTree_(),!0):(r.snap?this.visibleWrites_=this.visibleWrites_.removeWrite(r.path):Y(r.children,(function(e){t.visibleWrites_=t.visibleWrites_.removeWrite(r.path.child(e))})),!0))},e.prototype.getCompleteWriteData=function(e){return this.visibleWrites_.getCompleteNode(e)},e.prototype.calcCompleteEventCache=function(t,n,r,i){if(r||i){var o=this.visibleWrites_.childCompoundWrite(t);return!i&&o.isEmpty()?n:i||null!=n||o.hasCompleteWrite(X.Empty)?e.layerTree_(this.allWrites_,(function(e){return(e.visible||i)&&(!r||!~r.indexOf(e.writeId))&&(e.path.contains(t)||t.contains(e.path))}),t).apply(n||$e.EMPTY_NODE):null}var a=this.visibleWrites_.getCompleteNode(t);if(null!=a)return a;var s=this.visibleWrites_.childCompoundWrite(t);return s.isEmpty()?n:null!=n||s.hasCompleteWrite(X.Empty)?s.apply(n||$e.EMPTY_NODE):null},e.prototype.calcCompleteEventChildren=function(e,t){var n=$e.EMPTY_NODE,r=this.visibleWrites_.getCompleteNode(e);if(r)return r.isLeafNode()||r.forEachChild(Ce,(function(e,t){n=n.updateImmediateChild(e,t)})),n;if(t){var i=this.visibleWrites_.childCompoundWrite(e);return t.forEachChild(Ce,(function(e,t){var r=i.childCompoundWrite(new X(e)).apply(t);n=n.updateImmediateChild(e,r)}
2)),i.getCompleteChildren().forEach((function(e){n=n.updateImmediateChild(e.name,e.node)})),n}return this.visibleWrites_.childCompoundWrite(e).getCompleteChildren().forEach((function(e){n=n.updateImmediateChild(e.name,e.node)})),n},e.prototype.calcEventCacheAfterServerOverwrite=function(e,t,n,r){o.assert(n||r,"Either existingEventSnap or existingServerSnap must exist");var i=e.child(t);if(this.visibleWrites_.hasCompleteWrite(i))return null;var a=this.visibleWrites_.childCompoundWrite(i);return a.isEmpty()?r.getChild(t):a.apply(r.getChild(t))},e.prototype.calcCompleteChild=function(e,t,n){var r=e.child(t),i=this.visibleWrites_.getCompleteNode(r);return null!=i?i:n.isCompleteForChild(t)?this.visibleWrites_.childCompoundWrite(r).apply(n.getNode().getImmediateChild(t)):null},e.prototype.shadowingWrite=function(e){return this.visibleWrites_.getCompleteNode(e)},e.prototype.calcIndexedSlice=function(e,t,n,r,i,o){var a,s=this.visibleWrites_.childCompoundWrite(e),l=s.getCompleteNode(X.Empty);if(null!=l)a=l;else{if(null==t)return[];a=s.apply(t)}if((a=a.withIndex(o)).isEmpty()||a.isLeafNode())return[];for(var u=[],c=o.getCompare(),d=i?a.getReverseIteratorFrom(n,o):a.getIteratorFrom(n,o),h=d.getNext();h&&u.length<r;)0!==c(h,n)&&u.push(h),h=d.getNext();return u},e.prototype.recordContainsPath_=function(e,t){if(e.snap)return e.path.contains(t);for(var n in e.children)if(e.children.hasOwnProperty(n)&&e.path.child(n).contains(t))return!0;return!1},e.prototype.resetTree_=function(){this.visibleWrites_=e.layerTree_(this.allWrites_,e.DefaultFilter_,X.Empty),this.lastWriteId_=this.allWrites_.length>0?this.allWrites_[this.allWrites_.length-1].writeId:-1},e.DefaultFilter_=function(e){return e.visible},e.layerTree_=function(e,t,n){for(var r=Ct.Empty,i=0;i<e.length;++i){var a=e[i];if(t(a)){var s=a.path,l=void 0;if(a.snap)n.contains(s)?(l=X.relativePath(n,s),r=r.addWrite(l,a.snap)):s.contains(n)&&(l=X.relativePath(s,n),r=r.addWrite(X.Empty,a.snap.getChild(l)));else{if(!a.children)throw o.assertionError("WriteRecord should have .snap or .children");if(n.contains(s))l=X.relativePath(n,s),r=r.addWrites(l,a.children);else if(s.contains(n))if((l=X.relativePath(s,n)).isEmpty())r=r.addWrites(X.Empty,a.children);else{var u=o.safeGet(a.children,l.getFront());if(u){var c=u.getChild(l.popFront());r=r.addWrite(X.Empty,c)}}}}}return r},e}(),Et=function(){function e(e,t){this.treePath_=e,this.writeTree_=t}return e.prototype.calcCompleteEventCache=function(e,t,n){return this.writeTree_.calcCompleteEventCache(this.treePath_,e,t,n)},e.prototype.calcCompleteEventChildren=function(e){return this.writeTree_.calcCompleteEventChildren(this.treePath_,e)},e.prototype.calcEventCacheAfterServerOverwrite=function(e,t,n){return this.writeTree_.calcEventCacheAfterServerOverwrite(this.treePath_,e,t,n)},e.prototype.shadowingWrite=function(e){return this.writeTree_.shadowingWrite(this.treePath_.child(e))},e.prototype.calcIndexedSlice=function(e,t,n,r,i){return this.writeTree_.calcIndexedSlice(this.treePath_,e,t,n,r,i)},e.prototype.calcCompleteChild=function(e,t){return this.writeTree_.calcCompleteChild(this.treePath_,e,t)},e.prototype.child=function(t){return new e(this.treePath_.child(t),this.writeTree_)},e}(),jt=function(){function e(e){this.listenProvider_=e,this.syncPointTree_=ft.Empty,this.pendingWriteTree_=new Ot,this.tagToQueryMap=new Map,this.queryToTagMap=new Map}return e.prototype.applyUserOverwrite=function(e,t,n,r){return this.pendingWriteTree_.addOverwrite(e,t,n,r),r?this.applyOperationToSyncPoints_(new mt(dt.User,e,t)):[]},e.prototype.applyUserMerge=function(e,t,n){this.pendingWriteTree_.addMerge(e,t,n);var r=ft.fromObject(t);return this.applyOperationToSyncPoints_(new gt(dt.User,e,r))},e.prototype.ackUserWrite=function(e,t){void 0===t&&(t=!1);var n=this.pendingWriteTree_.getWrite(e);if(this.pendingWriteTree_.removeWrite(e)){var r=ft.Empty;return null!=n.snap?r=r.set(X.Empty,!0):Y(n.children,(function(e,t){r=r.set(new X(e),t)})),this.applyOperationToSyncPoints_(new ht(n.path,r,t))}return[]},e.prototype.applyServerOverwrite=function(e,t){return this.applyOperationToSyncPoints_(new mt(dt.Server,e,t))},e.prototype.applyServerMerge=function(e,t){var n=ft.fromObject(t);return this.applyOperationToSyncPoints_(new gt(dt.Server,e,n))},e.prototype.applyListenComplete=function(e){return this.applyOperationToSyncPoints_(new pt(dt.Server,e))},e.prototype.applyTaggedQueryOverwrite=function(t,n,r){var i=this.queryKeyForTag_(r);if(null!=i){var o=e.parseQueryKey_(i),a=o.path,s=o.queryId,l=X.relativePath(a,t),u=new mt(dt.forServerTaggedQuery(s),l,n);return this.applyTaggedOperation_(a,u)}return[]},e.prototype.applyTaggedQueryMerge=function(t,n,r){var i=this.queryKeyForTag_(r);if(i){var o=e.parseQueryKey_(i),a=o.path,s=o.queryId,l=X.relativePath(a,t),u=ft.fromObject(n),c=new gt(dt.forServerTaggedQuery(s),l,u);return this.applyTaggedOperation_(a,c)}return[]},e.prototype.applyTaggedListenComplete=function(t,n){var r=this.queryKeyForTag_(n);if(r){var i=e.parseQueryKey_(r),o=i.path,a=i.queryId,s=X.relativePath(o,t),l=new pt(dt.forServerTaggedQuery(a),s);return this.applyTaggedOperation_(o,l)}return[]},e.prototype.addEventRegistration=function(t,n){var r=t.path,i=null,a=!1;this.syncPointTree_.foreachOnPath(r,(function(e,t){var n=X.relativePath(e,r);i=i||t.getCompleteServerCache(n),a=a||t.hasCompleteView()}));var s,l=this.syncPointTree_.get(r);l?(a=a||l.hasCompleteView(),i=i||l.getCompleteServerCache(X.Empty)):(l=new Dt,this.syncPointTree_=this.syncPointTree_.set(r,l)),null!=i?s=!0:(s=!1,i=$e.EMPTY_NODE,this.syncPointTree_.subtree(r).foreachChild((function(e,t){var n=t.getCompleteServerCache(X.Empty);n&&(i=i.updateImmediateChild(e,n))})));var u=l.viewExistsForQuery(t);if(!u&&!t.getQueryParams().loadsAllData()){var c=e.makeQueryKey_(t);o.assert(!this.queryToTagMap.has(c),"View does not exist, but we have a tag");var d=e.getNextQueryTag_();this.queryToTagMap.set(c,d),this.tagToQueryMap.set(d,c)}var h=this.pendingWriteTree_.childWrites(r),f=l.addEventRegistration(t,n,h,i,s);if(!u&&!a){var p=l.viewForQuery(t);f=f.concat(this.setupListener_(t,p))}return f},e.prototype.removeEventRegistration=function(t,n,r){var i=this,o=t.path,a=this.syncPointTree_.get(o),s=[];
2if(a&&("default"===t.queryIdentifier()||a.viewExistsForQuery(t))){var l=a.removeEventRegistration(t,n,r);a.isEmpty()&&(this.syncPointTree_=this.syncPointTree_.remove(o));var u=l.removed;s=l.events;var c=-1!==u.findIndex((function(e){return e.getQueryParams().loadsAllData()})),d=this.syncPointTree_.findOnPath(o,(function(e,t){return t.hasCompleteView()}));if(c&&!d){var h=this.syncPointTree_.subtree(o);if(!h.isEmpty())for(var f=this.collectDistinctViewsForSubTree_(h),p=0;p<f.length;++p){var m=f[p],g=m.getQuery(),_=this.createListenerForView_(m);this.listenProvider_.startListening(e.queryForListening_(g),this.tagForQuery_(g),_.hashFn,_.onComplete)}}!d&&u.length>0&&!r&&(c?this.listenProvider_.stopListening(e.queryForListening_(t),null):u.forEach((function(t){var n=i.queryToTagMap.get(e.makeQueryKey_(t));i.listenProvider_.stopListening(e.queryForListening_(t),n)}))),this.removeTags_(u)}return s},e.prototype.calcCompleteEventCache=function(e,t){var n=this.pendingWriteTree_,r=this.syncPointTree_.findOnPath(e,(function(t,n){var r=X.relativePath(t,e),i=n.getCompleteServerCache(r);if(i)return i}));return n.calcCompleteEventCache(e,r,t,!0)},e.prototype.collectDistinctViewsForSubTree_=function(e){return e.fold((function(e,t,n){if(t&&t.hasCompleteView())return[t.getCompleteView()];var r=[];return t&&(r=t.getQueryViews()),Y(n,(function(e,t){r=r.concat(t)})),r}))},e.prototype.removeTags_=function(t){for(var n=0;n<t.length;++n){var r=t[n];if(!r.getQueryParams().loadsAllData()){var i=e.makeQueryKey_(r),o=this.queryToTagMap.get(i);this.queryToTagMap.delete(i),this.tagToQueryMap.delete(o)}}},e.queryForListening_=function(e){return e.getQueryParams().loadsAllData()&&
2!e.getQueryParams().isDefault()?e.getRef():e},e.prototype.setupListener_=function(t,n){var r=t.path,i=this.tagForQuery_(t),a=this.createListenerForView_(n),s=this.listenProvider_.startListening(e.queryForListening_(t),i,a.hashFn,a.onComplete),l=this.syncPointTree_.subtree(r);if(i)o.assert(!l.value.hasCompleteView(),"If we're adding a query, it shouldn't be shadowed");else for(var u=l.fold((function(e,t,n){if(!e.isEmpty()&&t&&t.hasCompleteView())return[t.getCompleteView().getQuery()];var r=[];return t&&(r=r.concat(t.getQueryViews().map((function(e){return e.getQuery()})))),Y(n,(function(e,t){r=r.concat(t)})),r})),c=0;c<u.length;++c){var d=u[c];this.listenProvider_.stopListening(e.queryForListening_(d),this.tagForQuery_(d))}return s},e.prototype.createListenerForView_=function(e){var t=this,n=e.getQuery(),r=this.tagForQuery_(n);return{hashFn:function(){return(e.getServerCache()||$e.EMPTY_NODE).hash()},onComplete:function(e){if("ok"===e)return r?t.applyTaggedListenComplete(n.path,r):t.applyListenComplete(n.path);var i=function(e,t){var n="Unknown Error";"too_big"===e?n="The data requested exceeds the maximum size that can be accessed with a single request.":"permission_denied"===e?n="Client doesn't have permission to access the desired data.":"unavailable"===e&&(n="The service is unavailable");var r=new Error(e+" at "+t.path.toString()+": "+n);return r.code=e.toUpperCase(),r}(e,n);return t.removeEventRegistration(n,null,i)}}},e.makeQueryKey_=function(e){return e.path.toString()+"$"+e.queryIdentifier()},e.parseQueryKey_=function(e){var t=e.indexOf("$");return o.assert(-1!==t&&t<e.length-1,"Bad queryKey."),{queryId:e.substr(t+1),path:new X(e.substr(0,t))}},e.prototype.queryKeyForTag_=function(e){return this.tagToQueryMap.get(e)},e.prototype.tagForQuery_=function(t){var n=e.makeQueryKey_(t);return this.queryToTagMap.get(n)},e.getNextQueryTag_=function(){return e.nextQueryTag_++},e.prototype.applyTaggedOperation_=function(e,t){var n=this.syncPointTree_.get(e);o.assert(n,"Missing sync point for query tag that we're tracking");var r=this.pendingWriteTree_.childWrites(e);return n.applyOperation(t,r,null)},e.prototype.applyOperationToSyncPoints_=function(e){return this.applyOperationHelper_(e,this.syncPointTree_,null,this.pendingWriteTree_.childWrites(X.Empty))},e.prototype.applyOperationHelper_=function(e,t,n,r){if(e.path.isEmpty())return this.applyOperationDescendantsHelper_(e,t,n,r);var i=t.get(X.Empty);null==n&&null!=i&&(n=i.getCompleteServerCache(X.Empty));var o=[],a=e.path.getFront(),s=e.operationForChild(a),l=t.children.get(a);if(l&&s){var u=n?n.getImmediateChild(a):null,c=r.child(a);o=o.concat(this.applyOperationHelper_(s,l,u,c))}return i&&(o=o.concat(i.applyOperation(e,r,n))),o},e.prototype.applyOperationDescendantsHelper_=function(e,t,n,r){var i=this,o=t.get(X.Empty);null==n&&null!=o&&(n=o.getCompleteServerCache(X.Empty));var a=[];return t.children.inorderTraversal((function(t,o){var s=n?n.getImmediateChild(t):null,l=r.child(t),u=e.operationForChild(t);u&&(a=a.concat(i.applyOperationDescendantsHelper_(u,o,s,l)))})),o&&(a=a.concat(o.applyOperation(e,r,n))),a},e.nextQueryTag_=1,e}(),At=function(){function e(){this.rootNode_=$e.EMPTY_NODE}return e.prototype.getNode=function(e){return this.rootNode_.getChild(e)},e.prototype.updateSnapshot=function(e,t){this.rootNode_=this.rootNode_.updateChild(e,t)},e}(),Pt=function(){function e(){this.counters_={}}return e.prototype.incrementCounter=function(e,t){void 0===t&&(t=1),o.contains(this.counters_,e)||(this.counters_[e]=0),this.counters_[e]+=t},e.prototype.get=function(){return o.deepCopy(this.counters_)},e}(),It=function(){function e(){}return e.getCollection=function(e){var t=e.toString();return this.collections_[t]||(this.collections_[t]=new Pt),this.collections_[t]},e.getOrCreateReporter=function(e,t){var n=e.toString();return this.reporters_[n]||(this.reporters_[n]=t()),this.reporters_[n]},e.collections_={},e.reporters_={},e}(),Yt=function(){function e(e){this.collection_=e,this.last_=null}return e.prototype.get=function(){var e=this.collection_.get(),t=i.__assign({},e);return this.last_&&Y(this.last_,(function(e,n){t[e]=t[e]-n})),this.last_=e,t},e}(),Rt=function(){function e(e,t){this.server_=t,this.statsToReport_={},this.statsListener_=new Yt(e);var n=1e4+2e4*Math.random();Q(this.reportStats_.bind(this),Math.floor(n))}return e.prototype.includeStat=function(e){this.statsToReport_[e]=!0},e.prototype.reportStats_=function(){var e=this,t=this.statsListener_.get(),n={},r=!1;Y(t,(function(t,i){i>0&&o.contains(e.statsToReport_,t)&&(n[t]=i,r=!0)})),r&&this.server_.reportStats(n),Q(this.reportStats_.bind(this),Math.floor(2*Math.random()*3e5))},e}(),Nt=function(){function e(){this.eventLists_=[],this.recursionDepth_=0}return e.prototype.queueEvents=function(e){for(var t=null,n=0;n<e.length;n++){var r=e[n],i=r.getPath();null===t||i.equals(t.getPath())||(this.eventLists_.push(t),t=null),null===t&&(t=new Ft(i)),t.add(r)}t&&this.eventLists_.push(t)},e.prototype.raiseEventsAtPath=function(e,t){this.queueEvents(t),this.raiseQueuedEventsMatchingPredicate_((function(t){return t.equals(e)}))},e.prototype.raiseEventsForChangedPath=function(e,t){this.queueEvents(t),this.raiseQueuedEventsMatchingPredicate_((function(t){return t.contains(e)||e.contains(t)}))},e.prototype.raiseQueuedEventsMatchingPredicate_=function(e){this.recursionDepth_++;for(var t=!0,n=0;n<this.eventLists_.length;n++){var r=this.eventLists_[n];r&&(e(r.getPath())?(this.eventLists_[n].raise(),this.eventLists_[n]=null):t=!1)}t&&(this.eventLists_=[]),this.recursionDepth_--},e}(),Ft=function(){function e(e){this.path_=e,this.events_=[]}
2return e.prototype.add=function(e){this.events_.push(e)},e.prototype.raise=function(){for(var e=0;e<this.events_.length;e++){var t=this.events_[e];if(null!==t){this.events_[e]=null;var n=t.getEventRunner();b&&M("event: "+t.toString()),J(n)}}},e.prototype.getPath=function(){return this.path_},e}(),Ht=function(){function e(e){this.allowedEvents_=e,this.listeners_={},o.assert(Array.isArray(e)&&e.length>0,"Requires a non-empty array")}return e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Array.isArray(this.listeners_[e]))for(var r=i.__spread(this.listeners_[e]),o=0;o<r.length;o++)r[o].callback.apply(r[o].context,t)},e.prototype.on=function(e,t,n){this.validateEventType_(e),this.listeners_[e]=this.listeners_[e]||[],this.listeners_[e].push({callback:t,context:n});var r=this.getInitialEvent(e);r&&t.apply(n,r)},e.prototype.off=function(e,t,n){this.validateEventType_(e);for(var r=this.listeners_[e]||[],i=0;i<r.length;i++)if(r[i].callback===t&&(!n||n===r[i].context))return void r.splice(i,1)},e.prototype.validateEventType_=function(e){o.assert(this.allowedEvents_.find((function(t){return t===e})),"Unknown event: "+e)},e}(),$t=function(e){function t(){var t,n,r=e.call(this,["visible"])||this;return"undefined"!=typeof document&&void 0!==document.addEventListener&&(void 0!==document.hidden?(n="visibilitychange",t="hidden"):void 0!==document.mozHidden?(n="mozvisibilitychange",t="mozHidden"):void 0!==document.msHidden?(n="msvisibilitychange",t="msHidden"):void 0!==document.webkitHidden&&(n="webkitvisibilitychange",t="webkitHidden")),r.visible_=!0,n&&document.addEventListener(n,(function(){var e=!document[t];e!==r.visible_&&(r.visible_=e,r.trigger("visible",e))}),!1),r}return i.__extends(t,e),t.getInstance=function(){return new t},t.prototype.getInitialEvent=function(e){return o.assert("visible"===e,"Unknown event type: "+e),[this.visible_]},t}(Ht),zt=function(e){function t(){var t=e.call(this,["online"])||this;return t.online_=!0,"undefined"==typeof window||void 0===window.addEventListener||o.isMobileCordova()||(window.addEventListener("online",(function(){t.online_||(t.online_=!0,t.trigger("online",!0))}),!1),window.addEventListener("offline",(function(){t.online_&&(t.online_=!1,t.trigger("online",!1))}),!1)),t}return i.__extends(t,e),t.getInstance=function(){return new t},t.prototype.getInitialEvent=function(e){return o.assert("online"===e,"Unknown event type: "+e),[this.online_]},t.prototype.currentlyOnline=function(){return this.online_},t}(Ht),Wt=function(){function e(e){this.onMessage_=e,this.pendingResponses=[],this.currentResponseNum=0,this.closeAfterResponse=-1,this.onClose=null}return e.prototype.closeAfter=function(e,t){this.closeAfterResponse=e,this.onClose=t,this.closeAfterResponse<this.currentResponseNum&&(this.onClose(),this.onClose=null)},e.prototype.handleResponse=function(e,t){var n=this;this.pendingResponses[e]=t;for(var r=function(){var e=i.pendingResponses[i.currentResponseNum];delete i.pendingResponses[i.currentResponseNum];for(var t=function(t){e[t]&&J((function(){n.onMessage_(e[t])}))},r=0;r<e.length;++r)t(r);if(i.currentResponseNum===i.closeAfterResponse)return i.onClose&&(i.onClose(),i.onClose=null),"break";i.currentResponseNum++},i=this;this.pendingResponses[this.currentResponseNum]&&"break"!==r(););},e}(),Ut=function(){function e(e,t,n,r,i){this.connId=e,this.repoInfo=t,this.applicationId=n,this.transportSessionId=r,this.lastSessionId=i,this.bytesSent=0,this.bytesReceived=0,this.everConnected_=!1,this.log_=S(e),this.stats_=It.getCollection(t),this.urlFn=function(e){return t.connectionURL("long_polling",e)}}return e.prototype.open=function(e,t){var n=this;this.curSegmentNum=0,this.onDisconnect_=t,this.myPacketOrderer=new Wt(e),this.isClosed_=!1,this.connectTimeoutTimer_=setTimeout((function(){n.log_("Timed out trying to connect."),n.onClosed_(),n.connectTimeoutTimer_=null}),Math.floor(3e4)),function(e){if(o.isNodeSdk()||"complete"===document.readyState)e();else{var t=!1,n=function(){document.body?t||(t=!0,e()):setTimeout(n,Math.floor(10))};document.addEventListener?(document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1)):document.attachEvent&&(document.attachEvent("onreadystatechange",(function(){"complete"===document.readyState&&n()})),window.attachEvent("onload",n))}}((function(){if(!n.isClosed_){n.scriptTagHolder=new Bt((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=i.__read(e,5),o=r[0],a=r[1],s=r[2];if(n.incrementIncomingBytes_(e),n.scriptTagHolder)if(n.connectTimeoutTimer_&&(clearTimeout(n.connectTimeoutTimer_),n.connectTimeoutTimer_=null),n.everConnected_=!0,"start"===o)n.id=a,n.password=s;else{if("close"!==o)throw new Error("Unrecognized command received: "+o);a?(n.scriptTagHolder.sendNewPolls=!1,n.myPacketOrderer.closeAfter(a,(function(){n.onClosed_()}))):n.onClosed_()}}),(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=i.__read(e,2),o=r[0],a=r[1];n.incrementIncomingBytes_(e),n.myPacketOrderer.handleResponse(o,a)}),(function(){n.onClosed_()}),n.urlFn);var e={start:"t"};e.ser=Math.floor(1e8*Math.random()),n.scriptTagHolder.uniqueCallbackIdentifier&&(e.cb=n.scriptTagHolder.uniqueCallbackIdentifier),e.v="5",n.transportSessionId&&(e.s=n.transportSessionId),n.lastSessionId&&(e.ls=n.lastSessionId),n.applicationId&&(e.p=n.applicationId),"undefined"!=typeof location&&location.href&&-1!==location.href.indexOf("firebaseio.com")&&(e.r="f");var t=n.urlFn(e);n.log_("Connecting via long-poll to "+t),n.scriptTagHolder.addTag(t,(function(){}))}}))},e.prototype.start=function(){this.scriptTagHolder.startLongPoll(this.id,this.password),this.addDisconnectPingFrame(this.id,this.password)},e.forceAllow=function(){e.forceAllow_=!0},e.forceDisallow=function(){e.forceDisallow_=!0},e.isAvailable=function(){return!(o.isNodeSdk()||!e.forceAllow_&&(e.forceDisallow_||"undefined"==typeof document||null==document.createElement||"object"==typeof window&&window.chrome&&window.chrome.extension&&!/^chrome/.test(window.location.href)||"object"==typeof Windows&&"object"==typeof Windows.UI))},e.prototype.markConnectionHealthy=function(){},e.prototype.shutdown_=function(){this.isClosed_=!0,this.scriptTagHolder&&(this.scriptTagHolder.close(),this.scriptTagHolder=null),this.myDisconnFrame&&(document.body.removeChild(this.myDisconnFrame),this.myDisconnFrame=null),this.connectTimeoutTimer_&&(clearTimeout(this.connectTimeoutTimer_),this.connectTimeoutTimer_=null)},e.prototype.onClosed_=function(){this.isClosed_||(this.log_("Longpoll is closing itself"),this.shutdown_(),this.onDisconnect_&&(this.onDisconnect_(this.everConnected_),this.onDisconnect_=null))},e.prototype.close=function(){this.isClosed_||(this.log_("Longpoll is being closed."),this.shutdown_())}
2,e.prototype.send=function(e){var t=o.stringify(e);this.bytesSent+=t.length,this.stats_.incrementCounter("bytes_sent",t.length);for(var n=o.base64Encode(t),r=I(n,1840),i=0;i<r.length;i++)this.scriptTagHolder.enqueueSegment(this.curSegmentNum,r.length,r[i]),this.curSegmentNum++},e.prototype.addDisconnectPingFrame=function(e,t){if(!o.isNodeSdk()){this.myDisconnFrame=document.createElement("iframe");var n={dframe:"t"};n.id=e,n.pw=t,this.myDisconnFrame.src=this.urlFn(n),this.myDisconnFrame.style.display="none",document.body.appendChild(this.myDisconnFrame)}},e.prototype.incrementIncomingBytes_=function(e){var t=o.stringify(e).length;this.bytesReceived+=t,this.stats_.incrementCounter("bytes_received",t)},e}(),Bt=function(){function e(t,n,r,i){if(this.onDisconnect=r,this.urlFn=i,this.outstandingRequests=new Set,this.pendingSegs=[],this.currentSerial=Math.floor(1e8*Math.random()),this.sendNewPolls=!0,o.isNodeSdk())this.commandCB=t,this.onMessageCB=n;else{this.uniqueCallbackIdentifier=_(),window["pLPCommand"+this.uniqueCallbackIdentifier]=t,window["pRTLPCB"+this.uniqueCallbackIdentifier]=n,this.myIFrame=e.createIFrame_();var a="";this.myIFrame.src&&"javascript:"===this.myIFrame.src.substr(0,"javascript:".length)&&(a='<script>document.domain="'+document.domain+'";<\/script>');var s="<html><body>"+a+"</body></html>";try{this.myIFrame.doc.open(),this.myIFrame.doc.write(s),this.myIFrame.doc.close()}catch(l){M("frame writing exception"),l.stack&&M(l.stack),M(l)}}}return e.createIFrame_=function(){var e=document.createElement("iframe");if(e.style.display="none",!document.body)throw"Document body has not initialized. Wait to initialize Firebase until after the document is ready.";document.body.appendChild(e);try{e.contentWindow.document||M("No IE domain setting required")}catch(n){var t=document.domain;e.src="javascript:void((function(){document.open();document.domain='"+t+"';document.close();})())"}return e.contentDocument?e.doc=e.contentDocument:e.contentWindow?e.doc=e.contentWindow.document:e.document&&(e.doc=e.document),e},e.prototype.close=function(){var e=this;this.alive=!1,this.myIFrame&&(this.myIFrame.doc.body.innerHTML="",setTimeout((function(){null!==e.myIFrame&&(document.body.removeChild(e.myIFrame),e.myIFrame=null)}),Math.floor(0)));var t=this.onDisconnect;t&&(this.onDisconnect=null,t())},e.prototype.startLongPoll=function(e,t){for(this.myID=e,this.myPW=t,this.alive=!0;this.newRequest_(););},e.prototype.newRequest_=function(){if(this.alive&&this.sendNewPolls&&this.outstandingRequests.size<(this.pendingSegs.length>0?2:1)){this.currentSerial++;var e={};e.id=this.myID,e.pw=this.myPW,e.ser=this.currentSerial;for(var t=this.urlFn(e),n="",r=0;this.pendingSegs.length>0&&this.pendingSegs[0].d.length+30+n.length<=1870;){var i=this.pendingSegs.shift();n=n+"&seg"+r+"="+i.seg+"&ts"+r+"="+i.ts+"&d"+r+"="+i.d,r++}return this.addLongPollTag_(t+=n,this.currentSerial),!0}return!1},e.prototype.enqueueSegment=function(e,t,n){this.pendingSegs.push({seg:e,ts:t,d:n}),this.alive&&this.newRequest_()},e.prototype.addLongPollTag_=function(e,t){var n=this;this.outstandingRequests.add(t);var r=function(){n.outstandingRequests.delete(t),n.newRequest_()},i=setTimeout(r,Math.floor(25e3));this.addTag(e,(function(){clearTimeout(i),r()}))},e.prototype.addTag=function(e,t){var n=this;o.isNodeSdk()?this.doNodeLongPoll(e,t):setTimeout((function(){try{if(!n.sendNewPolls)return;var r=n.myIFrame.doc.createElement("script");r.type="text/javascript",r.async=!0,r.src=e,r.onload=r.onreadystatechange=function(){var e=r.readyState;e&&"loaded"!==e&&"complete"!==e||(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),t())},r.onerror=function(){M("Long-poll script failed to load: "+e),n.sendNewPolls=!1,n.close()},n.myIFrame.doc.body.appendChild(r)}catch(i){}}),Math.floor(1))},e}(),Vt="",qt=null;"undefined"!=typeof MozWebSocket?qt=MozWebSocket:"undefined"!=typeof WebSocket&&(qt=WebSocket);var Gt=function(){function e(t,n,r,i,o){this.connId=t,this.applicationId=r,this.keepaliveTimer=null,this.frames=null,this.totalFrames=0,this.bytesSent=0,this.bytesReceived=0,this.log_=S(this.connId),this.stats_=It.getCollection(n),this.connURL=e.connectionURL_(n,i,o),this.nodeAdmin=n.nodeAdmin}return e.connectionURL_=function(e,t,n){var r={v:"5"};return!o.isNodeSdk()&&"undefined"!=typeof location&&location.href&&-1!==location.href.indexOf("firebaseio.com")&&(r.r="f"),t&&(r.s=t),n&&(r.ls=n),e.connectionURL("websocket",r)},e.prototype.open=function(e,t){var n=this;this.onDisconnect=t,this.onMessage=e,this.log_("Websocket connecting to "+this.connURL),this.everConnected_=!1,p.set("previous_websocket_failure",!0);try{if(o.isNodeSdk()){var r={headers:{"User-Agent":"Firebase/5/"+Vt+"/"+process.platform+"/"+(this.nodeAdmin?"AdminNode":"Node"),"X-Firebase-GMPID":this.applicationId||""}},i=process.env,a=0===this.connURL.indexOf("wss://")?i.HTTPS_PROXY||i.https_proxy:i.HTTP_PROXY||i.http_proxy;a&&(r.proxy={origin:a}),this.mySock=new qt(this.connURL,[],r)}else this.mySock=new qt(this.connURL,[],r={headers:{"X-Firebase-GMPID":this.applicationId||""}})}catch(l){this.log_("Error instantiating WebSocket.");var s=l.message||l.data;return s&&this.log_(s),void this.onClosed_()}this.mySock.onopen=function(){n.log_("Websocket connected."),n.everConnected_=!0}
2,this.mySock.onclose=function(){n.log_("Websocket connection was disconnected."),n.mySock=null,n.onClosed_()},this.mySock.onmessage=function(e){n.handleIncomingFrame(e)},this.mySock.onerror=function(e){n.log_("WebSocket error.  Closing connection.");var t=e.message||e.data;t&&n.log_(t),n.onClosed_()}},e.prototype.start=function(){},e.forceDisallow=function(){e.forceDisallow_=!0},e.isAvailable=function(){var t=!1;if("undefined"!=typeof navigator&&navigator.userAgent){var n=navigator.userAgent.match(/Android ([0-9]{0,}\.[0-9]{0,})/);n&&n.length>1&&parseFloat(n[1])<4.4&&(t=!0)}return!t&&null!==qt&&!e.forceDisallow_},e.previouslyFailed=function(){return p.isInMemoryStorage||!0===p.get("previous_websocket_failure")},e.prototype.markConnectionHealthy=function(){p.remove("previous_websocket_failure")},e.prototype.appendFrame_=function(e){if(this.frames.push(e),this.frames.length===this.totalFrames){var t=this.frames.join("");this.frames=null;var n=o.jsonEval(t);this.onMessage(n)}},e.prototype.handleNewFrameCount_=function(e){this.totalFrames=e,this.frames=[]},e.prototype.extractFrameCount_=function(e){if(o.assert(null===this.frames,"We already have a frame buffer"),e.length<=6){var t=Number(e);if(!isNaN(t))return this.handleNewFrameCount_(t),null}return this.handleNewFrameCount_(1),e},e.prototype.handleIncomingFrame=function(e){if(null!==this.mySock){var t=e.data;if(this.bytesReceived+=t.length,this.stats_.incrementCounter("bytes_received",t.length),this.resetKeepAlive(),null!==this.frames)this.appendFrame_(t);else{var n=this.extractFrameCount_(t);null!==n&&this.appendFrame_(n)}}},e.prototype.send=function(e){this.resetKeepAlive();var t=o.stringify(e);this.bytesSent+=t.length,this.stats_.incrementCounter("bytes_sent",t.length);var n=I(t,16384);n.length>1&&this.sendString_(String(n.length));for(var r=0;r<n.length;r++)this.sendString_(n[r])},e.prototype.shutdown_=function(){this.isClosed_=!0,this.keepaliveTimer&&(clearInterval(this.keepaliveTimer),this.keepaliveTimer=null),this.mySock&&(this.mySock.close(),this.mySock=null)},e.prototype.onClosed_=function(){this.isClosed_||(this.log_("WebSocket is closing itself"),this.shutdown_(),this.onDisconnect&&(this.onDisconnect(this.everConnected_),this.onDisconnect=null))},e.prototype.close=function(){this.isClosed_||(this.log_("WebSocket is being closed"),this.shutdown_())},e.prototype.resetKeepAlive=function(){var e=this;clearInterval(this.keepaliveTimer),this.keepaliveTimer=setInterval((function(){e.mySock&&e.sendString_("0"),e.resetKeepAlive()}),Math.floor(45e3))},e.prototype.sendString_=function(e){try{this.mySock.send(e)}catch(t){this.log_("Exception thrown from WebSocket.send():",t.message||t.data,"Closing connection."),setTimeout(this.onClosed_.bind(this),0)}},e.responsesRequiredToBeHealthy=2,e.healthyTimeout=3e4,e}(),Kt=function(){function e(e){this.initTransports_(e)}return Object.defineProperty(e,"ALL_TRANSPORTS",{get:function(){return[Ut,Gt]},enumerable:!1,configurable:!0}),e.prototype.initTransports_=function(t){var n,r,o=Gt&&Gt.isAvailable(),a=o&&!Gt.previouslyFailed();if(t.webSocketOnly&&(o||L("wss:// URL used, but browser isn't known to support websockets.  Trying anyway."),a=!0),a)this.transports_=[Gt];else{var s=this.transports_=[];try{for(var l=i.__values(e.ALL_TRANSPORTS),u=l.next();!u.done;u=l.next()){var c=u.value;c&&c.isAvailable()&&s.push(c)}}catch(d){n={error:d}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}},e.prototype.initialTransport=function(){if(this.transports_.length>0)return this.transports_[0];throw new Error("No transports available")},e.prototype.upgradeTransport=function(){return this.transports_.length>1?this.transports_[1]:null},e}(),Jt=function(){function e(e,t,n,r,i,o,a,s){this.id=e,this.repoInfo_=t,this.applicationId_=n,this.onMessage_=r,this.onReady_=i,this.onDisconnect_=o,this.onKill_=a,this.lastSessionId=s,this.connectionCount=0,this.pendingDataMessages=[],this.state_=0,this.log_=S("c:"+this.id+":"),this.transportManager_=new Kt(t),this.log_("Connection created"),this.start_()}return e.prototype.start_=function(){var e=this,t=this.transportManager_.initialTransport();this.conn_=new t(this.nextTransportId_(),this.repoInfo_,this.applicationId_,void 0,this.lastSessionId),this.primaryResponsesRequired_=t.responsesRequiredToBeHealthy||0;var n=this.connReceiver_(this.conn_),r=this.disconnReceiver_(this.conn_);this.tx_=this.conn_,this.rx_=this.conn_,this.secondaryConn_=null,this.isHealthy_=!1,setTimeout((function(){e.conn_&&e.conn_.open(n,r)}),Math.floor(0));var i=t.healthyTimeout||0;i>0&&(this.healthyTimeout_=Q((function(){e.healthyTimeout_=null,e.isHealthy_||(e.conn_&&e.conn_.bytesReceived>
2102400?(e.log_("Connection exceeded healthy timeout but has received "+e.conn_.bytesReceived+" bytes.  Marking connection healthy."),e.isHealthy_=!0,e.conn_.markConnectionHealthy()):e.conn_&&e.conn_.bytesSent>10240?e.log_("Connection exceeded healthy timeout but has sent "+e.conn_.bytesSent+" bytes.  Leaving connection alive."):(e.log_("Closing unhealthy connection after timeout."),e.close()))}),Math.floor(i)))},e.prototype.nextTransportId_=function(){return"c:"+this.id+":"+this.connectionCount++},e.prototype.disconnReceiver_=function(e){var t=this;return function(n){e===t.conn_?t.onConnectionLost_(n):e===t.secondaryConn_?(t.log_("Secondary connection lost."),t.onSecondaryConnectionLost_()):t.log_("closing an old connection")}},e.prototype.connReceiver_=function(e){var t=this;return function(n){2!==t.state_&&(e===t.rx_?t.onPrimaryMessageReceived_(n):e===t.secondaryConn_?t.onSecondaryMessageReceived_(n):t.log_("message on old connection"))}},e.prototype.sendRequest=function(e){this.sendData_({t:"d",d:e})},e.prototype.tryCleanupConnection=function(){this.tx_===this.secondaryConn_&&this.rx_===this.secondaryConn_&&(this.log_("cleaning up and promoting a connection: "+this.secondaryConn_.connId),this.conn_=this.secondaryConn_,this.secondaryConn_=null)},e.prototype.onSecondaryControl_=function(e){if("t"in e){var t=e.t;"a"===t?this.upgradeIfSecondaryHealthy_():"r"===t?(this.log_("Got a reset on secondary, closing it"),this.secondaryConn_.close(),this.tx_!==this.secondaryConn_&&this.rx_!==this.secondaryConn_||this.close()):"o"===t&&(this.log_("got pong on secondary."),this.secondaryResponsesRequired_--,this.upgradeIfSecondaryHealthy_())}},e.prototype.onSecondaryMessageReceived_=function(e){var t=A("t",e),n=A("d",e);if("c"===t)this.onSecondaryControl_(n);else{if("d"!==t)throw new Error("Unknown protocol layer: "+t);this.pendingDataMessages.push(n)}},e.prototype.upgradeIfSecondaryHealthy_=function(){this.secondaryResponsesRequired_<=0?(this.log_("Secondary connection is healthy."),this.isHealthy_=!0,this.secondaryConn_.markConnectionHealthy(),this.proceedWithUpgrade_()):(this.log_("sending ping on secondary."),this.secondaryConn_.send({t:"c",d:{t:"p",d:{}}}))},e.prototype.proceedWithUpgrade_=function(){this.secondaryConn_.start(),this.log_("sending client ack on secondary"),this.secondaryConn_.send({t:"c",d:{t:"a",d:{}}}),this.log_("Ending transmission on primary"),this.conn_.send({t:"c",d:{t:"n",d:{}}}),this.tx_=this.secondaryConn_,this.tryCleanupConnection()},e.prototype.onPrimaryMessageReceived_=function(e){var t=A("t",e),n=A("d",e);"c"===t?this.onControl_(n):"d"===t&&this.onDataMessage_(n)},e.prototype.onDataMessage_=function(e){this.onPrimaryResponse_(),this.onMessage_(e)},e.prototype.onPrimaryResponse_=function(){this.isHealthy_||(this.primaryResponsesRequired_--,this.primaryResponsesRequired_<=0&&(this.log_("Primary connection is healthy."),this.isHealthy_=!0,this.conn_.markConnectionHealthy()))},e.prototype.onControl_=function(e){var t=A("t",e);if("d"in e){var n=e.d;if("h"===t)this.onHandshake_(n);else if("n"===t){this.log_("recvd end transmission on primary"),this.rx_=this.secondaryConn_;for(var r=0;r<this.pendingDataMessages.length;++r)this.onDataMessage_(this.pendingDataMessages[r]);this.pendingDataMessages=[],this.tryCleanupConnection()}else"s"===t?this.onConnectionShutdown_(n):"r"===t?this.onReset_(n):"e"===t?T("Server Error: "+n):"o"===t?(this.log_("got pong on primary."),this.onPrimaryResponse_(),this.sendPingOnPrimaryIfNecessary_()):T("Unknown control packet command: "+t)}},e.prototype.onHandshake_=function(e){var t=e.ts,n=e.v,r=e.h;this.sessionId=e.s,this.repoInfo_.updateHost(r),0===this.state_&&(this.conn_.start(),this.onConnectionEstablished_(this.conn_,t),"5"!==n&&L("Protocol version mismatch detected"),this.tryStartUpgrade_())},e.prototype.tryStartUpgrade_=function(){var e=this.transportManager_.upgradeTransport();e&&this.startUpgrade_(e)},e.prototype.startUpgrade_=function(e){var t=this;this.secondaryConn_=new e(this.nextTransportId_(),this.repoInfo_,this.applicationId_,this.sessionId),this.secondaryResponsesRequired_=e.responsesRequiredToBeHealthy||0;var n=this.connReceiver_(this.secondaryConn_),r=this.disconnReceiver_(this.secondaryConn_);this.secondaryConn_.open(n,r),Q((function(){t.secondaryConn_&&(t.log_("Timed out trying to upgrade."),t.secondaryConn_.close())}),Math.floor(6e4))},e.prototype.onReset_=function(e){this.log_("Reset packet received.  New host: "+e),this.repoInfo_.updateHost(e),1===this.state_?this.close():(this.closeConnections_(),this.start_())},e.prototype.onConnectionEstablished_=function(e,t){var n=this;this.log_("Realtime connection established."),this.conn_=e,this.state_=1,this.onReady_&&(this.onReady_(t,this.sessionId),this.onReady_=null),0===this.primaryResponsesRequired_?(this.log_("Primary connection is healthy."),this.isHealthy_=!0):Q((function(){n.sendPingOnPrimaryIfNecessary_()}),Math.floor(5e3))},e.prototype.sendPingOnPrimaryIfNecessary_=function(){this.isHealthy_||1!==this.state_||(this.log_("sending ping on primary."),this.sendData_({t:"c",d:{t:"p",d:{}}}))},e.prototype.onSecondaryConnectionLost_=function(){var e=this.secondaryConn_;this.secondaryConn_=null,this.tx_!==e&&this.rx_!==e||this.close()},e.prototype.onConnectionLost_=function(e){this.conn_=null,e||0!==this.state_?1===this.state_&&this.log_("Realtime connection lost."):(this.log_("Realtime connection failed."),this.repoInfo_.isCacheableHost()&&(p.remove("host:"+this.repoInfo_.host),this.repoInfo_.internalHost=this.repoInfo_.host)),this.close()},e.prototype.onConnectionShutdown_=function(e){this.log_("Connection shutdown command received. Shutting down..."),this.onKill_&&(this.onKill_(e),this.onKill_=null),this.onDisconnect_=null,this.close()},e.prototype.sendData_=function(e){if(1!==this.state_)throw"Connection is not connected";this.tx_.send(e)},e.prototype.close=function(){2!==this.state_&&(this.log_("Closing realtime connection."),this.state_=2,this.closeConnections_(),this.onDisconnect_&&(this.onDisconnect_(),this.onDisconnect_=null))},e.prototype.closeConnections_=function(){this.log_("Shutting down all connections"),this.conn_&&(this.conn_.close(),this.conn_=null),this.secondaryConn_&&(this.secondaryConn_.close(),this.secondaryConn_=null),this.healthyTimeout_&&(clearTimeout(this.healthyTimeout_),this.healthyTimeout_=null)},e}(),Qt=function(){function e(){}return e.prototype.put=function(e,t,n,r){},e.prototype.merge=function(e,t,n,r){},e.prototype.refreshAuthToken=function(e){},e.prototype.onDisconnectPut=function(e,t,n){},e.prototype.onDisconnectMerge=function(e,t,n){},e.prototype.onDisconnectCancel=function(e,t){},e.prototype.reportStats=function(e){},e}(),Xt=function(e){function t(n,r,i,a,s,l,u){var c=e.call(this)||this;if(c.repoInfo_=n,c.applicationId_=r,c.onDataUpdate_=i,c.onConnectStatus_=a,c.onServerInfoUpdate_=s,c.authTokenProvider_=l,c.authOverride_=u,c.id=t.nextPersistentConnectionId_++,c.log_=S("p:"+c.id+":"),c.interruptReasons_={},c.listens=new Map,c.outstandingPuts_=[],c.outstandingPutCount_=0,c.onDisconnectRequestQueue_=[],c.connected_=!1,c.reconnectDelay_=1e3,c.maxReconnectDelay_=3e5,c.securityDebugCallback_=null,c.lastSessionId=null,c.establishConnectionTimer_=null,c.visible_=!1,
2c.requestCBHash_={},c.requestNumber_=0,c.realtime_=null,c.authToken_=null,c.forceTokenRefresh_=!1,c.invalidAuthTokenCount_=0,c.firstConnection_=!0,c.lastConnectionAttemptTime_=null,c.lastConnectionEstablishedTime_=null,u&&!o.isNodeSdk())throw new Error("Auth override specified in options, but not supported on non Node.js platforms");return c.scheduleConnect_(0),$t.getInstance().on("visible",c.onVisible_,c),-1===n.host.indexOf("fblocal")&&zt.getInstance().on("online",c.onOnline_,c),c}return i.__extends(t,e),t.prototype.sendRequest=function(e,t,n){var r=++this.requestNumber_,i={r,a:e,b:t};this.log_(o.stringify(i)),o.assert(this.connected_,"sendRequest call when we're not connected not allowed."),this.realtime_.sendRequest(i),n&&(this.requestCBHash_[r]=n)},t.prototype.listen=function(e,t,n,r){var i=e.queryIdentifier(),a=e.path.toString();this.log_("Listen called for "+a+" "+i),this.listens.has(a)||this.listens.set(a,new Map),o.assert(e.getQueryParams().isDefault()||!e.getQueryParams().loadsAllData(),"listen() called for non-default but complete query"),o.assert(!this.listens.get(a).has(i),"listen() called twice for same path/queryId.");var s={onComplete:r,hashFn:t,query:e,tag:n};this.listens.get(a).set(i,s),this.connected_&&this.sendListen_(s)},t.prototype.sendListen_=function(e){var n=this,r=e.query,i=r.path.toString(),o=r.queryIdentifier();this.log_("Listen on "+i+" for "+o);var a={p:i};e.tag&&(a.q=r.queryObject(),a.t=e.tag),a.h=e.hashFn(),this.sendRequest("q",a,(function(a){var s=a.d,l=a.s;t.warnOnListenWarnings_(s,r),(n.listens.get(i)&&n.listens.get(i).get(o))===e&&(n.log_("listen response",a),"ok"!==l&&n.removeListen_(i,o),e.onComplete&&e.onComplete(l,s))}))},t.warnOnListenWarnings_=function(e,t){if(e&&"object"==typeof e&&o.contains(e,"w")){var n=o.safeGet(e,"w");if(Array.isArray(n)&&~n.indexOf("no_index")){var r='".indexOn": "'+t.getQueryParams().getIndex().toString()+'"',i=t.path.toString();L("Using an unspecified index. Your data will be downloaded and filtered on the client. Consider adding "+r+" at "+i+" to your security rules for better performance.")}}},t.prototype.refreshAuthToken=function(e){this.authToken_=e,this.log_("Auth token refreshed"),this.authToken_?this.tryAuth():this.connected_&&this.sendRequest("unauth",{},(function(){})),this.reduceReconnectDelayIfAdminCredential_(e)},t.prototype.reduceReconnectDelayIfAdminCredential_=function(e){(e&&40===e.length||o.isAdmin(e))&&(this.log_("Admin auth credential detected.  Reducing max reconnect time."),this.maxReconnectDelay_=3e4)},t.prototype.tryAuth=function(){var e=this;if(this.connected_&&this.authToken_){var t=this.authToken_,n=o.isValidFormat(t)?"auth":"gauth",r={cred:t};null===this.authOverride_?r.noauth=!0:"object"==typeof this.authOverride_&&(r.authvar=this.authOverride_),this.sendRequest(n,r,(function(n){var r=n.s,i=n.d||"error";e.authToken_===t&&("ok"===r?e.invalidAuthTokenCount_=0:e.onAuthRevoked_(r,i))}))}},t.prototype.unlisten=function(e,t){var n=e.path.toString(),r=e.queryIdentifier();this.log_("Unlisten called for "+n+" "+r),o.assert(e.getQueryParams().isDefault()||!e.getQueryParams().loadsAllData(),"unlisten() called for non-default but complete query"),this.removeListen_(n,r)&&this.connected_&&this.sendUnlisten_(n,r,e.queryObject(),t)},t.prototype.sendUnlisten_=function(e,t,n,r){this.log_("Unlisten on "+e+" for "+t);var i={p:e};r&&(i.q=n,i.t=r),this.sendRequest("n",i)},t.prototype.onDisconnectPut=function(e,t,n){this.connected_?this.sendOnDisconnect_("o",e,t,n):this.onDisconnectRequestQueue_.push({pathString:e,action:"o",data:t,onComplete:n})},t.prototype.onDisconnectMerge=function(e,t,n){this.connected_?this.sendOnDisconnect_("om",e,t,n):this.onDisconnectRequestQueue_.push({pathString:e,action:"om",data:t,onComplete:n})},t.prototype.onDisconnectCancel=function(e,t){this.connected_?this.sendOnDisconnect_("oc",e,null,t):this.onDisconnectRequestQueue_.push({pathString:e,action:"oc",data:null,onComplete:t})},t.prototype.sendOnDisconnect_=function(e,t,n,r){var i={p:t,d:n};this.log_("onDisconnect "+e,i),this.sendRequest(e,i,(function(e){r&&setTimeout((function(){r(e.s,e.d)}),Math.floor(0))}))},t.prototype.put=function(e,t,n,r){this.putInternal("p",e,t,n,r)},t.prototype.merge=function(e,t,n,r){this.putInternal("m",e,t,n,r)},t.prototype.putInternal=function(e,t,n,r,i){var o={p:t,d:n};void 0!==i&&(o.h=i),this.outstandingPuts_.push({action:e,request:o,onComplete:r}),this.outstandingPutCount_++,this.connected_?this.sendPut_(this.outstandingPuts_.length-1):this.log_("Buffering put: "+t)},t.prototype.sendPut_=function(e){var t=this,n=this.outstandingPuts_[e].action,r=this.outstandingPuts_[e].request,i=this.outstandingPuts_[e].onComplete;this.outstandingPuts_[e].queued=this.connected_,this.sendRequest(n,r,(function(r){t.log_(n+" response",r),delete t.outstandingPuts_[e],t.outstandingPutCount_--,0===t.outstandingPutCount_&&(t.outstandingPuts_=[]),i&&i(r.s,r.d)}))},t.prototype.reportStats=function(e){var t=this;if(this.connected_){var n={c:e};this.log_("reportStats",n),this.sendRequest("s",n,(function(e){"ok"!==e.s&&t.log_("reportStats","Error sending stats: "+e.d)}))}},t.prototype.onDataMessage_=function(e){if("r"in e){this.log_("from server: "+o.stringify(e));var t=e.r,n=this.requestCBHash_[t];n&&(delete this.requestCBHash_[t],n(e.b))}else{if("error"in e)throw"A server-side error has occurred: "+e.error;"a"in e&&this.onDataPush_(e.a,e.b)}},t.prototype.onDataPush_=function(e,t){this.log_("handleServerMessage",e,t),"d"===e?this.onDataUpdate_(t.p,t.d,!1,t.t):"m"===e?this.onDataUpdate_(t.p,t.d,!0,t.t):"c"===e?this.onListenRevoked_(t.p,t.q):"ac"===e?this.onAuthRevoked_(t.s,t.d):"sd"===e?this.onSecurityDebugPacket_(t):T("Unrecognized action received from server: "+o.stringify(e)+"\nAre you using the latest client?")},t.prototype.onReady_=function(e,t){this.log_("connection ready"),this.connected_=!0,this.lastConnectionEstablishedTime_=(new Date).getTime(),this.handleTimestamp_(e),this.lastSessionId=t,this.firstConnection_&&this.sendConnectStats_(),this.restoreState_(),this.firstConnection_=!1,this.onConnectStatus_(!0)},t.prototype.scheduleConnect_=function(e){var t=this;o.assert(!this.realtime_,"Scheduling a connect when we're already connected/ing?"),this.establishConnectionTimer_&&clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=setTimeout((function(){t.establishConnectionTimer_=null,t.establishConnection_()}),Math.floor(e))},t.prototype.onVisible_=function(e){e&&!this.visible_&&this.reconnectDelay_===this.maxReconnectDelay_&&(this.log_("Window became visible.  Reducing delay."),this.reconnectDelay_=1e3,this.realtime_||this.scheduleConnect_(0)),this.visible_=e},t.prototype.onOnline_=function(e){e?(this.log_("Browser went online."),this.reconnectDelay_=1e3,this.realtime_||this.scheduleConnect_(0)):(this.log_("Browser went offline.  Killing connection."),this.realtime_&&this.realtime_.close())},t.prototype.onRealtimeDisconnect_=function(){if(this.log_("data client disconnected"),this.connected_=!1,this.realtime_=null,this.cancelSentTransactions_(),this.requestCBHash_={},this.shouldReconnect_()){this.visible_?this.lastConnectionEstablishedTime_&&((new Date).getTime()-this.lastConnectionEstablishedTime_>3e4&&(this.reconnectDelay_=1e3),this.lastConnectionEstablishedTime_=null):(this.log_("Window isn't visible.  Delaying reconnect."),this.reconnectDelay_=this.maxReconnectDelay_,this.lastConnectionAttemptTime_=(new Date).getTime());var e=(new Date).getTime()-this.lastConnectionAttemptTime_,t=Math.max(0,this.reconnectDelay_-e);
2t=Math.random()*t,this.log_("Trying to reconnect in "+t+"ms"),this.scheduleConnect_(t),this.reconnectDelay_=Math.min(this.maxReconnectDelay_,1.3*this.reconnectDelay_)}this.onConnectStatus_(!1)},t.prototype.establishConnection_=function(){var e=this;if(this.shouldReconnect_()){this.log_("Making a connection attempt"),this.lastConnectionAttemptTime_=(new Date).getTime(),this.lastConnectionEstablishedTime_=null;var n=this.onDataMessage_.bind(this),r=this.onReady_.bind(this),i=this.onRealtimeDisconnect_.bind(this),a=this.id+":"+t.nextConnectionId_++,s=this,l=this.lastSessionId,u=!1,c=null,d=function(){c?c.close():(u=!0,i())};this.realtime_={close:d,sendRequest:function(e){o.assert(c,"sendRequest call when we're not connected not allowed."),c.sendRequest(e)}};var h=this.forceTokenRefresh_;this.forceTokenRefresh_=!1,this.authTokenProvider_.getToken(h).then((function(e){u?M("getToken() completed but was canceled"):(M("getToken() completed. Creating connection."),s.authToken_=e&&e.accessToken,c=new Jt(a,s.repoInfo_,s.applicationId_,n,r,i,(function(e){L(e+" ("+s.repoInfo_.toString()+")"),s.interrupt("server_kill")}),l))})).then(null,(function(t){s.log_("Failed to get token: "+t),u||(e.repoInfo_.nodeAdmin&&L(t),d())}))}},t.prototype.interrupt=function(e){M("Interrupting connection for reason: "+e),this.interruptReasons_[e]=!0,this.realtime_?this.realtime_.close():(this.establishConnectionTimer_&&(clearTimeout(this.establishConnectionTimer_),this.establishConnectionTimer_=null),this.connected_&&this.onRealtimeDisconnect_())},t.prototype.resume=function(e){M("Resuming connection for reason: "+e),delete this.interruptReasons_[e],o.isEmpty(this.interruptReasons_)&&(this.reconnectDelay_=1e3,this.realtime_||this.scheduleConnect_(0))},t.prototype.handleTimestamp_=function(e){var t=e-(new Date).getTime();this.onServerInfoUpdate_({serverTimeOffset:t})},t.prototype.cancelSentTransactions_=function(){for(var e=0;e<this.outstandingPuts_.length;e++){var t=this.outstandingPuts_[e];t&&"h"in t.request&&t.queued&&(t.onComplete&&t.onComplete("disconnect"),delete this.outstandingPuts_[e],this.outstandingPutCount_--)}0===this.outstandingPutCount_&&(this.outstandingPuts_=[])},t.prototype.onListenRevoked_=function(e,t){var n;n=t?t.map((function(e){return P(e)})).join("$"):"default";var r=this.removeListen_(e,n);r&&r.onComplete&&r.onComplete("permission_denied")},t.prototype.removeListen_=function(e,t){var n,r=new X(e).toString();if(this.listens.has(r)){var i=this.listens.get(r);n=i.get(t),i.delete(t),0===i.size&&this.listens.delete(r)}else n=void 0;return n},t.prototype.onAuthRevoked_=function(e,t){M("Auth token revoked: "+e+"/"+t),this.authToken_=null,this.forceTokenRefresh_=!0,this.realtime_.close(),"invalid_token"!==e&&"permission_denied"!==e||(this.invalidAuthTokenCount_++,this.invalidAuthTokenCount_>=3&&(this.reconnectDelay_=3e4,this.authTokenProvider_.notifyForInvalidToken()))},t.prototype.onSecurityDebugPacket_=function(e){this.securityDebugCallback_?this.securityDebugCallback_(e):"msg"in e&&console.log("FIREBASE: "+e.msg.replace("\n","\nFIREBASE: "))},t.prototype.restoreState_=function(){var e,t,n,r;this.tryAuth();try{for(var o=i.__values(this.listens.values()),a=o.next();!a.done;a=o.next()){var s=a.value;try{for(var l=(n=void 0,i.__values(s.values())),u=l.next();!u.done;u=l.next())this.sendListen_(u.value)}catch(h){n={error:h}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}}catch(f){e={error:f}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}for(var c=0;c<this.outstandingPuts_.length;c++)this.outstandingPuts_[c]&&this.sendPut_(c);for(;this.onDisconnectRequestQueue_.length;){var d=this.onDisconnectRequestQueue_.shift();this.sendOnDisconnect_(d.action,d.pathString,d.data,d.onComplete)}},t.prototype.sendConnectStats_=function(){var e={},t="js";o.isNodeSdk()&&(t=this.repoInfo_.nodeAdmin?"admin_node":"node"),e["sdk."+t+"."+Vt.replace(/\./g,"-")]=1,o.isMobileCordova()?e["framework.cordova"]=1:o.isReactNative()&&(e["framework.reactnative"]=1),this.reportStats(e)},t.prototype.shouldReconnect_=function(){var e=zt.getInstance().currentlyOnline();return o.isEmpty(this.interruptReasons_)&&e},t.nextPersistentConnectionId_=0,t.nextConnectionId_=0,t}(Qt),Zt=function(e){function t(t,n,r){var i=e.call(this)||this;return i.repoInfo_=t,i.onDataUpdate_=n,i.authTokenProvider_=r,i.log_=S("p:rest:"),i.listens_={},i}return i.__extends(t,e),t.prototype.reportStats=function(e){throw new Error("Method not implemented.")},t.getListenId_=function(e,t){return void 0!==t?"tag$"+t:(o.assert(e.getQueryParams().isDefault(),"should have a tag if it's not a default query."),e.path.toString())},t.prototype.listen=function(e,n,r,i){var a=this,s=e.path.toString();this.log_("Listen called for "+s+" "+e.queryIdentifier());var l=t.getListenId_(e,r),u={};this.listens_[l]=u;var c=e.getQueryParams().toRestQueryStringParameters();this.restRequest_(s+".json",c,(function(e,t){var n=t;404===e&&(n=null,e=null),null===e&&a.onDataUpdate_(s,n,!1,r),o.safeGet(a.listens_,l)===u&&i(e?401===e?"permission_denied":"rest_error:"+e:"ok",null)}))},t.prototype.unlisten=function(e,n){var r=t.getListenId_(e,n);delete this.listens_[r]},t.prototype.refreshAuthToken=function(e){},t.prototype.restRequest_=function(e,t,n){var r=this;void 0===t&&(t={}),t.format="export",this.authTokenProvider_.getToken(!1).then((function(i){var a=i&&i.accessToken;a&&(t.auth=a);var s=(r.repoInfo_.secure?"https://":"http://")+r.repoInfo_.host+e+"?ns="+r.repoInfo_.namespace+o.querystring(t);r.log_("Sending REST request for "+s);var l=new XMLHttpRequest;l.onreadystatechange=function(){if(n&&4===l.readyState){r.log_("REST Response for "+s+" received. status:",l.status,"response:",l.responseText);var e=null;if(l.status>=200&&l.status<300){try{e=o.jsonEval(l.responseText)}catch(t){L("Failed to parse JSON response for "+s+": "+l.responseText)}n(null,e)}else 401!==l.status&&404!==l.status&&L("Got unsuccessful REST response for "+s+" Status: "+l.status),n(l.status);n=null}},l.open("GET",s,!0),l.send()}))},t}(Qt),en=function(){function e(e,t,n,r){var i=this;if(this.repoInfo_=e,this.app=n,this.dataUpdateCount=0,this.statsListener_=null,this.eventQueue_=new Nt,this.nextWriteId_=1,this.interceptServerDataCallback_=null,this.onDisconnect_=new ut,this.persistentConnection_=null,this.stats_=It.getCollection(e),t||("object"==typeof window&&window.navigator&&window.navigator.userAgent||"").search(/googlebot|google webmaster tools|bingbot|yahoo! slurp|baiduspider|yandexbot|duckduckbot/i)>=0)this.server_=new Zt(this.repoInfo_,this.onDataUpdate_.bind(this),r),setTimeout(this.onConnectStatus_.bind(this,!0),0);else{var a=n.options.databaseAuthVariableOverride;
2if(null!=a){if("object"!=typeof a)throw new Error("Only objects are supported for option databaseAuthVariableOverride");try{o.stringify(a)}catch(s){throw new Error("Invalid authOverride provided: "+s)}}this.persistentConnection_=new Xt(this.repoInfo_,n.options.appId,this.onDataUpdate_.bind(this),this.onConnectStatus_.bind(this),this.onServerInfoUpdate_.bind(this),r,a),this.server_=this.persistentConnection_}r.addTokenChangeListener((function(e){i.server_.refreshAuthToken(e)})),this.statsReporter_=It.getOrCreateReporter(e,(function(){return new Rt(i.stats_,i.server_)})),this.transactionsInit_(),this.infoData_=new At,this.infoSyncTree_=new jt({startListening:function(e,t,n,r){var o=[],a=i.infoData_.getNode(e.path);return a.isEmpty()||(o=i.infoSyncTree_.applyServerOverwrite(e.path,a),setTimeout((function(){r("ok")}),0)),o},stopListening:function(){}}),this.updateInfo_("connected",!1),this.serverSyncTree_=new jt({startListening:function(e,t,n,r){return i.server_.listen(e,n,t,(function(t,n){var o=r(t,n);i.eventQueue_.raiseEventsForChangedPath(e.path,o)})),[]},stopListening:function(e,t){i.server_.unlisten(e,t)}})}return e.prototype.toString=function(){return(this.repoInfo_.secure?"https://":"http://")+this.repoInfo_.host},e.prototype.name=function(){return this.repoInfo_.namespace},e.prototype.serverTime=function(){var e=this.infoData_.getNode(new X(".info/serverTimeOffset")).val()||0;return(new Date).getTime()+e},e.prototype.generateServerValues=function(){return(e=(e={timestamp:this.serverTime()})||{}).timestamp=e.timestamp||(new Date).getTime(),e;var e},e.prototype.onDataUpdate_=function(e,t,n,r){this.dataUpdateCount++;var i=new X(e);t=this.interceptServerDataCallback_?this.interceptServerDataCallback_(e,t):t;var a=[];if(r)if(n){var s=o.map(t,(function(e){return We(e)}));a=this.serverSyncTree_.applyTaggedQueryMerge(i,s,r)}else{var l=We(t);a=this.serverSyncTree_.applyTaggedQueryOverwrite(i,l,r)}else if(n){var u=o.map(t,(function(e){return We(e)}));a=this.serverSyncTree_.applyServerMerge(i,u)}else{var c=We(t);a=this.serverSyncTree_.applyServerOverwrite(i,c)}var d=i;a.length>0&&(d=this.rerunTransactions_(i)),this.eventQueue_.raiseEventsForChangedPath(d,a)},e.prototype.interceptServerData_=function(e){this.interceptServerDataCallback_=e},e.prototype.onConnectStatus_=function(e){this.updateInfo_("connected",e),!1===e&&this.runOnDisconnectEvents_()},e.prototype.onServerInfoUpdate_=function(e){var t=this;Y(e,(function(e,n){t.updateInfo_(e,n)}))},e.prototype.updateInfo_=function(e,t){var n=new X("/.info/"+e),r=We(t);this.infoData_.updateSnapshot(n,r);var i=this.infoSyncTree_.applyServerOverwrite(n,r);this.eventQueue_.raiseEventsForChangedPath(n,i)},e.prototype.getNextWriteId_=function(){return this.nextWriteId_++},e.prototype.setWithPriority=function(e,t,n,r){var i=this;this.log_("set",{path:e.toString(),value:t,priority:n});var o=this.generateServerValues(),a=We(t,n),s=this.serverSyncTree_.calcCompleteEventCache(e),l=ot(a,s,o),u=this.getNextWriteId_(),c=this.serverSyncTree_.applyUserOverwrite(e,l,u,!0);this.eventQueue_.queueEvents(c),this.server_.put(e.toString(),a.val(!0),(function(t,n){var o="ok"===t;o||L("set at "+e+" failed: "+t);var a=i.serverSyncTree_.ackUserWrite(u,!o);i.eventQueue_.raiseEventsForChangedPath(e,a),i.callOnCompleteCallback(r,t,n)}));var d=this.abortTransactions_(e);this.rerunTransactions_(d),this.eventQueue_.raiseEventsForChangedPath(d,[])},e.prototype.update=function(e,t,n){var r=this;this.log_("update",{path:e.toString(),value:t});var i=!0,o=this.generateServerValues(),a={};if(Y(t,(function(t,n){i=!1,a[t]=it(e.child(t),We(n),r.serverSyncTree_,o)})),i)M("update() called with empty data.  Don't do anything."),this.callOnCompleteCallback(n,"ok");else{var s=this.getNextWriteId_(),l=this.serverSyncTree_.applyUserMerge(e,a,s);this.eventQueue_.queueEvents(l),this.server_.merge(e.toString(),t,(function(t,i){var o="ok"===t;o||L("update at "+e+" failed: "+t);var a=r.serverSyncTree_.ackUserWrite(s,!o),l=a.length>0?r.rerunTransactions_(e):e;r.eventQueue_.raiseEventsForChangedPath(l,a),r.callOnCompleteCallback(n,t,i)})),Y(t,(function(t){var n=r.abortTransactions_(e.child(t));r.rerunTransactions_(n)})),this.eventQueue_.raiseEventsForChangedPath(e,[])}},e.prototype.runOnDisconnectEvents_=function(){var e=this;this.log_("onDisconnectEvents");var t=this.generateServerValues(),n=new ut;this.onDisconnect_.forEachTree(X.Empty,(function(r,i){var o=it(r,i,e.serverSyncTree_,t);n.remember(r,o)}));var r=[];
2n.forEachTree(X.Empty,(function(t,n){r=r.concat(e.serverSyncTree_.applyServerOverwrite(t,n));var i=e.abortTransactions_(t);e.rerunTransactions_(i)})),this.onDisconnect_=new ut,this.eventQueue_.raiseEventsForChangedPath(X.Empty,r)},e.prototype.onDisconnectCancel=function(e,t){var n=this;this.server_.onDisconnectCancel(e.toString(),(function(r,i){"ok"===r&&n.onDisconnect_.forget(e),n.callOnCompleteCallback(t,r,i)}))},e.prototype.onDisconnectSet=function(e,t,n){var r=this,i=We(t);this.server_.onDisconnectPut(e.toString(),i.val(!0),(function(t,o){"ok"===t&&r.onDisconnect_.remember(e,i),r.callOnCompleteCallback(n,t,o)}))},e.prototype.onDisconnectSetWithPriority=function(e,t,n,r){var i=this,o=We(t,n);this.server_.onDisconnectPut(e.toString(),o.val(!0),(function(t,n){"ok"===t&&i.onDisconnect_.remember(e,o),i.callOnCompleteCallback(r,t,n)}))},e.prototype.onDisconnectUpdate=function(e,t,n){var r=this;if(o.isEmpty(t))return M("onDisconnect().update() called with empty data.  Don't do anything."),void this.callOnCompleteCallback(n,"ok");this.server_.onDisconnectMerge(e.toString(),t,(function(i,o){"ok"===i&&Y(t,(function(t,n){var i=We(n);r.onDisconnect_.remember(e.child(t),i)})),r.callOnCompleteCallback(n,i,o)}))},e.prototype.addEventCallbackForQuery=function(e,t){var n;n=".info"===e.path.getFront()?this.infoSyncTree_.addEventRegistration(e,t):this.serverSyncTree_.addEventRegistration(e,t),this.eventQueue_.raiseEventsAtPath(e.path,n)},e.prototype.removeEventCallbackForQuery=function(e,t){var n;n=".info"===e.path.getFront()?this.infoSyncTree_.removeEventRegistration(e,t):this.serverSyncTree_.removeEventRegistration(e,t),this.eventQueue_.raiseEventsAtPath(e.path,n)},e.prototype.interrupt=function(){this.persistentConnection_&&this.persistentConnection_.interrupt("repo_interrupt")},e.prototype.resume=function(){this.persistentConnection_&&this.persistentConnection_.resume("repo_interrupt")},e.prototype.stats=function(e){if(void 0===e&&(e=!1),"undefined"!=typeof console){var t;e?(this.statsListener_||(this.statsListener_=new Yt(this.stats_)),t=this.statsListener_.get()):t=this.stats_.get();var n=Object.keys(t).reduce((function(e,t){return Math.max(t.length,e)}),0);Y(t,(function(e,t){for(var r=e,i=e.length;i<n+2;i++)r+=" ";console.log(r+t)}))}},e.prototype.statsIncrementCounter=function(e){this.stats_.incrementCounter(e),this.statsReporter_.includeStat(e)},e.prototype.log_=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n="";this.persistentConnection_&&(n=this.persistentConnection_.id+":"),M.apply(void 0,i.__spread([n],e))},e.prototype.callOnCompleteCallback=function(e,t,n){e&&J((function(){if("ok"===t)e(null);else{var r=(t||"error").toUpperCase(),i=r;n&&(i+=": "+n);var o=new Error(i);o.code=r,e(o)}}))},Object.defineProperty(e.prototype,"database",{get:function(){return this.__database||(this.__database=new fn(this))},enumerable:!1,configurable:!0}),e}(),tn=function(){function e(t){this.indexedFilter_=new bt(t.getIndex()),this.index_=t.getIndex(),this.startPost_=e.getStartPost_(t),this.endPost_=e.getEndPost_(t)}return e.prototype.getStartPost=function(){return this.startPost_},e.prototype.getEndPost=function(){return this.endPost_},e.prototype.matches=function(e){return this.index_.compare(this.getStartPost(),e)<=0&&this.index_.compare(e,this.getEndPost())<=0},e.prototype.updateChild=function(e,t,n,r,i,o){return this.matches(new ke(t,n))||(n=$e.EMPTY_NODE),this.indexedFilter_.updateChild(e,t,n,r,i,o)},e.prototype.updateFullNode=function(e,t,n){t.isLeafNode()&&(t=$e.EMPTY_NODE);var r=t.withIndex(this.index_);r=r.updatePriority($e.EMPTY_NODE);var i=this;return t.forEachChild(Ce,(function(e,t){i.matches(new ke(e,t))||(r=r.updateImmediateChild(e,$e.EMPTY_NODE))})),this.indexedFilter_.updateFullNode(e,r,n)},e.prototype.updatePriority=function(e,t){return e},e.prototype.filtersNodes=function(){return!0},e.prototype.getIndexedFilter=function(){return this.indexedFilter_},e.prototype.getIndex=function(){return this.index_},e.getStartPost_=function(e){if(e.hasStart()){var t=e.getIndexStartName();return e.getIndex().makePost(e.getIndexStartValue(),t)}return e.getIndex().minPost()},e.getEndPost_=function(e){if(e.hasEnd()){var t=e.getIndexEndName();return e.getIndex().makePost(e.getIndexEndValue(),t)}return e.getIndex().maxPost()},e}
2(),nn=function(){function e(e){this.rangedFilter_=new tn(e),this.index_=e.getIndex(),this.limit_=e.getLimit(),this.reverse_=!e.isViewFromLeft()}return e.prototype.updateChild=function(e,t,n,r,i,o){return this.rangedFilter_.matches(new ke(t,n))||(n=$e.EMPTY_NODE),e.getImmediateChild(t).equals(n)?e:e.numChildren()<this.limit_?this.rangedFilter_.getIndexedFilter().updateChild(e,t,n,r,i,o):this.fullLimitUpdateChild_(e,t,n,i,o)},e.prototype.updateFullNode=function(e,t,n){var r;if(t.isLeafNode()||t.isEmpty())r=$e.EMPTY_NODE.withIndex(this.index_);else if(2*this.limit_<t.numChildren()&&t.isIndexed(this.index_)){r=$e.EMPTY_NODE.withIndex(this.index_);var i=void 0;i=this.reverse_?t.getReverseIteratorFrom(this.rangedFilter_.getEndPost(),this.index_):t.getIteratorFrom(this.rangedFilter_.getStartPost(),this.index_);for(var o=0;i.hasNext()&&o<this.limit_;){var a=i.getNext();if(!(this.reverse_?this.index_.compare(this.rangedFilter_.getStartPost(),a)<=0:this.index_.compare(a,this.rangedFilter_.getEndPost())<=0))break;r=r.updateImmediateChild(a.name,a.node),o++}}else{r=(r=t.withIndex(this.index_)).updatePriority($e.EMPTY_NODE);var s=void 0,l=void 0,u=void 0;if(i=void 0,this.reverse_){i=r.getReverseIterator(this.index_),s=this.rangedFilter_.getEndPost(),l=this.rangedFilter_.getStartPost();var c=this.index_.getCompare();u=function(e,t){return c(t,e)}}else i=r.getIterator(this.index_),s=this.rangedFilter_.getStartPost(),l=this.rangedFilter_.getEndPost(),u=this.index_.getCompare();o=0;for(var d=!1;i.hasNext();)a=i.getNext(),!d&&u(s,a)<=0&&(d=!0),d&&o<this.limit_&&u(a,l)<=0?o++:r=r.updateImmediateChild(a.name,$e.EMPTY_NODE)}return this.rangedFilter_.getIndexedFilter().updateFullNode(e,r,n)},e.prototype.updatePriority=function(e,t){return e},e.prototype.filtersNodes=function(){return!0},e.prototype.getIndexedFilter=function(){return this.rangedFilter_.getIndexedFilter()},e.prototype.getIndex=function(){return this.index_},e.prototype.fullLimitUpdateChild_=function(e,t,n,r,i){var a;if(this.reverse_){var s=this.index_.getCompare();a=function(e,t){return s(t,e)}}else a=this.index_.getCompare();var l=e;o.assert(l.numChildren()===this.limit_,"");var u=new ke(t,n),c=this.reverse_?l.getFirstChild(this.index_):l.getLastChild(this.index_),d=this.rangedFilter_.matches(u);if(l.hasChild(t)){for(var h=l.getImmediateChild(t),f=r.getChildAfterChild(this.index_,c,this.reverse_);null!=f&&(f.name===t||l.hasChild(f.name));)f=r.getChildAfterChild(this.index_,f,this.reverse_);var p=null==f?1:a(f,u);if(d&&!n.isEmpty()&&p>=0)return null!=i&&i.trackChildChange(vt.childChangedChange(t,n,h)),l.updateImmediateChild(t,n);null!=i&&i.trackChildChange(vt.childRemovedChange(t,h));var m=l.updateImmediateChild(t,$e.EMPTY_NODE);return null!=f&&this.rangedFilter_.matches(f)?(null!=i&&i.trackChildChange(vt.childAddedChange(f.name,f.node)),m.updateImmediateChild(f.name,f.node)):m}return n.isEmpty()?e:d&&a(c,u)>=0?(null!=i&&(i.trackChildChange(vt.childRemovedChange(c.name,c.node)),i.trackChildChange(vt.childAddedChange(t,n))),l.updateImmediateChild(t,n).updateImmediateChild(c.name,$e.EMPTY_NODE)):e},e}(),rn=function(){function e(){this.limitSet_=!1,this.startSet_=!1,this.startNameSet_=!1,this.endSet_=!1,this.endNameSet_=!1,this.limit_=0,this.viewFrom_="",this.indexStartValue_=null,this.indexStartName_="",this.indexEndValue_=null,this.indexEndName_="",this.index_=Ce}return e.prototype.hasStart=function(){return this.startSet_},e.prototype.isViewFromLeft=function(){return""===this.viewFrom_?this.startSet_:this.viewFrom_===e.WIRE_PROTOCOL_CONSTANTS_.VIEW_FROM_LEFT},e.prototype.getIndexStartValue=function(){return o.assert(this.startSet_,"Only valid if start has been set"),this.indexStartValue_},e.prototype.getIndexStartName=function(){return o.assert(this.startSet_,"Only valid if start has been set"),this.startNameSet_?this.indexStartName_:C},e.prototype.hasEnd=function(){return this.endSet_},e.prototype.getIndexEndValue=function(){return o.assert(this.endSet_,"Only valid if end has been set"),this.indexEndValue_},e.prototype.getIndexEndName=function(){return o.assert(this.endSet_,"Only valid if end has been set"),this.endNameSet_?this.indexEndName_:O},e.prototype.hasLimit=function(){return this.limitSet_},e.prototype.hasAnchoredLimit=function(){return this.limitSet_&&""!==this.viewFrom_},e.prototype.getLimit=function(){return o.assert(this.limitSet_,"Only valid if limit has been set"),this.limit_},e.prototype.getIndex=function(){return this.index_},e.prototype.copy_=function(){var t=new e;return t.limitSet_=this.limitSet_,t.limit_=this.limit_,t.startSet_=this.startSet_,t.indexStartValue_=this.indexStartValue_,t.startNameSet_=this.startNameSet_,t.indexStartName_=this.indexStartName_,t.endSet_=this.endSet_,t.indexEndValue_=this.indexEndValue_,t.endNameSet_=this.endNameSet_,t.indexEndName_=this.indexEndName_,t.index_
2=this.index_,t.viewFrom_=this.viewFrom_,t},e.prototype.limit=function(e){var t=this.copy_();return t.limitSet_=!0,t.limit_=e,t.viewFrom_="",t},e.prototype.limitToFirst=function(t){var n=this.copy_();return n.limitSet_=!0,n.limit_=t,n.viewFrom_=e.WIRE_PROTOCOL_CONSTANTS_.VIEW_FROM_LEFT,n},e.prototype.limitToLast=function(t){var n=this.copy_();return n.limitSet_=!0,n.limit_=t,n.viewFrom_=e.WIRE_PROTOCOL_CONSTANTS_.VIEW_FROM_RIGHT,n},e.prototype.startAt=function(e,t){var n=this.copy_();return n.startSet_=!0,void 0===e&&(e=null),n.indexStartValue_=e,null!=t?(n.startNameSet_=!0,n.indexStartName_=t):(n.startNameSet_=!1,n.indexStartName_=""),n},e.prototype.endAt=function(e,t){var n=this.copy_();return n.endSet_=!0,void 0===e&&(e=null),n.indexEndValue_=e,void 0!==t?(n.endNameSet_=!0,n.indexEndName_=t):(n.endNameSet_=!1,n.indexEndName_=""),n},e.prototype.orderBy=function(e){var t=this.copy_();return t.index_=e,t},e.prototype.getQueryObject=function(){var t=e.WIRE_PROTOCOL_CONSTANTS_,n={};if(this.startSet_&&(n[t.INDEX_START_VALUE]=this.indexStartValue_,this.startNameSet_&&(n[t.INDEX_START_NAME]=this.indexStartName_)),this.endSet_&&(n[t.INDEX_END_VALUE]=this.indexEndValue_,this.endNameSet_&&(n[t.INDEX_END_NAME]=this.indexEndName_)),this.limitSet_){n[t.LIMIT]=this.limit_;var r=this.viewFrom_;""===r&&(r=this.isViewFromLeft()?t.VIEW_FROM_LEFT:t.VIEW_FROM_RIGHT),n[t.VIEW_FROM]=r}return this.index_!==Ce&&(n[t.INDEX]=this.index_.toString()),n},e.prototype.loadsAllData=function(){return!(this.startSet_||this.endSet_||this.limitSet_)},e.prototype.isDefault=function(){return this.loadsAllData()&&this.index_===Ce},e.prototype.getNodeFilter=function(){return this.loadsAllData()?new bt(this.getIndex()):this.hasLimit()?new nn(this):new tn(this)},e.prototype.toRestQueryStringParameters=function(){var t,n=e.REST_QUERY_CONSTANTS_,r={};return this.isDefault()||(this.index_===Ce?t=n.PRIORITY_INDEX:this.index_===Be?t=n.VALUE_INDEX:this.index_===Te?t=n.KEY_INDEX:(o.assert(this.index_ instanceof Ve,"Unrecognized index type!"),t=this.index_.toString()),r[n.ORDER_BY]=o.stringify(t),this.startSet_&&(r[n.START_AT]=o.stringify(this.indexStartValue_),this.startNameSet_&&(r[n.START_AT]+=","+o.stringify(this.indexStartName_))),this.endSet_&&(r[n.END_AT]=o.stringify(this.indexEndValue_),this.endNameSet_&&(r[n.END_AT]+=","+o.stringify(this.indexEndName_))),this.limitSet_&&(this.isViewFromLeft()?r[n.LIMIT_TO_FIRST]=this.limit_:r[n.LIMIT_TO_LAST]=this.limit_)),r},e.WIRE_PROTOCOL_CONSTANTS_={INDEX_START_VALUE:"sp",INDEX_START_NAME:"sn",INDEX_END_VALUE:"ep",INDEX_END_NAME:"en",LIMIT:"l",VIEW_FROM:"vf",VIEW_FROM_LEFT:"l",VIEW_FROM_RIGHT:"r",INDEX:"i"},e.REST_QUERY_CONSTANTS_={ORDER_BY:"orderBy",PRIORITY_INDEX:"$priority",VALUE_INDEX:"$value",KEY_INDEX:"$key",START_AT:"startAt",END_AT:"endAt",LIMIT_TO_FIRST:"limitToFirst",LIMIT_TO_LAST:"limitToLast"},e.DEFAULT=new e,e}(),on=function(e){function t(t,n){if(!(t instanceof en))throw new Error("new Reference() no longer supported - use app.database().");return e.call(this,t,n,rn.DEFAULT,!1)||this}return i.__extends(t,e),t.prototype.getKey=function(){return o.validateArgCount("Reference.key",0,0,arguments.length),this.path.isEmpty()?null:this.path.getBack()},t.prototype.child=function(e){return o.validateArgCount("Reference.child",1,1,arguments.length),"number"==typeof e?e=String(e):e instanceof X||(null===this.path.getFront()?me("Reference.child",1,e,!1):pe("Reference.child",1,e,!1)),new t(this.repo,this.path.child(e))},t.prototype.getParent=function(){o.validateArgCount("Reference.parent",0,0,arguments.length);var e=this.path.parent();return null===e?null:new t(this.repo,e)},t.prototype.getRoot=function(){o.validateArgCount("Reference.root",0,0,arguments.length);for(var e=this;null!==e.getParent();)e=e.getParent();return e},t.prototype.databaseProp=function(){return this.repo.database},t.prototype.set=function(e,t){o.validateArgCount("Reference.set",1,2,arguments.length),ge("Reference.set",this.path),le("Reference.set",1,e,this.path,!1),o.validateCallback("Reference.set",2,t,!0);var n=new o.Deferred;return this.repo.setWithPriority(this.path,e,null,n.wrapCallback(t)),n.promise},t.prototype.update=function(e,t){if(o.validateArgCount("Reference.update",1,2,arguments.length),ge("Reference.update",this.path),Array.isArray(e)){for(var n={},r=0;r<e.length;++r)n[""+r]=e[r];
2e=n,L("Passing an Array to Firebase.update() is deprecated. Use set() if you want to overwrite the existing data, or an Object with integer keys if you really do want to only update some of the children.")}ce("Reference.update",1,e,this.path,!1),o.validateCallback("Reference.update",2,t,!0);var i=new o.Deferred;return this.repo.update(this.path,e,i.wrapCallback(t)),i.promise},t.prototype.setWithPriority=function(e,t,n){if(o.validateArgCount("Reference.setWithPriority",2,3,arguments.length),ge("Reference.setWithPriority",this.path),le("Reference.setWithPriority",1,e,this.path,!1),de("Reference.setWithPriority",2,t,!1),o.validateCallback("Reference.setWithPriority",3,n,!0),".length"===this.getKey()||".keys"===this.getKey())throw"Reference.setWithPriority failed: "+this.getKey()+" is a read-only object.";var r=new o.Deferred;return this.repo.setWithPriority(this.path,e,t,r.wrapCallback(n)),r.promise},t.prototype.remove=function(e){return o.validateArgCount("Reference.remove",0,1,arguments.length),ge("Reference.remove",this.path),o.validateCallback("Reference.remove",1,e,!0),this.set(null,e)},t.prototype.transaction=function(e,t,n){if(o.validateArgCount("Reference.transaction",1,3,arguments.length),ge("Reference.transaction",this.path),o.validateCallback("Reference.transaction",1,e,!1),o.validateCallback("Reference.transaction",2,t,!0),ye("Reference.transaction",3,n,!0),".length"===this.getKey()||".keys"===this.getKey())throw"Reference.transaction failed: "+this.getKey()+" is a read-only object.";void 0===n&&(n=!0);var r=new o.Deferred;"function"==typeof t&&r.promise.catch((function(){}));var i=function(e,n,i){e?r.reject(e):r.resolve(new be(n,i)),"function"==typeof t&&t(e,n,i)};return this.repo.startTransaction(this.path,e,i,n),r.promise},t.prototype.setPriority=function(e,t){o.validateArgCount("Reference.setPriority",1,2,arguments.length),ge("Reference.setPriority",this.path),de("Reference.setPriority",1,e,!1),o.validateCallback("Reference.setPriority",2,t,!0);var n=new o.Deferred;return this.repo.setWithPriority(this.path.child(".priority"),e,null,n.wrapCallback(t)),n.promise},t.prototype.push=function(e,t){o.validateArgCount("Reference.push",0,2,arguments.length),ge("Reference.push",this.path),le("Reference.push",1,e,this.path,!0),o.validateCallback("Reference.push",2,t,!0);var n,r=this.repo.serverTime(),i=we(r),a=this.child(i),s=this.child(i);return n=null!=e?a.set(e,t).then((function(){return s})):Promise.resolve(s),a.then=n.then.bind(n),a.catch=n.then.bind(n,void 0),"function"==typeof t&&n.catch((function(){})),a},t.prototype.onDisconnect=function(){return ge("Reference.onDisconnect",this.path),new ve(this.repo,this.path)},Object.defineProperty(t.prototype,"database",{get:function(){return this.databaseProp()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"key",{get:function(){return this.getKey()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this.getParent()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this.getRoot()},enumerable:!1,configurable:!0}),t}(Xe);Xe.__referenceConstructor=on,Dt.__referenceConstructor=on;var an=function(){return function(){this.children={},this.childCount=0,this.value=null}}(),sn=function(){function e(e,t,n){void 0===e&&(e=""),void 0===t&&(t=null),void 0===n&&(n=new an),this.name_=e,this.parent_=t,this.node_=n}return e.prototype.subTree=function(t){for(var n=t instanceof X?t:new X(t),r=this,i=n.getFront();null!==i;)r=new e(i,r,o.safeGet(r.node_.children,i)||new an),i=(n=n.popFront()).getFront();return r},e.prototype.getValue=function(){return this.node_.value},e.prototype.setValue=function(e){o.assert(void 0!==e,"Cannot set value to undefined"),this.node_.value=e,this.updateParents_()},e.prototype.clear=function(){this.node_.value=null,this.node_.children={},this.node_.childCount=0,this.updateParents_()},e.prototype.hasChildren=function(){return this.node_.childCount>0},e.prototype.isEmpty=function(){return null===this.getValue()&&!this.hasChildren()},e.prototype.forEachChild=function(t){var n=this;Y(this.node_.children,(function(r,i){t(new e(r,n,i))}))},e.prototype.forEachDescendant=function(e,t,n){t&&!n&&e(this),this.forEachChild((function(t){t.forEachDescendant(e,!0,n)})),t&&n&&e(this)},e.prototype.forEachAncestor=function(e,t){for(var n=t?this:this.parent();null!==n;){if(e(n))return!0;n=n.parent()}return!1},e.prototype.forEachImmediateDescendantWithValue=function(e){this.forEachChild((function(t){null!==t.getValue()?e(t):t.forEachImmediateDescendantWithValue(e)}))},e.prototype.path=function(){return new X(null===this.parent_?this.name_:this.parent_.path()+"/"+this.name_)},e.prototype.name=function(){return this.name_},e.prototype.parent=function(){return this.parent_},e.prototype.updateParents_=function(){null!==this.parent_&&this.parent_.updateChild_(this.name_,this)},e.prototype.updateChild_=function(e,t){var n=t.isEmpty(),r=o.contains(this.node_.children,e);n&&r?(delete this.node_.children[e],this.node_.childCount--,this.updateParents_()):n||r||(this.node_.children[e]=t.node_,this.node_.childCount++,this.updateParents_())},e}(),ln=function(e){return e[e.RUN=0]="RUN",e[e.SENT=1]="SENT",e[e.COMPLETED=2]="COMPLETED",e[e.SENT_NEEDS_ABORT=3]="SENT_NEEDS_ABORT",e[e.NEEDS_ABORT=4]="NEEDS_ABORT",e}({});en.MAX_TRANSACTION_RETRIES_=25,en.prototype.transactionsInit_=function(){this.transactionQueueTree_=new sn},en.prototype.startTransaction=function(e,t,n,r){this.log_("transaction on "+e);var i=function(){},a=new on(this,e);a.on("value",i);var s={path:e,update:t,onComplete:n,status:null,order:_(),applyLocally:r,retryCount:0,unwatcher:function(){a.off("value",i)},abortReason:null,currentWriteId:null,currentInputSnapshot:null,currentOutputSnapshotRaw:null,currentOutputSnapshotResolved:null},l=this.getLatestState_(e);s.currentInputSnapshot=l;var u=s.update(l.val());if(void 0===u){if(s.unwatcher(),s.currentOutputSnapshotRaw=null,s.currentOutputSnapshotResolved=null,s.onComplete){var c=new qe(s.currentInputSnapshot,new on(this,s.path),Ce);s.onComplete(null,!1,c)}}else{ue("transaction failed: Data returned ",u,s.path),s.status=ln.RUN;var d=this.transactionQueueTree_.subTree(e),h=d.getValue()||[];h.push(s),d.setValue(h);var f=void 0;"object"==typeof u&&null!==u&&o.contains(u,".priority")?(f=o.safeGet(u,".priority"),o.assert(se(f),"Invalid priority returned by transaction. Priority must be a valid string, finite number, server value, or null.")):f=(this.serverSyncTree_.calcCompleteEventCache(e)||$e.EMPTY_NODE).getPriority().val(),f=f;var p=this.generateServerValues(),m=We(u,f),g=ot(m,l,p);s.currentOutputSnapshotRaw=m,s.currentOutputSnapshotResolved=g,s.currentWriteId=this.getNextWriteId_();var y=this.serverSyncTree_.applyUserOverwrite(e,g,s.currentWriteId,s.applyLocally);this.eventQueue_.raiseEventsForChangedPath(e,y),this.sendReadyTransactions_()}},en.prototype.getLatestState_=function(e,t){return this.serverSyncTree_.calcCompleteEventCache(e,t)||$e.EMPTY_NODE},en.prototype.sendReadyTransactions_=function(e){var t=this;if(void 0===e&&(e=this.transactionQueueTree_),e||this.pruneCompletedTransactionsBelowNode_(e),null!==e.getValue()){var n=this.buildTransactionQueue_(e);o.assert(n.length>0,"Sending zero length transaction queue"),n.every((function(e){return e.status===ln.RUN}))&&this.sendTransactionQueue_(e.path(),n)}else e.hasChildren()&&e.forEachChild((function(e){t.sendReadyTransactions_(e)}))},en.prototype.sendTransactionQueue_=function(e,t){for(var n=this,r=t.map((function(e){return e.currentWriteId})),i=this.getLatestState_(e,r),a=i,s=i.hash(),l=0;l<t.length;l++){var u=t[l];o.assert(u.status===ln.RUN,"tryToSendTransactionQueue_: items in queue should all be run."),u.status=ln.SENT,u.retryCount++;var c=X.relativePath(e,u.path);a=a.updateChild(c,u.currentOutputSnapshotRaw)}var d=a.val(!0),h=e;this.server_.put(h.toString(),d,(function(r){n.log_("transaction put response",{path:h.toString(),status:r});var i=[];if("ok"===r){for(var o=[],a=0;a<t.length;
2a++){if(t[a].status=ln.COMPLETED,i=i.concat(n.serverSyncTree_.ackUserWrite(t[a].currentWriteId)),t[a].onComplete){var s=t[a].currentOutputSnapshotResolved,l=new on(n,t[a].path),u=new qe(s,l,Ce);o.push(t[a].onComplete.bind(null,null,!0,u))}t[a].unwatcher()}for(n.pruneCompletedTransactionsBelowNode_(n.transactionQueueTree_.subTree(e)),n.sendReadyTransactions_(),n.eventQueue_.raiseEventsForChangedPath(e,i),a=0;a<o.length;a++)J(o[a])}else{if("datastale"===r)for(a=0;a<t.length;a++)t[a].status=t[a].status===ln.SENT_NEEDS_ABORT?ln.NEEDS_ABORT:ln.RUN;else for(L("transaction at "+h.toString()+" failed: "+r),a=0;a<t.length;a++)t[a].status=ln.NEEDS_ABORT,t[a].abortReason=r;n.rerunTransactions_(e)}}),s)},en.prototype.rerunTransactions_=function(e){var t=this.getAncestorTransactionNode_(e),n=t.path(),r=this.buildTransactionQueue_(t);return this.rerunTransactionQueue_(r,n),n},en.prototype.rerunTransactionQueue_=function(e,t){if(0!==e.length){for(var n=[],r=[],i=e.filter((function(e){return e.status===ln.RUN})).map((function(e){return e.currentWriteId})),a=0;a<e.length;a++){var s=e[a],l=X.relativePath(t,s.path),u=!1,c=void 0;if(o.assert(null!==l,"rerunTransactionsUnderNode_: relativePath should not be null."),s.status===ln.NEEDS_ABORT)u=!0,c=s.abortReason,r=r.concat(this.serverSyncTree_.ackUserWrite(s.currentWriteId,!0));else if(s.status===ln.RUN)if(s.retryCount>=en.MAX_TRANSACTION_RETRIES_)u=!0,c="maxretry",r=r.concat(this.serverSyncTree_.ackUserWrite(s.currentWriteId,!0));else{var d=this.getLatestState_(s.path,i);s.currentInputSnapshot=d;var h=e[a].update(d.val());if(void 0!==h){ue("transaction failed: Data returned ",h,s.path);var f=We(h);"object"==typeof h&&null!=h&&o.contains(h,".priority")||(f=f.updatePriority(d.getPriority()));var p=s.currentWriteId,m=this.generateServerValues(),g=ot(f,d,m);s.currentOutputSnapshotRaw=f,s.currentOutputSnapshotResolved=g,s.currentWriteId=this.getNextWriteId_(),i.splice(i.indexOf(p),1),r=(r=r.concat(this.serverSyncTree_.applyUserOverwrite(s.path,g,s.currentWriteId,s.applyLocally))).concat(this.serverSyncTree_.ackUserWrite(p,!0))}else u=!0,c="nodata",r=r.concat(this.serverSyncTree_.ackUserWrite(s.currentWriteId,!0))}if(this.eventQueue_.raiseEventsForChangedPath(t,r),r=[],u&&(e[a].status=ln.COMPLETED,setTimeout(e[a].unwatcher,Math.floor(0)),e[a].onComplete))if("nodata"===c){var _=new on(this,e[a].path),y=new qe(e[a].currentInputSnapshot,_,Ce);n.push(e[a].onComplete.bind(null,null,!1,y))}else n.push(e[a].onComplete.bind(null,new Error(c),!1,null))}for(this.pruneCompletedTransactionsBelowNode_(this.transactionQueueTree_),a=0;a<n.length;a++)J(n[a]);this.sendReadyTransactions_()}},en.prototype.getAncestorTransactionNode_=function(e){var t,n=this.transactionQueueTree_;for(t=e.getFront();null!==t&&null===n.getValue();)n=n.subTree(t),t=(e=e.popFront()).getFront();return n},en.prototype.buildTransactionQueue_=function(e){var t=[];return this.aggregateTransactionQueuesForNode_(e,t),t.sort((function(e,t){return e.order-t.order})),t},en.prototype.aggregateTransactionQueuesForNode_=function(e,t){var n=this,r=e.getValue();if(null!==r)for(var i=0;i<r.length;i++)t.push(r[i]);e.forEachChild((function(e){n.aggregateTransactionQueuesForNode_(e,t)}))},en.prototype.pruneCompletedTransactionsBelowNode_=function(e){var t=this,n=e.getValue();if(n){for(var r=0,i=0;i<n.length;i++)n[i].status!==ln.COMPLETED&&(n[r]=n[i],r++);n.length=r,e.setValue(n.length>0?n:null)}e.forEachChild((function(e){t.pruneCompletedTransactionsBelowNode_(e)}))},en.prototype.abortTransactions_=function(e){var t=this,n=this.getAncestorTransactionNode_(e).path(),r=this.transactionQueueTree_.subTree(e);return r.forEachAncestor((function(e){t.abortTransactionsOnNode_(e)})),this.abortTransactionsOnNode_(r),r.forEachDescendant((function(e){t.abortTransactionsOnNode_(e)})),n},en.prototype.abortTransactionsOnNode_=function(e){var t=e.getValue();if(null!==t){for(var n=[],r=[],i=-1,a=0;a<t.length;a++)t[a].status===ln.SENT_NEEDS_ABORT||(t[a].status===ln.SENT?(o.assert(i===a-1,"All SENT items should be at beginning of queue."),i=a,t[a].status=ln.SENT_NEEDS_ABORT,t[a].abortReason="set"):(o.assert(t[a].status===ln.RUN,"Unexpected transaction status in abort"),t[a].unwatcher(),r
2=r.concat(this.serverSyncTree_.ackUserWrite(t[a].currentWriteId,!0)),t[a].onComplete&&n.push(t[a].onComplete.bind(null,new Error("set"),!1,null))));for(-1===i?e.setValue(null):t.length=i+1,this.eventQueue_.raiseEventsForChangedPath(e.path(),r),a=0;a<n.length;a++)J(n[a])}};var un,cn=function(){function e(e,t){var n=this;this.app_=e,this.authProvider_=t,this.auth_=null,this.auth_=t.getImmediate({optional:!0}),this.auth_||t.get().then((function(e){return n.auth_=e}))}return e.prototype.getToken=function(e){return this.auth_?this.auth_.getToken(e).catch((function(e){return e&&"auth/token-not-initialized"===e.code?(M("Got auth/token-not-initialized error.  Treating as null token."),null):Promise.reject(e)})):Promise.resolve(null)},e.prototype.addTokenChangeListener=function(e){this.auth_?this.auth_.addAuthTokenListener(e):(setTimeout((function(){return e(null)}),0),this.authProvider_.get().then((function(t){return t.addAuthTokenListener(e)})))},e.prototype.removeTokenChangeListener=function(e){this.authProvider_.get().then((function(t){return t.removeAuthTokenListener(e)}))},e.prototype.notifyForInvalidToken=function(){var e='Provided authentication credentials for the app named "'+this.app_.name+'" are invalid. This usually indicates your app was not initialized correctly. ';L(e+="credential"in this.app_.options?'Make sure the "credential" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':"serviceAccount"in this.app_.options?'Make sure the "serviceAccount" property provided to initializeApp() is authorized to access the specified "databaseURL" and is from the correct project.':'Make sure the "apiKey" and "databaseURL" properties provided to initializeApp() match the values provided for your app at https://console.firebase.google.com/.')},e}(),dn=function(){function e(){}return e.prototype.getToken=function(t){return Promise.resolve({accessToken:e.EMULATOR_AUTH_TOKEN})},e.prototype.addTokenChangeListener=function(t){t(e.EMULATOR_AUTH_TOKEN)},e.prototype.removeTokenChangeListener=function(e){},e.prototype.notifyForInvalidToken=function(){},e.EMULATOR_AUTH_TOKEN="owner",e}(),hn=function(){function e(){this.repos_={},this.useRestClient_=!1}return e.getInstance=function(){return un||(un=new e),un},e.prototype.interrupt=function(){var e,t,n,r;try{for(var o=i.__values(Object.keys(this.repos_)),a=o.next();!a.done;a=o.next()){var s=a.value;try{for(var l=(n=void 0,i.__values(Object.keys(this.repos_[s]))),u=l.next();!u.done;u=l.next())this.repos_[s][u.value].interrupt()}catch(c){n={error:c}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}}catch(d){e={error:d}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}},e.prototype.resume=function(){var e,t,n,r;try{for(var o=i.__values(Object.keys(this.repos_)),a=o.next();!a.done;a=o.next()){var s=a.value;try{for(var l=(n=void 0,i.__values(Object.keys(this.repos_[s]))),u=l.next();!u.done;u=l.next())this.repos_[s][u.value].resume()}catch(c){n={error:c}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}}}catch(d){e={error:d}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}},e.prototype.databaseFromApp=function(e,t,n,r){var i=n||e.options.databaseURL;void 0===i&&(e.options.projectId||x("Can't determine Firebase Database URL. Be sure to include  a Project ID when calling firebase.initializeApp()."),M("Using default host for project ",e.options.projectId),i=e.options.projectId+"-default-rtdb.firebaseio.com");var o,a=te(i,r),s=a.repoInfo,l=void 0;"undefined"!=typeof process&&(l=process.env.FIREBASE_DATABASE_EMULATOR_HOST),l?(o=!0,s=(a=te(i="http://"+l+"?ns="+s.namespace,r)).repoInfo):o=!a.repoInfo.secure;var u=r&&o?new dn:new cn(e,t);return _e("Invalid Firebase Database URL",1,a),a.path.isEmpty()||x("Database URL must point to the root of a Firebase Database (not including a child path)."),this.createRepo(s,e,u).database},e.prototype.deleteRepo=function(e){var t=o.safeGet(this.repos_,e.app.name);t&&o.safeGet(t,e.repoInfo_.toURLString())===e||x("Database "+e.app.name+"("+e.repoInfo_+") has already been deleted."),e.interrupt(),delete t[e.repoInfo_.toURLString()]},e.prototype.createRepo=function(e,t,n){var r=o.safeGet(this.repos_,t.name);r||(this.repos_[t.name]=r={});var i=o.safeGet(r,e.toURLString());return i&&x("Database initialized multiple times. Please make sure the format of the database URL matches with each database() call."),i=new en(e,this.useRestClient_,t,n),r[e.toURLString()]=i,i},e.prototype.forceRestClient=function(e){this.useRestClient_=e},e}(),fn=function(){function e(e){this.repo_=e,e instanceof en||x("Don't call new Database() directly - please use firebase.database()."),this.root_=new on(e,X.Empty),this.INTERNAL=new pn(this)}return Object.defineProperty(e.prototype,"app",{get:function(){return this.repo_.app}
2,enumerable:!1,configurable:!0}),e.prototype.ref=function(e){return this.checkDeleted_("ref"),o.validateArgCount("database.ref",0,1,arguments.length),e instanceof on?this.refFromURL(e.toString()):void 0!==e?this.root_.child(e):this.root_},e.prototype.refFromURL=function(e){var t="database.refFromURL";this.checkDeleted_(t),o.validateArgCount(t,1,1,arguments.length);var n=te(e,this.repo_.repoInfo_.nodeAdmin);_e(t,1,n);var r=n.repoInfo;return r.host!==this.repo_.repoInfo_.host&&x(t+": Host name does not match the current database: (found "+r.host+" but expected "+this.repo_.repoInfo_.host+")"),this.ref(n.path.toString())},e.prototype.checkDeleted_=function(e){null===this.repo_&&x("Cannot call "+e+" on a deleted database.")},e.prototype.goOffline=function(){o.validateArgCount("database.goOffline",0,0,arguments.length),this.checkDeleted_("goOffline"),this.repo_.interrupt()},e.prototype.goOnline=function(){o.validateArgCount("database.goOnline",0,0,arguments.length),this.checkDeleted_("goOnline"),this.repo_.resume()},e.ServerValue={TIMESTAMP:{".sv":"timestamp"},increment:function(e){return{".sv":{increment:e}}}},e}(),pn=function(){function e(e){this.database=e}return e.prototype.delete=function(){return i.__awaiter(this,void 0,void 0,(function(){return i.__generator(this,(function(e){return this.database.checkDeleted_("delete"),hn.getInstance().deleteRepo(this.database.repo_),this.database.repo_=null,this.database.root_=null,this.database.INTERNAL=null,this.database=null,[2]}))}))},e}(),mn=Object.freeze({__proto__:null,forceLongPolling:function(){Gt.forceDisallow(),Ut.forceAllow()},forceWebSockets:function(){Ut.forceDisallow()},isWebSocketsAvailable:function(){return Gt.isAvailable()},setSecurityDebugCallback:function(e,t){e.repo.persistentConnection_.securityDebugCallback_=t},stats:function(e,t){e.repo.stats(t)},statsIncrementCounter:function(e,t){e.repo.statsIncrementCounter(t)},dataUpdateCount:function(e){return e.repo.dataUpdateCount},interceptServerData:function(e,t){return e.repo.interceptServerData_(t)}}),gn=Xt;Xt.prototype.simpleListen=function(e,t){this.sendRequest("q",{p:e},t)},Xt.prototype.echo=function(e,t){this.sendRequest("echo",{d:e},t)};var _n=Object.freeze({__proto__:null,DataConnection:gn,RealTimeConnection:Jt,hijackHash:function(e){var t=Xt.prototype.put;return Xt.prototype.put=function(n,r,i,o){void 0!==o&&(o=e()),t.call(this,n,r,i,o)},function(){Xt.prototype.put=t}},ConnectionTarget:ee,queryIdentifier:function(e){return e.queryIdentifier()},forceRestClient:function(e){hn.getInstance().forceRestClient(e)}}),yn=fn.ServerValue;function vn(t){Vt=t.SDK_VERSION;var n=t.INTERNAL.registerComponent(new s.Component("database",(function(e,t){var n=e.getProvider("app").getImmediate(),r=e.getProvider("auth-internal");return hn.getInstance().databaseFromApp(n,r,t)}),"PUBLIC").setServiceProps({Reference:on,Query:Xe,Database:fn,DataSnapshot:qe,enableLogging:k,INTERNAL:mn,ServerValue:yn,TEST_ACCESS:_n}).setMultipleInstances(!0));t.registerVersion("@firebase/database","0.6.13"),o.isNodeSdk()&&(e.exports=n)}vn(c.default),t.DataSnapshot=qe,t.Database=fn,t.OnDisconnect=ve,t.Query=Xe,t.Reference=on,t.ServerValue=yn,t.enableLogging=k,t.registerDatabase=vn},Na5p:function(e,t,n){(function(e){var n="[object Arguments]",r="[object Map]",i="[object Object]",o="[object Set]",a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,l=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,f={};f["[object Float32Array]"]=f["[object Float64Array]"]=f["[object Int8Array]"]=f["[object Int16Array]"]=f["[object Int32Array]"]=f["[object Uint8Array]"]=f["[object Uint8ClampedArray]"]=f["[object Uint16Array]"]=f["[object Uint32Array]"]=!0,f[n]=f["[object Array]"]=f["[object ArrayBuffer]"]=f["[object Boolean]"]=f["[object DataView]"]=f["[object Date]"]=f["[object Error]"]=f["[object Function]"]=f[r]=f["[object Number]"]=f[i]=f["[object RegExp]"]=f[o]=f["[object String]"]=f["[object WeakMap]"]=!1;var p="object"==typeof global&&global&&global.Object===Object&&global,m="object"==typeof self&&self&&self.Object===Object&&self,g=p||m||Function("return this")(),_=t&&!t.nodeType&&t,
vendor: 5,085 bytes, line 2
2y=_&&"object"==typeof e&&e&&!e.nodeType&&e,v=y&&y.exports===_&&p.process,b=function(){try{return v&&v.binding("util")}catch(e){}}(),w=b&&b.isTypedArray;function k(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function M(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function S(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function T(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function x(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var L,D,C,O=Array.prototype,E=Function.prototype,j=Object.prototype,A=g["__core-js_shared__"],P=(L=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||""))?"Symbol(src)_1."+L:"",I=E.toString,Y=j.hasOwnProperty,R=j.toString,N=RegExp("^"+I.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),F=g.Symbol,H=g.Uint8Array,$=j.propertyIsEnumerable,z=O.splice,W=(D=Object.keys,C=Object,function(e){return D(C(e))}),U=be(g,"DataView"),B=be(g,"Map"),V=be(g,"Promise"),q=be(g,"Set"),G=be(g,"WeakMap"),K=be(Object,"create"),J=De(U),Q=De(B),X=De(V),Z=De(q),ee=De(G),te=F?F.prototype:void 0,ne=te?te.valueOf:void 0,re=te?te.toString:void 0;function ie(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function se(e){var t=-1,n=e?e.length:0;for(this.__data__=new ae;++t<n;)this.add(e[t])}function le(e){this.__data__=new oe(e)}function ue(e,t){for(var n=e.length;n--;)if(Oe(e[n][0],t))return n;return-1}ie.prototype.clear=function(){this.__data__=K?K(null):{}},ie.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ie.prototype.get=function(e){var t=this.__data__;if(K){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Y.call(t,e)?t[e]:void 0},ie.prototype.has=function(e){var t=this.__data__;return K?void 0!==t[e]:Y.call(t,e)},ie.prototype.set=function(e,t){return this.__data__[e]=K&&void 0===t?"__lodash_hash_undefined__":t,this},oe.prototype.clear=function(){this.__data__=[]},oe.prototype.delete=function(e){var t=this.__data__,n=ue(t,e);return!(n<0||(n==t.length-1?t.pop():z.call(t,n,1),0))},oe.prototype.get=function(e){var t=this.__data__,n=ue(t,e);return n<0?void 0:t[n][1]},oe.prototype.has=function(e){return ue(this.__data__,e)>-1},oe.prototype.set=function(e,t){var n=this.__data__,r=ue(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},ae.prototype.clear=function(){this.__data__={hash:new ie,map:new(B||oe),string:new ie}},ae.prototype.delete=function(e){return ve(this,e).delete(e)},ae.prototype.get=function(e){return ve(this,e).get(e)},ae.prototype.has=function(e){return ve(this,e).has(e)},ae.prototype.set=function(e,t){return ve(this,e).set(e,t),this},se.prototype.add=se.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},se.prototype.has=function(e){return this.__data__.has(e)},le.prototype.clear=function(){this.__data__=new oe},le.prototype.delete=function(e){return this.__data__.delete(e)},le.prototype.get=function(e){return this.__data__.get(e)},le.prototype.has=function(e){return this.__data__.has(e)},le.prototype.set=function(e,t){var n=this.__data__;if(n instanceof oe){var r=n.__data__;if(!B||r.length<199)return r.push([e,t]),this;n=this.__data__=new ae(r)}return n.set(e,t),this};var ce,de=(ce=function(e,t){return e&&he(e,t,He)},function(e,t){if(null==e)return e;if(!Ae(e))return ce(e,t);for(var n=e.length,r=-1,i=Object(e);++r<n&&!1!==t(i[r],r,i););return e}),he=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}return e};function fe(e,t){for(var n=0,r=(t=Me(t,e)?[t]:_e(t)).length;null!=e&&n<r;)e=e[Le(t[n++])];return n&&n==r?e:void 0}function pe(e,t){return null!=e&&t in Object(e)}function me(e,t,a,s,l){return e===t||(null==e||null==t||!Ye(e)&&!Re(t)?e!=e&&t!=t:function(e,t,a,s,l,u){var c=je(e),d=je(t),h="[object Array]",f="[object Array]";c||(h=(h=we(e))==n?i:h),d||(f=(f=we(t))==n?i:f);var p=h==i&&!S(e),m=f==i&&!S(t),g=h==f;if(g&&!p)return u||(u=new le),c||Fe(e)?ye(e,t,a,s,l,u):function(e,t,n,i,a,s,l){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new H(e),new H(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Oe(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case r:var u=T;case o:if(u||(u=x),e.size!=t.size&&!(2&s))return!1;var c=l.get(e);if(c)return c==t;s|=1,l.set(e,t);var d=ye(u(e),u(t),i,a,s,l);return l.delete(e),d;case"[object Symbol]":if(ne)return ne.call(e)==ne.call(t)}return!1}(e,t,h,a,s,l,u);if(!(2&l)){var _=p&&Y.call(e,"__wrapped__"),y=m&&Y.call(t,"__wrapped__");
vendor: 4,339 bytes, line 2
2if(_||y){var v=_?e.value():e,b=y?t.value():t;return u||(u=new le),a(v,b,s,l,u)}}return!!g&&(u||(u=new le),function(e,t,n,r,i,o){var a=2&i,s=He(e),l=s.length;if(l!=He(t).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in t:Y.call(t,c)))return!1}var d=o.get(e);if(d&&o.get(t))return d==t;var h=!0;o.set(e,t),o.set(t,e);for(var f=a;++u<l;){var p=e[c=s[u]],m=t[c];if(r)var g=a?r(m,p,c,t,e,o):r(p,m,c,e,t,o);if(!(void 0===g?p===m||n(p,m,r,i,o):g)){h=!1;break}f||(f="constructor"==c)}if(h&&!f){var _=e.constructor,y=t.constructor;_==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof y&&y instanceof y||(h=!1)}return o.delete(e),o.delete(t),h}(e,t,a,s,l,u))}(e,t,me,a,s,l))}function ge(e,t){var n=-1,r=Ae(e)?Array(e.length):[];return de(e,(function(e,i,o){r[++n]=t(e,i,o)})),r}function _e(e){return je(e)?e:xe(e)}function ye(e,t,n,r,i,o){var a=2&i,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var c=-1,d=!0,h=1&i?new se:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var f=e[c],p=t[c];if(r)var m=a?r(p,f,c,t,e,o):r(f,p,c,e,t,o);if(void 0!==m){if(m)continue;d=!1;break}if(h){if(!M(t,(function(e,t){if(!h.has(t)&&(f===e||n(f,e,r,i,o)))return h.add(t)}))){d=!1;break}}else if(f!==p&&!n(f,p,r,i,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function ve(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function be(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Ye(e)||function(e){return!!P&&P in e}(e))&&(Pe(e)||S(e)?N:d).test(De(e))}(n)?n:void 0}var we=function(e){return R.call(e)};function ke(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||h.test(e))&&e>-1&&e%1==0&&e<t}function Me(e,t){if(je(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ne(e))||s.test(e)||!a.test(e)||null!=t&&e in Object(t)}function Se(e){return e==e&&!Ye(e)}function Te(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(U&&"[object DataView]"!=we(new U(new ArrayBuffer(1)))||B&&we(new B)!=r||V&&"[object Promise]"!=we(V.resolve())||q&&we(new q)!=o||G&&"[object WeakMap]"!=we(new G))&&(we=function(e){var t=R.call(e),n=t==i?e.constructor:void 0,a=n?De(n):void 0;if(a)switch(a){case J:return"[object DataView]";case Q:return r;case X:return"[object Promise]";case Z:return o;case ee:return"[object WeakMap]"}return t});var xe=Ce((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(Ne(e))return re?re.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return l.test(e)&&n.push(""),e.replace(u,(function(e,t,r,i){n.push(r?i.replace(c,"$1"):t||e)})),n}));function Le(e){if("string"==typeof e||Ne(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function De(e){if(null!=e){try{return I.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Ce(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(Ce.Cache||ae),n}function Oe(e,t){return e===t||e!=e&&t!=t}function Ee(e){return function(e){return Re(e)&&Ae(e)}(e)&&Y.call(e,"callee")&&(!$.call(e,"callee")||R.call(e)==n)}Ce.Cache=ae;var je=Array.isArray;function Ae(e){return null!=e&&Ie(e.length)&&!Pe(e)}function Pe(e){var t=Ye(e)?R.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Ie(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ye(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Re(e){return!!e&&"object"==typeof e}function Ne(e){return"symbol"==typeof e||Re(e)&&"[object Symbol]"==R.call(e)}var Fe=w?function(e){return function(t){return e(t)}}(w):function(e){return Re(e)&&Ie(e.length)&&!!f[R.call(e)]};function He(e){return Ae(e)?function(e,t){var n=je(e)||Ee(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!Y.call(e,o)||i&&("length"==o||ke(o,r))||n.push(o);return n}(e):function(e){if((t=e)!==("function"==typeof(n=t&&t.constructor)&&n.prototype||j)
2)return W(e);var t,n,r=[];for(var i in Object(e))Y.call(e,i)&&"constructor"!=i&&r.push(i);return r}(e)}function $e(e){return e}e.exports=function(e,t){return(je(e)?k:ge)(e,"function"==typeof(n=t)?n:null==n?$e:"object"==typeof n?je(n)?function(e,t){return Me(e)&&Se(t)?Te(Le(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:fe(e,t);return void 0===r?void 0:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,i=-1,o=(t=Me(t,e)?[t]:_e(t)).length;++i<o;){var a=Le(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}return r||!!(o=e?e.length:0)&&Ie(o)&&ke(a,o)&&(je(e)||Ee(e))}(e,t,pe)}(n,e):me(t,r,void 0,3)}}(n[0],n[1]):1==(i=function(e){for(var t=He(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Se(i)]}return t}(r=n)).length&&i[0][2]?Te(i[0][0],i[0][1]):function(e){return e===r||function(e,t,n,r){var i=n.length,o=i;if(null==e)return!o;for(e=Object(e);i--;){var a=n[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var s=(a=n[i])[0],l=e[s];if(a[2]){if(void 0===l&&!(s in e))return!1}else if(!me(a[1],l,void 0,3,new le))return!1}return!0}(e,0,i)}:Me(o=n)?(a=Le(o),function(e){return null==e?void 0:e[a]}):function(e){return function(t){return fe(t,e)}}(o));var n,r,i,o,a}}).call(this,n("YuTi")(e))},OIYi:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},Oaa7:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function r(e,t,n,r){var i="";if(t)switch(n){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":i="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":i="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":i="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":i="%d \u0924\u093e\u0938";break;case"d":i="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":i="%d \u0926\u093f\u0935\u0938";break;case"M":i="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":i="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":i="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":i="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":i="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":i="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":i="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":i="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":i="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":i="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":i="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":i="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":i="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":i="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return i.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:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===t||"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t||"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OjkT:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},OmwH:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1130?"\u4e0a\u5348":r<1230?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},Oxv6:function(e,t,n){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDa
2teFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},PA2r:function(e,t,n){!function(e){"use strict";var t="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),r=[/^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],i=/^(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 o(e){return e>1&&e<5&&1!=~~(e/10)}function a(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||r?i+(o(e)?"sekundy":"sekund"):i+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?i+(o(e)?"minuty":"minut"):i+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?i+(o(e)?"hodiny":"hodin"):i+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?i+(o(e)?"dny":"dn\xed"):i+"dny";case"M":return t||r?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||r?i+(o(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):i+"m\u011bs\xedci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?i+(o(e)?"roky":"let"):i+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PVcy:function(e,t,n){"use strict";function r(e){return null==e}function i(e){return"function"==typeof e.set}function o(e,t){return i(t)?t:e.ref(t)}function a(e,t){if("string"==typeof e)return t.stringCase();if(i(e))return t.firebaseCase();if(function(e){return"function"==typeof e.exportVal}(e))return t.snapshotCase();throw new Error("Expects a string, snapshot, or reference. Got: "+typeof e)}var s=n("D0XW"),l=n("HDdC"),u=n("lJxs"),c=n("w1tV");function d(e,t,n="on",r=s.a){return new l.a(i=>{let o=null;return o=e[n](t,(e,t)=>{r.schedule(()=>{i.next({snapshot:e,prevKey:t})}),"once"==n&&r.schedule(()=>i.complete())},e=>{r.schedule(()=>i.error(e))}),"on"==n?{unsubscribe(){null!=o&&e.off(t,o)}}:{unsubscribe(){}}}).pipe(Object(u.a)(e=>{const{snapshot:n,prevKey:r}=e;let i=null;return n.exists()&&(i=n.key),{type:t,payload:n,prevKey:r,key:i}}),Object(c.a)())}var h=n("LRne"),f=n("VRyK"),p=n("eIep"),m=n("Kqap"),g=n("/uUt");function _(e,t){const n=e.length;for(let r=0;r<n;r++)if(e[r].payload.key===t)return r;return-1}function y(e,t){const{payload:n,prevKey:i,key:o}=t,a=_(e,o),s=function(e,t){if(r(t))return 0;{const n=_(e,t);return-1===n?e.length:n+1}}(e,i);switch(t.type){case"value":if(t.payload&&t.payload.exists()){let n=null;
2t.payload.forEach(t=>{const r={payload:t,type:"value",prevKey:n,key:t.key};return n=t.key,e=[...e,r],!1})}return e;case"child_added":if(a>-1){const r=e[a-1];(r&&r.key||null)!=i&&(e=e.filter(e=>e.payload.key!==n.key)).splice(s,0,t)}else{if(null==i)return[t,...e];(e=e.slice()).splice(s,0,t)}return e;case"child_removed":return e.filter(e=>e.payload.key!==n.key);case"child_changed":return e.map(e=>e.payload.key===o?t:e);case"child_moved":if(a>-1){const t=e.splice(a,1)[0];return(e=e.slice()).splice(s,0,t),e}return e;default:return e}}function v(e){return(r(e)||0===e.length)&&(e=["child_added","child_removed","child_changed","child_moved"]),e}function b(e,t,n){return function(e,t,n){return d(e,"value","once",n).pipe(Object(p.a)(r=>{const i=[Object(h.a)(r)];return t.forEach(t=>i.push(d(e,t,"on",n))),Object(f.a)(...i).pipe(Object(m.a)(y,[]))}),Object(g.a)())}(e,t=v(t),n)}function w(e,t,n){const r=(t=v(t)).map(t=>d(e,t,"on",n));return Object(f.a)(...r)}var k=n("l7GE"),M=n("ZUHj");class S{constructor(e,t){this.observables=e,this.project=t}call(e,t){return t.subscribe(new T(e,this.observables,this.project))}}class T extends k.a{constructor(e,t,n){super(e),this.observables=t,this.project=n,this.toRespond=[];const r=t.length;this.values=new Array(r);for(let i=0;i<r;i++)this.toRespond.push(i);for(let i=0;i<r;i++){let e=t[i];this.add(Object(M.a)(this,e,void 0,i))}}notifyNext(e,t,n){this.values[n]=t;const r=this.toRespond;if(r.length>0){const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}notifyComplete(){}_next(e){if(0===this.toRespond.length){const t=[e,...this.values];this.project?this._tryProject(t):this.destination.next(t)}}_tryProject(e){let t;try{t=this.project.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}var x=n("7o/Q");class L{constructor(e){this.predicate=e}call(e,t){return t.subscribe(new D(e,this.predicate))}}class D extends x.a{constructor(e,t){super(e),this.predicate=t,this.skipping=!0,this.index=0}_next(e){const t=this.destination;this.skipping&&this.tryCallPredicate(e),this.skipping||t.next(e)}tryCallPredicate(e){try{const t=this.predicate(e,this.index++);this.skipping=Boolean(t)}catch(t){this.destination.error(t)}}}function C(e,t){return function(n,r){return a(n,{stringCase:()=>e.child(n)[t](r),firebaseCase:()=>n[t](r),snapshotCase:()=>n.ref[t](r)})}}function O(e,t){return function(){return d(e,"value","on",t)}}var E=n("1XSQ"),j=n("yA/v");n.d(t,"a",(function(){return A}));let A=class{constructor(e,t,n,r,i){this.schedulers=new E.b(i),this.keepUnstableUntilFirst=Object(E.c)(this.schedulers,r),this.database=i.runOutsideAngular(()=>Object(j.e)(e,i,t).database(n||void 0))}list(e,t){const n=o(this.database,e);let r=n;return t&&(r=t(n)),function(e,t){const n=t.schedulers.outsideAngular;return{query:e,update:C(e.ref,"update"),set:C(e.ref,"set"),push:t=>e.ref.push(t),remove:(r=e.ref,function(e){return e?a(e,{stringCase:()=>r.child(e).remove(),firebaseCase:()=>e.remove(),snapshotCase:()=>e.ref.remove()}):r.remove()}),snapshotChanges:r=>b(e,r,n).pipe(t.keepUnstableUntilFirst),stateChanges:r=>w(e,r,n).pipe(t.keepUnstableUntilFirst),auditTrail:r=>function(e,t,n){return function(e,t,n){return function(e,t){return d(e,"value","on",t).pipe(Object(u.a)(e=>{let t;return e.payload.forEach(e=>(t=e.key,!1)),{data:e,lastKeyToLoad:t}}))}(e,n).pipe(function(...e){return t=>{let n;return"function"==typeof e[e.length-1]&&(n=e.pop()),t.lift(new S(e,n))}}(t),Object(u.a)(([e,t])=>{let n=e.lastKeyToLoad;const r=t.map(e=>e.key);return{actions:t,lastKeyToLoad:n,loadedKeys:r}}),(r=e=>-1===e.loadedKeys.indexOf(e.lastKeyToLoad),e=>e.lift(new L(r))),Object(u.a)(e=>e.actions));var r}(e,w(e,t).pipe(Object(m.a)((e,t)=>[...e,t],[])),n)}(e,r,n).pipe(t.keepUnstableUntilFirst),valueChanges:r=>b(e,r,n).pipe(t.keepUnstableUntilFirst,Object(u.a)(e=>e.map(e=>e.payload.val())))};var r}(r,this)}object(e){const t=o(this.database,e);return r=this,{query:n=t,snapshotChanges:()=>O(n,r.schedulers.outsideAngular)().pipe(r.keepUnstableUntilFirst),update:e=>n.ref.update(e),set:e=>n.ref.set(e),remove:()=>n.ref.remove(),valueChanges:()=>O(n,r.schedulers.outsideAngular)().pipe(r.keepUnstableUntilFirst,Object(u.a)(e=>e.payload.exists()?e.payload.val():null))};var n,r}createPushId(){return this.database.ref().push().key}}},PeUW:function(e,t,n){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}
vendor: 9,164 bytes, line 2
2\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,n){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n("wd/R"))},PpIw:function(e,t,n){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},Qj4J:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},RAwQ:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={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?i[n][0]:i[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%
2d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RnhZ:function(e,t,n){var r={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn-bd":"loYQ","./bn-bd.js":"loYQ","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-mx":"tbfe","./es-mx.js":"tbfe","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id="RnhZ"},"Rt+L":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("KOl+");function i(e,t,n,i){return i=Array.from(i),Object(r.f)(e,t,n).apply(this,i)}},"S+S0":function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r=n("mrSG"),i=n("zVF4"),o=function(){function e(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY"}return e.prototype.setInstantiationMode=function(e){return this.instantiationMode=e,this},e.prototype.setMultipleInstances=function(e){return this.multipleInstances=e,this},e.prototype.setServiceProps=function(e){return this.serviceProps=e,this},e}(),a=function(){function e(e,t){this.name=e,this.container=t,this.component=null,this.instances=new Map,this.instancesDeferred=new Map}return e.prototype.get=function(e){void 0===e&&(e="[DEFAULT]");var t=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(t)){var n=new i.Deferred;this.instancesDeferred.set(t,n);try{var r=this.getOrInitializeService(t);r&&n.resolve(r)}catch(o){}}return this.instancesDeferred.get(t).promise},e.prototype.getImmediate=function(e){var t=r.__assign({identifier:"[DEFAULT]",optional:!1},e),n=t.optional,i=this.normalizeInstanceIdentifier(t.identifier);try{var o=this.getOrInitializeService(i);if(!o){if(n)return null;throw Error("Service "+this.name+" is not available")}return o}catch(a){if(n)return null;throw a}},e.prototype.getComponent=function(){return this.component},e.prototype.setComponent=function(e){var t,n;if(e.name!==this.name)throw Error("Mismatching Component "+e.name+" for Provider "+this.name+".");if(this.component)throw Error("Component for "+this.name+" has already been provided");if(this.component=e,function(e){return"EAGER"===e.instantiationMode}(e))try{this.getOrInitializeService("[DEFAULT]")}catch(c){}try{for(var i=r.__values(this.instancesDeferred.entries()),o=i.next();!o.done;o=i.next()){var a=r.__read(o.value,2),s=a[1],l=this.normalizeInstanceIdentifier(a[0]);try{var u=this.getOrInitializeService(l);s.resolve(u)}catch(c){}}}catch(d){t={error:d}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}},e.prototype.clearInstance=function(e){void 0===e&&(e="[DEFAULT]"),this.instancesDeferred.delete(e),this.instances.delete(e)},e.prototype.delete=function(){return r.__awaiter(this,void 0,void 0,(function(){var e;return r.__generator(this,(function(t){switch(t.label){case 0:return e=Array.from(this.instances.values()),[4,Promise.all(r.__spread(e.filter((function(e){return"INTERNAL"in e})).map((function(e){return e.INTERNAL.delete()})),e.filter((function(e){return"_delete"in e})).map((function(e){return e._delete()}))))];case 1:return t.sent(),[2]}}))}))},e.prototype.isComponentSet=function(){return null!=this.component},e.prototype.getOrInitializeService=function(e){var t=this.instances.get(e);return!t&&this.component&&(t=this.component.instanceFactory(this.container,function(e){return"[DEFAULT]"===e?void 0:e}(e)),this.instances.set(e,t)),t||null},e.prototype.normalizeInstanceIdentifier=function(e){return this.component?this.component.multipleInstances?e:"[DEFAULT]":e},e}(),s=function(){function e(e){this.name=e,this.providers=new Map}return e.prototype.addComponent=function(e){var t=this.getProvider(e.name);if(t.isComponentSet())throw new Error("Component "+e.name+" has already been registered with "+this.name);t.setComponent(e)},e.prototype.addOrOverwriteComponent=function(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)},e.prototype.getProvider=function(e){if(this.providers.has(e))return this.providers.get(e);var t=new a(e,this);return this.providers.set(e,t),t},e.prototype.getProviders=function(){return Array.from(this.providers.values())},e}();t.Component=o,t.ComponentContainer=s,t.Provider=a},S6ln:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return r+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return r+(1===e?"dan":"dana");case"MM":return r+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return r+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},SFxW:function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u
20259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SLW3:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var r=n("mrSG"),i=n("qNh5"),o=n("SZJ3"),a=n("pRuv"),s=n("pQEw"),l=n("SxV6"),u=n("eIep"),c=n("lJxs"),d=n("UXun"),h=n("IzEk"),f=n("ZZ/e"),p=n("LRne"),m=n("t8sF"),g=n("wMzM"),_=n("9B/o"),y=n("tfKx"),v=n("G2Zt"),b=n("Yttj"),w=n("p74H"),k=n("8Y7J"),M=n("PVcy"),S=n("gJ2e"),T=n("xgBC"),x=n("yA/v"),L=n("IheW"),D=n("cUpR");let C=(()=>{class e{constructor(e,t,n,r,i,o,a,s,l,u,c,d,h,f,p,m,g,_,y,v,b){this.afdb=e,this.auth=t,this.angStore=n,this.engine=r,this.watchdog=i,this.fieldCntrl=o,this.file=a,this.fileopen=s,this.storage=l,this.fb=u,this.loadingCtrl=c,this.alertCtrl=d,this.platform=h,this.iab=f,this.error=p,this.http=m,this.modalCtrl=_,this.sanitizer=y,this.webview=v,this.statusBar=b,this.cache=new Map,this.firestore=this.fb.storage(),this.compareFn=(e,t)=>e.name.toLowerCase()<t.name.toLowerCase()?-1:e.name.toLowerCase()>t.name.toLowerCase()?1:0,g.subscribe("user:logout",()=>{this._clear()}),this.startup()}startup(){return r.__awaiter(this,void 0,void 0,(function*(){this.sqcnode=yield this.auth.node$.pipe(Object(l.a)()).toPromise(),this.history=this.sqcnode+"pubs/history/",this.isM=!!this.platform.is("cordova")}))}getFront(){if(this.cache.pubs)return this.cache.pubs;const e=this.auth.node$.pipe(Object(u.a)(e=>this.engine.fetchListWithKeysByOrder(e+"pubs/front/","name")),Object(c.a)(e=>e.sort(this.compareFn)),Object(c.a)(e=>e.map(e=>(e.icon="plane"===e.icon?"airplane":e.icon,e))),Object(d.a)(1));return this.cache.pubs=e,e}getPublished(){const e="pubsPublished";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(u.a)(e=>this.engine.fetchListWithKeysByChild(e+"pubs/front/","published",!0)),Object(c.a)(e=>e.sort(this.compareFn)),Object(c.a)(e=>e.map(e=>(e.icon="plane"===e.icon?"airplane":e.icon,e))),Object(d.a)(1));return this.cache[e]=t,t}getLocked(){const e="pubsLocked";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(u.a)(e=>this.engine.fetchListWithKeysByChild(e+"pubs/front/","locked",!0)),Object(c.a)(e=>e?this.engine._keyBy(e,"$key"):Object(p.a)([])),Object(d.a)(1));return this.cache[e]=t,t}getFullPub(e){if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(u.a)(t=>this.engine.fetchObjectWithKey(t+"/pubs/back/"+e)),Object(d.a)(1));return this.cache[e]=t,t}getPubNames(){return this.getFront().map(e=>{let t=[];return e.map(e=>{t.push(e.name)}),t})}pubOptions(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n=!(t.dashpubs&&!this.engine._isUndef(t.dashpubs[e.$key]))||t.dashpubs[e.$key],i=t.preferences.push[e.$key],o=[{text:"View Previous Versions",handler:()=>{this.viewPubHistory(e)}}];!0===e.download&&o.push({text:"Download",handler:()=>{this.download(e.$key,e.download)}}),o.push(!1!==n?{text:"Unpin From Dashboard",handler:()=>r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.returnDashPub(t.$key,e.$key,!1);this.auth.updateDB(n)}))}:{text:"Pin to Dashboard",handler:()=>r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.returnDashPub(t.$key,e.$key,!0);this.auth.updateDB(n)}))}),!0!==e.required&&o.push(!0===i?{text:"Turn Off Push Notifications",handler:()=>r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.returnPubPush(t.$key,e.$key,!1);this.auth.updateDB(n)}))}:{text:"Turn On Push Notifications",handler:()=>r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.returnPubPush(t.$key,e.$key,!0);this.auth.updateDB(n)}))}),this.platform.is("cordova")&&o.push({text:"Reset Pub Cache",handler:()=>r.__awaiter(this,void 0,void 0,(function*(){this.file.listDir(this.file.dataDirectory,e.$key).then(t=>{this.wipe(e.$key)}).catch(e=>{})}))}),this.fieldCntrl.showAction(o,e.name)}))}markPub(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){e.close();const r={};return r[(yield this.auth.getUserNode())+"pubs/"+t]=n&&"unread"===n?"read":"unread",this.auth.updateDB(r)}))}
2returnPubPush(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const r={},[i,o,a]=yield Promise.all([this.auth.getNode(),this.auth.getUserNode(),this.auth.getUserPublicNode()]);return!0!==n?(r[o+"preferences/push/"+t]=!1,r[a+"preferences/push/"+t]=!1,r[i+"pubs/back/"+t+"/push/"+e]=null):(r[o+"preferences/push/"+t]=!0,r[a+"preferences/push/"+t]=!0,r[i+"pubs/back/"+t+"/push/"+e]=!0),r}))}returnDashPub(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const r={},[i,o]=yield Promise.all([this.auth.getNode(),this.auth.getUserNode()]);return!0!==n?(r[o+"dashpubs/"+t]=!1,r[i+"pubs/back/"+t+"/dash/"+e]=null):(r[o+"dashpubs/"+t]=!0,r[i+"pubs/back/"+t+"/dash/"+e]=!0),r}))}viewPubHistory(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.loadingCtrl.create({message:"Checking",backdropDismiss:!0});yield t.present();try{this.engine.fetchObject(this.history+e.$key).pipe(Object(h.a)(1)).subscribe(n=>{const r=this.engine._sortBy(n,"uploadDate"),i=[];if(t.dismiss(),r.length>0){for(let e=-1;e>-4;e--)i.push(this.engine._nth(r,e));const t=[];t.push({text:"Current Version",handler:()=>{this.viewPub({$key:e.$key,id:i[0].id,download:e.download})}}),i[1]&&t.push({text:i[1].uploadDate,handler:()=>{this.viewPub({$key:e.$key,id:i[1].id,download:e.download})}}),i[2]&&t.push({text:i[2].uploadDate,handler:()=>{this.viewPub({$key:e.$key,id:i[2].id,download:e.download})}}),t.push({text:"Cancel",role:"cancel",handler:()=>{}}),this.fieldCntrl.optionsAlert("Available Pub Versions","",t)}else this.fieldCntrl.simpleAlert({title:"No Pub History Available",body:"Looks like this pub has not been uploaded yet.",but:"Got it, Chief"})})}catch(n){t.dismiss(),this.auth.logHistory({action:"pubHistory",data:n})}}))}lockPub(e){return r.__awaiter(this,void 0,void 0,(function*(){const t={},n=yield this.auth.getNode(),r=yield this.auth.getUserKey(),i=e.$key,o=n+"pubs/front/"+i,a=n+"pubs/back/"+i;let s=this.engine._get(e,"uploadString");return this.engine._isUndef(s)&&(s="none"),t[a+"/lockedBy"]=r,t[o+"/locked"]=!0,t[a+"/locked"]=!0,t[o+"/published"]=!1,t[a+"/published"]=!1,t[a+"/uploadString"]=null,t[a+"/_uploadString"]=s,t[a+"/id"]=null,this.engine._isUndef(e.id)||(t[a+"/id"]=null,t[a+"/_id"]=e.id),this.auth.timestamp().then(e=>(t[n+"history/PubLockdown/"+e+"/event"]="Pub Lockdown",t[n+"history/PubLockdown/"+e+"/user"]=r,t[n+"history/PubLockdown/"+e+"/target"]=i,t[a+"/lockedOn"]=e,this.engine.bulkUpdate(t)))}))}unlockPub(e){return r.__awaiter(this,void 0,void 0,(function*(){const t={},n=yield this.auth.getNode(),r=yield this.auth.getUserKey(),i=e.$key,o=n+"pubs/front/"+i,a=n+"pubs/back/"+i,s=this.engine._get(e,"_uploadString");return this.engine._isUndef(s)&&"none"===s||(t[a+"/uploadString"]=s),t[o+"/locked"]=null,t[a+"/locked"]=null,t[a+"/lockedBy"]=null,t[o+"/published"]=!1,t[a+"/published"]=!1,t[a+"/_uploadString"]=null,t[a+"/id"]=null,this.engine._isUndef(e._id)||(t[a+"/id"]=e._id,t[a+"/_id"]=null),this.auth.timestamp().then(e=>(t[n+"history/PubLockdown/"+e+"/event"]="Pub Unlocked",t[n+"history/PubLockdown/"+e+"/user"]=r,t[n+"history/PubLockdown/"+e+"/target"]=i,this.engine.bulkUpdate(t)))}))}subscribeUsersToPub(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const r={},i=yield this.auth.getNode();if(e&&0!==e.length)return e.forEach(e=>{this.engine._merge(r,this.subscribeUserByPubkey(i,t,e,e.$key,!0,n))}),r}))}unsubscribeUsersFromPub(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const r={},i=yield this.auth.getNode();if(e&&0!==e.length)return e.forEach(e=>{this.engine._merge(r,this.subscribeUserByPubkey(i,t,e,e.$key,!1,n))}),r}))}_subUserToPub(e,t,n,r,i){const o=this.engine._get(t,"$key"),a="preferences.push."+o,s={};return this.engine._has(this.engine._get(n,"preferences.push"),o)?s[e+"pubs/back/"+o+"/push/"+r]=!1===this.engine._get(n,a)?null:i:(s[e+"users/back/"+r+"/preferences/push/"+o]=i,s[e+"users/front/"+r+"/preferences/push/"+o]=i,s[e+"pubs/back/"+o+"/push/"+r]=i),s[e+"users/back/"+r+"/subbedpubs/"+o]=i,s[e+"pubs/back/"+o+"/subscribers/"+r]=i,s}subscribeUserByPubkey(e,t,n,r,i,o){const a="preferences.push."+t,s={};return this.engine._has(this.engine._get(n,"preferences.push"),t)?s[e+"pubs/back/"+t+"/push/"+r]=!1===this.engine._get(n,a)&&!1===o?null:!0===o||!0===i||null:(s[e+"users/back/"+r+"/preferences/push/"+t]=!0===i||null,s[e+"users/front/"+r+"/preferences/push/"+t]=!0===i||null,s[e+"pubs/back/"+t+"/push/"+r]=!0===i||null),s[e+"users/back/"+r+"/subbedpubs/"+t]=!0===i||null,s[e+"pubs/back/"+t+"/subscribers/"+r]=!0===i||null,s}subscribeUserToPubs(e,t,n,i){return new Promise(o=>r.__awaiter(this,void 0,void 0,(function*(){const[a,s]=yield Promise.all([this.getFront().pipe(Object(l.a)()).toPromise(),this.auth.getNode()]),u={};a.forEach(o=>r.__awaiter(this,void 0,void 0,(function*(){const r=this.engine._keys(this.engine._get(o,"groups")),a=this.engine._keys(this.engine._get(o,"sites")),l=this.engine._intersection(r,n),c=this.engine._intersection(a,i);
2this.engine._merge(u,this._subUserToPub(s,o,e,t,!this.engine._isEmpty(l)&&!this.engine._isEmpty(c)||null))}))),o(u)})))}remove(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=this.engine._keys(e.subscribers)?this.engine._keys(e.subscribers):[],n=this.engine._keys(e.groups)?this.engine._keys(e.groups):[],r=this.engine._keys(e.sites)?this.engine._keys(e.sites):[],i=this.engine._keys(e.bulletins)?this.engine._keys(e.bulletins):[],o=yield this.auth.getNode(),a={};this.engine._isEmpty(t)||t.forEach(t=>{a[o+"users/back/"+t+"/subbedpubs/"+e.$key]=null,a[o+"users/back/"+t+"/preferences/push/"+e.$key]=null,a[o+"users/back/"+t+"/dashpubs/"+e.$key]=null,a[o+"users/back/"+t+"/pubs/"+e.$key]=null}),e.parents&&Object.keys(e.parents).forEach(t=>{Object.keys(e.parents[t]).forEach(e=>{a[o+"pages/back/"+t+"/elements/"+e]=null})}),this.engine._isEmpty(n)||n.forEach(t=>{a[o+"groups/back/"+t+"/pubs/"+e.$key]=null}),this.engine._isEmpty(r)||r.forEach(t=>{a[o+"sites/back/"+t+"/pubs/"+e.$key]=null}),this.engine._isEmpty(i)||i.forEach(e=>{a[o+"bulletins/back/"+e+"/target"]=null}),e.root&&(e.root.sqc&&this.engine._keys(e.root.sqc).forEach(e=>{a[o+"common/tabs/back/sqc/elements/"+e]=null}),e.root.help&&this.engine._keys(e.root.help).forEach(e=>{a[o+"common/tabs/back/help/elements/"+e]=null})),a[o+"pubs/upl/"+e.$key]=null;const s=yield this.engine.moveToTrash(e,"pubs");return this.engine._merge(a,s),this.auth.updateDB(a)}))}download(e,t){return r.__awaiter(this,void 0,void 0,(function*(){if(t){const t=yield this.loadingCtrl.create({message:"Loading Pub",backdropDismiss:!0});yield t.present();const r=yield this.auth.getNode();try{this.engine.fetchObject(r+"pubs/back/"+e+"/id").pipe(Object(h.a)(1)).subscribe(n=>{this.checkForFile(e,n).then(e=>{t.dismiss(),this.showDownload(e)}).catch(()=>{this.downloadHandler(e,n).then(r=>{t.dismiss(),this.showDownload(e+"/"+n)})})})}catch(n){this.error.showPopup(n)}}}))}checkForFile(e,t){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise((n,r)=>{try{this.checkDir(e).then(i=>{!0===i?this.file.checkFile(this.file.dataDirectory+e+"/",t).then(()=>{n(e+"/"+t)}).catch(()=>{r()}):r()})}catch(i){r()}})}))}downloadHandler(e,t){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise((n,r)=>{this.requestDownloadToken({$key:e,id:t}).then(e=>{n(e)}).catch(e=>{r(e)})})}))}showDownload(e){this.platform.is("cordova")?cordova.plugins.fileOpener2.showOpenWithDialog(this.file.dataDirectory+e,"application/pdf",{onWillDismiss:e=>{},error:e=>e}):console.log(e)}_file(e){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise((t,n)=>{const r=[],i=[];try{this.file.listDir(this.file.dataDirectory,e).then(o=>{if(o.length>2){o.forEach(e=>{r.push(e.name)}),r.sort();for(let e=0;e<r.length-3;e++)i.push(r[e]);this._fileDelete(i,e).then(()=>{t()}).catch(e=>{n(e)})}else t()})}catch(o){n(o)}})}))}_fileDelete(e,t){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise((n,r)=>{try{n(e.forEach(e=>{this.file.removeFile(this.file.dataDirectory+t,e)}))}catch(i){r(i)}})}))}_clear(){return r.__awaiter(this,void 0,void 0,(function*(){if(this.platform.is("cordova"))return this.file.removeRecursively(this.file.dataDirectory,".")}))}wipe(e){return r.__awaiter(this,void 0,void 0,(function*(){if(this.platform.is("cordova"))return this.file.removeRecursively(this.file.dataDirectory,e)}))}pubHandlerExpress(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.getFrontExpress(e).pipe(Object(l.a)()).toPromise();return t[0]?this.pubHandler(t[0]):null}))}getFrontExpress(e){return this.getFront().pipe(Object(c.a)(t=>t?t.filter(t=>t.$key===e):Object(p.a)([null])))}pubHandler(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.getDownloadId(e),n={$key:e,id:t};return this.platform.is("cordova")?this.viewPub(n):this.requestDownloadToken(n).then(e=>{window.open(e.url,"_blank"),this.auth.updateDB(e.up)}).catch(e=>{this.error.showPopup(e),this.auth.updateDB(e.up)})}))}viewPub(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=e.id.split("."),n=e.$key;if(this.platform.is("ios")&&this.platform.is("cordova")){const[t,n]=yield Promise.all([this.checkDir(e.$key),this.checkFile(e.$key,e.id)]);if(!t||!n)return this.dlDoc(e.$key,e.id);yield this.markAsRead(e.$key),yield this.viewDoc(e.id,e.$key)}else{if(!this.platform.is("android")||!this.platform.is("cordova"))return this.requestDownloadToken(e).then(e=>{window.open(e.url,"_blank"),this.auth.updateDB(e.up)}).catch(e=>{this.error.showPopup(e),this.auth.updateDB(e.up)});{const[r,i,o]=yield Promise.all([this.checkDir(n),this.checkDir(n+"/_"+t[0]),this.checkFile(n+"/_"+t[0],"001.png")]);r&&i&&o?(yield this.markAsRead(e.$key),yield this.viewDoc(e.id,e.$key)):yield this.dlDocA(e.$key,e.id)}}}))}checkDir(e){return r.__awaiter(this,void 0,void 0,(function*(){return!!this.platform.is("cordova")&&this.file.createDir(this.file.dataDirectory,e,!1).then(e=>!1).catch(e=>!0)}))}checkNestedDir(e,t){return r.__awaiter(this,void 0,void 0,(function*(){return!!this.platform.is("cordova")&&this.file.createDir(this.file.dataDirectory+e,t,!1).then(e=>!1).catch(e=>!0)}))}checkFile(e,t){return r.__awaiter(this,void 0,void 0,(function*(){return!!this.platform.is("cordova")&&this.file.checkFile(this.file.dataDirectory+e+"/",t).then(e=>!0).catch(e=>!1)}))}markAsRead(e){return r.__awaiter(this,void 0,void 0,(function*(){const t={};return t[(yield this.auth.getUserNode())+"/pubs/"+e]="read",this.auth.updateDB(t)}))}dlDoc(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.loadingCtrl.create({message:"Downloading",backdropDismiss:!0});try{const i=yield this.requestDownloadToken({$key:e,id:t});i&&(yield n.present());const o=i.url,a=yield fetch(o).then(e=>r.__awaiter(this,void 0,void 0,(function*(){return e.blob()}))),s=new Blob([a],{type:a.type}),l=yield this.file.resolveDirectoryUrl(this.file.dataDirectory+e);yield this.file.getFile(l,t,{create:!0,exclusive:!1}),yield this.file.writeFile(this.file.dataDirectory+e,t,s,{replace:!0}),yield this.listFiles(e),yield Promise.all([this.auth.updateDB(i.up),this.markAsRead(e),this.viewDoc(t,e)]).then(()=>n.dismiss())}
2catch(i){n.dismiss(),yield Promise.all([this.wipe(e),this.error.showPopup("dl_failure"),this.auth.updateDB(i.up)])}}))}dlDocA(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.loadingCtrl.create({message:"Downloading",backdropDismiss:!0}),i=t.split("."),o=yield this.requestDownloadTokenArray({$key:e,id:t});o&&(yield n.present()),yield this.checkNestedDir(e,t);try{const a=yield this.file.resolveDirectoryUrl(this.file.dataDirectory+e);yield this.file.getFile(a,"_"+i[0],{create:!0,exclusive:!1});const s=o.url.map((t,n)=>r.__awaiter(this,void 0,void 0,(function*(){const n=t.substring(t.indexOf(".png?")-3,t.indexOf(".png?"))+".png",r="_"+i[0]+"/"+n,o=yield fetch(t).then(e=>e.blob());yield this.file.writeFile(this.file.dataDirectory+e,r,o,{replace:!0})})));yield Promise.all(s).then(()=>n.dismiss()).catch(e=>{console.log(JSON.stringify(e))}),yield Promise.all([this.auth.updateDB(o.up),this.markAsRead(e),this.viewDoc(t,e)])}catch(a){n.dismiss(),console.log(JSON.stringify(a)),yield Promise.all([this.wipe(e),this.error.showPopup(a.code),this.auth.updateDB(a.up)])}}))}listFiles(e){return r.__awaiter(this,void 0,void 0,(function*(){try{yield this.file.listDir(this.file.dataDirectory,e)}catch(t){}}))}viewDoc(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n=e.split(".");return yield this._file(t).then(i=>r.__awaiter(this,void 0,void 0,(function*(){const r=this.file.dataDirectory+t+"/"+e;if(this.platform.is("ios")){const e=this.iab.create(r,"_blank",{closebuttoncaption:"CLOSE PUB VIEW",enableViewportScale:"yes",location:"no",hidenavigationbuttons:"yes",clearcache:"yes",clearsessioncache:"yes",toolbartranslucent:"no"});e.show(),e.on("loaderror").subscribe(e=>{this.error.showPopup(e)}),e.on("message").subscribe(e=>{this.error.showPopup(e)})}else if(this.platform.is("android"))return this.viewModal(t+"/_"+n[0])}))).catch(e=>({err:JSON.stringify(e),type:"dl",mes:"Download Failed"}))}))}getDownloadId(e){return r.__awaiter(this,void 0,void 0,(function*(){return this.auth.node$.pipe(Object(u.a)(t=>this.engine.fetchObject(t+"pubs/back/"+e+"/id")),Object(l.a)()).toPromise()}))}requestDownloadTokenBase(e,t=!1){return r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.loadingCtrl.create({message:"Requesting Access",backdropDismiss:!0});yield n.present();const r={};yield this.checkDLToken();const i=(yield this.auth.userNode$.pipe(Object(h.a)(1)).toPromise())+`pubRequest${t?"Array":""}${this.isM?"Mobile":""}/`+e.$key;r[i]=e.id,yield this.auth.updateDB(r);const o=yield this.engine.monitorObjectChange(i,e.id).toPromise();
2if(r[i]=null,n.dismiss(),o&&null!==o&&"invalid"!==o&&"illegal"!==o&&"locked"!==o&&"denied"!==o)return{url:o,up:r};throw{code:o?"dl_"+o:null,up:r}}))}requestDownloadToken(e){return r.__awaiter(this,void 0,void 0,(function*(){return yield this.requestDownloadTokenBase(e,!1)}))}requestDownloadTokenArray(e){return r.__awaiter(this,void 0,void 0,(function*(){return yield this.requestDownloadTokenBase(e,!0)}))}checkDLToken(){return r.__awaiter(this,void 0,void 0,(function*(){const e={},[t,n]=yield Promise.all([this.auth.user$.pipe(Object(l.a)()).toPromise(),this.auth.getUserNode()]);(t.pubRequestArrayMobile||t.pubRequestMobile||t.pubRequest)&&(e[n+"/pubRequestArrayMobile"]=null,e[n+"/pubRequestMobile"]=null,e[n+"/pubRequest"]=null,yield this.auth.updateDB(e))}))}viewModal(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.file.listDir(this.file.dataDirectory,e),n=[];t.forEach(e=>{n.push({key:e.name,url:e.toURL()})});const r=this.engine._sortBy(n,"key"),i=yield this.modalCtrl.create({component:v.a,componentProps:{authCtrl:this.auth,images:r},cssClass:"light-theme-modal"});yield i.present()}))}subscribeUser(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const[i,o]=yield Promise.all([this.getFront().pipe(Object(l.a)()).toPromise(),this.auth.getNode()]),a={};return i.forEach(i=>r.__awaiter(this,void 0,void 0,(function*(){const r=this.engine._keys(i.groups),s=this.engine._keys(i.sites),l=this.engine._intersection(r,t),u=this.engine._intersection(s,n);this.engine._merge(a,this._subUser(o,i,e,!this.engine._isEmpty(l)&&!this.engine._isEmpty(u)||null))}))),a}))}_subUser(e,t,n,r){const i=t.$key,o={};return o[e+"users/back/"+n.$key+"/subbedpubs/"+i]=r,o[e+"pubs/back/"+i+"/subscribers/"+n.$key]=r,n.preferences&&n.preferences.push&&n.preferences.push[i]?o[e+"pubs/back/"+i+"/push/"+n.$key]=n.preferences&&n.preferences.push&&!1===n.preferences.push[i]?null:r:(o[e+"users/back/"+n.$key+"/preferences/push/"+i]=r,o[e+"users/front/"+n.$key+"/preferences/push/"+i]=r,o[e+"pubs/back/"+i+"/push/"+n.$key]=r),o}}return e.ngInjectableDef=k.Zb({factory:function(){return new e(k.ac(M.a),k.ac(i.a),k.ac(S.a),k.ac(o.a),k.ac(a.a),k.ac(s.a),k.ac(m.a),k.ac(g.a),k.ac(T.b),k.ac(x.b),k.ac(f.Jb),k.ac(f.b),k.ac(f.Ob),k.ac(_.a),k.ac(y.a),k.ac(L.c),k.ac(f.g),k.ac(f.Kb),k.ac(D.b),k.ac(b.a),k.ac(w.a))},token:e,providedIn:"root"}),e})()},SPmy:function(e,t,n){(function(e){var n="[object Arguments]",r="[object Map]",i="[object Object]",o="[object Set]",a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,l=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,f={};f["[object Float32Array]"]=f["[object Float64Array]"]=f["[object Int8Array]"]=f["[object Int16Array]"]=f["[object Int32Array]"]=f["[object Uint8Array]"]=f["[object Uint8ClampedArray]"]=f["[object Uint16Array]"]=f["[object Uint32Array]"]=!0,f[n]=f["[object Array]"]=f["[object ArrayBuffer]"]=f["[object Boolean]"]=f["[object DataView]"]=f["[object Date]"]=f["[object Error]"]=f["[object Function]"]=f[r]=f["[object Number]"]=f[i]=f["[object RegExp]"]=f[o]=f["[object String]"]=f["[object WeakMap]"]=!1;var p="object"==typeof global&&global&&global.Object===Object&&global,m="object"==typeof self&&self&&self.Object===Object&&self,g=p||m||Function("return this")(),_=t&&!t.nodeType&&t,y=_&&"object"==typeof e&&e&&!e.nodeType&&e,v=y&&y.exports===_&&p.process,b=function(){try{return v&&v.binding("util")}catch(e){}}(),w=b&&b.isTypedArray;function k(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function M(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function S(e){return function(t){return e(t)}}function T(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function x(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function L(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var D,C,O,E=Array.prototype,j=Function.prototype,A=Object.prototype,P=g["__core-js_shared__"],I=(D=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(sr
2c)_1."+D:"",Y=j.toString,R=A.hasOwnProperty,N=A.toString,F=RegExp("^"+Y.call(R).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),H=g.Symbol,$=g.Uint8Array,z=A.propertyIsEnumerable,W=E.splice,U=(C=Object.keys,O=Object,function(e){return C(O(e))}),B=ke(g,"DataView"),V=ke(g,"Map"),q=ke(g,"Promise"),G=ke(g,"Set"),K=ke(g,"WeakMap"),J=ke(Object,"create"),Q=Oe(B),X=Oe(V),Z=Oe(q),ee=Oe(G),te=Oe(K),ne=H?H.prototype:void 0,re=ne?ne.valueOf:void 0,ie=ne?ne.toString:void 0;function oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function se(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function le(e){var t=-1,n=e?e.length:0;for(this.__data__=new se;++t<n;)this.add(e[t])}function ue(e){this.__data__=new ae(e)}function ce(e,t){for(var n=e.length;n--;)if(je(e[n][0],t))return n;return-1}oe.prototype.clear=function(){this.__data__=J?J(null):{}},oe.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},oe.prototype.get=function(e){var t=this.__data__;if(J){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return R.call(t,e)?t[e]:void 0},oe.prototype.has=function(e){var t=this.__data__;return J?void 0!==t[e]:R.call(t,e)},oe.prototype.set=function(e,t){return this.__data__[e]=J&&void 0===t?"__lodash_hash_undefined__":t,this},ae.prototype.clear=function(){this.__data__=[]},ae.prototype.delete=function(e){var t=this.__data__,n=ce(t,e);return!(n<0||(n==t.length-1?t.pop():W.call(t,n,1),0))},ae.prototype.get=function(e){var t=this.__data__,n=ce(t,e);return n<0?void 0:t[n][1]},ae.prototype.has=function(e){return ce(this.__data__,e)>-1},ae.prototype.set=function(e,t){var n=this.__data__,r=ce(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},se.prototype.clear=function(){this.__data__={hash:new oe,map:new(V||ae),string:new oe}},se.prototype.delete=function(e){return we(this,e).delete(e)},se.prototype.get=function(e){return we(this,e).get(e)},se.prototype.has=function(e){return we(this,e).has(e)},se.prototype.set=function(e,t){return we(this,e).set(e,t),this},le.prototype.add=le.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},le.prototype.has=function(e){return this.__data__.has(e)},ue.prototype.clear=function(){this.__data__=new ae},ue.prototype.delete=function(e){return this.__data__.delete(e)},ue.prototype.get=function(e){return this.__data__.get(e)},ue.prototype.has=function(e){return this.__data__.has(e)},ue.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ae){var r=n.__data__;if(!V||r.length<199)return r.push([e,t]),this;n=this.__data__=new se(r)}return n.set(e,t),this};var de,he=(de=function(e,t){return e&&fe(e,t,ze)},function(e,t){if(null==e)return e;if(!Ie(e))return de(e,t);for(var n=e.length,r=-1,i=Object(e);++r<n&&!1!==t(i[r],r,i););return e}),fe=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}return e};function pe(e,t){for(var n=0,r=(t=Te(t,e)?[t]:ye(t)).length;null!=e&&n<r;)e=e[Ce(t[n++])];return n&&n==r?e:void 0}function me(e,t){return null!=e&&t in Object(e)}function ge(e,t,a,s,l){return e===t||(null==e||null==t||!Ne(e)&&!Fe(t)?e!=e&&t!=t:function(e,t,a,s,l,u){var c=Pe(e),d=Pe(t),h="[object Array]",f="[object Array]";c||(h=(h=Me(e))==n?i:h),d||(f=(f=Me(t))==n?i:f);var p=h==i&&!T(e),m=f==i&&!T(t),g=h==f;if(g&&!p)return u||(u=new ue),c||$e(e)?be(e,t,a,s,l,u):function(e,t,n,i,a,s,l){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new $(e),new $(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return je(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case r:var u=x;case o:if(u||(u=L),e.size!=t.size&&!(2&s))return!1;var c=l.get(e);if(c)return c==t;s|=1,l.set(e,t);var d=be(u(e),u(t),i,a,s,l);return l.delete(e),d;case"[object Symbol]":if(re)return re.call(e)==re.call(t)}return!1}(e,t,h,a,s,l,u);if(!(2&l)){var _=p&&R.call(e,"__wrapped__"),y=m&&R.call(t,"__wrapped__");
2if(_||y){var v=_?e.value():e,b=y?t.value():t;return u||(u=new ue),a(v,b,s,l,u)}}return!!g&&(u||(u=new ue),function(e,t,n,r,i,o){var a=2&i,s=ze(e),l=s.length;if(l!=ze(t).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in t:R.call(t,c)))return!1}var d=o.get(e);if(d&&o.get(t))return d==t;var h=!0;o.set(e,t),o.set(t,e);for(var f=a;++u<l;){var p=e[c=s[u]],m=t[c];if(r)var g=a?r(m,p,c,t,e,o):r(p,m,c,e,t,o);if(!(void 0===g?p===m||n(p,m,r,i,o):g)){h=!1;break}f||(f="constructor"==c)}if(h&&!f){var _=e.constructor,y=t.constructor;_==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof y&&y instanceof y||(h=!1)}return o.delete(e),o.delete(t),h}(e,t,a,s,l,u))}(e,t,ge,a,s,l))}function _e(e){return"function"==typeof e?e:null==e?We:"object"==typeof e?Pe(e)?function(e,t){return Te(e)&&xe(t)?Le(Ce(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:pe(e,t);return void 0===r?void 0:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,i=-1,o=(t=Te(t,e)?[t]:ye(t)).length;++i<o;){var a=Ce(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}return r||!!(o=e?e.length:0)&&Re(o)&&Se(a,o)&&(Pe(e)||Ae(e))}(e,t,me)}(n,e):ge(t,r,void 0,3)}}(e[0],e[1]):1==(n=function(e){for(var t=ze(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,xe(i)]}return t}(t=e)).length&&n[0][2]?Le(n[0][0],n[0][1]):function(e){return e===t||function(e,t,n,r){var i=n.length,o=i;if(null==e)return!o;for(e=Object(e);i--;){var a=n[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var s=(a=n[i])[0],l=e[s];if(a[2]){if(void 0===l&&!(s in e))return!1}else if(!ge(a[1],l,void 0,3,new ue))return!1}return!0}(e,0,n)}:Te(r=e)?(i=Ce(r),function(e){return null==e?void 0:e[i]}):function(e){return function(t){return pe(t,e)}}(r);var t,n,r,i}function ye(e){return Pe(e)?e:De(e)}function ve(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=He(e),a=void 0!==t,s=null===t,l=t==t,u=He(t);if(!s&&!u&&!o&&e>t||o&&a&&l&&!s&&!u||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!u&&e<t||u&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!l)return-1}return 0}function be(e,t,n,r,i,o){var a=2&i,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var c=-1,d=!0,h=1&i?new le:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var f=e[c],p=t[c];if(r)var m=a?r(p,f,c,t,e,o):r(f,p,c,e,t,o);if(void 0!==m){if(m)continue;d=!1;break}if(h){if(!M(t,(function(e,t){if(!h.has(t)&&(f===e||n(f,e,r,i,o)))return h.add(t)}))){d=!1;break}}else if(f!==p&&!n(f,p,r,i,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function we(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ke(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Ne(e)||function(e){return!!I&&I in e}(e))&&(Ye(e)||T(e)?F:d).test(Oe(e))}(n)?n:void 0}var Me=function(e){return N.call(e)};function Se(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||h.test(e))&&e>-1&&e%1==0&&e<t}function Te(e,t){if(Pe(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!He(e))||s.test(e)||!a.test(e)||null!=t&&e in Object(t)}function xe(e){return e==e&&!Ne(e)}function Le(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(B&&"[object DataView]"!=Me(new B(new ArrayBuffer(1)))||V&&Me(new V)!=r||q&&"[object Promise]"!=Me(q.resolve())||G&&Me(new G)!=o||K&&"[object WeakMap]"!=Me(new K))&&(Me=function(e){var t=N.call(e),n=t==i?e.constructor:void 0,a=n?Oe(n):void 0;if(a)switch(a){case Q:return"[object DataView]";case X:return r;case Z:return"[object Promise]";case ee:return o;case te:return"[object WeakMap]"}return t});var De=Ee((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(He(e))return ie?ie.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return l.test(e)&&n.push(""),e.replace(u,(function(e,t,r,i){n.push(r?i.replace(c,"$1"):t||e)})),n}));function Ce(e){if("string"==typeof e||He(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Oe(e){if(null!=e){try{return Y.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Ee(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(Ee.Cache||se),n}function je(e,t){return e===t||e!=e&&t!=t}function Ae(e){return function(e){return Fe(e)&&Ie(e)}(e)&&R.call(e,"callee")&&(!z.call(e,"callee")||N.call(e)==n)}Ee.Cache=se;var Pe=Array.isArray;function Ie(e){return null!=e&&Re(e.length)&&!Ye(e)}function Ye(e){var t=Ne(e)?N.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ne(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Fe(e){return!!e&&"object"==typeof e}function He(e){return"symbol"==typeof e||Fe(e)&&"[object Symbol]"==N.call(e)}var $e=w?S(w):function(e){return Fe(e)&&Re(e.length)&&!!f[N.call(e)]};function ze(e){return Ie(e)?function(e,t){var n=Pe(e)||Ae(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!R.call(e,o)||i&&("length"==o||Se(o,r))||n.push(o);return n}(e):function(e){if((t=e)!==("function"==typeof(n=t&&t.constructor)&&n.prototype||A))return U(e);var t,n,r=[];for(var i in Object(e))R.call(e,i)&&"constructor"!=i&&r.push(i);return r}(e)}function We(e){return e}e.exports=function(e,t,n,r){return null==e?[]:(Pe(t)||(t=null==t?[]:[t]),Pe(n=r?void 0:n)||(n=null==n?[]:[n]),function(e,t,n){var r=-1;return t=k(t.length?t:[We],S(_e)),function(e,t){var r=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=ve(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));r--;)e[r]=e[r].value;return e}(function(e,t){var n=-1,r=Ie(e)?Array(e.length):[];return he(e,(function(e,i,o){r[++n]=t(e)}
2)),r}(e,(function(e,n,i){return{criteria:k(t,(function(t){return t(e)})),index:++r,value:e}})))}(e,t,n))}}).call(this,n("YuTi")(e))},SVse:function(e,t,n){"use strict";n.d(t,"s",(function(){return H})),n.d(t,"l",(function(){return z})),n.d(t,"m",(function(){return $})),n.d(t,"t",(function(){return W})),n.d(t,"c",(function(){return re})),n.d(t,"j",(function(){return B})),n.d(t,"k",(function(){return q})),n.d(t,"d",(function(){return ie})),n.d(t,"b",(function(){return te})),n.d(t,"e",(function(){return ne})),n.d(t,"r",(function(){return oe})),n.d(t,"q",(function(){return ae})),n.d(t,"p",(function(){return se})),n.d(t,"o",(function(){return i})),n.d(t,"g",(function(){return o})),n.d(t,"i",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"n",(function(){return d})),n.d(t,"h",(function(){return l}));var r=n("8Y7J");class i{}const o=new r.v("Location Initialized");class a{}const s=new r.v("appBaseHref");class l{constructor(e,t){this._subject=new r.r,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=l.stripTrailingSlash(u(n)),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+l.normalizeQueryParams(t))}normalize(e){return l.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,u(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+l.normalizeQueryParams(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+l.normalizeQueryParams(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}static normalizeQueryParams(e){return e&&"?"!==e[0]?"?"+e:e}static joinWithSlash(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}static stripTrailingSlash(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}}function u(e){return e.replace(/\/index.html$/,"")}class c extends a{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=l.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){let i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}class d extends a{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 l.joinWithSlash(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+l.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.pushState(e,t,i)}replaceState(e,t,n,r){const i=this.prepareExternalUrl(n+l.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}const h=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),f=function(){var e={Format:0,Standalone:1};return e[e.Format]="Format",e[e.Standalone]="Standalone",e}(),p=function(){var e={Narrow:0,Abbreviated:1,Wide:2,Short:3};return e[e.Narrow]="Narrow",e[e.Abbreviated]="Abbreviated",e[e.Wide]="Wide",e[e.Short]="Short",e}(),m=function(){var e={Short:0,Medium:1,Long:2,Full:3};return e[e.Short]="Short",e[e.Medium]="Medium",e[e.Long]="Long",e[e.Full]="Full",e}(),g=function(){var e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};return e[e.Decimal]="Decimal",e[e.Group]="Group",e[e.List]="List",e[e.PercentSign]="PercentSign",e[e.PlusSign]="PlusSign",e[e.MinusSign]="MinusSign",e[e.Exponential]="Exponential",e[e.SuperscriptingExponent]="SuperscriptingExponent",e[e.PerMille]="PerMille",e[e.Infinity]="Infinity",e[e.NaN]="NaN",e[e.TimeSeparator]="TimeSeparator",e[e.CurrencyDecimal]="CurrencyDecimal",e[e.CurrencyGroup]="CurrencyGroup",e}();function _(e,t){return M(Object(r.Db)(e)[r.nb.DateFormat],t)}function y(e,t){return M(Object(r.Db)(e)[r.nb.TimeFormat],t)}function v(e,t){return M(Object(r.Db)(e)[r.nb.DateTimeFormat],t)}function b(e,t){const n=Object(r.Db)(e),i=n[r.nb.NumberSymbols][t];if(void 0===i){if(t===g.CurrencyDecimal)return n[r.nb.NumberSymbols][g.Decimal];if(t===g.CurrencyGroup)return n[r.nb.NumberSymbols][g.Group]}return i}const w=r.Eb;function k(e){if(!e[r.nb.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[r.nb.
2LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function M(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function S(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const T=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,x={},L=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,D=function(){var e={Short:0,ShortGMT:1,Long:2,Extended:3};return e[e.Short]="Short",e[e.ShortGMT]="ShortGMT",e[e.Long]="Long",e[e.Extended]="Extended",e}(),C=function(){var e={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,FractionalSeconds:6,Day:7};return e[e.FullYear]="FullYear",e[e.Month]="Month",e[e.Date]="Date",e[e.Hours]="Hours",e[e.Minutes]="Minutes",e[e.Seconds]="Seconds",e[e.FractionalSeconds]="FractionalSeconds",e[e.Day]="Day",e}(),O=function(){var e={DayPeriods:0,Days:1,Months:2,Eras:3};return e[e.DayPeriods]="DayPeriods",e[e.Days]="Days",e[e.Months]="Months",e[e.Eras]="Eras",e}();function E(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function j(e,t,n="-",r,i){let o="";(e<0||i&&e<=0)&&(i?e=1-e:(e=-e,o=n));let a=String(e);for(;a.length<t;)a="0"+a;return r&&(a=a.substr(a.length-t)),o+a}function A(e,t,n=0,r=!1,i=!1){return function(o,a){let s=function(e,t){switch(e){case C.FullYear:return t.getFullYear();case C.Month:return t.getMonth();case C.Date:return t.getDate();case C.Hours:return t.getHours();case C.Minutes:return t.getMinutes();case C.Seconds:return t.getSeconds();case C.FractionalSeconds:return t.getMilliseconds();case C.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,o);if((n>0||s>-n)&&(s+=n),e===C.Hours)0===s&&-12===n&&(s=12);else if(e===C.FractionalSeconds)return l=t,j(s,3).substr(0,l);var l;const u=b(a,g.MinusSign);return j(s,t,u,r,i)}}function P(e,t,n=f.Format,i=!1){return function(o,a){return function(e,t,n,i,o,a){switch(n){case O.Months:return function(e,t,n){const i=Object(r.Db)(e),o=M([i[r.nb.MonthsFormat],i[r.nb.MonthsStandalone]],t);return M(o,n)}(t,o,i)[e.getMonth()];case O.Days:return function(e,t,n){const i=Object(r.Db)(e),o=M([i[r.nb.DaysFormat],i[r.nb.DaysStandalone]],t);return M(o,n)}(t,o,i)[e.getDay()];case O.DayPeriods:const s=e.getHours(),l=e.getMinutes();if(a){const e=function(e){const t=Object(r.Db)(e);return k(t),(t[r.nb.ExtraData][2]||[]).map(e=>"string"==typeof e?S(e):[S(e[0]),S(e[1])])}(t),n=function(e,t,n){const i=Object(r.Db)(e);k(i);const o=M([i[r.nb.ExtraData][0],i[r.nb.ExtraData][1]],t)||[];return M(o,n)||[]}(t,o,i);let a;if(e.forEach((e,t)=>{if(Array.isArray(e)){const{hours:r,minutes:i}=e[0],{hours:o,minutes:u}=e[1];s>=r&&l>=i&&(s<o||s===o&&l<u)&&(a=n[t])}else{const{hours:r,minutes:i}=e;r===s&&i===l&&(a=n[t])}}),a)return a}return function(e,t,n){const i=Object(r.Db)(e),o=M([i[r.nb.DayPeriodsFormat],i[r.nb.DayPeriodsStandalone]],t);return M(o,n)}(t,o,i)[s<12?0:1];case O.Eras:return function(e,t){return M(Object(r.Db)(e)[r.nb.Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+n)}}(o,a,e,t,n,i)}}function I(e){return function(t,n,r){const i=-1*r,o=b(n,g.MinusSign),a=i>0?Math.floor(i/60):Math.ceil(i/60);switch(e){case D.Short:return(i>=0?"+":"")+j(a,2,o)+j(Math.abs(i%60),2,o);case D.ShortGMT:return"GMT"+(i>=0?"+":"")+j(a,1,o);case D.Long:return"GMT"+(i>=0?"+":"")+j(a,2,o)+":"+j(Math.abs(i%60),2,o);case D.Extended:return 0===r?"Z":(i>=0?"+":"")+j(a,2,o)+":"+j(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${e}"`)}}}function Y(e,t=!1){return function(n,r){let i;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();i=1+Math.floor((t+e)/7)}else{const e=function(e){const t=new Date(e,0,1).getDay();return new Date(e,0,1+(t<=4?4:11)-t)}(n.getFullYear()),t=(o=n,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(4-o.getDay()))).getTime()-e.getTime();i=1+Math.round(t/6048e5)}var o;return j(i,e,b(r,g.MinusSign))}}const R={};function N(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function F(e){return e instanceof Date&&!isNaN(e.valueOf())}const H=new r.v("UseV4Plurals");class ${}class z extends ${constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):w(t||this.locale)(e)){case h.Zero:return"zero";case h.One:return"one";case h.Two:return"two";case h.Few:return"few";case h.Many:return"many";default:return"other"}}}function W(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,i]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(i)}return null}class U{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}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}}class B{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Object(r.gb)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#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 n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,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,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new U(null,this._ngForOf,-1,-1),r),i=new V(e,n);t.push(i)}else if(null==r)this._viewContainer.remove(n);else{const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const o=new V(e,i);t.push(o)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);
2e.context.index=n,e.context.count=r,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}}class V{constructor(e,t){this.record=e,this.view=t}}class q{constructor(e,t){this._viewContainer=e,this._context=new G,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){K("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){K("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)))}}class G{constructor(){this.$implicit=null,this.ngIf=null}}function K(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(r.Tb)(t)}'.`)}function J(e,t){return Error(`InvalidPipeArgument: '${t}' for pipe '${Object(r.Tb)(e)}'`)}class Q{createSubscription(e,t){return e.subscribe({next:t,error:e=>{throw e}})}dispose(e){e.unsubscribe()}onDestroy(e){e.unsubscribe()}}class X{createSubscription(e,t){return e.then(t,e=>{throw e})}dispose(e){}onDestroy(e){}}const Z=new X,ee=new Q;class te{constructor(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=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)):Object(r.Kb)(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,r.Z.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(Object(r.Jb)(e))return Z;if(Object(r.Ib)(e))return ee;throw J(te,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}class ne{constructor(e){this.locale=e}transform(e,t="mediumDate",n,i){if(null==e||""===e||e!=e)return null;try{return function(e,t,n,i){let o=function(e){if(F(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){const[t,n,r]=e.split("-").map(e=>+e);return new Date(t,n-1,r)}let n;if(n=e.match(T))return function(e){const t=new Date(0);let n=0,r=0;const i=e[8]?t.setUTCFullYear:t.setFullYear,o=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),i.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const a=Number(e[4]||0)-n,s=Number(e[5]||0)-r,l=Number(e[6]||0),u=Math.round(1e3*parseFloat("0."+(e[7]||0)));return o.call(t,a,s,l,u),t}(n)}const t=new Date(e);if(!F(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=function e(t,n){const i=function(e){return Object(r.Db)(e)[r.nb.LocaleId]}(t);if(x[i]=x[i]||{},x[i][n])return x[i][n];let o="";switch(n){case"shortDate":o=_(t,m.Short);break;case"mediumDate":o=_(t,m.Medium);break;case"longDate":o=_(t,m.Long);break;case"fullDate":o=_(t,m.Full);break;case"shortTime":o=y(t,m.Short);break;case"mediumTime":o=y(t,m.Medium);break;case"longTime":o=y(t,m.Long);break;case"fullTime":o=y(t,m.Full);break;case"short":const n=e(t,"shortTime"),r=e(t,"shortDate");o=E(v(t,m.Short),[n,r]);break;case"medium":const i=e(t,"mediumTime"),a=e(t,"mediumDate");o=E(v(t,m.Medium),[i,a]);break;case"long":const s=e(t,"longTime"),l=e(t,"longDate");o=E(v(t,m.Long),[s,l]);break;case"full":const u=e(t,"fullTime"),c=e(t,"fullDate");o=E(v(t,m.Full),[u,c])}return o&&(x[i][n]=o),o}(n,t)||t;let a,s=[];for(;t;
2){if(a=L.exec(t),!a){s.push(t);break}{s=s.concat(a.slice(1));const e=s.pop();if(!e)break;t=e}}let l=o.getTimezoneOffset();i&&(l=N(i,l),o=function(e,t,n){const r=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(N(t,r)-r))}(o,i));let u="";return s.forEach(e=>{const t=function(e){if(R[e])return R[e];let t;switch(e){case"G":case"GG":case"GGG":t=P(O.Eras,p.Abbreviated);break;case"GGGG":t=P(O.Eras,p.Wide);break;case"GGGGG":t=P(O.Eras,p.Narrow);break;case"y":t=A(C.FullYear,1,0,!1,!0);break;case"yy":t=A(C.FullYear,2,0,!0,!0);break;case"yyy":t=A(C.FullYear,3,0,!1,!0);break;case"yyyy":t=A(C.FullYear,4,0,!1,!0);break;case"M":case"L":t=A(C.Month,1,1);break;case"MM":case"LL":t=A(C.Month,2,1);break;case"MMM":t=P(O.Months,p.Abbreviated);break;case"MMMM":t=P(O.Months,p.Wide);break;case"MMMMM":t=P(O.Months,p.Narrow);break;case"LLL":t=P(O.Months,p.Abbreviated,f.Standalone);break;case"LLLL":t=P(O.Months,p.Wide,f.Standalone);break;case"LLLLL":t=P(O.Months,p.Narrow,f.Standalone);break;case"w":t=Y(1);break;case"ww":t=Y(2);break;case"W":t=Y(1,!0);break;case"d":t=A(C.Date,1);break;case"dd":t=A(C.Date,2);break;case"E":case"EE":case"EEE":t=P(O.Days,p.Abbreviated);break;case"EEEE":t=P(O.Days,p.Wide);break;case"EEEEE":t=P(O.Days,p.Narrow);break;case"EEEEEE":t=P(O.Days,p.Short);break;case"a":case"aa":case"aaa":t=P(O.DayPeriods,p.Abbreviated);break;case"aaaa":t=P(O.DayPeriods,p.Wide);break;case"aaaaa":t=P(O.DayPeriods,p.Narrow);break;case"b":case"bb":case"bbb":t=P(O.DayPeriods,p.Abbreviated,f.Standalone,!0);break;case"bbbb":t=P(O.DayPeriods,p.Wide,f.Standalone,!0);break;case"bbbbb":t=P(O.DayPeriods,p.Narrow,f.Standalone,!0);break;case"B":case"BB":case"BBB":t=P(O.DayPeriods,p.Abbreviated,f.Format,!0);break;case"BBBB":t=P(O.DayPeriods,p.Wide,f.Format,!0);break;case"BBBBB":t=P(O.DayPeriods,p.Narrow,f.Format,!0);break;case"h":t=A(C.Hours,1,-12);break;case"hh":t=A(C.Hours,2,-12);break;case"H":t=A(C.Hours,1);break;case"HH":t=A(C.Hours,2);break;case"m":t=A(C.Minutes,1);break;case"mm":t=A(C.Minutes,2);break;case"s":t=A(C.Seconds,1);break;case"ss":t=A(C.Seconds,2);break;case"S":t=A(C.FractionalSeconds,1);break;case"SS":t=A(C.FractionalSeconds,2);break;case"SSS":t=A(C.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=I(D.Short);break;case"ZZZZZ":t=I(D.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=I(D.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=I(D.Long);break;default:return null}return R[e]=t,t}(e);u+=t?t(o,n,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}(e,t,i||this.locale,n)}catch(o){throw J(ne,o.message)}}}class re{}const ie=new r.v("DocumentToken"),oe="browser";function ae(e){return"server"===e}let se=(()=>{class e{}return e.ngInjectableDef=Object(r.Zb)({token:e,providedIn:"root",factory:()=>new le(Object(r.ac)(ie),window,Object(r.ac)(r.q))}),e})();class le{constructor(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);const n=this.document.querySelector(`[name='${e}']`);if(n)return void this.scrollToElement(n)}catch(t){this.errorHandler.handleError(t)}}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}},SZJ3:function(e,t,n){"use strict";var r=n("mrSG"),i=n("ZZ/e"),o=n("qNh5"),a=n("LRne"),s=n("itXk"),l=n("lJxs"),u=n("JIr8"),c=n("UXun"),d=n("7o/Q");class h{constructor(e){this.total=e}call(e,t){return t.subscribe(new f(e,this.total))}}class f extends d.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){++this.count>this.total&&this.destination.next(e)}}var p=n("IzEk"),m=n("eIep"),g=n("SxV6"),_=n("B6f/"),y=n("vBWn"),v=n("yDJ3"),b=n("Y0Fm"),w=n("Na5p"),k=n("w2
26f"),M=n("L7TZ"),S=n("8piP"),T=n("IdTS"),x=n("I9vy"),L=n("A8o4"),D=n("59Te"),C=n("2oH+"),O=n("myLu"),E=n("iB3+"),j=n("YYej"),A=n("xQ8M"),P=n("J/vQ"),I=n("tfKx"),Y=n("8Y7J"),R=n("PVcy");n.d(t,"a",(function(){return N}));let N=(()=>{class e{constructor(e,t,n,r,i){this.afdb=e,this.auth=t,this.errorHandler=n,this.platform=r,this.events=i,this.cache=new Map,this.logout=!1,this.dis=!1,i.subscribe("user:logout",()=>{this.logout=!0})}errorStack(e){return r.__awaiter(this,void 0,void 0,(function*(){return this.auth.isLoggedIn$.pipe(Object(l.a)(t=>this.errorHandler.showPopup(e)))}))}fetchListBasic(e){return this.afdb.list(e).snapshotChanges().pipe(Object(l.a)(e=>e.map(e=>{const t=e.payload.key;return{key:t.toUpperCase(),val:t}})),Object(u.a)(e=>(this.logout||this.errorHandler.showPopup(e),Object(a.a)([]))))}fetchListWithKeys(e){return this.afdb.list(e).snapshotChanges().pipe(Object(l.a)(e=>e.map(e=>{const t=e.payload.key,n=e.payload.val();return Object.assign({$key:t},n)})),Object(u.a)(e=>(this.logout||this.errorHandler.showPopup(e),Object(a.a)([]))))}fetchList(e){return this.afdb.list(e).snapshotChanges().pipe(Object(l.a)(e=>e.map(e=>e.payload.key)),Object(u.a)(e=>(this.logout||this.errorHandler.showPopup(e),Object(a.a)([]))))}fetchListWithKeysByChild(e,t,n){return this.afdb.list(e,e=>e.orderByChild(t).equalTo(n)).snapshotChanges().pipe(Object(l.a)(e=>e.map(e=>{const t=e.payload.key,n=e.payload.val();return Object.assign({$key:t},n)})),Object(u.a)(e=>(this.logout||this.errorHandler.showPopup(e),Object(a.a)([]))),Object(c.a)(1))}fetchListWithKeysByOrder(e,t){return this.afdb.list(e,e=>e.orderByChild(t)).snapshotChanges().pipe(Object(l.a)(e=>e.map(e=>{const t=e.payload.key,n=e.payload.val();return Object.assign({$key:t},n)})),Object(u.a)(e=>(this.logout||this.errorHandler.showPopup(e),Object(a.a)([]))))}fetchArrayWithIndexKeys(e){return this.afdb.list(e).snapshotChanges().pipe(Object(l.a)(e=>e.map(e=>{const t=e.payload.key,n=e.payload.val();return Object.assign({$key:t},n)})),Object(l.a)(e=>this._keyBy(e,"$key")),Object(u.a)(e=>(this.logout||this.errorHandler.showPopup(e),Object(a.a)([]))))}fetchListWithKeysByKey(e,t){return this.afdb.list(e,e=>e.orderByKey().equalTo(t)).snapshotChanges().pipe(Object(l.a)(e=>e.map(e=>{const t=e.payload.key,n=e.payload.val();return Object.assign({$key:t},n)})),Object(u.a)(e=>(this.logout||this.errorHandler.showPopup(e),Object(a.a)([]))))}fetchListWithKeysFirstQuantity(e,t){return this.afdb.list(e,e=>e.limitToFirst(t)).snapshotChanges().pipe(Object(l.a)(e=>e.map(e=>{const t=e.payload.key,n=e.payload.val();return Object.assign({$key:t},n)})),Object(u.a)(e=>(this.logout||this.errorHandler.showPopup(e),Object(a.a)([]))))}fetchListWithKeysLastQuantity(e,t){return this.afdb.list(e,e=>e.limitToLast(t)).snapshotChanges().pipe(Object(l.a)(e=>e.map(e=>{const t=e.payload.key,n=e.payload.val();return Object.assign({$key:t},n)})),Object(u.a)(e=>(this.logout||this.errorHandler.showPopup(e),Object(a.a)([]))))}fetchObjectWithKey(e){return this.afdb.object(e).snapshotChanges().pipe(Object(l.a)(e=>{const t=e.payload.key,n=e.payload.val();return Object.assign({$key:t},n)}),Object(u.a)(e=>(this.logout||this.errorHandler.showPopup(e),Object(a.a)(null))))}fetchObject(e){return this.afdb.object(e).valueChanges().pipe(Object(u.a)(e=>(this.logout||this.errorHandler.showPopup(e),Object(a.a)(null))),Object(c.a)(1))}fetchObjectWithItems(e){return this.afdb.object(e).snapshotChanges().pipe(Object(u.a)(e=>(this.logout||this.errorHandler.showPopup(e),Object(a.a)(null))),Object(l.a)(e=>{const t=e.payload.key,n=e.payload.val(),r=y(n.items),i=O(r.map(e=>Object.assign({key:e},n.items[e])),"order");return Object.assign({$key:t},n,{items:i})}))}fetchObjectElements(e){return this.afdb.object(e).snapshotChanges().pipe(Object(u.a)(e=>(this.logout||this.errorHandler.showPopup(e),Object(a.a)(null))),Object(l.a)(e=>{const t=e.payload.val(),n=y(t.elements);return O(n.map(e=>Object.assign({$key:e},t.elements[e])),"order")}))}monitorObjectChange(e,t){return this.afdb.object(e).snapshotChanges().pipe(Object(u.a)(e=>(this.logout||this.errorHandler.showPopup(e),Object(a.a)(null))),e=>e.lift(new h(1)),Object(p.a)(1),Object(l.a)(e=>{const n=e.payload.val();return n!==t?n:null}))}fetchUserJSON(e){return this.auth.node$.pipe(Object(m.a)(t=>this.fetchObjectWithKey(t+"users/back/"+e)),Object(p.a)(1)).toPromise()}uJSON(e){return this.fetchUserJSON_GS(e).pipe(Object(g.a)()).toPromise()}fetchUserJSON_GS(e){if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(m.a)(t=>Object(s.a)([this.fetchList(t+"users/back/"+e+"/groups"),this.fetchList(t+"users/back/"+e+"/sites"),this.fetchListWithKeys(t+"users/back/"+e+"/preferences")])),Object(l.a)(([t,n,r])=>({$key:e,groups:t,sites:n,preferences:this._keyBy(r,"$key")})),Object(c.a)(1));return this.cache[e]=t,t}subscribeUserToPubs(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n={},r=yield this.auth.getNode();
2return e.forEach(e=>{n[r+"pubs/back/"+e.$key+"/subscribers/"+t.$key]=!0,n[r+"users/back/"+t.$key+"/subbedpubs/"+e.$key]=!0,n[r+"pubs/back/"+e.$key+"/push/"+t.$key]=!(!this._isUndef(t.preferences.push[e.$key])&&!e.required)||!0===t.preferences.push[e.$key]||null}),n}))}unsubscribeUserFromPubs(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n={},r=yield this.auth.getNode();return e.forEach(e=>{n[r+"pubs/back/"+e.$key+"/subscribers/"+t.$key]=null,n[r+"users/back/"+t.$key+"/subbedpubs/"+e.$key]=null,n[r+"pubs/back/"+e.$key+"/push/"+t.$key]=null}),n}))}singleFieldUpdate(e,t,n,i){return r.__awaiter(this,void 0,void 0,(function*(){const r={},o=yield this.auth.getNode();return r[o+e+"/front/"+t+"/"+n]=i,r[o+e+"/back/"+t+"/"+n]=i,this.auth.updateDB(r)}))}singleFieldBackUpdate(e,t,n,i){return r.__awaiter(this,void 0,void 0,(function*(){const r={};return r[(yield this.auth.getNode())+e+"/back/"+t+"/"+n]=i,this.auth.updateDB(r)}))}singleFieldWithTimestampUpdate(e,t,n,i){return r.__awaiter(this,void 0,void 0,(function*(){const r={},o=yield this.auth.ts(),a=yield this.auth.getNode();return r[a+e+"/front/"+t+"/"+n]=i,r[a+e+"/back/"+t+"/"+n]=i,r[a+e+"/front/"+t+"/timestamp"]=o,r[a+e+"/back/"+t+"/timestamp"]=o,this.auth.updateDB(r)}))}bulkUpdate(e){return this.auth.updateDB(e)}intersectMembers(e,t,n,r){return Object(s.a)(e.pipe(Object(l.a)(e=>this._keyBy(e,"$key")),Object(l.a)(e=>{let t=[];return n.forEach(n=>{e[n]&&e[n].members&&t.push(this._keys(e[n].members))}),this._uniq(this._flatten(t))})),t.pipe(Object(l.a)(e=>this._keyBy(e,"$key")),Object(l.a)(e=>{let t=[];return r.forEach(n=>{e[n]&&e[n].members&&t.push(this._keys(e[n].members))}),this._uniq(this._flatten(t))}))).pipe(Object(l.a)(e=>this._intersection(e[0],e[1])))}intersect(e,t,n,r,i){return Object(s.a)(e.pipe(Object(l.a)(e=>this._keyBy(e,"$key")),Object(l.a)(e=>{let t=[];return n.forEach(n=>{e[n]&&e[n][i]&&t.push(this._keys(e[n][i]))}),this._uniq(this._flatten(t))})),t.pipe(Object(l.a)(e=>this._keyBy(e,"$key")),Object(l.a)(e=>{let t=[];return r.forEach(n=>{e[n]&&e[n][i]&&t.push(this._keys(e[n][i]))}),this._uniq(this._flatten(t))}))).pipe(Object(l.a)(e=>this._intersection(e[0],e[1])))}intersectSiteMembers(e,t){e.pipe(Object(l.a)(e=>this._keyBy(e,"$key")),Object(l.a)(e=>{let n;return t.forEach(t=>{n.push(this._keys(e[t].members))}),this._uniq(this._flatten(n))}))}moveToTrash(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n={},r=yield this.auth.getNode();return n[r+t+"/back/"+e.$key]=null,n[r+t+"/front/"+e.$key]=null,n}))}getItemAsJSON(e,t){if(A(e))return e[this._findIndex(e,{$key:t})]}isObj(e){return A(e)}getMembersOfList(e,t){let n=[];return e.forEach(e=>{n.push(this._keys(this._get(this.getItemAsJSON(t,e),"members")))}),this._uniq(this._flatten(n))}getMembers(e,t){return this._keys(this._keyBy(e,"$key")[t].members)}convertToCSV(e,t){}ConvertToCSV(e,t,n,r){const i="object"!=typeof e?JSON.parse(e):e;let o="",a="Data:,";r&&(a=r,a=a.slice(0,-1),o+=a+"\r\n"),a="Columns:,";for(const s in t)a+=t[s]&&n?n[s]+",":t[s]+",";a=a.slice(0,-1),o+=a+"\r\n";for(let s=0;s<i.length;s++){let e=s+1+"";for(const n in t)if(t[n]){const r=t[n],o=r.split(".");o.length>1?2===o.length?e+=","+(i[s][o[0]]&&i[s][o[0]][o[1]]?i[s][o[0]][o[1]]:""):3===o.length&&(e+=","+(i[s][o[0]]&&i[s][o[0]][o[1]]&&i[s][o[0]][o[1]][o[2]]?i[s][o[0]][o[1]][o[2]]:"")):e+=","+(i[s][r]?i[s][r]:"")}o+=e+"\r\n"}return o}obtainHeadersCSV(e){const t="object"!=typeof e?JSON.parse(e):e;return this.GetHeader(t)}GetHeader(e){e.forEach(e=>this.recursivelyGetHeader(e))}recursivelyGetHeader(e,t){const n=[];return Object.keys(e).forEach(r=>{this.isObj(e[r])?this.recursivelyGetHeader(e[r],r):n.push(t?t+"."+r:r)}),n}_get(e,t){return v(e,t)}_findIndex(e,t){return _(e,t)}_flatten(e){return M(e)}_has(e,t){return b(e,t)}_intersection(e,t){return S(e,t)}_isEmpty(e){return x(e)}_isUndef(e){return L(e)}_keys(e){return y(e)}_keyBy(e,t){return j(e,t)}_map(e,t){return w(e,t)}_merge(e,t){return C(e,t)}_nth(e,t){return E(e,t)}_pull(e,t){return D(e,t)}_pullAll(e,t){return T(e,t)}_pullAllWith(e,t,n){return P(e,t,n)}_sortBy(e,t){return O(e,t)}_uniq(e){return k(e)}}return e.ngInjectableDef=Y.Zb({factory:function(){return new e(Y.ac(R.a),Y.ac(o.a),Y.ac(I.a),Y.ac(i.Ob),Y.ac(i.g))},token:e,providedIn:"root"}),e})()},SatO:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1200?"\u4e0a\u5348":1200===r?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))}
2,SeVD:function(e,t,n){"use strict";var r=n("ngJS"),i=n("NJ4a"),o=n("Lhse"),a=n("kJWO"),s=n("I55L"),l=n("c2HN"),u=n("XoHu");n.d(t,"a",(function(){return c}));const c=e=>{if(e&&"function"==typeof e[a.a])return c=e,e=>{const t=c[a.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(s.a)(e))return Object(r.a)(e);if(Object(l.a)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,i.a),e);if(e&&"function"==typeof e[o.a])return t=e,e=>{const n=t[o.a]();for(;;){let t;try{t=n.next()}catch(r){return e.error(r),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=Object(u.a)(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,n,c}},SpAZ:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},SxV6:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("sVev"),i=n("pLZG"),o=n("IzEk"),a=n("xbPD"),s=n("XDbj"),l=n("SpAZ");function u(e,t){const n=arguments.length>=2;return u=>u.pipe(e?Object(i.a)((t,n)=>e(t,n,u)):l.a,Object(o.a)(1),n?Object(a.a)(t):Object(s.a)(()=>new r.a))}},UDhR:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},USCx:function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},UXun:function(e,t,n){"use strict";var r=n("XNiG"),i=n("qgXg"),o=n("quSY"),a=n("pxpQ"),s=n("9ppp"),l=n("Ylt2");class u extends r.a{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler
2=n,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){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new c(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,i=n.length;let u;if(this.closed)throw new s.a;if(this.isStopped||this.hasError?u=o.a.EMPTY:(this.observers.push(e),u=new l.a(this,e)),r&&e.add(e=new a.a(e,r)),t)for(let o=0;o<i&&!e.closed;o++)e.next(n[o]);else for(let o=0;o<i&&!e.closed;o++)e.next(n[o].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),u}_getNow(){return(this.scheduler||i.a).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,i=r.length;let o=0;for(;o<i&&!(e-r[o].time<n);)o++;return i>t&&(o=Math.max(o,i-t)),o>0&&r.splice(0,o),r}}class c{constructor(e,t){this.time=e,this.value=t}}function d(e,t,n){let r;return r=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:r}){let i,o,a=0,s=!1,l=!1;return function(c){let d;a++,!i||s?(s=!1,i=new u(e,t,r),d=i.subscribe(this),o=c.subscribe({next(e){i.next(e)},error(e){s=!0,i.error(e)},complete(){l=!0,o=void 0,i.complete()}})):d=i.subscribe(this),this.add(()=>{a--,d.unsubscribe(),o&&!l&&n&&0===a&&(o.unsubscribe(),o=void 0,i=void 0)})}}(r))}n.d(t,"a",(function(){return d}))},UbdM:function(e,t,n){"use strict";var r=n("8Y7J"),i=n("oBZk"),o=n("ZZ/e"),a=n("z53W");n.d(t,"a",(function(){return c}));var s=r.Ab({encapsulation:0,styles:[[""]],data:{}});function l(e){return r.Wb(0,[r.Sb(402653184,1,{textEle:0}),(e()(),r.Cb(1,0,null,null,6,"ion-header",[],null,null,null,i.pb,i.q)),r.Bb(2,49152,null,0,o.E,[r.j,r.p,r.F],null,null),(e()(),r.Cb(3,0,null,0,4,"ion-toolbar",[],null,
2null,null,i.Xb,i.Y)),r.Bb(4,49152,null,0,o.Fb,[r.j,r.p,r.F],null,null),(e()(),r.Cb(5,0,null,0,2,"ion-title",[],null,null,null,i.Vb,i.W)),r.Bb(6,49152,null,0,o.Db,[r.j,r.p,r.F],null,null),(e()(),r.Ub(7,0,["",""])),(e()(),r.Cb(8,0,null,null,3,"ion-content",[["padding","true"]],null,null,null,i.lb,i.m)),r.Bb(9,49152,null,0,o.x,[r.j,r.p,r.F],null,null),r.Bb(10,16384,null,0,o.f,[r.p],null,null),(e()(),r.Cb(11,0,[[1,0],["textEle",1]],0,0,"div",[["id","textEle"]],null,null,null,null,null)),(e()(),r.Cb(12,0,null,null,6,"ion-footer",[],null,null,null,i.nb,i.o)),r.Bb(13,49152,null,0,o.C,[r.j,r.p,r.F],null,null),(e()(),r.Cb(14,0,null,0,4,"ion-toolbar",[],null,null,null,i.Xb,i.Y)),r.Bb(15,49152,null,0,o.Fb,[r.j,r.p,r.F],null,null),(e()(),r.Cb(16,0,null,0,2,"ion-button",[["expand","block"],["fill","clear"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.dismiss()&&r),r}),i.cb,i.d)),r.Bb(17,49152,null,0,o.n,[r.j,r.p,r.F],{expand:[0,"expand"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Ub(-1,0,["CLOSE"]))],(function(e,t){e(t,17,0,"block","clear","small")}),(function(e,t){e(t,7,0,t.component.title)}))}function u(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"app-display-text-modal",[],null,null,null,l,s)),r.Bb(1,114688,null,0,a.a,[o.Kb],null,null)],(function(e,t){e(t,1,0)}),null)}var c=r.yb("app-display-text-modal",a.a,u,{title:"title",text:"text",placeholder:"placeholder",empty:"empty",max:"max",editor:"editor"},{},[])},UpQW:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],n=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%
2d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},VRyK:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("HDdC"),i=n("z+Ro"),o=n("bHdf"),a=n("yCtX");function s(...e){let t=Number.POSITIVE_INFINITY,n=null,s=e[e.length-1];return Object(i.a)(s)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof s&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof r.a?e[0]:Object(o.a)(t)(Object(a.a)(e,n))}},Vclq:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},"W/tK":function(e,t,n){"use strict";n.d(t,"a",(function(){return _}));var r=n("mrSG"),i=n("qNh5"),o=n("SZJ3"),a=n("eIep"),s=n("lJxs"),l=n("UXun"),u=n("SxV6"),
2c=n("pRuv"),d=n("LRne"),h=n("itXk"),f=n("wMzM"),p=n("ZZ/e"),m=n("HC5s"),g=n("8Y7J");let _=(()=>{class e{constructor(e,t,n,r,i){this.auth=e,this.engine=t,this.watchdog=n,this.fileopen=r,this.platform=i,this.cache=new Map,this.compareFn=(e,t)=>e.title.toLowerCase()<t.title.toLowerCase()?-1:e.title.toLowerCase()>t.title.toLowerCase()?1:0}getFront(){const e="muster";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(a.a)(e=>this.engine.fetchListWithKeysByOrder(e+"/muster/front","title")),Object(s.a)(e=>e.sort(this.compareFn)),Object(l.a)(1));return this.cache[e]=t,t}getFrontKeyed(){const e="musterKeyed";if(this.cache[e])return this.cache[e];const t=this.getFront().pipe(Object(s.a)(e=>this.engine._keyBy(e,"$key")),Object(l.a)(1));return this.cache[e]=t,t}getResults(){const e="musterResults";let t;if(this.cache[e])return this.cache[e];const n=this.auth.node$.pipe(Object(a.a)(e=>(t=e,this.engine.fetchListWithKeys(e+"/muster/results"))),Object(s.a)(e=>e?e.map(e=>{const t=Object.keys(e),n=e.$key;return this.engine._pull(t,"$key"),{$key:n,instances:t.map(t=>Object.assign({$ikey:t},e[t]))}}):Object(d.a)([])),Object(l.a)(1));return this.cache[e]=n,n}getArchiveResults(e){const t="archive "+e;let n;if(this.cache[t])return this.cache[t];const r=this.auth.node$.pipe(Object(a.a)(t=>(n=t,this.engine.fetchListWithKeysByOrder(t+"/muster/archive/"+e,"startTime"))),Object(s.a)(e=>e.reverse()),Object(s.a)(e=>e.map(e=>{const t=!e.staged,n=e.ts,r=e.staged&&e.answers?Math.round(Object.keys(e.answers).length/(Object.keys(e.staged).length+Object.keys(e.answers).length)*100):0;return Object.assign({},e,{allGood:t,percentIn:r,ts:n})})),Object(l.a)(1));return this.cache[t]=r,r}getResultsPretty(){const e="musterResultsPretty";if(this.cache[e])return this.cache[e];const t=Object(h.a)([this.getResults(),this.nameList()]).pipe(Object(s.a)(([e,t])=>e.map(e=>(e.title=t[e.$key].title,e))),Object(s.a)(e=>e.sort(this.compareFn)));return this.cache[e]=t,t}getResultsWithKeys(){const e=this.getResults().pipe(Object(s.a)(e=>e.map(e=>{const t=e.instances?this.engine._keyBy(e.instances,"$ikey"):null;return Object.assign({},e,{instances:t})})),Object(s.a)(e=>this.engine._keyBy(e,"$key")));return this.cache.musterResultsByKey=e,e}nameList(){return this.getFront().pipe(Object(s.a)(e=>e.map(e=>({key:e.$key,title:e.title}))),Object(s.a)(e=>this.engine._keyBy(e,"key")))}getMusterArchiveInstance(e,t){const n="archive "+t,r=this.getArchiveResults(e).pipe(Object(s.a)(e=>e.filter(e=>e.$key===t)),Object(s.a)(e=>e[0]?Object.assign({},e[0],{$ikey:t}):Object(d.a)([])),Object(l.a)(1));return this.cache[n]=r,r}getMusterInstance(e,t){return this.getResultsPretty().pipe(Object(s.a)(t=>t.filter(t=>t.$key===e)),Object(s.a)(e=>{const n=e[0].title,r=e[0].instances.filter(e=>e.$ikey===t);return Object.assign({title:n},r)}),Object(s.a)(e=>{const t=e[0];return t.title=e.title,t}))}getMuster(){const e="musterActive";if(this.cache[e])return this.cache[e];const t=this.getPublished().pipe(Object(s.a)(e=>e?e.filter(e=>e.active):Object(d.a)([])));return this.cache[e]=t,t}getPublished(){const e="musterPublished";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(a.a)(e=>this.engine.fetchListWithKeysByChild(e+"/muster/front","published",!0)),Object(s.a)(e=>this.engine._sortBy(e,"timestamp")),Object(s.a)(e=>e.reverse()),Object(l.a)(1));return this.cache[e]=t,t}getBack(){const e="musterFull";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(a.a)(e=>this.engine.fetchArrayWithIndexKeys(e+"muster/back")),Object(l.a)(1));return this.cache[e]=t,t}getMusterFull(e){if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(a.a)(t=>this.engine.fetchObjectWithKey(t+"/muster/back/"+e)),Object(l.a)(1));return this.cache[e]=t,t}calcTime(e,t,n,i,o){return r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.auth.getNode(),a={};return o!==[]?(o.forEach(o=>{a[r+t+"/"+o+"/"+n+"/"+i+"/h"]=e.hour.value,a[r+t+"/"+o+"/"+n+"/"+i+"/m"]=e.minute.value,a[r+t+"/"+o+"/"+n+"/"+i+"/raw"]=e.hour.text+":"+e.minute.text}),this.auth.updateDB(a)):{hour:e.hour.value,minute:e.minute.value}}))}musterUser(e,t,n,i){return r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.auth.getNode(),o=yield this.auth.getCurrentUser(),a={};return i&&i!==o.$key?a[r+"muster/results/"+e+"/"+t+"/answers/"+i]=n:a[r+"muster/results/"+e+"/"+t+"/answers/"+o.$key]=n,this.auth.updateDB(a)}))}updateOwner(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const r={},i=yield this.auth.getNode();return r[i+"users/back/"+e+"/musterOwner/"+t]=!0===n||null,r[i+"users/back/"+e+"/preferences/notifyStart/"+t]=!0===n||null,r[i+"users/back/"+e+"/preferences/notifyWarn/"+t]=!0===n||null,r[i+"users/back/"+e+"/preferences/notifyEnd/"+t]=!0===n||null,r[i+"users/back/"+e+"/preferences/notifyEmail/"+t]=!0===n||null,r[i+"users/front/"+e+"/preferences/notifyStart/"+t]=!0===n||null,r[i+"users/front/"+e+"/preferences/notifyWarn/"+t]=!0===n||null,r[i+"users/front/"+e+"/preferences/notifyEnd/"+t]=!0===n||null,r[i+"users/front/"+e+"/preferences/notifyEmail/"+t]=!0===n||null,r[i+"muster/back/"+t+"/owners/"+e]=!0===n||null,r[i+"muster/back/"+t+"/notifyStart/"+e]=!0===n||null,r[i+"muster/back/"+t+"/notifyWarn/"+e]=!0===n||null,r[i+"muster/back/"+t+"/notifyEnd/"+e]=!0===n||null,r[i+"muster/back/"+t+"/notifyEmail/"+e]=!0===n||null,r}))}subscribeUser(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const[i,o]=yield Promise.all([this.getFront().pipe(Object(u.a)()).toPromise(),this.auth.getNode()]),a={};
2return i.forEach(i=>r.__awaiter(this,void 0,void 0,(function*(){const r=this.engine._keys(i.groups),s=this.engine._keys(i.sites),l=this.engine._intersection(r,t),u=this.engine._intersection(s,n);this.engine._merge(a,this._subUser(o,i,e,!this.engine._isEmpty(l)&&!this.engine._isEmpty(u)||null))}))),a}))}_subUser(e,t,n,r){const i=t.$key,o={};return o[e+"users/back/"+n.$key+"/muster/"+i]=r,o[e+"muster/back/"+i+"/subscribers/"+n.$key]=r,o}archive(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.auth.getNode(),r=t.$ikey,i={};return delete t.$ikey,i[n+"muster/archive/"+e+"/"+r]=t,i[n+"muster/results/"+e+"/"+r]=null,i[n+"muster/front/"+e+"/hasArchive"]=!0,this.auth.updateDB(i)}))}archiveBatch(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.auth.getNode(),n=yield Object(m.a)(this.engine.fetchListWithKeys(t+"muster/results/"+e)),r={};return n.forEach(n=>{const i=n.$key;delete n.$key,r[t+"muster/archive/"+e+"/"+i]=n}),r[t+"muster/results/"+e]=null,r[t+"muster/front/"+e+"/previousInstance"]=null,r[t+"muster/front/"+e+"/hasArchive"]=!0,this.auth.updateDB(r)}))}deleteMuster(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.auth.getNode(),n={};return n[t+"muster/back/"+e]=!0,n[t+"muster/front/"+e+"/delete"]=!0,this.auth.updateDB(n)}))}}return e.ngInjectableDef=g.Zb({factory:function(){return new e(g.ac(i.a),g.ac(o.a),g.ac(c.a),g.ac(f.a),g.ac(p.Ob))},token:e,providedIn:"root"}),e})()},WYrj:function(e,t,n){!function(e){"use strict";var t=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],n=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,t,n){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n("wd/R"))},Wcq6:function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(n("wj3C"));i.default.registerVersion("firebase","7.24.0","app"),e.exports=i.default},Wv91:function(e,t,n){!function(e){"use strict";
vendor: 4,700 bytes, line 2
2var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10;return e+(t[r]||t[e%100-r]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},WxRl:function(e,t,n){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(e,t,n,r){var i=e;switch(n){case"s":return r||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return i+(r||t)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return i+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return i+(r||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return i+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" h\xf3nap":" h\xf3napja");case"MM":return i+(r||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(r||t?" \xe9v":" \xe9ve");case"yy":return i+(r||t?" \xe9v":" \xe9ve")}return""}function r(e){return(e?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},X709:function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},XDbj:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
2));var r=n("sVev"),i=n("7o/Q");function o(e=l){return t=>t.lift(new a(e))}class a{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new s(e,this.errorFactory))}}class s extends i.a{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 l(){return new r.a}},XDpg:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1130?"\u4e0a\u5348":r<1230?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XLvN:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}
2\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c}));var r=n("HDdC"),i=n("7o/Q"),o=n("quSY"),a=n("9ppp"),s=n("Ylt2"),l=n("2QA8");class u extends i.a{constructor(e){super(e),this.destination=e}}let c=(()=>{class e extends r.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new u(this)}lift(e){const t=new d(this,this);return t.operator=e,t}next(e){if(this.closed)throw new a.a;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].next(e)}}error(e){if(this.closed)throw new a.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let i=0;i<n;i++)r[i].error(e);this.observers.length=0}complete(){if(this.closed)throw new a.a;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new a.a;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new a.a;return this.hasError?(e.error(this.thrownError),o.a.EMPTY):this.isStopped?(e.complete(),o.a.EMPTY):(this.observers.push(e),new s.a(this,e))}asObservable(){const e=new r.a;return e.source=this,e}}return e.create=(e,t)=>new d(e,t),e})();class d extends c{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):o.a.EMPTY}}},XoHu:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return r}))},Y0Fm:function(e,t){var n,r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/,o=/^\./,a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,u=/^(?:0|[1-9]\d*)$/,c="object"==typeof global&&global&&global.Object===Object&&global,d="object"==typeof self&&self&&self.Object===Object&&self,h=c||d||Function("return this")(),f=Array.prototype,p=Function.prototype,m=Object.prototype,g=h["__core-js_shared__"],_=(n=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",y=p.toString,v=m.hasOwnProperty,b=m.toString,w=RegExp("^"+y.call(v).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k=h.Symbol,M=m.propertyIsEnumerable,S=f.splice,T=I(h,"Map"),x=I(Object,"create"),L=k?k.prototype:void 0,D=L?L.toString:void 0;function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function O(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function E(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function j(e,t){for(var n,r,i=e.length;i--;)if((n=e[i][0])===(r=t)||n!=n&&r!=r)return i;return-1}function A(e,t){return null!=e&&v.call(e,t)}function P(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function I(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!z(e)||(t=e,_&&_ in t))&&(H(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}
2(e)?w:l).test(function(e){if(null!=e){try{return y.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e));var t}(n)?n:void 0}C.prototype.clear=function(){this.__data__=x?x(null):{}},C.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},C.prototype.get=function(e){var t=this.__data__;if(x){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return v.call(t,e)?t[e]:void 0},C.prototype.has=function(e){var t=this.__data__;return x?void 0!==t[e]:v.call(t,e)},C.prototype.set=function(e,t){return this.__data__[e]=x&&void 0===t?"__lodash_hash_undefined__":t,this},O.prototype.clear=function(){this.__data__=[]},O.prototype.delete=function(e){var t=this.__data__,n=j(t,e);return!(n<0||(n==t.length-1?t.pop():S.call(t,n,1),0))},O.prototype.get=function(e){var t=this.__data__,n=j(t,e);return n<0?void 0:t[n][1]},O.prototype.has=function(e){return j(this.__data__,e)>-1},O.prototype.set=function(e,t){var n=this.__data__,r=j(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},E.prototype.clear=function(){this.__data__={hash:new C,map:new(T||O),string:new C}},E.prototype.delete=function(e){return P(this,e).delete(e)},E.prototype.get=function(e){return P(this,e).get(e)},E.prototype.has=function(e){return P(this,e).has(e)},E.prototype.set=function(e,t){return P(this,e).set(e,t),this};var Y=N((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(U(e))return D?D.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return o.test(e)&&n.push(""),e.replace(a,(function(e,t,r,i){n.push(r?i.replace(s,"$1"):t||e)})),n}));function R(e){if("string"==typeof e||U(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function N(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(N.Cache||E),n}N.Cache=E;var F=Array.isArray;function H(e){var t=z(e)?b.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function $(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function z(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function W(e){return!!e&&"object"==typeof e}function U(e){return"symbol"==typeof e||W(e)&&"[object Symbol]"==b.call(e)}e.exports=function(e,t){return null!=e&&function(e,t,n){for(var o,a,s=-1,l=(t=function(e,t){if(F(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!U(e))||i.test(e)||!r.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:F(o=t)?o:Y(o)).length;++s<l;){var c=R(t[s]);if(!(a=null!=e&&n(e,c)))break;e=e[c]}return a||!!(l=e?e.length:0)&&$(l)&&function(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||u.test(e))&&e>-1&&e%1==0&&e<t}(c,l)&&(F(e)||function(e){return function(e){return W(e)&&function(e){return null!=e&&$(e.length)&&!H(e)}(e)}(e)&&v.call(e,"callee")&&(!M.call(e,"callee")||"[object Arguments]"==b.call(e))}(e))}(e,t,A)}},YRex:function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===t||"\u0633\u06d5\u06be\u06d5\u0631"===t||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===t?e:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===t||"\u0643\u06d5\u0686"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":r<900?"\u0633\u06d5\u06be\u06d5\u0631":r<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":r<1230?"\u0686\u06c8\u0634":r<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:"%
vendor: 6,868 bytes, line 2
2d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},YYej:function(e,t,n){(function(e){var n="[object Arguments]",r="[object Map]",i="[object Object]",o="[object Set]",a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,l=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,f={};f["[object Float32Array]"]=f["[object Float64Array]"]=f["[object Int8Array]"]=f["[object Int16Array]"]=f["[object Int32Array]"]=f["[object Uint8Array]"]=f["[object Uint8ClampedArray]"]=f["[object Uint16Array]"]=f["[object Uint32Array]"]=!0,f[n]=f["[object Array]"]=f["[object ArrayBuffer]"]=f["[object Boolean]"]=f["[object DataView]"]=f["[object Date]"]=f["[object Error]"]=f["[object Function]"]=f[r]=f["[object Number]"]=f[i]=f["[object RegExp]"]=f[o]=f["[object String]"]=f["[object WeakMap]"]=!1;var p="object"==typeof global&&global&&global.Object===Object&&global,m="object"==typeof self&&self&&self.Object===Object&&self,g=p||m||Function("return this")(),_=t&&!t.nodeType&&t,y=_&&"object"==typeof e&&e&&!e.nodeType&&e,v=y&&y.exports===_&&p.process,b=function(){try{return v&&v.binding("util")}catch(e){}}(),w=b&&b.isTypedArray;function k(e,t,n,r){for(var i=-1,o=e?e.length:0;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function M(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function S(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function T(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function x(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var L,D,C,O=Array.prototype,E=Function.prototype,j=Object.prototype,A=g["__core-js_shared__"],P=(L=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||""))?"Symbol(src)_1."+L:"",I=E.toString,Y=j.hasOwnProperty,R=j.toString,N=RegExp("^"+I.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),F=g.Symbol,H=g.Uint8Array,$=j.propertyIsEnumerable,z=O.splice,W=(D=Object.keys,C=Object,function(e){return D(C(e))}),U=be(g,"DataView"),B=be(g,"Map"),V=be(g,"Promise"),q=be(g,"Set"),G=be(g,"WeakMap"),K=be(Object,"create"),J=De(U),Q=De(B),X=De(V),Z=De(q),ee=De(G),te=F?F.prototype:void 0,ne=te?te.valueOf:void 0,re=te?te.toString:void 0;function ie(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function oe(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ae(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function se(e){var t=-1,n=e?e.length:0;for(this.__data__=new ae;++t<n;)this.add(e[t])}function le(e){this.__data__=new oe(e)}function ue(e,t){for(var n=e.length;n--;)if(je(e[n][0],t))return n;return-1}function ce(e,t,n,r){return he(e,(function(e,i,o){t(r,e,n(e),o)})),r}ie.prototype.clear=function(){this.__data__=K?K(null):{}},ie.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ie.prototype.get=function(e){var t=this.__data__;if(K){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Y.call(t,e)?t[e]:void 0},ie.prototype.has=function(e){var t=this.__data__;return K?void 0!==t[e]:Y.call(t,e)},ie.prototype.set=function(e,t){return this.__data__[e]=K&&void 0===t?"__lodash_hash_undefined__":t,this},oe.prototype.clear=function(){this.__data__=[]},oe.prototype.delete=function(e){var t=this.__data__,n=ue(t,e);return!(n<0||(n==t.length-1?t.pop():z.call(t,n,1),0))},oe.prototype.get=function(e){var t=this.__data__,n=ue(t,e);return n<0?void 0:t[n][1]},oe.prototype.has=function(e){return ue(this.__data__,e)>-1},oe.prototype.set=function(e,t){var n=this.__data__,r=ue(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},ae.prototype.clear=function(){this.__data__={hash:new ie,map:new(B||oe),string:new ie}},ae.prototype.delete=function(e){return ve(this,e).delete(e)},ae.prototype.get=function(e){return ve(this,e).get(e)},ae.prototype.has=function(e){return ve(this,e).has(e)},ae.prototype.set=function(e,t){return ve(this,e).set(e,t),this},se.prototype.add=se.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},se.prototype.has=function(e){return this.__data__.has(e)},le.prototype.clear=function(){this.__data__=new oe},le.prototype.delete=function(e){return this.__data__.delete(e)},le.prototype.get=function(e){return this.__data__.get(e)},le.prototype.has=function(e){return this.__data__.has(e)},le.prototype.set=function(e,t){var n=this.__data__;if(n instanceof oe){var r=n.__data__;if(!B||r.length<199)return r.push([e,t]),this;n=this.__data__=new ae(r)}return n.set(e,t),this};var de,he=(de=function(e,t){return e&&fe(e,t,ze)},function(e,t){if(null==e)return e;if(!Ie(e))return de(e,t);for(var n=e.length,r=-1,i=Object(e);++r<n&&!1!==t(i[r],r,i););return e}),fe=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}return e};function pe(e,t){for(var n=0,r=(t=Me(t,e)?[t]:_e(t)).length;null!=e&&n<r;)e=e[Le(t[n++])];return n&&n==r?e:void 0}function me(e,t){return null!=e&&t in Object(e)}function ge(e,t,a,s,l){return e===t||(null==e||null==t||!Ne(e)&&!Fe(t)?e!=e&&t!=t:function(e,t,a,s,l,u){var c=Pe(e),d=Pe(t),h="[object Array]",f="[object Array]";c||(h=(h=we(e))==n?i:h),d||(f=(f=we(t))==n?i:f);var p=h==i&&!S(e),m=f==i&&!S(t),g=h==f;if(g&&!p)return u||(u=new le),c||$e(e)?ye(e,t,a,s,l,u):function(e,t,n,i,a,s,l){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new H(e),new H(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return je(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case r:var u=T;case o:if(u||(u=x),e.size!=t.size&&!(2&s))return!1;var c=l.get(e);if(c)return c==t;s|=1,l.set(e,t);var d=ye(u(e),u(t),i,a,s,l);return l.delete(e),d;case"[object Symbol]":if(ne)return ne.call(e)==ne.call(t)}return!1}(e,t,h,a,s,l,u);if(!(2&l)){var _=p&&Y.call(e,"__wrapped__"),y=m&&Y.call(t,"__wrapped__");
vendor: 5,370 bytes, line 2
2if(_||y){var v=_?e.value():e,b=y?t.value():t;return u||(u=new le),a(v,b,s,l,u)}}return!!g&&(u||(u=new le),function(e,t,n,r,i,o){var a=2&i,s=ze(e),l=s.length;if(l!=ze(t).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in t:Y.call(t,c)))return!1}var d=o.get(e);if(d&&o.get(t))return d==t;var h=!0;o.set(e,t),o.set(t,e);for(var f=a;++u<l;){var p=e[c=s[u]],m=t[c];if(r)var g=a?r(m,p,c,t,e,o):r(p,m,c,e,t,o);if(!(void 0===g?p===m||n(p,m,r,i,o):g)){h=!1;break}f||(f="constructor"==c)}if(h&&!f){var _=e.constructor,y=t.constructor;_==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof y&&y instanceof y||(h=!1)}return o.delete(e),o.delete(t),h}(e,t,a,s,l,u))}(e,t,ge,a,s,l))}function _e(e){return Pe(e)?e:xe(e)}function ye(e,t,n,r,i,o){var a=2&i,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var c=-1,d=!0,h=1&i?new se:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var f=e[c],p=t[c];if(r)var m=a?r(p,f,c,t,e,o):r(f,p,c,e,t,o);if(void 0!==m){if(m)continue;d=!1;break}if(h){if(!M(t,(function(e,t){if(!h.has(t)&&(f===e||n(f,e,r,i,o)))return h.add(t)}))){d=!1;break}}else if(f!==p&&!n(f,p,r,i,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function ve(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function be(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Ne(e)||function(e){return!!P&&P in e}(e))&&(Ye(e)||S(e)?N:d).test(De(e))}(n)?n:void 0}var we=function(e){return R.call(e)};function ke(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||h.test(e))&&e>-1&&e%1==0&&e<t}function Me(e,t){if(Pe(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!He(e))||s.test(e)||!a.test(e)||null!=t&&e in Object(t)}function Se(e){return e==e&&!Ne(e)}function Te(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(U&&"[object DataView]"!=we(new U(new ArrayBuffer(1)))||B&&we(new B)!=r||V&&"[object Promise]"!=we(V.resolve())||q&&we(new q)!=o||G&&"[object WeakMap]"!=we(new G))&&(we=function(e){var t=R.call(e),n=t==i?e.constructor:void 0,a=n?De(n):void 0;if(a)switch(a){case J:return"[object DataView]";case Q:return r;case X:return"[object Promise]";case Z:return o;case ee:return"[object WeakMap]"}return t});var xe=Ee((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(He(e))return re?re.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return l.test(e)&&n.push(""),e.replace(u,(function(e,t,r,i){n.push(r?i.replace(c,"$1"):t||e)})),n}));function Le(e){if("string"==typeof e||He(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function De(e){if(null!=e){try{return I.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Ce,Oe=(Ce=function(e,t,n){e[n]=t},function(e,t){var n,r,i,o,a;return(Pe(e)?k:ce)(e,Ce,"function"==typeof(n=t)?n:null==n?We:"object"==typeof n?Pe(n)?function(e,t){return Me(e)&&Se(t)?Te(Le(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:pe(e,t);return void 0===r?void 0:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,i=-1,o=(t=Me(t,e)?[t]:_e(t)).length;++i<o;){var a=Le(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}return r||!!(o=e?e.length:0)&&Re(o)&&ke(a,o)&&(Pe(e)||Ae(e))}(e,t,me)}(n,e):ge(t,r,void 0,3)}}(n[0],n[1]):1==(i=function(e){for(var t=ze(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Se(i)]}return t}(r=n)).length&&i[0][2]?Te(i[0][0],i[0][1]):function(e){return e===r||function(e,t,n,r){var i=n.length,o=i;if(null==e)return!o;for(e=Object(e);i--;){var a=n[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var s=(a=n[i])[0],l=e[s];if(a[2]){if(void 0===l&&!(s in e))return!1}else if(!ge(a[1],l,void 0,3,new le))return!1}return!0}(e,0,i)}:Me(o=n)?(a=Le(o),function(e){return null==e?void 0:e[a]}):function(e){return function(t){return pe(t,e)}}(o),{})});function Ee(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(Ee.Cache||ae),n}function je(e,t){return e===t||e!=e&&t!=t}function Ae(e){return function(e){return Fe(e)&&Ie(e)}(e)&&Y.call(e,"callee")&&(!$.call(e,"callee")||R.call(e)==n)}Ee.Cache=ae;var Pe=Array.isArray;function Ie(e){return null!=e&&Re(e.length)&&!Ye(e)}function Ye(e){var t=Ne(e)?R.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Re(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Ne(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Fe(e){return!!e&&"object"==typeof e}function He(e){return"symbol"==typeof e||Fe(e)&&"[object Symbol]"==R.call(e)}var $e=w?function(e){return function(t){return e(t)}}(w):function(e){return Fe(e)&&Re(e.length)&&!!f[R.call(e)]};function ze(e){return Ie(e)?function(e,t){var n=Pe(e)||Ae(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!Y.call(e,o)||i&&("length"==o||ke(o,r))||n.push(o);return n}(e):function(e){if((t=e)!==("function"==typeof(n=t&&t.constructor)&&n.prototype||j)
2)return W(e);var t,n,r=[];for(var i in Object(e))Y.call(e,i)&&"constructor"!=i&&r.push(i);return r}(e)}function We(e){return e}e.exports=Oe}).call(this,n("YuTi")(e))},Ylt2:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("quSY");class i extends r.a{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 n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},Yttj:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("mrSG"),i=n("a3Cf"),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"convertFileSrc",{get:function(){return Object(i.cordovaPropertyGet)(this,"convertFileSrc")},set:function(e){Object(i.cordovaPropertySet)(this,"convertFileSrc",e)},enumerable:!0,configurable:!0}),t.pluginName="WebView",t.plugin="cordova-plugin-ionic-webview",t.pluginRef="window.Ionic.WebView",t.repo="https://github.com/ionic-team/cordova-plugin-ionic-webview",t.platforms=["Android","iOS"],t.install="ionic cordova plugin add cordova-plugin-ionic-webview",t}(i.IonicNativePlugin)},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},Z4QM:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},ZAMP:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZUHj:function(e,t,n){"use strict";var r=n("7o/Q");class i extends r.a{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,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()}}var o=n("SeVD"),a=n("HDdC");function s(e,t,n,r,s=new i(e,n,r)){if(!s.closed)return t instanceof a.a?t.subscribe(s):Object(o.a)(t)(s)}n.d(t,"a",(function(){return s}))},"ZZ/e":function(e,t,n){"use strict";var r=n("mrSG"),i=n("8Y7J"),o=n("s7LF"),a=n("SVse"),s=n("iInd"),l=n("AfW+"),u=(n("aiEM"),n("+4pY"),n("mUkt"),n("kBU6")),c=n("930v"),d=n("pori"),h=n("XNiG"),f=n("xgIS"),p=n("2Vo4"),m=n("pLZG"),g=n("eIep"),_=n("/uUt"),y=n("c1op");n.d(t,"a",(function(){return Ht})),n.d(t,"b",(function(){return $t})),n.d(t,"c",(function(){return ct})),n.d(t,"d",(function(){return T})),n.d(t,"e",(function(){return at})),n.d(t,"f",(function(){return Rt})),n.d(t,"g",(function(){return zt})),n.d(t,"h",(function(){return H})),n.d(t,"i",(function(){return $})),n.d(t,"j",(function(){return z})),n.d(t,"k",(function(){return Ct})),n.d(t,"l",(function(){return W})),n.d(t,"m",(function(){return U})),n.d(t,"n",(function(){return B})),n.d(t,"o",(function(){return V})),n.d(t,"p",(function(){return q})),n.d(t,"q",(function(){return G})),n.d(t,"r",(function(){return K})),n.d(t,"s",(function(){return J})),n.d(t,"t",(function(){return Q})),n.d(t,"u",(function(){return X})),n.d(t,"v",(function(){return Z})),n.d(t,"w",(function(){return ee})),n.d(t,"x",(function(){return te})),n.d(t,"y",(function(){return ne})),n.d(t,"z",(function(){return re})),n.d(t,"A",(function(){return ie})),n.d(t,"B",(function(){return oe})),n.d(t,"C",(function(){return ae})),n.d(t,"D",(function(){return se})),n.d(t,"E",(function(){return le})),n.d(t,"F",(function(){return ue})),n.d(t,"G",(function(){return ce})),n.d(t,"H",(function(){return de})),n.d(t,"I",(function(){return he})),n.d(t,"J",(function(){return fe})),n.d(t,"K",(function(){return pe})),n.d(t,"L",(function(){return me})),n.d(t,"M",(function(){return ge})),n.d(t,"N",(function(){return _e})),n.d(t,"O",(function(){return ye})),n.d(t,"P",(function(){return ve})),n.d(t,"Q",(function(){return be})),n.d(t,"R",(function(){return we})),n.d(t,"S",(function(){return ke})),n.d(t,"T",(function(){return Me})),n.d(t,"U",(function(){return Se})),n.d(t,"V",(function(){return Te})),n.d(t,"W",(function(){return xe})),n.d(t,"X",(function(){return Le})),n.d(t,"Y",(function(){return De})),n.d(t,"Z",(function(){return Ce})),n.d(t,"ab",(function(){return Oe})),n.d(t,"bb",(function(){return Ee})),n.d(t,"cb",(function(){return je})),n.d(t,"db",(function(){return Ae})),n.d(t,"eb",(function(){return Pe})),n.d(t,"fb",(function(){return Ie})),n.d(t,"gb",(function(){return Ye})),n.d(t,"hb",(function(){return Re})),n.d(t,"ib",(function(){return Ne})),n.d(t,"jb",(function(){return Fe})),n.d(t,"kb",(function(){return He})),n.d(t,"lb",(function(){return xt})),n.d(t,"mb",(function(){return $e})),n.d(t,"nb",(function(){return ze})),n.d(t,"ob",(function(){return We})),n.d(t,"pb",(function(){return Ue})),n.d(t,"qb",(function(){return Be})),n.d(t,"rb",(function(){return Ve})),n.d(t,"sb",(function(){return qe})),n.d(t,"tb",(function(){return Ge})),n.d(t,"ub",(function(){return Ke})),n.d(t,"vb",(function(){return Je})),n.d(t,"wb",(function(){return Qe})),n.d(t,"xb",(function(){return Xe})),n.d(t,"yb",(function(){return Ze})),n.d(t,"zb",(function(){return Dt})),n.d(t,"Ab",(function(){return et})),n.d(t,"Bb",(function(){return tt})),n.d(t,"Cb",(function(){return nt})),n.d(t,"Db",(function(){return rt})),n.d(t,"Eb",(function(){return it})),n.d(t,"Fb",(function(){return ot})),n.d(t,"Gb",(function(){return It})),n.d(t,"Hb",(function(){return Zt})),n.d(t,"Ib",(function(){return Kt})),n.d(t,"Jb",(function(){return Wt})),n.d(t,"Kb",(function(){return Bt})),n.d(t,"Lb",(function(){return A})),n.d(t,"Mb",(function(){return ut})),n.d(t,"Nb",(function(){return Ut})),n.d(t,"Ob",(function(){return O})),n.d(t,"Pb",(function(){return Vt})),n.d(t,"Qb",(function(){return D})),n.d(t,"Rb",(function(){return C})),n.d(t,"Sb",(function(){return qt})),n.d(t,"Tb",(function(){return st})),n.d(t,"Ub",(function(){return Qt}));var v=function(e){return"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e)},b=function(){function e(e){this.el=e,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this.el.nativeElement.value=this.lastValue=null==e?"":e,w(this.el)},e.prototype.handleChangeEvent=function(e,t){e===this.el.nativeElement&&(t!==this.lastValue&&(this.lastValue=t,this.onChange(t)),w(this.el))},e.prototype._handleBlurEvent=function(e){e===this.el.nativeElement&&(this.onTouched(),w(this.el))},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.el.nativeElement.disabled=e},e.propDecorators={_handleBlurEvent:[{type:i.s,args:["ionBlur",["$event.target"]]}]},e}(),w=function(e){v((function(){var t=e.nativeElement,n=k(t);M(t,n);var r=t.closest("ion-item");r&&M(r,n)}))},k=function(e){for(var t=e.classList,n=[],r=0;r<t.length;r++){var i=t.item(r);null!==i&&S(i,"ng-")&&n.push("ion-"+i.substr(3))}return n},M=function(e,t){var n=e.classList;["ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"].forEach((function(e){return n.remove(e)})),t.forEach((function(e){return n.add(e)}))},S=function(e,t){return e.substr(0,t.length)===t},T=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.prototype.writeValue=function(e){this.el.nativeElement.checked=this.lastValue=null!=e&&e,w(this.el)},t.prototype._handleIonChange=function(e){this.handleChangeEvent(e,e.checked)},t.decorators=[{type:i.o,args:[{selector:"ion-checkbox,ion-toggle",providers:[{provide:o.j,useExisting:t,multi:!0}]}]}],t.ctorParameters=function(){return[{type:i.p}]},t.propDecorators={_handleIonChange:[{type:i.s,args:["ionChange",["$event.target"]]}]},t}(b),x=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.prototype._handleIonChange=function(e){this.handleChangeEvent(e,e.value)},t.prototype.registerOnChange=function(t){e.prototype.registerOnChange.call(this,(function(e){t(""===e?null:parseFloat(e))}))},t.decorators=[{type:i.o,args:[{selector:"ion-input[type=number]",providers:[{provide:o.j,useExisting:t,multi:!0}]}]}],t.ctorParameters=function(){return[{type:i.p}]},t.propDecorators={_handleIonChange:[{type:i.s,args:["ionChange",["$event.target"]]}]},t}(b),L=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.prototype._handleIonSelect=function(e){this.handleChangeEvent(e,e.checked)},t.decorators=[{type:i.o,args:[{selector:"ion-radio",providers:[{provide:o.j,useExisting:t,multi:!0}]}]}],t.ctorParameters=function(){return[{type:i.p}]},t.propDecorators={_handleIonSelect:[{type:i.s,args:["ionSelect",["$event.target"]]}]},t}(b),D=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.prototype._handleChangeEvent=function(e){this.handleChangeEvent(e,e.value)},t.decorators=[{type:i.o,args:[{selector:"ion-range, ion-select, ion-radio-group, ion-segment, ion-datetime",providers:[{provide:o.j,useExisting:t,multi:!0}]}]}],t.ctorParameters=function(){return[{type:i.p}]},t.propDecorators={_handleChangeEvent:[{type:i.s,args:["ionChange",["$event.target"]]}]},t}(b),C=function(e){function t(t){return e.call(this,t)||this}return Object(r.__extends)(t,e),t.prototype._handleInputEvent=function(e){this.handleChangeEvent(e,e.value)},t.decorators=[{type:i.o,args:[{selector:"ion-input:not([type=number]),ion-textarea,ion-searchbar",providers:[{provide:o.j,useExisting:t,multi:!0}]}]}],t.ctorParameters=function(){return[{type:i.p}]},t.propDecorators={_handleInputEvent:[{type:i.s,args:["ionChange",["$event.target"]]}]},t}(b),O=function(){function e(e,t){var n=this;this.doc=e,this.backButton=new h.a,this.pause=new h.a,this.resume=new h.a,this.resize=new h.a,t.run((function(){var r;n.win=e.defaultView,n.backButton.subscribeWithPriority=function(e,n){return this.subscribe((function(r){return r.register(e,(function(){return t.run(n)}))}))},j(n.pause,e,"pause"),j(n.resume,e,"resume"),j(n.backButton,e,"ionBackButton"),j(n.resize,n.win,"resize"),n._readyPromise=new Promise((function(e){r=e})),n.win&&n.win.cordova?e.addEventListener("deviceready",(function(){r("cordova")}),{once:!0}):r("dom")}))}return e.prototype.is=function(e){return Object(l.f)(this.win,e)},e.prototype.platforms=function(){return Object(l.e)(this.win)},e.prototype.ready=function(){return this._readyPromise},Object.defineProperty(e.prototype,"isRTL",{get:function(){return"rtl"===this.doc.dir},enumerable:!0,configurable:!0}),e.prototype.getQueryParam=function(e){return E(this.win.location.href,e)},e.prototype.isLandscape=function(){return!this.isPortrait()},e.prototype.isPortrait=function(){return this.win.matchMedia&&this.win.matchMedia("(orientation: portrait)").matches},e.prototype.testUserAgent=function(e){var t=this.win.navigator;return!!(t&&t.userAgent&&t.userAgent.indexOf(e)>=0)},e.prototype.url=function(){return this.win.location.href},e.prototype.width=function(){return this.win.innerWidth},e.prototype.height=function(){return this.win.innerHeight},e.decorators=[{type:i.u,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:void 0,decorators:[{type:i.t,args:[a.d]}]}
2,{type:i.F}]},e.ngInjectableDef=Object(i.bb)({factory:function(){return new e(Object(i.fb)(a.d),Object(i.fb)(i.F))},token:e,providedIn:"root"}),e}(),E=function(e,t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return n?decodeURIComponent(n[1].replace(/\+/g," ")):null},j=function(e,t,n){t&&t.addEventListener(n,(function(t){e.next(null!=t?t.detail:void 0)}))},A=function(){function e(e,t,n,r){var i=this;this.location=t,this.serializer=n,this.router=r,this.direction=I,this.animated=Y,this.guessDirection="forward",this.lastNavId=-1,r&&r.events.subscribe((function(e){if(e instanceof s.d){var t=e.restoredState?e.restoredState.navigationId:e.id;i.guessDirection=t<i.lastNavId?"back":"forward",i.guessAnimation=e.restoredState?void 0:i.guessDirection,i.lastNavId="forward"===i.guessDirection?e.id:t}})),e.backButton.subscribeWithPriority(0,(function(){return i.pop()}))}return e.prototype.navigateForward=function(e,t){return void 0===t&&(t={}),this.setDirection("forward",t.animated,t.animationDirection),this.navigate(e,t)},e.prototype.navigateBack=function(e,t){return void 0===t&&(t={}),this.setDirection("back",t.animated,t.animationDirection),this.navigate(e,t)},e.prototype.navigateRoot=function(e,t){return void 0===t&&(t={}),this.setDirection("root",t.animated,t.animationDirection),this.navigate(e,t)},e.prototype.back=function(e){return void 0===e&&(e={animated:!0,animationDirection:"back"}),this.setDirection("back",e.animated,e.animationDirection),this.location.back()},e.prototype.pop=function(){return Object(r.__awaiter)(this,void 0,void 0,(function(){var e;return Object(r.__generator)(this,(function(t){switch(t.label){case 0:e=this.topOutlet,t.label=1;case 1:return e?[4,e.pop()]:[3,3];case 2:return t.sent()?[3,3]:(e=e.parentOutlet,[3,1]);case 3:return[2]}}
2))}))},e.prototype.setDirection=function(e,t,n){this.direction=e,this.animated=P(e,t,n)},e.prototype.setTopOutlet=function(e){this.topOutlet=e},e.prototype.consumeTransition=function(){var e,t="root";return"auto"===this.direction?(t=this.guessDirection,e=this.guessAnimation):(e=this.animated,t=this.direction),this.direction=I,this.animated=Y,{direction:t,animation:e}},e.prototype.navigate=function(e,t){if(Array.isArray(e))return this.router.navigate(e,t);var n=this.serializer.parse(e.toString());return void 0!==t.queryParams&&(n.queryParams=Object(r.__assign)({},t.queryParams)),void 0!==t.fragment&&(n.fragment=t.fragment),this.router.navigateByUrl(n,t)},e.decorators=[{type:i.u,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[{type:O},{type:a.h},{type:s.s},{type:s.m,decorators:[{type:i.G}]}]},e.ngInjectableDef=Object(i.bb)({factory:function(){return new e(Object(i.fb)(O),Object(i.fb)(a.h),Object(i.fb)(s.s),Object(i.fb)(s.m,8))},token:e,providedIn:"root"}),e}(),P=function(e,t,n){if(!1!==t)return void 0!==n?n:"forward"===e||"back"===e?e:"root"===e&&!0===t?"forward":void 0},I="auto",Y=void 0,R=function(e,t){var n=e.prototype;t.forEach((function(e){Object.defineProperty(n,e,{get:function(){return this.el[e]},set:function(t){var n=this;this.z.runOutsideAngular((function(){return n.el[e]=t}))}})}))},N=function(e,t){var n=e.prototype;t.forEach((function(e){n[e]=function(){var t=this,n=arguments;return this.z.runOutsideAngular((function(){return t.el[e].apply(t.el,n)}))}}))},F=function(e,t,n){n.forEach((function(n){return e[n]=Object(f.a)(t,n)}))},H=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-app",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}(),$=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-avatar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}(),z=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-back-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","defaultHref","disabled","icon","mode","text","type"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(z,["color","defaultHref","disabled","icon","mode","text","type"]);var W=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionBackdropTap"])}return e.decorators=[{type:i.l,args:[{selector:"ion-backdrop",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["stopPropagation","tappable","visible"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(W,["stopPropagation","tappable","visible"]);var U=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-badge",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(U,["color","mode"]);var B=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionFocus","ionBlur"])}return e.decorators=[{type:i.l,args:[{selector:"ion-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerDirection","shape","size","strong","target","type"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(B,["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerDirection","shape","size","strong","target","type"]);var V=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-buttons",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["collapse"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(V,["collapse"]);var q=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-card",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["button","color","disabled","download","href","mode","rel","routerDirection","target","type"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(q,["button","color","disabled","download","href","mode","rel","routerDirection","target","type"]);var G=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-card-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["mode"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(G,["mode"]);var K=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-card-header",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","translucent"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(K,["color","mode","translucent"]);var J=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-card-subtitle",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(J,["color","mode"]);var Q=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-card-title",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Q,["color","mode"]);var X=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionChange","ionFocus","ionBlur"])}return e.decorators=[{type:i.l,args:[{selector:"ion-checkbox",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","color","disabled","indeterminate","mode","name","value"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(X,["checked","color","disabled","indeterminate","mode","name","value"]);var Z=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-chip",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","outline"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Z,["color","mode","outline"]);var ee=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-col",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(ee,["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]);var te=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}return e.decorators=[{type:i.l,args:[{selector:"ion-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();N(te,["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]),R(te,["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"]);var ne=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}return e.decorators=[{type:i.l,args:[{selector:"ion-datetime",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["cancelText","dayNames","dayShortNames","dayValues","disabled","displayFormat","doneText","hourValues","max","min","minuteValues","mode","monthNames","monthShortNames","monthValues","name","pickerFormat","pickerOptions","placeholder","readonly","value","yearValues"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();N(ne,["open"]),R(ne,["cancelText","dayNames","dayShortNames","dayValues","disabled","displayFormat","doneText","hourValues","max","min","minuteValues","mode","monthNames","monthShortNames","monthValues","name","pickerFormat","pickerOptions","placeholder","readonly","value","yearValues"]);var re=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-fab",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["activated","edge","horizontal","vertical"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();N(re,["close"]),R(re,["activated","edge","horizontal","vertical"]);var ie=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionFocus","ionBlur"])}return e.decorators=[{type:i.l,args:[{selector:"ion-fab-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["activated","color","disabled","download","href","mode","rel","routerDirection","show","size","target","translucent","type"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(ie,["activated","color","disabled","download","href","mode","rel","routerDirection","show","size","target","translucent","type"]);var oe=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-fab-list",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["activated","side"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(oe,["activated","side"]);var ae=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-footer",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["mode","translucent"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(ae,["mode","translucent"]);var se=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-grid",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["fixed"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(se,["fixed"]);var le=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-header",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["collapse","mode","translucent"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(le,["collapse","mode","translucent"]);var ue=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-icon",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["ariaLabel","color","flipRtl","icon","ios","lazy","md","mode","name","size","src"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(ue,["ariaLabel","color","flipRtl","icon","ios","lazy","md","mode","name","size","src"]);var ce=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}return e.decorators=[{type:i.l,args:[{selector:"ion-img",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["alt","src"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(ce,["alt","src"]);var de=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionInfinite"])}return e.decorators=[{type:i.l,args:[{selector:"ion-infinite-scroll",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","position","threshold"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();N(de,["complete"]),R(de,["disabled","position","threshold"]);var he=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-infinite-scroll-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["loadingSpinner","loadingText"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(he,["loadingSpinner","loadingText"]);var fe=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}return e.decorators=[{type:i.l,args:[{selector:"ion-input",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();
2N(fe,["setFocus","getInputElement"]),R(fe,["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"]);var pe=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-item",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerDirection","target","type"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(pe,["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerDirection","target","type"]);var me=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-item-divider",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","sticky"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(me,["color","mode","sticky"]);var ge=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-item-group",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}(),_e=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-item-option",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(_e,["color","disabled","download","expandable","href","mode","rel","target","type"]);var ye=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionSwipe"])}return e.decorators=[{type:i.l,args:[{selector:"ion-item-options",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["side"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(ye,["side"]);var ve=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionDrag"])}return e.decorators=[{type:i.l,args:[{selector:"ion-item-sliding",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();N(ve,["getOpenAmount","getSlidingRatio","open","close","closeOpened"]),R(ve,["disabled"]);var be=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-label",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","position"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(be,["color","mode","position"]);var we=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-list",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["inset","lines","mode"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();N(we,["closeSlidingItems"]),R(we,["inset","lines","mode"]);var ke=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-list-header",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(ke,["color","mode"]);var Me=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}return e.decorators=[{type:i.l,args:[{selector:"ion-menu",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();N(Me,["isOpen","isActive","open","close","toggle","setOpen"]),R(Me,["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"]);var Se=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-menu-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["autoHide","color","disabled","menu","type"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Se,["autoHide","color","disabled","menu","type"]);var Te=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-menu-toggle",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["autoHide","menu"]}
2]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Te,["autoHide","menu"]);var xe=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionNavWillChange","ionNavDidChange"])}return e.decorators=[{type:i.l,args:[{selector:"ion-nav",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["animated","animation","root","rootParams","swipeGesture"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();N(xe,["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"]),R(xe,["animated","animation","root","rootParams","swipeGesture"]);var Le=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-nav-link",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["component","componentProps","routerDirection"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Le,["component","componentProps","routerDirection"]);var De=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-nav-pop",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}(),Ce=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-nav-push",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["component","componentProps"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Ce,["component","componentProps"]);var Oe=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-nav-set-root",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["component","componentProps"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Oe,["component","componentProps"]);var Ee=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-note",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Ee,["color","mode"]);var je=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-progress-bar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["buffer","color","mode","reversed","type","value"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(je,["buffer","color","mode","reversed","type","value"]);var Ae=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionSelect","ionFocus","ionBlur"])}return e.decorators=[{type:i.l,args:[{selector:"ion-radio",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","color","disabled","mode","name","value"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Ae,["checked","color","disabled","mode","name","value"]);var Pe=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionChange"])}return e.decorators=[{type:i.l,args:[{selector:"ion-radio-group",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["allowEmptySelection","name","value"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Pe,["allowEmptySelection","name","value"]);var Ie=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionChange","ionFocus","ionBlur"])}return e.decorators=[{type:i.l,args:[{selector:"ion-range",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","debounce","disabled","dualKnobs","max","min","mode","name","pin","snaps","step","ticks","value"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Ie,["color","debounce","disabled","dualKnobs","max","min","mode","name","pin","snaps","step","ticks","value"]);var Ye=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionRefresh","ionPull","ionStart"])}return e.decorators=[{type:i.l,args:[{selector:"ion-refresher",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["closeDuration","disabled","pullFactor","pullMax","pullMin","snapbackDuration"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();N(Ye,["complete","cancel","getProgress"]),R(Ye,["closeDuration","disabled","pullFactor","pullMax","pullMin","snapbackDuration"]);var Re=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-refresher-content",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Re,["pullingIcon","pullingText","refreshingSpinner","refreshingText"]);var Ne=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-reorder",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}(),Fe=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionItemReorder"])}return e.decorators=[{type:i.l,args:[{selector:"ion-reorder-group",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();N(Fe,["complete"]),R(Fe,["disabled"]);var He=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-ripple-effect",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["type"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();N(He,["addRipple"]),R(He,["type"]);var $e=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-row",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}(),ze=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionInput","ionChange","ionCancel","ionClear","
2ionBlur","ionFocus"])}return e.decorators=[{type:i.l,args:[{selector:"ion-searchbar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","inputmode","mode","placeholder","searchIcon","showCancelButton","spellcheck","type","value"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();N(ze,["setFocus","getInputElement"]),R(ze,["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","inputmode","mode","placeholder","searchIcon","showCancelButton","spellcheck","type","value"]);var We=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionChange"])}return e.decorators=[{type:i.l,args:[{selector:"ion-segment",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","disabled","mode","scrollable","value"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(We,["color","disabled","mode","scrollable","value"]);var Ue=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionSelect"])}return e.decorators=[{type:i.l,args:[{selector:"ion-segment-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","disabled","layout","mode","type","value"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Ue,["checked","disabled","layout","mode","type","value"]);var Be=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionChange","ionCancel","ionFocus","ionBlur"])}return e.decorators=[{type:i.l,args:[{selector:"ion-select",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();N(Be,["open"]),R(Be,["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"]);var Ve=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-select-option",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","selected","value"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Ve,["disabled","selected","value"]);var qe=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-skeleton-text",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["animated","width"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(qe,["animated","width"]);var Ge=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-slide",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}(),Ke=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionSlidesDidLoad","ionSlideTap","ionSlideDoubleTap","ionSlideWillChange","ionSlideDidChange","ionSlideNextStart","ionSlidePrevStart","ionSlideNextEnd","ionSlidePrevEnd","ionSlideTransitionStart","ionSlideTransitionEnd","ionSlideDrag","ionSlideReachStart","ionSlideReachEnd","ionSlideTouchStart","ionSlideTouchEnd"])}return e.decorators=[{type:i.l,args:[{selector:"ion-slides",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["mode","options","pager","scrollbar"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();N(Ke,["update","updateAutoHeight","slideTo","slideNext","slidePrev","getActiveIndex","getPreviousIndex","length","isEnd","isBeginning","startAutoplay","stopAutoplay","lockSwipeToNext","lockSwipeToPrev","lockSwipes","getSwiper"]),R(Ke,["mode","options","pager","scrollbar"]);var Je=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-spinner",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","duration","name","paused"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Je,["color","duration","name","paused"]);var Qe=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionSplitPaneVisible"])}return e.decorators=[{type:i.l,args:[{selector:"ion-split-pane",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["contentId","disabled","when"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Qe,["contentId","disabled","when"]);var Xe=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-tab-bar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode","selectedTab","translucent"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Xe,["color","mode","selectedTab","translucent"]);var Ze=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-tab-button",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(Ze,["disabled","download","href","layout","mode","rel","selected","tab","target"]);var et=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-text",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(et,["color","mode"]);var tt=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}return e.decorators=[{type:i.l,args:[{selector:"ion-textarea",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","debounce","disabled","maxlength","minlength","mode","name","placeholder","readonly","required","rows","spellcheck","value","wrap"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();
2N(tt,["setFocus","getInputElement"]),R(tt,["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","debounce","disabled","maxlength","minlength","mode","name","placeholder","readonly","required","rows","spellcheck","value","wrap"]);var nt=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-thumbnail",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>"}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}(),rt=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-title",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","size"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(rt,["color","size"]);var it=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,F(this,this.el,["ionChange","ionFocus","ionBlur"])}return e.decorators=[{type:i.l,args:[{selector:"ion-toggle",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["checked","color","disabled","mode","name","value"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(it,["checked","color","disabled","mode","name","value"]);var ot=function(){function e(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}return e.decorators=[{type:i.l,args:[{selector:"ion-toolbar",changeDetection:i.i.OnPush,template:"<ng-content></ng-content>",inputs:["color","mode"]}]}],e.ctorParameters=function(){return[{type:i.j},{type:i.p},{type:i.F}]},e}();R(ot,["color","mode"]);var at=function(){function e(){}return e.prototype.get=function(e,t){var n=lt();return n?n.get(e,t):null},e.prototype.getBoolean=function(e,t){var n=lt();return!!n&&n.getBoolean(e,t)},e.prototype.getNumber=function(e,t){var n=lt();return n?n.getNumber(e,t):0},e.prototype.set=function(e,t){console.warn("[DEPRECATION][Config]: The Config.set() method is deprecated and will be removed in Ionic Framework 6.0. Please see https://ionicframework.com/docs/angular/config for alternatives.");var n=lt();n&&n.set(e,t)},e.decorators=[{type:i.u,args:[{providedIn:"root"}]}],e.ngInjectableDef=Object(i.bb)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),st=new i.v("USERCONFIG"),lt=function(){if("undefined"!=typeof window){var e=window.Ionic;if(e&&e.config)return e.config}return null},ut=function(){function e(e){void 0===e&&(e={}),this.data=e}return e.prototype.get=function(e){return this.data[e]},e}(),ct=function(){function e(e,t){this.zone=e,this.appRef=t}return e.prototype.create=function(e,t,n){return new dt(e,t,n,this.appRef,this.zone)},e.decorators=[{type:i.u}],e.ctorParameters=function(){return[{type:i.F},{type:i.g}]},e}(),dt=function(){function e(e,t,n,r,i){this.resolver=e,this.injector=t,this.location=n,this.appRef=r,this.zone=i,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}return e.prototype.attachViewToDom=function(e,t,n,r){var i=this;return this.zone.run((function(){return new Promise((function(o){o(ht(i.zone,i.resolver,i.injector,i.location,i.appRef,i.elRefMap,i.elEventsMap,e,t,n,r))}))}))},e.prototype.removeViewFromDom=function(e,t){var n=this;return this.zone.run((function(){return new Promise((function(e){var r=n.elRefMap.get(t);if(r){r.destroy(),n.elRefMap.delete(t);var i=n.elEventsMap.get(t);i&&(i(),n.elEventsMap.delete(t))}e()}))}))},e}(),ht=function(e,t,n,r,o,a,s,l,u,c,d){var h=t.resolveComponentFactory(u),f=i.w.create({providers:gt(c),parent:n}),p=r?r.createComponent(h,r.length,f):h.create(f),m=p.instance,g=p.location.nativeElement;if(c&&Object.assign(m,c),d)for(var _=0,y=d;_<y.length;_++)g.classList.add(y[_]);var v=pt(e,m,g);return l.appendChild(g),r||o.attachView(p.hostView),p.changeDetectorRef.reattach(),a.set(g,p),s.set(g,v),g},ft=[u.a,u.b,u.c,u.d,u.e],pt=function(e,t,n){return e.run((function(){var e=ft.filter((function(e){return"function"==typeof t[e]})).map((function(e){var r=function(n){return t[e](n.detail)};return n.addEventListener(e,r),function(){return n.removeEventListener(e,r)}}));return function(){return e.forEach((function(e){return e()}))}}))},mt=new i.v("NavParamsToken"),gt=function(e){return[{provide:mt,useValue:e},{provide:ut,useFactory:_t,deps:[mt]}]},_t=function(e){return new ut(e)},yt=function(e,t){return(e=e.filter((function(e){return e.stackId!==t.stackId}))).push(t),e},vt=function(e,t){var n=e.createUrlTree(["."],{relativeTo:t});return e.serializeUrl(n)},bt=function(e,t){if(e)for(var n=wt(t),r=0;r<n.length;r++){if(r>=e.length)return n[r];if(n[r]!==e[r])return}},wt=function(e){return e.split("/").map((function(e){return e.trim()})).filter((function(e){return""!==e}))}
2,kt=function(e){e&&(e.ref.destroy(),e.unlistenEvents())},Mt=function(){function e(e,t,n,r,i,o){this.containerEl=t,this.router=n,this.navCtrl=r,this.zone=i,this.location=o,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==e?wt(e):void 0}return e.prototype.createView=function(e,t){var n=vt(this.router,t),r=e&&e.location&&e.location.nativeElement,i=pt(this.zone,e.instance,r);return{id:this.nextId++,stackId:bt(this.tabsPrefix,n),unlistenEvents:i,element:r,ref:e,url:n}},e.prototype.getExistingView=function(e){var t=vt(this.router,e),n=this.views.find((function(e){return e.url===t}));return n&&n.ref.changeDetectorRef.reattach(),n},e.prototype.setActive=function(e){var t=this,n=this.navCtrl.consumeTransition(),r=n.direction,i=n.animation,o=this.activeView,a=function(e,t){return!t||e.stackId!==t.stackId}(e,o);a&&(r="back",i=void 0);var s,l=this.views.slice(),u=this.router;u.getCurrentNavigation?s=u.getCurrentNavigation():u.navigations&&u.navigations.value&&(s=u.navigations.value),s&&s.extras&&s.extras.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);var c=this.views.includes(e),d=this.insertView(e,r);return c||e.ref.changeDetectorRef.detectChanges(),this.zone.runOutsideAngular((function(){return t.wait((function(){return o&&o.ref.changeDetectorRef.detach(),e.ref.changeDetectorRef.reattach(),t.transition(e,o,i,t.canGoBack(1),!1).then((function(){return St(e,d,l,t.location)})).then((function(){return{enteringView:e,direction:r,animation:i,tabSwitch:a}}))}))}))},e.prototype.canGoBack=function(e,t){return void 0===t&&(t=this.getActiveStackId()),this.getStack(t).length>e},e.prototype.pop=function(e,t){var n=this;return void 0===t&&(t=this.getActiveStackId()),this.zone.run((function(){var r=n.getStack(t);if(r.length<=e)return Promise.resolve(!1);var i=r[r.length-e-1],o=i.url,a=i.savedData;if(a){var s=a.get("primary");s&&s.route&&s.route._routerState&&s.route._routerState.snapshot&&s.route._routerState.snapshot.url&&(o=s.route._routerState.snapshot.url)}return n.navCtrl.navigateBack(o,i.savedExtras).then((function(){return!0}))}))},e.prototype.startBackTransition=function(){var e=this,t=this.activeView;if(t){var n=this.getStack(t.stackId),r=n[n.length-2];return this.wait((function(){return e.transition(r,t,"back",e.canGoBack(2),!0)}))}return Promise.resolve()},e.prototype.endBackTransition=function(e){e?(this.skipTransition=!0,this.pop(1)):this.activeView&&Tt(this.activeView,this.views,this.views,this.location)},e.prototype.getLastUrl=function(e){var t=this.getStack(e);return t.length>0?t[t.length-1]:void 0},e.prototype.getActiveStackId=function(){return this.activeView?this.activeView.stackId:void 0},e.prototype.destroy=function(){this.containerEl=void 0,this.views.forEach(kt),this.activeView=void 0,this.views=[]},e.prototype.getStack=function(e){return this.views.filter((function(t){return t.stackId===e}))},e.prototype.insertView=function(e,t){return this.activeView=e,this.views=function(e,t,n){return"root"===n?yt(e,t):"forward"===n?function(e,t){return e.indexOf(t)>=0?e=e.filter((function(e){return e.stackId!==t.stackId||e.id<=t.id})):e.push(t),e}(e,t):function(e,t){return e.indexOf(t)>=0?e.filter((function(e){return e.stackId!==t.stackId||e.id<=t.id})):yt(e,t)}(e,t)}(this.views,e,t),this.views.slice()},e.prototype.transition=function(e,t,n,r,i){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(t===e)return Promise.resolve(!1);var o=e?e.element:void 0,a=t?t.element:void 0,s=this.containerEl;return o&&o!==a&&(o.classList.add("ion-page"),o.classList.add("ion-page-invisible"),o.parentElement!==s&&s.appendChild(o),s.commit)?s.commit(o,a,{deepWait:!0,duration:void 0===n?0:void 0,direction:n,showGoBack:r,progressAnimation:i}):Promise.resolve(!1)},e.prototype.wait=function(e){return Object(r.__awaiter)(this,void 0,void 0,(function(){return Object(r.__generator)(this,(function(t){switch(t.label){case 0:return void 0===this.runningTask?[3,2]:[4,this.runningTask];case 1:t.sent(),this.runningTask=void 0,t.label=2;case 2:return[2,this.runningTask=e()]}}))}))},e}(),St=function(e,t,n,r){return"function"==typeof requestAnimationFrame?new Promise((function(i){requestAnimationFrame((function(){Tt(e,t,n,r),i()}))})):Promise.resolve()},Tt=function(e,t,n,r){n.filter((function(e){return!t.includes(e)}
2)).forEach(kt),t.forEach((function(t){var n=r.path().split("?")[0].split("#")[0];if(t!==e&&t.url!==n){var i=t.element;i.setAttribute("aria-hidden","true"),i.classList.add("ion-page-hidden"),t.ref.changeDetectorRef.detach()}}))},xt=function(){function e(e,t,n,r,o,a,l,u,c,d,h,f,m){this.parentContexts=e,this.location=t,this.resolver=n,this.config=a,this.navCtrl=l,this.parentOutlet=m,this.activated=null,this.activatedView=null,this._activatedRoute=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new p.a(null),this.stackEvents=new i.r,this.activateEvents=new i.r,this.deactivateEvents=new i.r,this.nativeEl=c.nativeElement,this.name=r||s.f,this.tabsPrefix="true"===o?vt(d,f):void 0,this.stackCtrl=new Mt(this.tabsPrefix,this.nativeEl,d,l,h,u),e.onChildOutletCreated(this.name,this)}return Object.defineProperty(e.prototype,"animated",{set:function(e){this.nativeEl.animated=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"swipeGesture",{set:function(e){var t=this;this._swipeGesture=e,this.nativeEl.swipeHandler=e?{canStart:function(){return t.stackCtrl.canGoBack(1)},onStart:function(){return t.stackCtrl.startBackTransition()},onEnd:function(e){return t.stackCtrl.endBackTransition(e)}}:void 0},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.stackCtrl.destroy()},e.prototype.getContext=function(){return this.parentContexts.getContext(this.name)},e.prototype.ngOnInit=function(){var e=this;if(!this.activated){var t=this.getContext();t&&t.route&&this.activateWith(t.route,t.resolver||null)}this.nativeEl.componentOnReady&&this.nativeEl.componentOnReady().then((function(){void 0===e._swipeGesture&&(e.swipeGesture=e.config.getBoolean("swipeBackEnabled","ios"===e.nativeEl.mode))}))},Object.defineProperty(e.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),e.prototype.detach=function(){throw new Error("incompatible reuse strategy")},e.prototype.attach=function(e,t){throw new Error("incompatible reuse strategy")},e.prototype.deactivate=function(){if(this.activated){if(this.activatedView){this.activatedView.savedData=new Map(this.getContext().children.contexts),this.activatedView.savedExtras={};var e=this.getContext();if(e.route){var t=e.route.snapshot;this.activatedView.savedExtras.queryParams=t.queryParams,this.activatedView.savedExtras.fragment=t.fragment}}var n=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}},e.prototype.activateWith=function(e,t){var n,r=this;if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var i=this.stackCtrl.getExistingView(e);if(i){n=this.activated=i.ref;var o=i.savedData;o&&(this.getContext().children.contexts=o),this.updateActivatedRouteProxy(n.instance,e)}else{var a=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),s=this.parentContexts.getOrCreateContext(this.name).children,l=new p.a(null),u=this.createActivatedRouteProxy(l,e),c=new Lt(u,s,this.location.injector);n=this.activated=this.location.createComponent(a,this.location.length,c),l.next(n.instance),i=this.stackCtrl.createView(this.activated,e),this.proxyMap.set(n.instance,u),this.currentActivatedRoute$.next({component:n.instance,activatedRoute:e})}this.activatedView=i,this.stackCtrl.setActive(i).then((function(e){r.navCtrl.setTopOutlet(r),r.activateEvents.emit(n.instance),r.stackEvents.emit(e)}))},e.prototype.canGoBack=function(e,t){return void 0===e&&(e=1),this.stackCtrl.canGoBack(e,t)},e.prototype.pop=function(e,t){return void 0===e&&(e=1),this.stackCtrl.pop(e,t)},e.prototype.getLastUrl=function(e){var t=this.stackCtrl.getLastUrl(e);return t?t.url:void 0},e.prototype.getActiveStackId=function(){return this.stackCtrl.getActiveStackId()},e.prototype.createActivatedRouteProxy=function(e,t){var n=new s.a;return n._futureSnapshot=t._futureSnapshot,n._routerState=t._routerState,n.snapshot=t.snapshot,n.outlet=t.outlet,n.component=t.component,n._paramMap=this.proxyObservable(e,"paramMap"),n._queryParamMap=this.proxyObservable(e,"queryParamMap"),n.url=this.proxyObservable(e,"url"),n.params=this.proxyObservable(e,"params"),n.queryParams=this.proxyObservable(e,"queryParams"),n.fragment=this.proxyObservable(e,"fragment"),n.data=this.proxyObservable(e,"data"),n},e.prototype.proxyObservable=function(e,t){var n=this;return e.pipe(Object(m.a)((function(e){return!!e})),Object(g.a)((function(e){return n.currentActivatedRoute$.pipe(Object(m.a)((function(t){return null!==t&&t.component===e})),Object(g.a)((function(e){return e&&e.activatedRoute[t]})),Object(_.a)())})))},e.prototype.updateActivatedRouteProxy=function(e,t){var n=this.proxyMap.get(e);if(!n)throw new Error("Could not find activated route proxy for view");n._futureSnapshot=t._futureSnapshot,n._routerState=t._routerState,n.snapshot=t.snapshot,n.outlet=t.outlet,n.component=t.component,this.currentActivatedRoute$.next({component:e,activatedRoute:t})},e.decorators=[{type:i.o,args:[{selector:"ion-router-outlet",exportAs:"outlet",input
2s:["animated","swipeGesture"]}]}],e.ctorParameters=function(){return[{type:s.b},{type:i.X},{type:i.m},{type:String,decorators:[{type:i.h,args:["name"]}]},{type:String,decorators:[{type:i.G},{type:i.h,args:["tabs"]}]},{type:at},{type:A},{type:a.h},{type:i.p},{type:s.m},{type:i.F},{type:s.a},{type:e,decorators:[{type:i.P},{type:i.G}]}]},e.propDecorators={stackEvents:[{type:i.H}],activateEvents:[{type:i.H,args:["activate"]}],deactivateEvents:[{type:i.H,args:["deactivate"]}]},e}(),Lt=function(){function e(e,t,n){this.route=e,this.childContexts=t,this.parent=n}return e.prototype.get=function(e,t){return e===s.a?this.route:e===s.b?this.childContexts:this.parent.get(e,t)},e}(),Dt=function(){function e(e){this.navCtrl=e,this.ionTabsWillChange=new i.r,this.ionTabsDidChange=new i.r}return e.prototype.onPageSelected=function(e){var t=e.enteringView.stackId;e.tabSwitch&&void 0!==t&&(this.tabBar&&(this.tabBar.selectedTab=t),this.ionTabsWillChange.emit({tab:t}),this.ionTabsDidChange.emit({tab:t}))},e.prototype.select=function(e){var t=this.outlet.getActiveStackId()===e,n=this.outlet.tabsPrefix+"/"+e,r=t?n:this.outlet.getLastUrl(e)||n;return this.navCtrl.navigateRoot(r,{animated:!0,animationDirection:"back"})},e.prototype.getSelected=function(){return this.outlet.getActiveStackId()},e.decorators=[{type:i.l,args:[{selector:"ion-tabs",template:'\n    <ng-content select="[slot=top]"></ng-content>\n    <div class="tabs-inner">\n      <ion-router-outlet #outlet tabs="true" (stackEvents)="onPageSelected($event)"></ion-router-outlet>\n    </div>\n    <ng-content></ng-content>',styles:["\n    :host {\n      display: flex;\n      position: absolute;\n      top: 0;\n      left: 0;\n      right: 0;\n      bottom: 0;\n\n      flex-direction: column;\n\n      width: 100%;\n      height: 100%;\n\n      contain: layout size style;\n      z-index: $z-index-page-container;\n    }\n    .tabs-inner {\n      position: relative;\n\n      flex: 1;\n\n      contain: layout size style;\n    }"]}]}],e.ctorParameters=function(){return[{type:A}]},e.propDecorators={outlet:[{type:i.W,args:["outlet",{read:xt}]}],tabBar:[{type:i.n,args:[Xe]}],ionTabsWillChange:[{type:i.H}],ionTabsDidChange:[{type:i.H}],select:[{type:i.s,args:["ionTabButtonClick",["$event.detail.tab"]]}]},e}(),Ct=function(){function e(e,t){this.routerOutlet=e,this.navCtrl=t}return e.prototype.onClick=function(e){this.routerOutlet&&this.routerOutlet.canGoBack()?(this.routerOutlet.pop(),e.preventDefault()):null!=this.defaultHref&&(this.navCtrl.navigateBack(this.defaultHref),e.preventDefault())},e.decorators=[{type:i.o,args:[{selector:"ion-back-button",inputs:["defaultHref"]}]}],e.ctorParameters=function(){return[{type:xt,decorators:[{type:i.G}]},{type:A}]},e.propDecorators={onClick:[{type:i.s,args:["click",["$event"]]}]},e}(),Ot=function(){function e(e,t,n,r,i){e.nativeElement.delegate=r.create(t,n,i)}return e.decorators=[{type:i.o,args:[{selector:"ion-nav"}]}],e.ctorParameters=function(){return[{type:i.p},{type:i.m},{type:i.w},{type:ct},{type:i.X}]},e}(),Et=function(){function e(e,t,n,r,i){this.locationStrategy=e,this.navCtrl=t,this.elementRef=n,this.router=r,this.routerLink=i,this.routerDirection="forward"}return e.prototype.ngOnInit=function(){this.updateTargetUrlAndHref()},e.prototype.ngOnChanges=function(){this.updateTargetUrlAndHref()},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.updateTargetUrlAndHref=function(){if(this.routerLink){var e=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=e}},e.prototype.onClick=function(e){this.navCtrl.setDirection(this.routerDirection),e.preventDefault()},e.decorators=[{type:i.o,args:[{selector:"[routerLink]",inputs:["routerDirection"]}]}],e.ctorParameters=function(){return[{type:a.i},{type:A},{type:i.p},{type:s.m},{type:s.n,decorators:[{type:i.G}]}]},e.propDecorators={onClick:[{type:i.s,args:["click",["$event"]]}]},e}(),jt=function(){function e(e){this.templateRef=e}return e.decorators=[{type:i.o,args:[{selector:"[virtualFooter]"}]}],e.ctorParameters=function(){return[{type:i.S}]},e}(),At=function(){function e(e){this.templateRef=e}return e.decorators=[{type:i.o,args:[{selector:"[virtualHeader]"}]}],e.ctorParameters=function(){return[{type:i.S}]},e}(),Pt=function(){function e(e,t){this.templateRef=e,this.viewContainer=t}return e.decorators=[{type:i.o,args:[{selector:"[virtualItem]"}]}],e.ctorParameters=function(){return[{type:i.S}
2,{type:i.X}]},e}(),It=function(){function e(e,t,n){this.z=e,this.iterableDiffers=t,this.refMap=new WeakMap,this.el=n.nativeElement,this.el.nodeRender=this.nodeRender.bind(this)}return e.prototype.ngOnChanges=function(e){if(this.trackBy&&"items"in e){var t=e.items.currentValue;if(void 0===this.differ&&null!=t)try{this.differ=this.iterableDiffers.find(t).create(this.trackBy)}catch(n){throw new Error("Cannot find a differ supporting object '"+t+"'. VirtualScroll only supports binding to Iterables such as Arrays.")}}},e.prototype.ngDoCheck=function(){null!==(void 0!==this.differ&&this.items?this.differ.diff(this.items):null)&&this.checkRange(0)},e.prototype.nodeRender=function(e,t,n){var r=this;return this.z.run((function(){var i;if(e){var o=(i=r.refMap.get(e)).context;o.$implicit=t.value,o.index=t.index}else i=r.itmTmp.viewContainer.createEmbeddedView(r.getComponent(t.type),{$implicit:t.value,index:n},n),e=Yt(i),r.refMap.set(e,i);return i.detectChanges(),e}))},e.prototype.getComponent=function(e){switch(e){case"item":return this.itmTmp.templateRef;case"header":return this.hdrTmp.templateRef;case"footer":return this.ftrTmp.templateRef}throw new Error("template for virtual item was not provided")},e.decorators=[{type:i.l,args:[{selector:"ion-virtual-scroll",template:"<ng-content></ng-content>",changeDetection:i.i.OnPush,inputs:["approxItemHeight","approxHeaderHeight","approxFooterHeight","headerFn","footerFn","items","itemHeight","headerHeight","footerHeight","trackBy"]}]}],e.ctorParameters=function(){return[{type:i.F},{type:i.x},{type:i.p}]},e.propDecorators={itmTmp:[{type:i.n,args:[Pt]}],hdrTmp:[{type:i.n,args:[At]}],ftrTmp:[{type:i.n,args:[jt]}]},e}(),Yt=function(e){for(var t=e.rootNodes,n=0;n<t.length;n++)if(1===t[n].nodeType)return t[n];throw new Error("virtual element was not created")};R(It,["approxItemHeight","approxHeaderHeight","approxFooterHeight","headerFn","footerFn","items","itemHeight","headerHeight","footerHeight"]),N(It,["checkEnd","checkRange","positionForItem"]);var Rt=function(){function e(e){var t=e.nativeElement,n=Array.from(t.attributes).map((function(e){return e.name})).filter((function(e){return Nt.includes(e)}));n.length>0&&console.warn("[DEPRECATED][CSS] Ionic CSS attributes are deprecated.\nReplace:\n'<"+t.tagName.toLowerCase()+" "+n.map((function(e){return""+e})).join(" ")+">'\n\nWith:\n'<"+t.tagName.toLowerCase()+' class="'+n.map((function(e){return"ion-"+e})).join(" ")+"\">'\n      ")}return e.decorators=[{type:i.o,args:[{selector:"[align-self-start], [align-self-end], [align-self-center], [align-self-stretch], [align-self-baseline], [align-self-auto], [wrap-reverse], [justify-content-start], [justify-content-center], [justify-content-end], [justify-content-around], [justify-content-between], [justify-content-evenly], [align-items-start], [align-items-center], [align-items-end], [align-items-stretch], [align-items-baseline], [float-left], [float-right], [float-start], [float-end], [float-sm-left], [float-sm-right], [float-sm-start], [float-sm-end], [float-md-left], [float-md-right], [float-md-start], [float-md-end], [float-lg-left], [float-lg-right], [float-lg-start], [float-lg-end], [float-xl-left], [float-xl-right], [float-xl-start], [float-xl-end], [text-center], [text-justify], [text-start], [text-end], [text-left], [text-right], [text-nowrap], [text-wrap], [text-sm-center], [text-sm-justify], [text-sm-start], [text-sm-end], [text-sm-left], [text-sm-right], [text-sm-nowrap], [text-sm-wrap], [text-md-center], [text-md-justify], [text-md-start], [text-md-end], [text-md-left], [text-md-right], [text-md-nowrap], [text-md-wrap], [text-lg-center], [text-lg-justify], [text-lg-start], [text-lg-end], [text-lg-left], [text-lg-right], [text-lg-nowrap], [text-lg-wrap], [text-xl-center], [text-xl-justify], [text-xl-start], [text-xl-end], [text-xl-left], [text-xl-right], [text-xl-nowrap], [text-xl-wrap], [text-uppercase], [text-lowercase], [text-capitalize], [text-sm-uppercase], [text-sm-lowercase], [text-sm-capitalize], [text-md-uppercase], [text-md-lowercase], [text-md-capitalize], [text-lg-uppercase], [text-lg-lowercase], [text-lg-capitalize], [text-xl-uppercase], [text-xl-lowercase], [text-xl-capitalize], [no-padding], [padding], [padding-top], [padding-bottom], [padding-start], [padding-end], [padding-vertical], [padding-horizontal], [no-margin], [margin], [margin-top], [margin-bottom], [margin-start], [margin-end], [margin-vertical], [margin-horizontal]"}]}],e.ctorParameters=function(){return[{type:i.p}]},e}(),Nt=["align-self-start","align-self-end","align-self-center","align-self-stretch","align-self-baseline","align-self-auto","wrap-reverse","justify-content-start","justify-content-center","justify-content-end","justify-content-around","justify-content-between","justify-content-evenly","align-items-start","align-items-center","align-items-end","align-items-stretch","align-items-baseline","float-left","float-right","float-start","float-end","float-sm-left","float-sm-right","float-sm-start","float-sm-end","float-md-left","float-md-right","float-md-start","float-md-end","float-lg-left","float-lg-right","float-lg-start","float-lg-end","float-xl-left","float-xl-right","float-xl-start","float-xl-end","text-center","text-justify","text-start","text-end","text-left","text-right","text-nowrap","text-wrap","text-sm-center","text-sm-justify","text-sm-start","text-sm-end","text-sm-left","text-sm-right","text-sm-nowrap","text-sm-wrap","text-md-center","text-md-justify","text-md-start","text-md-end","text-md-left","text-md-right","text-md-nowrap","text-md-wrap","text-lg-center","text-lg-justify","text-lg-start","text-lg-end","text-lg-left","text-lg-right","text-lg-nowrap","text-lg-wrap","text-xl-ce
2nter","text-xl-justify","text-xl-start","text-xl-end","text-xl-left","text-xl-right","text-xl-nowrap","text-xl-wrap","text-uppercase","text-lowercase","text-capitalize","text-sm-uppercase","text-sm-lowercase","text-sm-capitalize","text-md-uppercase","text-md-lowercase","text-md-capitalize","text-lg-uppercase","text-lg-lowercase","text-lg-capitalize","text-xl-uppercase","text-xl-lowercase","text-xl-capitalize","no-padding","padding","padding-top","padding-bottom","padding-start","padding-end","padding-vertical","padding-horizontal","no-margin","margin","margin-top","margin-bottom","margin-start","margin-end","margin-vertical","margin-horizontal"],Ft=function(){function e(e){this.ctrl=e}return e.prototype.create=function(e){return this.ctrl.create(e||{})},e.prototype.dismiss=function(e,t,n){return this.ctrl.dismiss(e,t,n)},e.prototype.getTop=function(){return this.ctrl.getTop()},e}(),Ht=function(e){function t(){return e.call(this,d.c)||this}return Object(r.__extends)(t,e),t.decorators=[{type:i.u,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=Object(i.bb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(Ft),$t=function(e){function t(){return e.call(this,d.b)||this}return Object(r.__extends)(t,e),t.decorators=[{type:i.u,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=Object(i.bb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(Ft),zt=function(){function e(){this.c=new Map,console.warn('[DEPRECATION][Events]: The Events provider is deprecated and it will be removed in the next major release.\n  - Use "Observables" for a similar pub/sub architecture: https://angular.io/guide/observables\n  - Use "Redux" for advanced state management: https://ngrx.io')}return e.prototype.subscribe=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.c.get(e);r||this.c.set(e,r=[]),r.push.apply(r,t)},e.prototype.unsubscribe=function(e,t){if(!t)return this.c.delete(e);var n=this.c.get(e);if(!n)return!1;var r=n.indexOf(t);return!(r<0||(n.splice(r,1),0===n.length&&this.c.delete(e),0))},e.prototype.publish=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=this.c.get(e);return r?r.map((function(e){try{return e.apply(void 0,t)}catch(n){return console.error(n),null}})):null},e.decorators=[{type:i.u,args:[{providedIn:"root"}]}],e.ctorParameters=function(){return[]},e.ngInjectableDef=Object(i.bb)({factory:function(){return new e},token:e,providedIn:"root"}),e}(),Wt=function(e){function t(){return e.call(this,d.m)||this}return Object(r.__extends)(t,e),t.decorators=[{type:i.u,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=Object(i.bb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(Ft),Ut=(function(){function e(){}e.prototype.open=function(e){return c.a.open(e)},e.prototype.close=function(e){return c.a.close(e)},e.prototype.toggle=function(e){return c.a.toggle(e)},e.prototype.enable=function(e,t){return c.a.enable(e,t)},e.prototype.swipeEnable=function(e,t){return console.warn("[DEPRECATED][ion-menu-controller] swipeEnable() is deprecated. Use MenuController.swipeGesture() instead"),this.swipeGesture(e,t)},e.prototype.swipeGesture=function(e,t){return c.a.swipeGesture(e,t)},e.prototype.isOpen=function(e){return c.a.isOpen(e)},e.prototype.isEnabled=function(e){return c.a.isEnabled(e)},e.prototype.get=function(e){return c.a.get(e)},e.prototype.getOpen=function(){return c.a.getOpen()},e.prototype.getMenus=function(){return c.a.getMenus()},e.decorators=[{type:i.u,args:[{providedIn:"root"}]}],e.ngInjectableDef=Object(i.bb)({factory:function(){return new e},token:e,providedIn:"root"})}(),function(e){function t(){return e.call(this,d.o)||this}return Object(r.__extends)(t,e),t.decorators=[{type:i.u,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=Object(i.bb)({factory:function(){return new t},token:t,providedIn:"root"}),t}(Ft)),Bt=function(e){function t(t,n,r){var i=e.call(this,d.n)||this;return i.angularDelegate=t,i.resolver=n,i.injector=r,i}return Object(r.__extends)(t,e),t.prototype.create=function(t){return e.prototype.create.call(this,Object(r.__assign)({},t,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))},t.decorators=[{type:i.u}],t.ctorParameters=function(){return[{type:ct},{type:i.m},{type:i.w}]},t}(Ft),Vt=function(e){function t(t,n,r){var i=e.call(this,d.d)||this;return i.angularDelegate=t,i.resolver=n,i.injector=r,i}return Object(r.__extends)(t,e),t.prototype.create=function(t){return e.prototype.create.call(this,Object(r.__assign)({},t,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))},t.decorators=[{type:i.u}],t.ctorParameters=function(){return[{type:ct},{type:i.m},{type:i.w}]},t}(Ft),qt=function(e){function t(){return e.call(this,d.q)||this}return Object(r.__extends)(t,e),t.decorators=[{type:i.u,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[]},t.ngInjectableDef=Object(i.bb)({factory:function(){return new t},token:t,providedIn:"root"}),t}
2(Ft),Gt=(function(){function e(){}e.prototype.read=function(e){Gt().read(e)},e.prototype.write=function(e){Gt().write(e)},e.decorators=[{type:i.u,args:[{providedIn:"root"}]}],e.ngInjectableDef=Object(i.bb)({factory:function(){return new e},token:e,providedIn:"root"})}(),function(){var e="undefined"!=typeof window?window:null;if(null!=e){var t=e.Ionic;return t&&t.queue?t.queue:{read:function(t){return e.requestAnimationFrame(t)},write:function(t){return e.requestAnimationFrame(t)}}}return{read:function(e){return e()},write:function(e){return e()}}}),Kt=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.shouldAttach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){if(e.routeConfig!==t.routeConfig)return!1;var n=e.params,r=t.params,i=Object.keys(n),o=Object.keys(r);if(i.length!==o.length)return!1;for(var a=0,s=i;a<s.length;a++){var l=s[a];if(r[l]!==n[l])return!1}return!0},e}(),Jt=!1,Qt=function(e,t,i){return function(){var o=t.defaultView;if(o){Jt&&console.warn("Ionic Angular was already initialized. Make sure IonicModule.forRoot() is just called once."),Jt=!0,(o.Ionic=o.Ionic||{}).config=Object(r.__assign)({},e,{_zoneGate:function(e){return i.run(e)}});var a="__zone_symbol__addEventListener"in t.body?"__zone_symbol__addEventListener":"addEventListener";return function(){var e=window,t=[];return e.customElements&&(!e.Element||e.Element.prototype.closest&&e.Element.prototype.matches&&e.Element.prototype.remove)||t.push(n.e(105).then(n.t.bind(null,"QdDj",7))),"function"==typeof Object.assign&&Object.entries&&Array.prototype.find&&Array.prototype.includes&&String.prototype.startsWith&&String.prototype.endsWith&&(!e.NodeList||e.NodeList.prototype.forEach)&&e.fetch&&function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(t){return!1}}()&&"undefined"!=typeof WeakMap||t.push(n.e(104).then(n.t.bind(null,"t6o4",7))),Promise.all(t)}().then((function(){return e={exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:v,jmp:function(e){return i.runOutsideAngular(e)},ael:function(e,t,n,r){e[a](t,n,r)},rel:function(e,t,n,r){e.removeEventListener(t,n,r)}},Object(y.b)().then(()=>{Object(y.h)(),Object(y.c)(JSON.parse('[[{"ios":"ion-select_3-ios","md":"ion-select_3-md"},[[2,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"options":[16]},[[0,"ionSelect","onSelect"]]],[1,"ion-select",{"disabled":[4],"cancelText":[1,"cancel-text"],"okText":[1,"ok-text"],"placeholder":[1],"name":[1],"selectedText":[1,"selected-text"],"multiple":[4],"interface":[1],"interfaceOptions":[8,"interface-options"],"compareWith":[1,"compare-with"],"value":[1032],"isExpanded":[32],"open":[64]}],[1,"ion-select-option",{"disabled":[4],"selected":[4],"value":[8]}]]],[{"ios":"ion-menu_4-ios","md":"ion-menu_4-md"},[[1,"ion-menu-button",{"color":[1],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[32,"ionMenuChange","visibilityChanged"],[32,"ionSplitPaneVisible","visibilityChanged"]]],[1,"ion-menu",{"contentId":[1,"content-id"],"menuId":[1,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[32,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]]],[0,"ion-menu-controller",{"open":[64],"close":[64],"toggle":[64],"enable":[64],"swipeGesture":[64],"isOpen":[64],"isEnabled":[64],"get":[64],"getOpen":[64],"getMenus":[64],"isAnimating":[64],"registerAnimation":[64]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[32,"ionMenuChange","visibilityChanged"],[32,"ionSplitPaneVisible","visibilityChanged"]]]]],[{"ios":"ion-action-sheet-ios","md":"ion-action-sheet-md"},[[2,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-fab_3-ios","md":"ion-fab_3-md"},[[1,"ion-fab-button",{"color":[1],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64]}],[1,"ion-fab-list",{"activated":[4],"side":[1]}]]],[{"ios":"ion-refresher_2-ios","md":"ion-refresher_2-md"},[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[0,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]}]]],[{"ios":"ion-alert-ios","md":"ion-alert-md"},[[2,"ion-alert",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-back-button-ios","md":"ion-back-button-md"},[[2,"ion-back-button",{"color":[1],"defaultHref":[1,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1]}]]],[{"ios":"ion-loading-ios","md":"ion-loading-md"},[[2,"ion-loading",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-toast-ios","md":"ion-toast-md"},[[1,"ion-toast",{"overlayIndex":[2,"overlay-index"],"color":[1],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"showCloseButton":[4,"show-close-button"],"closeButtonText":[1,"close-button-text"],"buttons":[16],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-card_5-ios","md":"ion-card_5-md"},[[6,"ion-card",{"color":[1],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1]}],[0,"ion-card-content"],[1,"ion-card-header",{"color":[1],"translucent":[4]}],[1,"ion-card-subtitle",{"color":[1]}],[1,"ion-card-title",{"color":[1]}]]],[{"ios":"ion-item-option_3-ios","md":"ion-item-option_3-md"},[[1,"ion-item-option",{"color":[1],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[0,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]}]]],[{"ios":"ion-infinite-scroll_2-ios","md":"ion-infinite-scroll_2-md"},[[0,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]}]]],[{"ios":"ion-reorder_2-ios","md":"ion-reorder_2-md"},[[1,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]}]]],[{"ios":"ion-segment_2-ios","md":"ion-segment_2-md"},[[1,"ion-segment-button",{"checked":[1028],"disabled":[4],"layout":[1],"type":[1],"value":[1]}],[2,"ion-segment",{"color":[1],"disabled":[4],"scrollable":[4],"value":[1025]},[[0,"ionSelect","segmentClick"]]]]],[{"ios":"ion-tab-bar_2-ios","md":"ion-tab-bar_2-md"},[[1,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[16,"ionTabBarChanged","onTabBarChanged"]]],[1,"ion-tab-bar",{"color":[1],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},[[8,"keyboardWillHide","onKeyboardWillHide"],[8,"keyboardWillShow","onKeyboardWillShow"]]]]],[{"ios":"ion-chip-ios","md":"ion-chip-md"},[[1,"ion-chip",{"color":[1],"outline":[4]}]]],[{"ios":"ion-modal-ios","md":"ion-modal-md"},[[2,"ion-modal",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}
2]]],[{"ios":"ion-popover-ios","md":"ion-popover-md"},[[2,"ion-popover",{"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-searchbar-ios","md":"ion-searchbar-md"},[[2,"ion-searchbar",{"color":[1],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[8,"show-cancel-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]}]]],["ion-action-sheet-controller_8",[[0,"ion-action-sheet-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-alert-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[1,"ion-anchor",{"color":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"]}],[0,"ion-loading-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-modal-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-picker-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-popover-controller",{"create":[64],"dismiss":[64],"getTop":[64]}],[0,"ion-toast-controller",{"create":[64],"dismiss":[64],"getTop":[64]}]]],[{"ios":"ion-app_8-ios","md":"ion-app_8-md"},[[0,"ion-app"],[2,"ion-buttons",{"collapse":[4]}],[1,"ion-content",{"color":[1],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[2,"click","onClick"]]],[0,"ion-footer",{"translucent":[4]}],[0,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]}],[1,"ion-title",{"color":[1],"size":[1]}],[1,"ion-toolbar",{"color":[1]},[[0,"ionStyle","childrenStyle"]]]]],["ion-nav_5",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"]}],[0,"ion-nav-pop"],[0,"ion-nav-push",{"component":[1],"componentProps":[16]}],[0,"ion-nav-set-root",{"component":[1],"componentProps":[16]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16]}],[0,"ion-route-redirect",{"from":[1],"to":[1]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"target":[1]}]]],[{"ios":"ion-avatar_3-ios","md":"ion-avatar_3-md"},[[1,"ion-avatar"],[1,"ion-badge",{"color":[1]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}
2,[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],[{"ios":"ion-slide_2-ios","md":"ion-slide_2-md"},[[0,"ion-slide"],[4,"ion-slides",{"options":[8],"pager":[4],"scrollbar":[4],"update":[64],"updateAutoHeight":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"getActiveIndex":[64],"getPreviousIndex":[64],"length":[64],"isEnd":[64],"isBeginning":[64],"startAutoplay":[64],"stopAutoplay":[64],"lockSwipeToNext":[64],"lockSwipeToPrev":[64],"lockSwipes":[64],"getSwiper":[64]}]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],[{"ios":"ion-checkbox-ios","md":"ion-checkbox-md"},[[1,"ion-checkbox",{"color":[1],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[1]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]}]]],[{"ios":"ion-input-ios","md":"ion-input-md"},[[2,"ion-input",{"color":[1],"accept":[1],"autocapitalize":[1],"autocomplete":[
21],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"inputmode":[1],"max":[1],"maxlength":[2],"min":[1],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1025],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]}]]],[{"ios":"ion-progress-bar-ios","md":"ion-progress-bar-md"},[[1,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[1]}]]],[{"ios":"ion-range-ios","md":"ion-range-md"},[[1,"ion-range",{"color":[1],"debounce":[2],"name":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"snaps":[4],"step":[2],"ticks":[4],"disabled":[4],"value":[1026],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]}]]],[{"ios":"ion-split-pane-ios","md":"ion-split-pane-md"},[[0,"ion-split-pane",{"contentId":[1,"content-id"],"disabled":[4],"when":[8],"visible":[32]}]]],["ion-text",[[1,"ion-text",{"color":[1]}]]],[{"ios":"ion-textarea-ios","md":"ion-textarea-md"},[[2,"ion-textarea",{"color":[1],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[1028,"clear-on-edit"],"debounce":[2],"disabled":[4],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[2],"rows":[2],"wrap":[1],"autoGrow":[4,"auto-grow"],"value":[1025],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]}]]],[{"ios":"ion-toggle-ios","md":"ion-toggle-md"},[[1,"ion-toggle",{"color":[1],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"activated":[32]}]]],["ion-virtual-scroll",[[0,"ion-virtual-scroll",{"approxItemHeight":[2,"approx-item-height"],"approxHeaderHeight":[2,"approx-header-height"],"approxFooterHeight":[2,"approx-footer-height"],"headerFn":[16],"footerFn":[16],"items":[16],"itemHeight":[16],"headerHeight":[16],"footerHeight":[16],"renderItem":[16],"renderHeader":[16],"renderFooter":[16],"nodeRender":[16],"domRender":[16],"totalHeight":[32],"positionForItem":[64],"checkRange":[64],"checkEnd":[64]},[[9,"resize","onResize"]]]]],[{"ios":"ion-datetime_3-ios","md":"ion-datetime_3-md"},[[2,"ion-picker",{"overlayIndex":[2,"overlay-index"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]}],[1,"ion-datetime",{"name":[1],"disabled":[4],"readonly":[4],"min":[1025],"max":[1025],"displayFormat":[1,"display-format"],"pickerFormat":[1,"picker-format"],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"monthNames":[1,"month-names"],"monthShortNames":[1,"month-short-names"],"dayNames":[1,"day-names"],"dayShortNames":[1,"day-short-names"],"pickerOptions":[16],"placeholder":[1],"value":[1025],"isExpanded":[32],"open":[64]}],[0,"ion-picker-column",{"col":[16]}]]],[{"ios":"ion-radio_2-ios","md":"ion-radio_2-md"},[[1,"ion-radio",{"color":[1],"name":[1],"disabled":[4],"checked":[1028],"value":[1032]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"name":[1],"value":[1032]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[1],"duration":[2],"name":[1],"paused":[4]}]]],[{"ios":"ion-backdrop-ios","md":"ion-backdrop-md"},[[1,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"touchstart","onTouchStart"],[2,"click","onMouseDown"],[2,"mousedown","onMouseDown"]]]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],[{"ios":"ion-button_2-ios","md":"ion-button_2-md"},[[1,"ion-button",{"color":[1],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1]}],[1,"ion-icon",{"color":[1],"ariaLabel":[1537,"aria-label"],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[1],"src":[1],"icon":[8],"size":[1],"lazy":[4],"svgContent":[32],"isVisible":[32]}]]],[{"ios":"ion-item_8-ios","md":"ion-item_8-md"},[[1,"ion-item-divider",{"color":[1],"sticky":[4]}],[0,"ion-item-group"],[1,"ion-note",{"color":[1]}],[1,"ion-skeleton-text",{"animated":[4],"width":[1]}],[1,"ion-item",{"color":[1],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"href":[1],"rel":[1],"lines":[1],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"multipleInputs":[32]}
2,[[0,"ionStyle","itemStyle"]]],[2,"ion-label",{"color":[1],"position":[1],"noAnimate":[32]}],[0,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[1,"ion-list-header",{"color":[1]}]]]]'),e)});var e}))}}},Xt=[H,$,z,W,U,B,V,q,G,K,J,Q,X,Z,ee,te,ne,re,ie,oe,ae,se,le,ue,ce,de,he,fe,pe,me,ge,_e,ye,ve,be,we,ke,Me,Se,Te,xe,Le,De,Ce,Oe,Ee,je,Ae,Pe,Ie,Ye,Re,Ne,Fe,He,$e,ze,We,Ue,Be,Ve,qe,Ge,Ke,Je,Qe,Xe,Ze,et,tt,nt,it,ot,rt,Dt,T,x,L,D,C,xt,Ct,Ot,Et,jt,At,Pt,It,Rt],Zt=function(){function e(){}return e.forRoot=function(t){return{ngModule:e,providers:[{provide:st,useValue:t},{provide:i.d,useFactory:Qt,multi:!0,deps:[st,a.d,i.F]}]}},e.decorators=[{type:i.A,args:[{declarations:Xt,exports:Xt,providers:[ct,Bt,Vt],imports:[a.c]}]}],e}()},Zduo:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},Zr1d:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("mrSG"),i=n("a3Cf"),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.hideFormAccessoryBar=function(e){return Object(i.cordova)(this,"hideFormAccessoryBar",{sync:!0,platforms:["iOS"]},arguments)},t.prototype.hide=function(){return Object(i.cordova)(this,"hide",{sync:!0,platforms:["iOS","Android"]},arguments)},t.prototype.show=function(){return Object(i.cordova)(this,"show",{sync:!0,platforms:["Android"]},arguments)},t.prototype.setResizeMode=function(e){return Object(i.cordova)(this,"setResizeMode",{sync:!0,platforms:["iOS"]},arguments)},t.prototype.setKeyboardStyle=function(e){return Object(i.cordova)(this,"setKeyboardStyle",{sync:!0,platforms:["iOS"]},arguments)},t.prototype.disableScroll=function(e){return Object(i.cordova)(this,"disableScroll",{sync:!0,platforms:["iOS"]},arguments)},t.prototype.onKeyboardShow=function(){return Object(i.cordova)(this,"onKeyboardShow",{eventObservable:!0,event:"native.keyboardshow",platforms:["iOS","Android"]},arguments)},t.prototype.onKeyboardWillShow=function(){return Object(i.cordova)(this,"onKeyboardWillShow",{eventObservable:!0,event:"keyboardWillShow",platforms:["iOS","Android"]},arguments)},t.prototype.onKeyboardDidShow=function(){return Object(i.cordova)(this,"onKeyboardDidShow",{eventObservable:!0,event:"keyboardDidShow",platforms:["iOS","Android"]},arguments)},t.prototype.onKeyboardHide=function(){return Object(i.cordova)(this,"onKeyboardHide",{eventObservable:!0,event:"native.keyboardhide",platforms:["iOS","Android"]},arguments)},t.prototype.onKeyboardWillHide=function(){return Object(i.cordova)(this,"onKeyboardWillHide",{eventObservable:!0,event:"keyboardWillHide",platforms:["iOS","Android"]},arguments)},t.prototype.onKeyboardDidHide=function(){return Object(i.cordova)(this,"onKeyboardDidHide",{eventObservable:!0,event:"keyboardDidHide",platforms:["iOS","Android"]},arguments)},Object.defineProperty(t.prototype,"isVisible",{get:function(){return Object(i.cordovaPropertyGet)(this,"isVisible")}
2,set:function(e){Object(i.cordovaPropertySet)(this,"isVisible",e)},enumerable:!0,configurable:!0}),t.pluginName="Keyboard",t.plugin="cordova-plugin-ionic-keyboard",t.pluginRef="window.Keyboard",t.repo="https://github.com/ionic-team/cordova-plugin-ionic-keyboard",t.platforms=["Android","iOS"],t}(i.IonicNativePlugin)},a3Cf:function(e,t,n){"use strict";var r=n("HPGL"),i=n("Lq6m");n.d(t,"IonicNativePlugin",(function(){return i.a}));var o=n("KOl+");n.d(t,"checkAvailability",(function(){return o.a})),n.d(t,"instanceAvailability",(function(){return o.d})),n.d(t,"getPromise",(function(){return o.c}));var a=n("xSm1");n.d(t,"cordova",(function(){return a.a})),n("hKQe");var s=n("Rt+L");n.d(t,"cordovaInstance",(function(){return s.a}));var l=n("pxS/");n.d(t,"cordovaPropertyGet",(function(){return l.a})),n.d(t,"cordovaPropertySet",(function(){return l.b})),n("Ji5e"),n("4pTB"),Object(r.a)()},aIdf:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}var n=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],r=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,i=[/^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:i,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:i,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%
2d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},aiEM:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return h})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return i})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return c})),n.d(t,"k",(function(){return r}));const r=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e),i=e=>!!e.shadowRoot&&!!e.attachShadow,o=e=>{const t=e.closest("ion-item");return t?t.querySelector("ion-label"):null},a=(e,t,n,r,o)=>{if(e||i(t)){let e=t.querySelector("input.aux-input");e||(e=t.ownerDocument.createElement("input"),e.type="hidden",e.classList.add("aux-input"),t.appendChild(e)),e.disabled=o,e.name=n,e.value=r||""}},s=(e,t,n)=>Math.max(e,Math.min(t,n)),l=(e,t)=>
2{if(!e){const e="ASSERT: "+t;throw console.error(e),new Error(e)}},u=e=>e.timeStamp||Date.now(),c=e=>{if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];return{x:e.clientX,y:e.clientY}}if(void 0!==e.pageX)return{x:e.pageX,y:e.pageY}}return{x:0,y:0}},d=e=>{const t="rtl"===document.dir;switch(e){case"start":return t;case"end":return!t;default:throw new Error(`"${e}" is not a valid value for [side]. Use "start" or "end" instead.`)}},h=(e,t)=>{const n=e._original||e;return{_original:e,emit:f(n.emit.bind(n),t)}},f=(e,t=0)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(e,t,...r)}}},b1Dy:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},bHdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("5+tZ"),i=n("SpAZ");function o(e=Number.POSITIVE_INFINITY){return Object(r.a)(i.a,e)}},bOMt:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bOdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("5+tZ");function i(e,t){return Object(r.a)(e,t,1)}},bXm7:function(e,t,n){!function(e){"use strict";var t={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u064
21\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},bpih:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},bxKX:function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%
2d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},c1op:function(e,t,n){"use strict";n.d(t,"a",(function(){return B})),n.d(t,"b",(function(){return R})),n.d(t,"c",(function(){return xe})),n.d(t,"d",(function(){return Ee})),n.d(t,"e",(function(){return Le})),n.d(t,"f",(function(){return Ce})),n.d(t,"g",(function(){return A})),n.d(t,"h",(function(){return je})),n.d(t,"i",(function(){return W})),n.d(t,"j",(function(){return De})),n.d(t,"k",(function(){return Me})),n.d(t,"l",(function(){return w})),n.d(t,"m",(function(){return P}));var r=n("AfW+");let i,o,a,s=0,l=!1,u=!1,c=!1,d=!1,h=!1;const f=window,p=document,m={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,r)=>e.addEventListener(t,n,r),rel:(e,t,n,r)=>e.removeEventListener(t,n,r)},g=(()=>!!p.documentElement.attachShadow)(),_=(()=>{let e=!1;try{p.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),y=(()=>{try{return new CSSStyleSheet,!0}catch(e){}return!1})(),v=new WeakMap,b=e=>v.get(e),w=(e,t)=>v.set(t.$lazyInstance$=e,t),k=(e,t)=>t in e,M=e=>console.error(e),S=new Map,T=new Map,x=[],L=[],D=[],C=(e,t)=>n=>{e.push(n),l||(l=!0,t&&4&m.$flags$?j(E):m.raf(E))},O=(e,t)=>{let n=0,r=0;for(;n<e.length&&(r=performance.now())<t;)try{e[n++](r)}catch(i){M(i)}n===e.length?e.length=0:0!==n&&e.splice(0,n)},E=()=>{s++,(e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(t){M(t)}e.length=0})(x);const e=2==(6&m.$flags$)?performance.now()+10*Math.ceil(s*(1/22)):1/0;O(L,e),O(D,e),L.length>0&&(D.push(...L),L.length=0),(l=x.length+L.length+D.length>0)?m.raf(E):s=0},j=e=>Promise.resolve().then(e),A=C(x,!1),P=C(L,!0),I={},Y=e=>"object"==(e=typeof e)||"function"===e,R=()=>f.CSS&&f.CSS.supports&&f.CSS.supports("color","var(--c)")?Promise.resolve():n.e(22).then(n.t.bind(null,"Pud/",7)).then(()=>{if(m.$cssShim$=f.__stencil_cssshim,m.$cssShim$)return m.$cssShim$.initShim()}),N="http://www.w3.org/1999/xlink",F=new WeakMap,H=(e,t,n)=>{let r=T.get(e);y&&n?(r=r||new CSSStyleSheet,r.replace(t)):r=t,T.set(e,r)},$=(e,t,n,r)=>{let i=z(t.$tagName$,n),o=T.get(i);if(e=11===e.nodeType?e:p,o||(i=z(t.$tagName$),o=T.get(i)),o)if("string"==typeof o){let n,a=F.get(e=e.head||e);if(a||F.set(e,a=new Set),!a.has(i)){if(e.host&&(n=e.firstElementChild)&&"STYLE"===n.tagName)n.innerHTML=o;else{if(m.$cssShim$){n=m.$cssShim$.createHostStyle(r,i,o,!!(10&t.$flags$));const e=n["s-sc"];e&&(i=e,a=null)}else n=p.createElement("style"),n.setAttribute("data-styles",""),n.innerHTML=o;e.insertBefore(n,e.querySelector("link"))}a&&a.add(i)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return i},z=(e,t)=>"sc-"+(t?e+"-"+t:e),W=(e,t,...n)=>{let r=null,i=null,o=null,a=!1,s=!1,l=[];const u=t=>{for(let n=0;n<t.length;n++)r=t[n],Array.isArray(r)?u(r):null!=r&&"boolean"!=typeof r&&((a="function"!=typeof e&&!Y(r))&&(r=String(r)),a&&s?l[l.length-1].$text$+=r:l.push(a?U(null,r):r),s=a)};if(u(n),t){t.key&&(i=t.key),t.name&&(o=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter(t=>e[t]).join(" "))}}if("function"==typeof e)return e(t,l,V);const c=U(e,null);return c.$attrs$=t,l.length>0&&(c.$children$=l),c.$key$=i,c.$name$=o,c},U=(e,t)=>({$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),B={},V={forEach:(e,t)=>e.map(q).forEach(t),map:(e,t)=>e.map(q).map(t).map(G)},q=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),G=e=>{const t=U(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},K=(e,t,n,r,i,o)=>{if(n===r)return;let a=k(e,t),s=t.toLowerCase();if("class"===t){const t=e.classList,i=Q(n),o=Q(r);t.remove(...i.filter(e=>e&&!o.includes(e))),t.add(...o.filter(e=>e&&!i.includes(e)))}else if("style"===t){for(const t in n)r&&null!=r[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in r)n&&r[t]===n[t]||(t.includes("-")?e.style.setProperty(t,r[t]):e.style[t]=r[t])}else if("key"===t);else if("ref"===t)r&&r(e);else if(a||"o"!==t[0]||"n"!==t[1]){const u=Y(r);if((a||u&&null!==r)&&!i)try{if(e.tagName.includes("-"))e[t]=r;else{let i=null==r?"":r;null!=n&&e[t]==i||(e[t]=i)}}catch(l){}let c=!1;s!==(s=s.replace(/^xlink\:?/,""))&&(t=s,c=!0),null==r||!1===r?c?e.removeAttributeNS(N,t):e.removeAttribute(t):(!a||4&o||i)&&!u&&(r=!0===r?"":r,c?e.setAttributeNS(N,t,r):e.setAttribute(t,r))}else t="-"===t[2]?t.slice(3):k(f,s)?s.slice(2):s[2]+t.slice(3),n&&m.rel(e,t,n,!1),r&&m.ael(e,t,r,!1)},J=/\s/,Q=e=>e?e.split(J):[],X=(e,t,n,r)=>{const i=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,o=e&&e.$attrs$||I,a=t.$attrs$||I;for(r in o)r in a||K(i,r,o[r],void 0,n,t.$flags$);for(r in a)K(i,r,o[r],a[r],n,t.$flags$)},Z=(e,t,n,r)=>{let s,l,c,f=t.$children$[n],m=0;if(u||(d=!0,"slot"===f.$tag$&&(i&&r.classList.add(i+"-s"),f.$flags$|=f.$children$?2:1)),null!==f.$text$)s=f.$elm$=p.createTextNode(f.$text$);else if(1&f.$flags$)s=f.$elm$=p.createTextNode("");else{if(h||(h="svg"===f.$tag$),s=f.$elm$=p.createElementNS(h?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&f.$flags$?"slot-fb":f.$tag$),h&&"foreignObject"===f.$tag$&&(h=!1),X(null,f,h),null!=i&&s["s-si"]!==i&&s.classList.add(s["s-si"]=i),f.$children$)for(m=0;m<f.$children$.length;++m)l=Z(e,f,m,s),l&&s.appendChild(l);"svg"===f.$tag$?h=!1:"foreignObject"===s.tagName&&(h=!0)}return s["s-hn"]=a,3&f.$flags$&&(s["s-sr"]=!0,s["s-cr"]=o,s["s-sn"]=f.$name$||"",c=e&&e.$children$&&e.$children$[n],c&&c.$tag$===f.$tag$&&e.$elm$&&ee(e.$elm$,!1)),s},ee=(e,t)=>
2{m.$flags$|=1;const n=e.childNodes;for(let r=n.length-1;r>=0;r--){const e=n[r];e["s-hn"]!==a&&e["s-ol"]&&(oe(e).insertBefore(e,ie(e)),e["s-ol"].remove(),e["s-ol"]=void 0,d=!0),t&&ee(e,t)}m.$flags$&=-2},te=(e,t,n,r,i,o)=>{let s,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===a&&(l=l.shadowRoot);i<=o;++i)r[i]&&(s=Z(null,n,i,e),s&&(r[i].$elm$=s,l.insertBefore(s,ie(t))))},ne=(e,t,n,r,i)=>{for(;t<=n;++t)(r=e[t])&&(i=r.$elm$,ce(r),c=!0,i["s-ol"]?i["s-ol"].remove():ee(i,!0),i.remove())},re=(e,t)=>e.$tag$===t.$tag$&&("slot"===e.$tag$?e.$name$===t.$name$:e.$key$===t.$key$),ie=e=>e&&e["s-ol"]||e,oe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,ae=(e,t)=>{const n=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$;let o;h=n&&n.parentNode&&void 0!==n.ownerSVGElement,h="svg"===t.$tag$||"foreignObject"!==t.$tag$&&h,null===t.$text$?("slot"===t.$tag$||X(e,t,h),null!==r&&null!==i?((e,t,n,r)=>{let i,o,a=0,s=0,l=0,u=0,c=t.length-1,d=t[0],h=t[c],f=r.length-1,p=r[0],m=r[f];for(;a<=c&&s<=f;)if(null==d)d=t[++a];else if(null==h)h=t[--c];else if(null==p)p=r[++s];else if(null==m)m=r[--f];else if(re(d,p))ae(d,p),d=t[++a],p=r[++s];else if(re(h,m))ae(h,m),h=t[--c],m=r[--f];else if(re(d,m))"slot"!==d.$tag$&&"slot"!==m.$tag$||ee(d.$elm$.parentNode,!1),ae(d,m),e.insertBefore(d.$elm$,h.$elm$.nextSibling),d=t[++a],m=r[--f];else if(re(h,p))"slot"!==d.$tag$&&"slot"!==m.$tag$||ee(h.$elm$.parentNode,!1),ae(h,p),e.insertBefore(h.$elm$,d.$elm$),h=t[--c],p=r[++s];else{for(l=-1,u=a;u<=c;++u)if(t[u]&&null!==t[u].$key$&&t[u].$key$===p.$key$){l=u;break}l>=0?(o=t[l],o.$tag$!==p.$tag$?i=Z(t&&t[s],n,l,e):(ae(o,p),t[l]=void 0,i=o.$elm$),p=r[++s]):(i=Z(t&&t[s],n,s,e),p=r[++s]),i&&oe(d.$elm$).insertBefore(i,ie(d.$elm$))}a>c?te(e,null==r[f+1]?null:r[f+1].$elm$,n,r,s,f):s>f&&ne(t,a,c)})(n,r,t,i):null!==i?(null!==e.$text$&&(n.textContent=""),te(n,null,t,i,0,i.length-1)):null!==r&&ne(r,0,r.length-1)):(o=n["s-cr"])?o.parentNode.textContent=t.$text$:e.$text$!==t.$text$&&(n.data=t.$text$),h&&"svg"===t.$tag$&&(h=!1)},se=e=>{let t,n,r,i,o,a,s=e.childNodes;for(n=0,r=s.length;n<r;n++)if(t=s[n],1===t.nodeType){if(t["s-sr"])for(o=t["s-sn"],t.hidden=!1,i=0;i<r;i++)if(s[i]["s-hn"]!==t["s-hn"])if(a=s[i].nodeType,""!==o){if(1===a&&o===s[i].getAttribute("slot")){t.hidden=!0;break}}else if(1===a||3===a&&""!==s[i].textContent.trim()){t.hidden=!0;break}se(t)}},le=[],ue=e=>{let t,n,r,i,o=e.childNodes,a=o.length,s=0,l=0,u=0;for(a=o.length;s<a;s++){if(t=o[s],t["s-sr"]&&(n=t["s-cr"]))for(r=n.parentNode.childNodes,i=t["s-sn"],l=r.length-1;l>=0;l--)n=r[l],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(u=n.nodeType,((3===u||8===u)&&""===i||1===u&&null===n.getAttribute("slot")&&""===i||1===u&&n.getAttribute("slot")===i)&&(le.some(e=>e.$nodeToRelocate$===n)||(c=!0,n["s-sn"]=i,le.push({$slotRefNode$:t,$nodeToRelocate$:n}))));1===t.nodeType&&ue(t)}},ce=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.forEach(ce)},de=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"].push(new Promise(t=>e.$onRenderResolve$=t))},he=(e,t,n,r)=>{if(t.$flags$|=16,4&t.$flags$)return void(t.$flags$|=512);const i=t.$lazyInstance$,o=()=>fe(e,t,n,i,r),a=e["s-rc"];let s;return de(t,t.$ancestorComponent$),r&&(t.$flags$|=256,t.$queuedListeners$&&(t.$queuedListeners$.forEach(([e,t])=>ge(i,e,t)),t.$queuedListeners$=null),s=ge(i,"componentWillLoad")),s=_e(s,()=>ge(i,"componentWillRender")),a&&(a.forEach(e=>e()),e["s-rc"]=void 0),_e(s,()=>P(o))},fe=(e,t,n,r,s)=>{s&&((e,t,n)=>{const r=$(g&&e.shadowRoot?e.shadowRoot:e.getRootNode(),t,n,e);10&t.$flags$&&(e["s-sc"]=r,e.classList.add(r+"-h"),2&t.$flags$&&e.classList.add(r+"-s"))})(e,n,t.$modeName$);try{((e,t,n,r)=>{a=e.tagName;const s=t.$vnode$||U(null,null),l=(h=r)&&h.$tag$===B?r:W(null,null,r);var h;if(n.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},n.$attrsToReflect$.forEach(([t,n])=>l.$attrs$[n]=e[t])),l.$tag$=null,l.$flags$|=4,t.$vnode$=l,l.$elm$=s.$elm$=e.shadowRoot||e,i=e["s-sc"],o=e["s-cr"],u=g&&0!=(1&n.$flags$),d=c=!1,ae(s,l),d){ue(l.$elm$);for(let e=0;e<le.length;e++){const t=le[e];if(!t.$nodeToRelocate$["s-ol"]){const e=p.createTextNode("");e["s-nr"]=t.$nodeToRelocate$,t.$nodeToRelocate$.parentNode.insertBefore(t.$nodeToRelocate$["s-ol"]=e,t.$nodeToRelocate$)}}m.$flags$|=1;for(let e=0;e<le.length;e++){const t=le[e],n=t.$slotRefNode$.parentNode;let r=t.$slotRefNode$.nextSibling,i=t.$nodeToRelocate$["s-ol"];for(;i=i.previousSibling;){let e=i["s-nr"];if(e&&e["s-sn"]===t.$nodeToRelocate$["s-sn"]&&n===e.parentNode&&(e=e.nextSibling,!e||!e["s-nr"])){r=e;break}}(!r&&n!==t.$nodeToRelocate$.parentNode||t.$nodeToRelocate$.nextSibling!==r)&&t.$no
2deToRelocate$!==r&&n.insertBefore(t.$nodeToRelocate$,r)}m.$flags$&=-2}c&&se(l.$elm$),le.length=0})(e,t,n,r.render&&r.render())}catch(l){M(l)}m.$cssShim$&&m.$cssShim$.updateHost(e),t.$flags$&=-17,t.$flags$|=2;{const r=e["s-p"],i=()=>pe(e,t,n);0===r.length?i():(Promise.all(r).then(i),t.$flags$|=4,r.length=0)}},pe=(e,t,n)=>{const r=t.$lazyInstance$,i=t.$ancestorComponent$;64&t.$flags$?ge(r,"componentDidUpdate"):(t.$flags$|=64,e.classList.add("hydrated"),ge(r,"componentDidLoad"),t.$onReadyResolve$(e),i||me()),t.$onInstanceResolve$(e),t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),512&t.$flags$&&j(()=>he(e,t,n,!1)),t.$flags$&=-517},me=()=>{p.documentElement.classList.add("hydrated"),m.$flags$|=2},ge=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(r){M(r)}},_e=(e,t)=>e&&e.then?e.then(t):t(),ye=(e,t,n)=>{if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const r=Object.entries(t.$members$),i=e.prototype;if(r.forEach(([e,[r]])=>{31&r||2&n&&32&r?Object.defineProperty(i,e,{get(){return t=e,b(this).$instanceValues$.get(t);var t},set(n){((e,t,n,r)=>{const i=b(this),o=i.$hostElement$,a=i.$instanceValues$.get(t),s=i.$flags$,l=i.$lazyInstance$;var u,c;if(c=r.$members$[t][0],!((n=null==(u=n)||Y(u)?u:4&c?"false"!==u&&(""===u||!!u):2&c?parseFloat(u):1&c?String(u):u)===a||8&s&&void 0!==a)&&(i.$instanceValues$.set(t,n),l)){if(r.$watchers$&&128&s){const e=r.$watchers$[t];e&&e.forEach(e=>{try{l[e](n,a,t)}catch(r){M(r)}})}2==(18&s)&&he(o,i,r,!1)}})(0,e,n,t)}
2,configurable:!0,enumerable:!0}):1&n&&64&r&&Object.defineProperty(i,e,{value(...t){const n=b(this);return n.$onInstancePromise$.then(()=>n.$lazyInstance$[e](...t))}})}),1&n){const n=new Map;i.attributeChangedCallback=function(e,t,r){m.jmp(()=>{const t=n.get(e);this[t]=(null!==r||"boolean"!=typeof this[t])&&r})},e.observedAttributes=r.filter(([e,t])=>15&t[0]).map(([e,r])=>{const i=r[1]||e;return n.set(i,e),512&r[0]&&t.$attrsToReflect$.push([e,i]),i})}}return e},ve=(e,t,n,r,i,o,a)=>{let s,l,u,c;if(1===o.nodeType){for(s=o.getAttribute("c-id"),s&&(l=s.split("."),l[0]!==a&&"0"!==l[0]||(u={$flags$:0,$hostId$:l[0],$nodeId$:l[1],$depth$:l[2],$index$:l[3],$tag$:o.tagName.toLowerCase(),$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},t.push(u),o.removeAttribute("c-id"),e.$children$||(e.$children$=[]),e.$children$[u.$index$]=u,e=u,r&&"0"===u.$depth$&&(r[u.$index$]=u.$elm$))),c=o.childNodes.length-1;c>=0;c--)ve(e,t,n,r,i,o.childNodes[c],a);if(o.shadowRoot)for(c=o.shadowRoot.childNodes.length-1;c>=0;c--)ve(e,t,n,r,i,o.shadowRoot.childNodes[c],a)}else if(8===o.nodeType)l=o.nodeValue.split("."),l[1]!==a&&"0"!==l[1]||(s=l[0],u={$flags$:0,$hostId$:l[1],$nodeId$:l[2],$depth$:l[3],$index$:l[4],$elm$:o,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===s?(u.$elm$=o.nextSibling,u.$elm$&&3===u.$elm$.nodeType&&(u.$text$=u.$elm$.textContent,t.push(u),o.remove(),e.$children$||(e.$children$=[]),e.$children$[u.$index$]=u,r&&"0"===u.$depth$&&(r[u.$index$]=u.$elm$))):u.$hostId$===a&&("s"===s?(u.$tag$="slot",o["s-sn"]=l[5]?u.$name$=l[5]:"",o["s-sr"]=!0,r&&(u.$elm$=p.createElement(u.$tag$),u.$name$&&u.$elm$.setAttribute("name",u.$name$),o.parentNode.insertBefore(u.$elm$,o),o.remove(),"0"===u.$depth$&&(r[u.$index$]=u.$elm$)),n.push(u),e.$children$||(e.$children$=[]),e.$children$[u.$index$]=u):"r"===s&&(r?o.remove():(i["s-cr"]=o,o["s-cn"]=!0))));else if(e&&"style"===e.$tag$){const t=U(null,o.textContent);t.$elm$=o,t.$index$="0",e.$children$=[t]}},be=(e,t)=>{if(1===e.nodeType){let n=0;for(;n<e.childNodes.length;n++)be(e.childNodes[n],t);if(e.shadowRoot)for(n=0;n<e.shadowRoot.childNodes.length;n++)be(e.shadowRoot.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-sd"]=""===n[3])}},we=[],ke=e=>we.push(e),Me=e=>b(e).$modeName$,Se=e=>{ge(e,"connectedCallback")},Te=e=>{const t=e["s-cr"]=p.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},xe=(e,t={})=>{const r=[],i=t.exclude||[],o=p.head,a=f.customElements,s=o.querySelector("meta[charset]"),l=p.createElement("style");let u;Object.assign(m,t),m.$resourcesUrl$=new URL(t.resourcesUrl||"./",p.baseURI).href,t.syncQueue&&(m.$flags$|=4),m.$flags$|=2;{const e=p.querySelectorAll("style[s-id]");let t="",n=0;for(;n<e.length;n++)t+=e[n].innerHTML;for(n=0;n<e.length;n++){const r=e[n];H(r.getAttribute("s-id"),t+r.innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0)}}e.forEach(e=>e[1].forEach(t=>{const o={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};o.$members$=t[2],o.$listeners$=t[3],o.$attrsToReflect$=[],o.$watchers$={},!g&&1&o.$flags$&&(o.$flags$|=8);const s=o.$tagName$,l=class extends HTMLElement{constructor(e){super(e),(e=>{const t={$flags$:0,$hostElement$:e,$instanceValues$:new Map};t.$onInstancePromise$=new Promise(e=>t.$onInstanceResolve$=e),t.$onReadyPromise$=new Promise(e=>t.$onReadyResolve$=e),e["s-p"]=[],e["s-rc"]=[],v.set(e,t)})(e=this),1&o.$flags$&&(g?e.attachShadow({mode:"open"}):"shadowRoot"in e||(e.shadowRoot=e))}connectedCallback(){u&&(clearTimeout(u),u=null),m.jmp(()=>((e,t)=>{if(0==(1&m.$flags$)){const r=b(e);if(t.$listeners$&&(r.$rmListeners$=((e,t,n)=>{t.$queuedListeners$=t.$queuedListeners$||[];const r=n.map(([n,r,i])=>{const o=((e,t)=>4&t?p:8&t?f:32&t?p.body:16&t?e.parentElement:e)(e,n),a=((e,t)=>n=>{256&e.$flags$?e.$lazyInstance$[t](n):e.$queuedListeners$.push([t,n])})(t,i),s=(e=>_?{passive:0!=(1&e),capture:0!=(2&e)}:0!=(2&e))(n);return m.ael(o,r,a,s),()=>m.rel(o,r,a,s)});return()=>r.forEach(e=>e())})(e,r,t.$listeners$)),!(1&r.$flags$)){let i;if(r.$flags$|=1,i=e.getAttribute("s-id"),i){if(g&&1&t.$flags$){const n=$(e.shadowRoot,t,e.getAttribute("s-mode"));e.classList.remove(n+"-h"),e.classList.remove(n+"-s")}((e,t,n,r)=>{const i=e.shadowRoot,o=[],a=i?[]:null,s=r.$vnode$=U(t,null);m.$orgLocNodes$||be(p.body,m.$orgLocNodes$=new Map),e["s-id"]=n,e.removeAttribute("s-id"),ve(s,o,[],a,e,e,n),o.forEach(e
2=>{const n=e.$hostId$+"."+e.$nodeId$,r=m.$orgLocNodes$.get(n),o=e.$elm$;r&&(r["s-sd"]||"0"===e.$hostId$)&&r.parentNode.insertBefore(o,r.nextSibling),i||(o["s-hn"]=t,r&&(o["s-ol"]=r,o["s-ol"]["s-nr"]=o)),m.$orgLocNodes$.delete(n)}),i&&a.forEach(e=>{e&&i.appendChild(e)})})(e,t.$tagName$,i,r)}i||(4&t.$flags$||8&t.$flags$)&&Te(e);{let t=e;for(;t=t.parentNode||t.host;)if(1===t.nodeType&&t.hasAttribute("s-id")||t["s-p"]){de(r,r.$ancestorComponent$=t);break}}t.$members$&&Object.entries(t.$members$).forEach(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),j(()=>(async(e,t,r,i,o)=>{if(0==(32&t.$flags$)){t.$flags$|=32,null==t.$modeName$&&(t.$modeName$="string"!=typeof r.$lazyBundleIds$?(e=>we.map(t=>t(e)).find(e=>!!e))(e):""),(o=((e,t,r)=>{const i=e.$tagName$.replace(/-/g,"_"),o="string"!=typeof e.$lazyBundleIds$?e.$lazyBundleIds$[t.$modeName$]:e.$lazyBundleIds$,a=S.get(o);return a?a[i]:n("kLfG")(`./${o}.entry.js`).then(e=>(S.set(o,e),e[i]),M)})(r,t)).then&&(o=await o),o.isProxied||(r.$watchers$=o.watchers,ye(o,r,2),o.isProxied=!0),t.$flags$|=8;try{new o(t)}catch(l){M(l)}t.$flags$&=-9,t.$flags$|=128,Se(t.$lazyInstance$);const i=z(r.$tagName$,t.$modeName$);if(!T.has(i)&&o.style){let e=o.style;"string"!=typeof e&&(e=e[t.$modeName$]),8&r.$flags$&&(e=await n.e(106).then(n.bind(null,"94vs")).then(t=>t.scopeCss(e,i,!1))),H(i,e,!!(1&r.$flags$))}}const a=t.$ancestorComponent$,s=()=>he(e,t,r,!0);a&&a["s-rc"]?a["s-rc"].push(s):s()})(e,r,t))}Se(r.$lazyInstance$)}})(this,o))}disconnectedCallback(){m.jmp(()=>(e=>{if(0==(1&m.$flags$)){const t=b(e),n=t.$lazyInstance$;t.$rmListeners$&&(t.$rmListeners$(),t.$rmListeners$=void 0),m.$cssShim$&&m.$cssShim$.removeHost(e),ge(n,"disconnectedCallback"),ge(n,"componentDidUnload")}})(this))}"s-hmr"(e){}forceUpdate(){((e,t)=>{{const n=b(e);2==(18&n.$flags$)&&he(e,n,t,!1)}})(this,o)}componentOnReady(){return b(this).$onReadyPromise$}};o.$lazyBundleIds$=e[0],i.includes(s)||a.get(s)||(r.push(s),a.define(s,ye(l,o,1)))})),l.innerHTML=r+"{visibility:hidden}.hydrated{visibility:inherit}",l.setAttribute("data-styles",""),o.insertBefore(l,s?s.nextSibling:o.firstChild),m.jmp(()=>u=setTimeout(me,30))},Le=(e,t,n)=>{const r=Ce(e);return{emit:e=>
2r.dispatchEvent(new CustomEvent(t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e}))}},De=e=>{const t=new URL(e,m.$resourcesUrl$);return t.origin!==f.location.origin?t.href:t.pathname},Ce=e=>b(e).$hostElement$;let Oe;const Ee=e=>e&&Me(e)||Oe,je=()=>{(()=>{const e=document,t=window,n=t.Ionic=t.Ionic||{};Object(r.g)(t);const i=Object.assign(Object.assign(Object.assign(Object.assign({},Object(r.c)(t)),{persistConfig:!1}),n.config),Object(r.a)(t));r.b.reset(i),r.b.getBoolean("persistConfig")&&Object(r.d)(t,i),n.config=r.b,n.mode=Oe=r.b.get("mode",e.documentElement.getAttribute("mode")||(Object(r.f)(t,"ios")?"ios":"md")),r.b.set("mode",Oe),e.documentElement.setAttribute("mode",Oe),e.documentElement.classList.add(Oe),r.b.getBoolean("_testing")&&r.b.set("animated",!1),ke(e=>e.mode=e.mode||e.getAttribute("mode")||Oe)})(),ke(e=>"ION-ICON"===e.tagName?e.mode||e.getAttribute("mode"):null)}},c2HN:function(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return r}))},cRix:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cUpR:function(e,t,n){"use strict";n.d(t,"p",(function(){return ce})),n.d(t,"q",(function(){return w})),n.d(t,"a",(function(){return de})),n.d(t,"h",(function(){return ue})),n.d(t,"c",(function(){return k})),n.d(t,"d",(function(){return M})),n.d(t,"e",(function(){return q})),n.d(t,"f",(function(){return G})),n.d(t,"g",(function(){return K})),n.d(t,"b",(function(){return ee})),n.d(t,"r",(function(){return a})),n.d(t,"j",(function(){return E})),n.d(t,"i",(function(){return B})),n.d(t,"m",(function(){return J})),n.d(t,"n",(function(){return Z})),n.d(t,"l",(function(){return x})),n.d(t,"o",(function(){return T})),n.d(t,"k",(function(){return te}));var r=n("SVse"),i=n("8Y7J");let o=null;function a(){return o}const s={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},l={"\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"},u={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"},c=(()=>{if(i.Fb.Node)return i.Fb.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}})();class d extends class extends class{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(e){this._attrToPropMap=e}}{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const e=this.createElement("div",document);if(null!=this.getStyle(e,"animationName"))this._animationPrefix="";else{const t=["Webkit","Moz","O","ms"];for(let n=0;n<t.length;n++)if(null!=this.getStyle(e,t[n]+"AnimationName")){this._animationPrefix="-"+t[n].toLowerCase()+"-";break}}const t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(t).forEach(n=>
vendor: 5,272 bytes, line 2
2{null!=this.getStyle(e,n)&&(this._transitionEnd=t[n])})}catch(e){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(e){return e.getDistributedNodes()}resolveAndSetHref(e,t,n){e.href=null==n?t:t+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new d,o||(o=e)}hasProperty(e,t){return t in e}setProperty(e,t,n){e[t]=n}getProperty(e,t){return e[t]}invoke(e,t,n){e[t](...n)}logError(e){window.console&&(console.error?console.error(e):console.log(e))}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()}get attrToPropMap(){return s}contains(e,t){return c.call(e,t)}querySelector(e,t){return e.querySelector(t)}querySelectorAll(e,t){return e.querySelectorAll(t)}on(e,t,n){e.addEventListener(t,n,!1)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}createMouseEvent(e){const t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}createEvent(e){const t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t}preventDefault(e){e.preventDefault(),e.returnValue=!1}isPrevented(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue}getInnerHTML(e){return e.innerHTML}getTemplateContent(e){return"content"in e&&this.isTemplateElement(e)?e.content:null}getOuterHTML(e){return e.outerHTML}nodeName(e){return e.nodeName}nodeValue(e){return e.nodeValue}type(e){return e.type}content(e){return this.hasProperty(e,"content")?e.content:e}firstChild(e){return e.firstChild}nextSibling(e){return e.nextSibling}parentElement(e){return e.parentNode}childNodes(e){return e.childNodes}childNodesAsList(e){const t=e.childNodes,n=new Array(t.length);for(let r=0;r<t.length;r++)n[r]=t[r];return n}clearNodes(e){for(;e.firstChild;)e.removeChild(e.firstChild)}appendChild(e,t){e.appendChild(t)}removeChild(e,t){e.removeChild(t)}replaceChild(e,t,n){e.replaceChild(t,n)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}insertBefore(e,t,n){e.insertBefore(n,t)}insertAllBefore(e,t,n){n.forEach(n=>e.insertBefore(n,t))}insertAfter(e,t,n){e.insertBefore(n,t.nextSibling)}setInnerHTML(e,t){e.innerHTML=t}getText(e){return e.textContent}setText(e,t){e.textContent=t}getValue(e){return e.value}setValue(e,t){e.value=t}getChecked(e){return e.checked}setChecked(e,t){e.checked=t}createComment(e){return this.getDefaultDocument().createComment(e)}createTemplate(e){const t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createElementNS(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)}createTextNode(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)}createScriptTag(e,t,n){const r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r}createStyleElement(e,t){const n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n}createShadowRoot(e){return e.createShadowRoot()}getShadowRoot(e){return e.shadowRoot}getHost(e){return e.host}clone(e){return e.cloneNode(!0)}getElementsByClassName(e,t){return e.getElementsByClassName(t)}getElementsByTagName(e,t){return e.getElementsByTagName(t)}classList(e){return Array.prototype.slice.call(e.classList,0)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}hasClass(e,t){return e.classList.contains(t)}setStyle(e,t,n){e.style[t]=n}removeStyle(e,t){e.style[t]=""}getStyle(e,t){return e.style[t]}hasStyle(e,t,n){const r=this.getStyle(e,t)||"";return n?r==n:r.length>0}tagName(e){return e.tagName}attributeMap(e){const t=new Map,n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r);t.set(e.name,e.value)}return t}hasAttribute(e,t){return e.hasAttribute(t)}hasAttributeNS(e,t,n){return e.hasAttributeNS(t,n)}getAttribute(e,t){return e.getAttribute(t)}getAttributeNS(e,t,n){return e.getAttributeNS(t,n)}setAttribute(e,t,n){e.setAttribute(t,n)}setAttributeNS(e,t,n,r){e.setAttributeNS(t,n,r)}removeAttribute(e,t){e.removeAttribute(t)}removeAttributeNS(e,t,n){e.removeAttributeNS(t,n)}templateAwareRoot(e){return this.isTemplateElement(e)?this.content(e):e}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}getBoundingClientRect(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}getTitle(e){return e.title}setTitle(e,t){e.title=t||""}elementMatches(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}isTemplateElement(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName}
2isTextNode(e){return e.nodeType===Node.TEXT_NODE}isCommentNode(e){return e.nodeType===Node.COMMENT_NODE}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}hasShadowRoot(e){return null!=e.shadowRoot&&e instanceof HTMLElement}isShadowRoot(e){return e instanceof DocumentFragment}importIntoDoc(e){return document.importNode(this.templateAwareRoot(e),!0)}adoptNode(e){return document.adoptNode(e)}getHref(e){return e.getAttribute("href")}getEventKey(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&&u.hasOwnProperty(t)&&(t=u[t]))}return l[t]||t}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=f||(f=document.querySelector("base"),f)?f.getAttribute("href"):null;return null==t?null:(n=t,h||(h=document.createElement("a")),h.setAttribute("href",n),"/"===h.pathname.charAt(0)?h.pathname:"/"+h.pathname);var n}resetBaseElement(){f=null}getUserAgent(){return window.navigator.userAgent}setData(e,t,n){this.setAttribute(e,"data-"+t,n)}getData(e,t){return this.getAttribute(e,"data-"+t)}getComputedStyle(e){return getComputedStyle(e)}supportsWebAnimation(){return"function"==typeof Element.prototype.animate}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Object(r.t)(document.cookie,e)}setCookie(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)}}let h,f=null;function p(){return!!window.history.pushState}const m=new i.v("TRANSITION_ID"),g=[{provide:i.d,useFactory:function(e,t,n){return()=>{n.get(i.e).donePromise.then(()=>{const n=a();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[m,r.d,i.w],multi:!0}];class _{static init(){Object(i.ib)(new _)}addToWindow(e){i.Fb.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},i.Fb.getAllAngularTestabilities=()=>e.getAllTestabilities(),i.Fb.getAllAngularRootElements=()=>e.getAllRootElements(),i.Fb.frameworkStabilizers||(i.Fb.frameworkStabilizers=[]),i.Fb.frameworkStabilizers.push(e=>{const t=i.Fb.getAllAngularTestabilities();let n=t.length,r=!1;const o=function(t){r=r||t,n--,0==n&&e(r)};t.forEach((function(e){e.whenStable(o)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?a().isShadowRoot(t)?this.findTestabilityInTree(e,a().getHost(t),!0):this.findTestabilityInTree(e,a().parentElement(t),!0):null}}function y(e,t){"undefined"!=typeof COMPILED&&COMPILED||((i.Fb.ng=i.Fb.ng||{})[e]=t)}const v=(()=>({ApplicationRef:i.g,NgZone:i.F}))();function b(e){return Object(i.eb)(e)}function w(e){return y("probe",b),y("coreTokens",Object.assign({},v,(e||[]).reduce((e,t)=>(e[t.name]=t.token,e),{}))),()=>b}const k=new i.v("EventManagerPlugins");class M{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}class S{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=a().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}class T{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)}}class x extends T{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}
vendor: 4,576 bytes, line 2
2_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}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=>a().remove(e))}}const L={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/"},D=/%COMP%/g;function C(e,t,n){for(let r=0;r<t.length;r++){let i=t[r];Array.isArray(i)?C(e,i,n):(i=i.replace(D,e),n.push(i))}return n}function O(e){return t=>{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}class E{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new j(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.Y.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new I(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case i.Y.Native:case i.Y.ShadowDom:return new Y(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=C(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class j{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(L[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,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const i=L[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=L[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&i.M.DashCase?e.style.setProperty(t,n,r&i.M.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&i.M.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){P(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return P(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,O(n)):this.eventManager.addEventListener(e,t,O(n))}}const A=(()=>"@".charCodeAt(0))();function P(e,t){if(e.charCodeAt(0)===A)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class I extends j{constructor(e,t,n,r){super(e),this.component=n;const i=C(r+"-"+n.id,n.styles,[]);t.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(D,r+"-"+n.id),this.hostAttr=function(e){return"_nghost-%COMP%".replace(D,e)}(r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Y extends j{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===i.Y.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=C(r.id,r.styles,[]);for(let i=0;i<o.length;i++){const e=document.createElement("style");e.textContent=o[i],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,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}const R=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e})(),N=R("addEventListener"),F=R("removeEventListener"),H={},$="__zone_symbol__propagationStopped",z=(()=>{const e="undefined"!=typeof Zone&&Zone[R("BLACK_LISTED_EVENTS")];if(e){const t={};
2return e.forEach(e=>{t[e]=e}),t}})(),W=function(e){return!!z&&z.hasOwnProperty(e)},U=function(e){const t=H[e.type];if(!t)return;const n=this[t];if(!n)return;const r=[e];if(1===n.length){const e=n[0];return e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}{const t=n.slice();for(let n=0;n<t.length&&!0!==e[$];n++){const e=t[n];e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}}};class B extends S{constructor(e,t,n){super(e),this.ngZone=t,n&&Object(r.q)(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype.__zone_symbol__stopImmediatePropagation)return;const e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[$]=!0),e&&e.apply(this,arguments)}}supports(e){return!0}addEventListener(e,t,n){let r=n;if(!e[N]||i.F.isInAngularZone()&&!W(t))e.addEventListener(t,r,!1);else{let n=H[t];n||(n=H[t]=R("ANGULAR"+t+"FALSE"));let i=e[n];const o=i&&i.length>0;i||(i=e[n]=[]);const a=W(t)?Zone.root:Zone.current;if(0===i.length)i.push({zone:a,handler:r});else{let e=!1;for(let t=0;t<i.length;t++)if(i[t].handler===r){e=!0;break}e||i.push({zone:a,handler:r})}o||e[N](t,U,!1)}return()=>this.removeEventListener(e,t,r)}removeEventListener(e,t,n){let r=e[F];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);let i=H[t],o=i&&e[i];if(!o)return e.removeEventListener.apply(e,[t,n,!1]);let a=!1;for(let s=0;s<o.length;s++)if(o[s].handler===n){a=!0,o.splice(s,1);break}a?0===o.length&&r.apply(e,[t,U,!1]):e.removeEventListener.apply(e,[t,n,!1])}}const V={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},q=new i.v("HammerGestureConfig"),G=new i.v("HammerLoader");class K{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}class J extends S{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r}supports(e){return!(!V.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.`),1))}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){let r=!1,i=()=>{r=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(i=()=>{});r||(i=this.addEventListener(e,t,n))}).catch(()=>{this.console.warn(`The "${t}" event cannot be bound because the custom Hammer.JS loader failed.`),i=()=>{}}),()=>{i()}}return r.runOutsideAngular(()=>{const i=this._config.buildHammer(e),o=function(e){r.runGuarded((function(){n(e)}))};return i.on(t,o),()=>{i.off(t,o),"function"==typeof i.destroy&&i.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}const Q=["alt","control","meta","shift"],X={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class Z extends S{constructor(e){super(e)}supports(e){return null!=Z.parseEventName(e)}addEventListener(e,t,n){const r=Z.parseEventName(t),i=Z.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>a().onAndCancel(e,r.domEventName,i))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const r=Z._normalizeKey(t.pop());let i="";if(Q.forEach(e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")}),i+=r,0!=t.length||0===r.length)return null;const o={};return o.domEventName=n,o.fullKey=i,o}static getEventFullKey(e){let t="",n=a().getEventKey(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Q.forEach(r=>{r!=n&&(0,X[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(e,t,n){return r=>{Z.getEventFullKey(r)===e&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}class ee{}class te extends ee{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case i.O.NONE:return t;case i.O.HTML:return t instanceof re?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),Object(i.ob)(this._doc,String(t)));case i.O.STYLE:return t instanceof ie?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),Object(i.pb)(t));case i.O.SCRIPT:if(t instanceof oe)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case i.O.URL:return t instanceof se||t instanceof ae?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Object(i.qb)(String(t)));case i.O.RESOURCE_URL:if(t instanceof se)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),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)`)}}checkNotSafeValue(e,t){if(e instanceof ne)throw new Error(`Required a safe ${t}, got a ${e.getTypeName()} (see http://g.co/ng/security#xss)`)}bypassSecurityTrustHtml(e){return new re(e)}bypassSecurityTrustStyle(e){return new ie(e)}bypassSecurityTrustScript(e){return new oe(e)}bypassSecurityTrustUrl(e){return new ae(e)}bypassSecurityTrustResourceUrl(e){return new se(e)}}class ne{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class re extends ne{getTypeName(){return"HTML"}}class ie extends ne{getTypeName(){return"Style"}}
2class oe extends ne{getTypeName(){return"Script"}}class ae extends ne{getTypeName(){return"URL"}}class se extends ne{getTypeName(){return"ResourceURL"}}const le=[{provide:i.I,useValue:r.r},{provide:i.J,useValue:function(){d.makeCurrent(),_.init()},multi:!0},{provide:r.o,useClass:class extends r.o{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=a().getLocation(),this._history=a().getHistory()}getBaseHrefFromDOM(){return a().getBaseHref(this._doc)}onPopState(e){a().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){a().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,n){p()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){p()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}},deps:[r.d]},{provide:r.d,useFactory:function(){return document},deps:[]}],ue=Object(i.ab)(i.hb,"browser",le);function ce(){return new i.q}class de{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(e){return{ngModule:de,providers:[{provide:i.c,useValue:e.appId},{provide:m,useExisting:i.c},g]}}}"undefined"!=typeof window&&window},cuys:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("mrSG"),i=n("a3Cf"),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.onMessage=function(){return Object(i.cordova)(this,"onMessage",{observable:!0,callbackOrder:"reverse"},arguments)},t.prototype.onBackgroundMessage=function(){return Object(i.cordova)(this,"onBackgroundMessage",{observable:!0,callbackOrder:"reverse"},arguments)},t.prototype.requestPermission=function(e){return Object(i.cordova)(this,"requestPermission",{sync:!0},arguments)},t.prototype.getInstanceId=function(){return Object(i.cordova)(this,"getInstanceId",{sync:!0},arguments)},t.prototype.getToken=function(e){return Object(i.cordova)(this,"getToken",{sync:!0},arguments)},t.prototype.onTokenRefresh=function(){return Object(i.cordova)(this,"onTokenRefresh",{observable:!0,callbackOrder:"reverse"},arguments)},t.prototype.subscribe=function(e){return Object(i.cordova)(this,"subscribe",{sync:!0},arguments)},t.prototype.unsubscribe=function(e){return Object(i.cordova)(this,"unsubscribe",{sync:!0},arguments)},t.prototype.getBadge=function(){return Object(i.cordova)(this,"getBadge",{sync:!0},arguments)},t.prototype.setBadge=function(e){return Object(i.cordova)(this,"setBadge",{sync:!0},arguments)},t.prototype.revokeToken=function(){return Object(i.cordova)(this,"revokeToken",{sync:!0},arguments)},t.pluginName="FirebaseMessaging",t.plugin="cordova-plugin-firebase-messaging",t.pluginRef="cordova.plugins.firebase.messaging",t.repo="https://github.com/chemerisuk/cordova-plugin-firebase-messaging",t.platforms=["Android","iOS"],t}(i.IonicNativePlugin)},czMo:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},dNwA:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LT
2S:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},dUkV:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n("mrSG"),i=n("qNh5"),o=n("SZJ3"),a=n("eIep"),s=n("lJxs"),l=n("UXun"),u=n("pRuv"),c=n("LRne"),d=n("SLW3"),h=n("8Y7J");let f=(()=>{class e{constructor(e,t,n,r){this.auth=e,this.engine=t,this.watchdog=n,this.pubs=r,this.cache=new Map,this.compareFn=(e,t)=>e.name.toLowerCase()<t.name.toLowerCase()?-1:e.name.toLowerCase()>t.name.toLowerCase()?1:0}getFront(){const e="groups";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(a.a)(e=>this.engine.fetchListWithKeysByOrder(e+"/groups/front","name")),Object(s.a)(e=>e.sort(this.compareFn)),Object(s.a)(e=>e.filter(e=>e.public&&!0===e.public||this.watchdog.isWriter&&!e.locked||this.auth.user.value.groups&&this.auth.user.value.groups[e.$key]||this.watchdog.isAdmin)),Object(l.a)(1));return this.cache[e]=t,t}getBack(){if(this.watchdog.isAssistant){const e="groupsfull";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(a.a)(e=>this.engine.fetchArrayWithIndexKeys(e+"groups/back")),Object(l.a)(1));return this.cache[e]=t,t}return Object(c.a)(null)}getGroup(e){if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(a.a)(t=>this.engine.fetchObject(t+"groups/back/"+e)),Object(l.a)(1));return this.cache[e]=t,t}_addUser(e,t){return new Promise(n=>r.__awaiter(this,void 0,void 0,(function*(){const r={},i=yield this.auth.getNode(),o=yield this.auth.getCurrentUser();t?(r[i+"groups/back/"+e+"/members/"+t]=!0,r[i+"users/back/"+t+"/groups/"+e]=!0):(r[i+"groups/back/"+e+"/members/"+o.$key]=!0,r[i+"users/back/"+o.$key+"/groups/"+e]=!0),n(r)})))}_removeUser(e,t){return new Promise(n=>r.__awaiter(this,void 0,void 0,(function*(){const r={},i=yield this.auth.getNode(),o=yield this.auth.getCurrentUser();t?(r[i+"groups/back/"+e+"/members/"+t]=null,r[i+"users/back/"+t+"/groups/"+e]=null):(r[i+"groups/back/"+e+"/members/"+o.$key]=null,r[i+"users/back/"+o.$key+"/groups/"+e]=null),n(r)})))}remove(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.auth.getNode(),n=this.engine._keys(e.members)?this.engine._keys(e.members):[],r=this.engine._keys(e.pages)?this.engine._keys(e.pages):[],i=this.engine._keys(e.pubs)?this.engine._keys(e.pubs):[],o=this.engine._keys(e.bulletins)?this.engine._keys(e.bulletins):[],a={};this.engine._isEmpty(n)||n.forEach(n=>{a[t+"users/back/"+n+"/groups/"+e.$key]=null}),this.engine._isEmpty(r)||r.forEach(n=>{a[t+"pages/back/"+n+"/groups/"+e.$key]=null,a[t+"pages/front/"+n+"/groups/"+e.$key]=null}),this.engine._isEmpty(i)||i.forEach(n=>{a[t+"pubs/back/"+n+"/groups/"+e.$key]=null,a[t+"pubs/front/"+n+"/groups/"+e.$key]=null}),this.engine._isEmpty(o)||o.forEach(n=>{a[t+"bulletins/back/"+n+"/groups/"+e.$key]=null,a[t+"bulletins/front/"+n+"/groups/"+e.$key]=null});const s=yield this.engine.moveToTrash(e,"groups");return this.engine._merge(a,s),this.auth.updateDB(a)}))}}return e.ngInjectableDef=h.Zb({factory:function(){return new e(h.ac(i.a),h.ac(o.a),h.ac(u.a),h.ac(d.a))},token:e,providedIn:"root"}),e})()},"e+ae":function(e,t,n){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function i(e,t,n,i){var o=e+" ";switch(n){case"s":return t||i?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||i?o+(r(e)?"sekundy":"sek\xfand"):o+"sekundami";case"m":return t?"min\xfata":i?"min\xfatu":"min\xfatou";case"mm":return t||i?o+(r(e)?"min\xfaty":"min\xfat"):o+"min\xfatami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?o+(r(e)?"hodiny":"hod\xedn"):o+"hodinami";case"d":return t||i?"de\u0148":"d\u0148om";case"dd":return t||i?o+(r(e)?"dni":"dn\xed"):o+"d\u0148ami";case"M":return t||i?"mesiac":"mesiacom";case"MM":return t||i?o+(r(e)?"mesiace":"mesiacov"):o+"mesiacmi";case"y":return t||i?"rok":"rokom";case"yy":return t||i?o+(r(e)?"roky":"rokov"):o+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},eIep:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("lJxs"),i=n("Cfvw"),o=n("zx2A");function a(e,t){return"function"==typeof t?n=>n.pipe(a((n,o)=>Object(i.a)(e(n,o)).pipe(Object(r.a)((e,r)=>t(n,e,o,r))))):t=>t.lift(new s(e))}class s{constructor(e){this.project=e}call(e,t){return t.subscribe(new l(e,this.project))}}class l extends o.b{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new o.a(this),r=this.destination;r.add(n),this.innerSubscription=Object(o.c)(e,n),this.innerSubscription!==n&&r.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}},fzPg:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u
21eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n("wd/R"))},gJ2e:function(e,t,n){"use strict";var r=n("8Y7J"),i=n("HDdC"),o=n("lJxs");function a(e){const t=function(e){return new i.a(t=>(e.on("state_changed",e=>t.next(e),e=>t.error(e),()=>t.complete()),()=>e.cancel()))}(e);return{task:e,then:e.then.bind(e),catch:e.catch.bind(e),pause:e.pause.bind(e),cancel:e.cancel.bind(e),resume:e.resume.bind(e),snapshotChanges:()=>t,percentageChanges:()=>t.pipe(Object(o.a)(e=>e.bytesTransferred/e.totalBytes*100))}}var s=n("Cfvw");function l(e,t,n){return{getDownloadURL:()=>Object(s.a)(e.getDownloadURL(),t.outsideAngular).pipe(n),getMetadata:()=>Object(s.a)(e.getMetadata()).pipe(n),delete:()=>Object(s.a)(e.delete()),child:r=>l(e.child(r),t,n),updateMetatdata:t=>Object(s.a)(e.updateMetadata(t)),updateMetadata:t=>Object(s.a)(e.updateMetadata(t)),put:(t,n)=>a(e.put(t,n)),putString:(t,n,r)=>a(e.putString(t,n,r))}}var u=n("1XSQ"),c=n("yA/v");n.d(t,"b",(function(){return d})),n.d(t,"a",(function(){return h}));const d=new r.v("angularfire2.storageBucket");let h=class{constructor(e,t,n,r,i){this.schedulers=new u.b(i),this.keepUnstableUntilFirst=Object(u.c)(this.schedulers,r),this.storage=i.runOutsideAngular(()=>Object(c.e)(e,i,t).storage(n||void 0))}ref(e){return l(this.storage.ref(e),this.schedulers,this.keepUnstableUntilFirst)}upload(e,t,n){return l(this.storage.ref(e),this.schedulers,this.keepUnstableUntilFirst).put(t,n)}}},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("2fFW"),i=n("NJ4a");const o={closed:!0,next(e){},error(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(i.a)(e)},complete(){}}},gVVK:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+(1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return i+(1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return i+(1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami");case"d":return t||r?"en dan":"enim dnem";case"dd":return i+(1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi");case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+(1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci");case"y":return t||r?"eno leto":"enim letom";case"yy":return i+(1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gekB:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function r(e,r,i,o){var a="";switch(i){case"s":return o?"muutaman sekunnin":"muutama sekunti";case"ss":a=o?"sekunnin":"sekuntia";break;case"m":return o?"minuutin":"minuutti";case"mm":a=o?"minuutin":"minuuttia";break;case"h":return o?"tunnin":"tunti";case"hh":a=o?"tunnin":"tuntia";break;case"d":return o?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":a=o?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return o?"kuukauden":"kuukausi";case"MM":a=o?"kuukauden":"kuukautta";break;case"y":return o?"vuoden":"vuosi";case"yy":a=o?"vuoden":"vuotta"}return function(e,r){return e<10?r?n[e]:t[e]:e}(e,o)+" "+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_t
2i_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:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},hKQe:function(e,t,n){"use strict";n("HDdC"),n("KOl+")},hKrs:function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},honF:function(e,t,n){!function(e){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u
21010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(n("wd/R"))},i1Uz:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("8Y7J"),i=n("8piP"),o=n("I9vy"),a=n("lJxs"),s=n("JX91");class l{constructor(){this.click=new r.r,this.addNew=new r.r}ngOnInit(){this.showLoad$=this.list$.pipe(Object(a.a)(()=>!1),Object(s.a)(!0))}clickEvent(e,t){this.click.emit(t)}addNewEvent(){this.addNew.emit()}woof(e,t){return!(!e||!t)&&this.matchingStatus(Object.keys(e),[t])}matchingStatus(e,t){return!o(i(e,t))}checkRoles(e,t){return"Admin"===e?this.matchingRole(["Admin","Dev"],[t]):"Dev"===e?this.matchingRole(["Dev"],[t]):"SDO"===e?this.matchingRole(["Admin","SDO","Dev"],[t]):"Writer"===e?this.matchingRole(["Writer","Admin","SDO","Dev"],[t]):"Assistant"===e?this.matchingRole(["Assistant","Writer","Admin","SDO","Dev"],[t]):"Reader"===e&&this.matchingRole(["Reader","Assistant","Writer","SDO","Admin","Dev"],[t])}matchingRole(e,t){return!o(i(e,t))}search(e){const t=e.target.value;t?t&&""!==t.trim()&&(this.list$=this.listB$,this.list$=this.listB$.pipe(Object(a.a)(e=>e.filter(e=>(e.instances&&e.instances.startTime?e.instances.startTime.toLowerCase().indexOf(t.toLowerCase()):-1)>-1||(e.instances&&e.instances.endTime?e.instances.endtime.toLowerCase().indexOf(t.toLowerCase()):-1)>-1||(e.name?e.name.toLowerCase().indexOf(t.toLowerCase()):-1)>-1||(e.title?e.title.toLowerCase().indexOf(t.toLowerCase()):-1)>-1)))):this.list$=this.listB$}}},"iB3+":function(e,t){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=/^(?:0|[1-9]\d*)$/,s=parseInt,l=Object.prototype.toString;function u(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e,t){return e&&e.length?function(e,t){var n=e.length;if(n)return function(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||a.test(e))&&e>-1&&e%1==0&&e<t}(t+=t<0?n:0,n)?e[t]:void 0}(e,(h=(d=(c=t)?(c=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==l.call(e)}(e))return NaN;if(u(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=u(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var a=i.test(e);return a||o.test(e)?s(e.slice(2),a?2:8):r.test(e)?NaN:+e}(c))===1/0||c===-1/0?17976931348623157e292*(c<0?-1:1):c==c?c:0:0===c?c:0)%1,d==d?h?d-h:d:0)):void 0;var c,d,h}},iEDd:function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".
2split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},iHZU:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("8Y7J");class i{constructor(){this.fzUpdate=new r.r,this.qty=[1],this.disabled=!1,this.validAnswer=!1,this.onChange=e=>{},this.onTouch=()=>{}}writeValue(e){this.onChange(e),this.theScore=e||0}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouch=e}ngOnInit(){if(this.element){this.questionNumber=this.element.order?this.element.order+1:0;const e=this.element.level?this.element.level:5;for(let t=2;t<=e;t++)this.qty.push(t);switch(this.element.icon){case"star":this.iconOn="star",this.iconOff="star-outline";break;case"radio":this.iconOn="radio-button-on",this.iconOff="radio-button-off";break;case"heart":this.iconOn="heart",this.iconOff="heart-empty";break;default:this.element.icon?this.colorIcon=!0:(this.iconOn="star",this.iconOff="star-outline")}}}click(e){e>0&&(this.validAnswer=!0),this.fzUpdate.emit(e),this.writeValue(e)}}},iInd:function(e,t,n){"use strict";var r=n("SVse"),i=n("8Y7J"),o=n("LRne"),a=n("Cfvw"),s=n("2Vo4"),l=n("HDdC"),u=n("sVev"),c=n("itXk"),d=n("EY2u");function h(e){return new l.a(t=>{let n;try{n=e()}catch(r){return void t.error(r)}return(n?Object(a.a)(n):Object(d.b)()).subscribe(t)})}var f=n("XNiG"),p=n("lJxs"),m=n("0EUg"),g=n("pLZG"),_=n("7o/Q"),y=n("4I5i");function v(e){return function(t){return 0===e?Object(d.b)():t.lift(new b(e))}}class b{constructor(e){if(this.total=e,this.total<0)throw new y.a}call(e,t){return t.subscribe(new w(e,this.total))}}class w extends _.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let i=0;i<n;i++){const i=t++%n;e.next(r[i])}}e.complete()}}var k=n("XDbj"),M=n("xbPD"),S=n("SpAZ");function T(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Object(g.a)((t,n)=>e(t,n,r)):S.a,v(1),n?Object(M.a)(t):Object(k.a)(()=>new u.a))}var x=n("JIr8"),L=n("SxV6"),D=n("5+tZ");class C{constructor(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}call(e,t){return t.subscribe(new O(e,this.predicate,this.thisArg,this.source))}}class O extends _.a{constructor(e,t,n,r){super(e),this.predicate=t,this.thisArg=n,this.source=r,this.index=0,this.thisArg=n||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(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var E=n("eIep"),j=n("IzEk"),A=n("JX91"),P=n("Kqap"),I=n("bOdf"),Y=n("mCNh"),R=n("vkgz"),N=n("quSY");class F{constructor(e){this.callback=e}call(e,t){return t.subscribe(new H(e,this.callback))}}class H extends _.a{constructor(e,t){super(e),this.add(new N.a(t))}}var $=n("bHdf"),z=n("cUpR");n.d(t,"D",(function(){return ae})),n.d(t,"t",(function(){return bn})),n.d(t,"A",(function(){return On})),n.d(t,"v",(function(){return Sn})),n.d(t,"B",(function(){return En})),n.d(t,"C",(function(){return jn})),n.d(t,"x",(function(){return xn})),n.d(t,"w",(function(){return Tn})),n.d(t,"z",(function(){return Cn})),n.d(t,"u",(function(){return kn})),n.d(t,"y",(function(){return Dn})),n.d(t,"E",(function(){return yn})),n.d(t,"n",(function(){return ln})),n.d(t,"p",(function(){return hn})),n.d(t,"d",(function(){return U})),n.d(t,"l",(function(){return Qt})),n.d(t,"m",(function(){return sn})),n.d(t,"k",(function(){return Zt})),n.d(t,"i",(function(){return vn})),n.d(t,"j",(function(){return An})),n.d(t,"o",(function(){return Mn})),n.d(t,"b",(function(){return dn})),n.d(t,"e",(function(){return gn})),n.d(t,"g",(function(){return mn})),n.d(t,"h",(function(){return pn})),n.d(t,"q",(function(){return _n})),n.d(t,"a",(function(){return Je})),n.d(t,"f",(function(){return se})),n.d(t,"r",(function(){return tn})),n.d(t,"c",(function(){return Ce})),n.d(t,"s",(function(){return De}));class W{constructor(e,t){this.id=e,this.url=t}}class U extends W{constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class B extends W{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class V extends W{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class q extends W{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class G extends W{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class K extends W{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class J extends W{constructor(e,t,n,r,i){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Q extends W{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class X extends W{constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Z{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ee{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class te{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ne{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class re{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ie{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oe{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class ae{}const se="primary";class le{constructor(e){this.params=e||{}}has(e){return this.params.hasOwnProperty(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 ue(e){return new le(e)}function ce(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function de(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;const i={};for(let o=0;o<r.length;o++){const t=r[o],n=e[o];if(t.startsWith(":"))i[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}class he{constructor(e,t){this.routes=e,this.module=t}}
2function fe(e,t=""){for(let n=0;n<e.length;n++){const r=e[n];pe(r,me(t,r))}}function pe(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&&e.outlet!==se)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&&fe(e.children,t)}function me(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:`${e}/${t.path}`:"":e}function ge(e){const t=e.children&&e.children.map(ge),n=t?Object.assign({},e,{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==se&&(n.component=ae),n}function _e(e,t){const n=Object.keys(e),r=Object.keys(t);if(!n||!r||n.length!=r.length)return!1;let i;for(let o=0;o<n.length;o++)if(i=n[o],e[i]!==t[i])return!1;return!0}function ye(e){return Array.prototype.concat.apply([],e)}function ve(e){return e.length>0?e[e.length-1]:null}function be(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function we(e){return Object(i.Ib)(e)?e:Object(i.Jb)(e)?Object(a.a)(Promise.resolve(e)):Object(o.a)(e)}function ke(e,t,n){return n?function(e,t){return _e(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!xe(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>t[n]===e[n])}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,i){if(n.segments.length>i.length)return!!xe(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!xe(n.segments,i))return!1;for(const t in r.children){if(!n.children[t])return!1;if(!e(n.children[t],r.children[t]))return!1}return!0}{const e=i.slice(0,n.segments.length),o=i.slice(n.segments.length);return!!xe(n.segments,e)&&!!n.children[se]&&t(n.children[se],r,o)}}(t,n,n.segments)}(e.root,t.root)}class Me{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ue(this.queryParams)),this._queryParamMap}toString(){return Oe.serialize(this)}}class Se{constructor(e,t){this.segments=e,this.children=t,this.parent=null,be
vendor: 15,324 bytes, line 2
2(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ee(this)}}class Te{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=ue(this.parameters)),this._parameterMap}toString(){return Re(this)}}function xe(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}function Le(e,t){let n=[];return be(e.children,(e,r)=>{r===se&&(n=n.concat(t(e,r)))}),be(e.children,(e,r)=>{r!==se&&(n=n.concat(t(e,r)))}),n}class De{}class Ce{parse(e){const t=new ze(e);return new Me(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){return`${"/"+function e(t,n){if(!t.hasChildren())return Ee(t);if(n){const n=t.children[se]?e(t.children[se],!1):"",r=[];return be(t.children,(t,n)=>{n!==se&&r.push(`${n}:${e(t,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=Le(t,(n,r)=>r===se?[e(t.children[se],!1)]:[`${r}:${e(n,!1)}`]);return`${Ee(t)}/(${n.join("//")})`}}(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${Ae(t)}=${Ae(e)}`).join("&"):`${Ae(t)}=${Ae(n)}`});return t.length?"?"+t.join("&"):""}(e.queryParams)}${"string"==typeof e.fragment?"#"+encodeURI(e.fragment):""}`}}const Oe=new Ce;function Ee(e){return e.segments.map(e=>Re(e)).join("/")}function je(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ae(e){return je(e).replace(/%3B/gi,";")}function Pe(e){return je(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ie(e){return decodeURIComponent(e)}function Ye(e){return Ie(e.replace(/\+/g,"%20"))}function Re(e){return`${Pe(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${Pe(e)}=${Pe(t[e])}`).join("")}`;var t}const Ne=/^[^\/()?;=#]+/;function Fe(e){const t=e.match(Ne);return t?t[0]:""}const He=/^[^=?&#]+/,$e=/^[^?&#]+/;class ze{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Se([],{}):new Se([],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 n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[se]=new Se(e,t)),n}parseSegment(){const e=Fe(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Te(Ie(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=Fe(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=Fe(this.remaining);e&&(n=e,this.capture(n))}e[Ie(t)]=Ie(n)}parseQueryParam(e){const t=function(e){const t=e.match(He);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match($e);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const r=Ye(t),i=Ye(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(t=[t],e[r]=t),t.push(i)}else e[r]=i}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=Fe(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=se);const o=this.parseChildren();t[i]=1===Object.keys(o).length?o[se]:new Se([],o),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 We{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=Ue(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=Ue(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=Be(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return Be(e,this._root).map(e=>e.value)}}function Ue(e,t){if(e===t.value)return t;for(const n of t.children){const t=Ue(e,n);if(t)return t}return null}function Be(e,t){if(e===t.value)return[t];for(const n of t.children){const r=Be(e,n);if(r.length)return r.unshift(t),r}return[]}class Ve{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function qe(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class Ge extends We{constructor(e,t){super(e),this.snapshot=t,et(this,e)}toString(){return this.snapshot.toString()}}function Ke(e,t){const n=function(e,t){const n=new Xe([],{},{},"",{},se,t,null,e.root,-1,{});return new Ze("",new Ve(n,[]))}(e,t),r=new s.a([new Te("",{})]),i=new s.a({}),o=new s.a({}),a=new s.a({}),l=new s.a(""),u=new Je(r,i,a,l,o,se,t,n.root);return u.snapshot=n.root,new Ge(new Ve(u,[]),n)}class Je{constructor(e,t,n,r,i,o,a,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this._futureSnapshot=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(p.a)(e=>ue(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(p.a)(e=>ue(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Qe(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const e=n[r],t=n[r-1];if(e.routeConfig&&""===e.routeConfig.path)r--;else{if(t.component)break;r--}}return function(e){return e.reduce((e,t)=>({params:Object.assign({},e.params,t.params),data:Object.assign({},e.data,t.data),resolve:Object.assign({},e.resolve,t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Xe{constructor(e,t,n,r,i,o,a,s,l,u,c){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}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=ue(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=ue(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Ze extends We{constructor(e,t){super(t),this.url=e,et(this,t)}toString(){return tt(this._root)}}function et(e,t){t.value._routerState=e,t.children.forEach(t=>et(e,t))}function tt(e){const t=e.children.length>0?` { ${e.children.map(tt).join(", ")} } `:"";return`${e.value}${t}`}function nt(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,_e(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),_e(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!_e(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),_e(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function rt(e,t){var n,r;return _e(e.params,t.params)&&xe(n=e.url,r=t.url)&&n.every((e,t)=>_e(e.parameters,r[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||rt(e.parent,t.parent))}function it(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function ot(e,t,n,r,i){let o={};return r&&be(r,(e,t)=>{o[t]=Array.isArray(e)?e.map(e=>""+e):""+e}),new Me(n.root===e?t:function e(t,n,r){const i={};return be(t.children,(t,o)=>{i[o]=t===n?r:e(t,n,r)}),new Se(t.segments,i)}(n.root,e,t),o,i)}class at{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&it(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(r&&r!==ve(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class st{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function lt(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[se]:""+e}function ut(e,t,n){if(e||(e=new Se([],{})),0===e.segments.length&&e.hasChildren())return ct(e,t,n);const r=function(e,t,n){let r=0,i=t;const o={match:!1,pathIndex:0,commandIndex:0};for(;i<e.segments.length;){if(r>=n.length)return o;const t=e.segments[i],a=lt(n[r]),s=r<n.length-1?n[r+1]:null;if(i>0&&void 0===a)break;if(a&&s&&"object"==typeof s&&void 0===s.outlets){if(!pt(a,s,t))return o;r+=2}else{if(!pt(a,{},t))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){const t=new Se(e.segments.slice(0,r.pathIndex),{});return t.children[se]=new Se(e.segments.slice(r.pathIndex),e.children),ct(t,0,i)}return r.match&&0===i.length?new Se(e.segments,{}):r.match&&!e.hasChildren()?dt(e,t,n):r.match?ct(e,0,i):dt(e,t,n)}function ct(e,t,n){if(0===n.length)return new Se(e.segments,{});{const r=function(e){return"object"!=typeof e[0]?{[se]:e}:void 0===e[0].outlets?{[se]:e}:e[0].outlets}(n),i={};return be(r,(n,r)=>{null!==n&&(i[r]=ut(e.children[r],t,n))}),be(e.children,(e,t)=>{void 0===r[t]&&(i[t]=e)}),new Se(e.segments,i)}}function dt(e,t,n){const r=e.segments.slice(0,t);let i=0;for(;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){const e=ht(n[i].outlets);return new Se(r,e)}if(0===i&&it(n[0])){r.push(new Te(e.segments[t].path,n[0])),i++;continue}const o=lt(n[i]),a=i<n.length-1?n[i+1]:null;o&&a&&it(a)?(r.push(new Te(o,ft(a))),i+=2):(r.push(new Te(o,{})),i++)}return new Se(r,{})}function ht(e){const t={};return be(e,(e,n)=>{null!==e&&(t[n]=dt(new Se([],{}),0,e))}),t}function ft(e){const t={};return be(e,(e,n)=>t[n]=""+e),t}function pt(e,t,n){return e==n.path&&_e(t,n.parameters)}class mt{constructor(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),nt(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const r=qe(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]}),be(r,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const r=e.value,i=t?t.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:r})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet);if(n){const r=qe(e),i=e.value.component?n.children:t;be(r,(e,t)=>this.deactivateRouteAndItsChildren(e,i)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(e,t,n){const r=qe(t);e.children.forEach(e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new ie(e.value.snapshot))}),e.children.length&&this.forwardEvent(new ne(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,i=t?t.value:null;if(nt(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,n);else if(r.component){const t=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const e=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.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),gt(e.route)}else{const n=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}(r.snapshot),i=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=i,t.outlet&&t.outlet.activateWith(r,i),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function gt(e){nt(e.value),e.children.forEach(gt)}function _t(e){return"function"==typeof e}function yt(e){return e instanceof Me}class vt{constructor(e){this.segmentGroup=e||null}}class bt{constructor(e){this.urlTree=e}}function wt(e){return new l.a(t=>t.error(new vt(e)))}function kt(e){return new l.a(t=>t.error(new bt(e)))}function Mt(e){return new l.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class St{constructor(e,t,n,r,o){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=e.get(i.D)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,se).pipe(Object(p.a)(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(Object(x.a)(e=>{if(e instanceof bt)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof vt)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,se).pipe(Object(p.a)(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(Object(x.a)(e=>{if(e instanceof vt)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const r=e.segments.length>0?new Se([],{[se]:e}):e;return new Me(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n
2).pipe(Object(p.a)(e=>new Se([],e))):this.expandSegment(e,n,t,n.segments,r,!0)}expandChildren(e,t,n){return function(e,t){if(0===Object.keys(e).length)return Object(o.a)({});const n=[],r=[],i={};return be(e,(e,o)=>{const a=t(o,e).pipe(Object(p.a)(e=>i[o]=e));o===se?n.push(a):r.push(a)}),o.a.apply(null,n.concat(r)).pipe(Object(m.a)(),T(),Object(p.a)(()=>i))}(n.children,(n,r)=>this.expandSegmentGroup(e,t,r,n))}expandSegment(e,t,n,r,i,a){return Object(o.a)(...n).pipe(Object(p.a)(s=>this.expandSegmentAgainstRoute(e,t,n,s,r,i,a).pipe(Object(x.a)(e=>{if(e instanceof vt)return Object(o.a)(null);throw e}))),Object(m.a)(),Object(L.a)(e=>!!e),Object(x.a)((e,n)=>{if(e instanceof u.a||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,r,i))return Object(o.a)(new Se([],{}));throw new vt(t)}throw e}))}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}expandSegmentAgainstRoute(e,t,n,r,i,o,a){return Dt(r)!==o?wt(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):wt(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?kt(i):this.lineralizeSegments(n,i).pipe(Object(D.a)(n=>{const i=new Se(n,{});return this.expandSegment(e,i,t,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o){const{matched:a,consumedSegments:s,lastChild:l,positionalParamSegments:u}=Tt(t,r,i);if(!a)return wt(t);const c=this.applyRedirectCommands(s,r.redirectTo,u);return r.redirectTo.startsWith("/")?kt(c):this.lineralizeSegments(r,c).pipe(Object(D.a)(r=>this.expandSegment(e,t,n,r.concat(i.slice(l)),o,!1)))}matchSegmentAgainstRoute(e,t,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(p.a)(e=>(n._loadedConfig=e,new Se(r,{})))):Object(o.a)(new Se(r,{}));const{matched:i,consumedSegments:a,lastChild:s}=Tt(t,n,r);if(!i)return wt(t);const l=r.slice(s);return this.getChildConfig(e,n,r).pipe(Object(D.a)(e=>{const n=e.module,r=e.routes,{segmentGroup:i,slicedSegments:s}=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some(n=>Lt(e,t,n)&&Dt(n)!==se)}(e,n,r)?{segmentGroup:xt(new Se(t,function(e,t){const n={};n[se]=t;for(const r of e)""===r.path&&Dt(r)!==se&&(n[Dt(r)]=new Se([],{}));return n}(r,new Se(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some(n=>Lt(e,t,n))}(e,n,r)?{segmentGroup:xt(new Se(e.segments,function(e,t,n,r){const i={};for(const o of n)Lt(e,t,o)&&!r[Dt(o)]&&(i[Dt(o)]=new Se([],{}));return Object.assign({},r,i)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,a,l,r);return 0===s.length&&i.hasChildren()?this.expandChildren(n,r,i).pipe(Object(p.a)(e=>new Se(a,e))):0===r.length&&0===s.length?Object(o.a)(new Se(a,{})):this.expandSegment(n,i,r,s,se,!0).pipe(Object(p.a)(e=>new Se(a.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Object(o.a)(new he(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(o.a)(t._loadedConfig):function(e,t,n){const r=t.canLoad;return r&&0!==r.length?Object(a.a)(r).pipe(Object(p.a)(r=>{const i=e.get(r);let o;if(function(e){return e&&_t(e.canLoad)}(i))o=i.canLoad(t,n);else{if(!_t(i))throw new Error("Invalid CanLoad guard");o=i(t,n)}return we(o)})).pipe(Object(m.a)(),(i=e=>!0===e,e=>e.lift(new C(i,void 0,e)))):Object(o.a)(!0);var i}(e.injector,t,n).pipe(Object(D.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(p.a)(e=>(t._loadedConfig=e,e))):function(e){return new l.a(t=>t.error(ce(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Object(o.a)(new he([],e))}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(o.a)(n);if(r.numberOfChildren>1||!r.children[se])return Mt(e.redirectTo);r=r.children[se]}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const i=this.createSegmentGroup(e,t.root,n,r);return new Me(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return be(e,(e,r)=>{if("string"==typeof e&&e.startsWith(":")){const i=e.substring(1);n[r]=t[i]}else n[r]=e}),n}createSegmentGroup(e,t,n,r){const i=this.createSegments(e,t.segments,n,r);let o={};return be(t.children,(t,i)=>{o[i]=this.createSegmentGroup(e,t,n,r)}),new Se(i,o)}createSegments(e,t,n,r){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,r):this.findOrReturn(t,n))}findPosParam(e,t,n){const r=n[t.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return r}findOrReturn(e,t){let n=0;for(const r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}}function Tt(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(t.matcher||de)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function xt(e){if(1===e.numberOfChildren&&e.children[se]){const t=e.children[se];return new Se(e.segments.concat(t.segments),t.children)}return e}function Lt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Dt(e){return e.outlet||se}class Ct{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Ot{constructor(e,t){this.component=e,this.route=t}}function Et(e,t,n){const r=e._root;return function e(t,n,r,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const a=qe(n);
2return t.children.forEach(t=>{!function(t,n,r,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const a=t.value,s=n?n.value:null,l=r?r.getContext(t.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){const u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!xe(e.url,t.url);case"pathParamsOrQueryParamsChange":return!xe(e.url,t.url)||!_e(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rt(e,t)||!_e(e.queryParams,t.queryParams);case"paramsChange":default:return!rt(e,t)}}(s,a,a.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new Ct(i)):(a.data=s.data,a._resolvedData=s._resolvedData),e(t,n,a.component?l?l.children:null:r,i,o),u&&o.canDeactivateChecks.push(new Ot(l&&l.outlet&&l.outlet.component||null,s))}else s&&At(n,l,o),o.canActivateChecks.push(new Ct(i)),e(t,null,a.component?l?l.children:null:r,i,o)}(t,a[t.value.outlet],r,i.concat([t.value]),o),delete a[t.value.outlet]}),be(a,(e,t)=>At(e,r.getContext(t),o)),o}(r,t?t._root:null,n,[r.value])}function jt(e,t,n){const r=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(r?r.module.injector:n).get(e)}function At(e,t,n){const r=qe(e),i=e.value;be(r,(e,r)=>{At(e,i.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new Ot(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}const Pt=Symbol("INITIAL_VALUE");function It(){return Object(E.a)(e=>Object(c.a)(...e.map(e=>e.pipe(Object(j.a)(1),Object(A.a)(Pt)))).pipe(Object(P.a)((e,t)=>{let n=!1;return t.reduce((e,r,i)=>{if(e!==Pt)return e;if(r===Pt&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||yt(r))return r}return e},e)},Pt),Object(g.a)(e=>e!==Pt),Object(p.a)(e=>yt(e)?e:!0===e),Object(j.a)(1)))}function Yt(e,t){return null!==e&&t&&t(new re(e)),Object(o.a)(!0)}function Rt(e,t){return null!==e&&t&&t(new te(e)),Object(o.a)(!0)}function Nt(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Object(o.a)(!0);const i=r.map(r=>h(()=>{const i=jt(r,t,n);let o;if(function(e){return e&&_t(e.canActivate)}(i))o=we(i.canActivate(t,e));else{if(!_t(i))throw new Error("Invalid CanActivate guard");o=we(i(t,e))}return o.pipe(Object(L.a)())}));return Object(o.a)(i).pipe(It())}function Ft(e,t,n){const r=t[t.length-1],i=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=>h(()=>{const i=t.guards.map(i=>{const o=jt(i,t.node,n);let a;if(function(e){return e&&_t(e.canActivateChild)}(o))a=we(o.canActivateChild(r,e));else{if(!_t(o))throw new Error("Invalid CanActivateChild guard");a=we(o(r,e))}return a.pipe(Object(L.a)())});return Object(o.a)(i).pipe(It())}));return Object(o.a)(i).pipe(It())}class Ht{}class $t{constructor(e,t,n,r,i,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}recognize(){try{const e=Ut(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,se),n=new Xe([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},se,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Ve(n,t),i=new Ze(this.url,r);return this.inheritParamsAndData(i._root),Object(o.a)(i)}catch(e){return new l.a(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,n=Qe(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=Le(t,(t,n)=>this.processSegmentGroup(e,t,n));return function(e){const t={};e.forEach(e=>{const n=t[e.value.outlet];if(n){const t=n.url.map(e=>e.toString()).join("/"),r=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${r}'.`)}t[e.value.outlet]=e.value})}(n),n.sort((e,t)=>
2e.value.outlet===se?-1:t.value.outlet===se?1:e.value.outlet.localeCompare(t.value.outlet)),n}processSegment(e,t,n,r){for(const o of e)try{return this.processSegmentAgainstRoute(o,t,n,r)}catch(i){if(!(i instanceof Ht))throw i}if(this.noLeftoversInUrl(t,n,r))return[];throw new Ht}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo)throw new Ht;if((e.outlet||se)!==r)throw new Ht;let i,o=[],a=[];if("**"===e.path){const o=n.length>0?ve(n).parameters:{};i=new Xe(n,o,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,qt(e),r,e.component,e,zt(t),Wt(t)+n.length,Gt(e))}else{const s=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Ht;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(t.matcher||de)(n,e,t);if(!r)throw new Ht;const i={};be(r.posParams,(e,t)=>{i[t]=e.path});const o=r.consumed.length>0?Object.assign({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(t,e,n);o=s.consumedSegments,a=n.slice(s.lastChild),i=new Xe(o,s.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,qt(e),r,e.component,e,zt(t),Wt(t)+o.length,Gt(e))}const s=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:u}=Ut(t,o,a,s,this.relativeLinkResolution);if(0===u.length&&l.hasChildren()){const e=this.processChildren(s,l);return[new Ve(i,e)]}if(0===s.length&&0===u.length)return[new Ve(i,[])];const c=this.processSegment(s,l,u,se);return[new Ve(i,c)]}}function zt(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function Wt(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Ut(e,t,n,r,i){if(n.length>0&&function(e,t,n){return n.some(n=>Bt(e,t,n)&&Vt(n)!==se)}(e,n,r)){const i=new Se(t,function(e,t,n,r){const i={};i[se]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const o of n)if(""===o.path&&Vt(o)!==se){const n=new Se([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,i[Vt(o)]=n}return i}(e,t,r,new Se(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>Bt(e,t,n))}(e,n,r)){const o=new Se(e.segments,function(e,t,n,r,i,o){const a={};for(const s of r)if(Bt(e,n,s)&&!i[Vt(s)]){const n=new Se([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===o?e.segments.length:t.length,a[Vt(s)]=n}return Object.assign({},i,a)}(e,t,n,r,e.children,i));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}const o=new Se(e.segments,e.children);return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}function Bt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Vt(e){return e.outlet||se}function qt(e){return e.data||{}}function Gt(e){return e.resolve||{}}function Kt(e,t,n,r){const i=jt(e,t,r);return we(i.resolve?i.resolve(t,n):i(t,n))}function Jt(e){return function(t){return t.pipe(Object(E.a)(t=>{const n=e(t);return n?Object(a.a)(n).pipe(Object(p.a)(()=>t)):Object(a.a)([t])}))}}class Qt{}class Xt{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}const Zt=new i.v("ROUTES");class en{constructor(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(p.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new he(ye(r.injector.get(Zt)).map(ge),r)}))}loadModuleFactory(e){return"string"==typeof e?Object(a.a)(this.loader.load(e)):we(e()).pipe(Object(D.a)(e=>e instanceof i.B?Object(o.a)(e):Object(a.a)(this.compiler.compileModuleAsync(e))))}}class tn{}class nn{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function rn(e){throw e}function on(e,t,n){return t.parse("/")}function an(e,t){return Object(o.a)(null)}class sn{constructor(e,t,n,r,o,a,l,u){this.rootComponentType=e,this.urlSerializer
2=t,this.rootContexts=n,this.location=r,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new f.a,this.errorHandler=rn,this.malformedUriErrorHandler=on,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:an,afterPreactivation:an},this.urlHandlingStrategy=new nn,this.routeReuseStrategy=new Xt,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(i.D),this.console=o.get(i.lb);const c=o.get(i.F);this.isNgZoneEnabled=c instanceof i.F,this.resetConfig(u),this.currentUrlTree=new Me(new Se([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new en(a,l,e=>this.triggerEvent(new Z(e)),e=>this.triggerEvent(new ee(e))),this.routerState=Ke(this.currentUrlTree,this.rootComponentType),this.transitions=new s.a({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(Object(g.a)(e=>0!==e.id),Object(p.a)(e=>Object.assign({},e,{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Object(E.a)(e=>{let n=!1,r=!1;return Object(o.a)(e).pipe(Object(R.a)(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign({},this.lastSuccessfulNavigation,{previousNavigation:null}):null}}),Object(E.a)(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(o.a)(e).pipe(Object(E.a)(e=>{const n=this.transitions.getValue();return t.next(new U(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?d.a:[e]}),Object(E.a)(e=>Promise.resolve(e)),(r=this.ngModule.injector,i=this.configLoader,a=this.urlSerializer,s=this.config,function(e){return e.pipe(Object(E.a)(e=>function(e,t,n,r,i){return new St(e,t,n,r,i).apply()}(r,i,a,e.extractedUrl,s).pipe(Object(p.a)(t=>Object.assign({},e,{urlAfterRedirects:t})))))}),Object(R.a)(e=>{this.currentNavigation=Object.assign({},this.currentNavigation,{finalUrl:e.urlAfterRedirects})}),function(e,t,n,r,i){return function(o){return o.pipe(Object(D.a)(o=>function(e,t,n,r,i="emptyOnly",o="legacy"){return new $t(e,t,n,r,i,o).recognize()}(e,t,o.urlAfterRedirects,n(o.urlAfterRedirects),r,i).pipe(Object(p.a)(e=>Object.assign({},o,{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(R.a)(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),Object(R.a)(e=>{const n=new G(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var r,i,a,s;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:i,restoredState:a,extras:s}=e,l=new U(n,this.serializeUrl(r),i,a);t.next(l);const u=Ke(r,this.rootComponentType).snapshot;return Object(o.a)(Object.assign({},e,{targetSnapshot:u,urlAfterRedirects:r,extras:Object.assign({},s,{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),d.a}),Jt(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:o,replaceUrl:a}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!o,replaceUrl:!!a})}),Object(R.a)(e=>{const t=new K(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(p.a)(e=>Object.assign({},e,{guards:Et(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(n){return n.pipe(Object(D.a)(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:l}}=n;return 0===l.length&&0===s.length?Object(o.a)(Object.assign({},n,{guardsResult:!0})):function(e,t,n,r){return Object(a.a)(e).pipe(Object(D.a)(e=>function(e,t,n,r,i){const a=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(o.a)(!0);const s=a.map(o=>{const a=jt(o,t,i);let s;if(function(e){return e&&_t(e.canDeactivate)}(a))s=we(a.canDeactivate(e,t,n,r));else{if(!_t(a))throw new Error("Invalid CanDeactivate guard");s=we(a(e,t,n,r))}return s.pipe(Object(L.a)())});return Object(o.a)(s).pipe(It())}(e.component,e.route,n,t,r)),Object(L.a)(e=>!0!==e,!0))}(l,r,i,e).pipe(Object(D.a)(n=>n&&"boolean"==typeof n?function(e,t,n,r){return Object(a.a)(t).pipe(Object(I.a)(t=>Object(a.a)([Rt(t.route.parent,r),Yt(t.route,r),Ft(e,t.path,n),Nt(e,t.route,n)]).pipe(Object(m.a)(),Object(L.a)(e=>
2!0!==e,!0))),Object(L.a)(e=>!0!==e,!0))}(r,s,e,t):Object(o.a)(n)),Object(p.a)(e=>Object.assign({},n,{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),Object(R.a)(e=>{if(yt(e.guardsResult)){const t=ce(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),Object(R.a)(e=>{const t=new J(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Object(g.a)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new V(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),Jt(e=>{if(e.guards.canActivateChecks.length)return Object(o.a)(e).pipe(Object(R.a)(e=>{const t=new Q(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(t=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(e){return e.pipe(Object(D.a)(e=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=e;return i.length?Object(a.a)(i).pipe(Object(I.a)(e=>function(e,t,n,r){return function(e,t,n,r){const i=Object.keys(e);if(0===i.length)return Object(o.a)({});if(1===i.length){const o=i[0];return Kt(e[o],t,n,r).pipe(Object(p.a)(e=>({[o]:e})))}const s={};return Object(a.a)(i).pipe(Object(D.a)(i=>Kt(e[i],t,n,r).pipe(Object(p.a)(e=>(s[i]=e,e))))).pipe(T(),Object(p.a)(()=>s))}(e._resolve,e,t,r).pipe(Object(p.a)(t=>(e._resolvedData=t,e.data=Object.assign({},e.data,Qe(e,n).resolve),null)))}(e.route,r,t,n)),function(e,t){return arguments.length>=2?function(n){return Object(Y.a)(Object(P.a)(e,t),v(1),Object(M.a)(t))(n)}:function(t){return Object(Y.a)(Object(P.a)((t,n,r)=>e(t,n,r+1)),v(1))(t)}}((e,t)=>e),Object(p.a)(t=>e)):Object(o.a)(e)}))}),Object(R.a)(e=>{const t=new X(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}));var t,n}),Jt(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:o,replaceUrl:a}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!o,replaceUrl:!!a})}),Object(p.a)(e=>{const t=function(e,t,n){const r=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){const i=r.value;i._futureSnapshot=n.value;const o=function(t,n,r){return n.children.map(n=>{for(const i of r.children)if(t.shouldReuseRoute(i.value.snapshot,n.value))return e(t,n,i);return e(t,n)})}(t,n,r);return new Ve(i,o)}{const r=t.retrieve(n.value);if(r){const e=r.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(let r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,e),e}{const r=new Je(new s.a((i=n.value).url),new s.a(i.params),new s.a(i.queryParams),new s.a(i.fragment),new s.a(i.data),i.outlet,i.component,i),o=n.children.map(n=>e(t,n));return new Ve(r,o)}}var i}(e,t._root,n?n._root:void 0);return new Ge(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign({},e,{targetRouterState:t})}),Object(R.a)(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)}),(l=this.rootContexts,u=this.routeReuseStrategy,c=e=>this.triggerEvent(e),Object(p.a)(e=>(new mt(u,e.targetRouterState,e.currentRouterState,c).activate(l),e))),Object(R.a)({next(){n=!0},complete(){n=!0}}),(i=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new V(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null},e=>e.lift(new F(i))),Object(x.a)(n=>{if(r=!0,(i=n)&&i.ngNavigationCancelingError){const r=yt(n.url);r||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const i=new V(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(i),e.resolve(!1),r&&this.navigateByUrl(n.url)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const r=new q(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(o){e.reject(o)}}var i;return d.a}));var i,l,u,c}))}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({},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 n="popstate"===e.type?"popstate":"hashchange",r=e.state&&e.state.navigationId?e.state:null;setTimeout(()=>{this.scheduleNavigation(t,n,r,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){fe(e),this.config=e.map(ge),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:r,fragment:o,preserveQueryParams:a,queryParamsHandling:s,preserveFragment:l}=t;
2Object(i.gb)()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const u=n||this.routerState.root,c=l?this.currentUrlTree.fragment:o;let d=null;if(s)switch(s){case"merge":d=Object.assign({},this.currentUrlTree.queryParams,r);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=r||null}else d=a?this.currentUrlTree.queryParams:r||null;return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,n,r,i){if(0===n.length)return ot(t.root,t.root,t,r,i);const o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new at(!0,0,e);let t=0,n=!1;const r=e.reduce((e,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return be(r.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(r.segmentPath)return[...e,r.segmentPath]}return"string"!=typeof r?[...e,r]:0===i?(r.split("/").forEach((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):[...e,r]},[]);return new at(n,t,r)}(n);if(o.toRoot())return ot(t.root,new Se([],{}),t,r,i);const a=function(e,t,n){if(e.isAbsolute)return new st(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new st(n.snapshot._urlSegment,!0,0);const r=it(e.commands[0])?0:1;return function(e,t,n){let r=e,i=t,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new st(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),s=a.processChildren?ct(a.segmentGroup,a.index,o.commands):ut(a.segmentGroup,a.index,o.commands);return ot(a.segmentGroup,s,t,r,i)}(u,this.currentUrlTree,e,d,c)}navigateByUrl(e,t={skipLocationChange:!1}){Object(i.gb)()&&this.isNgZoneEnabled&&!i.F.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=yt(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} 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(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(yt(e))return ke(this.currentUrlTree,e,t);const n=this.parseUrl(e);return ke(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return null!=r&&(t[n]=r),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new B(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,n,r){const i=this.getTransition();if(i&&"imperative"!==t&&"imperative"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(i&&"hashchange"==t&&"popstate"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(i&&"popstate"==t&&"hashchange"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);let o=null,a=null;const s=new Promise((e,t)=>{o=e,a=t}),l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:o,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,r){const i=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",Object.assign({},r,{navigationId:n})):this.location.go(i,"",Object.assign({},r,{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}class ln{constructor(e,t,n,r,i){this.router=e,this.route=t,this.commands=[],null==n&&r.setAttribute(i.nativeElement,"tabindex","0")}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(i.gb)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:un(this.skipLocationChange),replaceUrl:un(this.replaceUrl)};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:un(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:un(this.preserveFragment)})}}function un(e){return""===e||!!e}class cn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new dn,this.attachRef=null}}class dn{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}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 cn,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}class hn{constructor(e,t,n,r,o){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.r,this.deactivateEvents=new i.r,this.name=r||se,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 n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new fn(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}class fn{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===Je?this.route:e===dn?this.childContexts:this.parent.get(e,t)}}class pn{}class mn{preload(e,t){return t().pipe(Object(x.a)(()=>Object(o.a)(null)))}}class gn{preload(e,t){return Object(o.a)(null)}}class _n{constructor(e,t,n,r,i){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=new en(t,n,t=>e.triggerEvent(new Z(t)),t=>e.triggerEvent(new ee(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(g.a)(e=>e instanceof B),Object(I.a)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(i.D);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const e=r._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(e,r)):r.children&&n.push(this.processRoutes(e,r.children));return Object(a.a)(n).pipe(Object($.a)(),Object(p.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(D.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}class yn{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anch
2orScrolling||"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 U?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof B&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof oe&&(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 oe(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}const vn=new i.v("ROUTER_CONFIGURATION"),bn=new i.v("ROUTER_FORROOT_GUARD"),wn=[r.h,{provide:De,useClass:Ce},{provide:sn,useFactory:Dn,deps:[i.g,De,dn,r.h,i.w,i.C,i.k,Zt,vn,[tn,new i.G],[Qt,new i.G]]},dn,{provide:Je,useFactory:Cn,deps:[sn]},{provide:i.C,useClass:i.Q},_n,gn,mn,{provide:vn,useValue:{enableTracing:!1}}];function kn(){return new i.E("Router",sn)}class Mn{constructor(e,t){}static forRoot(e,t){return{ngModule:Mn,providers:[wn,Ln(e),{provide:bn,useFactory:xn,deps:[[sn,new i.G,new i.P]]},{provide:vn,useValue:t||{}},{provide:r.i,useFactory:Tn,deps:[r.o,[new i.t(r.a),new i.G],vn]},{provide:yn,useFactory:Sn,deps:[sn,r.p,vn]},{provide:pn,useExisting:t&&t.preloadingStrategy?t.preloadingStrategy:gn},{provide:i.E,multi:!0,useFactory:kn},[On,{provide:i.d,multi:!0,useFactory:En,deps:[On]},{provide:An,useFactory:jn,deps:[On]},{provide:i.b,multi:!0,useExisting:An}]]}}static forChild(e){return{ngModule:Mn,providers:[Ln(e)]}}}function Sn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new yn(e,t,n)}function Tn(e,t,n={}){return n.useHash?new r.f(e,t):new r.n(e,t)}function xn(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Ln(e){return[{provide:i.a,multi:!0,useValue:e},{provide:Zt,multi:!0,useValue:e}]}function Dn(e,t,n,r,i,o,a,s,l={},u,c){const d=new sn(null,t,n,r,i,o,a,ye(s));if(u&&(d.urlHandlingStrategy=u),c&&(d.routeReuseStrategy=c),l.errorHandler&&(d.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(d.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const e=Object(z.r)();d.events.subscribe(t=>{e.logGroup("Router Event: "+t.constructor.name),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return l.onSameUrlNavigation&&(d.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(d.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(d.relativeLinkResolution=l.relativeLinkResolution),d}function Cn(e){return e.routerState.root}class On{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new f.a}appInitializer(){return this.injector.get(r.g,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(sn),r=this.injector.get(vn);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))e(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),e(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(o.a)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(vn),n=this.injector.get(_n),r=this.injector.get(yn),o=this.injector.get(sn),a=this.injector.get(i.g);e===a.components[0]&&(this.isLegacyEnabled(t)?o.initialNavigation():this.isLegacyDisabled(t)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(a.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}}function En(e){return e.appInitializer.bind(e)}function jn(e){return e.bootstrapListener.bind(e)}const An=new i.v("Router Initializer")},iYuL:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".
2split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},iZTH:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n("mrSG"),i=n("SLW3"),o=n("SZJ3"),a=n("dUkV"),s=n("AGEe"),l=n("LyHe"),u=n("qNh5"),c=n("mCfL"),d=n("qard"),h=n("tfKx"),f=n("pQEw"),p=n("LRne"),m=n("itXk"),g=n("pRuv"),_=n("W/tK"),y=n("eIep"),v=n("UXun"),b=n("lJxs"),w=n("JX91"),k=n("SxV6"),M=n("IzEk"),S=n("ZZ/e"),T=n("3tmi"),x=n("9B/o"),L=n("q9N6"),D=n("8Y7J"),C=n("iInd");let O=(()=>{class e{constructor(e,t,n,r,i,o,a,s,l,u,c,d,h,f,p,m,g){this.pubs=e,this.groups=t,this.sites=n,this.bulletins=r,this.auth=i,this.engine=o,this.pages=a,this.analytics=s,this.errors=l,this.fields=u,this.watchdog=c,this.settings=d,this.forms=h,this.muster=f,this.platform=p,this.iab=m,this.router=g,this.cache=new Map,this.helpCache=new Map,d.theme$.subscribe(e=>this.selectedTheme=e)}getImages(){const e="images";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(y.a)(e=>this.engine.fetchArrayWithIndexKeys(e+"images/front")),Object(v.a)(1));return this.cache[e]=t,t}getHelpText(e){if(this.helpCache[e])return this.helpCache[e];const t=this.auth.node$.pipe(Object(y.a)(t=>this.engine.fetchObject(t+"common/help/"+e)),Object(v.a)(1));return this.helpCache[e]=t,t}getTheme(){if(this.cache.theme)return this.cache.theme;const e=this.auth.node$.pipe(Object(y.a)(e=>this.engine.fetchObject(e+"common/theme")),Object(v.a)(1));return this.cache.theme=e,e}getTabHeader(e,t){return this.getTheme().pipe(Object(b.a)(n=>n&&n.tabs&&n.tabs[e]&&n.tabs[e].title?n.tabs[e].title:t),Object(w.a)(t))}getUsers(){if(this.cache.users)return this.cache.users;const e=this.auth.node$.pipe(Object(y.a)(e=>this.engine.fetchListWithKeysByOrder(e+"users/front","lastName")),Object(b.a)(e=>e.map(e=>Object.assign({},e,{combinedName:(e.rank?e.rank+" ":"")+(e.lastName?e.lastName:"")+(e.firstName?", "+e.firstName:"")+(e.middleInitial?" "+e.middleInitial:"")+(e.callsign?' "'+e.callsign+'"':""),fullAddress:(e.homeAddress?e.homeAddress+", ":"")+(e.homeCity?e.homeCity+", ":"")+(e.homeState?e.homeState+" ":"")+(e.zipcode?e.zipcode:""),officePhoneFull:(e.officePhone?e.officePhone:"")+(e.officePhoneExt?" Ext. "+e.officePhoneExt:"")}))),Object(v.a)(1));return this.cache.users=e,e}getUsersKeyArray(){const e="usersKey";if(this.cache[e])return this.cache[e];const t=this.getUsers().pipe(Object(b.a)(e=>this.engine._keyBy(e,"$key")),Object(v.a)(1));return this.cache[e]=t,t}getUserFront(e){return this.getUsers().pipe(Object(b.a)(t=>t.filter(t=>t.$key===e)),Object(k.a)()).toPromise()}getActiveUserList(){return this.getUsers().pipe(Object(b.a)(e=>e.filter(e=>"Active"===e.status||"Hidden"===e.status)))}getPushList(){if(this.watchdog.isAssistant){const e="push";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(y.a)(e=>this.engine.fetchArrayWithIndexKeys(e+"users/push")),Object(v.a)(1));return this.cache[e]=t,t}return Object(p.a)(null)}getSqc(){if(this.cache.sqc)return this.cache.sqc;const e=this.auth.node$.pipe(Object(y.a)(e=>this.engine.fetchObject(e+"common/tabs/front/sqc")),Object(v.a)(1));return this.cache.sqc=e,e}getSqcElements(){const e="sqcelements";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(y.a)(e=>this.engine.fetchListWithKeysByOrder(e+"common/tabs/back/sqc/elements","order")),Ob
2ject(v.a)(1));return this.cache[e]=t,t}getHelp(){if(this.cache.help)return this.cache.help;const e=this.auth.node$.pipe(Object(y.a)(e=>this.engine.fetchObject(e+"common/tabs/front/help")),Object(v.a)(1));return this.cache.help=e,e}getHelpElements(){const e="helpelements";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(y.a)(e=>this.engine.fetchListWithKeysByOrder(e+"common/tabs/back/help/elements","order")),Object(v.a)(1));return this.cache[e]=t,t}getAllTheDetails(){return Object(m.a)([this.pages.getPublished().pipe(Object(b.a)(e=>this.engine._keyBy(e,"$key"))),this.pubs.getPublished().pipe(Object(b.a)(e=>this.engine._keyBy(e,"$key"))),this.getImages(),this.forms.getPublished().pipe(Object(b.a)(e=>this.engine._keyBy(e,"$key")))]).pipe(Object(b.a)(([e,t,n,r])=>({pages:e,pubs:t,images:n,forms:r})))}getRcStatus(){return this.auth.node$.pipe(Object(y.a)(e=>Object(m.a)([this.engine.fetchObject(e+"/common/rc/activatedBy"),this.engine.fetchObject(e+"/common/rc/activatedTs")])),Object(b.a)(([e,t])=>({ukey:e,ts:t})))}getAllTheDetailsEditor(){return Object(m.a)([this.pages.getFront().pipe(Object(b.a)(e=>this.engine._keyBy(e,"$key"))),this.pubs.getFront().pipe(Object(b.a)(e=>this.engine._keyBy(e,"$key"))),this.getImages(),this.forms.getFront().pipe(Object(b.a)(e=>this.engine._keyBy(e,"$key")))]).pipe(Object(b.a)(([e,t,n,r])=>({pages:e,pubs:t,images:n,forms:r})))}elementsMasterMix(e){const t=this.getAllTheDetailsEditor();return Object(m.a)([e,t]).pipe(Object(b.a)(([e,t])=>e.map(e=>Object.assign({},e,{nm:"image"===e.type?t.images[e.value].name:"pub"===e.type&&t.pubs[e.value]&&t.pubs[e.value].name?t.pubs[e.value].name:"page"===e.type&&t.pages[e.value]&&t.pages[e.value].title?t.pages[e.value].title:"form"===e.type&&t.forms[e.value]&&t.forms[e.value].name?t.forms[e.value].name:e.name?e.name:null}))))}elementsDisplayMix(e){const t=this.getAllTheDetails();return Object(m.a)([e,t]).pipe(Object(b.a)(([e,t])=>e.map(e=>Object.assign({},e,{nm:"image"===e.type?t.images[e.value].name:"pub"===e.type&&t.pubs[e.value]&&t.pubs[e.value].name?t.pubs[e.value].name:"page"===e.type&&t.pages[e.value]&&t.pages[e.value].title?t.pages[e.value].title:"form"===e.type&&t.forms[e.value]&&t.forms[e.value].name?t.forms[e.value].name:e.name?e.name:null}))))}addUserToGroup(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.engine.uJSON(e),r=n.sites,i=n.groups;i.push(t);const[o,a,s,l,u,c]=yield Promise.all([this.pubs.subscribeUser(n,i,r),this.bulletins.subscribeUser(n,i,r),this.pages.subscribeUser(n,i,r),this.groups._addUser(t,e),this.forms.subscribeUser(n,i,r),this.muster.subscribeUser(n,i,r)]),d={};if(this.engine._merge(d,o),this.engine._merge(d,a),this.engine._merge(d,s),this.engine._merge(d,l),this.engine._merge(d,u),this.engine._merge(d,c),d)return this.auth.updateDB(d)}))}removeUserFromGroup(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.engine.uJSON(e),r=n.sites;let i=n.groups;i=this.engine._pull(i,t);const[o,a,s,l,u,c]=yield Promise.all([this.pubs.subscribeUser(n,i,r),this.bulletins.subscribeUser(n,i,r),this.pages.subscribeUser(n,i,r),this.groups._removeUser(t,e),this.forms.subscribeUser(n,i,r),this.muster.subscribeUser(n,i,r)]),d={};if(this.engine._merge(d,o),this.engine._merge(d,a),this.engine._merge(d,s),this.engine._merge(d,l),this.engine._merge(d,u),this.engine._merge(d,c),d)return this.auth.updateDB(d)}))}addUserToSite(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.engine.uJSON(e),r=n.sites,i=n.groups;r.push(t);const[o,a,s,l,u,c]=yield Promise.all([this.pubs.subscribeUser(n,i,r),this.bulletins.subscribeUser(n,i,r),this.pages.subscribeUser(n,i,r),this.sites._addUser(t,e),this.forms.subscribeUser(n,i,r),this.muster.subscribeUser(n,i,r)]),d={};if(this.engine._merge(d,o),this.engine._merge(d,a),this.engine._merge(d,s),this.engine._merge(d,l),this.engine._merge(d,u),this.engine._merge(d,c),d)return this.auth.updateDB(d)}))}removeUserFromSite(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.engine.uJSON(e);let r=n.sites;const i=n.groups;r=this.engine._pull(r,t);const[o,a,s,l,u,c]=yield Promise.all([this.pubs.subscribeUser(n,i,r),this.bulletins.subscribeUser(n,i,r),this.pages.subscribeUser(n,i,r),this.sites._removeUser(t,e),this.forms.subscribeUser(n,i,r),this.muster.subscribeUser(n,i,r)]),d={};
2if(this.engine._merge(d,o),this.engine._merge(d,a),this.engine._merge(d,s),this.engine._merge(d,l),this.engine._merge(d,u),this.engine._merge(d,c),d)return this.auth.updateDB(d)}))}updateGroupSubscription(e,t,n,i){return r.__awaiter(this,void 0,void 0,(function*(){let r={};const o=yield this.auth.getNode();r[o+"groups/back/"+t+"/"+n+"/"+i.$key]=!0===e||null,r[o+n+"/back/"+i.$key+"/groups/"+t]=!0===e||null,r[o+n+"/front/"+i.$key+"/groups/"+t]=!0===e||null;const a=yield this.updateSubscriptionList(i,e,n,!1,t);if(a)return r=this.engine._merge(r,a),this.auth.updateDB(r)}))}updateSiteSubscription(e,t,n,i){return r.__awaiter(this,void 0,void 0,(function*(){let r={};const o=yield this.auth.getNode();r[o+"sites/back/"+t+"/"+n+"/"+i.$key]=!0===e||null,r[o+n+"/back/"+i.$key+"/sites/"+t]=!0===e||null,r[o+n+"/front/"+i.$key+"/sites/"+t]=!0===e||null;const a=yield this.updateSubscriptionList(i,e,n,t);if(a)return r=this.engine._merge(r,a),this.auth.updateDB(r)}))}push(e,t,n,i){return r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.auth.getNode(),o=r+e+"/back/"+t+"/",a=r+e+"/front/"+t+"/",s={};return n?(i||(s[o+"cancel"]=!0),"alerts"===e&&(s[o+"active"]=null,s[a+"active"]=null)):(s[o+"push"]=!0,"alerts"===e&&(s[o+"active"]=!0,s[a+"active"]=!0)),this.auth.updateDB(s)}))}updateSubscriptionList(e,t,n,i,o){return r.__awaiter(this,void 0,void 0,(function*(){switch(n){case"bulletins":case"pages":if(i)return yield this._updateSubscriptionList(e,t,n,i);if(o)return yield this._updateSubscriptionList(e,t,n,!1,o);break;case"pubs":if(i)return yield this._updateSubscriptionList(e,t,n,i,!1,!0);if(o)return yield this._updateSubscriptionList(e,t,n,!1,o,!0);break;case"muster":case"forms":if(i)return yield this._updateSubscriptionList(e,t,n,i);if(o)return yield this._updateSubscriptionList(e,t,n,!1,o);break;case"alerts":if(i)return yield this._updateSubscriptionListNoGroups(e,t,n,i)}}))}_updateSubscriptionListNoGroups(e,t,n,i){return r.__awaiter(this,void 0,void 0,(function*(){let r,o={};this.engine._keys(e.groups);const a=this.engine._keys(e.sites),s=yield this.siteListUsers(a);if(s)return!1===t?(i&&this.engine._pull(a,i),r=yield this.siteListUsers(a),r&&(this.engine._pullAll(s,r),o=this.engine._merge(o,yield this.updateSubscribers(s,n,e.$key,t)))):!0===t&&(i&&a.push(i),r=yield this.siteListUsers(a),r&&(this.engine._pullAll(r,s),o=this.engine._merge(o,yield this.updateSubscribers(r,n,e.$key,t)))),o}))}_updateSubscriptionList(e,t,n,i,o,a){return r.__awaiter(this,void 0,void 0,(function*(){let r,s={};const l=this.engine._keys(e.groups),u=this.engine._keys(e.sites),c=yield this.intersectGroupSiteUsers(l,u);if(c)return!1===t?(i?this.engine._pull(u,i):o&&this.engine._pull(l,o),r=yield this.intersectGroupSiteUsers(l,u),r&&(this.engine._pullAll(c,r),s=this.engine._merge(s,yield this.updateSubscribers(c,n,e.$key,t,a)))):!0===t&&(i?u.push(i):o&&l.push(o),r=yield this.intersectGroupSiteUsers(l,u),r&&(this.engine._pullAll(r,c),s=this.engine._merge(s,yield this.updateSubscribers(r,n,e.$key,t,a)))),s}))}intersectGroupSiteUsers(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.groupListUsers(e),r=yield this.siteListUsers(t);return new Promise(e=>{e(this.engine._intersection(n,r))})}))}siteListUsers(e){return new Promise(t=>{let n=[];this.sites.getBack().pipe(Object(b.a)(e=>this.engine._keyBy(e,"$key")),Object(M.a)(1)).subscribe(r=>{e.forEach(e=>{r[e]&&r[e].members&&n.push(this.engine._keys(r[e].members))}),t(this.engine._uniq(this.engine._flatten(n)))})})}groupListUsers(e){return new Promise(t=>{let n=[];this.groups.getBack().pipe(Object(b.a)(e=>this.engine._keyBy(e,"$key")),Object(M.a)(1)).subscribe(r=>{e.forEach(e=>{r[e]&&r[e].members&&n.push(this.engine._keys(r[e].members))}),t(this.engine._uniq(this.engine._flatten(n)))})})}updateSubscribers(e,t,n,i,o){return r.__awaiter(this,void 0,void 0,(function*(){const r={},[a,s]=yield Promise.all([this.auth.getNode(),this.getUsersKeyArray().pipe(Object(k.a)()).toPromise()]);return e.forEach(e=>{r[a+t+"/back/"+n+"/subscribers/"+e]=!0===i||null,o?(r[a+"users/back/"+e+"/subbedpubs/"+n]=!0===i||null,r[a+t+"/back/"+n+"/push/"+e]=!!(s[e]&&s[e].preferences&&s[e].preferences.push&&!0===s[e].preferences.push[n]&&!0===i)||null):r[a+"users/back/"+e+"/"+t+"/"+n]=!0===i||null}),r}))}pubSelect(e){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise((t,n)=>{this.pubs.getFront().pipe(Object(b.a)(e=>e.filter(e=>this.watchdog.woofWithType(e.$key,"pubs")||this.watchdog.isWriter)),Object(M.a)(1)).subscribe(r=>{const i=[];r.forEach(t=>{i.push({label:t.published?t.name:t.name+" (Not Published)",checked:!(!e||t.$key!==e),value:t.$key,type:"radio"})}),this.fields.optionsDialog(i,"Select a Pub").then(e=>{"cancel"!==e&&t(e)}).catch(e=>{"cancel"!==e&&(this.analytics.logError(e).then(()=>{this.errors.showPopup(e)}),n(null))})})})}))}pageSelect(e){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise((t,n)=>{this.pages.getFront().pipe(Object(b.a)(e=>e.filter(e=>this.watchdog.woofWithType(e.$key,"pages")||this.watchdog.isWriter)),Object(M.a)(1)).subscribe(r=>{const i=[];r.forEach(t=>{i.push({label:t.published?t.title:t.title+" (Not Published)",checked:!(!e||t.$key!==e),value:t.$key,type:"radio"})}),this.fields.optionsDialog(i,"Select a Page").then(e=>{"cancel"!==e&&t(e)}).catch(e=>{"cancel"!==e&&(this.analytics.logError(e).then(()=>{this.errors.showPopup(e)}),n(null))})})})}))}formSelect(e){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise((t,n)=>{this.forms.getFront().pipe(Object(b.a)(e=>e.filter(e=>this.watchdog.woofWithType(e.$key,"forms")||this.watchdog.isWriter)),Object(M.a)(1)).subscribe(r=>{const i=[];r.forEach(t=>{i.push({label:t.published?t.title:t.title+" (Not Published)",checked:!(!e||t.$key!==e),value:t.$key,type:"radio"})}),this.fields.optionsDialog(i,"Select a Form").then(e=>{"cancel"!==e&&t(e)}).catch(e=>{"cancel"!==e&&(this.analytics.logError(e).then(()=>{this.errors.showPopup(e)}),n(null))})})})}))}addPageToBulletin(e,t,n,r){const i={};return i[e+"pages/back/"+r+"/bulletins/"+n]=null,i[e+"pages/back/"+t+"/bulletins/"+n]=!0,i[e+"bulletins/back/"+n+"/link"]=t,i[e+"bulletins/back/"+n+"/action"]="page",i[e+"bulletins/front/"+n+"/link"]=t,i[e+"bulletins/front/"+n+"/action"]="page",this.auth.updateDB(i)}addPubToBulletin(e,t,n,r){const i={};return i[e+"pubs/back/"+r+"/bulletins/"+n]=null,i[e+"pubs/back/"+t+"/bulletins/"+n]=!0,i[e+"bulletins/back/"+n+"/link"]=t,i[e+"bulletins/back/"+n+"/action"]="pub",i[e+"bulletins/front/"+n+"/link"]=t,i[e+"bulletins/front/"+n+"/action"]="pub",this.auth.updateDB(i)}addFormToBulletin(e,t,n,r){const i={};return i[e+"forms/back/"+r+"/bulletins/"+n]=null,i[e+"forms/back/"+t+"/bulletins/"+n]=!0,i[e+"bulletins/back/"+n+"/link"]=t,i[e+"bulletins/back/"+n+"/action"]="form",i[e+"bulletins/front/"+n+"/link"]=t,i[e+"bulletins/front/"+n+"/action"]="form",this.auth.updateDB(i)}removeChild(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise((i,o)=>r.__awaiter(this,void 0,void 0,(function*(){const r={};let o,a,s,l,u,c,d,h;t.previews&&(u=this.engine._keys(t.previews),u.forEach(t=>{r[e+"pages/back/"+t+"/preview"]=null,r[e+"pages/front/"+t+"/preview"]=null})),t.links&&(d=this.engine._keys(t.links),h=t.linkTypes?t.linkTypes:{},d.forEach(n=>{"sqc"!==n&&"help"!==n?(c=this.engine._keys(t.links[n]),c.forEac
2h(i=>{this.engine.isObj(t.links[n][i])?this.engine._keys(t.links[n][i]).forEach(o=>{r[e+n+"/back/"+t.links[n][i][o]+"/links/"+n+"/"+i+"/"+o]=null}):r[e+n+"s/back/"+t.links[n][i]+"/links/"+n+"/"+i]=null})):"sqc"!==n&&"help"!==n||(c=this.engine._keys(t.links[n]),c.forEach(i=>{r[e+"common/tabs/back/"+n+"/elements/"+i]=null,r[e+h[n][i]+"s/back/"+t.links[n][i]+"/links/"+n+"/"+i]=null}))})),t.root&&(l=this.engine._keys(t.root),l.forEach(n=>{Object.keys(t.root[n]).forEach(t=>{r[e+"common/tabs/back/"+n+"/elements/"+t]=null})})),t.parents&&(o=this.engine._keys(t.parents),o.forEach(n=>{Object.keys(t.parents[n]).forEach(t=>{r[e+"pages/back/"+n+"/elements/"+t]=null})})),t.forms&&(a=this.engine._keys(t.forms),a.forEach(n=>{Object.keys(t.forms[n]).forEach(t=>{r[e+"forms/back/"+n+"/elements/"+t]=null})})),t.formTemplates&&(s=this.engine._keys(t.forms),s.forEach(n=>{Object.keys(t.formTemplates[n]).forEach(t=>{r[e+"forms/templates/back/"+n+"/elements/"+t]=null})}));const f=yield this.engine.moveToTrash(t,n);this.engine._merge(r,f),i(r)})))}))}pubHandler(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.auth.getNode();this.engine.fetchObject(t+"pubs/back/"+e+"/id").pipe(Object(M.a)(1)).subscribe(t=>{t?this.pubs.viewPub({$key:e,id:t}):this.errors.showPopup("pubBlank")})}))}deletePage(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.auth.getNode();return new Promise((n,i)=>r.__awaiter(this,void 0,void 0,(function*(){this.watchdog.isWriter||i("access denied");const r={};if(e.elements)for(const n of this.engine._keys(e.elements))"page"!==e.elements[n].type&&"pub"!==e.elements[n].type&&"form"!==e.elements[n].type&&"image"!==e.elements[n].type||(r[t+e.elements[n].type+"s/back/"+e.elements[n].value+"/parents/"+e.$key+"/"+e.elements[n].$key]=null),"page"===e.elements[n].linktype&&(r[t+e.elements[n].linktype+"s/back/"+e.elements[n].imagelink+"/links/pages/"+e.$key+"/"+e.elements[n].$key]=null,r[t+e.elements[n].type+"s/back/"+e.elements[n].value+"/links/"+e.elements[n].linktype+"s/"+e.$key+"/"+e.elements[n].$key]=null);e.parents&&Object.keys(e.parents).forEach(n=>{Object.keys(e.parents[n]).forEach(e=>{r[t+"pages/back/"+n+"/elements/"+e]=null})}),e.root&&(e.root.sqc&&Object.keys(e.root.sqc).forEach(e=>{r[t+"common/tabs/back/sqc/elements/"+e]=null}),e.root.help&&Object.keys(e.root.help).forEach(e=>{r[t+"common/tabs/back/help/elements/"+e]=null}
2)),e.links&&(e.links.pages&&this.engine._keys(e.links).forEach(n=>{this.engine._keys(e.links[n]).forEach(i=>{Object.keys(e.links[n][i]).forEach(o=>{const a=e.links[n][i][o];r[t+n+"/back/"+i+"/elements/"+o+"/imagelink"]=null,r[t+n+"/back/"+i+"/elements/"+o+"/linktype"]=null,r[t+"images/back/"+a+"/links/"+n+"/"+i+"/"+o]=null})})}),e.links.help&&Object.keys(e.links.help).forEach(n=>{r[t+"common/tabs/back/help/elements/"+n+"/imagelink"]=null,r[t+"common/tabs/back/help/elements/"+n+"/linktype"]=null,r[t+"images/back/"+e.links.help[n]+"/links/help/"+n]=null}),e.links.sqc&&Object.keys(e.links.sqc).forEach(n=>{r[t+"common/tabs/back/sqc/elements/"+n+"/imagelink"]=null,r[t+"common/tabs/back/sqc/elements/"+n+"/linktype"]=null,r[t+"images/back/"+e.links.sqc[n]+"/links/sqc/"+n]=null})),e.groups&&this.engine._keys(e.groups).forEach(n=>{r[t+"groups/back/"+n+"/pages/"+e.$key]=null}),e.sites&&this.engine._keys(e.sites).forEach(n=>{r[t+"sites/back/"+n+"/pages/"+e.$key]=null}),e.root&&(e.root.sqc&&this.engine._keys(e.root.sqc).forEach(e=>{r[t+"common/tabs/back/sqc/elements/"+e]=null}),e.root.help&&this.engine._keys(e.root.help).forEach(e=>{r[t+"common/tabs/back/help/elements/"+e]=null})),e.preview&&(r[t+"images/back/"+e.preview+"/previews/"+e.$key]=null),e.subscribers&&this.engine._keys(e.subscribers).forEach(n=>{r[t+"users/back/"+n+"/pages/"+e.$key]=null,r[t+"users/back/"+n+"/dashlinks/"+e.$key]=null});const o=yield this.engine.moveToTrash(e,"pages");this.engine._merge(r,o),n(r)})))}))}deleteItem(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.auth.getNode();return new Promise((i,o)=>r.__awaiter(this,void 0,void 0,(function*(){this.watchdog.isWriter||o("access denied");const r={};e.sites&&this.engine._keys(e.sites).forEach(i=>{r[n+"sites/back/"+i+"/"+t+"/"+e.$key]=null}),e.groups&&this.engine._keys(e.groups).forEach(i=>{r[n+"groups/back/"+i+"/"+t+"/"+e.$key]=null}),e.subscribers&&this.engine._keys(e.subscribers).forEach(i=>{r[n+"users/back/"+i+"/"+t+"/"+e.$key]=null}),e.parents&&e.parents.forEach(t=>{Object.keys(e.parents[t]).forEach(e=>{r[n+"pages/back/"+t+"/elements/"+e]=null})}),e.action&&e.link&&("page"===e.action||"form"===e.action)&&(r[n+e.action+"s/back/"+e.link+"/"+t+"/"+e.$key]=null);const a=yield this.engine.moveToTrash(e,t);this.engine._merge(r,a),i(r)})))}))}delete(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){switch(n){case"page":{const n=e;n.$key=t;const r=yield this.deletePage(n);if(r)return this.auth.updateDB(r);break}case"bulletin":{const n=e;n.$key=t;const r=yield this.deleteItem(n,"bulletins");if(r)return this.auth.updateDB(r);break}case"alert":{const n=e;n.$key=t;const r=yield this.deleteItem(n,"alerts");if(r)return this.auth.updateDB(r);break}}}))}pageMenuActions(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const r={},[i,o]=yield Promise.all([this.auth.getNode(),this.auth.getUserNode()]);switch(t){case"unpin":return r[o+"dashlinks/"+e]=null,r[i+"pages/back/"+e+"/dash/"+n]=null,this.auth.updateDB(r);case"pin":return r[o+"dashlinks/"+e]=!0,r[i+"pages/back/"+e+"/dash/"+n]=!0,this.auth.updateDB(r);case"edit":return"EditPage"}}))}compileMsg(e,t,n,r){let i;return r?r&&(i={headings:{en:e},contents:{en:t||"New Notification"},data:r,include_player_ids:n}):i={headings:{en:e},contents:{en:t||"New Notification"},include_player_ids:n},this.sendPush(i)}sendPush(e){}grandCentral(e){}showBrowser(e){"http"!==e.substring(0,4)&&(e="https://"+e),this.iab.create(e,"_system",{closebuttoncaption:"Exit",enableViewportScale:"yes",location:"no"}).show()}wipeCache(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.auth.getNode(),n={title:"Wipe User Device Cache",body:"This will erase "+this.auth.useCase+"'s cached memory on the User's device. Use this if the User is experiencing a white screen error, or if the user has misplaced their phone. This will not erase any downloaded Pubs from the User's Device."};if(yield this.fields.confirmCancel(n)){const n={};return n[t+"users/back/"+e.$key+"/wipe"]=!0,this.auth.updateDB(n)}}))}deactivateUser(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.auth.getNode(),n={title:"Deactivate User",body:"This will remove the user from all app access, but will preserve their profile. Use this if a user's account has been compromised."};try{if(yield this.fields.confirmCancel(n)){const n={};this.auth.user$.pipe(Object(M.a)(1)).subscribe(r=>{this.auth.ts().then(i=>(n[t+"/users/back/"+e.$key+"/status"]=null,n[t+"/users/front/"+e.$key+"/status"]=null,n[t+"/users/back/"+e.$key+"/deactivatedBy"]=r.$key,n[t+"/users/back/"+e.$key+"/deactivatedOn"]=i,this.auth.updateDB(n).then(()=>this.fields.showToast({message:e.rank+" "+e.lastName+" Deactivated"}))))})}}catch(r){r&&(this.analytics.logError(r),this.errors.showPopup("updateFailed"))}}))}reactivateUser(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.auth.getNode(),n={title:"Reactivate User",body:"Confirm this user's account is no longer compromised. This will reactivate access to Squadron Connect."};try{if(yield this.fields.confirmCancel(n)){const n={};this.auth.user$.pipe(Object(M.a)(1)).subscribe(r=>{this.auth.ts().then(i=>(n[t+"users/back/"+e.$key+"/status"]="Active",n[t+"users/front/"+e.$key+"/status"]="Active",n[t+"users/back/"+e.$key+"/reactivatedBy"]=r.$key,n[t+"users/back/"+e.$key+"/reactivatedOn"]=i,this.auth.updateDB(n).then(()=>this.fields.showToast({message:e.rank+" "+e.lastName+" Reactivated"}))))})}}catch(r){r&&(this.analytics.logError(r),this.errors.showPopup("updateFailed"))}}))}terminateUser(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.auth.getNode(),n={title:"Delete User",body:"This will permanently remove this user from the app. This action cannot be undone."};try{if(yield this.fields.confirmCancel(n)){const n={};return n[t+"users/back/"+e.$key]=null,n[t+"users/front/"+e.$key+"/delete"]=!0,this.auth.updateDB(n)}}catch(r){r&&(this.analytics.logError(r),this.errors.showPopup("updateFailed"))}}))}}return e.ngInjectableDef=D.Zb({factory:function(){return new e(D.ac(i.a),D.ac(a.a),D.ac(s.a),D.ac(l.a),D.ac(u.a),D.ac(o.a),D.ac(c.a),D.ac(d.a),D.ac(h.a),D.ac(f.a),D.ac(g.a),D.ac(T.a),D.ac(L.a),D.ac(_.a),D.ac(S.Ob),D.ac(x.a),D.ac(C.m))},token:e,providedIn:"root"}),e})()},irV9:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("HDdC"),i=n("Cfvw"),o=n("LRne"),a=n("eIep"),s=n("1XSQ"),l=n("yA/v");let u=class{constructor(e,t,n,u){const c=Object(s.c)(new s.b(u),n);this.auth=u.runOutsideAngular(()=>Object(l.e)(e,u,t).auth()),this.authState=new r.a(e=>u.runOutsideAngular(()=>this.auth.onAuthStateChanged(e))).pipe(c),this.user=new r.a(e=>u.runOutsideAngular(()=>this.auth.onIdTokenChanged(e))).pipe(c),this.idToken=this.user.pipe(Object(a.a)(e=>e?Object(i.a)(e.getIdToken()):Object(o.a)(null))),this.idTokenResult=this.user.pipe(Object(a.a)(e=>e?Object(i.a)(e.getIdTokenResult()):Object(o.a)(null)))}}},itXk:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("z+Ro"),i=n("DH7j"),o=n("l7GE"),a=n("ZUHj"),s=n("yCtX");const l={};function u(...e){let t=void 0,n=void 0;return Object(r.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(i.a)(e[0])&&(e=e[0]),Object(s.a)(e,n).lift(new c(t))}class c{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new d(e,this.resultSelector))}}class d extends o.a{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(l),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 n=0;n<t;
2n++){const t=e[n];this.add(Object(a.a)(this,t,void 0,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n){const r=this.values,i=this.toRespond?r[n]===l?--this.toRespond:this.toRespond:0;r[n]=t,0===i&&(this.resultSelector?this._tryResultSelector(r):this.destination.next(r.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},j1ZV:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n("iHZU"),n("K2hA"),n("sOj9"),n("yUv1"),n("Ffbe"),n("kjm3"),n("i1Uz");class r{}},j7BH:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n("ZZ/e");class r{constructor(e){this.viewCtrl=e}ngOnInit(){this.arrLen=this.buttonArray.length}return(e){this.viewCtrl.dismiss(e)}checkMatch(e){return this.current.includes(e)}}},jUeY:function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,n){return e>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],i=t&&t.hours();return n=r,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",i%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(e,t,n){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function i(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function o(e,t,n){var r=e+" ";switch(n){case"ss":return r+(i(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return r+(i(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return r+(i(e)?"godziny":"godzin");case"ww":return r+(i(e)?"tygodnie":"tygodni");case"MM":return r+(i(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return r+(i(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,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:o,m:o,mm:o,h:o,hh:o,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:o,M:"miesi\u0105c",MM:o,y:"rok",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
2));var r=n("HDdC"),i=n("quSY");function o(e,t){return new r.a(n=>{const r=new i.a;let o=0;return r.add(t.schedule((function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}},jfSC:function(e,t,n){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,n){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"}
vendor: 5,466 bytes, line 2
2,relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jnO4:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},r=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"]},o=function(e){return function(t,n,o,a){var s=r(t),l=i[e][r(t)];return 2===s&&(l=l[n?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,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(e){return n[e]})).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},kBU6:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o}
2)),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return s}));const r="ionViewWillEnter",i="ionViewDidEnter",o="ionViewWillLeave",a="ionViewDidLeave",s="ionViewWillUnload"},kEOa:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kLfG:function(e,t,n){var r={"./ion-action-sheet-controller_8.entry.js":["0BR9",0,24],"./ion-action-sheet-ios.entry.js":["bnjm",0,25],"./ion-action-sheet-md.entry.js":["utt2",0,26],"./ion-alert-ios.entry.js":["yaSn",0,27],"./ion-alert-md.entry.js":["2/RY",0,28],"./ion-app_8-ios.entry.js":["iInF",0,29],"./ion-app_8-md.entry.js":["K9Nc",0,30],"./ion-avatar_3-ios.entry.js":["hH1s",0,31],"./ion-avatar_3-md.entry.js":["Jw9y",0,32],"./ion-back-button-ios.entry.js":["ouVF",0,33],"./ion-back-button-md.entry.js":["/joy",0,34],"./ion-backdrop-ios.entry.js":["uJLv",35],"./ion-backdrop-md.entry.js":["fSmE",36],"./ion-button_2-ios.entry.js":["s1jK",0,37],"./ion-button_2-md.entry.js":["Wou7",0,38],"./ion-card_5-ios.entry.js":["qshq",0,39],"./ion-card_5-md.entry.js":["Q1uX",0,40],"./ion-checkbox-ios.entry.js":["059i",0,41],"./ion-checkbox-md.entry.js":["eLfv",0,42],"./ion-chip-ios.entry.js":["+FzG",0,43],"./ion-chip-md.entry.js":["yRpg",0,44],"./ion-col_3.entry.js":["/CAe",45],"./ion-datetime_3-ios.entry.js":["Z1Jy",0,46],"./ion-datetime_3-md.entry.js":["X0Dk",0,47],"./ion-fab_3-ios.entry.js":["wvyA",0,48],"./ion-fab_3-md.entry.js":["NkKY",0,49],"./ion-img.entry.js":["wHD8",50],"./ion-infinite-scroll_2-ios.entry.js":["nf6t",0,51],"./ion-infinite-scroll_2-md.entry.js":["lg/V",0,52],"./ion-input-ios.entry.js":["sdJS",0,53],"./ion-input-md.entry.js":["uQUw",0,54],"./ion-item-option_3-ios.entry.js":["Pa1g",0,55],"./ion-item-option_3-md.entry.js":["KTnd",0,56],"./ion-item_8-ios.entry.js":["Z51p",0,57],"./ion-item_8-md.entry.js":["8bam",0,58],"./ion-loading-ios.entry.js":["J3Yu",0,59],"./ion-loading-md.entry.js":["N3W9",0,60],"./ion-menu_4-ios.entry.js":["GEuc",0,61],"./ion-menu_4-md.entry.js":["BHpw",0,62],"./ion-modal-ios.entry.js":["mgaC",0,63],"./ion-modal-md.entry.js":["EpFf",0,64],"./ion-nav_5.entry.js":["qF1+",0,65],"./ion-popover-ios.entry.js":["Gdks",0,66],"./ion-popover-md.entry.js":["VgKV",0,67],"./ion-progress-bar-ios.entry.js":["0PGG",0,68],"./ion-progress-bar-md.entry.js":["h/Bu",0,69],"./ion-radio_2-ios.entry.js":["5bK7",0,70],"./ion-radio_2-md.entry.js":["pOmE",0,71],"./ion-range-ios.entry.js":["5g9+",0,72],"./ion-range-md.entry.js":["fD4w",0,73],"./ion-refresher_2-ios.entry.js":["CXux",0,74],"./ion-refresher_2-md.entry.js":["RODS",0,75],"./ion-reorder_2-ios.entry.js":["IdzL",0,76],"./ion-reorder_2-md.entry.js":["Ftzj",0,77],"./ion-ripple-effect.entry.js":["STjf",78],"./ion-route_4.entry.js":["k5eQ",0,79],"./ion-searchbar-ios.entry.js":["l0q3",0,80],"./ion-searchbar-md.entry.js":["mLlG",0,81],"./ion-segment_2-ios.entry.js":["Iymp",0,82],"./ion-segment_2-md.entry.js":["3msy",0,83],"./ion-select_3-ios.entry.js":["rYLK",0,84],"./ion-select_3-md.entry.js":["WOXB",0,85
2],"./ion-slide_2-ios.entry.js":["F/Xn",86],"./ion-slide_2-md.entry.js":["k8us",87],"./ion-spinner.entry.js":["nI0H",0,88],"./ion-split-pane-ios.entry.js":["edcM",89],"./ion-split-pane-md.entry.js":["RyPD",90],"./ion-tab-bar_2-ios.entry.js":["DP4G",0,91],"./ion-tab-bar_2-md.entry.js":["gaXT",0,92],"./ion-tab_2.entry.js":["TpdJ",0,93],"./ion-text.entry.js":["ISmu",0,94],"./ion-textarea-ios.entry.js":["xNZy",0,95],"./ion-textarea-md.entry.js":["p1XJ",0,96],"./ion-toast-ios.entry.js":["XGfm",0,97],"./ion-toast-md.entry.js":["Y/uG",0,98],"./ion-toggle-ios.entry.js":["WbT0",0,99],"./ion-toggle-md.entry.js":["upP9",0,100],"./ion-virtual-scroll.entry.js":["8Mb5",101]};function i(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(r)},i.id="kLfG",e.exports=i},kOpN:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"\u51cc\u6668":r<900?"\u65e9\u4e0a":r<1130?"\u4e0a\u5348":r<1230?"\u4e2d\u5348":r<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},kjm3:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("8Y7J"),i=n("8piP"),o=n("I9vy");n("ZZ/e");class a{constructor(){this.fzUpdate=new r.r,this.fzLeftButton=new r.r,this.fzReorder=new r.r}ngOnInit(){}reorder(e){this.fzReorder.emit(e)}editHeader(e){this.fzUpdate.emit({action:"header",target:e})}editPub(e){this.fzUpdate.emit({action:"pub",target:e})}editPage(e){this.fzUpdate.emit({action:"page",target:e})}editImage(e){this.fzUpdate.emit({action:"image",target:e})}editText(e){this.fzUpdate.emit({action:"text",target:e})}editLink(e){this.fzUpdate.emit({action:"link",target:e})}editPhone(e){this.fzUpdate.emit({action:"phone",target:e})}editEmail(e){this.fzUpdate.emit({action:"email",target:e})}editForm(e){this.fzUpdate.emit({action:"form",target:e})}delete(e,t){e.close(),this.fzLeftButton.emit(t)}woof(e,t){return!(!e||!t)&&this.matchingStatus(Object.keys(e),[t])}matchingStatus(e,t){return!o(i(e,t))}checkRoles(e,t){return"Admin"===e?this.matchingRole(["Admin","Dev"],[t]):"Dev"===e?this.matchingRole(["Dev"],[t]):"SDO"===e?this.matchingRole(["Admin","SDO","Dev"],[t]):"Writer"===e?this.matchingRole(["Writer","Admin","SDO","Dev"],[t]):"Assistant"===e?this.matchingRole(["Assistant","Writer","Admin","SDO","Dev"],[t]):"Reader"===e&&this.matchingRole(["Reader","Assistant","Writer","SDO","Admin","Dev"],[t])}matchingRole(e,t){return!o(i(e,t))}checkSub(e,t,n){const r=Object.keys(e[t]);return this.matchingRole(r,[n])}}},l5ep:function(e,t,n){!function(e){"use strict";
2e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n("wd/R"))},l7GE:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");class i extends r.a{notifyNext(e,t,n,r,i){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},lJxs:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(e,t))}}class o{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new a(e,this.project,this.thisArg))}}class a extends r.a{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},lXzo:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(r=+e,i={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u
2043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){switch(n){case"s":return t?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return e+(t?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(t?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(t?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(t?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(t?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(t?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e}}e.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u
20445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(e){return"\u04ae\u0425"===e},meridiem:function(e,t,n){return e<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e}}})}(n("wd/R"))},lgnt:function(e,t,n){!function(e){"use strict";var t={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};e.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},loYQ:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u
209ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t?e<4?e:e+12:"\u09ad\u09cb\u09b0"===t||"\u09b8\u0995\u09be\u09b2"===t?e:"\u09a6\u09c1\u09aa\u09c1\u09b0"===t?e>=3?e:e+12:"\u09ac\u09bf\u0995\u09be\u09b2"===t||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<6?"\u09ad\u09cb\u09b0":e<12?"\u09b8\u0995\u09be\u09b2":e<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<18?"\u09ac\u09bf\u0995\u09be\u09b2":e<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},lyxo:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u
20103",hh:t,d:"o zi",dd:t,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n("wd/R"))},mCNh:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("SpAZ");function i(...e){return o(e)}function o(e){return 0===e.length?r.a:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}},mCfL:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n("mrSG"),i=n("SZJ3"),o=n("qNh5"),a=n("pRuv"),s=n("LRne"),l=n("eIep"),u=n("lJxs"),c=n("UXun"),d=n("JIr8"),h=n("SxV6"),f=n("pQEw"),p=n("8Y7J"),m=n("xgBC");let g=(()=>{class e{constructor(e,t,n,r,i){this.engine=e,this.auth=t,this.watchdog=n,this.storage=r,this.fields=i,this.cache=new Map,this.pagecache=new Map,this.compareFn=(e,t)=>e.title.toLowerCase()<t.title.toLowerCase()?-1:e.title.toLowerCase()>t.title.toLowerCase()?1:0}getFront(){if(this.cache.pages)return this.cache.pages;const e=this.auth.node$.pipe(Object(l.a)(e=>this.engine.fetchListWithKeysByOrder(e+"pages/front/","title")),Object(u.a)(e=>e.sort(this.compareFn)),Object(c.a)(1));return this.cache.pages=e,e}getFullPage(e){if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(d.a)(e=>Object(s.a)(null)),Object(l.a)(t=>this.engine.fetchObjectWithKey(t+"/pages/back/"+e)),Object(u.a)(t=>{const n=t,r=n.elements?Object.keys(n.elements):[],i=this.engine._sortBy(r.map(e=>Object.assign({$key:e},n.elements[e])),"order");return Object.assign({key:e},n,{elements:i})}),Object(c.a)(1));return this.cache[e]=t,t}getPageElements(e){if(this.pagecache[e])return this.pagecache[e];const t=this.auth.node$.pipe(Object(d.a)(e=>Object(s.a)(null)),Object(l.a)(t=>this.engine.fetchListWithKeysByOrder(t+"/pages/back/"+e+"/elements","order")),Object(c.a)(1));return this.pagecache[e]=t,t}getPublished(){const e="pagesPublished";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(l.a)(e=>this.engine.fetchListWithKeysByChild(e+"pages/front/","published",!0)),Object(c.a)(1));return this.cache[e]=t,t}subscribeUser(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const[i,o]=yield Promise.all([this.getFront().pipe(Object(h.a)()).toPromise(),this.auth.getNode()]),a={};return i.forEach(i=>r.__awaiter(this,void 0,void 0,(function*(){const r=this.engine._keys(i.groups),s=this.engine._keys(i.sites),l=this.engine._intersection(r,t),u=this.engine._intersection(s,n);this.engine._merge(a,this._subUser(o,i,e,!this.engine._isEmpty(l)&&!this.engine._isEmpty(u)||null))}))),a}))}_subUser(e,t,n,r){const i=t.$key,o={};return o[e+"users/back/"+n.$key+"/pages/"+i]=r,o[e+"pages/back/"+i+"/subscribers/"+n.$key]=r,o}addElement(e,t,n){return this.auth.newDbElement(e,t,n)}editElement(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const r={};return this.engine._keys(t).forEach(i=>{r[n+"elements/"+e.$key+"/"+i]=t[i]}),this.auth.updateDB(r)}))}editElementWithParent(e,t,n,i,o){return r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.auth.getNode(),a={};return a[r+e.type+"s/back/"+e.value+"/"+o+"/"+e.$key]=null,a[r+n+"s/back/"+t+"/"+o+"/"+e.$key]=!0,a[i+"elements/"+e.$key+"/value"]=t,this.auth.updateDB(a)}))}editImageElementWithParent(e,t,n,i,o,a){return r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.auth.getNode(),s={},l="image"===a?"value":"imagelink";return"image"===a?(s[r+e.type+"s/back/"+e.value+"/links/"+o+"/"+e.$key]=t,s[r+a+"s/back/"+t+"/links/"+o+"/"+e.$key]=e.imagelink,s[r+a+"s/back/"+e.value+"/links/"+o+"/"+e.$key]=null,"sqc"!==o&&"help"!==o||(s[r+a+"s/back/"+t+"/root/"+o+"/"+e.$key]=!0,s[r+a+"s/back/"+e.value+"/root/"+o+"/"+e.$key]=null),s[r+a+"s/back/"+e.value+"/linkTypes/"+o+"/"+e.$key]=null,s[r+a+"s/back/"+t+"/linkTypes/"+o+"/"+e.$key]=e.linktype):(s[r+"images/back/"+e.value+"/links/"+o+"/"+e.$key]=t,s[r+e.linktype+"s/back/"+e.imagelink+"/links/"+o+"/"+e.$key]=null,s[r+a+"s/back/"+t+"/links/"+o+"/"+e.$key]=e.value,s[r+"images/back/"+e.value+"/linkTypes/"+o+"/"+e.$key]=a),"page"!==n&&"form"!==n&&(s[r+e.type+"s/back/"+e.value+"/links/"+o+"/"+e.$key]=null),s[i+"elements/"+e.$key+"/"+l]=t,s[i+"elements/"+e.$key+"/linktype"]=n,this.auth.updateDB(s)}))}editImageLink(e,t,n,i){return r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.auth.getNode(),o={},a=this.engine._keys(t);return!e.linktype||"page"!==e.linktype&&"form"!==e.linktype||(o[r+e.linktype+"s/back/"+e.imagelink+"/links/"+i+"/"+e.$key]=null,o[r+"images/back/"+e.value+"/links/"+i+"/"+e.$key]=null),a.forEach(r=>{o[n+"elements/"+e.$key+"/"+r]=t[r]}),this.auth.updateDB(o)}))}verifyDeleteImageLink(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.auth.getNode(),i={};return this.fields.yesNo({title:"Delete Image On-Click Action?",body:"This cannot be undone."}).then(o=>!!o&&("page"!==e.linktype&&"form"!==e.linktype||(i[r+e.linktype+"s/back/"+e.imagelink+"/links/"+n+"/"+e.$key]=null,i[r+"images/back/"+e.value+"/links/"+n+"/"+e.$key]=null,i[r+"images/back/"+e.value+"/linkTypes/"+n+"/"+e.$key]=null),i[t+"elements/"+e.$key+"/imagelink"]=null,i[t+"elements/"+e.$key+"/linktype"]=null,this.auth.updateDB(i))).catch(e=>{if(!1!==e)return e})}))}deleteElement(e,t,n,i){return r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.auth.getNode();return this.fields.confirmCancel({title:"Delete Element?",body:"This cannot be undone."}).then(o=>{if(o){const o={};return"page"!==e.type&&"pub"!==e.type&&"image"!==e.type&&"form"!==e.type&&"contact"!==e.type||(o[r+e.type+"s/back/"+e.value+"/"+i+"/"+e.$key]=null,e.linktype&&"page"===e.linktype&&(o[r+e.linktype+"s/back/"+e.imagelink+"/"+i+"/"+e.$key]=null,o[r+e.linktype+"s/back/"+e.imagelink+"/links/"+n+"/"+e.$key]=null,o[r+e.type+"s/back/"+e.value+"/links/"+n+"/"+e.$key]=null)),o[t+"elements/"+e.$key]=null,this.auth.updateDB(o)}}).catch(e=>{if(!1!==e)return e})}))}}return e.ngInjectableDef=p.Zb({factory:function(){return new e(p.ac(i.a),p.ac(o.a),p.ac(a.a),p.ac(m.b),p.ac(f.a))},token:e,providedIn:"root"}),e})()},mUkt:function(e,t,n){"use strict";n.r(t),n.d(t,"GESTURE_CONTROLLER",(function(){return o}
2)),n.d(t,"createGesture",(function(){return c}));class r{constructor(e,t,n,r,i){this.id=t,this.name=n,this.disableScroll=i,this.priority=1e6*r+t,this.ctrl=e}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const e=this.ctrl.capture(this.name,this.id,this.priority);return e&&this.disableScroll&&this.ctrl.disableScroll(this.id),e}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class i{constructor(e,t,n,r){this.id=t,this.disable=n,this.disableScroll=r,this.ctrl=e}block(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.disableGesture(e,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const e of this.disable)this.ctrl.enableGesture(e,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const o=new class{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(e){return new r(this,this.newID(),e.name,e.priority||0,!!e.disableScroll)}createBlocker(e={}){return new i(this,this.newID(),e.disable,!!e.disableScroll)}start(e,t,n){return this.canStart(e)?(this.requestedStart.set(t,n),!0):(this.requestedStart.delete(t),!1)}capture(e,t,n){if(!this.start(e,t,n))return!1;const r=this.requestedStart;let i=-1e4;if(r.forEach(e=>{i=Math.max(i,e)}),i===n){this.capturedId=t,r.clear();const n=new CustomEvent("ionGestureCaptured",{detail:{gestureName:e}});return document.dispatchEvent(n),!0}return r.delete(t),!1}release(e){this.requestedStart.delete(e),this.capturedId===e&&(this.capturedId=void 0)}disableGesture(e,t){let n=this.disabledGestures.get(e);void 0===n&&(n=new Set,this.disabledGestures.set(e,n)),n.add(t)}enableGesture(e,t){const n=this.disabledGestures.get(e);void 0!==n&&n.delete(t)}disableScroll(e){this.disabledScroll.add(e),1===this.disabledScroll.size&&document.body.classList.add("backdrop-no-scroll")}enableScroll(e){this.disabledScroll.delete(e),0===this.disabledScroll.size&&document.body.classList.remove("backdrop-no-scroll")}canStart(e){return void 0===this.capturedId&&!this.isDisabled(e)}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(e){const t=this.disabledGestures.get(e);return!!(t&&t.size>0)}newID(){return this.gestureId++,this.gestureId}},a=(e,t,n,r)=>{const i=s(e)?{capture:!!r.capture,passive:!!r.passive}:!!r.capture;let o,a;return e.__zone_symbol__addEventListener?(o="__zone_symbol__addEventListener",a="__zone_symbol__removeEventListener"):(o="addEventListener",a="removeEventListener"),e[o](t,n,i),()=>{e[a](t,n,i)}},s=e=>{if(void 0===l)try{const t=Object.defineProperty({},"passive",{get:()=>{l=!0}});e.addEventListener("optsTest",()=>{},t)}catch(t){l=!1}return!!l};let l;const u=e=>e instanceof Document?e:e.ownerDocument,c=e=>{let t=!1,n=!1,r=!0,i=!1;const s=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},e),l=s.canStart,c=s.onWillStart,p=s.onStart,m=s.onEnd,g=s.notCaptured,_=s.onMove,y=s.threshold,v={type:"pan",startX:0,startY:0,startTimeStamp:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,timeStamp:0,event:void 0,data:void 0},b=((e,t,n)=>{const r=n*(Math.PI/180),i="x"===e,o=Math.cos(r),a=t*t;let s=0,l=0,u=!1,c=0;return{start(e,t){s=e,l=t,c=0,u=!0},detect(e,t){if(!u)return!1;const n=e-s,r=t-l,d=n*n+r*r;if(d<a)return!1;const h=Math.sqrt(d),f=(i?n:r)/h;return c=f>o?1:f<-o?-1:0,u=!1,!0},isGesture:()=>0!==c,getDirection:()=>c}})(s.direction,s.threshold,s.maxAngle),w=o.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll}),k=()=>{t&&(i=!1,_&&_(v))},M=()=>!(w&&!w.capture()||(t=!0,r=!1,v.startX=v.currentX,v.startY=v.currentY,v.startTimeStamp=v.timeStamp,c?c(v).then(S):S(),0)),S=()=>{p&&p(v),r=!0},T=()=>{t=!1,n=!1,i=!1,r=!0,w.release()},x=e=>{const n=t,i=r;T(),i&&(d(v,e),n?m&&m(v):g&&g(v))},L=((e,t,n,r,i)=>{let o,s,l,c,d,h,f,p=0;const m=r=>{p=Date.now()+2e3,t(r)&&(!s&&n&&(s=a(e,"touchmove",n,i)),l||(l=a(e,"touchend",_,i)),c||(c=a(e,"touchcancel",_,i)))},g=r=>{p>Date.now()||t(r)&&(!h&&n&&(h=a(u(e),"mousemove",n,i)),f||(f=a(u(e),"mouseup",y,i)))},_=e=>{v(),r&&r(e)},y=e=>{b(),r&&r(e)},v=()=>{s&&s(),l&&l(),c&&c(),s=l=c=void 0},b=()=>{h&&h(),f&&f(),h=f=void 0},w=()=>{v(),b()},k=t=>{t?(o&&o(),d&&d(),o=d=void 0,w()):(o||(o=a(e,"touchstart",m,i)),d||(d=a(e,"mousedown",g,i)))};return{setDisabled:k,stop:w,destroy:()=>{k(!0),r=n=t=void 0}}})(s.el,e=>{const t=f(e);return!(n||!r)&&(h(e,v),v.startX=v.currentX,v.startY=v.currentY,v.startTimeStamp=v.timeStamp=t,v.velocityX=v.velocityY=v.deltaX=v.deltaY=0,v.event=e,(!l||!1!==l(v))&&(w.release(),!!w.start()&&(n=!0,0===y?M():(b.start(v.startX,v.startY),!0))))},e=>{t?!i&&r&&(i=!0,d(v,e),requestAnimationFrame(k)):(d(v,e),b.detect(v.currentX,v.currentY)&&(b.isGesture()&&M()||D()))},x,{capture:!1}),D=()=>{T(),L.stop(),g&&g(v)};return{setDisabled(e){e&&t&&x(void 0),L.setDisabled(e)},destroy(){w.destroy(),L.destroy()}}},d=(e,t)=>{if(!t)return;const n=e.currentX,r=e.currentY,i=e.timeStamp;h(t,e);const o=e.currentX,a=e.currentY,s=(e.timeStamp=f(t))-i;if(s>0&&s<100){const t=(a-r)/s;e.velocityX=(o-n)/s*.7+.3*e.velocityX,e.velocityY=.7*t+.3*e.velocityY}e.deltaX=o-e.startX,e.deltaY=a-e.startY,e.event=t},h=(e,t)=>{let n=0,r=0;if(e){const t=e.changedTouches;if(t&&t.length>0){const e=t[0];n=e.clientX,r=e.clientY}else void 0!==e.pageX&&(n=e.pageX,r=e.pageY)}t.currentX=n,t.currentY=r},f=e=>e.timeStamp||Date.now()},mrSG:function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return i})),n.d(t,"__assign",(function(){return o}
vendor: 6,030 bytes, line 2
2)),n.d(t,"__rest",(function(){return a})),n.d(t,"__decorate",(function(){return s})),n.d(t,"__param",(function(){return l})),n.d(t,"__metadata",(function(){return u})),n.d(t,"__awaiter",(function(){return c})),n.d(t,"__generator",(function(){return d})),n.d(t,"__createBinding",(function(){return h})),n.d(t,"__exportStar",(function(){return f})),n.d(t,"__values",(function(){return p})),n.d(t,"__read",(function(){return m})),n.d(t,"__spread",(function(){return g})),n.d(t,"__spreadArrays",(function(){return _})),n.d(t,"__await",(function(){return y})),n.d(t,"__asyncGenerator",(function(){return v})),n.d(t,"__asyncDelegator",(function(){return b})),n.d(t,"__asyncValues",(function(){return w})),n.d(t,"__makeTemplateObject",(function(){return k})),n.d(t,"__importStar",(function(){return M})),n.d(t,"__importDefault",(function(){return S})),n.d(t,"__classPrivateFieldGet",(function(){return T})),n.d(t,"__classPrivateFieldSet",(function(){return x}));var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function d(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function h(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}function f(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function p(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}function _(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function v(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof y?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(r){c(o[0][3],r)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function b(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:y(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=p(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,i,(t=e[n](t)).done,t.value)}))}}}function k(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}
vendor: 6,917 bytes, line 2
2function M(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function S(e){return e&&e.__esModule?e:{default:e}}function T(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function x(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},myLu:function(e,t,n){(function(e){var n="[object Arguments]",r="[object Map]",i="[object Object]",o="[object Set]",a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,l=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,c=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,f={};f["[object Float32Array]"]=f["[object Float64Array]"]=f["[object Int8Array]"]=f["[object Int16Array]"]=f["[object Int32Array]"]=f["[object Uint8Array]"]=f["[object Uint8ClampedArray]"]=f["[object Uint16Array]"]=f["[object Uint32Array]"]=!0,f[n]=f["[object Array]"]=f["[object ArrayBuffer]"]=f["[object Boolean]"]=f["[object DataView]"]=f["[object Date]"]=f["[object Error]"]=f["[object Function]"]=f[r]=f["[object Number]"]=f[i]=f["[object RegExp]"]=f[o]=f["[object String]"]=f["[object WeakMap]"]=!1;var p="object"==typeof global&&global&&global.Object===Object&&global,m="object"==typeof self&&self&&self.Object===Object&&self,g=p||m||Function("return this")(),_=t&&!t.nodeType&&t,y=_&&"object"==typeof e&&e&&!e.nodeType&&e,v=y&&y.exports===_&&p.process,b=function(){try{return v&&v.binding("util")}catch(e){}}(),w=b&&b.isTypedArray;function k(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function M(e,t){for(var n=-1,r=e?e.length:0,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function S(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function T(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function x(e){return function(t){return e(t)}}function L(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function D(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function C(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var O,E,j,A=Array.prototype,P=Function.prototype,I=Object.prototype,Y=g["__core-js_shared__"],R=(O=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+O:"",N=P.toString,F=I.hasOwnProperty,H=I.toString,$=RegExp("^"+N.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),z=g.Symbol,W=g.Uint8Array,U=I.propertyIsEnumerable,B=A.splice,V=z?z.isConcatSpreadable:void 0,q=(E=Object.keys,j=Object,function(e){return E(j(e))}),G=Math.max,K=xe(g,"DataView"),J=xe(g,"Map"),Q=xe(g,"Promise"),X=xe(g,"Set"),Z=xe(g,"WeakMap"),ee=xe(Object,"create"),te=Ye(K),ne=Ye(J),re=Ye(Q),ie=Ye(X),oe=Ye(Z),ae=z?z.prototype:void 0,se=ae?ae.valueOf:void 0,le=ae?ae.toString:void 0;function ue(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ce(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function de(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function he(e){var t=-1,n=e?e.length:0;for(this.__data__=new de;++t<n;)this.add(e[t])}function fe(e){this.__data__=new ce(e)}function pe(e,t){for(var n=e.length;n--;)if(Fe(e[n][0],t))return n;return-1}ue.prototype.clear=function(){this.__data__=ee?ee(null):{}},ue.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ue.prototype.get=function(e){var t=this.__data__;if(ee){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return F.call(t,e)?t[e]:void 0},ue.prototype.has=function(e){var t=this.__data__;return ee?void 0!==t[e]:F.call(t,e)},ue.prototype.set=function(e,t){return this.__data__[e]=ee&&void 0===t?"__lodash_hash_undefined__":t,this},ce.prototype.clear=function(){this.__data__=[]},ce.prototype.delete=function(e){var t=this.__data__,n=pe(t,e);return!(n<0||(n==t.length-1?t.pop():B.call(t,n,1),0))},ce.prototype.get=function(e){var t=this.__data__,n=pe(t,e);return n<0?void 0:t[n][1]},ce.prototype.has=function(e){return pe(this.__data__,e)>-1},ce.prototype.set=function(e,t){var n=this.__data__,r=pe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},de.prototype.clear=function(){this.__data__={hash:new ue,map:new(J||ce),string:new ue}},de.prototype.delete=function(e){return Te(this,e).delete(e)},de.prototype.get=function(e){return Te(this,e).get(e)},de.prototype.has=function(e){return Te(this,e).has(e)},de.prototype.set=function(e,t){return Te(this,e).set(e,t),this},he.prototype.add=he.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},he.prototype.has=function(e){return this.__data__.has(e)},fe.prototype.clear=function(){this.__data__=new ce},fe.prototype.delete=function(e){return this.__data__.delete(e)},fe.prototype.get=function(e){return this.__data__.get(e)},fe.prototype.has=function(e){return this.__data__.has(e)},fe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ce){var r=n.__data__;if(!J||r.length<199)return r.push([e,t]),this;n=this.__data__=new de(r)}return n.set(e,t),this};var me,ge=(me=function(e,t){return e&&_e(e,t,Ke)},function(e,t){if(null==e)return e;if(!ze(e))return me(e,t);for(var n=e.length,r=-1,i=Object(e);++r<n&&!1!==t(i[r],r,i););return e}),_e=function(e,t,n){for(var r=-1,i=Object(e),o=n(e),a=o.length;a--;){var s=o[++r];if(!1===t(i[s],s,i))break}return e};function ye(e,t){for(var n=0,r=(t=Ee(t,e)?[t]:ke(t)).length;null!=e&&n<r;)e=e[Ie(t[n++])];return n&&n==r?e:void 0}function ve(e,t){return null!=e&&t in Object(e)}function be(e,t,a,s,l){return e===t||(null==e||null==t||!Be(e)&&!Ve(t)?e!=e&&t!=t:function(e,t,a,s,l,u){var c=$e(e),d=$e(t),h="[object Array]",f="[object Array]";c||(h=(h=Le(e))==n?i:h),d||(f=(f=Le(t))==n?i:f);var p=h==i&&!L(e),m=f==i&&!L(t),g=h==f;if(g&&!p)return u||(u=new fe),c||Ge(e)?Se(e,t,a,s,l,u):function(e,t,n,i,a,s,l){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new W(e),new W(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Fe(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case r:var u=D;case o:if(u||(u=C),e.size!=t.size&&!(2&s))return!1;var c=l.get(e);if(c)return c==t;s|=1,l.set(e,t);var d=Se(u(e),u(t),i,a,s,l);return l.delete(e),d;case"[object Symbol]":if(se)return se.call(e)==se.call(t)}return!1}(e,t,h,a,s,l,u);if(!(2&l)){var _=p&&F.call(e,"__wrapped__"),y=m&&F.call(t,"__wrapped__");
2if(_||y){var v=_?e.value():e,b=y?t.value():t;return u||(u=new fe),a(v,b,s,l,u)}}return!!g&&(u||(u=new fe),function(e,t,n,r,i,o){var a=2&i,s=Ke(e),l=s.length;if(l!=Ke(t).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in t:F.call(t,c)))return!1}var d=o.get(e);if(d&&o.get(t))return d==t;var h=!0;o.set(e,t),o.set(t,e);for(var f=a;++u<l;){var p=e[c=s[u]],m=t[c];if(r)var g=a?r(m,p,c,t,e,o):r(p,m,c,e,t,o);if(!(void 0===g?p===m||n(p,m,r,i,o):g)){h=!1;break}f||(f="constructor"==c)}if(h&&!f){var _=e.constructor,y=t.constructor;_==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof y&&y instanceof y||(h=!1)}return o.delete(e),o.delete(t),h}(e,t,a,s,l,u))}(e,t,be,a,s,l))}function we(e){return"function"==typeof e?e:null==e?Je:"object"==typeof e?$e(e)?function(e,t){return Ee(e)&&je(t)?Ae(Ie(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:ye(e,t);return void 0===r?void 0:r}(n,e);return void 0===r&&r===t?function(e,t){return null!=e&&function(e,t,n){for(var r,i=-1,o=(t=Ee(t,e)?[t]:ke(t)).length;++i<o;){var a=Ie(t[i]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}return r||!!(o=e?e.length:0)&&Ue(o)&&Ce(a,o)&&($e(e)||He(e))}(e,t,ve)}(n,e):be(t,r,void 0,3)}}(e[0],e[1]):1==(n=function(e){for(var t=Ke(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,je(i)]}return t}(t=e)).length&&n[0][2]?Ae(n[0][0],n[0][1]):function(e){return e===t||function(e,t,n,r){var i=n.length,o=i;if(null==e)return!o;for(e=Object(e);i--;){var a=n[i];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){var s=(a=n[i])[0],l=e[s];if(a[2]){if(void 0===l&&!(s in e))return!1}else if(!be(a[1],l,void 0,3,new fe))return!1}return!0}(e,0,n)}:Ee(r=e)?(i=Ie(r),function(e){return null==e?void 0:e[i]}):function(e){return function(t){return ye(t,e)}}(r);var t,n,r,i}function ke(e){return $e(e)?e:Pe(e)}function Me(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=qe(e),a=void 0!==t,s=null===t,l=t==t,u=qe(t);if(!s&&!u&&!o&&e>t||o&&a&&l&&!s&&!u||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!u&&e<t||u&&n&&i&&!r&&!o||s&&n&&i||!a&&i||!l)return-1}return 0}function Se(e,t,n,r,i,o){var a=2&i,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var c=-1,d=!0,h=1&i?new he:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var f=e[c],p=t[c];if(r)var m=a?r(p,f,c,t,e,o):r(f,p,c,e,t,o);if(void 0!==m){if(m)continue;d=!1;break}if(h){if(!T(t,(function(e,t){if(!h.has(t)&&(f===e||n(f,e,r,i,o)))return h.add(t)}))){d=!1;break}}else if(f!==p&&!n(f,p,r,i,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function Te(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function xe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!Be(e)||function(e){return!!R&&R in e}(e))&&(We(e)||L(e)?$:d).test(Ye(e))}(n)?n:void 0}var Le=function(e){return H.call(e)};function De(e){return $e(e)||He(e)||!!(V&&e&&e[V])}function Ce(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||h.test(e))&&e>-1&&e%1==0&&e<t}function Oe(e,t,n){if(!Be(n))return!1;var r=typeof t;return!!("number"==r?ze(n)&&Ce(t,n.length):"string"==r&&t in n)&&Fe(n[t],e)}function Ee(e,t){if($e(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!qe(e))||s.test(e)||!a.test(e)||null!=t&&e in Object(t)}function je(e){return e==e&&!Be(e)}function Ae(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(K&&"[object DataView]"!=Le(new K(new ArrayBuffer(1)))||J&&Le(new J)!=r||Q&&"[object Promise]"!=Le(Q.resolve())||X&&Le(new X)!=o||Z&&"[object WeakMap]"!=Le(new Z))&&(Le=function(e){var t=H.call(e),n=t==i?e.constructor:void 0,a=n?Ye(n):void 0;if(a)switch(a){case te:return"[object DataView]";case ne:return r;case re:return"[object Promise]";case ie:return o;case oe:return"[object WeakMap]"}return t});var Pe=Ne((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(qe(e))return le?le.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return l.test(e)&&n.push(""),e.replace(u,(function(e,t,r,i){n.push(r?i.replace(c,"$1"):t||e)})),n}));function Ie(e){if("string"==typeof e||qe(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ye(e){if(null!=e){try{return N.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Re=function(e,t){return t=G(void 0===t?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=G(n.length-t,0),o=Array(i);++r<i;)o[r]=n[t+r];r=-1;for(var a=Array(t+1);++r<t;)a[r]=n[r];return a[t]=o,k(e,this,a)}}((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Oe(e,t[0],t[1])?t=[]:n>2&&Oe(t[0],t[1],t[2])&&(t=[t[0]]),function(e,t,n){var r=-1;return t=M(t.length?t:[Je],x(we)),function(e,t){var r=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;++r<a;){var l=Me(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));r--;)e[r]=e[r].value;return e}(function(e,t){var n=-1,r=ze(e)?Array(e.length):[];return ge(e,(function(e,i,o){r[++n]=t(e)}
2)),r}(e,(function(e,n,i){return{criteria:M(t,(function(t){return t(e)})),index:++r,value:e}})))}(e,function e(t,n,r,i,o){var a=-1,s=t.length;for(r||(r=De),o||(o=[]);++a<s;){var l=t[a];n>0&&r(l)?n>1?e(l,n-1,r,i,o):S(o,l):i||(o[o.length]=l)}return o}(t,1),[])}));function Ne(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(Ne.Cache||de),n}function Fe(e,t){return e===t||e!=e&&t!=t}function He(e){return function(e){return Ve(e)&&ze(e)}(e)&&F.call(e,"callee")&&(!U.call(e,"callee")||H.call(e)==n)}Ne.Cache=de;var $e=Array.isArray;function ze(e){return null!=e&&Ue(e.length)&&!We(e)}function We(e){var t=Be(e)?H.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function Ue(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Be(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ve(e){return!!e&&"object"==typeof e}function qe(e){return"symbol"==typeof e||Ve(e)&&"[object Symbol]"==H.call(e)}var Ge=w?x(w):function(e){return Ve(e)&&Ue(e.length)&&!!f[H.call(e)]};function Ke(e){return ze(e)?function(e,t){var n=$e(e)||He(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!F.call(e,o)||i&&("length"==o||Ce(o,r))||n.push(o);return n}(e):function(e){if((t=e)!==("function"==typeof(n=t&&t.constructor)&&n.prototype||I))return q(e);var t,n,r=[];for(var i in Object(e))F.call(e,i)&&"constructor"!=i&&r.push(i);return r}(e)}function Je(e){return e}e.exports=Re}).call(this,n("YuTi")(e))},n6bG:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",(function(){return r}))},nbvr:function(e,t,n){!function(e){"use strict";function t(e){return Array.prototype.slice.call(e)}function n(e){return new Promise((function(t,n){e.onsuccess=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function r(e,t,r){var i,o=new Promise((function(o,a){n(i=e[t].apply(e,r)).then(o,a)}));return o.request=i,o}function i(e,t,n){var i=r(e,t,n);return i.then((function(e){if(e)return new c(e,i.request)}))}function o(e,t,n){n.forEach((function(n){Object.defineProperty(e.prototype,n,{get:function(){return this[t][n]},set:function(e){this[t][n]=e}})}))}function a(e,t,n,i){i.forEach((function(i){i in n.prototype&&(e.prototype[i]=function(){return r(this[t],i,arguments)})}))}function s(e,t,n,r){r.forEach((function(r){r in n.prototype&&(e.prototype[r]=function(){return this[t][r].apply(this[t],arguments)})}))}function l(e,t,n,r){r.forEach((function(r){r in n.prototype&&(e.prototype[r]=function(){return i(this[t],r,arguments)})}))}function u(e){this._index=e}function c(e,t){this._cursor=e,this._request=t}function d(e){this._store=e}function h(e){this._tx=e,this.complete=new Promise((function(t,n){e.oncomplete=function(){t()},e.onerror=function(){n(e.error)},e.onabort=function(){n(e.error)}}))}function f(e,t,n){this._db=e,this.oldVersion=t,this.transaction=new h(n)}function p(e){this._db=e}o(u,"_index",["name","keyPath","multiEntry","unique"]),a(u,"_index",IDBIndex,["get","getKey","getAll","getAllKeys","count"]),l(u,"_index",IDBIndex,["openCursor","o
2penKeyCursor"]),o(c,"_cursor",["direction","key","primaryKey","value"]),a(c,"_cursor",IDBCursor,["update","delete"]),["advance","continue","continuePrimaryKey"].forEach((function(e){e in IDBCursor.prototype&&(c.prototype[e]=function(){var t=this,r=arguments;return Promise.resolve().then((function(){return t._cursor[e].apply(t._cursor,r),n(t._request).then((function(e){if(e)return new c(e,t._request)}))}))})})),d.prototype.createIndex=function(){return new u(this._store.createIndex.apply(this._store,arguments))},d.prototype.index=function(){return new u(this._store.index.apply(this._store,arguments))},o(d,"_store",["name","keyPath","indexNames","autoIncrement"]),a(d,"_store",IDBObjectStore,["put","add","delete","clear","get","getAll","getKey","getAllKeys","count"]),l(d,"_store",IDBObjectStore,["openCursor","openKeyCursor"]),s(d,"_store",IDBObjectStore,["deleteIndex"]),h.prototype.objectStore=function(){return new d(this._tx.objectStore.apply(this._tx,arguments))},o(h,"_tx",["objectStoreNames","mode"]),s(h,"_tx",IDBTransaction,["abort"]),f.prototype.createObjectStore=function(){return new d(this._db.createObjectStore.apply(this._db,arguments))},o(f,"_db",["name","version","objectStoreNames"]),s(f,"_db",IDBDatabase,["deleteObjectStore","close"]),p.prototype.transaction=function(){return new h(this._db.transaction.apply(this._db,arguments))},o(p,"_db",["name","version","objectStoreNames"]),s(p,"_db",IDBDatabase,["close"]),["openCursor","o
2penKeyCursor"].forEach((function(e){[d,u].forEach((function(n){e in n.prototype&&(n.prototype[e.replace("open","iterate")]=function(){var n=t(arguments),r=n[n.length-1],i=this._store||this._index,o=i[e].apply(i,n.slice(0,-1));o.onsuccess=function(){r(o.result)}})}))})),[u,d].forEach((function(e){e.prototype.getAll||(e.prototype.getAll=function(e,t){var n=this,r=[];return new Promise((function(i){n.iterateCursor(e,(function(e){e?(r.push(e.value),void 0===t||r.length!=t?e.continue():i(r)):i(r)}))}))})})),e.openDb=function(e,t,n){var i=r(indexedDB,"open",[e,t]),o=i.request;return o&&(o.onupgradeneeded=function(e){n&&n(new f(o.result,e.oldVersion,o.transaction))}),i.then((function(e){return new p(e)}))},e.deleteDb=function(e){return r(indexedDB,"deleteDatabase",[e])},Object.defineProperty(e,"__esModule",{value:!0})}(t)},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}},nyYc:function(e,t,n){!function(e){"use strict";var t=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,n=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]}
vendor: 21,050 bytes, line 2
2,r=function(e){return function(r,i,o,a){var s=t(r),l=n[e][t(r)];return 2===s&&(l=l[i?0:1]),l.replace(/%d/i,r)}},i=["\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:i,monthsShort:i,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n("wd/R"))},oAJy:function(e,t,n){e.exports=function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[a]={exports:{}};t[a][0].call(u.exports,(function(e){return i(t[a][1][e]||e)}),u,u.exports,e,t,n,r)}return n[a].exports}for(var o=!1,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){(function(e){"use strict";var n,r,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var o=0,a=new i(c),s=e.document.createTextNode("");a.observe(s,{characterData:!0}),n=function(){s.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){c(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(c,0)};else{var l=new e.MessageChannel;l.port1.onmessage=c,n=function(){l.port2.postMessage(0)}}var u=[];function c(){var e,t;r=!0;for(var n=u.length;n;){for(t=u,u=[],e=-1;++e<n;)t[e]();n=u.length}r=!1}t.exports=function(e){1!==u.push(e)||r||n()}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";var r=e(1);function i(){}var o={},a=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function u(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==i&&f(this,e)}function c(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r((function(){var r;try{r=t(n)}catch(i){return o.reject(e,i)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)}))}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function f(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function i(t){n||(n=!0,o.resolve(e,t))}var a=p((function(){t(i,r)}));"error"===a.status&&r(a.value)}function p(e,t){var n={};try{n.value=e(t),n.status="success"}catch(r){n.status="error",n.value=r}return n}t.exports=u,u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===a)return this;var n=new this.constructor(i);return this.state!==l?d(n,this.state===s?e:t,this.outcome):this.queue.push(new c(n,e,t)),n},c.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},c.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},c.prototype.callRejected=function(e){o.reject(this.promise,e)},c.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=p(h,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)f(e,r);else{e.state=s,e.outcome=t;for(var i=-1,a=e.queue.length;++i<a;)e.queue[i].callFulfilled(t)}return e},o.reject=function(e,t){e.state=a,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},u.resolve=function(e){return e instanceof this?e:o.resolve(new this(i),e)},u.reject=function(e){var t=new this(i);return o.reject(t,e)},u.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var a=new Array(n),s=0,l=-1,u=new this(i);++l<n;)c(e[l],l);return u;function c(e,i){t.resolve(e).then((function(e){a[i]=e,++s!==n||r||(r=!0,o.resolve(u,a))}),(function(e){r||(r=!0,o.reject(u,e))}))}},u.race=function(e){if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var t=e.length,n=!1;if(!t)return this.resolve([]);for(var r=-1,a=new this(i);++r<t;)this.resolve(e[r]).then((function(e){n||(n=!0,o.resolve(a,e))}),(function(e){n||(n=!0,o.reject(a,e))}));return a}},{1:1}],3:[function(e,t,n){(function(t){"use strict";"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(e){return}}();function o(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(i){if("TypeError"!==i.name)throw i;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<e.length;r+=1)n.append(e[r]);return n.getBlob(t.type)}}"undefined"==typeof Promise&&e(3);var a=Promise;function s(e,t){t&&e.then((function(e){t(null,e)}),(function(e){t(e)}))}function l(e,t,n){"function"==typeof t&&e.then(t),"function"==typeof n&&e.catch(n)}function u(e){return"string"!=typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function c(){if(arguments.length&&"function"==typeof arguments[arguments.length-1])return arguments[arguments.length-1]}var d=void 0,h={},f=Object.prototype.toString;function p(e){var t=h[e.name],n={};n.promise=new a((function(e,t){n.resolve=e,n.reject=t})),t.deferredOperations.push(n),t.dbReady=t.dbReady?t.dbReady.then((function(){return n.promise})):n.promise}function m(e){var t=h[e.name].deferredOperations.pop();if(t)return t.resolve(),t.promise}function g(e,t){var n=h[e.name].deferredOperations.pop();if(n)return n.reject(t),n.promise}function _(e,t){return new a((function(n,r){if(h[e.name]=h[e.name]||{forages:[],db:null,dbReady:null,deferredOperations:[]},e.db){if(!t)return n(e.db);p(e),e.db.close()}var o=[e.name];t&&o.push(e.version);var a=i.open.apply(i,o);t&&(a.onupgradeneeded=function(t){var n=a.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore("local-forage-detect-blob-support")}catch(r){if("ConstraintError"!==r.name)throw r;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),a.onerror=function(e){e.preventDefault(),r(a.error)},a.onsuccess=function(){n(a.result),m(e)}}))}function y(e){return _(e,!1)}function v(e){return _(e,!0)}function b(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.version>e.db.version;if(e.version<e.db.version&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),r||n){if(n){var i=e.db.version+1;i>e.version&&(e.version=i)}return!0}return!1}function w(e){return o([function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),i=0;i<t;i++)r[i]=e.charCodeAt(i);return n}(atob(e.data))],{type:e.type})}function k(e){return e&&e.__local_forage_encoded_blob}function M(e){var t=this,n=t._initReady().then((function(){var e=h[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady}));return l(n,e,e),n}function S(e,t,n,r){void 0===r&&(r=1);try{var i=e.db.transaction(e.storeName,t);n(null,i)}catch(o){if(r>0&&(!e.db||"InvalidStateError"===o.name||"NotFoundError"===o.name))return a.resolve().then((function(){if(!e.db||"NotFoundError"===o.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),v(e)})).then((function(){return function(e){p(e);for(var t=h[e.name],n=t.forages,r=0;r<n.length;r++){var i=n[r];i._dbInfo.db&&(i._dbInfo.db.close(),i._dbInfo.db=null)}return e.db=null,y(e).then((function(t){return e.db=t,b(e)?v(e):t})).then((function(r){e.db=t.db=r;for(var i=0;i<n.length;i++)n[i]._dbInfo.db=r})).catch((function(t){throw g(e,t),t}))}(e).then((function(){S(e,t,n,r-1)}))})).catch(n);n(o)}}var T={_driver:"asyncStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]=e[r];var i=h[n.name];i||(h[n.name]=i={forages:[],db:null,dbReady:null,deferredOperations:[]}),i.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=M);var o=[];function s(){return a.resolve()}for(var l=0;l<i.forages.length;l++){var u=i.forages[l];u!==t&&o.push(u._initReady().catch(s))}var c=i.forages.slice(0);return a.all(o).then((function(){return n.db=i.db,y(n)})).then((function(e){return n.db=e,b(n,t._defaultConfig.version)?v(n):e})).then((function(e){n.db=i.db=e,t._dbInfo=n;for(var r=0;r<c.length;r++){var o=c[r];o!==t&&(o._dbInfo.db=n.db,o._dbInfo.version=n.version)}}))},_support:function(){try{if(!i)return!1;var e="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"==typeof fetch&&-1!==fetch.toString().indexOf("[native code");return(!e||t)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(n){return!1}}(),iterate:function(e,t){var n=this,r=new a((function(t,r){n.ready().then((function(){S(n._dbInfo,"readonly",(function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName).openCursor(),s=1;a.onsuccess=function(){var n=a.result;if(n){var r=n.value;k(r)&&(r=w(r));var i=e(r,n.key,s++);void 0!==i?t(i):n.continue()}else t()},a.onerror=function(){r(a.error)}}catch(l){r(l)}}))})).catch(r)}));return s(r,t),r},getItem:function(e,t){var n=this;e=u(e);var r=new a((function(t,r){n.ready().then((function(){S(n._dbInfo,"readonly",(function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName).get(e);a.onsuccess=function(){var e=a.result;void 0===e&&(e=null),k(e)&&(e=w(e)),t(e)},a.onerror=function(){r(a.error)}}catch(s){r(s)}}))})).catch(r)}));return s(r,t),r},setItem:function(e,t,n){var r=this;e=u(e);var i=new a((function(n,i){var s;r.ready().then((function(){return s=r._dbInfo,"[object Blob]"===f.call(t)?function(e){return"boolean"==typeof d?a.resolve(d):function(e){return new a((function(t){var n=e.transaction("local-forage-detect-blob-support","readwrite"),r=o([""]);n.objectStore("local-forage-detect-blob-support").put(r,"key"),n.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},n.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);t(n||!e||parseInt(e[1],10)>=43)}})).catch((function(){return!1}))}(e).then((function(e){return d=e}))}(s.db).then((function(e){return e?t:(n=t,new a((function(e,t){var r=new FileReader;r.onerror=t,r.onloadend=function(t){var r=btoa(t.target.result||"");e({__local_forage_encoded_blob:!0,data:r,type:n.type})},r.readAsBinaryString(n)})));var n})):t})).then((function(t){S(r._dbInfo,"readwrite",(function(o,a){if(o)return i(o);try{var s=a.objectStore(r._dbInfo.storeName);null===t&&(t=void 0);var l=s.put(t,e);a.oncomplete=function(){void 0===t&&(t=null),n(t)},a.onabort=a.onerror=function(){i(l.error?l.error:l.transaction.error)}}catch(u){i(u)}}))})).catch(i)}));return s(i,n),i},removeItem:function(e,t){var n=this;e=u(e);var r=new a((function(t,r){n.ready().then((function(){S(n._dbInfo,"readwrite",(function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName).delete(e);o.oncomplete=function(){t()},o.onerror=function(){r(a.error)},o.onabort=function(){r(a.error?a.error:a.transaction.error)}}catch(s){r(s)}}))})).catch(r)}));return s(r,t),r},clear:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){S(t._dbInfo,"readwrite",(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).clear();i.oncomplete=function(){e()},i.onabort=i.onerror=function(){n(o.error?o.error:o.transaction.error)}}catch(a){n(a)}}))})).catch(n)}));return s(n,e),n},length:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){S(t._dbInfo,"readonly",(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).count();o.onsuccess=function(){e(o.result)},o.onerror=function(){n(o.error)}}catch(a){n(a)}}))})).catch(n)}));return s(n,e),n},key:function(e,t){var n=this,r=new a((function(t,r){e<0?t(null):n.ready().then((function(){S(n._dbInfo,"readonly",(function(i,o){if(i)return r(i);try{var a=o.objectStore(n._dbInfo.storeName),s=!1,l=a.openCursor();l.onsuccess=function(){var n=l.result;n?0===e||s?t(n.key):(s=!0,n.advance(e)):t(null)},l.onerror=function(){r(l.error)}}catch(u){r(u)}}))})).catch(r)}));return s(r,t),r},keys:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){S(t._dbInfo,"readonly",(function(r,i){if(r)return n(r);try{var o=i.objectStore(t._dbInfo.storeName).openCursor(),a=[];o.onsuccess=function(){var t=o.result;t?(a.push(t.key),t.continue()):e(a)},o.onerror=function(){n(o.error)}}catch(s){n(s)}}))})).catch(n)}));return s(n,e),n},dropInstance:function(e,t){t=c.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,o=this;if(e.name){var l=e.name===n.name&&o._dbInfo.db,u=l?a.resolve(o._dbInfo.db):y(e).then((function(t){var n=h[e.name],r=n.forages;n.db=t;for(var i=0;i<r.length;i++)r[i]._dbInfo.db=t;return t}));r=u.then(e.storeName?function(t){if(t.objectStoreNames.contains(e.storeName)){var n=t.version+1;p(e);var r=h[e.name],o=r.forages;t.close();for(var s=0;s<o.length;s++){var l=o[s];l._dbInfo.db=null,l._dbInfo.version=n}return new a((function(t,r){var o=i.open(e.name,n);o.onerror=function(e){o.result.close(),r(e)},o.onupgradeneeded=function(){o.result.deleteObjectStore(e.storeName)},o.onsuccess=function(){var e=o.result;e.close(),t(e)}})).then((function(e){r.db=e;for(var t=0;t<o.length;t++){var n=o[t];n._dbInfo.db=e,m(n._dbInfo)}})).catch((function(t){throw(g(e,t)||a.resolve()).catch((function(){})),t}))}}:function(t){p(e);var n=h[e.name],r=n.forages;t.close();for(var o=0;o<r.length;o++)r[o]._dbInfo.db=null;return new a((function(t,n){var r=i.deleteDatabase(e.name);r.onerror=r.onblocked=function(e){var t=r.result;t&&t.close(),n(e)},r.onsuccess=function(){var e=r.result;e&&e.close(),t(e)}})).then((function(e){n.db=e;for(var t=0;t<r.length;t++)m(r[t]._dbInfo)})).catch((function(t){throw(g(e,t)||a.resolve()).catch((function(){})),t}))})}else r=a.reject("Invalid arguments");return s(r,t),r}},x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",L=/^~~local_forage_type~([^~]+)~/,D="__lfsc__:".length,C=D+"arbf".length,O=Object.prototype.toString;function E(e){var t,n,r,i,o,a=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var u=new ArrayBuffer(a),c=new Uint8Array(u);for(t=0;t<s;t+=4)n=x.indexOf(e[t]),r=x.indexOf(e[t+1]),i=x.indexOf(e[t+2]),o=x.indexOf(e[t+3]),c[l++]=n<<2|r>>4,c[l++]=(15&r)<<4|i>>2,c[l++]=(3&i)<<6|63&o;return u}function j(e){var t,n=new Uint8Array(e),r="";for(t=0;t<n.length;t+=3)r+=x[n[t]>>2],r+=x[(3&n[t])<<4|n[t+1]>>4],r+=x[(15&n[t+1])<<2|n[t+2]>>6],r+=x[63&n[t+2]];return n.length%3==2?r=r.substring(0,r.length-1)+"=":n.length%3==1&&(r=r.substring(0,r.length-2)+"=="),r}var A={serialize:function(e,t){var n="";if(e&&(n=O.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===O.call(e.buffer))){var r,i="__lfsc__:";e instanceof ArrayBuffer?(r=e,i+="arbf"):(r=e.buffer,"[object Int8Array]"===n?i+="si08":"[object Uint8Array]"===n?i+="ui08":"[object Uint8ClampedArray]"===n?i+="uic8":"[object Int16Array]"===n?i+="si16":"[object Uint16Array]"===n?i+="ur16":"[object Int32Array]"===n?i+="si32":"[object Uint32Array]"===n?i+="ui32":"[object Float32Array]"===n?i+="fl32":"[object Float64Array]"===n?i+="fl64":t(new Error("Failed to get type for BinaryArray"))),t(i+j(r))}else if("[object Blob]"===n){var o=new FileReader;o.onload=function(){var n="~~local_forage_type~"+e.type+"~"+j(this.result);t("__lfsc__:blob"+n)},o.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(a){console.error("Couldn't convert value into a JSON string: ",e),t(null,a)}},deserialize:function(e){if("__lfsc__:"!==e.substring(0,D))return JSON.parse(e);var t,n=e.substring(C),r=e.substring(D,C);if("blob"===r&&L.test(n)){var i=n.match(L);t=i[1],n=n.substring(i[0].length)}var a=E(n);switch(r){case"arbf":return a;case"blob":return o([a],{type:t});case"si08":return new Int8Array(a);case"ui08":return new Uint8Array(a);case"uic8":return new Uint8ClampedArray(a);case"si16":return new Int16Array(a);case"ur16":return new Uint16Array(a);case"si32":return new Int32Array(a);case"ui32":return new Uint32Array(a);case"fl32":return new Float32Array(a);case"fl64":return new Float64Array(a);default:throw new Error("Unkown type: "+r)}},stringToBuffer:E,bufferToString:j};function P(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function I(e,t,n,r,i,o){e.executeSql(n,r,i,(function(e,a){a.code===a.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[name],(function(e,s){s.rows.length?o(e,a):P(e,t,(function(){e.executeSql(n,r,i,o)}),o)}),o):o(e,a)}),o)}function Y(e,t,n,r){var i=this;e=u(e);var o=new a((function(o,a){i.ready().then((function(){void 0===t&&(t=null);var s=t,l=i._dbInfo;l.serializer.serialize(t,(function(t,u){u?a(u):l.db.transaction((function(n){I(n,l,"INSERT OR REPLACE INTO "+l.storeName+" (key, value) VALUES (?, ?)",[e,t],(function(){o(s)}),(function(e,t){a(t)}))}),(function(t){if(t.code===t.QUOTA_ERR){if(r>0)return void o(Y.apply(i,[e,s,n,r-1]));a(t)}}))}))})).catch(a)}));return s(o,n),o}function R(e){return new a((function(t,n){e.transaction((function(r){r.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],(function(n,r){for(var i=[],o=0;o<r.rows.length;o++)i.push(r.rows.item(o).name);t({db:e,storeNames:i})}),(function(e,t){n(t)}))}),(function(e){n(e)}))}))}var N={_driver:"webSQLStorage",_initStorage:function(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!=typeof e[r]?e[r].toString():e[r];var i=new a((function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(i){return r(i)}n.db.transaction((function(i){P(i,n,(function(){t._dbInfo=n,e()}),(function(e,t){r(t)}))}),r)}));return n.serializer=A,i},_support:"function"==typeof openDatabase,iterate:function(e,t){var n=this,r=new a((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){I(n,i,"SELECT * FROM "+i.storeName,[],(function(n,r){for(var o=r.rows,a=o.length,s=0;s<a;s++){var l=o.item(s),u=l.value;
vendor: 1,640 bytes, line 2
2if(u&&(u=i.serializer.deserialize(u)),void 0!==(u=e(u,l.key,s+1)))return void t(u)}t()}),(function(e,t){r(t)}))}))})).catch(r)}));return s(r,t),r},getItem:function(e,t){var n=this;e=u(e);var r=new a((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){I(n,i,"SELECT * FROM "+i.storeName+" WHERE key = ? LIMIT 1",[e],(function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=i.serializer.deserialize(r)),t(r)}),(function(e,t){r(t)}))}))})).catch(r)}));return s(r,t),r},setItem:function(e,t,n){return Y.apply(this,[e,t,n,1])},removeItem:function(e,t){var n=this;e=u(e);var r=new a((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){I(n,i,"DELETE FROM "+i.storeName+" WHERE key = ?",[e],(function(){t()}),(function(e,t){r(t)}))}))})).catch(r)}));return s(r,t),r},clear:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){I(t,r,"DELETE FROM "+r.storeName,[],(function(){e()}),(function(e,t){n(t)}))}))})).catch(n)}));return s(n,e),n},length:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){I(t,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],(function(t,n){var r=n.rows.item(0).c;e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return s(n,e),n},key:function(e,t){var n=this,r=new a((function(t,r){n.ready().then((function(){var i=n._dbInfo;i.db.transaction((function(n){I(n,i,"SELECT key FROM "+i.storeName+" WHERE id = ? LIMIT 1",[e+1],(function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)}),(function(e,t){r(t)}))}
vendor: 6,702 bytes, line 2
2))})).catch(r)}));return s(r,t),r},keys:function(e){var t=this,n=new a((function(e,n){t.ready().then((function(){var r=t._dbInfo;r.db.transaction((function(t){I(t,r,"SELECT key FROM "+r.storeName,[],(function(t,n){for(var r=[],i=0;i<n.rows.length;i++)r.push(n.rows.item(i).key);e(r)}),(function(e,t){n(t)}))}))})).catch(n)}));return s(n,e),n},dropInstance:function(e,t){t=c.apply(this,arguments);var n=this.config();(e="function"!=typeof e&&e||{}).name||(e.name=e.name||n.name,e.storeName=e.storeName||n.storeName);var r,i=this;return s(r=e.name?new a((function(t){var r;r=e.name===n.name?i._dbInfo.db:openDatabase(e.name,"","",0),t(e.storeName?{db:r,storeNames:[e.storeName]}:R(r))})).then((function(e){return new a((function(t,n){e.db.transaction((function(r){function i(e){return new a((function(t,n){r.executeSql("DROP TABLE IF EXISTS "+e,[],(function(){t()}),(function(e,t){n(t)}))}))}for(var o=[],s=0,l=e.storeNames.length;s<l;s++)o.push(i(e.storeNames[s]));a.all(o).then((function(){t()})).catch((function(e){n(e)}))}),(function(e){n(e)}))}))})):a.reject("Invalid arguments"),t),r}};function F(e,t){var n=e.name+"/";return e.storeName!==t.storeName&&(n+=e.storeName+"/"),n}var H={_driver:"localStorageWrapper",_initStorage:function(e){var t={};if(e)for(var n in e)t[n]=e[n];return t.keyPrefix=F(e,this._defaultConfig),!function(){try{return localStorage.setItem("_localforage_support_test",!0),localStorage.removeItem("_localforage_support_test"),!1}catch(e){return!0}}()||localStorage.length>0?(this._dbInfo=t,t.serializer=A,a.resolve()):a.reject()},_support:function(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&!!localStorage.setItem}catch(e){return!1}}(),iterate:function(e,t){var n=this,r=n.ready().then((function(){for(var t=n._dbInfo,r=t.keyPrefix,i=r.length,o=localStorage.length,a=1,s=0;s<o;s++){var l=localStorage.key(s);if(0===l.indexOf(r)){var u=localStorage.getItem(l);if(u&&(u=t.serializer.deserialize(u)),void 0!==(u=e(u,l.substring(i),a++)))return u}}}));return s(r,t),r},getItem:function(e,t){var n=this;e=u(e);var r=n.ready().then((function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r}));return s(r,t),r},setItem:function(e,t,n){var r=this;e=u(e);var i=r.ready().then((function(){void 0===t&&(t=null);var n=t;return new a((function(i,o){var a=r._dbInfo;a.serializer.serialize(t,(function(t,r){if(r)o(r);else try{localStorage.setItem(a.keyPrefix+e,t),i(n)}catch(s){"QuotaExceededError"!==s.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==s.name||o(s),o(s)}}))}))}));return s(i,n),i},removeItem:function(e,t){var n=this;e=u(e);var r=n.ready().then((function(){localStorage.removeItem(n._dbInfo.keyPrefix+e)}));return s(r,t),r},clear:function(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}}));return s(n,e),n},length:function(e){var t=this.keys().then((function(e){return e.length}));return s(t,e),t},key:function(e,t){var n=this,r=n.ready().then((function(){var t,r=n._dbInfo;try{t=localStorage.key(e)}catch(i){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t}));return s(r,t),r},keys:function(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo,n=localStorage.length,r=[],i=0;i<n;i++){var o=localStorage.key(i);0===o.indexOf(e.keyPrefix)&&r.push(o.substring(e.keyPrefix.length))}return r}));return s(n,e),n},dropInstance:function(e,t){if(t=c.apply(this,arguments),!(e="function"!=typeof e&&e||{}).name){var n=this.config();e.name=e.name||n.name,e.storeName=e.storeName||n.storeName}var r,i=this;return s(r=e.name?new a((function(t){t(e.storeName?F(e,i._defaultConfig):e.name+"/")})).then((function(e){for(var t=localStorage.length-1;t>=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}})):a.reject("Invalid arguments"),t),r}},$=function(e,t){for(var n,r,i=e.length,o=0;o<i;){if((n=e[o])===(r=t)||"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))return!0;o++}return!1},z=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},W={},U={},B={INDEXEDDB:T,WEBSQL:N,LOCALSTORAGE:H},V=[B.INDEXEDDB._driver,B.WEBSQL._driver,B.LOCALSTORAGE._driver],q=["dropInstance"],G=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(q),K={description:"",driver:V.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function J(e,t){e[t]=function(){var n=arguments;return e.ready().then((function(){return e[t].apply(e,n)}))}}function Q(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var n in t)t.hasOwnProperty(n)&&(arguments[0][n]=z(t[n])?t[n].slice():t[n])}return arguments[0]}var X=new(function(){function e(t){for(var n in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),B)if(B.hasOwnProperty(n)){var r=B[n],i=r._driver;this[n]=i,W[i]||this.defineDriver(r)}this._defaultConfig=Q({},K),this._config=Q({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch((function(){}))}return e.prototype.config=function(e){if("object"===(void 0===e?"undefined":r(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!=typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e)||!e.driver||this.setDriver(this._config.driver)}return"string"==typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,n){var r=new a((function(t,n){try{var r=e._driver,i=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void n(i);for(var o=G.concat("_initStorage"),l=0,u=o.length;l<u;l++){var c=o[l];if((!$(q,c)||e[c])&&"function"!=typeof e[c])return void n(i)}!function(){for(var t=function(e){return function(){var t=new Error("Method "+e+" is not implemented by the current driver"),n=a.reject(t);return s(n,arguments[arguments.length-1]),n}},n=0,r=q.length;n<r;n++){var i=q[n];e[i]||(e[i]=t(i))}}();var d=function(n){W[r]&&console.info("Redefining LocalForage driver: "+r),W[r]=e,U[r]=n,t()};"_support"in e?e._support&&"function"==typeof e._support?e._support().then(d,n):d(!!e._support):d(!0)}catch(h){n(h)}}));return l(r,t,n),r},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,n){var r=W[e]?a.resolve(W[e]):a.reject(new Error("Driver not found."));return l(r,t,n),r}
2,e.prototype.getSerializer=function(e){var t=a.resolve(A);return l(t,e),t},e.prototype.ready=function(e){var t=this,n=t._driverSet.then((function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready}));return l(n,e,e),n},e.prototype.setDriver=function(e,t,n){var r=this;z(e)||(e=[e]);var i=this._getSupportedDrivers(e);function o(){r._config.driver=r.driver()}function s(e){return r._extend(e),o(),r._ready=r._initStorage(r._config),r._ready}var u=null!==this._driverSet?this._driverSet.catch((function(){return a.resolve()})):a.resolve();return this._driverSet=u.then((function(){var e=i[0];return r._dbInfo=null,r._ready=null,r.getDriver(e).then((function(e){r._driver=e._driver,o(),r._wrapLibraryMethodsWithReady(),r._initDriver=function(e){return function(){var t=0;return function n(){for(;t<e.length;){var i=e[t];return t++,r._dbInfo=null,r._ready=null,r.getDriver(i).then(s).catch(n)}o();var l=new Error("No available storage method found.");return r._driverSet=a.reject(l),r._driverSet}()}}(i)}))})).catch((function(){o();var e=new Error("No available storage method found.");return r._driverSet=a.reject(e),r._driverSet})),l(this._driverSet,t,n),this._driverSet},e.prototype.supports=function(e){return!!U[e]},e.prototype._extend=function(e){Q(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n];this.supports(i)&&t.push(i)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=G.length;e<t;e++)J(this,G[e])},e.prototype.createInstance=function(t){return new e(t)},e}());t.exports=X},{3:3}]},{},[4])(4)},oBZk:function(e,t,n){"use strict";n.d(t,"S",(function(){return s})),n.d(t,"Rb",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"Z",(function(){return c})),n.d(t,"b",(function(){return d})),n.d(t,"ab",(function(){return h})),n.d(t,"c",(function(){return f})),n.d(t,"bb",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"cb",(function(){return g})),n.d(t,"e",(function(){return _})),n.d(t,"db",(function(){return y})),n.d(t,"f",(function(){return v})),n.d(t,"ib",(function(){return b})),n.d(t,"g",(function(){return w})),n.d(t,"eb",(function(){return k})),n.d(t,"h",(function(){return M})),n.d(t,"fb",(function(){return S})),n.d(t,"i",(function(){return T})),n.d(t,"gb",(function(){return x})),n.d(t,"j",(function(){return L})),n.d(t,"hb",(function(){return D})),n.d(t,"k",(function(){return C})),n.d(t,"jb",(function(){return O})),n.d(t,"l",(function(){return E})),n.d(t,"kb",(function(){return j})),n.d(t,"m",(function(){return A})),n.d(t,"lb",(function(){return P})),n.d(t,"n",(function(){return I})),n.d(t,"mb",(function(){return Y})),n.d(t,"o",(function(){return R})),n.d(t,"nb",(function(){return N})),n.d(t,"p",(function(){return F})),n.d(t,"ob",(function(){return H})),n.d(t,"q",(function(){return $})),n.d(t,"pb",(function(){return z})),n.d(t,"r",(function(){return W})),n.d(t,"qb",(function(){return U})),n.d(t,"s",(function(){return B})),n.d(t,"rb",(function(){return V})),n.d(t,"t",(function(){return q})),n.d(t,"xb",(function(){return G})),n.d(t,"u",(function(){return K})),n.d(t,"sb",(function(){return J})),n.d(t,"v",(function(){return Q})),n.d(t,"tb",(function(){return X})),n.d(t,"w",(function(){return Z})),n.d(t,"ub",(function(){return ee})),n.d(t,"x",(function(){return te})),n.d(t,"vb",(function(){return ne})),n.d(t,"y",(function(){return re})),n.d(t,"wb",(function(){return ie})),n.d(t,"z",(function(){return oe})),n.d(t,"yb",(function(){return ae})),n.d(t,"A",(function(){return se})),n.d(t,"Ab",(function(){return le})),n.d(t,"B",(function(){return ue})),n.d(t,"zb",(function(){return ce})),n.d(t,"C",(function(){return de})),n.d(t,"Bb",(function(){return he})),n.d(t,"D",(function(){return fe})),n.d(t,"Db",(function(){return pe})),n.d(t,"E",(function(){return me})),n.d(t,"Cb",(function(){return ge})),n.d(t,"F",(function(){return _e})),n.d(t,"Fb",(function(){return ye})),n.d(t,"G",(function(){return ve})),n.d(t,"Eb",(function(){return be})),n.d(t,"H",(function(){return we})),n.d(t,"Gb",(function(){return ke})),n.d(t,"I",(function(){return Me})),n.d(t,"Hb",(function(){return Se})),n.d(t,"J",(function(){return Te})),n.d(t,"Jb",(function(){return xe})),n.d(t,"K",(function(){return Le})),n.d(t,"Ib",(function(){return De})),n.d(t,"L",(function(){return Ce})),n.d(t,"Lb",(function(){return Oe})),n.d(t,"M",(function(){return Ee})),n.d(t,"Kb",(function(){return je})),n.d(t,"N",(function(){return Ae})),n.d(t,"Mb",(function(){return Pe})),n.d(t,"O",(function(){return Ie})),n.d(t,"Nb",(function(){return Ye})),n.d(t,"P",(function(){return Re})),n.d(t,"Ob",(function(){return Ne})),n.d(t,"Q",(function(){return Fe})),n.d(t,"Pb",(function(){return He})),n.d(t,"R",(function(){return $e})),n.d(t,"Qb",(function(){return ze})),n.d(t,"T",(function(){return We})),n.d(t,"Sb",(function(){return Ue})),n.d(t,"U",(function(){return Be})),n.d(t,"Tb",(function(){return Ve})),n.d(t,"V",(function(){return qe})),n.d(t,"Ub",(function(){return Ge})),n.d(t,"W",(function(){return Ke})),n.d(t,"Vb",(function(){return Je})),n.d(t,"X",(function(){return Qe})),n.d(t,"Wb",(function(){return Xe})),n.d(t,"Y",(function(){return Ze})),n.d(t,"Xb",(function(){return et}));var r=n("8Y7J"),i=n("ZZ/e"),o=n("SVse"),a=n("iInd"),s=r.Ab({encapsulation:0,styles:["[_nghost-%COMP%] {\n      display: flex;\n      position: absolute;\n      top: 0;\n      left: 0;\n      right: 0;\n      bottom: 0;\n\n      flex-direction: column;\n\n      width: 100%;\n      height: 100%;\n\n      contain: layout size style;\n      z-index: $z-index-page-container;\n    }\n    .tabs-inner[_ngcontent-%COMP%] {\n      position: relative;\n\n      flex: 1;\n\n      contain: layout size style;\n    }"],data:{}});function l(e){return r.Wb(0,[r.Sb(402653184,1,{outlet:0}
2),r.Nb(null,0),(e()(),r.Cb(2,0,null,null,2,"div",[["class","tabs-inner"]],null,null,null,null,null)),(e()(),r.Cb(3,16777216,[["outlet",1]],null,1,"ion-router-outlet",[["tabs","true"]],null,[[null,"stackEvents"]],(function(e,t,n){var r=!0;return"stackEvents"===t&&(r=!1!==e.component.onPageSelected(n)&&r),r}),null,null)),r.Bb(4,212992,[[1,4]],0,i.lb,[a.b,r.X,r.m,[8,null],[8,"true"],i.e,i.Lb,o.h,r.p,a.m,r.F,a.a,[3,i.lb]],null,{stackEvents:"stackEvents"}),r.Nb(null,1)],(function(e,t){e(t,4,0)}),null)}var u=r.Ab({encapsulation:2,styles:[],data:{}});function c(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var d=r.Ab({encapsulation:2,styles:[],data:{}});function h(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var f=r.Ab({encapsulation:2,styles:[],data:{}});function p(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var m=r.Ab({encapsulation:2,styles:[],data:{}});function g(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var _=r.Ab({encapsulation:2,styles:[],data:{}});function y(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var v=r.Ab({encapsulation:2,styles:[],data:{}});function b(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var w=r.Ab({encapsulation:2,styles:[],data:{}});function k(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var M=r.Ab({encapsulation:2,styles:[],data:{}});function S(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var T=r.Ab({encapsulation:2,styles:[],data:{}});function x(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var L=r.Ab({encapsulation:2,styles:[],data:{}});function D(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var C=r.Ab({encapsulation:2,styles:[],data:{}});function O(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var E=r.Ab({encapsulation:2,styles:[],data:{}});function j(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var A=r.Ab({encapsulation:2,styles:[],data:{}});function P(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var I=r.Ab({encapsulation:2,styles:[],data:{}});function Y(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var R=r.Ab({encapsulation:2,styles:[],data:{}});function N(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var F=r.Ab({encapsulation:2,styles:[],data:{}});function H(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var $=r.Ab({encapsulation:2,styles:[],data:{}});function z(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var W=r.Ab({encapsulation:2,styles:[],data:{}});function U(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var B=r.Ab({encapsulation:2,styles:[],data:{}});function V(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var q=r.Ab({encapsulation:2,styles:[],data:{}});function G(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var K=r.Ab({encapsulation:2,styles:[],data:{}});function J(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Q=r.Ab({encapsulation:2,styles:[],data:{}});function X(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Z=r.Ab({encapsulation:2,styles:[],data:{}});function ee(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var te=r.Ab({encapsulation:2,styles:[],data:{}});function ne(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var re=r.Ab({encapsulation:2,styles:[],data:{}});function ie(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var oe=r.Ab({encapsulation:2,styles:[],data:{}});function ae(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var se=r.Ab({encapsulation:2,styles:[],data:{}});function le(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var ue=r.Ab({encapsulation:2,styles:[],data:{}});function ce(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var de=r.Ab({encapsulation:2,styles:[],data:{}});function he(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var fe=r.Ab({encapsulation:2,styles:[],data:{}});function pe(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var me=r.Ab({encapsulation:2,styles:[],data:{}});function ge(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var _e=r.Ab({encapsulation:2,styles:[],data:{}});function ye(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var ve=r.Ab({encapsulation:2,styles:[],data:{}});function be(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var we=r.Ab({encapsulation:2,styles:[],data:{}});function ke(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Me=r.Ab({encapsulation:2,styles:[],data:{}});function Se(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Te=r.Ab({encapsulation:2,styles:[],data:{}});function xe(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Le=r.Ab({encapsulation:2,styles:[],data:{}});function De(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Ce=r.Ab({encapsulation:2,styles:[],data:{}});function Oe(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Ee=r.Ab({encapsulation:2,styles:[],data:{}});function je(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Ae=r.Ab({encapsulation:2,styles:[],data:{}});function Pe(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Ie=r.Ab({encapsulation:2,styles:[],data:{}});function Ye(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Re=r.Ab({encapsulation:2,styles:[],data:{}});function Ne(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Fe=r.Ab({encapsulation:2,styles:[],data:{}});function He(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var $e=r.Ab({encapsulation:2,styles:[],data:{}});function ze(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var We=r.Ab({encapsulation:2,styles:[],data:{}});function Ue(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Be=r.Ab({encapsulation:2,styles:[],data:{}});function Ve(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var qe=r.Ab({encapsulation:2,styles:[],data:{}});function Ge(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Ke=r.Ab({encapsulation:2,styles:[],data:{}});function Je(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Qe=r.Ab({encapsulation:2,styles:[],data:{}});function Xe(e){return r.Wb(2,[r.Nb(null,0)],null,null)}var Ze=r.Ab({encapsulation:2,styles:[],data:{}});function et(e){return r.Wb(2,[r.Nb(null,0)],null,null)}},"p/rL":function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},p74H:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
2));var r=n("mrSG"),i=n("a3Cf"),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.overlaysWebView=function(e){return Object(i.cordova)(this,"overlaysWebView",{sync:!0},arguments)},t.prototype.styleDefault=function(){return Object(i.cordova)(this,"styleDefault",{sync:!0},arguments)},t.prototype.styleLightContent=function(){return Object(i.cordova)(this,"styleLightContent",{sync:!0},arguments)},t.prototype.styleBlackTranslucent=function(){return Object(i.cordova)(this,"styleBlackTranslucent",{sync:!0},arguments)},t.prototype.styleBlackOpaque=function(){return Object(i.cordova)(this,"styleBlackOpaque",{sync:!0},arguments)},t.prototype.backgroundColorByName=function(e){return Object(i.cordova)(this,"backgroundColorByName",{sync:!0},arguments)},t.prototype.backgroundColorByHexString=function(e){return Object(i.cordova)(this,"backgroundColorByHexString",{sync:!0},arguments)},t.prototype.hide=function(){return Object(i.cordova)(this,"hide",{sync:!0},arguments)},t.prototype.show=function(){return Object(i.cordova)(this,"show",{sync:!0},arguments)},Object.defineProperty(t.prototype,"isVisible",{get:function(){return Object(i.cordovaPropertyGet)(this,"isVisible")},set:function(e){Object(i.cordovaPropertySet)(this,"isVisible",e)},enumerable:!0,configurable:!0}),t.pluginName="StatusBar",t.plugin="cordova-plugin-statusbar",t.pluginRef="StatusBar",t.repo="https://github.com/apache/cordova-plugin-statusbar",t.platforms=["Android","iOS","Windows"],t}(i.IonicNativePlugin)},pLZG:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e,t){return function(n){return n.lift(new o(e,t))}}class o{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new a(e,this.predicate,this.thisArg))}}class a extends r.a{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}},pMnS:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("8Y7J"),i=n("iInd"),o=r.Ab({encapsulation:2,styles:[],data:{}});function a(e){return r.Wb(0,[(e()(),r.Cb(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),r.Bb(1,212992,null,0,i.p,[i.b,r.X,r.m,[8,null],r.j],null,null)],(function(e,t){e(t,1,0)}),null)}function s(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"ng-component",[],null,
2null,null,a,o)),r.Bb(1,49152,null,0,i.D,[],null,null)],null,null)}var l=r.yb("ng-component",i.D,s,{},{},[])},pQEw:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n("mrSG"),i=n("ZZ/e"),o=n("8piP"),a=n("I9vy"),s=n("3tmi"),l=n("qNh5"),u=n("pRuv"),c=n("A8o4"),d=n("z53W"),h=n("K813"),f=n("tfKx"),p=n("8Y7J");let m=(()=>{class e{constructor(e,t,n,r,i,o,a,s){this.alertCtrl=e,this.actionCtrl=t,this.modalCtrl=n,this.toast=r,this.settings=i,this.auth=o,this.watchdog=a,this.errors=s,i.theme$.subscribe(e=>this.theme=e)}input(e){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise(t=>r.__awaiter(this,void 0,void 0,(function*(){const n=[{text:e.leftButton?e.leftButton:"Cancel"},{text:e.rightButton?e.rightButton:"Save",handler:e=>{t(e)}}],r=[];for(let t=0;t<=e.len-1;t++)r.push({name:e.fields[t],value:e.values[t],placeholder:e.placeholders[t],type:e.types[t]});const i=yield this.alertCtrl.create({cssClass:this.theme+"-alert",header:e.title,subHeader:e.subtitle?e.subtitle:null,inputs:r,buttons:n});yield i.present()})))}))}inputReturnArray(e){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise(t=>r.__awaiter(this,void 0,void 0,(function*(){const n=[{text:e.leftButton?e.leftButton:"Cancel"},{text:e.rightButton?e.rightButton:"Save",handler:n=>{t(e.resolveAsArray?Object.values(n):n)}}],r=[],i=new Array(e.len);for(let t=0;t<=e.len-1;t++)r.push({name:e.fields?e.fields[t]:i[t],value:e.values[t]?e.values[t]:"",placeholder:e.placeholders?e.placeholders[t]:null,type:e.type});const o=yield this.alertCtrl.create({cssClass:this.theme+"-alert",header:e.title,subHeader:e.subtitle?e.subtitle:null,inputs:r,buttons:n});yield o.present()})))}))}requiredUniqueField(e,t,n,i,s,l){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise((u,c)=>r.__awaiter(this,void 0,void 0,(function*(){let r;const d=yield this.alertCtrl.create({header:e,inputs:[{name:t,value:n,placeholder:i,type:s}],buttons:[{text:"Cancel",handler:()=>{r=!1}},{text:"Save",handler:()=>{r=!0}}]});try{yield d.present();const{data:e}=yield d.onWillDismiss(),n=!(!e||!e.values)&&e.values;e&&n&&""!==e.values[t]&&a(o(l,[e.values[t]]))&&!0===r?u(e.values[t]):e&&n&&""===e.values[t]&&!0===r?c("empty"):n&&!a(o(l,[e.values[t]]))&&!0===r?c("notUnique"):u(!1)}catch(h){c(h)}})))}))}requiredUniqueFieldWildcards(e,t,n,i,s,l){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise((u,c)=>r.__awaiter(this,void 0,void 0,(function*(){let r,d;const h=yield this.alertCtrl.create({header:e,inputs:[{name:t,value:n,placeholder:i,type:s}],buttons:[{text:"Cancel",handler:()=>{d=!1}},{text:"Save",handler:()=>{d=!0}}]});try{yield h.present();const{data:e}=yield h.onWillDismiss(),n=!(!e||!e.values)&&e.values;r=n?e.values[t]:"",n&&""!==e.values[t]&&a(o(l,[e.values[t]]))&&!0===d&&a(o(l,r.split(" ")))?u(e.values[t]):n&&""===e.values[t]&&!0===d?c("empty"):n&&!a(o(l,[e.values[t]]))&&!0===d?c("notUnique"):n&&!a(o(l,r.split(" ")))?c("hasWildCard"):u(!1)}catch(f){c(f)}})))}))}yesNo(e){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise(t=>r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.alertCtrl.create({header:e.title,message:e.body,buttons:[{text:"Yes",handler:()=>{t(!0)}},{text:"No",role:"cancel",handler:()=>{t(!1)}}]});yield n.present()})))}))}confirmCancel(e){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise(t=>r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.alertCtrl.create({header:e.title,message:e.body,buttons:[{text:"Cancel",handler:()=>{t(!1)}},{text:"CONFIRM",handler:()=>{t(!0)}}]});yield n.present()})))}))}simpleAlert(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.alertCtrl.create({header:e.title,message:e.body,buttons:[{text:e.but,handler:()=>!0}]});return yield t.present(),yield t.onDidDismiss()}))}optionsAlert(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.alertCtrl.create({header:e,message:t,buttons:n});yield r.present()}))}emailUpdate(e){return r.__awaiter(this,void 0,void 0,(function*(){let t;const n=yield this.alertCtrl.create({header:"Change Email Address",message:"Current Email: "+e.curEm,inputs:[{name:"newEm",placeholder:"Enter a New Email Address",type:"email"},{name:"pw",placeholder:"Enter Your Password",type:"password"}],buttons:[{text:"Cancel",role:"cancel",handler:()=>{t=!1}},{text:"Submit",handler:()=>{t=!0}}]});yield n.present();const{data:r}=yield n.onWillDismiss();return this.validEmail(r.values.newEm)&&r.values.newEm!==e.curEm&&!0===t?r.values:this.validEmail(r.values.newEm)&&r.values.newEm===e.curEm&&!0===t?"same":!0===t&&"invalid"}))}emailField(e){return r.__awaiter(this,void 0,void 0,(function*(){let t;const n=yield this.alertCtrl.create({header:e.hdr?e.hdr:"Change Email Address",message:e.msg?e.msg:"Valid Email Address Required",inputs:[{name:"newEm",placeholder:"Enter a New Email Address",value:e.curEm,type:"email"}],buttons:[{text:"Cancel",role:"cancel",handler:()=>{t=!1}},{text:"Submit",handler:()=>{t=!0}}]});yield n.present();const{data:r}=yield n.onWillDismiss();return this.validEmail(r.values.newEm)&&r.values.newEm!==e.curEm&&!0===t?r.values:this.validEmail(r.values.newEm)&&r.values.newEm===e.curEm&&!0===t?"same":!0===t&&"invalid"}))}passwordUpdate(){return r.__awaiter(this,void 0,void 0,(function*(){let e;const t=yield this.alertCtrl.create({cssClass:"custom-password-input",header:"Change Password",inputs:[{placeholder:"Current Password",name:"curPW",type:"password"},{placeholder:"Enter a New Password",name:"newPW1",type:"password"},{placeholder:"Enter Your New Password Again",name:"newPW2",type:"password"}],buttons:[{text:"Cancel",handler:()=>{e=!1}},{text:"Submit",handler:()=>{e=!0}}]});yield t.present();const{data:n}=yield t.onWillDismiss();return n.values.newPW1===n.values.newPW2&&n.values.newPW1.length<8&&!0===e?"smallPW":n.values.newPW1===n.values.newPW2&&""!==n.values.curPW&&n.values.newPW1.length>=8&&!0===e?n.values:n.values.newPW1!==n.values.newPW2&&!0===e?"noMatchPW":""===n.values.curPW&&!0===e&&"noCurPW"}))}validEmail(e){return!!/^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$/.test(e)||null}showAction(e,t,n,i){return r.__awaiter(this,void 0,void 0,(function*(){const r=[];for(const t of e)r.push(t);n||r.push({text:"Cancel",role:"cancel"});const o=yield this.actionCtrl.create({cssClass:"fz",header:t||"Options",subHeader:i||"",buttons:r||[]});yield o.present()}
2))}showHelpModal(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){return this.textModal("About "+e+(n?"":"s"),t)}))}editHelpModal(e,t,n,i,o){return r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.editTextModal("Edit "+e+(o?"":"s"),t);if(r&&r.data){const e={};return e[i+"common/help/"+n]=r.data,this.auth.updateDB(e).catch(e=>this.errors.showPopup(e))}}))}textModal(e,t,n,i,o,a){return r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.modalCtrl.create({component:d.a,componentProps:{title:e,text:t,placeholder:i,empty:o,max:a,editor:n},cssClass:this.theme+"-modal"});yield r.present();const{data:s}=yield r.onWillDismiss();return s&&!c(s)?s:null}))}editTextModal(e,t,n,i,o,a){return r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.modalCtrl.create({component:h.a,componentProps:{title:e,text:t,placeholder:i,empty:o,max:a,editor:n},cssClass:this.theme+"-modal"});yield r.present();const{data:s}=yield r.onWillDismiss();return s&&!c(s)?s:null}))}userLevelDialog(e){return r.__awaiter(this,void 0,void 0,(function*(){if(!this.watchdog.isSDO)return"insufficientAccess";let t;const n=yield this.alertCtrl.create({header:"User Access Level",inputs:[{type:"radio",label:"Admin",value:"Admin",checked:"Admin"===e,disabled:!this.watchdog.isAdmin},{type:"radio",label:"SDO",value:"SDO",checked:"SDO"===e},{type:"radio",label:"Writer",value:"Writer",checked:"Writer"===e},{type:"radio",label:"Assistant",value:"Assistant",checked:"Assistant"===e},{type:"radio",label:"Reader",value:"Reader",checked:"Reader"===e}],buttons:[{text:"Cancel",handler:()=>{t=!0}},{text:"Confirm",handler:()=>{t=!1}}]});yield n.present();const{data:r}=yield n.onWillDismiss();return t?null:r.values}))}groupsDialog(e,t){return r.__awaiter(this,void 0,void 0,(function*(){if(!this.watchdog.isWriter)return"insufficientAccess";let n=[];for(let i of t)n.push({type:"checkbox",label:i.name,value:i.$key,checked:!(!e||a(o(e,[i.$key])))});n.push({text:"Cancel"}),n.push({text:"Confirm",handler:e=>e||"canceled"});const r=yield this.alertCtrl.create({header:"Group Assignments",buttons:n});yield r.present()}))}sitesDialog(e,t){return r.__awaiter(this,void 0,void 0,(function*(){if(!this.watchdog.isWriter)return"insufficientAccess";let n=[];for(let i of t)n.push({type:"checkbox",label:i.name,value:i.$key,checked:!(!e||a(o(e,[i.$key])))});n.push({text:"Cancel"}),n.push({text:"Confirm",handler:e=>e||"canceled"});const r=yield this.alertCtrl.create({header:"Site Assignments",buttons:n});yield r.present()}))}optionsDialog(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise(i=>r.__awaiter(this,void 0,void 0,(function*(){const r=yield this.alertCtrl.create({header:t||null,subHeader:n||null,inputs:e,cssClass:"fz",buttons:[{text:"Cancel",handler:()=>{i("cancel")}},{text:"Save",handler:e=>{i(e||"cancel")}}]});yield r.present()})))}))}radioPopup(e,t,n,i){return r.__awaiter(this,void 0,void 0,(function*(){let r=!1;const o=[];for(const n of e)o.push({type:"radio",label:n.label,value:n.value,checked:!(!t||t!==n.value)});const a=yield this.alertCtrl.create({header:n||null,message:i||null,inputs:o,cssClass:"fz",buttons:[{text:"Cancel",role:"cancel",handler:()=>{r=!1}},{text:"Save",handler:()=>{r=!0}}]});yield a.present();const{data:s}=yield a.onWillDismiss();if(r&&s)return s}))}checkboxPopup(e,t,n,i,o){return r.__awaiter(this,void 0,void 0,(function*(){let r=!1;const a=[];for(const n of e)a.push({type:"checkbox",label:n.label,value:n.value,checked:!!(o||t&&t===n.value)});const s=yield this.alertCtrl.create({header:n||null,message:i||null,inputs:a,buttons:[{text:"Cancel",role:"cancel",handler:()=>{r=!1}},{text:"Save",handler:()=>{r=!0}}]});yield s.present();const{data:l}=yield s.onWillDismiss();if(r&&l)return l}))}showToast(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.toast.create({message:e.message,duration:e.duration?e.duration:1500,position:"top",cssClass:"toastClass"});yield t.present()}))}showToastWithButtons(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.toast.create({message:e.message,duration:e.duration?e.duration:1500,position:"top",cssClass:"toastClass",buttons:e.btns});yield t.present()}
2))}picturePopup(e){return new Promise(e=>{})}textPopup(e){return r.__awaiter(this,void 0,void 0,(function*(){}))}}return e.ngInjectableDef=p.Zb({factory:function(){return new e(p.ac(i.b),p.ac(i.a),p.ac(i.Kb),p.ac(i.Sb),p.ac(s.a),p.ac(l.a),p.ac(u.a),p.ac(f.a))},token:e,providedIn:"root"}),e})()},pRuv:function(e,t,n){"use strict";n.d(t,"a",(function(){return _}));var r=n("qNh5"),i=n("vBWn"),o=n("yDJ3"),a=n("8piP"),s=n("I9vy"),l=n("lJxs"),u=n("1G5W"),c=n("8Y7J");const d=["Active","Hidden"],h=["Dev","Reader","Assistant","Writer","SDO","Admin"],f=["Dev","Assistant","Writer","SDO","Admin"],p=["Dev","Writer","SDO","Admin"],m=["Dev","SDO","Admin"],g=["Dev","Admin"];let _=(()=>{class e{constructor(e){this.auth=e,this.isActive$=this.auth.user$.pipe(Object(l.a)(e=>e&&this.matchingStatus(d,this.getStatusFromUser(e)))),this.isReader$=this.auth.user$.pipe(Object(l.a)(e=>e&&this.matchingRole(h,this.getRoleFromUser(e)))),this.isAssistant$=this.auth.user$.pipe(Object(l.a)(e=>e&&this.matchingRole(f,this.getRoleFromUser(e)))),this.isWriter$=this.auth.user$.pipe(Object(l.a)(e=>e&&this.matchingRole(p,this.getRoleFromUser(e)))),this.isSDO$=this.auth.user$.pipe(Object(l.a)(e=>e&&this.matchingRole(m,this.getRoleFromUser(e)))),this.isAdmin$=this.auth.user$.pipe(Object(l.a)(e=>e&&this.matchingRole(g,this.getRoleFromUser(e)))),this.logOff$=this.auth.logOff$,e.user$.pipe(Object(u.a)(this.logOff$)).subscribe(e=>{this.userStatus=this.getStatusFromUser(e),this.userGroups=i(o(e,"groups")),this.uid=o(e,"$key"),this.userSites=i(o(e,"sites")),this.userPages=i(o(e,"pages")),this.userBuls=i(o(e,"bulletins")),this.userPubs=i(o(e,"subbedpubs")),this.userForms=i(o(e,"forms")),this.userRole=this.getRoleFromUser(e),this.theUser=e})}get isDev(){return this.matchingRole(["Dev"],this.userRole)}get isAdmin(){return this.matchingRole(["Dev","Admin"],this.userRole)}get isSDO(){return this.matchingRole(["Dev","Admin","SDO"],this.userRole)}get isWriter(){return this.matchingRole(["Dev","Writer","Admin","SDO"],this.userRole)}get isAssistant(){return this.matchingRole(["Dev","Assistant","Writer","Admin","SDO"],this.userRole)}get isReader(){return this.matchingRole(h,this.userRole)}get isActive(){return this.matchingStatus(d,this.userStatus)}get isOnlySDO(){return this.matchingRole(["SDO"],this.userRole)}get isOnlyWriter(){return this.matchingRole(["Writer"],this.userRole)}get isOnlyAssistant(){return this.matchingRole(["Assistant","Writer"],this.userRole)}get isOnlyReader(){return this.matchingRole(["Reader"],this.userRole)}isOwner(e,t){const n=i(t);return this.matchingLists(n,[e])}isPageOwner(e){return this.matchingLists([e],[this.uid])}checkRequire(e){return!!this.theUser[e]}woof(e,t){return!(!e||!t)&&this.matchingStatus(Object.keys(e),[t])}woofWithType(e,t){switch(t){case"bulletins":return!(!e||!this.userBuls)&&this.matchingStatus([e],this.userBuls);case"pages":return!(!e||!this.userPages)&&this.matchingStatus([e],this.userPages);case"pubs":return!(!e||!this.userPubs)&&this.matchingStatus([e],this.userPubs);case"forms":return!(!e||!this.userForms)&&this.matchingStatus([e],this.userForms);default:return!1}}BarkyBark(e,t,n){return!!(this.checkGroups(n)&&this.checkRoles(e)&&this.checkSite(t))}BarkyBarkNoRole(e,t){return!(!this.checkGroups(t)||!this.checkSite(e))}BarkyBarkSingleRole(e,t,n){return!!(this.checkGroups(n)&&this.matchingRole([e],this.userRole)&&this.checkSite(t))}checkSite(e){return this.matchingSites(i(e))}checkSub(e){return this.matchingSites([e])}checkGroups(e){return this.matchingGroups(i(e))}checkGroup(e){return this.matchingGroups([e])}checkGS(e,t){return"group"===t?this.checkGroup(e):"site"===t?this.checkSub(e):void 0}checkRoles(e){return"Admin"===e?this.matchingRole(["Admin","Dev"],this.userRole):"Dev"===e?this.matchingRole(["Dev"],this.userRole):"SDO"===e?this.matchingRole(["Admin","SDO","Dev"],this.userRole):"Writer"===e?this.matchingRole(["Writer","Admin","SDO","Dev"],this.userRole):"Assistant"===e?this.matchingRole(["Assistant","Writer","Admin","SDO","Dev"],this.userRole):"Reader"===e&&this.matchingRole(["Reader","Assistant","Writer","SDO","Admin","Dev"],this.userRole)}
2checkUserGroup(e,t){return this.userMatchGroups(e,i(t))}userMatchGroups(e,t){return!s(a(e,t))}matchingRole(e,t){return!s(a(e,t))}matchingSites(e){return!s(a(e,this.userSites))}matchingGroups(e){return!s(a(e,this.userGroups))}matchingStatus(e,t){return!s(a(e,t))}matchingLists(e,t){return!s(a(e,t))}getStatusFromUser(e){return[o(e,"status")]}getRoleFromUser(e){return[o(e,"role")]}}return e.ngInjectableDef=c.Zb({factory:function(){return new e(c.ac(r.a))},token:e,providedIn:"root"}),e})()},pfut:function(e,t,n){"use strict";n.d(t,"a",(function(){return f}));var r=n("mrSG"),i=n("qNh5"),o=n("SZJ3"),a=n("pRuv"),s=n("cuys"),l=n("ZZ/e"),u=n("tfKx"),c=n("Wcq6"),d=n("8Y7J"),h=n("xgBC");let f=(()=>{class e{constructor(e,t,n,r,i,o,a){this.auth=e,this.engine=t,this.watchdog=n,this.fcm=r,this.platform=i,this.errorHandler=o,this.storage=a}getToken(){return r.__awaiter(this,void 0,void 0,(function*(){return this.platform.is("android")?(cordova.plugins.firebase.messaging.createChannel({id:"fz-main-channel",name:"FOURZERO",important:0}),this.getTokenStuff()):this.platform.is("ios")?this.getTokenIos():this.platform.is("cordova")?void 0:null}))}getTokenIos(){return r.__awaiter(this,void 0,void 0,(function*(){return this.fcm.requestPermission().then(()=>{try{this.storage.remove("pushDisabled")}catch(e){}return this.getTokenStuff()}).catch(e=>{this.storage.set("pushDisabled",!0)})}))}getTokenWeb(){return r.__awaiter(this,void 0,void 0,(function*(){console.log("in getTokenWeb")}))}getTokenStuff(){return r.__awaiter(this,void 0,void 0,(function*(){const e=yield c.app().installations().getId(),t=yield this.auth.getUserNode(),n=yield this.fcm.getToken();console.log("token: ",JSON.stringify(n)),console.log("uuid: ",JSON.stringify(e));const r={[t+"pushids/"+e]:n};return r[t+"pushids/"+e]=n,this.storeToken(r).catch(e=>this.errorHandler.showPopup(e))}))}onTokenRefresh(){return this.fcm.onTokenRefresh().subscribe(()=>this.getTokenStuff())}storeToken(e){return this.auth.updateDB(e)}backgroundNotificaitons(){return this.fcm.onBackgroundMessage()}foregroundNotifications(){return this.fcm.onMessage()}backgroundNotificaitonsWeb(){return null}foregroundNotificationsWeb(){return null}tokenRefresh(){return this.fcm.onTokenRefresh()}clearBadge(){return this.fcm.setBadge(0)}getToken1(){return this.fcm.getToken()}showWebBackground(){}}return e.ngInjectableDef=d.Zb({factory:function(){return new e(d.ac(i.a),d.ac(o.a),d.ac(a.a),d.ac(s.a),d.ac(l.Ob),d.ac(u.a),d.ac(h.b))},token:e,providedIn:"root"}),e})()},pori:function(e,t,n){"use strict";n.d(t,"a",(function(){return D})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return k})),n.d(t,"i",(function(){return p})),n.d(t,"j",(function(){return S})),n.d(t,"k",(function(){return g})),n.d(t,"l",(function(){return _})),n.d(t,"m",(function(){return l})),n.d(t,"n",(function(){return u})),n.d(t,"o",(function(){return c})),n.d(t,"p",(function(){return L})),n.d(t,"q",(function(){return h}));var r=n("AfW+");let i=0;const o=e=>({create:t=>p(e,t),dismiss:(t,n,r)=>g(document,t,n,e,r),getTop:async()=>_(document,e)}),a=o("ion-alert"),s=o("ion-action-sheet"),l=o("ion-loading"),u=o("ion-modal"),c=o("ion-picker"),d=o("ion-popover"),h=o("ion-toast"),f=e=>{const t=document;m(t);const n=i++;e.overlayIndex=n,e.hasAttribute("id")||(e.id="ion-overlay-"+n)},p=(e,t)=>customElements.whenDefined(e).then(()=>{const n=document,r=n.createElement(e);return r.classList.add("overlay-hidden"),Object.assign(r,t),b(n).appendChild(r),r.componentOnReady()}),m=e=>{0===i&&(i=1,e.addEventListener("focusin",t=>{const n=_(e);if(n&&n.backdropDismiss&&!T(n,t.target)){const e=n.querySelector("input,button");e&&e.focus()}}),e.addEventListener("ionBackButton",t=>{const n=_(e);n&&n.backdropDismiss&&t.detail.register(100,()=>n.dismiss(void 0,D))}),e.addEventListener("keyup",t=>{if("Escape"===t.key){const t=_(e);t&&t.backdropDismiss&&t.dismiss(void 0,D)}}))},g=(e,t,n,r,i)=>{const o=_(e,r,i);return o?o.dismiss(t,n):Promise.reject("overlay does not exist")}
2,_=(e,t,n)=>{const r=((e,t)=>(void 0===t&&(t="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(e.querySelectorAll(t)).filter(e=>e.overlayIndex>0)))(e,t);return void 0===n?r[r.length-1]:r.find(e=>e.id===n)},y=async(e,t,n,i,o)=>{if(e.presented)return;e.presented=!0,e.willPresent.emit();const a=e.enterAnimation?e.enterAnimation:r.b.get(t,"ios"===e.mode?n:i);await w(e,a,e.el,o)&&e.didPresent.emit()},v=async(e,t,n,i,o,a,s)=>{if(!e.presented)return!1;e.presented=!1;try{e.willDismiss.emit({data:t,role:n});const l=e.leaveAnimation?e.leaveAnimation:r.b.get(i,"ios"===e.mode?o:a);await w(e,l,e.el,s),e.didDismiss.emit({data:t,role:n})}catch(l){console.error(l)}return e.el.remove(),!0},b=e=>e.querySelector("ion-app")||e.body,w=async(e,t,i,o)=>{if(e.animation)return e.animation.destroy(),e.animation=void 0,!1;i.classList.remove("overlay-hidden");const a=i.shadowRoot||e.el;let s,l=!0;try{const e=await n.e(6).then(n.bind(null,"gHMO"));s=await e.create(t,a,o)}catch(c){s=t(a,o),s.fill("both"),l=!1}e.animation=s,e.animated&&r.b.getBoolean("animated",!0)||s.duration(0),e.keyboardClose&&s.beforeAddWrite(()=>{const e=i.ownerDocument.activeElement;e&&e.matches("input, ion-input, ion-textarea")&&e.blur()});const u=void 0===await s.playAsync()||s.hasCompleted;return l&&s.destroy(),e.animation=void 0,u},k=(e,t)=>{let n;const r=new Promise(e=>n=e);return M(e,t,e=>{n(e.detail)}),r},M=(e,t,n)=>{const r=i=>{e.removeEventListener(t,r),n(i)};e.addEventListener(t,r)},S=e=>"cancel"===e||e===D,T=(e,t)=>{for(;t;){if(t===e)return!0;t=t.parentElement}return!1},x=e=>e(),L=(e,t)=>{if("function"==typeof e)return r.b.get("_zoneGate",x)(()=>{try{return e(t)}catch(n){console.error(n)}})},D="backdrop"},"pxS/":function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o}));var r=n("KOl+");function i(e,t){return!0===Object(r.a)(e,t)?Object(r.b)(e.constructor.getPluginRef())[t]:null}function o(e,t,n){!0===Object(r.a)(e,t)&&(Object(r.b)(e.constructor.getPluginRef())[t]=n)}},pxpQ:function(e,t,n){"use strict";var r=n("7o/Q"),i=n("EY2u"),o=n("LRne"),a=n("HDdC");let s=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,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,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return e=this.error,new a.a(t=>t.error(e));case"C":return Object(i.b)()}var e;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})();function l(e,t=0){return function(n){return n.lift(new u(e,t))}}n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return c}));class u{constructor(e,t=0){this.scheduler=e,this.delay=t}call(e,t){return t.subscribe(new c(e,this.scheduler,this.delay))}}class c extends r.a{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(c.dispatch,this.delay,new d(e,this.destination)))}_next(e){this.scheduleMessage(s.createNext(e))}_error(e){this.scheduleMessage(s.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(s.createComplete()),this.unsubscribe()}}class d{constructor(e,t){this.notification=e,this.destination=t}}},"q/0M":function(e,t,n){"use strict";function r(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}var i;n.r(t),n.d(t,"LogLevel",(function(){return a})),n.d(t,"Logger",(function(){return d})),n.d(t,"setLogLevel",(function(){return h})),n.d(t,"setUserLogHandler",(function(){return f}));var o=[],a=function(e){return e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.E
2RROR=4]="ERROR",e[e.SILENT=5]="SILENT",e}({}),s={debug:a.DEBUG,verbose:a.VERBOSE,info:a.INFO,warn:a.WARN,error:a.ERROR,silent:a.SILENT},l=a.INFO,u=((i={})[a.DEBUG]="log",i[a.VERBOSE]="log",i[a.INFO]="info",i[a.WARN]="warn",i[a.ERROR]="error",i),c=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];if(!(t<e.logLevel)){var o=(new Date).toISOString(),a=u[t];if(!a)throw new Error("Attempted to log a message with an invalid logType (value: "+t+")");console[a].apply(console,r(["["+o+"]  "+e.name+":"],n))}},d=function(){function e(e){this.name=e,this._logLevel=l,this._logHandler=c,this._userLogHandler=null,o.push(this)}return Object.defineProperty(e.prototype,"logLevel",{get:function(){return this._logLevel},set:function(e){if(!(e in a))throw new TypeError('Invalid value "'+e+'" assigned to `logLevel`');this._logLevel=e},enumerable:!1,configurable:!0}),e.prototype.setLogLevel=function(e){this._logLevel="string"==typeof e?s[e]:e},Object.defineProperty(e.prototype,"logHandler",{get:function(){return this._logHandler},set:function(e){if("function"!=typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"userLogHandler",{get:function(){return this._userLogHandler},set:function(e){this._userLogHandler=e},enumerable:!1,configurable:!0}),e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,a.DEBUG],e)),this._logHandler.apply(this,r([this,a.DEBUG],e))},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,a.VERBOSE],e)),this._logHandler.apply(this,r([this,a.VERBOSE],e))},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,a.INFO],e)),this._logHandler.apply(this,r([this,a.INFO],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,a.WARN],e)),this._logHandler.apply(this,r([this,a.WARN],e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,a.ERROR],e)),this._logHandler.apply(this,r([this,a.ERROR],e))},e}();function h(e){o.forEach((function(t){t.setLogLevel(e)}))}function f(e,t){for(var n=function(n){var r=null;t&&t.level&&(r=s[t.level]),n.userLogHandler=null===e?null:function(t,n){for(var i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];var s=i.map((function(e){if(null==e)return null;if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e)return e.toString();if(e instanceof Error)return e.message;try{return JSON.stringify(e)}catch(t){return null}})).filter((function(e){return e})).join(" ");n>=(null!=r?r:t.logLevel)&&e({level:a[n].toLowerCase(),message:s,args:i,type:t.name})}},r=0,i=o;r<i.length;r++)n(i[r])}},q9N6:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n("mrSG"),i=(n("qNh5"),n("SZJ3"),n("pRuv"),n("eIep")),o=n("lJxs"),a=n("UXun"),s=n("SxV6"),l=n("itXk"),u=n("LRne"),c=(n("ZZ/e"),n("SPmy"));class d{constructor(e,t,n,r){this.auth=e,this.engine=t,this.watchdog=n,this.modalCtrl=r,this.cache=new Map,this.compareFn=(e,t)=>e.title.toLowerCase()<t.title.toLowerCase()?-1:e.title.toLowerCase()>t.title.toLowerCase()?1:0,this.compareFnOrder=(e,t)=>e.order<t.order?-1:e.order>t.order?1:0}getFront(){if(this.cache.forms)return this.cache.forms;const e=this.auth.node$.pipe(Object(i.a)(e=>this.engine.fetchListWithKeysByOrder(e+"/forms/front","title")),Object(o.a)(e=>e.sort(this.compareFn)),Object(a.a)(1));return this.cache.forms=e,e}getFormFull(e){if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(i.a)(t=>this.engine.fetchObject(t+"/forms/back/"+e)),Object(o.a)(t=>{const n=this.engine._keys(t.elements),r=this.engine._sortBy(n.map(e=>Object.assign({$key:e},t.elements[e])),"order");return Object.assign({formKey:e},t,{elements:r})}),Object(a.a)(1));return this.cache[e]=t,t}getFormElements(e){const t=e+"-elements";if(this.cache[t])return this.cache[t];const n=this.auth.node$.pipe(Object(i.a)(t=>this.engine.fetchListWithKeysByOrder(t+"/forms/back/"+e+"/elements","order")),Ob
2ject(a.a)(1));return this.cache[t]=n,n}getTemplates(){const e="formTemplates";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(i.a)(e=>this.engine.fetchListWithKeysByOrder(e+"/forms/templates/front","name")),Object(o.a)(e=>e.sort(this.compareFn)),Object(a.a)(1));return this.cache[e]=t,t}getTemplatesFull(){const e="formTemplatesFull";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(i.a)(e=>this.engine.fetchListWithKeysByOrder(e+"/forms/templates/front","name")),Object(o.a)(e=>e.sort(this.compareFn)),Object(a.a)(1));return this.cache[e]=t,t}getResults(e){const t="formResults "+e;if(this.cache[t])return this.cache[t];const n=this.auth.node$.pipe(Object(i.a)(t=>this.engine.fetchListWithKeys(t+"/forms/results/"+e)),Object(a.a)(1));return this.cache[t]=n,n}getResponses(e){const t="formResponses "+e;if(this.cache[t])return this.cache[t];const n=this.auth.node$.pipe(Object(i.a)(t=>this.engine.fetchListWithKeys(t+"/forms/responses/"+e)),Object(a.a)(1));return this.cache[t]=n,n}getResultsPretty(e){const t="formResultsPretty "+e;if(this.cache[t])return this.cache[t];const n=Object(l.a)([this.getResults(e),this.getFormElements(e)]).pipe(Object(o.a)(([e,t],n)=>{let r=0;return t.map(t=>{const n=e.map(e=>e[t.$key]&&e[t.$key].answer?e[t.$key].answer:null),i=e.map(e=>e[t.$key]&&e[t.$key].answer?e[t.$key].answer:null).filter(e=>null!==e),o=e.map(e=>e[t.$key]&&e[t.$key].ts&&e[t.$key].answer?e[t.$key].ts:null).filter((e,t)=>null!==e||null!==n[t]),a=e.map(e=>e[t.$key]&&e[t.$key].user&&e[t.$key].answer?e[t.$key].user:"none").filter((e,t)=>"none"!==e||null!==n[t]),s=e.map(e=>e[t.$key]&&e[t.$key].user&&e[t.$key].answer?{user:e[t.$key].user,ts:e[t.$key].ts,answer:e[t.$key].answer}:{user:"none",ts:e[t.$key]&&e[t.$key].ts?e[t.$key].ts:null,answer:e[t.$key]&&e[t.$key].answer?e[t.$key].answer:null}).filter((e,t)=>"none"!==e.user||null!==n[t]),l=t.elements?Object.keys(t.elements):[],u=i.length,c="rating"===t.type&&i.length>0?+(i.reduce((e,t)=>e+t,0)/i.length).toFixed(2):null,d="rating"===t.type&&i.length>0?Math.max(...i):null,h="rating"===t.type&&i.length>0?Math.min(...i):null,f="rating"===t.type||"multi"===t.type?this.calcDistro(i,t.type):null,p="multi"===t.type||t.multiple?this.calcDistroMulti(f,l,t.elements):null,m="rating"===t.type&&i.length>0?this.calcSpread(i,t.level,t.details,f):"multi"===t.type?this.calcSpreadMulti(i,t.elements):null;return t.required&&(r=i.length),Object.assign({},t,{answers:i,ts:o,totalResp:r,ansQty:u,ansAvg:c,ansMax:d,ansMin:h,ansSpread:m,elementArray:l,ansDistro:f,users:a,ansDistroMulti:p,comp:s})})}),Object(a.a)(1));return this.cache[t]=n,n}getArchiveResultsPretty(e,t){const n="formArchiveResultsPretty "+e+t;if(this.cache[n])return this.cache[n];const r=Object(l.a)([this.getArchiveInstanceResults(e,t),this.getArchiveInstanceElements(e,t)]).pipe(Object(o.a)(([e,t],n)=>{let r=0;return t.map(t=>{const n=e.map(e=>e[t.$key]&&e[t.$key].answer?e[t.$key].answer:null),i=e.map(e=>e[t.$key]&&e[t.$key].answer?e[t.$key].answer:null).filter(e=>null!==e),o=e.map(e=>e[t.$key]&&e[t.$key].ts&&e[t.$key].answer?e[t.$key].ts:null).filter((e,t)=>null!==e||null!==n[t]),a=e.map(e=>e[t.$key]&&e[t.$key].user&&e[t.$key].answer?e[t.$key].user:"none").filter((e,t)=>"none"!==e||null!==n[t]),s=e.map(e=>e[t.$key]&&e[t.$key].user&&e[t.$key].answer?{user:e[t.$key].user,ts:e[t.$key].ts,answer:e[t.$key].answer}:{user:"none",ts:e[t.$key]&&e[t.$key].ts?e[t.$key].ts:null,answer:e[t.$key]&&e[t.$key].answer?e[t.$key].answer:null}).filter((e,t)=>"none"!==e.user||null!==n[t]),l=t.elements?Object.keys(t.elements):[],u=i.length,c="rating"===t.type&&i.length>0?+(i.reduce((e,t)=>e+t,0)/i.length).toFixed(2):null,d="rating"===t.type&&i.length>0?Math.max(...i):null,h="rating"===t.type&&i.length>0?Math.min(...i):null,f="rating"===t.type||"multi"===t.type?this.calcDistro(i,t.type):null,p="multi"===t.type||t.multiple?this.calcDistroMulti(f,l,t.elements):null,m="rating"===t.type&&i.length>0?this.calcSpread(i,t.level,t.details,f):"multi"===t.type?this.calcSpreadMulti(i,t.elements):null;return t.required&&(r=i.length),Object.assign({},t,{answers:i,ts:o,totalResp:r,ansQty:u,ansAvg:c,ansMax:d,ansMin:h,ansSpread:m,elementArray:l,ansDistro:f,users:a,ansDistroMulti:p,comp:s})})}),Object(a.a)(1));return this.cache[n]=r,r}calcSpread(e,t,n,r){let i={},o={};const a=[],s=[];if(t){for(let e=1;e<=t;e++)s.push(e);
2s.forEach(t=>{i=Object.assign({},i,{[t]:e.some(e=>e===t)?Math.round(e.filter(e=>e===t).length/e.length*100)+"%":"0%"}),o=Object.assign({},o,{[t]:e.some(e=>e===t)?Math.round(e.filter(e=>e===t).length/e.length*100):0})})}else e.forEach(t=>{i=Object.assign({},i,{[t]:Math.round(e.filter(e=>e===t).length/e.length*100)+"%"}),o=Object.assign({},o,{[t]:Math.round(e.filter(e=>e===t).length/e.length*100)})});return Object.keys(i).forEach(e=>{a.push({val:e,percent:i[e],percentRaw:o[e],text:n&&n[+e-1]?n[+e-1]:"none found",qty:r&&r[+e]?r[+e]:0})}),a}calcSpreadMulti(e,t){let n={};const r=this.engine._flatten(e),i=this.engine._keys(t);return this.engine._pullAll(i,this.engine._uniq(r)),r.forEach(e=>{n=Object.assign({},n,{[e]:{percent:Math.round(r.filter(t=>t===e).length/r.length*100)+"%",text:t&&t[e]&&t[e].value?t[e].value:"none found",val:t&&t[e]&&(t[e].order||0===t[e].order)?t[e].order:null,id:t&&t[e]&&(t[e].order||0===t[e].order)?(t[e].order+10).toString(36).toUpperCase():"NA"}})}),i.length>=1&&i.forEach(e=>{n=Object.assign({},n,{[e]:{percent:"0%",text:t&&t[e]&&t[e].value?t[e].value:"none found",val:t&&t[e]&&(t[e].order||0===t[e].order)?t[e].order:null,id:t&&t[e]&&(t[e].order||0===t[e].order)?(t[e].order+10).toString(36).toUpperCase():"NA"}})}),n}calcDistro(e,t){let n={};if("rating"===t)e.forEach(t=>{n=Object.assign({},n,{[t]:e.filter(e=>e===t).length})});else if("multi"===t){const t=[];e.forEach(e=>{t.push(e.toString())}),t.forEach(e=>{n=Object.assign({},n,{[e]:t.filter(t=>t===e).length})})}return n}calcDistroMulti(e,t,n){let r=[];const i=[];let o={};const a=Object.keys(e);let s=0;return t.forEach(t=>{const r=t.split(",");1===r.length&&(o=Object.assign({},o,{[r[0]]:(s+10).toString(36).toUpperCase()}),i.push({key:t,val:e[t]?e[t]:0,id:(n[t].order+10).toString(36).toUpperCase()}),s++)}),r=c(i,["id"]),a.forEach((t,n)=>{const i=t.split(",");if(1===i.length);else{let n="";const a=[];i.forEach(e=>{a.push(o[e])}),a.sort((e,t)=>e>t?1:-1),a.forEach((e,t)=>{n+=e,t<i.length-1&&(n+=" + ")}),r.push({keys:i,val:e[t],multi:!0,id:n})}}),r}getArchive(e){const t="formArchive/"+e;if(this.cache[t])return this.cache[t];const n=this.auth.node$.pipe(Object(i.a)(t=>this.engine.fetchListWithKeysByOrder(t+"/forms/archive/"+e,"archiveTS")),Object(a.a)(1));return this.cache[t]=n,n}getArchiveInstance(e,t){return this.getArchive(e).pipe(Object(o.a)(e=>e.filter(e=>e.$key===t)),Object(o.a)(e=>e[0]))}getArchiveInstanceResults(e,t){const n="formResultsArchive "+e+"&"+t;if(this.cache[n])return this.cache[n];const r=this.auth.node$.pipe(Object(i.a)(n=>this.engine.fetchListWithKeys(n+"/forms/archive/"+e+"/"+t+"/results")),Object(a.a)(1));return this.cache[n]=r,r}getArchiveInstanceElements(e,t){const n=e+"&"+t+"-elements";if(this.cache[n])return this.cache[n];const r=this.auth.node$.pipe(Object(i.a)(n=>this.engine.fetchListWithKeysByOrder(n+"/forms/archive/"+e+"/"+t+"/elements","order")),Object(a.a)(1));return this.cache[n]=r,r}archive(e){return r.__awaiter(this,void 0,void 0,(function*(){const t={};return t[(yield this.auth.getNode())+"forms/back/"+e+"/archive"]=!0,this.auth.updateDB(t)}))}getMcTypes(){const e="formMC";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(i.a)(e=>this.engine.fetchListWithKeysByOrder(e+"/common/forms/qtypes/mc","name")),Object(o.a)(e=>e.sort(this.compareFn)),Object(a.a)(1));return this.cache[e]=t,t}getRatingTypes(){const e="formMC";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(i.a)(e=>this.engine.fetchListWithKeysByOrder(e+"/common/forms/qtypes/rating","name")),Object(o.a)(e=>e.sort(this.compareFn)),Object(a.a)(1));return this.cache[e]=t,t}getDashboardUserResults(){return Object(u.a)([])}getPublished(){const e="formsPublished";if(this.cache[e])return this.cache[e];const t=this.auth.node$.pipe(Object(i.a)(e=>this.engine.fetchListWithKeysByChild(e+"forms/front/","published",!0)),Object(o.a)(e=>e.sort(this.compareFn)),Object(a.a)(1));return this.cache[e]=t,t}getPublishedFront(e){return this.getPublished().pipe(Object(o.a)(e=>this.engine._keyBy(e,"$key")),Object(o.a)(t=>t[e]))}updateOwner(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const r={},i=yield this.auth.getNode();return r[i+"users/back/"+e+"/formOwner/"+t]=!0===n||null,r[i+"forms/back/"+t+"/owners/"+e]=!0===n||null,r}))}subscribeUser(e,t,n){return r.__awaiter(this,void 0,void 0,(function*(){const[i,o]=yield Promise.all([this.getFront().pipe(Object(s.a)()).toPromise(),this.auth.getNode()]),a={};
2return i.forEach(i=>r.__awaiter(this,void 0,void 0,(function*(){const r=this.engine._keys(i.groups),s=this.engine._keys(i.sites),l=this.engine._intersection(r,t),u=this.engine._intersection(s,n);this.engine._merge(a,this._subUser(o,i,e,!this.engine._isEmpty(l)&&!this.engine._isEmpty(u)||null))}))),a}))}_subUser(e,t,n,r){const i=t.$key,o={};return o[e+"users/back/"+n.$key+"/forms/"+i]=r,o[e+"forms/back/"+i+"/subscribers/"+n.$key]=r,o}deleteForm(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.auth.getNode(),n={};return n[t+"forms/back/"+e]=null,n[t+"forms/front/"+e+"/delete"]=!0,this.auth.updateDB(n)}))}}},qNh5:function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var r=n("mrSG"),i=n("Wcq6"),o=n("EY2u"),a=n("LRne"),s=n("itXk"),l=n("2Vo4"),u=n("XNiG"),c=n("eIep"),d=n("lJxs"),h=n("UXun"),f=n("IzEk"),p=n("SxV6"),m=n("tfKx"),g=n("ZZ/e"),_=n("8Y7J"),y=n("irV9"),v=n("PVcy"),b=n("xgBC");const w=e=>e&&!!e.displayName;let k=(()=>{class e{constructor(e,t,n,r,i,f){this.afAuth=e,this.afd=t,this.storage=n,this.errorManager=r,this.loading=i,this.events=f,this.useCase="FOURZERO",this.node$=this.afAuth.authState.pipe(Object(c.a)(e=>w(e)?Object(a.a)(e.displayName+"/"):Object(o.b)())),this.userNode$=this.afAuth.authState.pipe(Object(c.a)(e=>w(e)?Object(a.a)(`${e.displayName}/users/back/${e.uid}/`):Object(o.b)())),this.wipe$=this.afAuth.authState.pipe(Object(c.a)(e=>Object(a.a)(`${e.displayName}/users/back/${e.uid}/wipe`))),this.pushNode$=this.afAuth.authState.pipe(Object(c.a)(e=>w(e)?Object(a.a)(`${e.displayName}/users/push/${e.uid}/`):Object(o.b)())),this.userPublicNode$=this.afAuth.authState.pipe(Object(c.a)(e=>w(e)?Object(a.a)(`${e.displayName}/users/front/${e.uid}/`):Object(o.b)())),this.histUsers$=this.afAuth.authState.pipe(Object(c.a)(e=>w(e)?Object(a.a)(`${e.displayName}/history/userActions/${e.uid}/`):Object(o.b)())),this.uv$=this.afAuth.authState.pipe(Object(c.a)(e=>w(e)?Object(a.a)(e.displayName+"/uv/"):Object(o.b)())),this.isLoggedIn$=this.afAuth.authState.pipe(Object(d.a)(e=>w(e))),this.user$=Object(s.a)([this.userNode$,this.afAuth.authState]).pipe(Object(c.a)(([e,t])=>w(t)?this.afd.object(e).valueChanges().pipe(Object(d.a)(e=>Object.assign({$key:t.uid},e))):Object(o.b)()),Object(h.a)(1)),this.user=new l.a(null),this.logOff$=new u.a,this.cache=new Map,this.user$.subscribe(this.user),this.uv$.subscribe(e=>this.uv=e)}isActive(){return this.user$.pipe(Object(f.a)(1),Object(d.a)(e=>e&&e.uid)).toPromise()}getCurrentUser(){return this.user$.pipe(Object(p.a)()).toPromise()}getNode(){return this.node$.pipe(Object(p.a)()).toPromise()}getUserNode(){return this.userNode$.pipe(Object(p.a)()).toPromise()}getUserPublicNode(){return this.userPublicNode$.pipe(Object(p.a)()).toPromise()}getUserKey(){return this.afAuth.authState.pipe(Object(c.a)(e=>e.uid)).pipe(Object(p.a)()).toPromise()}getUserWipe(){return this.user$.pipe(Object(d.a)(e=>!!e.wipe))}getUserRC(){return this.user$.pipe(Object(d.a)(e=>!!e.rc))}monitorRC(){return this.user$.pipe(Object(d.a)(e=>!!e.rca))}rcStatus(){return r.__awaiter(this,void 0,void 0,(function*(){return yield this.getUserRC().pipe(Object(p.a)()).toPromise()}))}rca(){return r.__awaiter(this,void 0,void 0,(function*(){const e={};return e[(yield this.getNode())+"/common/rc/active"]=!0,this.updateDB(e)}))}rcd(){return r.__awaiter(this,void 0,void 0,(function*(){const e={};return e[(yield this.getNode())+"/common/rc/active"]=null,this.updateDB(e)}))}login(e,t){return this.afAuth.auth.signInWithEmailAndPassword(e,t)}logout(){return this.events.publish("user:logout"),this.logOff$.next(!0),this.afAuth.auth.signOut().then(()=>{this.logOff$.unsubscribe(),this.storage.set("loggedIn",!1)}).catch(e=>this.errorManager.showPopup("logout_failure"))}showNavPopup(e){return r.__awaiter(this,void 0,void 0,(function*(){return this.errorManager.showPopup(e)}))}signUp(e,t,n,i,o,a){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise((r,s)=>{this.afAuth.auth.createUserWithEmailAndPassword(i,o).then(o=>{this.afd.list("uv").update(o.user.uid,{email:i,firstName:e,lastName:t,rank:n,squadron:a}).then(()=>{this.afAuth.auth.signOut().then(()=>{r(!0)})}).catch(e=>{console.log("error in db write: ",JSON.stringify(e)),e.code&&s(e)})}).catch(e=>{console.log("error in auth signup: ",JSON.stringify(e)),e.code&&s(e)})})}))}signUpNoSquadron(e,t,n,i,o){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise((r,a)=>{this.afAuth.auth.createUserWithEmailAndPassword(i,o).then(o=>{this.afd.list("uv").update(o.user.uid,{email:i,firstName:e,lastName:t,rank:n,squadron:"vp40"}).then(()=>{this.afAuth.auth.signOut().then(()=>{r(!0)})}).catch(e=>{console.log("error in db write: ",JSON.stringify(e)),e.code&&a(e)})}).catch(e=>{console.log("error in auth signup: ",JSON.stringify(e)),e.code&&a(e)})})}))}newSquadron(e,t,n,i,o,a){return r.__awaiter(this,void 0,void 0,(function*(){return new Promise((r,s)=>{this.afAuth.auth.createUserWithEmailAndPassword(i,o).then(o=>{this.afd.list("uv").update(o.user.uid,{email:i,firstName:e,lastName:t,rank:n,squadron:a,new:!0}).then(()=>{this.afAuth.auth.signOut().then(()=>{r(!0)})}).catch(e=>{console.log("error in db write: ",JSON.stringify(e)),e.code&&s(e)})}).catch(e=>{console.log("error in auth signup: ",JSON.stringify(e)),e.code&&s(e)})})}))}changeEmail(e,t){return this.afAuth.auth.signInWithEmailAndPassword(this.afAuth.auth.currentUser.email,e).then(()=>this.afAuth.auth.currentUser.updateEmail(t))}reLogin(e){return this.afAuth.auth.signInWithEmailAndPassword(this.afAuth.auth.currentUser.email,e)}changePassword(e,t){return this.afAuth.auth.signInWithEmailAndPassword(this.afAuth.auth.currentUser.email,e).then(()=>this.afAuth.auth.currentUser.updatePassword(t))}resetPassword(e){return this.afAuth.auth.sendPasswordResetEmail(e)}timestamp(){return i.database().ref("/.info/serverTimeOffset").once("value").then(e=>e.val()+Date.now())}ts(){return r.__awaiter(this,void 0,void 0,(function*(){return yield i.database().ref("/.info/serverTimeOffset").once("value").then(e=>e.val()+Date.now())}))}getLoginAttempts(){return this.storage.get("LoginAttempts")}resetLoginAttempts(){return this.storage.set("LoginAttempts",1)}incLoginAttempts(){return this.timestamp().then(e=>this.storage.get("LoginAttempts").then(t=>this.storage.set("LoginTime",e).then(()=>
2this.storage.set("LoginAttempts",t+1))))}loginLockout(){return this.storage.get("LoginAttempts").then(e=>e>3&&this.storage.get("LoginTime"))}loginLockoutTimestamp(){return this.storage.get("LoginTime").then(e=>{})}logHistory(e){return r.__awaiter(this,void 0,void 0,(function*(){const[t,n]=yield Promise.all([this.timestamp(),this.node$.pipe(Object(p.a)()).toPromise()]);if(e.timestamp=t,""!==n&&null!==n){const t=yield this.histUsers$.pipe(Object(p.a)()).toPromise();return this.afd.database.ref(t).push(e)}return this.afd.database.ref("logs/noNodeLogs/"+this.afAuth.auth.currentUser.uid).push(e)}))}updateDB(e){return new Promise((t,n)=>this.afd.database.ref().update(e).then(()=>{t(!0)}).catch(e=>{n(e),this.errorManager.showPopup(e)}))}updateDbNoLoader(e){return new Promise((t,n)=>this.afd.database.ref().update(e).then(()=>{t()}).catch(e=>{n(e),this.errorManager.showPopup(e)}))}newDbEntry(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.getNode();return new Promise((r,i)=>{this.afd.list(n+t+"/back/").push(e).then(o=>{this.afd.database.ref(n+t+"/front/"+o.key).update(e).then(()=>{r(o.key)}).catch(e=>{i(e),this.errorManager.showPopup(e)})}).catch(e=>{i(e),this.errorManager.showPopup(e)})})}))}pushToDb(e,t){return r.__awaiter(this,void 0,void 0,(function*(){return this.afd.list(e).push(t)}))}setDb(e,t){return r.__awaiter(this,void 0,void 0,(function*(){const n=yield this.getNode();return e.$key&&delete e.$key,this.afd.database.ref(n+t).update(e)}))}newDbElement(e,t,n){return new Promise((r,i)=>{this.afd.list(t+"/elements/").push(e).then(e=>{n?this.updateDbNoLoader({[n+e.key]:!0}).then(()=>{r(e.key)}).catch(e=>{i(e),this.errorManager.showPopup(e)}):r(e.key)}).catch(e=>{i(e),this.errorManager.showPopup(e)})})}}return e.ngInjectableDef=_.Zb({factory:function(){return new e(_.ac(y.a),_.ac(v.a),_.ac(b.b),_.ac(m.a),_.ac(g.Jb),_.ac(g.g))},token:e,providedIn:"root"}),e})()},qard:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("ZZ/e"),i=n("qNh5"),o=n("8Y7J");let a=(()=>{class e{constructor(e,t){this.platform=e,this.auth=t}logEvent(e,t){return this.platform.is("cordova"),this.auth.logHistory({action:e,data:t})}logError(e){return this.platform.is("cordova"),this.auth.logHistory({action:"error",data:e})}logSuspiciousEvent(e,t){if(this.platform.is("cordova")&&t)return this.auth.logHistory({action:"sus",data:t})}}return e.ngInjectableDef=o.Zb({factory:function(){return new e(o.ac(r.Ob),o.ac(i.a))},token:e,providedIn:"root"}),e})()},qgXg:function(e,t,n){"use strict";var r=n("3N8a");class i extends r.a{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,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}var o=n("IjjT");class a extends o.a{}n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return l}));const s=new a(i),l=s},quSY:function(e,t,n){"use strict";var r=n("DH7j"),i=n("XoHu"),o=n("n6bG");const a=(()=>{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})();n.d(t,"a",(function(){return s}));let s=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:s,_unsubscribe:u,_subscriptions:c}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(Object(o.a)(u)){s&&(this._unsubscribe=void 0);try{u.call(this)}catch(d){t=d instanceof a?l(d.errors):[d]}}if(Object(r.a)(c)){let e=-1,n=c.length;for(;++e<n;){const n=c[e];if(Object(i.a)(n))try{n.unsubscribe()}catch(d){t=t||[],d instanceof a?t=t.concat(l(d.errors)):t.push(d)}}}if(t)throw new a(t)}
2add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}var t;return e.EMPTY=((t=new e).closed=!0,t),e})();function l(e){return e.reduce((e,t)=>e.concat(t instanceof a?t.errors:t),[])}},qvJo:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={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 r?i[n][0]:i[n][1]}e.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(e,t){switch(t){case"D":return e+"\u
20935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===t?e:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===t?e>12?e:e+12:"\u0938\u093e\u0902\u091c\u0947"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924\u0940":e<12?"\u0938\u0915\u093e\u0933\u0940\u0902":e<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":e<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(n("wd/R"))},raLr:function(e,t,n){!function(e){"use strict";function t(e,t,n){var r,i;return"m"===n?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(r=+e,i={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:t?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n].split("_"),r%10==1&&r%100!=11?i[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?i[1]:i[2])}function n(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 
26:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},rsxy:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r{}},"s+uk":function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={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?i[n][0]:i[n][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},s7LF:function(e,t,n){"use strict";var r=n("8Y7J"),i=n("cUpR"),o=n("HDdC"),a=n("DH7j"),s=n("lJxs"),l=n("XoHu"),u=n("Cfvw");function c(e,t){return new o.a(n=>{const r=e.length;if(0===r)return void n.complete();const i=new Array(r);let o=0,a=0;for(let s=0;s<r;s++){const l=Object(u.a)(e[s]);let c=!1;n.add(l.subscribe({next:e=>{c||(c=!0,a++),i[s]=e},error:e=>n.error(e),complete:()=>{o++,o!==r&&c||(a===r&&n.next(t?t.reduce((e,t,n)=>(e[t]=i[n],e),{}):i),n.complete())}}))}})}n.d(t,"r",(function(){return _e})),n.d(t,"u",(function(){return ue})),n.d(t,"s",(function(){return O})),n.d(t,"t",(function(){return ce})),n.d(t,"b",(function(){return m})),n.d(t,"j",(function(){return d})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return f})),n.d(t,"k",(function(){return _})),n.d(t,"l",(function(){return v})),n.d(t,"m",(function(){return b})),n.d(t,"n",(function(){return le})),n.d(t,"f",(function(){return me})),n.d(t,"g",(function(){return de})),n.d(t,"p",(function(){return ge})),n.d(t,"d",(function(){return ye})),n.d(t,"e",(function(){return X})),n.d(t,"i",(function(){return k})),n.d(t,"q",(function(){return S})),n.d(t,"h",(function(){return ve})),n.d(t,"o",(function(){return be}));const d=new r.v("NgValueAccessor"),h=new r.v("CompositionEventMode");class f{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(i.r)()?Object(i.r)().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)}}class p{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}}class m extends p{get formDirective(){return null}get path(){return null}}function g(){throw new Error("unimplemented")}class _ extends p{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return g()}get asyncValidator(){return g()}}class y{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}}class v extends y{constructor(e){super(e)}}class b extends y{constructor(e){super(e)}}function w(e){return null==e||0===e.length}const k=new r.v("NgValidators"),M=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[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 S{static min(e){return t=>{if(w(t.value)||w(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}static max(e){return t=>{if(w(t.value)||w(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return w(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return w(e.value)||M.test(e.value)?null:{email:!0}}static minLength(e){return t=>{if(w(t.value))return null;const n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}static maxLength(e){return t=>{const n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}static pattern(e){if(!e)return S.nullValidator;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(w(e.value))return null;const r=e.value;return t.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(T);return 0==t.length?null:function(e){return L(function(e,t){return t.map(t=>t(e))}(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(T);return 0==t.length?null:function(e){return function(...e){if(1===e.length){const t=e[0];if(Object(a.a)(t))return c(t,null);if(Object(l.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return c(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return c(e=1===e.length&&Object(a.a)(e[0])?e[0]:e,null).pipe(Object(s.a)(e=>t(...e)))}return c(e,null)}(function(e,t){return t.map(t=>t(e))}(e,t).map(x)).pipe(Object(s.a)(L))}}}function T(e){return null!=e}function x(e){const t=Object(r.Jb)(e)?Object(u.a)(e):e;if(!Object(r.Ib)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function L(e){const t=e.reduce((e,t)=>
2null!=t?Object.assign({},e,t):e,{});return 0===Object.keys(t).length?null:t}function D(e){return e.validate?t=>e.validate(t):e}function C(e){return e.validate?t=>e.validate(t):e}class O{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}}const E='\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    });',j='\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    });',A='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>';class P{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      "+E)}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        ${j}\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        ${A}`)}static missingFormException(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+E)}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      "+j)}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 Angular v7.\n    \n    For more information on this, see our API docs here:\n    https://angular.io/api/forms/${"formControl"
2===e?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n    `)}}function I(e,t){return[...t.path,e]}function Y(e,t){e||H(t,"Cannot find control with"),t.valueAccessor||H(t,"No value accessor for form control with"),e.validator=S.compose([e.validator,t.validator]),e.asyncValidator=S.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&R(e,t)})}(e,t),function(e,t){e.registerOnChange((e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&R(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 R(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function N(e,t){null==e&&H(t,"Cannot find control with"),e.validator=S.compose([e.validator,t.validator]),e.asyncValidator=S.composeAsync([e.asyncValidator,t.asyncValidator])}function F(e){return H(e,"There is no FormControl instance attached to form control element with")}function H(e,t){let n;throw n=e.path.length>1?`path: '${e.path.join(" -> ")}'`:e.path[0]?`name: '${e.path}'`:"unspecified name attribute",new Error(`${t} ${n}`)}function $(e){return null!=e?S.compose(e.map(D)):null}function z(e){return null!=e?S.composeAsync(e.map(C)):null}function W(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object(r.Kb)(t,n.currentValue)}const U=[class{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)}},class{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)}},class{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)}},class{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=r.Kb}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 n=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",n)}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}},class{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=r.Kb}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 n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};
2this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(t.hasOwnProperty("selectedOptions")){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const r=e.item(t),i=this._getOptionValue(r.value);n.push(i)}}else{const e=t.options;for(let t=0;t<e.length;t++){const r=e.item(t);if(r.selected){const e=this._getOptionValue(r.value);n.push(e)}}}this.value=n,e(n)}}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}},class{constructor(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(_),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    ')}}];function B(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function V(e,t){if(!t)return null;Array.isArray(t)||H(e,"Value accessor was not provided as an array for form control with");let n=void 0,r=void 0,i=void 0;return t.forEach(t=>{var o;t.constructor===f?n=t:(o=t,U.some(e=>o.constructor===e)?(r&&H(e,"More than one built-in value accessor matches form control with"),r=t):(i&&H(e,"More than one custom value accessor matches form control with"),i=t))}),i||r||n||(H(e,"No valid value accessor for form control with"),null)}function q(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function G(e){const t=J(e)?e.validators:e;return Array.isArray(t)?$(t):t||null}function K(e,t){const n=J(t)?t.asyncValidators:e;return Array.isArray(n)?z(n):n||null}function J(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class Q{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=G(e)}setAsyncValidators(e){this.asyncValidator=K(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)}
2markAsDirty(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({},e,{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(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({},e,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(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=x(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,n){return null==t?null:(t instanceof Array||(t=t.split(".")),t instanceof Array&&0===t.length?null:t.reduce((e,t)=>e instanceof Z?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof ee&&e.at(t)||null,e))}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.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 r.r,this.statusChanges=new r.r}_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){J(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class X extends Q{constructor(e=null,t,n){super(G(t),K(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this.updateV
2alueAndValidity({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 Z extends Q{constructor(e,t,n){super(G(t),K(n,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(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof X?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){let t=!1;return this._forEachChild((n,r)=>{t=t||this.contains(r)&&e(n)}),t}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,r)=>{n=t(n,e,r)}),n}_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,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class ee extends Q{constructor(e,t,n){super(G(t),K(n,t)),this.controls=e,this._initOb
2servables(),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,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof X?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,n)=>{e(t,n)})}_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,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_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 te=(()=>Promise.resolve(null))();class ne extends m{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new r.r,this.form=new Z({},$(e),z(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){te.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),Y(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}
2removeControl(e){te.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),q(this._directives,e)})}addFormGroup(e){te.then(()=>{const t=this._findContainer(e.path),n=new Z({});N(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){te.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){te.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,B(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}}class re{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      ${E}\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      ${j}\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      ${A}`)}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      ${j}\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      ${A}`)}static ngFormWarning(){console.warn("\n    It looks like you're using 'ngForm'.\n\n    Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n    in Angular v9.\n\n    Use 'ng-form' instead.\n\n    Before:\n    <ngForm #myForm=\"ngForm\">\n\n    After:\n    <ng-form #myForm=\"ngForm\">\n    ")}}const ie=new r.v("NgFormSelectorWarning");class oe extends m{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return I(this.name,this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}
2get validator(){return $(this._validators)}get asyncValidator(){return z(this._asyncValidators)}_checkParentType(){}}class ae extends oe{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}_checkParentType(){this._parent instanceof ae||this._parent instanceof ne||re.modelGroupParentException()}}const se=(()=>Promise.resolve(null))();class le extends _{constructor(e,t,n,i){super(),this.control=new X,this._registered=!1,this.update=new r.r,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=V(this,i)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),W(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?I(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return $(this._rawValidators)}get asyncValidator(){return z(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(){Y(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof ae)&&this._parent instanceof oe?re.formGroupNameException():this._parent instanceof ae||this._parent instanceof ne||re.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||re.missingNameException()}_updateValue(e){se.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;se.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}class ue{}const ce=new r.v("NgModelWithFormControlWarning");class de extends m{constructor(e,t){super(),this._validators=e,this._asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new r.r}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 Y(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}
2removeControl(e){q(this.directives,e)}addFormGroup(e){const t=this.form.get(e.path);N(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);N(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,B(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(()=>F(t)),t.valueAccessor.registerOnTouched(()=>F(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&&Y(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=$(this._validators);this.form.validator=S.compose([this.form.validator,e]);const t=z(this._asyncValidators);this.form.asyncValidator=S.composeAsync([this.form.asyncValidator,t])}_checkFormPresent(){this.form||P.missingFormException()}}class he extends oe{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}_checkParentType(){pe(this._parent)&&P.groupParentException()}}class fe extends m{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}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 I(this.name,this._parent)}
2get validator(){return $(this._validators)}get asyncValidator(){return z(this._asyncValidators)}_checkParentType(){pe(this._parent)&&P.arrayParentException()}}function pe(e){return!(e instanceof he||e instanceof de||e instanceof fe)}let me=(()=>{class e extends _{constructor(e,t,n,i,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new r.r,this._ngModelWarningSent=!1,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=V(this,i)}set isDisabled(e){P.disabledAttrWarning()}ngOnChanges(t){var n,i,o;this._added||this._setUpControl(),W(t,this.viewModel)&&(n=e,i=this,o=this._ngModelWarningConfig,Object(r.gb)()&&"never"!==o&&((null!==o&&"once"!==o||n._ngModelWarningSentOnce)&&("always"!==o||i._ngModelWarningSent)||(P.ngModelWarning("formControlName"),n._ngModelWarningSentOnce=!0,i._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 I(this.name,this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return $(this._rawValidators)}get asyncValidator(){return z(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof he)&&this._parent instanceof oe?P.ngModelGroupException():this._parent instanceof he||this._parent instanceof de||this._parent instanceof fe||P.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._ngModelWarningSentOnce=!1,e})();class ge{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?S.required(e):null}registerOnValidatorChange(e){this._onChange=e}}class _e{}class ye{group(e,t=null){const n=this._reduceControls(e);let r=null,i=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new Z(n,{asyncValidators:i,updateOn:o,validators:r})}control(e,t,n){return new X(e,t,n)}array(e,t,n){const r=e.map(e=>this._createControl(e));return new ee(r,t,n)}_reduceControls(e){const t={};return Object.keys(e).forEach(n=>{t[n]=this._createControl(e[n])}),t}_createControl(e){return e instanceof X||e instanceof Z||e instanceof ee?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}class ve{static withConfig(e){return{ngModule:ve,providers:[{provide:ie,useValue:e.warnOnDeprecatedNgFormSelector}]}}}class be{static withConfig(e){return{ngModule:be,providers:[{provide:ce,useValue:e.warnOnNgModelWithFormControl}]}}}},sOj9:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("MO+k");class i{constructor(){this.labelArray=[],this.labelXarray=[],this.dataArray=[]}ngOnInit(){this.multi?this.distro.forEach((e,t)=>{if(this.labelXarray.push(e.id),this.dataArray.push(e.val),e.multi){let t="";e.keys.forEach((n,r)=>{t+=this.elements[n]?this.elements[n].value:"not found",r<e.keys.length-1&&(t+=" & ")}),this.labelArray.push(t)}else this.labelArray.push(this.elements[e.key]?this.elements[e.key].value:"not found")}):(this.labelArray=this.labels,this.labels.forEach((e,t)=>{this.dataArray.push(this.distro[t+1]?this.distro[t+1]:0)})),this.chart=new r.Chart(this.chartRef.nativeElement,{type:this.chartType,data:{labels:this.labelArray,datasets:[{label:this.title?this.title:"",data:this.dataArray,backgroundColor:this.colorArray?this.colorArray:["rgba(100, 178, 209, 1)","rgba(82, 146, 172, 1)","rgba(64, 114, 134, 1)","rgba(46, 81, 95, 1)","rgba(100, 178, 209, 1)","rgba(82, 146, 172, 1)","rgba(64, 114, 134, 1)","rgba(46, 81, 95, 1)","rgba(100, 178, 209, 1)","rgba(82, 146, 172, 1)","rgba(64, 114, 134, 1)","rgba(46, 81, 95, 1)","rgba(100, 178, 209, 1)","rgba(82, 146, 172, 1)","rgba(64, 114, 134, 1)","rgba(46, 81, 95, 1)"]}]}
2,options:{legend:{display:!1,position:"bottom"},scales:{yAxes:[{display:!0,ticks:{beginAtZero:!0}}],xAxes:[{type:"category",labels:this.multi?this.labelXarray:this.labelArray}]}}})}ngOnDestroy(){this.chart.destroy()}}},sVev:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})()},sp3z:function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,t,n){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}})}(n("wd/R"))},"t+mt":function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},t8sF:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
2));var r=n("mrSG"),i=n("a3Cf"),o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cordovaFileError={1:"NOT_FOUND_ERR",2:"SECURITY_ERR",3:"ABORT_ERR",4:"NOT_READABLE_ERR",5:"ENCODING_ERR",6:"NO_MODIFICATION_ALLOWED_ERR",7:"INVALID_STATE_ERR",8:"SYNTAX_ERR",9:"INVALID_MODIFICATION_ERR",10:"QUOTA_EXCEEDED_ERR",11:"TYPE_MISMATCH_ERR",12:"PATH_EXISTS_ERR",13:"WRONG_ENTRY_TYPE",14:"DIR_READ_ERR"},t}return Object(r.__extends)(t,e),t.prototype.getFreeDiskSpace=function(){var e=this;return function(){if(!0===Object(i.checkAvailability)(e))return Object(i.getPromise)((function(e,t){cordova.exec(e,t,"File","getFreeDiskSpace",[])}))}()},t.prototype.checkDir=function(e,t){var n=this;return function(){if(!0===Object(i.checkAvailability)(n)){if(/^\//.test(t)){var r=new FileError(5);return r.message="directory cannot start with /",Promise.reject(r)}return n.resolveDirectoryUrl(e+t).then((function(){return!0}))}}()},t.prototype.createDir=function(e,t,n){var r=this;return function(){if(!0===Object(i.checkAvailability)(r)){if(/^\//.test(t)){var o=new FileError(5);return o.message="directory cannot start with /",Promise.reject(o)}var a={create:!0};return n||(a.exclusive=!0),r.resolveDirectoryUrl(e).then((function(e){return r.getDirectory(e,t,a)}))}}()},t.prototype.removeDir=function(e,t){var n=this;return function(){if(!0===Object(i.checkAvailability)(n)){if(/^\//.test(t)){var r=new FileError(5);return r.message="directory cannot start with /",Promise.reject(r)}return n.resolveDirectoryUrl(e).then((function(e){return n.getDirectory(e,t,{create:!1})})).then((function(e){return n.remove(e)}))}}()},t.prototype.moveDir=function(e,t,n,r){var o=this;return function(){if(!0===Object(i.checkAvailability)(o)){if(/^\//.test(r=r||t)){var a=new FileError(5);return a.message="directory cannot start with /",Promise.reject(a)}return o.resolveDirectoryUrl(e).then((function(e){return o.getDirectory(e,t,{create:!1})})).then((function(e){return o.resolveDirectoryUrl(n).then((function(t){return o.move(e,t,r)}))}))}}()},t.prototype.copyDir=function(e,t,n,r){var o=this;return function(){if(!0===Object(i.checkAvailability)(o)){if(/^\//.test(r)){var a=new FileError(5);return a.message="directory cannot start with /",Promise.reject(a)}return o.resolveDirectoryUrl(e).then((function(e){return o.getDirectory(e,t,{create:!1})})).then((function(e){return o.resolveDirectoryUrl(n).then((function(t){return o.copy(e,t,r)}))}))}}()},t.prototype.listDir=function(e,t){var n=this;return function(){if(!0===Object(i.checkAvailability)(n)){if(/^\//.test(t)){var r=new FileError(5);return r.message="directory cannot start with /",Promise.reject(r)}return n.resolveDirectoryUrl(e).then((function(e){return n.getDirectory(e,t,{create:!1,exclusive:!1})})).then((function(e){var t=e.createReader();return n.readEntries(t)}))}}()},t.prototype.removeRecursively=function(e,t){var n=this;return function(){if(!0===Object(i.checkAvailability)(n)){if(/^\//.test(t)){var r=new FileError(5);return r.message="directory cannot start with /",Promise.reject(r)}return n.resolveDirectoryUrl(e).then((function(e){return n.getDirectory(e,t,{create:!1})})).then((function(e){return n.rimraf(e)}))}}()},t.prototype.checkFile=function(e,t){var n=this;return function(){if(!0===Object(i.checkAvailability)(n)){if(/^\//.test(t)){var r=new FileError(5);return r.message="file cannot start with /",Promise.reject(r)}return n.resolveLocalFilesystemUrl(e+t).then((function(e){if(e.isFile)return!0;var t=new FileError(13);return t.message="input is not a file",Promise.reject(t)}))}}()},t.prototype.createFile=function(e,t,n){var r=this;return function(){if(!0===Object(i.checkAvailability)(r)){if(/^\//.test(t)){var o=new FileError(5);return o.message="file-name cannot start with /",Promise.reject(o)}var a={create:!0};return n||(a.exclusive=!0),r.resolveDirectoryUrl(e).then((function(e){return r.getFile(e,t,a)}))}}()},t.prototype.removeFile=function(e,t){var n=this;return function(){if(!0===Object(i.checkAvailability)(n)){if(/^\//.test(t)){var r=new FileError(5);return r.message="file-name cannot start with /",Promise.reject(r)}return n.resolveDirectoryUrl(e).then((function(e){return n.getFile(e,t,{create:!1})}
2)).then((function(e){return n.remove(e)}))}}()},t.prototype.writeFile=function(e,t,n,r){var o=this;return void 0===r&&(r={}),function(){if(!0===Object(i.checkAvailability)(o)){if(/^\//.test(t)){var a=new FileError(5);return a.message="file-name cannot start with /",Promise.reject(a)}var s={create:!r.append,exclusive:!r.replace};return o.resolveDirectoryUrl(e).then((function(e){return o.getFile(e,t,s)})).then((function(e){return o.writeFileEntry(e,n,r)}))}}()},t.prototype.writeFileEntry=function(e,t,n){var r=this;return this.createWriter(e).then((function(e){return n.append&&e.seek(e.length),n.truncate&&e.truncate(n.truncate),r.write(e,t)})).then((function(){return e}))},t.prototype.writeExistingFile=function(e,t,n){var r=this;return function(){if(!0===Object(i.checkAvailability)(r))return r.writeFile(e,t,n,{replace:!0})}()},t.prototype.readAsText=function(e,t){var n=this;return function(){if(!0===Object(i.checkAvailability)(n))return n.readFile(e,t,"Text")}()},t.prototype.readAsDataURL=function(e,t){var n=this;return function(){if(!0===Object(i.checkAvailability)(n))return n.readFile(e,t,"DataURL")}()},t.prototype.readAsBinaryString=function(e,t){var n=this;return function(){if(!0===Object(i.checkAvailability)(n))return n.readFile(e,t,"BinaryString")}()},t.prototype.readAsArrayBuffer=function(e,t){var n=this;return function(){if(!0===Object(i.checkAvailability)(n))return n.readFile(e,t,"ArrayBuffer")}()},t.prototype.moveFile=function(e,t,n,r){var o=this;return function(){if(!0===Object(i.checkAvailability)(o)){if(/^\//.test(r=r||t)){var a=new FileError(5);return a.message="file name cannot start with /",Promise.reject(a)}return o.resolveDirectoryUrl(e).then((function(e){return o.getFile(e,t,{create:!1})})).then((function(e){return o.resolveDirectoryUrl(n).then((function(t){return o.move(e,t,r)}))}))}}()},t.prototype.copyFile=function(e,t,n,r){var o=this;return function(){if(!0===Object(i.checkAvailability)(o)){if(/^\//.test(r=r||t)){var a=new FileError(5);return a.message="file name cannot start with /",Promise.reject(a)}return o.resolveDirectoryUrl(e).then((function(e){return o.getFile(e,t,{create:!1})})).then((function(e){return o.resolveDirectoryUrl(n).then((function(t){return o.copy(e,t,r)}))}))}}()},t.prototype.fillErrorMessage=function(e){try{e.message=this.cordovaFileError[e.code]}catch(t){}},t.prototype.resolveLocalFilesystemUrl=function(e){var t=this;return function(){if(!0===Object(i.checkAvailability)(t))return Object(i.getPromise)((function(n,r){try{window.resolveLocalFileSystemURL(e,(function(e){n(e)}),(function(e){t.fillErrorMessage(e),r(e)}))}catch(i){t.fillErrorMessage(i),r(i)}}))}()},t.prototype.resolveDirectoryUrl=function(e){var t=this;return function(){if(!0===Object(i.checkAvailability)(t))return t.resolveLocalFilesystemUrl(e).then((function(e){if(e.isDirectory)return e;var t=new FileError(13);return t.message="input is not a directory",Promise.reject(t)}))}()},t.prototype.getDirectory=function(e,t,n){var r=this;return function(){if(!0===Object(i.checkAvailability)(r))return new Promise((function(i,o){try{e.getDirectory(t,n,(function(e){i(e)}),(function(e){r.fillErrorMessage(e),o(e)}))}catch(a){r.fillErrorMessage(a),o(a)}}))}()},t.prototype.getFile=function(e,t,n){var r=this;return function(){if(!0===Object(i.checkAvailability)(r))return new Promise((function(i,o){try{e.getFile(t,n,i,(function(e){r.fillErrorMessage(e),o(e)}))}catch(a){r.fillErrorMessage(a),o(a)}}))}()},t.prototype.readFile=function(e,t,n){var r=this;if(/^\//.test(t)){var o=new FileError(5);return o.message="file-name cannot start with /",Promise.reject(o)}return this.resolveDirectoryUrl(e).then((function(e){return r.getFile(e,t,{create:!1})})).then((function(e){var t=new FileReader;return Object(i.getPromise)((function(r,i){t.onloadend=function(){void 0!==t.result||null!==t.result?r(t.result):i(void 0!==t.error||null!==t.error?t.error:{code:null,message:"READER_ONLOADEND_ERR"})},e.file((function(e){t["readAs"+n].call(t,e)}),(function(e){i(e)}))}))}))},t.prototype.remove=function(e){var t=this;return new Promise((function(n,r){e.remove((function(){n({success:!0,fileRemoved:e})}),(function(e){t.fillErrorMessage(e),r(e)}))}))},t.prototype.move=function(e,t,n){var r=this;return new Promise((function(i,o){e.moveTo(t,n,(function(e){i(e)}),(function(e){r.fillErrorMessage(e),o(e)}))}))},t.prototype.copy=function(e,t,n){var r=this;return new Promise((function(i,o){e.copyTo(t,n,(function(e){i(e)}),(function(e){r.fillErrorMessage(e),o(e)}))}))},t.prototype.readEntries=function(e){var t=this;return new Promise((function(n,r){e.readEntries((function(e){n(e)}),(function(e){t.fillErrorMessage(e),r(e)}))}))},t.prototype.rimraf=function(e){var t=this;return new Promise((function(n,r){e.removeRecursively((function(){n({success:!0,fileRemoved:e})}),(function(e){t.fillErrorMessage(e),r(e)}))}))},t.prototype.createWriter=function(e){var t=this;return new Promise((function(n,r){e.createWriter((function(e){n(e)}),(function(e){t.fillErrorMessage(e),r(e)}))}))},t.prototype.write=function(e,t){return t instanceof Blob?this.writeFileInChunks(e,t):new Promise((function(n,r){e.onwriteend=function(t){e.error?r(e.error):n(t)},e.write(t)}))},t.prototype.writeFileInChunks=function(e,t){var n=0;function r(){var r=Math.min(1048576,t.size-n),i=t.slice(n,n+r);n+=r,e.write(i)}return Object(i.getPromise)((function(i,o){e.onerror=o,e.onwrite=function(){n<t.size?r():i()},r()}))},Object.defineProperty(t.prototype,"applicationDirectory",{get:function(){return Object(i.cordovaPropertyGet)(this,"applicationDirectory")},set:function(e){Object(i.cordovaPropertySet)(this,"applicationDirectory",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"applicationStorageDirectory",{get:function(){return Object(i.cordovaPropertyGet)(this,"applicationStorageDirectory")},set:function(e){Object(i.cordovaPropertySet)(this,"applicationStorageDirectory",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataDirectory",{get:function(){return Object(i.cordovaPropertyGet)(this,"dataDirectory")},set:function(e){Object(i.cordovaPropertySet)(this,"dataDirectory",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cacheDirectory",{get:function(){return Object(i.cordovaPropertyGet)(this,"cac
2heDirectory")},set:function(e){Object(i.cordovaPropertySet)(this,"cacheDirectory",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"externalApplicationStorageDirectory",{get:function(){return Object(i.cordovaPropertyGet)(this,"externalApplicationStorageDirectory")},set:function(e){Object(i.cordovaPropertySet)(this,"externalApplicationStorageDirectory",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"externalDataDirectory",{get:function(){return Object(i.cordovaPropertyGet)(this,"externalDataDirectory")},set:function(e){Object(i.cordovaPropertySet)(this,"externalDataDirectory",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"externalCacheDirectory",{get:function(){return Object(i.cordovaPropertyGet)(this,"externalCacheDirectory")},set:function(e){Object(i.cordovaPropertySet)(this,"externalCacheDirectory",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"externalRootDirectory",{get:function(){return Object(i.cordovaPropertyGet)(this,"externalRootDirectory")},set:function(e){Object(i.cordovaPropertySet)(this,"externalRootDirectory",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tempDirectory",{get:function(){return Object(i.cordovaPropertyGet)(this,"tempDirectory")},set:function(e){Object(i.cordovaPropertySet)(this,"tempDirectory",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"syncedDataDirectory",{get:function(){return Object(i.cordovaPropertyGet)(this,"syncedDataDirectory")},set:function(e){Object(i.cordovaPropertySet)(this,"syncedDataDirectory",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"documentsDirectory",{get:function(){return Object(i.cordovaPropertyGet)(this,"documentsDirectory")},set:function(e){Object(i.cordovaPropertySet)(this,"documentsDirectory",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sharedDirectory",{get:function(){return Object(i.cordovaPropertyGet)(this,"sharedDirectory")},set:function(e){Object(i.cordovaPropertySet)(this,"sharedDirectory",e)},enumerable:!0,configurable:!0}),t.pluginName="File",t.plugin="cordova-plugin-file",t.pluginRef="cordova.file",t.repo="https://github.com/apache/cordova-plugin-file",t.platforms=["Android","Browser","iOS","macOS","Windows"],t}(i.IonicNativePlugin)},tGlX:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={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?i[n][0]:i[n][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tT3J:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4
2wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tbfe:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,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:r,longMonthsParse:r,shortMonthsParse:r,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:"%
2d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},tfKx:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("mrSG"),i=n("ZZ/e"),o=n("8Y7J");let a=(()=>{class e{constructor(e,t){this.toast=e,this.alert=t,this.errArr={title:String,subTitle:String,message:String,button:String},this.statusArr={title:String,duration:Number,position:String},this.errorStack=[],this.alertPresented=!1,this.errArr["auth/invalid-user-token"]={title:"Authentication Failed",subTitle:null,message:"Looks like something went wrong during signin. Contact your SDO, error: ALPHA-INDIA",button:"Roger That"},this.errArr["auth/network-request-failed"]={title:"Network Unreachable",subTitle:null,message:"Looks like there was an issue connecting to the server. Please try again later.",button:"Roger That"},this.errArr["auth/too-many-requests"]={title:"Login Attempts Exceeded",subTitle:null,message:"Please try again later. If you have forgotten your password, use the Recover tool below.",button:"Roger That"},this.errArr["auth/wrong-password"]={title:"Email or Password Incorrect",subTitle:null,message:"Verify your Email and Password are correct and try again.",button:"Roger That"},this.errArr["auth/user-not-found"]={title:"Email or Password Incorrect",subTitle:null,message:"Verify your Email and Password are correct and try again.",button:"Roger That"},this.errArr["auth/user-disabled"]={title:"Account Inactive",subTitle:null,message:"Please see the SDO, error: UNIFORM-DELTA",button:"Got it, Chief"},this.errArr["auth/argument-error"]={title:"Connection Error",subTitle:null,message:"Contact the Admins, error: ALPHA-FOXTROT",button:"Got it, Chief"},this.errArr["auth/app-not-authorized"]={title:"Permission Error",subTitle:null,message:"Contact the Admins, error: ALPHA-ALPHA",button:"Got it, Chief"},this.errArr.pw_recover={title:"Check Email",subTitle:null,message:"Please see your email for further instructions.",button:"Roger That"}
2,this.errArr.access_blocked={title:"App Access Remotely Disabled",subTitle:null,message:"Contact the SDO for further instructions.",button:"Roger That"},this.errArr.PERMISSION_DENIED={title:"Above Your Paygrade",subTitle:null,message:"Looks like you don't have access to this. Contact an Administrator.",button:"Okay"},this.errArr["storage/unauthorized"]={title:"Negative Ghost Rider",subTitle:null,message:"You don't have access to this file. Contact an Administrator.",button:"Got it, Chief"},this.errArr.general={title:"Error",subTitle:null,message:"Something went wrong... If the problem persists, please contact the DEV team at [email protected].",button:"Roger That"},this.errArr.noMatchPW={title:"Negative Ghost Rider",subTitle:null,message:"Please enter the new password in both fields, making sure that they match.",button:"Roger That"},this.errArr.smallPW={title:"Negative Ghost Rider",subTitle:null,message:"Passwords need to be at least 8 characters in length.",button:"Roger That"},this.errArr.noCurPW={title:"Negative Ghost Rider",subTitle:null,message:"Please enter your current password as well as your new password.",button:"Roger That"},this.errArr.updateFailed={title:"Dangit, Bobby!",subTitle:null,message:"Something went wrong. We are working on it.",button:"Got it, Chief"},this.errArr.empty={title:"Blanks Not Allowed",subTitle:null,message:"Words. Required.",button:"Roger That"},this.errArr.numRequired={title:"Blanks Not Allowed",subTitle:null,message:"Number Required.",button:"Roger That"},this.errArr.notUnique={title:"Name Must Be Unique",subTitle:null,message:"Please enter a unique name.",button:"Got it, Chief"},this.errArr.hasWildcard={title:"Wildcards Not Allowed",subTitle:null,message:"Words like 'Index' can't be used because this causes the server to rage quit for some reason.",button:"Okay"},this.errArr.insufficientAccess={title:"Insufficient Access Rights",subTitle:null,message:"You don't have permission to access this.",button:"Roger That"},this.errArr.bulletinEmpty={title:"Push Notification Incomplete",subTitle:null,message:"Please enter a Title and Message for the push notification",button:"Got it, Chief"},this.errArr.pubBlank={title:"Pub Not Available",subTitle:null,message:"Looks like this pub has not been uploaded yet.",button:"Roger That"},this.errArr.cordovaonly={title:"App Use Only",subTitle:null,message:"This functionality is only available on iOS and Android devices.",button:"Got it, Chief"},this.errArr.login_timeout={title:"Login Failed",subTitle:null,message:"Let's try that again. It's possible that your internet connection was interrupted during the login proess.",button:"Roger That"},this.errArr.no_node={title:"Database Update Failure",subTitle:null,message:"Try going back a page, then retry. If the problem persists, contact the Dev team.",button:"Roger That"},this.errArr.no_double_form_submit={title:"Form Already Submitted",subTitle:null,message:"This form only allows you to respond once, and it looks like you have already submitted your answers.",button:"Got it, Chief"},this.errArr.registration_success={title:"Signup Successful",subTitle:null,message:"Please go see the SDO to verify your identity.",button:"Got it, Chief"},this.errArr.new_squadron_success={title:"Squadron Request Received",subTitle:null,message:"We'll be in contact soon to get the process started. Note that identity verification will be required.",button:"Roger That"},this.statusArr.addedUserToGroup={title:" Added to ",duration:1500,position:"top"},this.statusArr.removedUserFromGroup={title:" Removed From ",duration:1500,position:"top"},this.errArr.dl_illegal={title:"Download Not Permitted",subTitle:null,message:"This Pub is not permitted to be downloaded. Contact the Department responsible for this Pub if you believe this is an error.",button:"Got it, Chief"},this.errArr.dl_locked={title:"Download Not Permitted",subTitle:null,message:"This Pub is not permitted to be downloaded. Contact the Department responsible for this Pub if you believe this is an error..",button:"Got it, Chief"},this.errArr.dl_invalid={title:"Pub Address Error",subTitle:null,message:"Looks like something went wrong locating this Pub. Contact the developers, error: PAPA-INDIA,",button:"Roger That"},this.errArr.dl_denied={title:"Access Denied",subTitle:null,message:"You do not have access to this Pub. If you believe this is an error, have an Admin remove and then re-add you to the Group assigned to this Pub.",button:"Got it, Chief"},this.errArr.dl_failure={title:"Download Failure",subTitle:null,message:"Something went wrong in the file transfer. Pub Cache has been automatically reset. Please try again. If you continue to get an error, please report the bug.",button:"Roger That"},this.errArr.muster_failed={title:"Muster Confirmation Failed",subTitle:null,message:"Something went wrong. Contact your next in command or the SDO to muster.",button:"Got it, Chief"}}ngOnInit(e,t){e?t?this.showToast(t):this.showPopup(e):this.showPopup()}showPopup(e){return r.__awaiter(this,void 0,void 0,(function*(){if(e=e.code?e.code:e||"general",!this.alertPresented){this.alertPresented=!0,this.errorStack=[...this.errorStack,e];const t=yield this.alert.create({header:this.errArr[e]&&this.errArr[e].title?this.errArr[e].title:"Error",subHeader:this.errArr[e]&&this.errArr[e].subTitle?this.errArr[e].subTitle:null,message:this.errArr[e]&&this.errArr[e].message?this.errArr[e].message:"A general error has occured.",buttons:[{text:this.errArr[e]&&this.errArr[e].button?this.errArr[e].button:"OK",handler:()=>r.__awaiter(this,void 0,void 0,(function*(){if(this.errorStack.length>0&&this.errorStack[0]!==e){this.alertPresented=!1;const e=this.errorStack[0];return this.errorStack=this.errorStack.filter(t=>t!==e),yield this.showPopup(e)}return!0}))}]});return yield t.present(),yield t.onDidDismiss().then(()=>{this.alertPresented=!1,this.errorStack=this.errorStack.filter(t=>t!==e),this.errorStack.length>0&&this.showPopup({code:this.errorStack[0]})})}console.log("errorStack else: ",this.errorStack),this.errorStack=[...this.errorStack,e]}))}showToast(e){return r.__awaiter(this,void 0,void 0,(function*(){const t=yield this.toast.create({message:e.message,duration:e.duration?e.duration:1500,position:e.position?e.position:"top",cssClass:"toastClass"});yield t.present()}
2))}statusToast(e,t,n){const r=this.statusArr[e];r.title=t+this.statusArr[e].title+n,this.showToast(r)}}return e.ngInjectableDef=o.Zb({factory:function(){return new e(o.ac(i.Sb),o.ac(i.b))},token:e,providedIn:"root"}),e})()},u3GI:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={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?i[n][0]:i[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uEye:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uXwI:function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,i){return e+" "+n(t[i],e,r)}function i(e,r,i){return n(t[i],e,r)}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: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}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uzCt:function(e,t,n){e.exports=function(){"use strict";function e(t){return e.result?e.result:t&&"function"==typeof t.getSerializer?e.result=t.getSerializer():Promise.reject(new Error("localforage.getSerializer() was not available! localforage v1.4+ is required!"))}function t(e,n){return(t.result=t.result||{})[n]?t.result[n]:e&&"function"==typeof e.getDriver?t.result[n]=e.getDriver(n):Promise.reject(new Error("localforage.getDriver() was not available! localforage v1.4+ is required!"))}function n(e){return t(e,e.WEBSQL)}
2var r=new Promise((function(e,t){"undefined"!=typeof sqlitePlugin?e():"undefined"==typeof cordova?t(new Error("cordova is not defined.")):document.addEventListener("deviceready",(function(){return e()}),!1)})).catch((function(){return Promise.resolve()}));function i(){return r.then((function(){if("undefined"!=typeof sqlitePlugin&&"function"==typeof sqlitePlugin.openDatabase)return sqlitePlugin.openDatabase;throw new Error("SQLite plugin is not present.")}))}var o={_driver:"cordovaSQLiteDriver",_initStorage:function(t){var r=this,o={db:null};if(t)for(var a in t)o[a]="string"!=typeof t[a]?t[a].toString():t[a];var s=i().then((function(e){return new Promise((function(t,n){try{o.location=o.location||"default",o.db=e({name:o.name,version:String(o.version),description:o.description,size:o.size,key:o.dbKey,location:o.location})}catch(i){n(i)}o.db.transaction((function(e){e.executeSql("CREATE TABLE IF NOT EXISTS "+o.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],(function(){r._dbInfo=o,t()}),(function(e,t){n(t)}))}))}))})),l=e(r),u=n(r);return Promise.all([l,u,s]).then((function(e){return o.serializer=e[0],s}))},_support:function(){return i().then((function(e){return!!e})).catch((function(){return!1}))}};return function(e){var t=["clear","getItem","iterate","key","keys","length","removeItem","setItem"];function r(e,t){e[t]=function(){var e=this,r=arguments;return n(e).then((function(n){return n[t].apply(e,r)}))}}for(var i=0,o=t.length;i<o;i++)r(e,t[i])}(o),o}()},vBWn:function(e,t){var n,r,i=/^(?:0|[1-9]\d*)$/,o=Object.prototype,a=o.hasOwnProperty,s=o.toString,l=o.propertyIsEnumerable,u=(n=Object.keys,r=Object,function(e){return n(r(e))});function c(e,t){return!!(t=null==t?9007199254740991:t)&&("number"==typeof e||i.test(e))&&e>-1&&e%1==0&&e<t}var d=Array.isArray;function h(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?s.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)}e.exports=function(e){return h(e)?function(e,t){var n=d(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&h(e)}(e)&&a.call(e,"callee")&&(!l.call(e,"callee")||"[object Arguments]"==s.call(e))}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!a.call(e,o)||i&&("length"==o||c(o,r))||n.push(o);return n}(e):function(e){if((t=e)!==("function"==typeof(n=t&&t.constructor)&&n.prototype||o))return u(e);var t,n,r=[];for(var i in Object(e))a.call(e,i)&&"constructor"!=i&&r.push(i);return r}(e)}},vkgz:function(e,t,n){"use strict";var r=n("7o/Q");function i(){}var o=n("n6bG");function a(e,t,n){return function(r){return r.lift(new s(e,t,n))}}n.d(t,"a",(function(){return a}));class s{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new l(e,this.nextOrObserver,this.error,this.complete))}}class l extends r.a{constructor(e,t,n,r){super(e),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=n||i,this._tapComplete=r||i,Object(o.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||i,this._tapError=t.error||i,this._tapComplete=t.complete||i)}_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()}}},w1tV:function(e,t,n){"use strict";var r=n("XNiG"),i=n("HDdC"),o=n("7o/Q"),a=n("quSY");function s(){return function(e){return e.lift(new l(e))}}class l{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new u(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class u extends o.a{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;
2if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class c extends i.a{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 a.a,e.add(this.source.subscribe(new h(this.getSubject(),this))),e.closed&&(this._connection=null,e=a.a.EMPTY)),e}refCount(){return s()(this)}}const d=(()=>{const e=c.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 h extends r.b{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 f(){return new r.a}function p(){return e=>{return s()((t=f,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,d);return r.source=e,r.subjectFactory=n,r})(e));var t}}n.d(t,"a",(function(){return p}))},w26f:function(e,t){var n=/^\[object .+?Constructor\]$/,r="object"==typeof global&&global&&global.Object===Object&&global,i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();function a(e,t){return!(!e||!e.length)&&function(e,t,n){if(t!=t)return function(e,t,n,r){for(var i=e.length,o=-1;++o<i;)if(t(e[o],o,e))return o;return-1}(e,s);for(var r=-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t)>-1}function s(e){return e!=e}function l(e,t){return e.has(t)}function u(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var c,d=Array.prototype,h=Function.prototype,f=Object.prototype,p=o["__core-js_shared__"],m=(c=/[^.]+$/.exec(p&&p.keys&&p.keys.IE_PROTO||""))?"Symbol(src)_1."+c:"",g=h.toString,_=f.hasOwnProperty,y=f.toString,v=RegExp("^"+g.call(_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),b=d.splice,w=E(o,"Map"),k=E(o,"Set"),M=E(Object,"create");function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function T(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function x(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function L(e){var t=-1,n=e?e.length:0;for(this.__data__=new x;++t<n;)this.add(e[t])}function D(e,t){for(var n,r,i=e.length;i--;)if((n=e[i][0])===(r=t)||n!=n&&r!=r)return i;return-1}S.prototype.clear=function(){this.__data__=M?M(null):{}},S.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},S.prototype.get=function(e){var t=this.__data__;if(M){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return _.call(t,e)?t[e]:void 0},S.prototype.has=function(e){var t=this.__data__;return M?void 0!==t[e]:_.call(t,e)},S.prototype.set=function(e,t){return this.__data__[e]=M&&void 0===t?"__lodash_hash_undefined__":t,this},T.prototype.clear=function(){this.__data__=[]},T.prototype.delete=function(e){var t=this.__data__,n=D(t,e);return!(n<0||(n==t.length-1?t.pop():b.call(t,n,1),0))},T.prototype.get=function(e){var t=this.__data__,n=D(t,e);return n<0?void 0:t[n][1]},T.prototype.has=function(e){return D(this.__data__,e)>-1},T.prototype.set=function(e,t){var n=this.__data__,r=D(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},x.prototype.clear=function(){this.__data__={hash:new S,map:new(w||T),string:new S}},x.prototype.delete=function(e){return O(this,e).delete(e)},x.prototype.get=function(e){return O(this,e).get(e)},x.prototype.has=function(e){return O(this,e).has(e)},x.prototype.set=function(e,t){return O(this,e).set(e,t),this},L.prototype.add=L.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},L.prototype.has=function(e){return this.__data__.has(e)};var C=k&&1/u(new k([,-0]))[1]==1/0?function(e){return new k(e)}:function(){};function O(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function E(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!j(e)||(t=e,m&&m in t))&&(function(e){var t=j(e)?y.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}(e)?v:n).test(function(e){if(null!=e){try{return g.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e));var t}(r)?r:void 0}function j(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){return e&&e.length?function(e,t,n){var r=-1,i=a,o=e.length,s=!0,c=[],d=c;if(o>=200){var h=C(e);if(h)return u(h);s=!1,i=l,d=new L}else d=c;e:for(;++r<o;){var f=e[r],p=f;if(f=0!==f?f:0,s&&p==p){for(var m=d.length;m--;)if(d[m]===p)continue e;c.push(f)}else i(d,p,void 0)||(d!==c&&d.push(p),c.push(f))}return c}(e):[]}},wMzM:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
2));var r=n("mrSG"),i=n("a3Cf"),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t.prototype.open=function(e,t){return Object(i.cordova)(this,"open",{callbackStyle:"object",successName:"success",errorName:"error"},arguments)},t.prototype.uninstall=function(e){return Object(i.cordova)(this,"uninstall",{callbackStyle:"object",successName:"success",errorName:"error"},arguments)},t.prototype.appIsInstalled=function(e){return Object(i.cordova)(this,"appIsInstalled",{callbackStyle:"object",successName:"success",errorName:"error"},arguments)},t.prototype.showOpenWithDialog=function(e,t){return Object(i.cordova)(this,"showOpenWithDialog",{callbackStyle:"object",successName:"success",errorName:"error"},arguments)},t.pluginName="FileOpener",t.plugin="cordova-plugin-file-opener2",t.pluginRef="cordova.plugins.fileOpener2",t.repo="https://github.com/pwlin/cordova-plugin-file-opener2",t.platforms=["Android","iOS","Windows","Windows Phone 8"],t}(i.IonicNativePlugin)},wQk9:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n("wd/R"))},"wd/R":function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(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 s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function u(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function h(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function f(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,r){return St(e,t,n,r,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invali
vendor: 10,562 bytes, line 2
2dMonth: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=m(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),i=!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&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function _(e){var t=p(NaN);return null!=e?f(m(t),e):m(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var y=i.momentProperties=[],v=!1;function b(e,t){var n,r,i;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=m(t)),u(t._locale)||(e._locale=t._locale),y.length>0)for(n=0;n<y.length;n++)u(i=t[r=y[n]])||(e[r]=i);return e}function w(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,i.updateOffset(this),v=!1)}function k(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function M(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return f((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var r,o,a,l=[];for(o=0;o<arguments.length;o++){if(r="","object"==typeof arguments[o]){for(a in r+="\n["+o+"] ",arguments[0])s(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[o];l.push(r)}M(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var T,x={};function L(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),x[e]||(M(t),x[e]=!0)}function D(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function C(e,t){var n,r=f({},e);for(n in t)s(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&a(e[n])&&(r[n]=f({},r[n]));return r}function O(e){null!=e&&this.set(e)}function E(e,t,n){var r=""+Math.abs(e);return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-r.length)).toString().substr(1)+r}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var j=/(\[[^\[]*\])|(\\)?([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,A=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,P={},I={};function Y(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(I[e]=i),t&&(I[t[0]]=function(){return E(i.apply(this,arguments),t[1],t[2])}),n&&(I[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function R(e,t){return e.isValid()?(t=N(t,e.localeData()),P[t]=P[t]||function(e){var t,n,r,i=e.match(j);for(t=0,n=i.length;t<n;t++)i[t]=I[i[t]]?I[i[t]]:(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=D(i[r])?i[r].call(t,e):i[r];return o}}(t),P[t](e)):e.localeData().invalidDate()}function N(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(A.lastIndex=0;n>=0&&A.test(e);)e=e.replace(A,r),A.lastIndex=0,n-=1;return e}var F={};function H(e,t){var n=e.toLowerCase();F[n]=F[n+"s"]=F[t]=e}function $(e){return"string"==typeof e?F[e]||F[e.toLowerCase()]:void 0}function z(e){var t,n,r={};for(n in e)s(e,n)&&(t=$(n))&&(r[t]=e[n]);return r}var W={};function U(e,t){W[e]=t}function B(e){return e%4==0&&e%100!=0||e%400==0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function q(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=V(t)),n}function G(e,t){return function(n){return null!=n?(J(this,e,n),i.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,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&B(e.year())&&1===e.month()&&29===e.date()?(n=q(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),ke(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Q,X=/\d/,Z=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,ie=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,ae=/\d{1,3}/,se=/\d{1,4}/,le=/[+-]?\d{1,6}/,ue=/\d+/,ce=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,fe=/[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,n){Q[e]=D(t)?t:function(e,r){return e&&n?n:t}}function me(e,t){return s(Q,e)?Q[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i}))))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var _e,ye={};function ve(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,n){n[t]=q(e)}),n=0;n<e.length;n++)ye[e[n]]=r}function be(e,t){ve(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function we(e,t,n){null!=t&&s(ye,e)&&ye[e](t,n._a,n,e)}function ke(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?B(e)?29:28:31-n%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},Y("M",["MM",2],"Mo",(function(){return this.month()+1})),Y("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),Y("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),H("month","M"),U("month",8),pe("M",re),pe("MM",re,Z),pe("MMM",(function(e,t){return t.monthsShortRegex(e)})),pe("MMMM",(function(e,t){return t.monthsRegex(e)})),ve(["M","MM"],(function(e,t){t[1]=q(e)-1})),ve(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[1]=i:m(n).invalidMonth=e}));var Me="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Se="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Te=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,xe=fe,Le=fe;function De(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,a))?i:null:-1!==(i=_e.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,a))||-1!==(i=_e.call(this._longMonthsParse,a))?i:null:-1!==(i=_e.call(this._longMonthsParse,a))||-1!==(i=_e.call(this._shortMonthsParse,a))?i:null}function Ce(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=q(t);else if(!c(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),ke(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Oe(e){return null!=e?(Ce(this,e),i.updateOffset(this,!0),this):K(this,"Month")}function Ee(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=p([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=ge(r[t]),i[t]=ge(i[t]);for(t=0;t<24;t++)o[t]=ge(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function je(e){return B(e)?366:365}Y("Y",0,0,(function(){var e=this.year();return e<=9999?E(e,4):"+"+e})),Y(0,["YY",2],0,(function(){return this.year()%100})),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),H("year","y"),U("year",1),pe("Y",ce),pe("YY",re,Z),pe("YYYY",se,te),pe("YYYYY",le,ne),pe("YYYYYY",le,ne),ve(["YYYYY","YYYYYY"],0),ve("YYYY",(function(e,t){t[0]=2===e.length?i.parseTwoDigitYear(e):q(e)})),ve("YY",(function(e,t){t[0]=i.parseTwoDigitYear(e)})),ve("Y",(function(e,t){t[0]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return q(e)+(q(e)>68?1900:2e3)};var Ae=G("FullYear",!0);function Pe(e,t,n,r,i,o,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function Ie(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ye(e,t,n){var r=7+t-n;return-(7+Ie(e,0,r).getUTCDay()-t)%7+r-1}function Re(e,t,n,r,i){var o,a,s=1+7*(t-1)+(7+n-r)%7+Ye(e,r,i);return s<=0?a=je(o=e-1)+s:s>je(e)?(o=e+1,a=s-je(e)):(o=e,a=s),{year:o,dayOfYear:a}}function Ne(e,t,n){var r,i,o=Ye(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?r=a+Fe(i=e.year()-1,t,n):a>Fe(e.year(),t,n)?(r=a-Fe(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Fe(e,t,n){var r=Ye(e,t,n),i=Ye(e+1,t,n);return(je(e)-r+i)/7}function He(e,t){return e.slice(t,7).concat(e.slice(0,t))}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),H("week","w"),H("isoWeek","W"),U("week",5),U("isoWeek",5),pe("w",re),pe("ww",re,Z),pe("W",re),pe("WW",re,Z),be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=q(e)})),Y("d",0,"do","day"),Y("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),Y("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),Y("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),H("day","d"),H("weekday","e"),H("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),pe("d",re),pe("e",re),pe("E",re),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)})),be(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._str
vendor: 4,084 bytes, line 2
2ict);null!=i?t.d=i:m(n).invalidWeekday=e})),be(["d","e","E"],(function(e,t,n,r){t[r]=q(e)}));var $e="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),We="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ue=fe,Be=fe,Ve=fe;function qe(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,a))||-1!==(i=_e.call(this._shortWeekdaysParse,a))||-1!==(i=_e.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,a))||-1!==(i=_e.call(this._weekdaysParse,a))||-1!==(i=_e.call(this._minWeekdaysParse,a))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,a))||-1!==(i=_e.call(this._weekdaysParse,a))||-1!==(i=_e.call(this._shortWeekdaysParse,a))?i:null}function Ge(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),r=ge(this.weekdaysMin(n,"")),i=ge(this.weekdaysShort(n,"")),o=ge(this.weekdays(n,"")),a.push(r),s.push(i),l.push(o),u.push(r),u.push(i),u.push(o);a.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ke(){return this.hours()%12||12}function Je(e,t){Y(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Qe(e,t){return t._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Ke),Y("k",["kk",2],0,(function(){return this.hours()||24})),Y("hmm",0,0,(function(){return""+Ke.apply(this)+E(this.minutes(),2)})),Y("hmmss",0,0,(function(){return""+Ke.apply(this)+E(this.minutes(),2)+E(this.seconds(),2)})),Y("Hmm",0,0,(function(){return""+this.hours()+E(this.minutes(),2)})),Y("Hmmss",0,0,(function(){return""+this.hours()+E(this.minutes(),2)+E(this.seconds(),2)})),Je("a",!0),Je("A",!1),H("hour","h"),U("hour",13),pe("a",Qe),pe("A",Qe),pe("H",re),pe("h",re),pe("k",re),pe("HH",re,Z),pe("hh",re,Z),pe("kk",re,Z),pe("hmm",ie),pe("hmmss",oe),pe("Hmm",ie),pe("Hmmss",oe),ve(["H","HH"],3),ve(["k","kk"],(function(e,t,n){var r=q(e);t[3]=24===r?0:r})),ve(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ve(["h","hh"],(function(e,t,n){t[3]=q(e),m(n).bigHour=!0})),ve("hmm",(function(e,t,n){var r=e.length-2;t[3]=q(e.substr(0,r)),t[4]=q(e.substr(r)),m(n).bigHour=!0})),ve("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=q(e.substr(0,r)),t[4]=q(e.substr(r,2)),t[5]=q(e.substr(i)),m(n).bigHour=!0})),ve("Hmm",(function(e,t,n){var r=e.length-2;t[3]=q(e.substr(0,r)),t[4]=q(e.substr(r))})),ve("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=q(e.substr(0,r)),t[4]=q(e.substr(r,2)),t[5]=q(e.substr(i))}));var Xe,Ze=G("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Me,monthsShort:Se,week:{dow:0,doy:6}
vendor: 18,239 bytes, line 2
2,weekdays:$e,weekdaysMin:We,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function it(e){return e?e.toLowerCase().replace("_","-"):e}function ot(t){var r=null;if(void 0===tt[t]&&void 0!==e&&e&&e.exports)try{r=Xe._abbr,n("RnhZ")("./"+t),at(r)}catch(i){tt[t]=null}return tt[t]}function at(e,t){var n;return e&&((n=u(t)?lt(e):st(e,t))?Xe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Xe._abbr}function st(e,t){if(null!==t){var n,r=et;if(t.abbr=e,null!=tt[e])L("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."),r=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])r=tt[t.parentLocale]._config;else{if(null==(n=ot(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return tt[e]=new O(C(r,t)),nt[e]&&nt[e].forEach((function(e){st(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 Xe;if(!o(e)){if(t=ot(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=it(e[o]).split("-")).length,n=(n=it(e[o+1]))?n.split("-"):null;t>0;){if(r=ot(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&rt(i,n)>=t-1)break;t--}o++}return Xe}(e)}function ut(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>ke(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,m(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),m(e)._overflowWeeks&&-1===t&&(t=7),m(e)._overflowWeekday&&-1===t&&(t=8),m(e).overflow=t),e}var ct=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,ft=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],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/]],mt=/^\/?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,n,r,i,o,a,s=e._i,l=ct.exec(s)||dt.exec(s);if(l){for(m(e).iso=!0,t=0,n=ft.length;t<n;t++)if(ft[t][1].exec(l[1])){i=ft[t][0],r=!1!==ft[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(l[3])){o=(l[2]||" ")+pt[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!ht.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),kt(e)}else e._isValid=!1}function vt(e){var t,n,r,i,o,a,s,l,u,c=gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[3],r=c[2],i=c[5],o=c[6],a=c[7],s=[(l=c[4],u=parseInt(l,10),u<=49?2e3+u:u<=999?1900+u:u),Se.indexOf(n),parseInt(r,10),parseInt(i,10),parseInt(o,10)],a&&s.push(parseInt(a,10)),!function(e,t,n){return!e||ze.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],t=s,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return _t[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(c[8],c[9],c[10]),e._d=Ie.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function bt(e,t,n){return null!=e?e:null!=t?t:n}function wt(e){var t,n,r,o,a,s=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,i,o,a,s,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,a=4,n=bt(t.GG,e._a[0],Ne(Tt(),1,4).year),r=bt(t.W,1),((i=bt(t.E,1))<1||i>7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,u=Ne(Tt(),o,a),n=bt(t.gg,e._a[0],u.year),r=bt(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o),r<1||r>Fe(n,o,a)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(s=Re(n,r,i,o,a),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=bt(e._a[0],r[0]),(e._dayOfYear>je(a)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=Ie(a,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ie:Pe).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(m(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],m(e).empty=!0;var t,n,r,o,a,s,l=""+e._i,u=l.length,c=0;for(r=N(e._f,e._locale).match(j)||[],t=0;t<r.length;t++)(n=(l.match(me(o=r[t],e))||[])[0])&&((a=l.substr(0,l.indexOf(n))).length>0&&m(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),c+=n.length),I[o]?(n?m(e).empty=!1:m(e).unusedTokens.push(o),we(o,n,e)):e._strict&&!n&&m(e).unusedTokens.push(o);m(e).charsLeftOver=u-c,l.length>0&&m(e).unusedInput.push(l),e._a[3]<=12&&!0===m(e).bigHour&&e._a[3]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=m(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),wt(e),ut(e)}else vt(e);else yt(e)}function Mt(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new w(ut(t)):(d(t)?e._d=t:o(n)?function(e){var t,n,r,i,o,a,s=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,a=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],kt(t),g(t)&&(a=!0),o+=m(t).charsLeftOver,o+=10*m(t).unusedTokens.length,m(t).score=o,s?o<r&&(r=o,n=t):(null==r||o<r||a)&&(r=o,n=t,a&&(s=!0));f(e,n||t)}(e):n?kt(e):function(e){var t=e._i;u(t)?e._d=new Date(i.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=mt.exec(e._i);null===t?(yt(e),!1===e._isValid&&(delete e._isValid,vt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),wt(e)):a(t)?function(e){if(!e._d){var t=z(e._i);e._a=h([t.year,t.month,void 0===t.day?t.date:t.day,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),wt(e)}}(e):c(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function St(e,t,n,r,i){var s,u={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=i,u._l=n,u._i=e,u._f=t,u._strict=r,(s=new w(ut(Mt(u))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Tt(e,t,n,r){return St(e,t,n,r,!1)}i.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var xt=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_()})),Lt=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Tt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_()}));function Dt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Tt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Ct=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ot(e){var t=z(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,a=t.day||0,l=t.hour||0,u=t.minute||0,c=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(s(e,t)&&(-1===_e.call(Ct,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Ct.length;++n)if(e[Ct[n]]){if(r)return!1;parseFloat(e[Ct[n]])!==q(e[Ct[n]])&&(r=!0)}return!0}(t),this._milliseconds=+d+1e3*c+6e4*u+1e3*l*60*60,this._days=+a+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=lt(),this._bubble()}function Et(e){return e instanceof Ot}function jt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function At(e,t){Y(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+E(~~(e/60),2)+t+E(~~e%60,2)}))}At("Z",":"),At("ZZ",""),pe("Z",he),pe("ZZ",he),ve(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=It(he,e)}));var Pt=/([\+\-]|\d\d)/gi;function It(e,t){var n,r,i=(t||"").match(e);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(Pt)||["-",0,0])[1]+q(n[2]))?0:"+"===n[0]?r:-r}function Yt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(k(e)||d(e)?e.valueOf():Tt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Tt(e).local()}function Rt(e){return-Math.round(e._d.getTimezoneOffset())}function Nt(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Ft=/^(-|\+)?(?:(\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 $t(e,t){var n,r,i,o,a,l,u=e,d=null;return Et(e)?u={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(u={},t?u[t]=+e:u.milliseconds=+e):(d=Ft.exec(e))?(n="-"===d[1]?-1:1,u={y:0,d:q(d[2])*n,h:q(d[3])*n,m:q(d[4])*n,s:q(d[5])*n,ms:q(jt(1e3*d[6]))*n}):(d=Ht.exec(e))?u={y:zt(d[2],n="-"===d[1]?-1:1),M:zt(d[3],n),w:zt(d[4],n),d:zt(d[5],n),h:zt(d[6],n),m:zt(d[7],n),s:zt(d[8],n)}:null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(o=Tt(u.from),a=Tt(u.to),i=o.isValid()&&a.isValid()?(a=Yt(a,o),o.isBefore(a)?l=Wt(o,a):((l=Wt(a,o)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(u={}).ms=i.milliseconds,u.M=i.months),r=new Ot(u),Et(e)&&s(e,"_locale")&&(r._locale=e._locale),Et(e)&&s(e,"_isValid")&&(r._isValid=e._isValid),r}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Wt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ut(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(L(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."),i=n,n=r,r=i),Bt(this,$t(n,r),e),this}}function Bt(e,t,n,r){var o=t._milliseconds,a=jt(t._days),s=jt(t._months);e.isValid()&&(r=null==r||r,s&&Ce(e,K(e,"Month")+s*n),a&&J(e,"Date",K(e,"Date")+a*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,a||s))}$t.fn=Ot.prototype,$t.invalid=function(){return $t(NaN)};var Vt=Ut(1,"add"),qt=Ut(-1,"subtract");function Gt(e){return"string"==typeof e||e instanceof String}function Kt(e){return k(e)||d(e)||Gt(e)||c(e)||function(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&Gt(e)})).length),t&&n}(e)||function(e){var t,n=a(e)&&!l(e),r=!1,i=["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<i.length;t+=1)r=r||s(e,i[t]);return n&&r}(e)||null==e}function Jt(e){var t,n=a(e)&&!l(e),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)r=r||s(e,i[t]);return n&&r}function Qt(e,t){if(e.date()<t.date())return-Qt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Xt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Zt=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function en(){return this._locale}function tn(e,t){return(e%t+t)%t}function nn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function rn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function an(){var e,t,n=[],r=[],i=[],o=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(ge(a[e].name)),n.push(ge(a[e].abbr)),i.push(ge(a[e].narrow)),o.push(ge(a[e].name)),o.push(ge(a[e].abbr)),o.push(ge(a[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function sn(e,t){Y(0,[e,e.length],0,t)}function ln(e,t,n,r,i){var o;return null==e?Ne(this,r,i).year:(t>(o=Fe(e,r,i))&&(t=o),un.call(this,e,t,n,r,i))}function un(e,t,n,r,i){var o=Re(e,t,n,r,i),a=Ie(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),pe("N",on),pe("NN",on),pe("NNN",on),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ve(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?m(n).era=i:m(n).invalidEra=e})),pe("y",ue),pe("yy",ue),pe("yyy",ue),pe("yyyy",ue),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||ue})),ve(["y","yy","yyy","yyyy"],0),ve(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),t[0]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(e,i):parseInt(e,10)})),Y(0,["gg",2],0,(function(){return this.weekYear()%100})),Y(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),sn("gggg","weekYear"),sn("ggggg","weekYear"),sn("GGGG","isoWeekYear"),sn("GGGGG","isoWeekYear"),H("weekYear","gg"),H("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),pe("G",ce),pe("g",ce),pe("GG",re,Z),pe("gg",re,Z),pe("GGGG",se,te),pe("gggg",se,te),pe("GGGGG",le,ne),pe("ggggg",le,ne),be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=q(e)})),be(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),Y("Q",0,"Qo","quarter"),H("quarter","Q"),U("quarter",7),pe("Q",X),ve("Q",(function(e,t){t[1]=3*(q(e)-1)})),Y("D",["DD",2],"Do","date"),H("date","D"),U("date",9),pe("D",re),pe("DD",re,Z),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ve(["D","DD"],2),ve("Do",(function(e,t){t[2]=q(e.match(re)[0])}));var cn=G("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),H("dayOfYear","DDD"),U("dayOfYear",4),pe("DDD",ae),pe("DDDD",ee),ve(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=q(e)})),Y("m",["mm",2],0,"minute"),H("minute","m"),U("minute",14),pe("m",re),pe("mm",re,Z),ve(["m","mm"],4);var dn=G("Minutes",!1);Y("s",["ss",2],0,"second"),H("second","s"),U("second",15),pe("s",re),pe("ss",re,Z),ve(["s","ss"],5);var hn,fn,pn=G("Seconds",!1);for(Y("S",0,0,(function(){return~~(this.millisecond()/100)})),Y(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Y(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Y(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Y(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Y(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Y(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),H("millisecond","ms"),U("millisecond",16),pe("S",ae,X),pe("SS",ae,Z),pe("SSS",ae,ee),hn="SSSS";hn.length<=9;hn+="S")pe(hn,ue);function mn(e,t){t[6]=q(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")ve(hn,mn);fn=G("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var gn=w.prototype;function _n(e){return e}gn.add=Vt,gn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):Jt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Tt(),r=Yt(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",a=t&&(D(t[o])?t[o].c
vendor: 4,235 bytes, line 2
2all(this,n):t[o]);return this.format(a||this.localeData().calendar(o,this,Tt(n)))},gn.clone=function(){return new w(this)},gn.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Yt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=$(t)){case"year":o=Qt(this,r)/12;break;case"month":o=Qt(this,r);break;case"quarter":o=Qt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:V(o)},gn.endOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tn(t,1e3)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},gn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=R(this,e);return this.localeData().postformat(t)},gn.from=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Tt(e).isValid())?$t({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},gn.fromNow=function(e){return this.from(Tt(),e)},gn.to=function(e,t){return this.isValid()&&(k(e)&&e.isValid()||Tt(e).isValid())?$t({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},gn.toNow=function(e){return this.to(Tt(),e)},gn.get=function(e){return D(this[e=$(e)])?this[e]():this},gn.invalidAt=function(){return m(this).overflow},gn.isAfter=function(e,t){var n=k(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},gn.isBefore=function(e,t){var n=k(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},gn.isBetween=function(e,t,n,r){var i=k(e)?e:Tt(e),o=k(t)?t:Tt(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))},gn.isSame=function(e,t){var n,r=k(e)?e:Tt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=$(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},gn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},gn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},gn.isValid=function(){return g(this)},gn.lang=Zt,gn.locale=Xt,gn.localeData=en,gn.max=Lt,gn.min=xt,gn.parsingFlags=function(){return f({},m(this))},gn.set=function(e,t){if("object"==typeof e){var n,r=function(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:W[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=z(e));for(n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit])}else if(D(this[e=$(e)]))return this[e](t);return this},gn.startOf=function(e){var t,n;if(void 0===(e=$(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?rn:nn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=tn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tn(t,6e4);break;case"second":t=this._d.valueOf(),t-=tn(t,1e3)}
vendor: 18,085 bytes, line 2
2return this._d.setTime(t),i.updateOffset(this,!0),this},gn.subtract=qt,gn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},gn.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()}},gn.toDate=function(){return new Date(this.valueOf())},gn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?R(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(n,"Z")):R(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},gn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n="moment",r="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+n+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+r+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(gn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),gn.toJSON=function(){return this.isValid()?this.toISOString():null},gn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},gn.unix=function(){return Math.floor(this.valueOf()/1e3)},gn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},gn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},gn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""},gn.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""},gn.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""},gn.eraYear=function(){var e,t,n,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,r=this.clone().startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return(this.year()-i(o[e].since).year())*n+o[e].offset;return this.year()},gn.year=Ae,gn.isLeapYear=function(){return B(this.year())},gn.weekYear=function(e){return ln.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},gn.isoWeekYear=function(e){return ln.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},gn.quarter=gn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},gn.month=Oe,gn.daysInMonth=function(){return ke(this.year(),this.month())},gn.week=gn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},gn.isoWeek=gn.isoWeeks=function(e){var t=Ne(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},gn.weeksInYear=function(){var e=this.localeData()._week;return Fe(this.year(),e.dow,e.doy)},gn.weeksInWeekYear=function(){var e=this.localeData()._week;return Fe(this.weekYear(),e.dow,e.doy)},gn.isoWeeksInYear=function(){return Fe(this.year(),1,4)},gn.isoWeeksInISOWeekYear=function(){return Fe(this.isoWeekYear(),1,4)},gn.date=cn,gn.day=gn.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},gn.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")},gn.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},gn.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")},gn.hour=gn.hours=Ze,gn.minute=gn.minutes=dn,gn.second=gn.seconds=pn,gn.millisecond=gn.milliseconds=fn,gn.utcOffset=function(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=It(he,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Rt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Bt(this,$t(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Rt(this)},gn.utc=function(e){return this.utcOffset(0,e)},gn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Rt(this),"m")),this},gn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=It(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},gn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Tt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},gn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},gn.isLocal=function(){return!!this.isValid()&&!this._isUTC},gn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},gn.isUtc=Nt,gn.isUTC=Nt,gn.zoneAbbr=function(){return this._isUTC?"UTC":""},gn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},gn.dates=S("dates accessor is deprecated. Use date instead.",cn),gn.months=S("months accessor is deprecated. Use month instead",Oe),gn.years=S("years accessor is deprecated. Use year instead",Ae),gn.zone=S("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()})),gn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Mt(t))._a?(e=t._isUTC?p(t._a):Tt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r<i;r++)q(e[r])!==q(t[r])&&a++;return a+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var yn=O.prototype;function vn(e,t,n,r){var i=lt(),o=p().set(r,t);return i[n](o,e)}function bn(e,t,n){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return vn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=vn(e,r,n,"month");return i}function wn(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=lt(),a=e?o._week.dow:0,s=[];if(null!=n)return vn(t,(n+a)%7,r,"day");for(i=0;i<7;i++)s[i]=vn(t,(i+a)%7,r,"day");return s}yn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r},yn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(j).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},yn.invalidDate=function(){return this._invalidDate},yn.ordinal=function(e){return this._ordinal.replace("%d",e)},yn.preparse=_n,yn.postformat=_n,yn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return D(i)?i(e,t,n,r):i.replace(/%d/i,e)},yn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(n)?n(t):n.replace(/%s/i,t)},yn.set=function(e){var t,n;for(n in e)s(e,n)&&(D(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yn.eras=function(e,t){var n,r,o,a=this._eras||lt("en")._eras;for(n=0,r=a.length;n<r;++n){switch(typeof a[n].since){case"string":o=i(a[n].since).startOf("day"),a[n].since=o.valueOf()}switch(typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":o=i(a[n].until).startOf("day").valueOf(),a[n].until=o.valueOf()}}return a},yn.erasParse=function(e,t,n){var r,i,o,a,s,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([o,a,s].indexOf(e)>=0)return l[r]},yn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n},yn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},yn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},yn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},yn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Te).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},yn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Te.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yn.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return De.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},yn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ee.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Le),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},yn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Ee.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=xe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},yn.week=function(e){return Ne(e,this._week.dow,this._week.doy).week},yn.firstDayOfYear=function(){return this._week.doy},yn.firstDayOfWeek=function(){return this._week.dow},yn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?He(n,this._week.dow):e?n[e.day()]:n},yn.weekdaysMin=function(e){return!0===e?He(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},yn.weekdaysShort=function(e){return!0===e?He(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},yn.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return qe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},yn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},yn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Be),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ge.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ve),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},yn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"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===q(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=S("moment.lang is deprecated. Use moment.locale instead.",at),i.langData=S("moment.langData is deprecated. Use moment.localeData instead.",lt);var kn=Math.abs;function Mn(e,t,n,r){var i=$t(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Sn(e){return e<0?Math.floor(e):Math.ceil(e)}function Tn(e){return 4800*e/146097}function xn(e){return 146097*e/4800}function Ln(e){return function(){return this.as(e)}}var Dn=Ln("ms"),Cn=Ln("s"),On=Ln("m"),En=Ln("h"),jn=Ln("d"),An=Ln("w"),Pn=Ln("M"),In=Ln("Q"),Yn=Ln("y");function Rn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Nn=Rn("milliseconds"),Fn=Rn("seconds"),Hn=Rn("minutes"),$n=Rn("hours"),zn=Rn("days"),Wn=Rn("months"),Un=Rn("years"),Bn=Math.round,Vn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function qn(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var Gn=Math.abs;function Kn(e){return(e>0)-(e<0)||+e}function Jn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,a,s,l=Gn(this._milliseconds)/1e3,u=Gn(this._days),c=Gn(this._months),d=this.asSeconds();return d?(e=V(l/60),t=V(e/60),l%=60,e%=60,n=V(c/12),c%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",o=Kn(this._months)!==Kn(d)?"-":"",a=Kn(this._days)!==Kn(d)?"-":"",s=Kn(this._milliseconds)!==Kn(d)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?a+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var Qn=Ot.prototype;return Qn.isValid=function(){return this._isValid},Qn.abs=function(){var e=this._data;return this._milliseconds=kn(this._milliseconds),this._days=kn(this._days),this._months=kn(this._months),e.milliseconds=kn(e.milliseconds),e.seconds=kn(e.seconds),e.minutes=kn(e.minutes),e.hours=kn(e.hours),e.months=kn(e.months),e.years=kn(e.years),this},Qn.add=function(e,t){return Mn(this,e,t,1)},Qn.subtract=function(e,t){return Mn(this,e,t,-1)},Qn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=$(e))||"quarter"===e||"year"===e)switch(n=this._months+Tn(t=this._days+r/864e5),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(xn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Qn.asMilliseconds=Dn,Qn.asSeconds=Cn,Qn.asMinutes=On,Qn.asHours=En,Qn.asDays=jn,Qn.asWeeks=An,Qn.asMonths=Pn,Qn.asQuarters=In,Qn.asYears=Yn,Qn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*q(this._months/12):NaN},Qn._bubble=function(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Sn(xn(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=V(o/1e3),l.seconds=e%60,t=V(e/60),l.minutes=t%60,n=V(t/60),l.hours=n%24,a+=V(n/24),s+=i=V(Tn(a)),a-=Sn(xn(i)),r=V(s/12),s%=12,l.days=a,l.months=s,l.years=r,this},Qn.clone=function(){return $t(this)},Qn.get=function(e){return e=$(e),this.isValid()?this[e+"s"]():NaN},Qn.milliseconds=Nn,Qn.seconds=Fn,Qn.minutes=Hn,Qn.hours=$n,Qn.days=zn,Qn.weeks=function(){return V(this.days()/7)},Qn.months=Wn,Qn.years=Un,Qn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=Vn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},Vn,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),r=function(e,t,n,r){var i=$t(e).abs(),o=Bn(i.as("s")),a=Bn(i.as("m")),s=Bn(i.as("h")),l=Bn(i.as("d")),u=Bn(i.as("M")),c=Bn(i.as("w")),d=Bn(i.as("y")),h=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];
2return null!=n.w&&(h=h||c<=1&&["w"]||c<n.w&&["ww",c]),(h=h||u<=1&&["M"]||u<n.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=t,h[3]=+e>0,h[4]=r,qn.apply(null,h)}(this,!i,o,n=this.localeData()),i&&(r=n.pastFuture(+this,r)),n.postformat(r)},Qn.toISOString=Jn,Qn.toString=Jn,Qn.toJSON=Jn,Qn.locale=Xt,Qn.localeData=en,Qn.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Jn),Qn.lang=Zt,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),pe("x",ce),pe("X",/[+-]?\d+(\.\d{1,3})?/),ve("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ve("x",(function(e,t,n){n._d=new Date(q(e))})),i.version="2.29.1",t=Tt,i.fn=gn,i.min=function(){var e=[].slice.call(arguments,0);return Dt("isBefore",e)},i.max=function(){var e=[].slice.call(arguments,0);return Dt("isAfter",e)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=p,i.unix=function(e){return Tt(1e3*e)},i.months=function(e,t){return bn(e,t,"months")},i.isDate=d,i.locale=at,i.invalid=_,i.duration=$t,i.isMoment=k,i.weekdays=function(e,t,n){return wn(e,t,n,"weekdays")},i.parseZone=function(){return Tt.apply(null,arguments).parseZone()},i.localeData=lt,i.isDuration=Et,i.monthsShort=function(e,t){return bn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return wn(e,t,n,"weekdaysMin")},i.defineLocale=st,i.updateLocale=function(e,t){if(null!=t){var n,r,i=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(C(tt[e]._config,t)):(null!=(r=ot(e))&&(i=r._config),t=C(i,t),null==r&&(t.abbr=e),(n=new O(t)).parentLocale=tt[e],tt[e]=n),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]},i.locales=function(){return T(tt)},i.weekdaysShort=function(e,t,n){return wn(e,t,n,"weekdaysShort")},i.normalizeUnits=$,i.relativeTimeRounding=function(e){return void 0===e?Bn:"function"==typeof e&&(Bn=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==Vn[e]&&(void 0===t?Vn[e]:(Vn[e]=t,"s"===e&&(Vn.ss=t-1),!0))},i.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=gn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n("YuTi")(e))},wj3C:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i,o=n("mrSG"),a=n("zVF4"),s=n("S+S0"),l=n("q/0M"),u=((r={})["no-app"]="No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()",r["bad-app-name"]="Illegal App name: '{$appName}",r["duplicate-app"]="Firebase App named '{$appName}' already exists",r["app-deleted"]="Firebase App named '{$appName}' already deleted",r["invalid-app-argument"]="firebase.{$appName}() takes either no argument or a Firebase App instance.",r["invalid-log-argument"]="First argument to `onLog` must be null or a function.",r),c=new a.ErrorFactory("app","Firebase",u),d=((i={})["@firebase/app"]="fire-core",i["@firebase/analytics"]="fire-analytics",i["@firebase/auth"]="fire-auth",i["@firebase/database"]="fire-rtdb",i["@firebase/functions"]="fire-fn",i["@firebase/installations"]="fire-iid",i["@firebase/messaging"]="fire-fcm",i["@firebase/performance"]="fire-perf",i["@firebase/remote-config"]="fire-rc",i["@firebase/storage"]="fire-gcs",i["@firebase/firestore"]="fire-fst",i["fire-js"]="fire-js",i["firebase-wrapper"]="fire-js-all",i),h=new l.Logger("@firebase/app"),f=function(){function e(e,t,n){var r,i,l=this;this.firebase_=n,this.isDeleted_=!1,this.name_=t.name,this.automaticDataCollectionEnabled_=t.automaticDataCollectionEnabled||!1,this.options_=a.deepCopy(e),this.container=new s.ComponentContainer(t.name),this._addComponent(new s.Component("app",(function(){return l}),"PUBLIC"));try{for(var u=o.__values(this.firebase_.INTERNAL.components.values()),c=u.next();!c.done;c=u.next())this._addComponent(c.value)}catch(d){r={error:d}}finally{try{c&&!c.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}}return Object.defineProperty(e.prototype,"automaticDataCollectionEnabled",{get:function(){return this.checkDestroyed_(),this.automaticDataCollectionEnabled_},set:function(e){this.checkDestroyed_(),this.automaticDataCollectionEnabled_=e}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.checkDestroyed_(),this.name_},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.checkDestroyed_(),this.options_},enumerable:!1,configurable:!0}),e.prototype.delete=function(){var e=this;return new Promise((function(t){e.checkDestroyed_(),t()})).then((function(){return e.firebase_.INTERNAL.removeApp(e.name_),Promise.all(e.container.getProviders().map((function(e){return e.delete()})))})).then((function(){e.isDeleted_=!0}))},e.prototype._getService=function(e,t){return void 0===t&&(t="[DEFAULT]"),this.checkDestroyed_(),this.container.getProvider(e).getImmediate({identifier:t})},e.prototype._removeServiceInstance=function(e,t){void 0===t&&(t="[DEFAULT]"),this.container.getProvider(e).clearInstance(t)},e.prototype._addComponent=function(e){try{this.container.addComponent(e)}catch(t){h.debug("Component "+e.name+" failed to register with FirebaseApp "+this.name,t)}},e.prototype._addOrOverwriteComponent=function(e){this.container.addOrOverwriteComponent(e)},e.prototype.checkDestroyed_=function(){if(this.isDeleted_)throw c.create("app-deleted",{appName:this.name_})},e}();f.prototype.name&&f.prototype.options||f.prototype.delete||console.log("dc");var p=function e(){var t=function(e){var t={},n=new Map,r={__esModule:!0,initializeApp:function(n,i){void 0===i&&(i={}),"object"==typeof i&&null!==i||(i={name:i});var o=i;void 0===o.name&&(o.name="[DEFAULT]");var s=o.name;if("string"!=typeof s||!s)throw c.create("bad-app-name",{appName:String(s)});if(a.contains(t,s))throw c.create("duplicate-app",{appName:s});var l=new e(n,o,r);return t[s]=l,l},app:i,registerVersion:function(e,t,n){var r,i=null!==(r=d[e])&&void 0!==r?r:e;n&&(i+="-"+n);var o=i.match(/\s|\//),a=t.match(/\s|\//);if(o||a){var l=['Unable to register library "'+i+'" with version "'+t+'":'];return o&&l.push('library name "'+i+'" contains illegal characters (whitespace or "/")'),o&&a&&l.push("and"),a&&l.push('version name "'+t+'" contains illegal characters (whitespace or "/")'),void h.warn(l.join(" "))}u(new s.Component(i+"-version",(function(){return{library:i,version:t}}),"VERSION"))},setLogLevel:l.setLogLevel,onLog:function(e,t){if(null!==e&&"function"!=typeof e)throw c.create("invalid-log-argument",{appName:name});l.setUserLogHandler(e,t)},apps:null,SDK_VERSION:"7.20.0",INTERNAL:{registerComponent:u,removeApp:function(e){delete t[e]},components:n,useAsService:function(e,t){return"serverAuth"===t?null:t}}};function i(e){if(!a.contains(t,e=e||"[DEFAULT]"))throw c.create("no-app",{appName:e});return t[e]}function u(s){var l,u,d=s.name;if(n.has(d))return h.debug("There were multiple attempts to register component "+d+"."),"PUBLIC"===s.type?r[d]:null;if(n.set(d,s),"PUBLIC"===s.type){var f=function(e){if(void 0===e&&(e=i()),"function"!=typeof e[d])throw c.create("invalid-app-argument",{appName:d});return e[d]()};void 0!==s.serviceProps&&a.deepExtend(f,s.serviceProps),r[d]=f,e.prototype[d]=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this._getService.bind(this,d);return n.apply(this,s.multipleInstances?e:[])}}try{for(var p=o.__values(Object.keys(t)),m=p.next();!m.done;m=p.next())t[m.value]._addComponent(s)}catch(g){l={error:g}}finally{try{m&&!m.done&&(u=p.return)&&u.call(p)}finally{if(l)throw l.error}}return"PUBLIC"===s.type?r[d]:null}return r.default=r,Object.defineProperty(r,"apps",{get:function(){return Object.keys(t).map((function(e){return t[e]}))}}),i.App=e,r}(f);return t.INTERNAL=o.__assign(o.__assign({},t.INTERNAL),{createFirebaseNamespace:e,extendNamespace:function(e){a.deepExtend(t,e)},createSubscribe:a.createSubscribe,ErrorFactory:a.ErrorFactory,deepExtend:a.deepExtend}),t}(),m=function(){function e(e){this.container=e}return e.prototype.getPlatformInfoString=function(){return this.container.getProviders().map((function(e){if(function(e){var t=e.getComponent();return"VERSION"===(null==t?void 0:t.type)}(e)){var t=e.getImmediate();return t.library+"/"+t.version}return null})).filter((function(e){return e})).join(" ")},e}();if(a.isBrowser()&&void 0!==self.firebase){h.warn("\n    Warning: Firebase is already defined in the global scope. Please make sure\n    Firebase library is only loaded once.\n  ");var g=self.firebase.SDK_VERSION;g&&g.indexOf("LITE")>=0&&h.warn("\n    Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n    You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n    ")}var _=p.initializeApp;p.initializeApp=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.isNode()&&h.warn('\n      Warning: This is a browser-targeted Firebase bundle but it appears it is being\n      run in a Node environment.  If running in a Node environment, make sure you\n      are using the bundle specified by the "main" field in package.json.\n      \n      If you are using Webpack, you can specify "main" as the first item in\n      "resolve.mainFields":\n      https://webpack.js.org/configuration/resolve/#resolvemainfields\n      \n      If using Rollup, use the rollup-plugin-node-resolve plugin and specify "main"\n      as the first item in "mainFields", e.g. [\'main\', \'module\'].\n      https://github.com/rollup/rollup-plugin-node-resolve\n      '),_.apply(void 0,e)};var y=p;!function(e,t){e.INTERNAL.registerComponent(new s.Component("platform-logger",(function(e){return new m(e)}),"PRIVATE")),e.registerVersion("@firebase/app","0.6.11",void 0),e.registerVersion("fire-js","")}(y),t.default=y,t.firebase=y},x6pH:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u
205e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,n){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},xQ8M:function(e,t){e.exports=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}},xSm1:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("KOl+");function i(e,t,n,i){return Object(r.e)(e,t,n).apply(this,i)}},xbPD:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q");function i(e=null){return t=>t.lift(new o(e))}class o{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new a(e,this.defaultValue))}}class a extends r.a{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()}}},xgBC:function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return l}));var r=n("8Y7J"),i=n("oAJy"),o=n("uzCt");class a{constructor(e){this._driver=null,this._dbPromise=new Promise((t,n)=>{let r;const a=Object.assign({name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:["sqlite","indexeddb","websql","localstorage"]},e||{});Object(i.defineDriver)(o).then(()=>{r=Object(i.createInstance)(a)}).then(()=>r.setDriver(this._getDriverOrder(a.driverOrder))).then(()=>{this._driver=r.driver(),t(r)}).catch(e=>n(e))})}get driver(){return this._driver}ready(){return this._dbPromise}_getDriverOrder(e){return e.map(e=>{switch(e){case"sqlite":return o._driver;case"indexeddb":return i.INDEXEDDB;case"websql":return i.WEBSQL;case"localstorage":return i.LOCALSTORAGE}})}get(e){return this._dbPromise.then(t=>t.getItem(e))}set(e,t){return this._dbPromise.then(n=>n.setItem(e,t))}remove(e){return this._dbPromise.then(t=>t.removeItem(e))}clear(){return this._dbPromise.then(e=>e.clear())}length(){return this._dbPromise.then(e=>e.length())}keys(){return this._dbPromise.then(e=>e.keys())}forEach(e){return this._dbPromise.then(t=>t.iterate(e))}}const s=new r.v("STORAGE_CONFIG_TOKEN");function l(e){return new a(e||{name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:["sqlite","indexeddb","websql","localstorage"]})}class u{static forRoot(e=null){return{ngModule:u,providers:[{provide:s,useValue:e},{provide:a,useFactory:l,deps:[s]}]}}}},xgIS:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("HDdC"),i=n("DH7j"),o=n("n6bG"),a=n("lJxs");function s(e,t,n,l){return Object(o.a)(n)&&(l=n,n=void 0),l?s(e,t,n
2).pipe(Object(a.a)(e=>Object(i.a)(e)?l(...e):l(e))):new r.a(r=>{!function e(t,n,r,i,o){let a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(n,r,o),a=()=>e.removeEventListener(n,r,o)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(n,r),a=()=>e.off(n,r)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(n,r),a=()=>e.removeListener(n,r)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let a=0,s=t.length;a<s;a++)e(t[a],n,r,i,o)}i.add(a)}(e,t,(function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),r,n)})}},"yA/v":function(e,t,n){"use strict";n.d(t,"d",(function(){return s})),n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"e",(function(){return f})),n.d(t,"a",(function(){return p}));var r,i=n("8Y7J"),o=n("Wcq6"),a=n.n(o);const s=new i.v("angularfire2.app.options"),l=new i.v("angularfire2.app.nameOrConfig"),u=s,c=l;class d{}const h=new i.V("5.4.2");function f(e,t,n){const r="object"==typeof n&&n||{};return r.name=r.name||"string"==typeof n&&n||"[DEFAULT]",a.a.apps.filter(e=>e&&e.name===r.name)[0]||t.runOutsideAngular(()=>a.a.initializeApp(e,r))}let p=r=class{constructor(e){a.a.registerVersion&&(a.a.registerVersion("angularfire",h.full,e.toString()),a.a.registerVersion("angular",i.U.full))}static initializeApp(e,t){return{ngModule:r,providers:[{provide:u,useValue:e},{provide:c,useValue:t}]}}}},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("HDdC"),i=n("ngJS"),o=n("jZKg");function a(e,t){return t?Object(o.a)(e,t):new r.a(Object(i.a)(e))}},yDJ3:function(e,t){var n,r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/,o=/^\./,a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,u="object"==typeof global&&global&&global.Object===Object&&global,c="object"==typeof self&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),h=Array.prototype,f=Function.prototype,p=Object.prototype,m=d["__core-js_shared__"],g=(n=/[^.]+$/.exec(m&&m.keys&&m.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",_=f.toString,y=p.hasOwnProperty,v=p.toString,b=RegExp("^"+_.call(y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),w=d.Symbol,k=h.splice,M=j(d,"Map"),S=j(Object,"create"),T=w?w.prototype:void 0,x=T?T.toString:void 0;function L(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function D(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function O(e,t){for(var n,r,i=e.length;i--;)if((n=e[i][0])===(r=t)||n!=n&&r!=r)return i;return-1}function E(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function j(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!R(e)||(t=e,g&&g in t))&&(function(e){var t=R(e)?v.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}(e)?b:l).test(function(e){if(null!=e){try{return _.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e));var t}(n)?n:void 0}L.prototype.clear=function(){this.__data__=S?S(null):{}},L.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},L.prototype.get=function(e){var t=this.__data__;if(S){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return y.call(t,e)?t[e]:void 0},L.prototype.has=function(e){var t=this.__data__;return S?void 0!==t[e]:y.call(t,e)},L.prototype.set=function(e,t){return this.__data__[e]=S&&void 0===t?"__lodash_hash_undefined__":t,this},D.prototype.clear=function(){this.__data__=[]},D.prototype.delete=function(e){var t=this.__data__,n=O(t,e);return!(n<0||(n==t.length-1?t.pop():k.call(t,n,1),0))},D.prototype.get=function(e){var t=this.__data__,n=O(t,e);return n<0?void 0:t[n][1]},D.prototype.has=function(e){return O(this.__data__,e)>-1},D.prototype.set=function(e,t){var n=this.__data__,r=O(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},C.prototype.clear=function(){this.__data__={hash:new L,map:new(M||D),string:new L}},C.prototype.delete=function(e){return E(this,e).delete(e)},C.prototype.get=function(e){return E(this,e).get(e)},C.prototype.has=function(e){return E(this,e).has(e)},C.prototype.set=function(e,t){return E(this,e).set(e,t),this};var A=I((function(e){var t;
2e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(N(e))return x?x.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return o.test(e)&&n.push(""),e.replace(a,(function(e,t,r,i){n.push(r?i.replace(s,"$1"):t||e)})),n}));function P(e){if("string"==typeof e||N(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function I(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new(I.Cache||C),n}I.Cache=C;var Y=Array.isArray;function R(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function N(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==v.call(e)}e.exports=function(e,t,n){var o=null==e?void 0:function(e,t){for(var n,o=0,a=(t=function(e,t){if(Y(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!N(e))||i.test(e)||!r.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:Y(n=t)?n:A(n)).length;null!=e&&o<a;)e=e[P(t[o++])];return o&&o==a?e:void 0}(e,t);return void 0===o?n:o}},yPMs:function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},yUv1:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("8Y7J"),i=n("8piP"),o=n("I9vy");n("ZZ/e");class a{constructor(e){this.platform=e,this.mainTap=new r.r,this.leftButton=new r.r,this.rightButton=new r.r}ngOnInit(){this.isMobile=!!this.platform.is("cordova")}mainTapEvent(e){this.mainTap.emit(e)}leftTapEvent(e,t,n){this.leftButton.emit({slider:e,item:t,st:n})}rightTapEvent(e,t){e.close(),this.rightButton.emit(t)}woof(e,t){return!(!e||!t)&&this.matchingStatus(Object.keys(e),[t])}matchingStatus(e,t){return!o(i(e,t))}}},"z+Ro":function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return r}))},z1FC:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var i={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 r||t?i[n][0]:i[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(e,t,n){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,i){var o=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),i=e%10,o="";return n>0&&(o+=t[n]+"vatlh"),r>0&&(o+=(""!==o?" ":"")+t[r]+"maH"),i>0&&(o+=(""!==o?" ":"")+t[i]),""===o?"pagh":o}(e);switch(r){case"ss":return o+" lup";case"mm":return o+" tup";
2case"hh":return o+" rep";case"dd":return o+" jaj";case"MM":return o+" jar";case"yy":return o+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z53W:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n("ZZ/e");class r{constructor(e){this.modalCtrl=e}ngOnInit(){this.textEle.nativeElement.insertAdjacentHTML("afterbegin",this.text)}dismiss(){this.modalCtrl.dismiss()}}},zUnb:function(e,t,n){"use strict";n.r(t);var r=n("8Y7J");class i{}var o,a=n("wj3C"),s=n.n(a),l=n("S+S0"),u=n("mrSG"),c=n("zVF4"),d=n("nbvr"),h=((o={})["missing-app-config-values"]='Missing App configuration value: "{$valueName}"',o["not-registered"]="Firebase Installation is not registered.",o["installation-not-found"]="Firebase Installation not found.",o["request-failed"]='{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',o["app-offline"]="Could not process request. Application offline.",o["delete-pending-registration"]="Can't delete installation while there is a pending registration request.",o),f=new c.ErrorFactory("installations","Installations",h);function p(e){return e instanceof c.FirebaseError&&e.code.includes("request-failed")}function m(e){return"https://firebaseinstallations.googleapis.com/v1/projects/"+e.projectId+"/installations"}function g(e){return{token:e.token,requestStatus:2,expiresIn:(t=e.expiresIn,Number(t.replace("s","000"))),creationTime:Date.now()};var t}function _(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r;return Object(u.__generator)(this,(function(i){switch(i.label){case 0:return[4,t.json()];case 1:return n=i.sent(),[2,f.create("request-failed",{requestName:e,serverCode:(r=n.error).code,serverMessage:r.message,serverStatus:r.status})]}}))}))}function y(e){return new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e.apiKey})}function v(e,t){var n=t.refreshToken,r=y(e);return r.append("Authorization",function(e){return"FIS_v2 "+e}(n)),r}function b(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){var t;return Object(u.__generator)(this,(function(n){switch(n.label){case 0:return[4,e()];case 1:return(t=n.sent()).status>=500&&t.status<600?[2,e()]:[2,t]}}))}))}function w(e,t){var n=t.fid;return Object(u.__awaiter)(this,void 0,void 0,(function(){var t,r,i,o,a;return Object(u.__generator)(this,(function(s){switch(s.label){case 0:return t=m(e),r=y(e),i={method:"POST",headers:r,body:JSON.stringify({fid:n,authVersion:"FIS_v2",appId:e.appId,sdkVersion:"w:0.4.17"})},[4,b((function(){return fetch(t,i)}))];case 1:return(o=s.sent()).ok?[4,o.json()]:[3,3];case 2:return[2,{fid:(a=s.sent()).fid||n,registrationStatus:2,refreshToken:a.refreshToken,authToken:g(a.authToken)}];case 3:return[4,_("Create Installation",o)];case 4:throw s.sent()}}))}))}function k(e){return new Promise((function(t){setTimeout(t,e)}))}var M=/^[cdef][\w-]{21}$/;function S(){try{var e=new Uint8Array(17);(self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16;var t=function(e){return(t=e,btoa(String.fromCharCode.apply(String,Object(u.__spread)(t))).replace(/\+/g,"-").replace(/\//g,"_")).substr(0,22);var t}(e);return M.test(t)?t:""}catch(n){return""}}function T(e){return e.appName+"!"+e.appId}var x=new Map;function L(e,t){var n=T(e);D(n,t),function(e,t){var n=O();n&&n.postMessage({key:e,fid:t}),E()}(n,t)}function D(e,t){var n,r,i=x.get(e);if(i)try{for(var o=Object(u.__values)(i),a=o.next();!a.done;a=o.next())(0,a.value)(t)}catch(s){n={error:s}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}var C=null;function O(){return!C&&"BroadcastChannel"in self&&((C=new BroadcastChannel("[Firebase] FID Change")).onmessage=function(e){D(e.data.key,e.data.fid)}),C}function E(){0===x.size&&C&&(C.close(),C=null)}var j,A,P="firebase-installations-store",I=null;function Y(){return I||(I=Object(d.openDb)("firebase-installations-database",1,(function(e){switch(e.oldVersion){case 0:e.createObjectStore(P)}}))),I}function R(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r,i,o,a;return Object(u.__generator)(this,(function(s){switch(s.label){case 0:return n=T(e),[4,Y()];case 1:return r=s.sent(),i=r.transaction(P,"readwrite"),[4,(o=i.objectStore(P)).get(n)];case 2:return a=s.sent(),[4,o.put(t,n)];case 3:return s.sent(),[4,i.complete];case 4:return s.sent(),a&&a.fid===t.fid||L(e,t.fid),[2,t]}}))}))}function N(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){var t,n,r;return Object(u.__generator)(this,(function(i){switch(i.label){case 0:return t=T(e),[4,Y()];case 1:return n=i.sent(),[4,(r=n.transaction(P,"readwrite")).objectStore(P).delete(t)];case 2:return i.sent(),[4,r.complete];case 3:return i.sent(),[2]}}))}))}function F(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r,i,o,a,s;return Object(u.__generator)(this,(function(l){switch(l.label){case 0:return n=T(e),[4,Y()];case 1:return r=l.sent(),i=r.transaction(P,"readwrite"),[4,(o=i.objectStore(P)).get(n)];case 2:return a=l.sent(),void 0!==(s=t(a))?[3,4]:[4,o.delete(n)];case 3:return l.sent(),[3,6];case 4:return[4,o.put(s,n)];case 5:l.sent(),l.label=6;case 6:return[4,i.complete];case 7:return l.sent(),!s||a&&a.fid===s.fid||L(e,s.fid),[2,s]}}))}))}function H(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){var t,n,r;return Object(u.__generator)(this,(function(i){switch(i.label){case 0:return[4,F(e,(function(n){var r=function(e){return W(e||{fid:S(),registrationStatus:0})}(n),i=function(e,t){if(0===t.registrationStatus){if(!navigator.onLine)return{installationEntry:t,registrationPromise:Promise.reject(f.create("app-offline"))};var n={fid:t.fid,registrationStatus:1,registrationTime:Date.now()};return{installationEntry:n,registrationPromise:function(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r;return Object(u.__generator)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,7]),[4,w(e,t)];case 1:return n=i.sent(),[2,R(e,n)];case 2:return p(r=i.sent())&&409===r.serverCode?[4,N(e)]:[3,4];case 3:return i.sent(),[3,6];case 4:return[4,R(e,{fid:t.fid,registrationStatus:0})];case 5:i.sent(),i.label=6;case 6:throw r;case 7:return[2]}}
2))}))}(e,n)}}return 1===t.registrationStatus?{installationEntry:t,registrationPromise:$(e)}:{installationEntry:t}}(e,r);return t=i.registrationPromise,i.installationEntry}))];case 1:return""!==(n=i.sent()).fid?[3,3]:(r={},[4,t]);case 2:return[2,(r.installationEntry=i.sent(),r)];case 3:return[2,{installationEntry:n,registrationPromise:t}]}}))}))}function $(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){var t,n,r,i;return Object(u.__generator)(this,(function(o){switch(o.label){case 0:return[4,z(e)];case 1:t=o.sent(),o.label=2;case 2:return 1!==t.registrationStatus?[3,5]:[4,k(100)];case 3:return o.sent(),[4,z(e)];case 4:return t=o.sent(),[3,2];case 5:return 0!==t.registrationStatus?[3,7]:[4,H(e)];case 6:return n=o.sent(),r=n.installationEntry,(i=n.registrationPromise)?[2,i]:[2,r];case 7:return[2,t]}}))}))}function z(e){return F(e,(function(e){if(!e)throw f.create("installation-not-found");return W(e)}))}function W(e){return 1===(t=e).registrationStatus&&t.registrationTime+1e4<Date.now()?{fid:e.fid,registrationStatus:0}:e;var t}function U(e,t){var n=e.appConfig,r=e.platformLoggerProvider;return Object(u.__awaiter)(this,void 0,void 0,(function(){var e,i,o,a,s;return Object(u.__generator)(this,(function(l){switch(l.label){case 0:return e=function(e,t){var n=t.fid;return m(e)+"/"+n+"/authTokens:generate"}(n,t),i=v(n,t),(o=r.getImmediate({optional:!0}))&&i.append("x-firebase-client",o.getPlatformInfoString()),a={method:"POST",headers:i,body:JSON.stringify({installation:{sdkVersion:"w:0.4.17"}})},[4,b((function(){return fetch(e,a)}))];case 1:return(s=l.sent()).ok?[4,s.json()]:[3,3];case 2:return[2,g(l.sent())];case 3:return[4,_("Generate Auth Token",s)];case 4:throw l.sent()}}))}))}function B(e,t){return void 0===t&&(t=!1),Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r,i;return Object(u.__generator)(this,(function(o){switch(o.label){case 0:return[4,F(e.appConfig,(function(r){if(!q(r))throw f.create("not-registered");var i,o=r.authToken;if(!t&&2===(i=o).requestStatus&&!function(e){var t=Date.now();return t<e.creationTime||e.creationTime+e.expiresIn<t+36e5}(i))return r;if(1===o.requestStatus)return n=function(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r;return Object(u.__generator)(this,(function(i){switch(i.label){case 0:return[4,V(e.appConfig)];case 1:n=i.sent(),i.label=2;case 2:return 1!==n.authToken.requestStatus?[3,5]:[4,k(100)];case 3:return i.sent(),[4,V(e.appConfig)];case 4:return n=i.sent(),[3,2];case 5:return 0===(r=n.authToken).requestStatus?[2,B(e,t)]:[2,r]}}))}))}(e,t),r;if(!navigator.onLine)throw f.create("app-offline");var a=function(e){var t={requestStatus:1,requestTime:Date.now()};return Object(u.__assign)(Object(u.__assign)({},e),{authToken:t})}(r);return n=function(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r,i;return Object(u.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,3,,8]),[4,U(e,t)];case 1:return n=o.sent(),i=Object(u.__assign)(Object(u.__assign)({},t),{authToken:n}),[4,R(e.appConfig,i)];case 2:return o.sent(),[2,n];case 3:return!p(r=o.sent())||401!==r.serverCode&&404!==r.serverCode?[3,5]:[4,N(e.appConfig)];case 4:return o.sent(),[3,7];case 5:return i=Object(u.__assign)(Object(u.__assign)({},t),{authToken:{requestStatus:0}}),[4,R(e.appConfig,i)];case 6:o.sent(),o.label=7;case 7:throw r;case 8:return[2]}}
2))}))}(e,a),a}))];case 1:return r=o.sent(),n?[4,n]:[3,3];case 2:return i=o.sent(),[3,4];case 3:i=r.authToken,o.label=4;case 4:return[2,i]}}))}))}function V(e){return F(e,(function(e){if(!q(e))throw f.create("not-registered");var t;return 1===(t=e.authToken).requestStatus&&t.requestTime+1e4<Date.now()?Object(u.__assign)(Object(u.__assign)({},e),{authToken:{requestStatus:0}}):e}))}function q(e){return void 0!==e&&2===e.registrationStatus}function G(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){var t;return Object(u.__generator)(this,(function(n){switch(n.label){case 0:return[4,H(e)];case 1:return(t=n.sent().registrationPromise)?[4,t]:[3,3];case 2:n.sent(),n.label=3;case 3:return[2]}}))}))}function K(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r,i,o;return Object(u.__generator)(this,(function(a){switch(a.label){case 0:return n=function(e,t){var n=t.fid;return m(e)+"/"+n}(e,t),r=v(e,t),i={method:"DELETE",headers:r},[4,b((function(){return fetch(n,i)}))];case 1:return(o=a.sent()).ok?[3,3]:[4,_("Delete Installation",o)];case 2:throw a.sent();case 3:return[2]}}
2))}))}function J(e){return f.create("missing-app-config-values",{valueName:e})}(j=s.a).INTERNAL.registerComponent(new l.Component("installations",(function(e){var t=e.getProvider("app").getImmediate(),n={appConfig:function(e){var t,n;if(!e||!e.options)throw J("App Configuration");if(!e.name)throw J("App Name");try{for(var r=Object(u.__values)(["projectId","apiKey","appId"]),i=r.next();!i.done;i=r.next()){var o=i.value;if(!e.options[o])throw J(o)}}catch(a){t={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}(t),platformLoggerProvider:e.getProvider("platform-logger")};return{app:t,getId:function(){return function(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){var t,n,r;return Object(u.__generator)(this,(function(i){switch(i.label){case 0:return[4,H(e.appConfig)];case 1:return t=i.sent(),n=t.installationEntry,(r=t.registrationPromise)?r.catch(console.error):B(e).catch(console.error),[2,n.fid]}}))}))}(n)},getToken:function(e){return function(e,t){return void 0===t&&(t=!1),Object(u.__awaiter)(this,void 0,void 0,(function(){return Object(u.__generator)(this,(function(n){switch(n.label){case 0:return[4,G(e.appConfig)];case 1:return n.sent(),[4,B(e,t)];case 2:return[2,n.sent().token]}}))}))}(n,e)},delete:function(){return function(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){var t,n;return Object(u.__generator)(this,(function(r){switch(r.label){case 0:return[4,F(t=e.appConfig,(function(e){if(!e||0!==e.registrationStatus)return e}))];case 1:if(!(n=r.sent()))return[3,6];if(1!==n.registrationStatus)return[3,2];throw f.create("delete-pending-registration");case 2:if(2!==n.registrationStatus)return[3,6];if(navigator.onLine)return[3,3];throw f.create("app-offline");case 3:return[4,K(t,n)];case 4:return r.sent(),[4,N(t)];case 5:r.sent(),r.label=6;case 6:return[2]}}
2))}))}(n)},onIdChange:function(e){return function(e,t){var n=e.appConfig;return function(e,t){O();var n=T(e),r=x.get(n);r||(r=new Set,x.set(n,r)),r.add(t)}(n,t),function(){!function(e,t){var n=T(e),r=x.get(n);r&&(r.delete(t),0===r.size&&x.delete(n),E())}(n,t)}}(n,e)}}}),"PUBLIC")),j.registerVersion("@firebase/installations","0.4.17");var Q=((A={})["missing-app-config-values"]='Missing App configuration value: "{$valueName}"',A["only-available-in-window"]="This method is available in a Window context.",A["only-available-in-sw"]="This method is available in a service worker context.",A["permission-default"]="The notification permission was not granted and dismissed instead.",A["permission-blocked"]="The notification permission was not granted and blocked instead.",A["unsupported-browser"]="This browser doesn't support the API's required to use the firebase SDK.",A["failed-service-worker-registration"]="We are unable to register the default service worker. {$browserErrorMessage}",A["token-subscribe-failed"]="A problem occurred while subscribing the user to FCM: {$errorInfo}",A["token-subscribe-no-token"]="FCM returned no token when subscribing the user to push.",A["token-unsubscribe-failed"]="A problem occurred while unsubscribing the user from FCM: {$errorInfo}",A["token-update-failed"]="A problem occurred while updating the user from FCM: {$errorInfo}",A["token-update-no-token"]="FCM returned no token when updating the user to push.",A["use-sw-after-get-token"]="The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.",A["invalid-sw-registration"]="The input to useServiceWorker() must be a ServiceWorkerRegistration.",A["invalid-bg-handler"]="The input to setBackgroundMessageHandler() must be a function.",A["invalid-vapid-key"]="The public VAPID key must be a string.",A["use-vapid-key-after-get-token"]="The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used.",A),X=new c.ErrorFactory("messaging","Messaging",Q),Z="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",ee=function(e){return e.PUSH_RECEIVED="push-received",e.NOTIFICATION_CLICKED="notification-clicked",e}({});function te(e){var t=new Uint8Array(e);return btoa(String.fromCharCode.apply(String,Object(u.__spread)(t))).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function ne(e){for(var t=(e+"=".repeat((4-e.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),n=atob(t),r=new Uint8Array(n.length),i=0;i<n.length;++i)r[i]=n.charCodeAt(i);return r}function re(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){var t,n=this;return Object(u.__generator)(this,(function(r){switch(r.label){case 0:return"databases"in indexedDB?[4,indexedDB.databases()]:[3,2];case 1:if(!r.sent().map((function(e){return e.name})).includes("fcm_token_details_db"))return[2,null];r.label=2;case 2:return t=null,[4,Object(d.openDb)("fcm_token_details_db",5,(function(r){return Object(u.__awaiter)(n,void 0,void 0,(function(){var n,i,o,a;return Object(u.__generator)(this,(function(s){switch(s.label){case 0:return r.oldVersion<2?[2]:r.objectStoreNames.contains("fcm_token_object_Store")?[4,(n=r.transaction.objectStore("fcm_token_object_Store")).index("fcmSenderId").get(e)]:[2];case 1:return i=s.sent(),[4,n.clear()];case 2:if(s.sent(),!i)return[2];if(2===r.oldVersion){if(!(o=i).auth||!o.p256dh||!o.endpoint)return[2];t={token:o.fcmToken,createTime:null!==(a=o.createTime)&&void 0!==a?a:Date.now(),subscriptionOptions:{auth:o.auth,p256dh:o.p256dh,endpoint:o.endpoint,swScope:o.swScope,vapidKey:"string"==typeof o.vapidKey?o.vapidKey:te(o.vapidKey)}}}else(3===r.oldVersion||4===r.oldVersion)&&(t={token:(o=i).fcmToken,createTime:o.createTime,subscriptionOptions:{auth:te(o.auth),p256dh:te(o.p256dh),endpoint:o.endpoint,swScope:o.swScope,vapidKey:te(o.vapidKey)}});return[2]}}))}))}))];case 3:return r.sent().close(),[4,Object(d.deleteDb)("fcm_token_details_db")];case 4:return r.sent(),[4,Object(d.deleteDb)("fcm_vapid_details_db")];case 5:return r.sent(),[4,Object(d.deleteDb)("undefined")];case 6:return r.sent(),[2,ie(t)?t:null]}}))}))}function ie(e){if(!e||!e.subscriptionOptions)return!1;var t=e.subscriptionOptions;return"number"==typeof e.createTime&&e.createTime>0&&"string"==typeof e.token&&e.token.length>0&&"string"==typeof t.auth&&t.auth.length>0&&"string"==typeof t.p256dh&&t.p256dh.length>0&&"string"==typeof t.endpoint&&t.endpoint.length>0&&"string"==typeof t.swScope&&t.swScope.length>0&&"string"==typeof t.vapidKey&&t.vapidKey.length>0}var oe=null;function ae(){return oe||(oe=Object(d.openDb)("firebase-messaging-database",1,(function(e){switch(e.oldVersion){case 0:e.createObjectStore("firebase-messaging-store")}}))),oe}function se(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){var t,n,r;return Object(u.__generator)(this,(function(i){switch(i.label){case 0:return t=ce(e),[4,ae()];case 1:return[4,i.sent().transaction("firebase-messaging-store").objectStore("firebase-messaging-store").get(t)];case 2:return(n=i.sent())?[2,n]:[3,3];case 3:return[4,re(e.appConfig.senderId)];case 4:return(r=i.sent())?[4,le(e,r)]:[3,6];case 5:return i.sent(),[2,r];case 6:return[2]}}
2))}))}function le(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r,i;return Object(u.__generator)(this,(function(o){switch(o.label){case 0:return n=ce(e),[4,ae()];case 1:return r=o.sent(),[4,(i=r.transaction("firebase-messaging-store","readwrite")).objectStore("firebase-messaging-store").put(t,n)];case 2:return o.sent(),[4,i.complete];case 3:return o.sent(),[2,t]}}))}))}function ue(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){var t,n,r;return Object(u.__generator)(this,(function(i){switch(i.label){case 0:return t=ce(e),[4,ae()];case 1:return n=i.sent(),[4,(r=n.transaction("firebase-messaging-store","readwrite")).objectStore("firebase-messaging-store").delete(t)];case 2:return i.sent(),[4,r.complete];case 3:return i.sent(),[2]}}))}))}function ce(e){return e.appConfig.appId}function de(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r,i,o,a;return Object(u.__generator)(this,(function(s){switch(s.label){case 0:return[4,me(e)];case 1:n=s.sent(),r=ge(t),i={method:"POST",headers:n,body:JSON.stringify(r)},s.label=2;case 2:return s.trys.push([2,5,,6]),[4,fetch(pe(e.appConfig),i)];case 3:return[4,s.sent().json()];case 4:return o=s.sent(),[3,6];case 5:throw a=s.sent(),X.create("token-subscribe-failed",{errorInfo:a});case 6:if(o.error)throw X.create("token-subscribe-failed",{errorInfo:o.error.message});if(!o.token)throw X.create("token-subscribe-no-token");return[2,o.token]}}))}))}function he(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r,i,o,a;return Object(u.__generator)(this,(function(s){switch(s.label){case 0:return[4,me(e)];case 1:n=s.sent(),r=ge(t.subscriptionOptions),i={method:"PATCH",headers:n,body:JSON.stringify(r)},s.label=2;case 2:return s.trys.push([2,5,,6]),[4,fetch(pe(e.appConfig)+"/"+t.token,i)];case 3:return[4,s.sent().json()];case 4:return o=s.sent(),[3,6];case 5:throw a=s.sent(),X.create("token-update-failed",{errorInfo:a});case 6:if(o.error)throw X.create("token-update-failed",{errorInfo:o.error.message});if(!o.token)throw X.create("token-update-no-token");return[2,o.token]}}))}))}function fe(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r,i,o;return Object(u.__generator)(this,(function(a){switch(a.label){case 0:return[4,me(e)];case 1:n=a.sent(),r={method:"DELETE",headers:n},a.label=2;case 2:return a.trys.push([2,5,,6]),[4,fetch(pe(e.appConfig)+"/"+t,r)];case 3:return[4,a.sent().json()];case 4:if((i=a.sent()).error)throw X.create("token-unsubscribe-failed",{errorInfo:i.error.message});return[3,6];case 5:throw o=a.sent(),X.create("token-unsubscribe-failed",{errorInfo:o});case 6:return[2]}}
2))}))}function pe(e){return"https://fcmregistrations.googleapis.com/v1/projects/"+e.projectId+"/registrations"}function me(e){var t=e.appConfig,n=e.installations;return Object(u.__awaiter)(this,void 0,void 0,(function(){var e;return Object(u.__generator)(this,(function(r){switch(r.label){case 0:return[4,n.getToken()];case 1:return e=r.sent(),[2,new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":t.apiKey,"x-goog-firebase-installations-auth":"FIS "+e})]}}))}))}function ge(e){var t=e.vapidKey,n={web:{endpoint:e.endpoint,auth:e.auth,p256dh:e.p256dh}};return t!==Z&&(n.web.applicationPubKey=t),n}function _e(e,t,n){return Object(u.__awaiter)(this,void 0,void 0,(function(){var r,i,o,a;return Object(u.__generator)(this,(function(s){switch(s.label){case 0:if("granted"!==Notification.permission)throw X.create("permission-blocked");return[4,we(t,n)];case 1:return r=s.sent(),[4,se(e)];case 2:return i=s.sent(),o={vapidKey:n,swScope:t.scope,endpoint:r.endpoint,auth:te(r.getKey("auth")),p256dh:te(r.getKey("p256dh"))},i?[3,3]:[2,be(e,o)];case 3:if(c=(u=o).endpoint===(l=i.subscriptionOptions).endpoint,u.vapidKey===l.vapidKey&&c&&u.auth===l.auth&&u.p256dh===l.p256dh)return[3,8];s.label=4;case 4:return s.trys.push([4,6,,7]),[4,fe(e,i.token)];case 5:return s.sent(),[3,7];case 6:return a=s.sent(),console.warn(a),[3,7];case 7:return[2,be(e,o)];case 8:return Date.now()>=i.createTime+6048e5?[2,ve({token:i.token,createTime:Date.now(),subscriptionOptions:o},e,t)]:[2,i.token];case 9:return[2]}var l,u,c}))}))}function ye(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r;return Object(u.__generator)(this,(function(i){switch(i.label){case 0:return[4,se(e)];case 1:return(n=i.sent())?[4,fe(e,n.token)]:[3,4];case 2:return i.sent(),[4,ue(e)];case 3:i.sent(),i.label=4;case 4:return[4,t.pushManager.getSubscription()];case 5:return(r=i.sent())?[2,r.unsubscribe()]:[2,!0]}}))}))}function ve(e,t,n){return Object(u.__awaiter)(this,void 0,void 0,(function(){var r,i,o;return Object(u.__generator)(this,(function(a){switch(a.label){case 0:return a.trys.push([0,3,,5]),[4,he(t,e)];case 1:return r=a.sent(),i=Object(u.__assign)(Object(u.__assign)({},e),{token:r,createTime:Date.now()}),[4,le(t,i)];case 2:return a.sent(),[2,r];case 3:return o=a.sent(),[4,ye(t,n)];case 4:throw a.sent(),o;case 5:return[2]}}
2))}))}function be(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r;return Object(u.__generator)(this,(function(i){switch(i.label){case 0:return[4,de(e,t)];case 1:return n=i.sent(),r={token:n,createTime:Date.now(),subscriptionOptions:t},[4,le(e,r)];case 2:return i.sent(),[2,r.token]}}))}))}function we(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n;return Object(u.__generator)(this,(function(r){switch(r.label){case 0:return[4,e.pushManager.getSubscription()];case 1:return(n=r.sent())?[2,n]:[2,e.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:ne(t)})]}}))}))}function ke(e){return"object"==typeof e&&!!e&&"google.c.a.c_id"in e}var Me=function(){function e(e){var t=this;this.firebaseDependencies=e,this.isOnBackgroundMessageUsed=null,this.vapidKey=null,this.bgMessageHandler=null,self.addEventListener("push",(function(e){e.waitUntil(t.onPush(e))})),self.addEventListener("pushsubscriptionchange",(function(e){e.waitUntil(t.onSubChange(e))})),self.addEventListener("notificationclick",(function(e){e.waitUntil(t.onNotificationClick(e))}))}return Object.defineProperty(e.prototype,"app",{get:function(){return this.firebaseDependencies.app},enumerable:!1,configurable:!0}),e.prototype.setBackgroundMessageHandler=function(e){if(this.isOnBackgroundMessageUsed=!1,!e||"function"!=typeof e)throw X.create("invalid-bg-handler");this.bgMessageHandler=e},e.prototype.onBackgroundMessage=function(e){var t=this;return this.isOnBackgroundMessageUsed=!0,this.bgMessageHandler=e,function(){t.bgMessageHandler=null}},e.prototype.getToken=function(){var e,t;return Object(u.__awaiter)(this,void 0,void 0,(function(){var n;return Object(u.__generator)(this,(function(r){switch(r.label){case 0:return this.vapidKey?[3,2]:[4,se(this.firebaseDependencies)];case 1:n=r.sent(),this.vapidKey=null!==(t=null===(e=null==n?void 0:n.subscriptionOptions)||void 0===e?void 0:e.vapidKey)&&void 0!==t?t:Z,r.label=2;case 2:return[2,_e(this.firebaseDependencies,self.registration,this.vapidKey)]}}))}))},e.prototype.deleteToken=function(){return ye(this.firebaseDependencies,self.registration)},e.prototype.requestPermission=function(){throw X.create("only-available-in-window")},e.prototype.usePublicVapidKey=function(e){if(null!==this.vapidKey)throw X.create("use-vapid-key-after-get-token");if("string"!=typeof e||0===e.length)throw X.create("invalid-vapid-key");this.vapidKey=e},e.prototype.useServiceWorker=function(){throw X.create("only-available-in-window")},e.prototype.onMessage=function(){throw X.create("only-available-in-window")},e.prototype.onTokenRefresh=function(){throw X.create("only-available-in-window")},e.prototype.onPush=function(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){var t,n,r,i;return Object(u.__generator)(this,(function(o){switch(o.label){case 0:return(t=function(e){var t=e.data;if(!t)return null;try{return t.json()}catch(n){return null}}(e))?[4,Le()]:(console.debug("FirebaseMessaging: failed to get parsed MessagePayload from the PushEvent. Skip handling the push."),[2]);case 1:return function(e){return e.some((function(e){return"visible"===e.visibilityState&&!e.url.startsWith("chrome-extension://")}))}(n=o.sent())?[2,xe(n,t)]:(r=!1,t.notification?[4,De(Se(t))]:[3,3]);case 2:o.sent(),r=!0,o.label=3;case 3:return!0===r&&!1===this.isOnBackgroundMessageUsed||this.bgMessageHandler&&(i=function(e){var t={from:e.from,collapseKey:e.collapse_key};return function(e,t){if(t.notification){e.notification={};var n=t.notification.title;n&&(e.notification.title=n);var r=t.notification.body;r&&(e.notification.body=r);var i=t.notification.image;i&&(e.notification.image=i)}}(t,e),function(e,t){t.data&&(e.data=t.data)}(t,e),function(e,t){if(t.fcmOptions){e.fcmOptions={};var n=t.fcmOptions.link;n&&(e.fcmOptions.link=n);var r=t.fcmOptions.analytics_label;r&&(e.fcmOptions.analyticsLabel=r)}}(t,e),t}(t),"function"==typeof this.bgMessageHandler?this.bgMessageHandler(i):this.bgMessageHandler.next(i)),[2]}}))}))},e.prototype.onSubChange=function(e){var t,n;return Object(u.__awaiter)(this,void 0,void 0,(function(){var r;return Object(u.__generator)(this,(function(i){switch(i.label){case 0:return e.newSubscription?[3,2]:[4,ye(this.firebaseDependencies,self.registration)];case 1:return i.sent(),[2];case 2:return[4,se(this.firebaseDependencies)];case 3:return r=i.sent(),[4,ye(this.firebaseDependencies,self.registration)];case 4:return i.sent(),[4,_e(this.firebaseDependencies,self.registration,null!==(n=null===(t=null==r?void 0:r.subscriptionOptions)||void 0===t?void 0:t.vapidKey)&&void 0!==n?n:Z)];case 5:return i.sent(),[2]}}))}))},e.prototype.onNotificationClick=function(e){var t,n;return Object(u.__awaiter)(this,void 0,void 0,(function(){var r,i,o,a,s;return Object(u.__generator)(this,(function(l){switch(l.label){case 0:return(r=null===(n=null===(t=e.notification)||void 0===t?void 0:t.data)||void 0===n?void 0:n.FCM_MSG)?e.action?[2]:(e.stopImmediatePropagation(),e.notification.close(),(i=function(e){var t,n,r;return(null!==(n=null===(t=e.fcmOptions)||void 0===t?void 0:t.link)&&void 0!==n?n:null===(r=e.notification)||void 0===r?void 0:r.click_action)||(ke(e.data)?self.location.origin:null)}(r))?(o=new URL(i,self.location.href),a=new URL(self.location.origin),o.host!==a.host?[2]:[4,Te(o)]):[2]):[2];case 1:return(s=l.sent())?[3,4]:[4,self.clients.openWindow(i)];case 2:return s=l.sent(),[4,new Promise((function(e){setTimeout(e,3e3)}))];case 3:return l.sent(),[3,6];case 4:return[4,s.focus()];case 5:s=l.sent(),l.label=6;case 6:return s?(r.messageType=ee.NOTIFICATION_CLICKED,r.isFirebaseMessaging=!0,[2,s.postMessage(r)]):[2]}}))}))},e}();function Se(e){var t,n=Object(u.__assign)({},e.notification);return n.data=((t={}).FCM_MSG=e,t),n}function Te(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){var t,n,r,i,o,a,s;return Object(u.__generator)(this,(function(l){switch(l.label){case 0:return[4,Le()];case 1:t=l.sent();try{for(n=Object(u.__values)(t),r=n.next();!r.done;r=n.next())if(i=r.value,o=new URL(i.url,self.location.href),e.host===o.host)return[2,i]}catch(c){a={error:c}}finally{try{r&&!r.done&&(s=n.return)&&s.call(n)}finally{if(a)throw a.error}}return[2,null]}}))}))}function xe(e,t){var n,r;t.isFirebaseMessaging=!0,t.messageType=ee.PUSH_RECEIVED;try{for(var i=Object(u.__values)(e),o=i.next();!o.done;o=i.next())o.value.postMessage(t)}catch(a){n={error:a}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}function Le(){return self.clients.matchAll({type:"window",includeUncontrolled:!0})}function De(e){var t,n=e.actions,r=Notification.maxActions;return n&&r&&n.length>r&&console.warn("This browser only supports "+r+" actions. The remaining actions will not be displayed."),self.registration.showNotification(null!==(t=e.title)&&void 0!==t?t:"",e)}var Ce=function(){function e(e){var t=this;this.firebaseDependencies=e,this.vapidKey=null,this.onMessageCallback=null,navigator.serviceWorker.addEventListener("message",(function(e){return t.messageEventListener(e)}))}return Object.defineProperty(e.prototype,"app",{get:function(){return this.firebaseDependencies.app}
2,enumerable:!1,configurable:!0}),e.prototype.messageEventListener=function(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){var t,n;return Object(u.__generator)(this,(function(r){switch(r.label){case 0:return(t=e.data).isFirebaseMessaging?(this.onMessageCallback&&t.messageType===ee.PUSH_RECEIVED&&("function"==typeof this.onMessageCallback?this.onMessageCallback(function(e){return delete e.messageType,delete e.isFirebaseMessaging,e}(Object.assign({},t))):this.onMessageCallback.next(Object.assign({},t))),ke(n=t.data)&&"1"===n["google.c.a.e"]?[4,this.logEvent(t.messageType,n)]:[3,2]):[2];case 1:r.sent(),r.label=2;case 2:return[2]}}))}))},e.prototype.getVapidKey=function(){return this.vapidKey},e.prototype.getSwReg=function(){return this.swRegistration},e.prototype.getToken=function(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){return Object(u.__generator)(this,(function(t){switch(t.label){case 0:return"default"!==Notification.permission?[3,2]:[4,Notification.requestPermission()];case 1:t.sent(),t.label=2;case 2:if("granted"!==Notification.permission)throw X.create("permission-blocked");return[4,this.updateVapidKey(null==e?void 0:e.vapidKey)];case 3:return t.sent(),[4,this.updateSwReg(null==e?void 0:e.serviceWorkerRegistration)];case 4:return t.sent(),[2,_e(this.firebaseDependencies,this.swRegistration,this.vapidKey)]}}))}))},e.prototype.updateVapidKey=function(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){return Object(u.__generator)(this,(function(t){return e?this.vapidKey=e:this.vapidKey||(this.vapidKey=Z),[2]}))}))},e.prototype.updateSwReg=function(e){return Object(u.__awaiter)(this,void 0,void 0,(function(){return Object(u.__generator)(this,(function(t){switch(t.label){case 0:return e||this.swRegistration?[3,2]:[4,this.registerDefaultSw()];case 1:t.sent(),t.label=2;case 2:if(!e&&this.swRegistration)return[2];if(!(e instanceof ServiceWorkerRegistration))throw X.create("invalid-sw-registration");return this.swRegistration=e,[2]}}))}))},e.prototype.registerDefaultSw=function(){return Object(u.__awaiter)(this,void 0,void 0,(function(){var e,t;return Object(u.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),e=this,[4,navigator.serviceWorker.register("/firebase-messaging-sw.js",{scope:"/firebase-cloud-messaging-push-scope"})];case 1:return e.swRegistration=n.sent(),this.swRegistration.update().catch((function(){})),[3,3];case 2:throw t=n.sent(),X.create("failed-service-worker-registration",{browserErrorMessage:t.message});case 3:return[2]}}
2))}))},e.prototype.deleteToken=function(){return Object(u.__awaiter)(this,void 0,void 0,(function(){return Object(u.__generator)(this,(function(e){switch(e.label){case 0:return this.swRegistration?[3,2]:[4,this.registerDefaultSw()];case 1:e.sent(),e.label=2;case 2:return[2,ye(this.firebaseDependencies,this.swRegistration)]}}))}))},e.prototype.requestPermission=function(){return Object(u.__awaiter)(this,void 0,void 0,(function(){var e;return Object(u.__generator)(this,(function(t){switch(t.label){case 0:return"granted"===Notification.permission?[2]:[4,Notification.requestPermission()];case 1:if("granted"===(e=t.sent()))return[2];throw X.create("denied"===e?"permission-blocked":"permission-default")}}))}))},e.prototype.usePublicVapidKey=function(e){if(null!==this.vapidKey)throw X.create("use-vapid-key-after-get-token");if("string"!=typeof e||0===e.length)throw X.create("invalid-vapid-key");this.vapidKey=e},e.prototype.useServiceWorker=function(e){if(!(e instanceof ServiceWorkerRegistration))throw X.create("invalid-sw-registration");if(this.swRegistration)throw X.create("use-sw-after-get-token");this.swRegistration=e},e.prototype.onMessage=function(e){var t=this;return this.onMessageCallback=e,function(){t.onMessageCallback=null}},e.prototype.setBackgroundMessageHandler=function(){throw X.create("only-available-in-sw")},e.prototype.onBackgroundMessage=function(){throw X.create("only-available-in-sw")},e.prototype.onTokenRefresh=function(){return function(){}},e.prototype.logEvent=function(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n;return Object(u.__generator)(this,(function(r){switch(r.label){case 0:return n=function(e){switch(e){case ee.NOTIFICATION_CLICKED:return"notification_open";case ee.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}(e),[4,this.firebaseDependencies.analyticsProvider.get()];case 1:return r.sent().logEvent(n,{message_id:t["google.c.a.c_id"],message_name:t["google.c.a.c_l"],message_time:t["google.c.a.ts"],message_device_time:Math.floor(Date.now()/1e3)}),[2]}}))}))},e}();function Oe(e){return X.create("missing-app-config-values",{valueName:e})}var Ee={isSupported:je};function je(){return self&&"ServiceWorkerGlobalScope"in self?"indexedDB"in self&&null!==indexedDB&&"PushManager"in self&&"Notification"in self&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey"):"indexedDB"in window&&null!==indexedDB&&navigator.cookieEnabled&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")}s.a.INTERNAL.registerComponent(new l.Component("messaging",(function(e){var t=e.getProvider("app").getImmediate(),n={app:t,appConfig:function(e){var t,n;if(!e||!e.options)throw Oe("App Configuration Object");if(!e.name)throw Oe("App Name");var r=e.options;try{for(var i=Object(u.__values)(["projectId","apiKey","appId","messagingSenderId"]),o=i.next();!o.done;o=i.next()){var a=o.value;if(!r[a])throw Oe(a)}}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return{appName:e.name,projectId:r.projectId,apiKey:r.apiKey,appId:r.appId,senderId:r.messagingSenderId}}(t),installations:e.getProvider("installations").getImmediate(),analyticsProvider:e.getProvider("analytics-internal")};if(!je())throw X.create("unsupported-browser");return self&&"ServiceWorkerGlobalScope"in self?new Me(n):new Ce(n)}),"PUBLIC").setServiceProps(Ee));var Ae=n("ZZ/e"),Pe=n("a3Cf"),Ie=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.__extends)(t,e),t.prototype.show=function(){return Object(Pe.cordova)(this,"show",{sync:!0},arguments)},t.prototype.hide=function(){return Object(Pe.cordova)(this,"hide",{sync:!0},arguments)},t.pluginName="SplashScreen",t.plugin="cordova-plugin-splashscreen",t.pluginRef="navigator.splashscreen",t.repo="https://github.com/apache/cordova-plugin-splashscreen",t.platforms=["Amazon Fire OS","Android","iOS","Windows"],t}(Pe.IonicNativePlugin),Ye=n("p74H"),Re=n("qNh5"),Ne=n("pRuv"),Fe=n("3tmi"),He=n("tfKx"),$e=n("itXk"),ze=n("LRne"),We=n("eIep"),Ue=n("lJxs");class Be{constructor(e,t,n,r,i,o,a,s,l,u,c,d){this.platform=e,this.splashScreen=t,this.statusBar=n,this.events=r,this.storage=i,this.auth=o,this.watchdog=a,this.errorHandler=s,this.settings=l,this.toast=u,this.router=c,this.location=d,this.osUp=!1,this.initializeApp()}initializeApp(){this.settings.theme$.subscribe(e=>this.selectedTheme=e),Promise.all([this.platform.ready(),this.storage.ready()]).then(()=>{this.statusBar.styleBlackTranslucent(),this.splashScreen.hide(),this.auth.isLoggedIn$.pipe(Object(We.a)(e=>e?Object($e.a)([this.watchdog.isActive$,this.watchdog.isReader$]).pipe(Object(Ue.a)(([e,t])=>e&&t?"tabs":"login")):Object(ze.a)("login"))).subscribe(e=>{const t=this.location.path().match(/tabs\/([a-zA-Z]+)/);this.currentLoc=t?t[0]:"",""!==this.currentLoc&&"login"!==e||this.router.navigate([e])})}).catch(e=>{})}}var Ve=n("pMnS"),qe=n("oBZk"),Ge=n("SVse"),Ke=n("G2Zt"),Je=n("cUpR"),Qe=n("Yttj"),Xe=r.Ab({encapsulation:0,styles:[[""]],data:{}});function Ze(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,3,null,null,null,null,null,null,null)),(e()(),r.Cb(1,0,null,null,2,"ion-slide",[["style","height: 100%"]],null,null,null,qe.Mb,qe.N)),r.Bb(2,49152,null,0,Ae.tb,[r.j,r.p,r.F],null,null),(e()(),r.Cb(3,0,null,0,0,"img",[],[[8,"src",4]],null,null,null,null))],null,(function(e,t){e(t,3,0,t.component.wv(t.context.$implicit.url))}))}function et(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,6,"ion-header",[],null,
2null,null,qe.pb,qe.q)),r.Bb(1,49152,null,0,Ae.E,[r.j,r.p,r.F],null,null),(e()(),r.Cb(2,0,null,0,4,"ion-toolbar",[],null,null,null,qe.Xb,qe.Y)),r.Bb(3,49152,null,0,Ae.Fb,[r.j,r.p,r.F],null,null),(e()(),r.Cb(4,0,null,0,2,"ion-title",[],null,null,null,qe.Vb,qe.W)),r.Bb(5,49152,null,0,Ae.Db,[r.j,r.p,r.F],null,null),(e()(),r.Ub(-1,0,["Pub Viewer"])),(e()(),r.Cb(7,0,null,null,5,"ion-content",[],null,null,null,qe.lb,qe.m)),r.Bb(8,49152,null,0,Ae.x,[r.j,r.p,r.F],null,null),(e()(),r.Cb(9,0,null,0,3,"ion-slides",[["centeredSlides","true"],["id","Slides"],["pager","false"],["style","min-height: 100%"]],null,null,null,qe.Nb,qe.O)),r.Bb(10,49152,[["imageSlide",4]],0,Ae.ub,[r.j,r.p,r.F],{options:[0,"options"],pager:[1,"pager"]},null),(e()(),r.rb(16777216,null,0,1,null,Ze)),r.Bb(12,278528,null,0,Ge.j,[r.X,r.S,r.x],{ngForOf:[0,"ngForOf"]},null),(e()(),r.Cb(13,0,null,null,6,"ion-footer",[],null,null,null,qe.nb,qe.o)),r.Bb(14,49152,null,0,Ae.C,[r.j,r.p,r.F],null,null),(e()(),r.Cb(15,0,null,0,4,"ion-toolbar",[],null,null,null,qe.Xb,qe.Y)),r.Bb(16,49152,null,0,Ae.Fb,[r.j,r.p,r.F],null,null),(e()(),r.Cb(17,0,null,0,2,"ion-button",[["expand","block"],["fill","clear"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.dismiss()&&r),r}),qe.cb,qe.d)),r.Bb(18,49152,null,0,Ae.n,[r.j,r.p,r.F],{expand:[0,"expand"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Ub(-1,0,["CLOSE"]))],(function(e,t){var n=t.component;e(t,10,0,n.bulSliders,"false"),e(t,12,0,n.images),e(t,18,0,"block","clear","small")}),null)}function tt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"app-display-image-modal",[],null,null,null,et,Xe)),r.Bb(1,114688,null,0,Ke.a,[Ae.Kb,Je.b,Qe.a],null,null)],(function(e,t){e(t,1,0)}),null)}var nt=r.yb("app-display-image-modal",Ke.a,tt,{images:"images",title:"title"},{},[]),rt=n("sOj9"),it=r.Ab({encapsulation:0,styles:[[""]],data:{}});function ot(e){return r.Wb(0,[r.Sb(402653184,1,{chartRef:0}),(e()(),r.Cb(1,0,null,null,2,"div",[["style","width: 100%; height: 100%;"]],null,null,null,null,null)),(e()(),r.Cb(2,0,[[1,0],["theChart",1]],null,1,"canvas",[["height","260"],["width","300"]],null,null,null,null,null)),(e()(),r.Ub(3,null,["",""]))],null,(function(e,t){e(t,3,0,t.component.chart)}))}var at=n("2sMl"),st=r.Ab({encapsulation:0,styles:[[""]],data:{}});function lt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r.Cb(1,0,null,null,3,"ion-button",[["fill","clear"]],null,null,null,qe.cb,qe.d)),r.Bb(2,49152,null,0,Ae.n,[r.j,r.p,r.F],{fill:[0,"fill"]},null),(e()(),r.Cb(3,0,null,0,1,"ion-icon",[["size","large"]],null,null,null,qe.qb,qe.r)),r.Bb(4,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null)],(function(e,t){var n=t.component;e(t,2,0,"clear"),e(t,4,0,t.context.$implicit.val>n.dataObj.ansAvg||t.context.$implicit.val===n.dataObj.ansAvg?"secondary":"warning",n.dataObj.icon,"large")}),null)}function ut(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,3,null,null,null,null,null,null,null)),(e()(),r.Cb(1,0,null,null,2,"div",[["class","ion-text-center"]],null,null,null,null,null)),(e()(),r.rb(16777216,null,null,1,null,lt)),r.Bb(3,278528,null,0,Ge.j,[r.X,r.S,r.x],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,3,0,t.component.dataObj.ansSpread)}),null)}function ct(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,5,null,null,null,null,null,null,null)),(e()(),r.Cb(1,0,null,null,4,"div",[["class","ion-text-center"]],null,null,null,null,null)),(e()(),r.Cb(2,0,null,null,3,"ion-button",[["fill","clear"]],null,null,null,qe.cb,qe.d)),r.Bb(3,49152,null,0,Ae.n,[r.j,r.p,r.F],{fill:[0,"fill"]},null),(e()(),r.Cb(4,0,null,0,1,"ion-icon",[["size","large"]],null,null,null,qe.qb,qe.r)),r.Bb(5,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null)],(function(e,t){var n=t.component;e(t,3,0,"clear"),e(t,5,0,1.5>=n.dataObj.ansAvg?"success":"danger",1.5>=n.dataObj.ansAvg?"thumbs-up":"thumbs-down","large")}),null)}function dt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,5,null,null,null,null,null,null,null)),(e()(),r.Cb(1,0,null,null,4,"div",[["class","ion-text-center"]],null,null,null,null,null)),(e()(),r.Cb(2,0,null,null,3,"ion-button",[["fill","clear"]],null,null,null,qe.cb,qe.d)),r.Bb(3,49152,null,0,Ae.n,[r.j,r.p,r.F],{fill:[0,"fill"]},null),(e()(),r.Cb(4,0,null,0,1,"ion-icon",[["size","large"]],null,null,null,qe.qb,qe.r)),r.Bb(5,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null)],(function(e,t){var n=t.component;e(t,3,0,"clear"),e(t,5,0,1.5>=n.dataObj.ansAvg?"success":"danger",1.5>=n.dataObj.ansAvg?"happy":"sad","large")}),null)}function ht(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,7,"ion-item",[["class","ion-text-center"],["lines","full"]],null,null,null,qe.xb,qe.t)),r.Bb(1,49152,null,0,Ae.K,[r.j,r.p,r.F],{lines:[0,"lines"]}
2,null),(e()(),r.Cb(2,0,null,0,5,"ion-label",[],null,null,null,qe.yb,qe.z)),r.Bb(3,49152,null,0,Ae.Q,[r.j,r.p,r.F],null,null),(e()(),r.Ub(-1,0,[" Average Rating: "])),(e()(),r.Cb(5,0,null,0,2,"ion-note",[["color","warning"],["style","font-weight: 700;"]],null,null,null,qe.Bb,qe.C)),r.Bb(6,49152,null,0,Ae.bb,[r.j,r.p,r.F],{color:[0,"color"]},null),(e()(),r.Ub(7,0,[" "," "]))],(function(e,t){e(t,1,0,"full"),e(t,6,0,"warning")}),(function(e,t){e(t,7,0,t.component.dataObj.ansAvg)}))}function ft(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,8,null,null,null,null,null,null,null)),(e()(),r.rb(16777216,null,null,1,null,ut)),r.Bb(2,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(16777216,null,null,1,null,ct)),r.Bb(4,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(16777216,null,null,1,null,dt)),r.Bb(6,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(16777216,null,null,1,null,ht)),r.Bb(8,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(0,null,null,0))],(function(e,t){var n=t.component;e(t,2,0,"rating"===n.dataObj.type&&"thumbs"!==n.dataObj.icon&&"emotion"!==n.dataObj.icon),e(t,4,0,"rating"===n.dataObj.type&&"thumbs"===n.dataObj.icon),e(t,6,0,"rating"===n.dataObj.type&&"emotion"===n.dataObj.icon),e(t,8,0,"rating"===n.dataObj.type&&"thumbs"!==n.dataObj.icon&&"emotion"!==n.dataObj.icon)}),null)}function pt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,7,"ion-item",[["lines","full"]],null,null,null,qe.xb,qe.t)),r.Bb(1,49152,null,0,Ae.K,[r.j,r.p,r.F],{lines:[0,"lines"]},null),(e()(),r.Cb(2,0,null,0,2,"ion-note",[["slot","start"],["style","width:25%; margin-right: 0px;"]],null,null,null,qe.Bb,qe.C)),r.Bb(3,49152,null,0,Ae.bb,[r.j,r.p,r.F],null,null),(e()(),r.Ub(4,0,[" "," (",")"])),(e()(),r.Cb(5,0,null,0,2,"ion-label",[["class","ion-text-wrap"]],null,null,null,qe.yb,qe.z)),r.Bb(6,49152,null,0,Ae.Q,[r.j,r.p,r.F],null,null),(e()(),r.Ub(7,0,["",""]))],(function(e,t){e(t,1,0,"full")}),(function(e,t){var n=t.component;e(t,4,0,n.dataObj.ansDistro[t.context.$implicit.val]?n.dataObj.ansDistro[t.context.$implicit.val]:"0",t.context.$implicit.percent),e(t,7,0,n.dataObj.details[t.context.index])}))}function mt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),r.rb(16777216,null,null,1,null,pt)),r.Bb(2,278528,null,0,Ge.j,[r.X,r.S,r.x],{ngForOf:[0,"ngForOf"]},null),(e()(),r.rb(0,null,null,0))],(function(e,t){e(t,2,0,t.component.dataObj.ansSpread)}),null)}function gt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"ion-icon",[["color","success"],["slot","start"]],null,null,null,qe.qb,qe.r)),r.Bb(1,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"]},null)],(function(e,t){e(t,1,0,"success","emotion"===t.component.dataObj.icon?"happy":"thumbs-up")}),null)}function _t(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"ion-icon",[["color","danger"],["slot","start"]],null,null,null,qe.qb,qe.r)),r.Bb(1,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"]},null)],(function(e,t){e(t,1,0,"danger","emotion"===t.component.dataObj.icon?"sad":"thumbs-down")}),null)}function yt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,11,"ion-item",[["lines","full"]],null,null,null,qe.xb,qe.t)),r.Bb(1,49152,null,0,Ae.K,[r.j,r.p,r.F],{lines:[0,"lines"]},null),(e()(),r.rb(16777216,null,0,1,null,gt)),r.Bb(3,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(16777216,null,0,1,null,_t)),r.Bb(5,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.Cb(6,0,null,0,2,"ion-note",[["slot","start"],["style","width:25%; margin-right: 0px;"]],null,null,null,qe.Bb,qe.C)),r.Bb(7,49152,null,0,Ae.bb,[r.j,r.p,r.F],null,null),(e()(),r.Ub(8,0,[" "," (",")"])),(e()(),r.Cb(9,0,null,0,2,"ion-label",[["class","ion-text-wrap"]],null,null,null,qe.yb,qe.z)),r.Bb(10,49152,null,0,Ae.Q,[r.j,r.p,r.F],null,null),(e()(),r.Ub(11,0,["",""]))],(function(e,t){e(t,1,0,"full"),e(t,3,0,0===t.context.index),e(t,5,0,1===t.context.index)}),(function(e,t){var n=t.component;e(t,8,0,n.dataObj.ansDistro[t.context.$implicit.val]?n.dataObj.ansDistro[t.context.$implicit.val]:"0",t.context.$implicit.percent),e(t,11,0,n.dataObj.details[t.context.
2index])}))}function vt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),r.rb(16777216,null,null,1,null,yt)),r.Bb(2,278528,null,0,Ge.j,[r.X,r.S,r.x],{ngForOf:[0,"ngForOf"]},null),(e()(),r.rb(0,null,null,0))],(function(e,t){e(t,2,0,t.component.dataObj.ansSpread)}),null)}function bt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r.rb(16777216,null,null,1,null,mt)),r.Bb(2,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(16777216,null,null,1,null,vt)),r.Bb(4,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(0,null,null,0))],(function(e,t){var n=t.component;e(t,2,0,"airplane"===n.dataObj.icon||"heart"===n.dataObj.icon||"star"===n.dataObj.icon||"radio"===n.dataObj.icon),e(t,4,0,"emotion"===n.dataObj.icon||"thumbs"===n.dataObj.icon)}),null)}function wt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,7,"ion-item",[["lines","full"]],null,null,null,qe.xb,qe.t)),r.Bb(1,49152,null,0,Ae.K,[r.j,r.p,r.F],{lines:[0,"lines"]},null),(e()(),r.Cb(2,0,null,0,2,"ion-note",[["slot","start"]],null,null,null,qe.Bb,qe.C)),r.Bb(3,49152,null,0,Ae.bb,[r.j,r.p,r.F],null,null),(e()(),r.Ub(4,0,["",""])),(e()(),r.Cb(5,0,null,0,2,"ion-label",[["class","ion-text-wrap"]],null,null,null,qe.yb,qe.z)),r.Bb(6,49152,null,0,Ae.Q,[r.j,r.p,r.F],null,null),(e()(),r.Ub(7,0,["",""]))],(function(e,t){e(t,1,0,"full")}),(function(e,t){var n=t.component;e(t,4,0,t.parent.context.$implicit.id),e(t,7,0,n.dataObj.elements[t.parent.context.$implicit.key].value)}))}function kt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),r.rb(16777216,null,null,1,null,wt)),r.Bb(2,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(0,null,null,0))],(function(e,t){e(t,2,0,!t.context.$implicit.multi)}),null)}function Mt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,13,null,null,null,null,null,null,null)),(e()(),r.Cb(1,0,null,null,12,"ion-card",[],null,null,null,qe.ib,qe.f)),r.Bb(2,49152,null,0,Ae.p,[r.j,r.p,r.F],null,null),(e()(),r.Cb(3,0,null,0,4,"ion-card-header",[],null,null,null,qe.fb,qe.h)),r.Bb(4,49152,null,0,Ae.r,[r.j,r.p,r.F],null,null),(e()(),r.Cb(5,0,null,0,2,"ion-card-subtitle",[],null,null,null,qe.gb,qe.i)),r.Bb(6,49152,null,0,Ae.s,[r.j,r.p,r.F],null,null),(e()(),r.Ub(7,0,[""," Distribution"])),(e()(),r.Cb(8,0,null,0,5,"ion-card-content",[],null,
2null,null,qe.eb,qe.g)),r.Bb(9,49152,null,0,Ae.q,[r.j,r.p,r.F],null,null),(e()(),r.Cb(10,0,null,0,1,"app-chart-canvas",[["chartType","bar"],["multi","true"],["title","Vote Quantity"]],null,null,null,ot,it)),r.Bb(11,245760,null,0,rt.a,[],{title:[0,"title"],distro:[1,"distro"],chartType:[2,"chartType"],multi:[3,"multi"],elements:[4,"elements"]},null),(e()(),r.rb(16777216,null,0,1,null,kt)),r.Bb(13,278528,null,0,Ge.j,[r.X,r.S,r.x],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){var n=t.component;e(t,11,0,"Vote Quantity",n.dataObj.ansDistroMulti,"bar","true",n.dataObj.elements),e(t,13,0,n.dataObj.ansDistroMulti)}),(function(e,t){e(t,7,0,t.component.dataObj.multiple?"Compound":"Selection")}))}function St(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,10,"ion-list",[["class","nobackground"]],null,null,null,qe.Ab,qe.A)),r.Bb(1,49152,null,0,Ae.R,[r.j,r.p,r.F],null,null),(e()(),r.Cb(2,0,null,0,4,"ion-list-header",[],null,null,null,qe.zb,qe.B)),r.Bb(3,49152,null,0,Ae.S,[r.j,r.p,r.F],null,null),(e()(),r.Cb(4,0,null,0,2,"ion-label",[],null,null,null,qe.yb,qe.z)),r.Bb(5,49152,null,0,Ae.Q,[r.j,r.p,r.F],null,null),(e()(),r.Ub(-1,0,["Answer Distribution"])),(e()(),r.rb(16777216,null,0,1,null,bt)),r.Bb(8,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(16777216,null,0,1,null,Mt)),r.Bb(10,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,8,0,"rating"===n.dataObj.type),e(t,10,0,"multi"===n.dataObj.type)}),null)}function Tt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,4,"ion-chip",[["slot","start"]],null,null,null,qe.jb,qe.k)),r.Bb(1,49152,null,0,Ae.v,[r.j,r.p,r.F],null,null),(e()(),r.Cb(2,0,null,0,2,"ion-label",[["style","padding-left: 0px;"]],null,null,null,qe.yb,qe.z)),r.Bb(3,49152,null,0,Ae.Q,[r.j,r.p,r.F],null,null),(e()(),r.Ub(4,0,["",""]))],null,(function(e,t){e(t,4,0,t.parent.context.$implicit.answer)}))}function xt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"ion-icon",[["color","success"],["slot","start"]],null,null,null,qe.qb,qe.r)),r.Bb(1,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"]},null)],(function(e,t){e(t,1,0,"success","emotion"===t.component.dataObj.icon?"happy":"thumbs-up")}),null)}function Lt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"ion-icon",[["color","danger"],["slot","start"]],null,null,null,qe.qb,qe.r)),r.Bb(1,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"]},null)],(function(e,t){e(t,1,0,"danger","emotion"===t.component.dataObj.icon?"sad":"thumbs-down")}),null)}function Dt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r.rb(16777216,null,null,1,null,xt)),r.Bb(2,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(16777216,null,null,1,null,Lt)),r.Bb(4,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(0,null,null,0))],(function(e,t){e(t,2,0,1===t.parent.context.$implicit.answer),e(t,4,0,2===t.parent.context.$implicit.answer)}),null)}function Ct(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,4,"ion-chip",[],null,null,null,qe.jb,qe.k)),r.Bb(1,49152,null,0,Ae.v,[r.j,r.p,r.F],null,null),(e()(),r.Cb(2,0,null,0,2,"ion-label",[["style","padding-left: 0px;"]],null,null,null,qe.yb,qe.z)),r.Bb(3,49152,null,0,Ae.Q,[r.j,r.p,r.F],null,null),(e()(),r.Ub(4,0,["",""]))],null,(function(e,t){e(t,4,0,t.parent.context.$implicit.id)}))}function Ot(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),r.rb(16777216,null,null,1,null,Ct)),r.Bb(2,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(0,null,null,0))],(function(e,t){e(t,2,0,t.component.compareArrays(t.context.$implicit,t.parent.parent.context.$implicit.answer))}),null)}function Et(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),r.rb(16777216,null,null,1,null,Ot)),r.Bb(2,278528,null,0,Ge.j,[r.X,r.S,r.x],{ngForOf:[0,"ngForOf"]},null),(e()(),r.rb(0,null,null,0))],(function(e,t){e(t,2,0,t.component.dataObj.ansDistroMulti)}),null)}function jt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,13,"ion-item",[["lines","full"]],null,null,null,qe.xb,qe.t)),r.Bb(1,49152,null,0,Ae.K,[r.j,r.p,r.F],{lines:[0,"lines"]},null),(e()(),r.rb(16777216,null,0,1,null,Tt)),r.Bb(3,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(16777216,null,0,1,null,Dt)),r.Bb(5,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.Cb(6,0,null,0,5,"ion-label",[["class","ion-text-wrap"]],null,null,null,qe.yb,qe.z)),r.Bb(7,49152,null,0,Ae.Q,[r.j,r.p,r.F],null,null),(e()(),r.Ub(8,0,[" "," "])),(e()(),r.Cb(9,0,null,0,0,"br",[],null,
2null,null,null,null)),(e()(),r.Ub(10,0,[" "," "])),r.Qb(11,2),(e()(),r.rb(16777216,null,0,1,null,Et)),r.Bb(13,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,"full"),e(t,3,0,"airplane"===n.dataObj.icon||"heart"===n.dataObj.icon||"star"===n.dataObj.icon||"radio"===n.dataObj.icon),e(t,5,0,"emotion"===n.dataObj.icon||"thumbs"===n.dataObj.icon),e(t,13,0,"multi"===n.dataObj.type)}),(function(e,t){e(t,8,0,"none"!==t.context.$implicit.user?t.parent.parent.context.ngIf[t.context.$implicit.user].combinedName:"Anonymous");var n=null!==t.context.$implicit.ts?r.Vb(t,10,0,e(t,11,0,r.Ob(t.parent.parent.parent,0),t.context.$implicit.ts,"E, MMMM d, y, HH:mm")):"No Timestamp";e(t,10,0,n)}))}function At(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,8,"ion-list",[["class","nobackground"]],null,null,null,qe.Ab,qe.A)),r.Bb(1,49152,null,0,Ae.R,[r.j,r.p,r.F],null,null),(e()(),r.Cb(2,0,null,0,4,"ion-list-header",[],null,null,null,qe.zb,qe.B)),r.Bb(3,49152,null,0,Ae.S,[r.j,r.p,r.F],null,null),(e()(),r.Cb(4,0,null,0,2,"ion-label",[],null,null,null,qe.yb,qe.z)),r.Bb(5,49152,null,0,Ae.Q,[r.j,r.p,r.F],null,null),(e()(),r.Ub(-1,0,["Individual Feedback"])),(e()(),r.rb(16777216,null,0,1,null,jt)),r.Bb(8,278528,null,0,Ge.j,[r.X,r.S,r.x],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,8,0,t.component.answerList)}),null)}function Pt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,13,"ion-card",[],null,null,null,qe.ib,qe.f)),r.Bb(1,49152,null,0,Ae.p,[r.j,r.p,r.F],null,null),(e()(),r.Cb(2,0,null,0,8,"ion-card-header",[],null,null,null,qe.fb,qe.h)),r.Bb(3,49152,null,0,Ae.r,[r.j,r.p,r.F],null,null),(e()(),r.Cb(4,0,null,0,3,"ion-card-subtitle",[["class","gold"]],null,null,null,qe.gb,qe.i)),r.Bb(5,49152,null,0,Ae.s,[r.j,r.p,r.F],null,null),(e()(),r.Ub(6,0,["Answer "," | ",""])),r.Qb(7,2),(e()(),r.Cb(8,0,null,0,2,"ion-card-subtitle",[["class","gold"]],null,null,null,qe.gb,qe.i)),r.Bb(9,49152,null,0,Ae.s,[r.j,r.p,r.F],null,null),(e()(),r.Ub(10,0,[""," "])),(e()(),r.Cb(11,0,null,0,2,"ion-card-content",[],null,
2null,null,qe.eb,qe.g)),r.Bb(12,49152,null,0,Ae.q,[r.j,r.p,r.F],null,null),(e()(),r.Ub(13,0,[" "," "]))],null,(function(e,t){var n=t.component.ansLength-t.parent.context.index,i="none"!==t.parent.context.$implicit.ts?r.Vb(t,6,1,e(t,7,0,r.Ob(t.parent.parent.parent.parent,0),t.parent.context.$implicit.ts,"E, MMMM d, y")):"No Timestamp";e(t,6,0,n,i),e(t,10,0,"none"!==t.parent.context.$implicit.user?t.parent.parent.parent.context.ngIf[t.parent.context.$implicit.user].combinedName:"Anonymous"),e(t,13,0,t.parent.context.$implicit.answer)}))}function It(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),r.rb(16777216,null,null,1,null,Pt)),r.Bb(2,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(0,null,null,0))],(function(e,t){e(t,2,0,t.context.$implicit.answer)}),null)}function Yt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,8,"ion-list",[["class","nobackground"]],null,null,null,qe.Ab,qe.A)),r.Bb(1,49152,null,0,Ae.R,[r.j,r.p,r.F],null,null),(e()(),r.Cb(2,0,null,0,4,"ion-list-header",[],null,null,null,qe.zb,qe.B)),r.Bb(3,49152,null,0,Ae.S,[r.j,r.p,r.F],null,null),(e()(),r.Cb(4,0,null,0,2,"ion-label",[],null,null,null,qe.yb,qe.z)),r.Bb(5,49152,null,0,Ae.Q,[r.j,r.p,r.F],null,null),(e()(),r.Ub(-1,0,["Answers"])),(e()(),r.rb(16777216,null,0,1,null,It)),r.Bb(8,278528,null,0,Ge.j,[r.X,r.S,r.x],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,8,0,t.component.textList)}),null)}function Rt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,4,null,null,null,null,null,null,null)),(e()(),r.rb(16777216,null,null,1,null,At)),r.Bb(2,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(16777216,null,null,1,null,Yt)),r.Bb(4,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(0,null,null,0))],(function(e,t){var n=t.component;e(t,2,0,n.graph),e(t,4,0,!n.graph)}),null)}function Nt(e){return r.Wb(0,[r.Pb(0,Ge.e,[r.z]),r.Sb(402653184,1,{timeChartDetail:0}),r.Sb(402653184,2,{timeChartAverage:0}),(e()(),r.Cb(3,0,null,null,6,"ion-header",[],null,null,null,qe.pb,qe.q)),r.Bb(4,49152,null,0,Ae.E,[r.j,r.p,r.F],null,null),(e()(),r.Cb(5,0,null,0,4,"ion-toolbar",[],null,
2null,null,qe.Xb,qe.Y)),r.Bb(6,49152,null,0,Ae.Fb,[r.j,r.p,r.F],null,null),(e()(),r.Cb(7,0,null,0,2,"ion-title",[],null,null,null,qe.Vb,qe.W)),r.Bb(8,49152,null,0,Ae.Db,[r.j,r.p,r.F],null,null),(e()(),r.Ub(-1,0,["Result Analytics"])),(e()(),r.Cb(10,0,null,null,22,"ion-content",[],null,null,null,qe.lb,qe.m)),r.Bb(11,49152,null,0,Ae.x,[r.j,r.p,r.F],null,null),(e()(),r.Cb(12,0,null,0,15,"ion-list",[],null,null,null,qe.Ab,qe.A)),r.Bb(13,49152,null,0,Ae.R,[r.j,r.p,r.F],null,null),(e()(),r.Cb(14,0,null,0,4,"ion-list-header",[],null,null,null,qe.zb,qe.B)),r.Bb(15,49152,null,0,Ae.S,[r.j,r.p,r.F],null,null),(e()(),r.Cb(16,0,null,0,2,"ion-label",[],null,null,null,qe.yb,qe.z)),r.Bb(17,49152,null,0,Ae.Q,[r.j,r.p,r.F],null,null),(e()(),r.Ub(-1,0,["Question Asked"])),(e()(),r.Cb(19,0,null,0,4,"ion-item",[["lines","none"]],null,null,null,qe.xb,qe.t)),r.Bb(20,49152,null,0,Ae.K,[r.j,r.p,r.F],{lines:[0,"lines"]},null),(e()(),r.Cb(21,0,null,0,2,"ion-label",[["class","ion-text-wrap"]],null,null,null,qe.yb,qe.z)),r.Bb(22,49152,null,0,Ae.Q,[r.j,r.p,r.F],null,null),(e()(),r.Ub(23,0,["",""])),(e()(),r.rb(16777216,null,0,1,null,ft)),r.Bb(25,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.Cb(26,0,[[1,0],["timeChartDetail",1]],0,0,"canvas",[["id","timeChartDetail"]],null,null,null,null,null)),(e()(),r.Cb(27,0,[[2,0],["timeChartAverage",1]],0,0,"canvas",[["id","timeChartAverage"]],null,null,null,null,null)),(e()(),r.rb(16777216,null,0,1,null,St)),r.Bb(29,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(16777216,null,0,2,null,Rt)),r.Bb(31,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),r.Pb(131072,Ge.b,[r.j]),(e()(),r.Cb(33,0,null,null,6,"ion-footer",[],null,null,null,qe.nb,qe.o)),r.Bb(34,49152,null,0,Ae.C,[r.j,r.p,r.F],null,null),(e()(),r.Cb(35,0,null,0,4,"ion-toolbar",[],null,
2null,null,qe.Xb,qe.Y)),r.Bb(36,49152,null,0,Ae.Fb,[r.j,r.p,r.F],null,null),(e()(),r.Cb(37,0,null,0,2,"ion-button",[["expand","block"],["fill","clear"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.dismiss()&&r),r}),qe.cb,qe.d)),r.Bb(38,49152,null,0,Ae.n,[r.j,r.p,r.F],{expand:[0,"expand"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Ub(-1,0,["CLOSE"]))],(function(e,t){var n=t.component;e(t,20,0,"none"),e(t,25,0,n.graph),e(t,29,0,n.graph),e(t,31,0,r.Vb(t,31,0,r.Ob(t,32).transform(n.users$))),e(t,38,0,"block","clear","small")}),(function(e,t){e(t,23,0,t.component.dataObj.value)}))}function Ft(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"app-display-form-result-detail",[],null,null,null,Nt,st)),r.Bb(1,4308992,null,0,at.a,[Ae.Kb],null,null)],(function(e,t){e(t,1,0)}),null)}var Ht=r.yb("app-display-form-result-detail",at.a,Ft,{dataObj:"dataObj",graph:"graph",users$:"users$",isArchive:"isArchive"},{},[]),$t=n("UbdM"),zt=n("K813"),Wt=n("Zr1d"),Ut=n("s7LF"),Bt=n("MDrr"),Vt=r.Ab({encapsulation:0,styles:[[""]],data:{}});function qt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,4,"ion-toolbar",[],null,
2null,null,qe.Xb,qe.Y)),r.Bb(1,49152,null,0,Ae.Fb,[r.j,r.p,r.F],null,null),(e()(),r.Cb(2,0,null,0,2,"ion-title",[],null,null,null,qe.Vb,qe.W)),r.Bb(3,49152,null,0,Ae.Db,[r.j,r.p,r.F],null,null),(e()(),r.Ub(4,0,["",""]))],null,(function(e,t){e(t,4,0,t.component.title)}))}function Gt(e){return r.Wb(0,[r.Sb(402653184,1,{editorEle:0}),(e()(),r.Cb(1,0,null,null,123,"ion-header",[],null,null,null,qe.pb,qe.q)),r.Bb(2,49152,null,0,Ae.E,[r.j,r.p,r.F],null,null),(e()(),r.rb(16777216,null,0,1,null,qt)),r.Bb(4,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.Cb(5,0,null,0,29,"ion-toolbar",[["class","button-container-mobile"],["style","text-align: center;"]],null,null,null,qe.Xb,qe.Y)),r.Bb(6,49152,null,0,Ae.Fb,[r.j,r.p,r.F],null,null),(e()(),r.Cb(7,0,null,0,3,"ion-button",[["fill","solid"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.alignThings(n,"left")&&r),r}),qe.cb,qe.d)),r.Bb(8,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Cb(9,0,null,0,1,"ion-icon",[["name","fz-align-left"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(10,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(11,0,null,0,3,"ion-button",[["fill","solid"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.alignThings(n,"center")&&r),r}),qe.cb,qe.d)),r.Bb(12,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Cb(13,0,null,0,1,"ion-icon",[["name","fz-align-center"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(14,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(15,0,null,0,3,"ion-button",[["fill","solid"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.alignThings(n,"right")&&r),r}),qe.cb,qe.d)),r.Bb(16,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Cb(17,0,null,0,1,"ion-icon",[["name","fz-align-right"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(18,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(19,0,null,0,3,"ion-button",[["fill","solid"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.alignThings(n,"full")&&r),r}),qe.cb,qe.d)),r.Bb(20,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Cb(21,0,null,0,1,"ion-icon",[["name","fz-align-justify"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(22,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(23,0,null,0,3,"ion-button",[["color","dark"],["fill","solid"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.runCommand(n,"undo")&&r),r}),qe.cb,qe.d)),r.Bb(24,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Cb(25,0,null,0,1,"ion-icon",[["name","fz-undo"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(26,49152,null,0,Ae.F,[r.j,r.p,r.F],{name:[0,"name"],size:[1,"size"]},null),(e()(),r.Cb(27,0,null,0,3,"ion-button",[["color","dark"],["fill","solid"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.runCommand(n,"redo")&&r),r}),qe.cb,qe.d)),r.Bb(28,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Cb(29,0,null,0,1,"ion-icon",[["name","fz-redo"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(30,49152,null,0,Ae.F,[r.j,r.p,r.F],{name:[0,"name"],size:[1,"size"]},null),(e()(),r.Cb(31,0,null,0,3,"ion-button",[["color","dark"],["fill","solid"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.rmFormat(n)&&r),r}),qe.cb,qe.d)),r.Bb(32,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Cb(33,0,null,0,1,"ion-icon",[["name","fz-ban"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(34,49152,null,0,Ae.F,[r.j,r.p,r.F],{name:[0,"name"],size:[1,"size"]},null),(e()(),r.Cb(35,0,null,0,29,"ion-toolbar",[["class","button-container-mobile"],["style","text-align: center;"]],null,null,null,qe.Xb,qe.Y)),r.Bb(36,49152,null,0,Ae.Fb,[r.j,r.p,r.F],null,null),(e()(),r.Cb(37,0,null,0,3,"ion-button",[["fill","solid"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.decorateThings(n,"bold")&&r),r}),qe.cb,qe.d)),r.Bb(38,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Cb(39,0,null,0,1,"ion-icon",[["name","fz-bold"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(40,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(41,0,null,0,3,"ion-button",[["fill","solid"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.decorateThings(n,"italic")&&r),r}),qe.cb,qe.d)),r.Bb(42,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"],size:[2,"size"]}
2,null),(e()(),r.Cb(43,0,null,0,1,"ion-icon",[["name","fz-italic"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(44,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(45,0,null,0,3,"ion-button",[["fill","solid"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.decorateThings(n,"underline")&&r),r}),qe.cb,qe.d)),r.Bb(46,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Cb(47,0,null,0,1,"ion-icon",[["name","fz-underline"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(48,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(49,0,null,0,3,"ion-button",[["color","dark"],["fill","solid"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.runCommand(n,"indent")&&r),r}),qe.cb,qe.d)),r.Bb(50,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Cb(51,0,null,0,1,"ion-icon",[["name","fz-indent"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(52,49152,null,0,Ae.F,[r.j,r.p,r.F],{name:[0,"name"],size:[1,"size"]},null),(e()(),r.Cb(53,0,null,0,3,"ion-button",[["color","dark"],["fill","solid"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.runCommand(n,"outdent")&&r),r}),qe.cb,qe.d)),r.Bb(54,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Cb(55,0,null,0,1,"ion-icon",[["name","fz-outdent"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(56,49152,null,0,Ae.F,[r.j,r.p,r.F],{name:[0,"name"],size:[1,"size"]},null),(e()(),r.Cb(57,0,null,0,3,"ion-button",[["fill","solid"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.runCommand(n,"insertOrderedList")&&r),r}),qe.cb,qe.d)),r.Bb(58,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Cb(59,0,null,0,1,"ion-icon",[["name","fz-list-ol"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(60,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(61,0,null,0,3,"ion-button",[["fill","solid"],["size","small"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.runCommand(n,"insertUnorderedList")&&r),r}),qe.cb,qe.d)),r.Bb(62,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Cb(63,0,null,0,1,"ion-icon",[["name","fz-list-ul"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(64,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(65,0,null,0,29,"ion-toolbar",[["class","button-container-web"],["style","text-align: center;"]],null,null,null,qe.Xb,qe.Y)),r.Bb(66,49152,null,0,Ae.Fb,[r.j,r.p,r.F],null,null),(e()(),r.Cb(67,0,null,0,3,"ion-button",[["fill","solid"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.alignThings(n,"left")&&r),r}),qe.cb,qe.d)),r.Bb(68,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"]},null),(e()(),r.Cb(69,0,null,0,1,"ion-icon",[["name","fz-align-left"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(70,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(71,0,null,0,3,"ion-button",[["fill","solid"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.alignThings(n,"center")&&r),r}),qe.cb,qe.d)),r.Bb(72,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"]},null),(e()(),r.Cb(73,0,null,0,1,"ion-icon",[["name","fz-align-center"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(74,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(75,0,null,0,3,"ion-button",[["fill","solid"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.alignThings(n,"right")&&r),r}),qe.cb,qe.d)),r.Bb(76,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"]},null),(e()(),r.Cb(77,0,null,0,1,"ion-icon",[["name","fz-align-right"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(78,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(79,0,null,0,3,"ion-button",[["fill","solid"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.alignThings(n,"full")&&r),r}),qe.cb,qe.d)),r.Bb(80,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"]},null),(e()(),r.Cb(81,0,null,0,1,"ion-icon",[["name","fz-align-justify"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(82,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(83,0,null,0,3,"ion-button",[["color","dark"],["fill","solid"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.runCommand(n,"undo")&&r),r}),qe.cb,qe.d)),r.Bb(84,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"]},null),(e()(),r.Cb(85,0,null,0,1,"ion-icon",[["name","fz-undo"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(86,49152,null,0,Ae.F,[r.j,r.p,r.F],{name:[0,"name"],size:[1,"size"]},null),(e()(),r.Cb(87,0,null,0,3,"ion-button",[["color","dark"],["fill","solid"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.runCommand(n,"redo")&&r),r}),qe.cb,qe.d)),r.Bb(88,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"]},null),(e()(),r.Cb(89,0,null,0,1,"ion-icon",[["name","fz-redo"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(90,49152,null,0,Ae.F,[r.j,r.p,r.F],{name:[0,"name"],size:[1,"size"]},null),(e()(),r.Cb(91,0,null,0,3,"ion-button",[["color","dark"],["fill","solid"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.rmFormat(n)&&r),r}),qe.cb,qe.d)),r.Bb(92,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"]},null),(e()(),r.Cb(93,0,null,0,1,"ion-icon",[["name","fz-ban"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(94,49152,null,0,Ae.F,[r.j,r.p,r.F],{name:[0,"name"],size:[1,"size"]},null),(e()(),r.Cb(95,0,null,0,29,"ion-toolbar",[["class","button-container-web"],["style","text-align: center;"]],null,null,null,qe.Xb,qe.Y)),r.Bb(96,49152,null,0,Ae.Fb,[r.j,r.p,r.F],null,null),(e()(),r.Cb(97,0,null,0,3,"ion-button",[["fill","solid"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.decorateThings(n,"bold")&&r),r}),qe.cb,qe.d)),r.Bb(98,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"]},null),(e()(),r.Cb(99,0,null,0,1,"ion-icon",[["name","fz-bold"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(100,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(101,0,null,0,3,"ion-button",[["fill","solid"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.decorateThings(n,"italic")&&r),r}),qe.cb,qe.d)),r.Bb(102,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"]}
2,null),(e()(),r.Cb(103,0,null,0,1,"ion-icon",[["name","fz-italic"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(104,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(105,0,null,0,3,"ion-button",[["fill","solid"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.decorateThings(n,"underline")&&r),r}),qe.cb,qe.d)),r.Bb(106,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"]},null),(e()(),r.Cb(107,0,null,0,1,"ion-icon",[["name","fz-underline"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(108,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(109,0,null,0,3,"ion-button",[["color","dark"],["fill","solid"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.runCommand(n,"indent")&&r),r}),qe.cb,qe.d)),r.Bb(110,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"]},null),(e()(),r.Cb(111,0,null,0,1,"ion-icon",[["name","fz-indent"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(112,49152,null,0,Ae.F,[r.j,r.p,r.F],{name:[0,"name"],size:[1,"size"]},null),(e()(),r.Cb(113,0,null,0,3,"ion-button",[["color","dark"],["fill","solid"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.runCommand(n,"outdent")&&r),r}),qe.cb,qe.d)),r.Bb(114,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"]},null),(e()(),r.Cb(115,0,null,0,1,"ion-icon",[["name","fz-outdent"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(116,49152,null,0,Ae.F,[r.j,r.p,r.F],{name:[0,"name"],size:[1,"size"]},null),(e()(),r.Cb(117,0,null,0,3,"ion-button",[["fill","solid"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.runCommand(n,"insertOrderedList")&&r),r}),qe.cb,qe.d)),r.Bb(118,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"]},null),(e()(),r.Cb(119,0,null,0,1,"ion-icon",[["name","fz-list-ol"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(120,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(121,0,null,0,3,"ion-button",[["fill","solid"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.runCommand(n,"insertUnorderedList")&&r),r}),qe.cb,qe.d)),r.Bb(122,49152,null,0,Ae.n,[r.j,r.p,r.F],{color:[0,"color"],fill:[1,"fill"]},null),(e()(),r.Cb(123,0,null,0,1,"ion-icon",[["name","fz-list-ul"],["size","small"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(124,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"],size:[2,"size"]},null),(e()(),r.Cb(125,0,null,null,2,"ion-content",[["id","txtField"]],null,null,null,qe.lb,qe.m)),r.Bb(126,49152,null,0,Ae.x,[r.j,r.p,r.F],null,null),(e()(),r.Cb(127,0,[[1,0],["editorEle",1]],0,0,"div",[["class","maineditor"],["contenteditable","true"],["id","editorEle"],["placeholder","Type some text here!"],["style","min-height: 99%;margin-top:0px;"],["tappable",""]],null,null,null,null,null)),(e()(),r.Cb(128,0,null,null,9,"ion-footer",[],null,null,null,qe.nb,qe.o)),r.Bb(129,49152,null,0,Ae.C,[r.j,r.p,r.F],null,null),(e()(),r.Cb(130,0,null,0,7,"ion-toolbar",[],null,
2null,null,qe.Xb,qe.Y)),r.Bb(131,49152,null,0,Ae.Fb,[r.j,r.p,r.F],null,null),(e()(),r.Cb(132,0,null,0,2,"ion-button",[["expand","block"],["fill","clear"],["size","small"],["slot","start"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.save()&&r),r}),qe.cb,qe.d)),r.Bb(133,49152,null,0,Ae.n,[r.j,r.p,r.F],{expand:[0,"expand"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Ub(-1,0,["SAVE"])),(e()(),r.Cb(135,0,null,0,2,"ion-button",[["expand","block"],["fill","clear"],["size","small"],["slot","end"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.dismiss()&&r),r}),qe.cb,qe.d)),r.Bb(136,49152,null,0,Ae.n,[r.j,r.p,r.F],{expand:[0,"expand"],fill:[1,"fill"],size:[2,"size"]},null),(e()(),r.Ub(-1,0,["CANCEL"]))],(function(e,t){var n=t.component;e(t,4,0,n.title),e(t,8,0,"left"===n.textAlign?"light":"dark","solid","small"),e(t,10,0,"left"===n.textAlign?"dark":"light","fz-align-left","small"),e(t,12,0,"center"===n.textAlign?"light":"dark","solid","small"),e(t,14,0,"center"===n.textAlign?"dark":"light","fz-align-center","small"),e(t,16,0,"right"===n.textAlign?"light":"dark","solid","small"),e(t,18,0,"right"===n.textAlign?"dark":"light","fz-align-right","small"),e(t,20,0,"justify"===n.textAlign?"light":"dark","solid","small"),e(t,22,0,"justify"===n.textAlign?"dark":"light","fz-align-justify","small"),e(t,24,0,"dark","solid","small"),e(t,26,0,"fz-undo","small"),e(t,28,0,"dark","solid","small"),e(t,30,0,"fz-redo","small"),e(t,32,0,"dark","solid","small"),e(t,34,0,"fz-ban","small"),e(t,38,0,n.isBold?"light":"dark","solid","small"),e(t,40,0,n.isBold?"dark":"light","fz-bold","small"),e(t,42,0,n.isItalic?"light":"dark","solid","small"),e(t,44,0,n.isItalic?"dark":"light","fz-italic","small"),e(t,46,0,n.isUl?"light":"dark","solid","small"),e(t,48,0,n.isUl?"dark":"light","fz-underline","small"),e(t,50,0,"dark","solid","small"),e(t,52,0,"fz-indent","small"),e(t,54,0,"dark","solid","small"),e(t,56,0,"fz-outdent","small"),e(t,58,0,n.textUL?"light":"dark","solid","small"),e(t,60,0,n.textUL?"dark":"light","fz-list-ol","small"),e(t,62,0,n.textOL?"light":"dark","solid","small"),e(t,64,0,n.textOL?"dark":"light","fz-list-ul","small"),e(t,68,0,"left"===n.textAlign?"light":"dark","solid"),e(t,70,0,"left"===n.textAlign?"dark":"light","fz-align-left","small"),e(t,72,0,"center"===n.textAlign?"light":"dark","solid"),e(t,74,0,"center"===n.textAlign?"dark":"light","fz-align-center","small"),e(t,76,0,"right"===n.textAlign?"light":"dark","solid"),e(t,78,0,"right"===n.textAlign?"dark":"light","fz-align-right","small"),e(t,80,0,"justify"===n.textAlign?"light":"dark","solid"),e(t,82,0,"justify"===n.textAlign?"dark":"light","fz-align-justify","small"),e(t,84,0,"dark","solid"),e(t,86,0,"fz-undo","small"),e(t,88,0,"dark","solid"),e(t,90,0,"fz-redo","small"),e(t,92,0,"dark","solid"),e(t,94,0,"fz-ban","small"),e(t,98,0,n.isBold?"light":"dark","solid"),e(t,100,0,n.isBold?"dark":"light","fz-bold","small"),e(t,102,0,n.isItalic?"light":"dark","solid"),e(t,104,0,n.isItalic?"dark":"light","fz-italic","small"),e(t,106,0,n.isUl?"light":"dark","solid"),e(t,108,0,n.isUl?"dark":"light","fz-underline","small"),e(t,110,0,"dark","solid"),e(t,112,0,"fz-indent","small"),e(t,114,0,"dark","solid"),e(t,116,0,"fz-outdent","small"),e(t,118,0,n.textUL?"light":"dark","solid"),e(t,120,0,n.textUL?"dark":"light","fz-list-ol","small"),e(t,122,0,n.textOL?"light":"dark","solid"),e(t,124,0,n.textOL?"dark":"light","fz-list-ul","small"),e(t,133,0,"block","clear","small"),e(t,136,0,"block","clear","small")}),null)}function Kt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"app-editor-richtext-modal",[],null,null,null,Gt,Vt)),r.Bb(1,245760,null,0,zt.a,[Ae.Kb,Wt.a,Ut.d,Ae.Ob,Bt.a,Ae.Pb],null,
2null)],(function(e,t){e(t,1,0)}),null)}var Jt=r.yb("app-editor-richtext-modal",zt.a,Kt,{title:"title",text:"text",placeholder:"placeholder",empty:"empty",max:"max"},{returnText:"returnText",textChanged:"textChanged"},[]),Qt=n("JgjO"),Xt=r.Ab({encapsulation:0,styles:[[""]],data:{}});function Zt(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"ion-icon",[["class","normal"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(1,49152,null,0,Ae.F,[r.j,r.p,r.F],{name:[0,"name"]},null)],(function(e,t){e(t,1,0,t.parent.context.$implicit)}),null)}function en(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"ion-icon",[["class","gold"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(1,49152,null,0,Ae.F,[r.j,r.p,r.F],{name:[0,"name"]},null)],(function(e,t){e(t,1,0,t.parent.context.$implicit)}),null)}function tn(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,7,"ion-col",[["size","3"],["style","text-align:center;"]],null,null,null,qe.kb,qe.l)),r.Bb(1,49152,null,0,Ae.w,[r.j,r.p,r.F],{size:[0,"size"]},null),(e()(),r.Cb(2,0,null,0,5,"ion-button",[["fill","clear"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.return(e.context.$implicit)&&r),r}),qe.cb,qe.d)),r.Bb(3,49152,null,0,Ae.n,[r.j,r.p,r.F],{fill:[0,"fill"]},null),(e()(),r.rb(16777216,null,0,1,null,Zt)),r.Bb(5,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(16777216,null,0,1,null,en)),r.Bb(7,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,"3"),e(t,3,0,"clear"),e(t,5,0,n.active!==t.context.$implicit),e(t,7,0,n.active===t.context.$implicit)}),null)}function nn(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,6,"div",[],null,null,null,null,null)),(e()(),r.Cb(1,0,null,null,5,"ion-grid",[],null,null,null,qe.ob,qe.p)),r.Bb(2,49152,null,0,Ae.D,[r.j,r.p,r.F],null,null),(e()(),r.Cb(3,0,null,0,3,"ion-row",[],null,null,null,qe.Gb,qe.H)),r.Bb(4,49152,null,0,Ae.mb,[r.j,r.p,r.F],null,null),(e()(),r.rb(16777216,null,0,1,null,tn)),r.Bb(6,278528,null,0,Ge.j,[r.X,r.S,r.x],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,6,0,t.component.icons)}),null)}function rn(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"app-icon-menu",[],null,null,null,nn,Xt)),r.Bb(1,114688,null,0,Qt.a,[Ae.Pb],null,
2null)],(function(e,t){e(t,1,0)}),null)}var on=r.yb("app-icon-menu",Qt.a,rn,{active:"active"},{},[]),an=n("j7BH"),sn=r.Ab({encapsulation:0,styles:[[""]],data:{}});function ln(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,2,"ion-label",[],null,null,null,qe.yb,qe.z)),r.Bb(1,49152,null,0,Ae.Q,[r.j,r.p,r.F],null,null),(e()(),r.Ub(2,0,["",""]))],null,(function(e,t){e(t,2,0,t.parent.context.$implicit.label)}))}function un(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"ion-icon",[["color","dark"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(1,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"]},null)],(function(e,t){e(t,1,0,"dark",t.parent.context.$implicit.icon)}),null)}function cn(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"ion-icon",[["color","light"],["slot","icon-only"]],null,null,null,qe.qb,qe.r)),r.Bb(1,49152,null,0,Ae.F,[r.j,r.p,r.F],{color:[0,"color"],name:[1,"name"]},null)],(function(e,t){e(t,1,0,"light",t.parent.context.$implicit.icon)}),null)}function dn(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,7,"ion-button",[["fill","clear"]],null,[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.return(e.context.$implicit)&&r),r}),qe.cb,qe.d)),r.Bb(1,49152,null,0,Ae.n,[r.j,r.p,r.F],{fill:[0,"fill"]},null),(e()(),r.rb(16777216,null,0,1,null,ln)),r.Bb(3,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(16777216,null,0,1,null,un)),r.Bb(5,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null),(e()(),r.rb(16777216,null,0,1,null,cn)),r.Bb(7,16384,null,0,Ge.k,[r.X,r.S],{ngIf:[0,"ngIf"]},null)],(function(e,t){var n=t.component;e(t,1,0,"clear"),e(t,3,0,!t.context.$implicit.icon),e(t,5,0,t.context.$implicit.icon&&!n.checkMatch(t.context.$implicit.id)),e(t,7,0,t.context.$implicit.icon&&n.checkMatch(t.context.$implicit.id))}),null)}function hn(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,2,"div",[],null,null,null,null,null)),(e()(),r.rb(16777216,null,null,1,null,dn)),r.Bb(2,278528,null,0,Ge.j,[r.X,r.S,r.x],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,2,0,t.component.buttonArray)}),null)}function fn(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"app-vertical-icon-menu",[],null,null,null,hn,sn)),r.Bb(1,114688,null,0,an.a,[Ae.Pb],null,
2null)],(function(e,t){e(t,1,0)}),null)}var pn=r.yb("app-vertical-icon-menu",an.a,fn,{buttonArray:"buttonArray",current:"current"},{},[]),mn=n("iInd"),gn=n("xgBC"),_n=r.Ab({encapsulation:0,styles:[[""]],data:{}});function yn(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,3,"ion-app",[],null,null,null,qe.Z,qe.a)),r.Bb(1,49152,null,0,Ae.h,[r.j,r.p,r.F],null,null),(e()(),r.Cb(2,16777216,null,0,1,"ion-router-outlet",[],null,null,null,null,null)),r.Bb(3,212992,null,0,Ae.lb,[mn.b,r.X,r.m,[8,null],[8,null],Ae.e,Ae.Lb,Ge.h,r.p,mn.m,r.F,mn.a,[3,Ae.lb]],null,null)],(function(e,t){e(t,3,0)}),null)}function vn(e){return r.Wb(0,[(e()(),r.Cb(0,0,null,null,1,"app-root",[],null,null,null,yn,_n)),r.Bb(1,49152,null,0,Be,[Ae.Ob,Ie,Ye.a,Ae.g,gn.b,Re.a,Ne.a,He.a,Fe.a,Ae.Sb,mn.m,Ge.h],null,null)],null,null)}var bn=r.yb("app-root",Be,vn,{},{},[]),wn=n("IheW"),kn=n("yA/v"),Mn=n("1XSQ"),Sn=n("irV9");n("LOEa");let Tn=class{};var xn=n("gJ2e"),Ln=function(){function e(e,t){this.code_=Dn(e),this.message_="Firebase Storage: "+t,this.serverResponse_=null,this.name_="FirebaseError"}return e.prototype.codeProp=function(){return this.code},e.prototype.codeEquals=function(e){return Dn(e)===this.codeProp()},e.prototype.serverResponseProp=function(){return this.serverResponse_},e.prototype.setServerResponseProp=function(e){this.serverResponse_=e},Object.defineProperty(e.prototype,"name",{get:function(){return this.name_},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"code",{get:function(){return this.code_},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){return this.serverResponse_?this.message_+"\n"+this.serverResponse_:this.message_},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"serverResponse",{get:function(){return this.serverResponse_},enumerable:!1,configurable:!0}),e}();function Dn(e){return"storage/"+e}function Cn(){return new Ln("unknown","An unknown error occurred, please check the error payload for server response.")}function On(){return new Ln("canceled","User canceled the upload/download.")}function En(){return new Ln("cannot-slice-blob","Cannot slice blob for upload. Please retry the upload.")}function jn(){return new Ln("no-download-url","The given file does not have any download URLs.")}function An(e,t,n){return new Ln("invalid-argument","Invalid argument in `"+t+"` at index "+e+": "+n)}function Pn(){return new Ln("app-deleted","The Firebase app was deleted.")}function In(e,t){return new Ln("invalid-format","String does not match format '"+e+"': "+t)}function Yn(e){throw new Ln("internal-error","Internal error: "+e)}var Rn={RAW:"raw",BASE64:"base64",BASE64URL:"base64url",DATA_URL:"data_url"};function Nn(e){switch(e){case Rn.RAW:case Rn.BASE64:case Rn.BASE64URL:case Rn.DATA_URL:return;default:throw"Expected one of the event types: ["+Rn.RAW+", "+Rn.BASE64+", "+Rn.BASE64URL+", "+Rn.DATA_URL+"]."}}var Fn=function(){return function(e,t){this.data=e,this.contentType=t||null}}();function Hn(e,t){switch(e){case Rn.RAW:return new Fn($n(t));case Rn.BASE64:case Rn.BASE64URL:return new Fn(zn(e,t));case Rn.DATA_URL:return new Fn((n=new Wn(t)).base64?zn(Rn.BASE64,n.rest):function(e){var t;try{t=decodeURIComponent(e)}catch(n){throw In(Rn.DATA_URL,"Malformed data URL.")}return $n(t)}(n.rest),function(e){return new Wn(e).contentType}(t))}var n;throw Cn()}function $n(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r<=127)t.push(r);else if(r<=2047)t.push(192|r>>6,128|63&r);else if(55296==(64512&r))if(n<e.length-1&&56320==(64512&e.charCodeAt(n+1))){var i=r,o=e.charCodeAt(++n);t.push(240|(r=65536|(1023&i)<<10|1023&o)>>18,128|r>>12&63,128|r>>6&63,128|63&r)}else t.push(239,191,189);else 56320==(64512&r)?t.push(239,191,189):t.push(224|r>>12,128|r>>6&63,128|63&r)}return new Uint8Array(t)}function zn(e,t){switch(e){case Rn.BASE64:var n=-1!==t.indexOf("-"),r=-1!==t.indexOf("_");if(n||r)throw In(e,"Invalid character '"+(n?"-":"_")+"' found: is it base64url encoded?");break;case Rn.BASE64URL:var i=-1!==t.indexOf("+"),o=-1!==t.indexOf("/");if(i||o)throw In(e,"Invalid character '"+(i?"+":"/")+"' found: is it base64 encoded?");t=t.replace(/-/g,"+").replace(/_/g,"/")}var a;try{a=atob(t)}catch(u){throw In(e,"Invalid character found")}for(var s=new Uint8Array(a.length),l=0;l<a.length;
2l++)s[l]=a.charCodeAt(l);return s}var Wn=function(){return function(e){this.base64=!1,this.contentType=null;var t=e.match(/^data:([^,]+)?,/);if(null===t)throw In(Rn.DATA_URL,"Must be formatted 'data:[<mediatype>][;base64],<data>");var n,r=t[1]||null;null!=r&&(this.base64=(n=r).length>=";base64".length&&";base64"===n.substring(n.length-";base64".length),this.contentType=this.base64?r.substring(0,r.length-";base64".length):r),this.rest=e.substring(e.indexOf(",")+1)}}(),Un={STATE_CHANGED:"state_changed"},Bn={RUNNING:"running",PAUSED:"paused",SUCCESS:"success",CANCELED:"canceled",ERROR:"error"};function Vn(e){switch(e){case"running":case"pausing":case"canceling":return Bn.RUNNING;case"paused":return Bn.PAUSED;case"success":return Bn.SUCCESS;case"canceled":return Bn.CANCELED;case"error":default:return Bn.ERROR}}function qn(e){return null!=e}function Gn(e){return void 0!==e}function Kn(e){return"function"==typeof e}function Jn(e){return"object"==typeof e}function Qn(e){return Jn(e)&&null!==e}function Xn(e){return"string"==typeof e||e instanceof String}function Zn(e){return er(e)&&Number.isInteger(e)}function er(e){return"number"==typeof e||e instanceof Number}function tr(e){return nr()&&e instanceof Blob}function nr(){return"undefined"!=typeof Blob}var rr=function(e){return e[e.NO_ERROR=0]="NO_ERROR",e[e.NETWORK_ERROR=1]="NETWORK_ERROR",e[e.ABORT=2]="ABORT",e}({}),ir=function(){function e(){var e=this;this.sent_=!1,this.xhr_=new XMLHttpRequest,this.errorCode_=rr.NO_ERROR,this.sendPromise_=new Promise((function(t){e.xhr_.addEventListener("abort",(function(){e.errorCode_=rr.ABORT,t(e)})),e.xhr_.addEventListener("error",(function(){e.errorCode_=rr.NETWORK_ERROR,t(e)})),e.xhr_.addEventListener("load",(function(){t(e)}))}))}return e.prototype.send=function(e,t,n,r){if(this.sent_)throw Yn("cannot .send() more than once");if(this.sent_=!0,this.xhr_.open(t,e,!0),qn(r))for(var i in r)r.hasOwnProperty(i)&&this.xhr_.setRequestHeader(i,r[i].toString());return qn(n)?this.xhr_.send(n):this.xhr_.send(),this.sendPromise_},e.prototype.getErrorCode=function(){if(!this.sent_)throw Yn("cannot .getErrorCode() before sending");return this.errorCode_},e.prototype.getStatus=function(){if(!this.sent_)throw Yn("cannot .getStatus() before sending");try{return this.xhr_.status}catch(e){return-1}},e.prototype.getResponseText=function(){if(!this.sent_)throw Yn("cannot .getResponseText() before sending");return this.xhr_.responseText},e.prototype.abort=function(){this.xhr_.abort()},e.prototype.getResponseHeader=function(e){return this.xhr_.getResponseHeader(e)},e.prototype.addUploadProgressListener=function(e){qn(this.xhr_.upload)&&this.xhr_.upload.addEventListener("progress",e)},e.prototype.removeUploadProgressListener=function(e){qn(this.xhr_.upload)&&this.xhr_.upload.removeEventListener("progress",e)},e}(),or=function(){function e(){}return e.prototype.createXhrIo=function(){return new ir},e}();function ar(){return"undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:void 0}function sr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ar();if(void 0!==n){for(var r=new n,i=0;i<e.length;i++)r.append(e[i]);return r.getBlob()}if(nr())return new Blob(e);throw Error("This browser doesn't seem to support creating Blobs")}var lr=function(){function e(e,t){var n=0,r="";tr(e)?(this.data_=e,n=e.size,r=e.type):e instanceof ArrayBuffer?(t?this.data_=new Uint8Array(e):(this.data_=new Uint8Array(e.byteLength),this.data_.set(new Uint8Array(e))),n=this.data_.length):e instanceof Uint8Array&&(t?this.data_=e:(this.data_=new Uint8Array(e.length),this.data_.set(e)),n=e.length),this.size_=n,this.type_=r}return e.prototype.size=function(){return this.size_},e.prototype.type=function(){return this.type_},e.prototype.slice=function(t,n){if(tr(this.data_)){var r=(o=t,a=n,(i=this.data_).webkitSlice?i.webkitSlice(o,a):i.mozSlice?i.mozSlice(o,a):i.slice?i.slice(o,a):null);return null===r?null:new e(r)}var i,o,a;return new e(new Uint8Array(this.data_.buffer,t,n-t),!0)},e.getBlob=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(nr()){var r=t.map((function(t){return t instanceof e?t.data_:t}));return new e(sr.apply(null,r))}var i=t.map((function(e){return Xn(e)?Hn(Rn.RAW,e).data:e.data_})),o=0;
2i.forEach((function(e){o+=e.byteLength}));var a=new Uint8Array(o),s=0;return i.forEach((function(e){for(var t=0;t<e.length;t++)a[s++]=e[t]})),new e(a,!0)},e.prototype.uploadData=function(){return this.data_},e}(),ur=function(){function e(e,t){this.bucket=e,this.path_=t}return Object.defineProperty(e.prototype,"path",{get:function(){return this.path_},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isRoot",{get:function(){return 0===this.path.length},enumerable:!1,configurable:!0}),e.prototype.fullServerUrl=function(){var e=encodeURIComponent;return"/b/"+e(this.bucket)+"/o/"+e(this.path)},e.prototype.bucketOnlyServerUrl=function(){return"/b/"+encodeURIComponent(this.bucket)+"/o"},e.makeFromBucketSpec=function(t){var n;try{n=e.makeFromUrl(t)}catch(r){return new e(t,"")}if(""===n.path)return n;throw new Ln("invalid-default-bucket","Invalid default bucket '"+t+"'.")},e.makeFromUrl=function(t){var n=null,r=new RegExp("^gs://([A-Za-z0-9.\\-_]+)(/(.*))?$","i");function i(e){e.path_=decodeURIComponent(e.path)}for(var o="firebasestorage.googleapis.com".replace(/[.]/g,"\\."),a=[{regex:r,indices:{bucket:1,path:3},postModify:function(e){"/"===e.path.charAt(e.path.length-1)&&(e.path_=e.path_.slice(0,-1))}},{regex:new RegExp("^https?://"+o+"/v[A-Za-z0-9_]+/b/([A-Za-z0-9.\\-_]+)/o(/([^?#]*).*)?$","i"),indices:{bucket:1,path:3},postModify:i},{regex:new RegExp("^https?://(?:storage.googleapis.com|storage.cloud.google.com)/([A-Za-z0-9.\\-_]+)/([^?#]*)","i"),indices:{bucket:1,path:2},postModify:i}],s=0;s<a.length;s++){var l=a[s],u=l.regex.exec(t);if(u){var c=u[l.indices.path];c||(c=""),n=new e(u[l.indices.bucket],c),l.postModify(n);break}}if(null==n)throw function(e){return new Ln("invalid-url","Invalid URL '"+e+"'.")}(t);return n},e}();function cr(e){var t,n;try{t=JSON.parse(e)}catch(r){return null}return Jn(n=t)&&!Array.isArray(n)?t:null}function dr(e,t){var n=t.split("/").filter((function(e){return e.length>0})).join("/");return 0===e.length?n:e+"/"+n}function hr(e){var t=e.lastIndexOf("/",e.length-2);return-1===t?e:e.slice(t+1)}function fr(e){return"https://firebasestorage.googleapis.com/v0"+e}function pr(e){var t=encodeURIComponent,n="?";for(var r in e)e.hasOwnProperty(r)&&(n=n+(t(r)+"=")+t(e[r])+"&");return n.slice(0,-1)}function mr(e,t){return t}var gr=function(){return function(e,t,n,r){this.server=e,this.local=t||e,this.writable=!!n,this.xform=r||mr}}(),_r=null;function yr(e,t,n){var r=cr(t);return null===r?null:function(e,t,n){for(var r={type:"file"},i=n.length,o=0;o<i;o++){var a=n[o];r[a.local]=a.xform(r,t[a.server])}return function(e,t){Object.defineProperty(e,"ref",{get:function(){var n=new ur(e.bucket,e.fullPath);return t.makeStorageReference(n)}})}(r,e),r}(e,r,n)}function vr(e,t){for(var n={},r=t.length,i=0;i<r;i++){var o=t[i];o.writable&&(n[o.server]=e[o.local])}return JSON.stringify(n)}function br(e){if(!Jn(e)||!e)throw"Expected Metadata object.";for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];if("customMetadata"===t){if(!Jn(n))throw"Expected object for 'customMetadata' mapping."}else if(Qn(n))throw"Mapping for '"+t+"' cannot be an object."}}function wr(e){if(!Jn(e)||!e)throw"Expected ListOptions object.";for(var t in e)if("maxResults"===t){if(!Zn(e.maxResults)||e.maxResults<=0)throw"Expected maxResults to be a positive number.";if(e.maxResults>1e3)throw"Expected maxResults to be less than or equal to 1000."}else{if("pageToken"!==t)throw"Unknown option: "+t;if(e.pageToken&&!Xn(e.pageToken))throw"Expected pageToken to be string."}}var kr=function(){return function(e,t,n,r){this.url=e,this.method=t,this.handler=n,this.timeout=r,this.urlParams={},this.headers={},this.body=null,this.errorHandler=null,this.progressCallback=null,this.successCodes=[200],this.additionalRetryCodes=[]}}();function Mr(e){if(!e)throw Cn()}function Sr(e,t){return function(n,r){var i=yr(e,r,t);return Mr(null!==i),i}}function Tr(e){return function(t,n){var r;return(r=401===t.getStatus()?new Ln("unauthenticated","User is not authenticated, please authenticate using Firebase Authentication and try again."):402===t.getStatus()?new Ln("quota-exceeded","Quota for bucket '"+e.bucket+"' exceeded, please view quota on https://firebase.google.com/pricing/."):403===t.getStatus()?new Ln("unauthorized","User does not have permission to access '"+e.path+"'."):n).setServerResponseProp(n.serverResponseProp()),r}}function xr(e){var t=Tr(e);return function(n,r){var i=t(n,r);
2return 404===n.getStatus()&&(i=new Ln("object-not-found","Object '"+e.path+"' does not exist.")),i.setServerResponseProp(r.serverResponseProp()),i}}function Lr(e,t,n){var r=fr(t.fullServerUrl()),i=e.maxOperationRetryTime,o=new kr(r,"GET",Sr(e,n),i);return o.errorHandler=xr(t),o}function Dr(e,t,n,r,i){var o={};o.prefix=t.isRoot?"":t.path+"/",n&&n.length>0&&(o.delimiter=n),r&&(o.pageToken=r),i&&(o.maxResults=i);var a=fr(t.bucketOnlyServerUrl()),s=e.maxOperationRetryTime,l=new kr(a,"GET",function(e,t){return function(n,r){var i=function(e,t,n){var r=cr(n);return null===r?null:function(e,t,n){var r={prefixes:[],items:[],nextPageToken:n.nextPageToken};if(n.prefixes)for(var i=0,o=n.prefixes;i<o.length;i++){var a=o[i].replace(/\/$/,""),s=e.makeStorageReference(new ur(t,a));r.prefixes.push(s)}if(n.items)for(var l=0,u=n.items;l<u.length;l++)s=e.makeStorageReference(new ur(t,u[l].name)),r.items.push(s);return r}(e,t,r)}(e,t,r);return Mr(null!==i),i}}(e,t.bucket),s);return l.urlParams=o,l.errorHandler=Tr(t),l}function Cr(e,t,n){var r=fr(t.fullServerUrl()),i=e.maxOperationRetryTime,o=new kr(r,"GET",function(e,t){return function(n,r){var i=yr(e,r,t);return Mr(null!==i),function(e,t){var n=cr(t);if(null===n)return null;if(!Xn(n.downloadTokens))return null;var r=n.downloadTokens;if(0===r.length)return null;var i=encodeURIComponent;return r.split(",").map((function(t){var n=e.fullPath;return fr("/b/"+i(e.bucket)+"/o/"+i(n))+pr({alt:"media",token:t})}))[0]}(i,r)}}(e,n),i);return o.errorHandler=xr(t),o}function Or(e,t,n,r){var i=fr(t.fullServerUrl()),o=vr(n,r),a=e.maxOperationRetryTime,s=new kr(i,"PATCH",Sr(e,r),a);return s.headers={"Content-Type":"application/json; charset=utf-8"},s.body=o,s.errorHandler=xr(t),s}function Er(e,t){var n=fr(t.fullServerUrl()),r=new kr(n,"DELETE",(function(e,t){}),e.maxOperationRetryTime);return r.successCodes=[200,204],r.errorHandler=xr(t),r}function jr(e,t,n){var r=Object.assign({},n);return r.fullPath=e.path,r.size=t.size(),r.contentType||(r.contentType=function(e,t){return t&&t.type()||"application/octet-stream"}(0,t)),r}var Ar=function(){return function(e,t,n,r){this.current=e,this.total=t,this.finalized=!!n,this.metadata=r||null}}();function Pr(e,t){var n=null;try{n=e.getResponseHeader("X-Goog-Upload-Status")}catch(r){Mr(!1)}return Mr(!!n&&-1!==(t||["active"]).indexOf(n)),n}var Ir=function(){return function(e,t,n){if(Kn(e)||qn(t)||qn(n))this.next=e,this.error=t||null,this.complete=n||null;else{var r=e;this.next=r.next||null,this.error=r.error||null,this.complete=r.complete||null}}}(),Yr=function(){return function(e,t,n,r,i,o){this.bytesTransferred=e,this.totalBytes=t,this.state=n,this.metadata=r,this.task=i,this.ref=o}}();function Rr(e,t,n){for(var r=t.length,i=t.length,o=0;o<t.length;o++)if(t[o].optional){r=o;break}var a,s,l,u;if(!(r<=n.length&&n.length<=i))throw(a=r)===(s=i)?(l=a,u=1===a?"argument":"arguments"):(l="between "+a+" and "+s,u="arguments"),new Ln("invalid-argument-count","Invalid argument count in `"+e+"`: Expected "+l+" "+u+", received "+n.length+".");for(o=0;o<n.length;o++)try{t[o].validator(n[o])}catch(c){throw c instanceof Error?An(o,e,c.message):An(o,e,c)}}var Nr=function(){return function(e,t){var n=this;this.validator=function(t){n.optional&&!Gn(t)||e(t)},this.optional=!!t}}();function Fr(e,t){function n(e){if(!Xn(e))throw"Expected string."}var r,i,o;return e?(i=n,o=e,r=function(e){i(e),o(e)}):r=n,new Nr(r,t)}function Hr(){return new Nr((function(e){if(!(e instanceof Uint8Array||e instanceof ArrayBuffer||nr()&&e instanceof Blob))throw"Expected Blob or File."}))}function $r(e){return new Nr(br,e)}function zr(e){return new Nr(wr,e)}function Wr(){return new Nr((function(e){if(!(er(e)&&e>=0))throw"Expected a number 0 or greater."}))}function Ur(e,t){return new Nr((function(t){if(!(null===t||qn(t)&&t instanceof Object))throw"Expected an Object.";null!=e&&e(t)}),t)}function Br(e){return new Nr((function(e){if(null!==e&&!Kn(e))throw"Expected a Function."}),e)}function Vr(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];Promise.resolve().then((function(){return e.apply(void 0,t)}))}}var qr=function(){function e(e,t,n,r,i,o){var a=this;void 0===o&&(o=null),this.transferred_=0,this.needToFetchStatus_=!1,this.needToFetchMetadata_=!1,this.observers_=[],this.error_=null,this.uploadUrl_=null,this.request_=null,this.chunkMultiplier_=1,this.resolve_=null,this.reject_=null,this.ref_=e,this.service_=t,this.location_=n,this.blob_=i,this.metadata_=o,this.mappings_=r,this.resumable_=this.shouldDoResumable_(this.blob_),this.state_="running",this.errorHandler_=function(e){a.request_=null,a.chunkMultiplier_=1,e.codeEquals("canceled")?(a.needToFetchStatus_=!0,a.completeTransitions_()):(a.error_=e,a.transition_("error"))},this.metadataErrorHandler_=function(e){a.request_=null,e.codeEquals("canceled")?a.completeTransitions_():(a.error_=e,a.transition_("error"))},this.promise_=new Promise((function(e,t){a.resolve_=e,a.reject_=t,a.start_()}
2)),this.promise_.then(null,(function(){}))}return e.prototype.makeProgressCallback_=function(){var e=this,t=this.transferred_;return function(n){return e.updateProgress_(t+n)}},e.prototype.shouldDoResumable_=function(e){return e.size()>262144},e.prototype.start_=function(){"running"===this.state_&&null===this.request_&&(this.resumable_?null===this.uploadUrl_?this.createResumable_():this.needToFetchStatus_?this.fetchStatus_():this.needToFetchMetadata_?this.fetchMetadata_():this.continueUpload_():this.oneShotUpload_())},e.prototype.resolveToken_=function(e){var t=this;this.service_.getAuthToken().then((function(n){switch(t.state_){case"running":e(n);break;case"canceling":t.transition_("canceled");break;case"pausing":t.transition_("paused")}}))},e.prototype.createResumable_=function(){var e=this;this.resolveToken_((function(t){var n=function(e,t,n,r,i){var o=t.bucketOnlyServerUrl(),a=jr(t,r,i),s={name:a.fullPath},l=fr(o),u={"X-Goog-Upload-Protocol":"resumable","X-Goog-Upload-Command":"start","X-Goog-Upload-Header-Content-Length":r.size(),"X-Goog-Upload-Header-Content-Type":a.contentType,"Content-Type":"application/json; charset=utf-8"},c=vr(a,n),d=new kr(l,"POST",(function(e){var t;Pr(e);try{t=e.getResponseHeader("X-Goog-Upload-URL")}catch(n){Mr(!1)}return Mr(Xn(t)),t}),e.maxUploadRetryTime);return d.urlParams=s,d.headers=u,d.body=c,d.errorHandler=Tr(t),d}(e.service_,e.location_,e.mappings_,e.blob_,e.metadata_),r=e.service_.makeRequest(n,t);e.request_=r,r.getPromise().then((function(t){e.request_=null,e.uploadUrl_=t,e.needToFetchStatus_=!1,e.completeTransitions_()}),e.errorHandler_)}))},e.prototype.fetchStatus_=function(){var e=this,t=this.uploadUrl_;this.resolveToken_((function(n){var r=function(e,t,n,r){var i=new kr(n,"POST",(function(e){var t=Pr(e,["active","final"]),n=null;try{n=e.getResponseHeader("X-Goog-Upload-Size-Received")}catch(o){Mr(!1)}n||Mr(!1);var i=Number(n);return Mr(!isNaN(i)),new Ar(i,r.size(),"final"===t)}),e.maxUploadRetryTime);return i.headers={"X-Goog-Upload-Command":"query"},i.errorHandler=Tr(t),i}(e.service_,e.location_,t,e.blob_),i=e.service_.makeRequest(r,n);e.request_=i,i.getPromise().then((function(t){t=t,e.request_=null,e.updateProgress_(t.current),e.needToFetchStatus_=!1,t.finalized&&(e.needToFetchMetadata_=!0),e.completeTransitions_()}),e.errorHandler_)}))},e.prototype.continueUpload_=function(){var e=this,t=262144*this.chunkMultiplier_,n=new Ar(this.transferred_,this.blob_.size()),r=this.uploadUrl_;this.resolveToken_((function(i){var o;try{o=function(e,t,n,r,i,o,a,s){var l=new Ar(0,0);if(a?(l.current=a.current,l.total=a.total):(l.current=0,l.total=r.size()),r.size()!==l.total)throw new Ln("server-file-wrong-size","Server recorded incorrect upload file size, please retry the upload.");var u=l.total-l.current,c=u;i>0&&(c=Math.min(c,i));var d=l.current,h={"X-Goog-Upload-Command":c===u?"upload, finalize":"upload","X-Goog-Upload-Offset":l.current},f=r.slice(d,d+c);if(null===f)throw En();var p=new kr(n,"POST",(function(e,n){var i,a=Pr(e,["active","final"]),s=l.current+c,u=r.size();return i="final"===a?Sr(t,o)(e,n):null,new Ar(s,u,"final"===a,i)}),t.maxUploadRetryTime);return p.headers=h,p.body=f.uploadData(),p.progressCallback=s||null,p.errorHandler=Tr(e),p}(e.location_,e.service_,r,e.blob_,t,e.mappings_,n,e.makeProgressCallback_())}catch(s){return e.error_=s,void e.transition_("error")}var a=e.service_.makeRequest(o,i);e.request_=a,a.getPromise().then((function(t){e.increaseMultiplier_(),e.request_=null,e.updateProgress_(t.current),t.finalized?(e.metadata_=t.metadata,e.transition_("success")):e.completeTransitions_()}),e.errorHandler_)}))},e.prototype.increaseMultiplier_=function(){262144*this.chunkMultiplier_<33554432&&(this.chunkMultiplier_*=2)},e.prototype.fetchMetadata_=function(){var e=this;this.resolveToken_((function(t){var n=Lr(e.service_,e.location_,e.mappings_),r=e.service_.makeRequest(n,t);e.request_=r,r.getPromise().then((function(t){e.request_=null,e.metadata_=t,e.transition_("success")}),e.metadataErrorHandler_)}))},e.prototype.oneShotUpload_=function(){var e=this;this.resolveToken_((function(t){var n=function(e,t,n,r,i){var o=t.bucketOnlyServerUrl(),a={"X-Goog-Upload-Protocol":"multipart"},s=function(){for(var e="",t=0;t<2;t++)e+=Math.random().toString().slice(2);return e}();a["Content-Type"]="multipart/related; boundary="+s;var l=jr(t,r,i),u=vr(l,n),c=lr.getBlob("--"+s+"\r\nContent-Type: application/json; charset=utf-8\r\n\r\n"+u+"\r\n--"+s+"\r\nContent-Type: "+l.contentType+"\r\n\r\n",r,"\r\n--"
2+s+"--");if(null===c)throw En();var d={name:l.fullPath},h=fr(o),f=e.maxUploadRetryTime,p=new kr(h,"POST",Sr(e,n),f);return p.urlParams=d,p.headers=a,p.body=c.uploadData(),p.errorHandler=Tr(t),p}(e.service_,e.location_,e.mappings_,e.blob_,e.metadata_),r=e.service_.makeRequest(n,t);e.request_=r,r.getPromise().then((function(t){e.request_=null,e.metadata_=t,e.updateProgress_(e.blob_.size()),e.transition_("success")}),e.errorHandler_)}))},e.prototype.updateProgress_=function(e){var t=this.transferred_;this.transferred_=e,this.transferred_!==t&&this.notifyObservers_()},e.prototype.transition_=function(e){if(this.state_!==e)switch(e){case"canceling":case"pausing":this.state_=e,null!==this.request_&&this.request_.cancel();break;case"running":var t="paused"===this.state_;this.state_=e,t&&(this.notifyObservers_(),this.start_());break;case"paused":this.state_=e,this.notifyObservers_();break;case"canceled":this.error_=On(),this.state_=e,this.notifyObservers_();break;case"error":case"success":this.state_=e,this.notifyObservers_()}},e.prototype.completeTransitions_=function(){switch(this.state_){case"pausing":this.transition_("paused");break;case"canceling":this.transition_("canceled");break;case"running":this.start_()}},Object.defineProperty(e.prototype,"snapshot",{get:function(){var e=Vn(this.state_);return new Yr(this.transferred_,this.blob_.size(),e,this.metadata_,this,this.ref_)},enumerable:!1,configurable:!0}),e.prototype.on=function(e,t,n,r){function i(){if(e!==Un.STATE_CHANGED)throw"Expected one of the event types: ["+Un.STATE_CHANGED+"]."}var o="Expected a function or an Object with one of `next`, `error`, `complete` properties.",a=Br(!0).validator,s=Ur(null,!0).validator;function l(e){try{return void a(e)}catch(t){}try{if(s(e),!(Gn(e.next)||Gn(e.error)||Gn(e.complete)))throw"";return}catch(t){throw o}}var u=[Fr(i),Ur(l,!0),Br(!0),Br(!0)];Rr("on",u,arguments);var c=this;function d(e){return function(t,n,i){null!==e&&Rr("on",e,arguments);var o=new Ir(t,n,r);return c.addObserver_(o),function(){c.removeObserver_(o)}}}function h(e){if(null===e)throw o;l(e)}var f=[Ur(h),Br(!0),Br(!0)],p=!(Gn(t)||Gn(n)||Gn(r));return p?d(f):d(null)(t,n,r)},e.prototype.then=function(e,t){return this.promise_.then(e,t)},e.prototype.catch=function(e){return this.then(null,e)},e.prototype.addObserver_=function(e){this.observers_.push(e),this.notifyObserver_(e)},e.prototype.removeObserver_=function(e){var t=this.observers_.indexOf(e);-1!==t&&this.observers_.splice(t,1)},e.prototype.notifyObservers_=function(){var e=this;this.finishPromise_(),this.observers_.slice().forEach((function(t){e.notifyObserver_(t)}))},e.prototype.finishPromise_=function(){if(null!==this.resolve_){var e=!0;switch(Vn(this.state_)){case Bn.SUCCESS:Vr(this.resolve_.bind(null,this.snapshot))();break;case Bn.CANCELED:case Bn.ERROR:Vr(this.reject_.bind(null,this.error_))();break;default:e=!1}e&&(this.resolve_=null,this.reject_=null)}},e.prototype.notifyObserver_=function(e){switch(Vn(this.state_)){case Bn.RUNNING:case Bn.PAUSED:e.next&&Vr(e.next.bind(e,this.snapshot))();break;case Bn.SUCCESS:e.complete&&Vr(e.complete.bind(e))();break;case Bn.CANCELED:case Bn.ERROR:e.error&&Vr(e.error.bind(e,this.error_))();break;default:e.error&&Vr(e.error.bind(e,this.error_))()}},e.prototype.resume=function(){Rr("resume",[],arguments);var e="paused"===this.state_||"pausing"===this.state_;return e&&this.transition_("running"),e},e.prototype.pause=function(){Rr("pause",[],arguments);var e="running"===this.state_;return e&&this.transition_("pausing"),e},e.prototype.cancel=function(){Rr("cancel",[],arguments);var e="running"===this.state_||"pausing"===this.state_;return e&&this.transition_("canceling"),e},e}(),Gr=function(){function e(e,t){this.service=e,this.location=t instanceof ur?t:ur.makeFromUrl(t)}return e.prototype.toString=function(){return Rr("toString",[],arguments),"gs://"+this.location.bucket+"/"+this.location.path},e.prototype.newRef=function(t,n){return new e(t,n)},e.prototype.mappings=function(){return function(){if(_r)return _r;var e=[];e.push(new gr("bucket")),e.push(new gr("generation")),e.push(new gr("metageneration")),e.push(new gr("name","fullPath",!0));var t=new gr("name");t.xform=function(e,t){return function(e){return!Xn(e)||e.length<2?e:hr(e)}(t)},e.push(t);var n=new gr("size");return n.xform=function(e,t){return qn(t)?Number(t):t},e.push(n),e.push(new gr("timeCreated")),e.push(new gr("updated")),e.push(new gr("md5Hash",null,!0)),e.push(new gr("cacheControl",null,!0)),e.push(new gr("contentDisposition",null,!0)),e.push(new gr("contentEncoding",null,!0)),e.push(new gr("contentLanguage",null,!0)),e.push(new gr("contentType",null,!0)),e.push(new gr("metadata","customMetadata",!0)),_r=e}()},e.prototype.child=function(e){Rr("child",[Fr()],arguments);var t=dr(this.location.path,e),n=new ur(this.location.bucket,t);return this.newRef(this.service,n)},Object.defineProperty(e.prototype,"parent",{get:function(){var e=function(e){if(0===e.length)return null;var t=e.lastIndexOf("/");return-1===t?"":e.slice(0,t)}(this.location.path);if(null===e)return null;var t=new ur(this.location.bucket,e);return this.newRef(this.service,t)}
2,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){var e=new ur(this.location.bucket,"");return this.newRef(this.service,e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bucket",{get:function(){return this.location.bucket},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fullPath",{get:function(){return this.location.path},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return hr(this.location.path)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"storage",{get:function(){return this.service},enumerable:!1,configurable:!0}),e.prototype.put=function(e,t){return void 0===t&&(t=null),Rr("put",[Hr(),$r(!0)],arguments),this.throwIfRoot_("put"),new qr(this,this.service,this.location,this.mappings(),new lr(e),t)},e.prototype.putString=function(e,t,n){void 0===t&&(t=Rn.RAW),Rr("putString",[Fr(),Fr(Nn,!0),$r(!0)],arguments),this.throwIfRoot_("putString");var r=Hn(t,e),i=Object.assign({},n);return!qn(i.contentType)&&qn(r.contentType)&&(i.contentType=r.contentType),new qr(this,this.service,this.location,this.mappings(),new lr(r.data,!0),i)},e.prototype.delete=function(){var e=this;return Rr("delete",[],arguments),this.throwIfRoot_("delete"),this.service.getAuthToken().then((function(t){var n=Er(e.service,e.location);return e.service.makeRequest(n,t).getPromise()}))},e.prototype.listAll=function(){Rr("listAll",[],arguments);var e={prefixes:[],items:[]};return this.listAllHelper(e).then((function(){return e}))},e.prototype.listAllHelper=function(e,t){return Object(u.__awaiter)(this,void 0,void 0,(function(){var n,r,i;return Object(u.__generator)(this,(function(o){switch(o.label){case 0:return[4,this.list({pageToken:t})];case 1:return n=o.sent(),(r=e.prefixes).push.apply(r,n.prefixes),(i=e.items).push.apply(i,n.items),null==n.nextPageToken?[3,3]:[4,this.listAllHelper(e,n.nextPageToken)];case 2:o.sent(),o.label=3;case 3:return[2]}}
2))}))},e.prototype.list=function(e){Rr("list",[zr(!0)],arguments);var t=this;return this.service.getAuthToken().then((function(n){var r=e||{},i=Dr(t.service,t.location,"/",r.pageToken,r.maxResults);return t.service.makeRequest(i,n).getPromise()}))},e.prototype.getMetadata=function(){var e=this;return Rr("getMetadata",[],arguments),this.throwIfRoot_("getMetadata"),this.service.getAuthToken().then((function(t){var n=Lr(e.service,e.location,e.mappings());return e.service.makeRequest(n,t).getPromise()}))},e.prototype.updateMetadata=function(e){var t=this;return Rr("updateMetadata",[$r()],arguments),this.throwIfRoot_("updateMetadata"),this.service.getAuthToken().then((function(n){var r=Or(t.service,t.location,e,t.mappings());return t.service.makeRequest(r,n).getPromise()}))},e.prototype.getDownloadURL=function(){var e=this;return Rr("getDownloadURL",[],arguments),this.throwIfRoot_("getDownloadURL"),this.service.getAuthToken().then((function(t){var n=Cr(e.service,e.location,e.mappings());return e.service.makeRequest(n,t).getPromise().then((function(e){if(null===e)throw jn();return e}))}))},e.prototype.throwIfRoot_=function(e){if(""===this.location.path)throw function(e){return new Ln("invalid-root-operation","The operation '"+e+"' cannot be performed on a root reference, create a non-root reference using child, such as .child('file.png').")}(e)},e}(),Kr=function(){function e(e){this.promise_=Promise.reject(e)}return e.prototype.getPromise=function(){return this.promise_},e.prototype.cancel=function(e){},e}(),Jr=function(){function e(e,t,n,r,i,o,a,s,l,u,c){var d=this;this.pendingXhr_=null,this.backoffId_=null,this.canceled_=!1,this.appDelete_=!1,this.url_=e,this.method_=t,this.headers_=n,this.body_=r,this.successCodes_=i.slice(),this.additionalRetryCodes_=o.slice(),this.callback_=a,this.errorCallback_=s,this.progressCallback_=u,this.timeout_=l,this.pool_=c,this.promise_=new Promise((function(e,t){d.resolve_=e,d.reject_=t,d.start_()}))}return e.prototype.start_=function(){var e=this;function t(t,n){var r,i=e.resolve_,o=e.reject_,a=n.xhr;if(n.wasSuccessCode)try{var s=e.callback_(a,a.getResponseText());Gn(s)?i(s):i()}catch(l){o(l)}else null!==a?((r=Cn()).setServerResponseProp(a.getResponseText()),o(e.errorCallback_?e.errorCallback_(a,r):r)):o(r=n.canceled?e.appDelete_?Pn():On():new Ln("retry-limit-exceeded","Max retry time for operation exceeded, please try again."))}this.canceled_?t(0,new Qr(!1,null,!0)):this.backoffId_=function(t,n,r){var i=1,o=null,a=!1,s=0;function l(){return 2===s}var c=!1;function d(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];c||(c=!0,n.apply(null,e))}function h(t){o=setTimeout((function(){o=null,function(t,n){if(n)t(!1,new Qr(!1,null,!0));else{var r=e.pool_.createXhrIo();e.pendingXhr_=r,null!==e.progressCallback_&&r.addUploadProgressListener(i),r.send(e.url_,e.method_,e.body_,e.headers_).then((function(n){null!==e.progressCallback_&&n.removeUploadProgressListener(i),e.pendingXhr_=null;var r=(n=n).getErrorCode()===rr.NO_ERROR,o=n.getStatus();if(r&&!e.isRetryStatusCode_(o)){var a=-1!==e.successCodes_.indexOf(o);t(!0,new Qr(a,n))}else{var s=n.getErrorCode()===rr.ABORT;t(!1,new Qr(!1,null,s))}}))}function i(t){null!==e.progressCallback_&&e.progressCallback_(t.loaded,t.lengthComputable?t.total:-1)}}(f,l())}),t)}function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!c)if(e)d.call.apply(d,Object(u.__spreadArrays)([null,e],t));else{var r,o=l()||a;o?d.call.apply(d,Object(u.__spreadArrays)([null,e],t)):(i<64&&(i*=2),1===s?(s=2,r=0):r=1e3*(i+Math.random()),h(r))}}var p=!1;function m(e){p||(p=!0,c||(null!==o?(e||(s=2),clearTimeout(o),h(0)):e||(s=1)))}return h(0),setTimeout((function(){a=!0,m(!0)}),r),m}(0,t,this.timeout_)},e.prototype.getPromise=function(){return this.promise_},e.prototype.cancel=function(e){this.canceled_=!0,this.appDelete_=e||!1,null!==this.backoffId_&&(0,this.backoffId_)(!1),null!==this.pendingXhr_&&this.pendingXhr_.abort()},e.prototype.isRetryStatusCode_=function(e){var t=e>=500&&e<600,n=-1!==[408,429].indexOf(e),r=-1!==this.additionalRetryCodes_.indexOf(e);return t||n||r},e}(),Qr=function(){return function(e,t,n){this.wasSuccessCode=e,this.xhr=t,this.canceled=!!n}}(),Xr=function(){function e(t,n,r,i){var o;this.bucket_=null,this.appId_=null,this.deleted_=!1,this.app_=t,this.authProvider_=n,this.maxOperationRetryTime_=12e4,this.maxUploadRetryTime_=6e5,this.requests_=new Set,this.pool_=r,this.bucket_=null!=i?ur.makeFromBucketSpec(i):e.extractBucket_(null===(o=this.app_)||void 0===o?void 0:o.options),this.internals_=new Zr(this)}return e.extractBucket_=function(e){var t=null==e?void 0:e.storageBucket;return null==t?null:ur.makeFromBucketSpec(t)},e.prototype.getAuthToken=function(){return Object(u.__awaiter)(this,void 0,void 0,(function(){var e,t;return Object(u.__generator)(this,(function(n){switch(n.label){case 0:return(e=this.authProvider_.getImmediate({optional:!0}))?[4,e.getToken()]:[3,2];case 1:if(null!==(t=n.sent()))return[2,t.accessToken];n.label=2;case 2:return[2,null]}}))}))},e.prototype.deleteApp=function(){this.deleted_=!0,this.app_=null,this.requests_.forEach((function(e){return e.cancel()})),this.requests_.clear()},e.prototype.makeStorageReference=function(e){return new Gr(this,e)},e.prototype.makeRequest=function(e,t){var n=this;if(this.deleted_)return new Kr(Pn());
2var r=function(e,t,n,r){var i=pr(e.urlParams),o=e.url+i,a=Object.assign({},e.headers);return function(e,t){t&&(e["X-Firebase-GMPID"]=t)}(a,t),function(e,t){null!==t&&t.length>0&&(e.Authorization="Firebase "+t)}(a,n),function(e){e["X-Firebase-Storage-Version"]="webjs/"+(void 0!==s.a?s.a.SDK_VERSION:"AppManager")}(a),new Jr(o,e.method,a,e.body,e.successCodes,e.additionalRetryCodes,e.handler,e.errorHandler,e.timeout,e.progressCallback,r)}(e,this.appId_,t,this.pool_);return this.requests_.add(r),r.getPromise().then((function(){return n.requests_.delete(r)}),(function(){return n.requests_.delete(r)})),r},e.prototype.ref=function(e){function t(e){if("string"!=typeof e)throw"Path is not a string.";if(/^[A-Za-z]+:\/\//.test(e))throw"Expected child path but got a URL, use refFromURL instead."}if(Rr("ref",[Fr(t,!0)],arguments),null==this.bucket_)throw new Error("No Storage Bucket defined in Firebase Options.");var n=new Gr(this,this.bucket_);return null!=e?n.child(e):n},e.prototype.refFromURL=function(e){function t(e){if("string"!=typeof e)throw"Path is not a string.";if(!/^[A-Za-z]+:\/\//.test(e))throw"Expected full URL but got a child path, use ref instead.";try{ur.makeFromUrl(e)}catch(t){throw"Expected valid full URL but got an invalid one."}}return Rr("refFromURL",[Fr(t,!1)],arguments),new Gr(this,e)},Object.defineProperty(e.prototype,"maxUploadRetryTime",{get:function(){return this.maxUploadRetryTime_},enumerable:!1,configurable:!0}),e.prototype.setMaxUploadRetryTime=function(e){Rr("setMaxUploadRetryTime",[Wr()],arguments),this.maxUploadRetryTime_=e},Object.defineProperty(e.prototype,"maxOperationRetryTime",{get:function(){return this.maxOperationRetryTime_},enumerable:!1,configurable:!0}),e.prototype.setMaxOperationRetryTime=function(e){Rr("setMaxOperationRetryTime",[Wr()],arguments),this.maxOperationRetryTime_=e},Object.defineProperty(e.prototype,"app",{get:function(){return this.app_},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"INTERNAL",{get:function(){return this.internals_},enumerable:!1,configurable:!0}),e}(),Zr=function(){function e(e){this.service_=e}return e.prototype.delete=function(){return this.service_.deleteApp(),Promise.resolve()},e}();function ei(e,t){var n=e.getProvider("app").getImmediate(),r=e.getProvider("auth-internal");return new Xr(n,r,new or,t)}!function(e){var t={TaskState:Bn,TaskEvent:Un,StringFormat:Rn,Storage:Xr,Reference:Gr};e.INTERNAL.registerComponent(new l.Component("storage",ei,"PUBLIC").setServiceProps(t).setMultipleInstances(!0)),e.registerVersion("@firebase/storage","0.3.43")}(s.a);let ti=class{};var ni=n("PVcy");n("NSPt");let ri=class{};var ii=n("SZJ3"),oi=n("qard"),ai=n("pQEw"),si=n("t8sF"),li=n("wMzM"),ui=n("9B/o"),ci=n("SLW3"),di=n("LyHe"),hi=n("dUkV"),fi=n("mCfL"),pi=n("AGEe"),mi=n("q9N6"),gi=n("W/tK"),_i=n("iZTH"),yi=n("cuys"),vi=n("pfut"),bi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(u.__extends)(t,e),t.prototype.get=function(){return Object(Pe.cordova)(this,"get",{},arguments)},t.pluginName="UniqueDeviceID",t.plugin="cordova-plugin-uniquedeviceid",t.pluginRef="window.plugins.uniqueDeviceID",t.repo="https://github.com/Paldom/UniqueDeviceID",t.platforms=["Android","iOS","Windows Phone 8"],t}(Pe.IonicNativePlugin),wi=n("Fs+g");const ki=()=>n.e(15).then(n.bind(null,"TbC0")).then(e=>e.HomePageModuleNgFactory),Mi=()=>n.e(21).then(n.bind(null,"1ZYo")).then(e=>e.LoginPageModuleNgFactory);class Si{}var Ti=n("j1ZV");class xi{}class Li{}var Di=n("rsxy");class Ci{}var Oi=r.zb(i,[Be],(function(e){return r.Lb([r.Mb(512,r.m,r.kb,[[8,[Ve.a,nt,Ht,$t.a,Jt,on,pn,bn]],[3,r.m],r.D]),r.Mb(5120,r.z,r.wb,[[3,r.z]]),r.Mb(4608,Ge.m,Ge.l,[r.z,[2,Ge.s]]),r.Mb(5120,r.sb,r.xb,[r.F]),r.Mb(5120,r.c,r.tb,[]),r.Mb(5120,r.x,r.ub,[]),r.Mb(5120,r.y,r.vb,[]),r.Mb(4608,Je.b,Je.k,[Ge.d]),r.Mb(6144,r.N,null,[Je.b]),r.Mb(4608,Je.e,Je.g,[]),r.Mb(5120,Je.c,(function(e,t,n,r,i,o,a,s){return[new Je.i(e,t,n),new Je.n(r),new Je.m(i,o,a,s)]}),[Ge.d,r.F,r.I,Ge.d,Ge.d,Je.e,r.lb,[2,Je.f]]),r.Mb(4608,Je.d,Je.d,[Je.c,r.F]),r.Mb(135680,Je.l,Je.l,[Ge.d]),r.Mb(4608,Je.j,Je.j,[Je.d,Je.l,r.c]),r.Mb(6144,r.L,null,[Je.j]),r.Mb(6144,Je.o,null,[Je.l]),r.Mb(4608,r.T,r.T,[r.F]),r.Mb(4608,wn.h,wn.n,[Ge.d,r.I,wn.l]),r.Mb(4608,wn.o,wn.o,[wn.h,wn.m]),r.Mb(5120,wn.a,(function(e){return[e]}),[wn.o]),r.Mb(4608,wn.k,wn.k,[]),r.Mb(6144,wn.i,null,[wn.k]),r.Mb(4608,wn.g,wn.g,[wn.i]),r.Mb(6144,wn.b,null,[wn.g]),r.Mb(4608,wn.f,wn.j,[wn.b,r.w]),r.Mb(4608,wn.c,wn.c,[wn.f]),r.Mb(4608,Ae.c,Ae.c,[r.F,r.g]),r.Mb(4608,Ae.Kb,Ae.Kb,[Ae.c,r.m,r.w]),r.Mb(4608,Ae.Pb,Ae.Pb,[Ae.c,r.m,r.w]),r.Mb(5120,mn.a,mn.z,[mn.m]),r.Mb(4608,mn.g,mn.g,[]),r.Mb(6144,mn.h,null,[mn.g]),r.Mb(135680,mn.q,mn.q,[mn.m,r.C,r.k,r.w,mn.h]),r.Mb(4608,mn.e,mn.e,[]),r.Mb(5120,mn.E,mn.v,[mn.m,Ge.p,mn.i]),r.Mb(5120,mn.j,mn.C,[mn.A]),r.Mb(5120,r.b,(function(e){return[e]}),[mn.j]),r.Mb(5120,kn.b,kn.e,[kn.d,r.F,[2,kn.c]]),r.Mb(4608,Sn.a,Sn.a,[kn.d,[2,kn.c],r.I,r.F]),r.Mb(4608,xn.a,xn.a,[kn.d,[2,kn.c],[2,xn.b],r.I,r.F]),r.Mb(4608,ni.a,ni.a,[kn.d,[2,kn.c],[2,Mn.a],r.I,r.F]),r.Mb(4608,Ut.s,Ut.s,[]),r.Mb(4608,Ut.d,Ut.d,[]),r.Mb(5120,gn.b,gn.d,[gn.c]),r.Mb(4608,Ye.a,Ye.a,[]),r.Mb(4608,Ie,Ie,[]),r.Mb(4608,He.a,He.a,[Ae.Sb,Ae.b]),r.Mb(4608,Re.a,Re.a,[Sn.a,ni.a,gn.b,He.a,Ae.Jb,Ae.g]),r.Mb(4608,Ne.a,Ne.a,[Re.a]),r.Mb(4608,ii.a,ii.a,[ni.a,Re.a,He.a,Ae.Ob,Ae.g]),r.Mb(4608,oi.a,oi.a,[Ae.Ob,Re.a]),r.Mb(4608,Fe.a,Fe.a,[Ge.d,gn.b]),r.Mb(4608,ai.a,ai.a,[Ae.b,Ae.a,Ae.Kb,Ae.Sb,Fe.a,Re.a,Ne.a,He.a]),r.Mb(4608,si.a,si.a,[]),r.Mb(4608,li.a,li.a,[]),r.Mb(4608,ui.a,ui.a,[]),r.Mb(4608,Qe.a,Qe.a,[]),r.Mb(4608,ci.a,ci.a,[ni.a,Re.a,xn.a,ii.a,Ne.a,ai.a,si.a,li.a,gn.b,kn.b,Ae.Jb,Ae.b,Ae.Ob,ui.a,He.a,wn.c,Ae.g,Ae.Kb,Je.b,Qe.a,Ye.a]),r.Mb(4608,di.a,di.a,[Re.a,ii.a,Ne.a,Ae.Kb]),r.Mb(4608,hi.a,hi.a,[Re.a,ii.a,Ne.a,ci.a]),r.Mb(4608,fi.a,fi.a,[ii.a,Re.a,Ne.a,gn.b,ai.a]),r.Mb(4608,pi.a,pi.a,[Re.a,ii.a,Ne.a,ci.a]),r.Mb(4608,mi.a,mi.a,[Re.a,ii.a,Ne.a,Ae.Kb]),r.Mb(4608,gi.a,gi.a,[Re.a,ii.a,Ne.a,li.a,Ae.Ob]),r.Mb(4608,_i.a,_i.a,[ci.a,hi.a,pi.a,di.a,Re.a,ii.a,fi.a,oi.a,He.a,ai.a,Ne.a,Fe.a,mi.a,gi.a,Ae.Ob,ui.a,mn.m]),r.Mb(4608,yi.a,yi.a,[]),r.Mb(4608,vi.a,vi.a,[Re.a,ii.a,Ne.a,yi.a,Ae.Ob,He.a,gn.b]),r.Mb(4608,bi,bi,[]),r.Mb(4608,Bt.a,Bt.a,[]),r.Mb(4608,Wt.a,Wt.a,[]),r.Mb(1073742336,Ge.c,Ge.c,[]),r.Mb(1024,r.q,Je.p,[]),r.Mb(1024,r.E,(function(){return[mn.u()]}),[]),r.Mb(512,mn.A,mn.A,[r.w]),r.Mb(256,Ae.Tb,void 0,[]),r.Mb(1024,r.d,(function(e,t,n,r,i){return[Je.q(e),mn.B(t),Ae.Ub(n,r,i)]}),[[2,r.E],mn.A,Ae.Tb,Ge.d,r.F]),r.Mb(512,r.e,r.e,[[2,r.d]]),r.Mb(131584,r.g,r.g,[r.F,r.lb,r.w,r.q,r.m,r.e]),r.Mb(1073742336,r.f,r.f,[r.g]),r.Mb(1073742336,Je.a,Je.a,[[3,Je.a]]),r.Mb(1073742336,wn.e,wn.e,[]),r.Mb(1073742336,wn.d,wn.d,[]),r.Mb(1073742336,Ae.Hb,Ae.Hb,[]),r.Mb(1073742336,gn.a,gn.a,[]),r.Mb(1024,mn.t,mn.x,[[3,mn.m]]),r.Mb(512,mn.s,mn.c,[]),r.Mb(512,mn.b,mn.b,[]),r.Mb(256,mn.i,{preloadingStrategy:mn.g},[]),r.Mb(1024,Ge.i,mn.w,[Ge.o,[2,Ge.a],mn.i]),r.Mb(512,Ge.h,Ge.h,[Ge.i,Ge.o]),r.Mb(512,r.k,r.k,[]),r.Mb(512,r.C,r.Q,[r.k,[2,r.R]]),r.Mb(1024,mn.k,(function(){return[[{path:"tabs",loadChildren:ki,canActivate:[wi.a]},{path:"login",loadChildren:Mi}]]}),[]),r.Mb(512,mn.l,Ae.Ib,[]),r.Mb(1024,mn.m,mn.y,[r.g,mn.s,mn.b,Ge.h,r.w,r.C,r.k,mn.k,mn.i,[2,mn.r],[2,mn.l]]),r.Mb(1073742336,mn.o,mn.o,[[2,mn.t],[2,mn.m]]),r.Mb(1073742336,Si,Si,[]),r.Mb(1073742336,kn.a,kn.a,[r.I]),r.Mb(1073742336,Tn,Tn,[]),r.Mb(1073742336,ti,ti,[]),r.Mb(1073742336,ri,ri,[]),r.Mb(1073742336,Ti.a,Ti.a,[]),r.Mb(1073742336,Ut.r,Ut.r,[]),r.Mb(1073742336,Ut.h,Ut.h,[]),r.Mb(1073742336,xi,xi,[]),r.Mb(1073742336,Li,Li,[]),r.Mb(1073742336,Di.a,Di.a,[]),r.Mb(1073742336,Ci,Ci,[]),r.Mb(1073742336,Ut.o,Ut.o,[]),r.Mb(1073742336,i,i,[]),r.Mb(256,r.jb,!0,[]),r.Mb(256,wn.l,"XSRF-TOKEN",[]),r.Mb(256,wn.m,"X-XSRF-TOKEN",[]),r.Mb(256,kn.d,{apiKey:"AIzaSyDLilgqPLNH47g9rndKGClANnQiCuKGpRE",authDomain:"vp40theapp-175004.firebaseapp.com",databaseURL:"https://vp40theapp-175004.firebaseio.com",projectId:"vp40theapp-175004",storageBucket:"vp40theapp-175004.appspot.com",messagingSenderId:"190751064948",appId:"1:190751064948:web:5da38a5dfa0f79e55d2221",measurementId:"G-9Z0G0Q3D2N"},[]),r.Mb(256,kn.c,void 0,[]),r.Mb(256,gn.c,null,[])])}));Object(r.cb)(),Je.h().bootstrapModuleFactory(Oi).catch(e=>console.log(e))},zVF4:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0});var r=n("mrSG"),i={NODE_CLIENT:!1,NODE_ADMIN:!1,SDK_VERSION:"${JSCORE_VERSION}"},o=function(e,t){if(!e)throw a(t)},a=function(e){return new Error("Firebase Database ("+i.SDK_VERSION+") INTERNAL ASSERT FAILED: "+e)},s=function(e){for(var t=[],n=0,r=0;r<e.length;r++){var i=e.charCodeAt(r);i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):55296==(64512&i)&&r+1<e.length&&56320==(64512&e.charCodeAt(r+1))?(i=65536+((1023&i)<<10)+(1023&e.charCodeAt(++r)),t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},l={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray:function(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();for(var n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,r=[],i=0;i<e.length;i+=3){var o=e[i],a=i+1<e.length,s=a?e[i+1]:0,l=i+2<e.length,u=l?e[i+2]:0,c=(15&s)<<2|u>>6,d=63&u;l||(d=64,a||(c=64)),r.push(n[o>>2],n[(3&o)<<4|s>>4],n[c],n[d])}return r.join("")},encodeString:function(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(s(e),t)},decodeString:function(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):function(e){for(var t=[],n=0,r=0;n<e.length;){var i=e[n++];if(i<128)t[r++]=String.fromCharCode(i);else if(i>191&&i<224){var o=e[n++];t[r++]=String.fromCharCode((31&i)<<6|63&o)}else if(i>239&&i<365){var a=((7&i)<<18|(63&(o=e[n++]))<<12|(63&(s=e[n++]))<<6|63&e[n++])-65536;t[r++]=String.fromCharCode(55296+(a>>10)),t[r++]=String.fromCharCode(56320+(1023&a))}else{o=e[n++];var s=e[n++];t[r++]=String.fromCharCode((15&i)<<12|(63&o)<<6|63&s)}}return t.join("")}(this.decodeStringToByteArray(e,t))},decodeStringToByteArray:function(e,t){this.init_();for(var n=t?this.charToByteMapWebSafe_:this.charToByteMap_,r=[],i=0;i<e.length;){var o=n[e.charAt(i++)],a=i<e.length?n[e.charAt(i)]:0,s=++i<e.length?n[e.charAt(i)]:64,l=++i<e.length?n[e.charAt(i)]:64;if(++i,null==o||null==a||null==s||null==l)throw Error();r.push(o<<2|a>>4),64!==s&&(r.push(a<<4&240|s>>2),64!==l&&r.push(s<<6&192|l))}return r},init_:function(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(var e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}},u=function(e){try{return l.decodeString(e,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};function c(e,t){if(!(t instanceof Object))return t;switch(t.constructor){case Date:return new Date(t.getTime());case Object:void 0===e&&(e={});break;case Array:e=[];break;default:return t}for(var n in t)t.hasOwnProperty(n)&&(e[n]=c(e[n],t[n]));return e}var d=function(){function e(){var e=this;this.reject=function(){},this.resolve=function(){},this.promise=new Promise((function(t,n){e.resolve=t,e.reject=n}))}return e.prototype.wrapCallback=function(e){var t=this;return function(n,r){n?t.reject(n):t.resolve(r),"function"==typeof e&&(t.promise.catch((function(){})),1===e.length?e(n):e(n,r))}},e}();function h(){return"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function f(){try{return"[object process]"===Object.prototype.toString.call(global.process)}catch(e){return!1}}var p=function(e){function t(n,r){var i=e.call(this,r)||this;return i.code=n,i.name="FirebaseError",Object.setPrototypeOf(i,t.prototype),Error.captureStackTrace&&Error.captureStackTrace(i,m.prototype.create),i}return r.__extends(t,e),t}(Error),m=function(){function e(e,t,n){this.service=e,this.serviceName=t,this.errors=n}return e.prototype.create=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=t[0]||{},i=this.service+"/"+e,o=this.errors[e],a=o?g(o,r):"Error",s=this.serviceName+": "+a+" ("+i+").",l=new p(i,s),u=0,c=Object.keys(r);u<c.length;u++){var d=c[u];
2"_"!==d.slice(-1)&&(d in l&&console.warn('Overwriting FirebaseError base field "'+d+'" can cause unexpected behavior.'),l[d]=r[d])}return l},e}();function g(e,t){return e.replace(_,(function(e,n){var r=t[n];return null!=r?String(r):"<"+n+"?>"}))}var _=/\{\$([^}]+)}/g;function y(e){return JSON.parse(e)}var v=function(e){var t={},n={},r={},i="";try{var o=e.split(".");t=y(u(o[0])||""),n=y(u(o[1])||""),i=o[2],r=n.d||{},delete n.d}catch(a){}return{header:t,claims:n,data:r,signature:i}},b=function(){function e(){this.chain_=[],this.buf_=[],this.W_=[],this.pad_=[],this.inbuf_=0,this.total_=0,this.blockSize=64,this.pad_[0]=128;for(var e=1;e<this.blockSize;++e)this.pad_[e]=0;this.reset()}return e.prototype.reset=function(){this.chain_[0]=1732584193,this.chain_[1]=4023233417,this.chain_[2]=2562383102,this.chain_[3]=271733878,this.chain_[4]=3285377520,this.inbuf_=0,this.total_=0},e.prototype.compress_=function(e,t){t||(t=0);var n=this.W_;if("string"==typeof e)for(var r=0;r<16;r++)n[r]=e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|e.charCodeAt(t+3),t+=4;else for(r=0;r<16;r++)n[r]=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3],t+=4;for(r=16;r<80;r++)n[r]=4294967295&((d=n[r-3]^n[r-8]^n[r-14]^n[r-16])<<1|d>>>31);var i,o,a=this.chain_[0],s=this.chain_[1],l=this.chain_[2],u=this.chain_[3],c=this.chain_[4];for(r=0;r<80;r++){r<40?r<20?(i=u^s&(l^u),o=1518500249):(i=s^l^u,o=1859775393):r<60?(i=s&l|u&(s|l),o=2400959708):(i=s^l^u,o=3395469782);var d=(a<<5|a>>>27)+i+c+o+n[r]&4294967295;c=u,u=l,l=4294967295&(s<<30|s>>>2),s=a,a=d}this.chain_[0]=this.chain_[0]+a&4294967295,this.chain_[1]=this.chain_[1]+s&4294967295,this.chain_[2]=this.chain_[2]+l&4294967295,this.chain_[3]=this.chain_[3]+u&4294967295,this.chain_[4]=this.chain_[4]+c&4294967295},e.prototype.update=function(e,t){if(null!=e){void 0===t&&(t=e.length);for(var n=t-this.blockSize,r=0,i=this.buf_,o=this.inbuf_;r<t;){if(0===o)for(;r<=n;)this.compress_(e,r),r+=this.blockSize;if("string"==typeof e){for(;r<t;)if(i[o]=e.charCodeAt(r),++r,++o===this.blockSize){this.compress_(i),o=0;break}}else for(;r<t;)if(i[o]=e[r],++r,++o===this.blockSize){this.compress_(i),o=0;break}}this.inbuf_=o,this.total_+=t}},e.prototype.digest=function(){var e=[],t=8*this.total_;this.update(this.pad_,this.inbuf_<56?56-this.inbuf_:this.blockSize-(this.inbuf_-56));for(var n=this.blockSize-1;n>=56;n--)this.buf_[n]=255&t,t/=256;this.compress_(this.buf_);var r=0;for(n=0;n<5;n++)for(var i=24;i>=0;i-=8)e[r]=this.chain_[n]>>i&255,++r;return e},e}(),w=function(){function e(e,t){var n=this;this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then((function(){e(n)})).catch((function(e){n.error(e)}))}return e.prototype.next=function(e){this.forEachObserver((function(t){t.next(e)}))},e.prototype.error=function(e){this.forEachObserver((function(t){t.error(e)})),this.close(e)},e.prototype.complete=function(){this.forEachObserver((function(e){e.complete()})),this.close()},e.prototype.subscribe=function(e,t,n){var r,i=this;if(void 0===e&&void 0===t&&void 0===n)throw new Error("Missing Observer.");void 0===(r=function(e,t){if("object"!=typeof e||null===e)return!1;for(var n=0,r=["next","error","complete"];n<r.length;n++){var i=r[n];if(i in e&&"function"==typeof e[i])return!0}return!1}(e)?e:{next:e,error:t,complete:n}).next&&(r.next=k),void 0===r.error&&(r.error=k),void 0===r.complete&&(r.complete=k);var o=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then((function(){try{i.finalError?r.error(i.finalError):r.complete()}catch(e){}})),this.observers.push(r),o},e.prototype.unsubscribeOne=function(e){void 0!==this.observers&&void 0!==this.observers[e]&&(delete this.observers[e],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))},e.prototype.forEachObserver=function(e){if(!this.finalized)for(var t=0;t<this.observers.length;t++)this.sendOne(t,e)},e.prototype.sendOne=function(e,t){var n=this;this.task.then((function(){if(void 0!==n.observers&&void 0!==n.observers[e])try{t(n.observers[e])}catch(r){"undefined"!=typeof console&&console.error&&console.error(r)}}))},e.prototype.close=function(e){var t=this;this.finalized||(this.finalized=!0,void 0!==e&&(this.finalError=e),this.task.then((function(){t.observers=void 0,t.onNoObservers=void 0})))},e}();function k(){}function M(e,t,n){var r="";switch(t){case 1:r=n?"first":"First";break;case 2:r=n?"second":"Second";break;case 3:r=n?"third":"Third";break;case 4:r=n?"fourth":"Fourth";break;default:throw new Error("errorPrefix called with argumentNumber > 4.  Need to update it?")}return e+" failed: "+r+" argument "}t.CONSTANTS=i,t.Deferred=d,t.ErrorFactory=m,t.FirebaseError=p,t.MAX_VALUE_MILLIS=144e5,t.RANDOM_FACTOR=.5,t.Sha1=b,t.areCookiesEnabled=function(){return!(!navigator||!navigator.cookieEnabled)},t.assert=o,t.assertionError=a,t.async=function(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];Promise.resolve(!0).then((function(){e.apply(void 0,n)})).catch((function(e){t&&t(e)}))}},t.base64=l,t.base64Decode=u,t.base64Encode=function(e){var t=s(e);return l.encodeByteArray(t,!0)},t.calculateBackoffMillis=function(e,t,n){void 0===t&&(t=1e3),void 0===n&&(n=2);var r=t*Math.pow(n,e),i=Math.round(.5*r*(Math.random()-.5)*2);return Math.min(144e5,r+i)},t.contains=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.createSubscribe=function(e,t){var n=new w(e,t);return n.subscribe.bind(n)},t.decode=v,t.deepCopy=function(e){return c(void 0,e)},t.deepExtend=c,t.errorPrefix=M,t.getUA=h,t.isAdmin=function(e){var t=v(e).claims;return"object"==typeof t&&!0===t.admin},t.isBrowser=function(){return"object"==typeof self&&self.self===self},t.isBrowserExtension=function(){var e="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof e&&void 0!==e.id},t.isElectron=function(){return h().indexOf("Electron/")>=0},t.isEmpty=function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},t.isIE=function(){var e=h();return e.indexOf("MSIE ")>=0||e.indexOf("Trident/")>=0},t.isIndexedDBAvailable=function(){return"indexedDB"in self&&null!=indexedDB},t.isMobileCordova=function(){return"undefined"!=typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(h())},t.isNode=f,t.isNodeSdk=function(){return!0===i.NODE_CLIENT||!0===i.NODE_ADMIN},t.isReactNative=function(){return"object"==typeof navigator&&"ReactNative"===navigator.product},t.isSafari=function(){return!f()&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")},t.isUWP=function(){return h().indexOf("MSAppHost/")>=0},t.isValidFormat=function(e){var t=v(e).claims;return!!t&&"object"==typeof t&&t.hasOwnProperty("iat")},t.isValidTimestamp=function(e){var t=v(e).claims,n=Math.floor((new Date).getTime()/1e3),r=0,i=0;return"object"==typeof t&&(t.hasOwnProperty("nbf")?r=t.nbf:t.hasOwnProperty("iat")&&(r=t.iat),i=t.hasOwnProperty("exp")?t.exp:r+86400),!!n&&!!r&&!!i&&n>=r&&n<=i},t.issuedAtTime=function(e){var t=v(e).claims;return"object"==typeof t&&t.hasOwnProperty("iat")?t.iat:null},t.jsonEval=y,t.map=function(e,t,n){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r},t.querystring=function(e){for(var t=[],n=function(e,n){Array.isArray(n)?n.forEac
2h((function(n){t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))})):t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))},r=0,i=Object.entries(e);r<i.length;r++){var o=i[r];n(o[0],o[1])}return t.length?"&"+t.join("&"):""},t.querystringDecode=function(e){var t={};return e.replace(/^\?/,"").split("&").forEach((function(e){if(e){var n=e.split("=");t[n[0]]=n[1]}})),t},t.safeGet=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0},t.stringLength=function(e){for(var t=0,n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t++:r<2048?t+=2:r>=55296&&r<=56319?(t+=4,n++):t+=3}return t},t.stringToByteArray=function(e){for(var t=[],n=0,r=0;r<e.length;r++){var i=e.charCodeAt(r);if(i>=55296&&i<=56319){var a=i-55296;r++,o(r<e.length,"Surrogate pair missing trail surrogate."),i=65536+(a<<10)+(e.charCodeAt(r)-56320)}i<128?t[n++]=i:i<2048?(t[n++]=i>>6|192,t[n++]=63&i|128):i<65536?(t[n++]=i>>12|224,t[n++]=i>>6&63|128,t[n++]=63&i|128):(t[n++]=i>>18|240,t[n++]=i>>12&63|128,t[n++]=i>>6&63|128,t[n++]=63&i|128)}return t},t.stringify=function(e){return JSON.stringify(e)},t.validateArgCount=function(e,t,n,r){var i;if(r<t?i="at least "+t:r>n&&(i=0===n?"none":"no more than "+n),i)throw new Error(e+" failed: Was called with "+r+(1===r?" argument.":" arguments.")+" Expects "+i+".")},t.validateCallback=function(e,t,n,r){if((!r||n)&&"function"!=typeof n)throw new Error(M(e,t,r)+"must be a valid function.")},t.validateContextObject=function(e,t,n,r){if((!r||n)&&("object"!=typeof n||null===n))throw new Error(M(e,t,r)+"must be a valid context object.")},t.validateIndexedDBOpenable=function(){return new Promise((function(e,t){try{var n=!0,r="validate-browser-context-for-indexeddb-analytics-module",i=window.indexedDB.open(r);i.onsuccess=function(){i.result.close(),n||window.indexedDB.deleteDatabase(r),e(!0)},i.onupgradeneeded=function(){n=!1},i.onerror=function(){var e;t((null===(e=i.error)||void 0===e?void 0:e.message)||"")}}catch(o){t(o)}}))},t.validateNamespace=function(e,t,n,r){if((!r||n)&&"string"!=typeof n)throw new Error(M(e,t,r)+"must be a valid firebase namespace.")}},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"},zx2A:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return l}));var r=n("7o/Q"),i=n("HDdC"),o=n("SeVD");class a extends r.a{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class s extends r.a{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function l(e,t){if(!t.closed)return e instanceof i.a?e.subscribe(t):Object(o.a)(e)(t)}},zx6S:function(e,t,n){!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,n,r){var i=t.words[r];return 1===r.length?n?i[0]:i[1]:e+" "+t.correctGrammaticalCase(e,i)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"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}})}(n("wd/R"))}},[[0,1]]]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.