(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{"+9FH":function(e,t,n){"use strict";n.d(t,"a",(function(){return Ue})),n.d(t,"b",(function(){return R})),n.d(t,"c",(function(){return He})),n.d(t,"d",(function(){return _e})),n.d(t,"e",(function(){return we})),n.d(t,"f",(function(){return ne})),n.d(t,"g",(function(){return te})),n.d(t,"h",(function(){return Ve})),n.d(t,"i",(function(){return A})),n.d(t,"j",(function(){return $})),n.d(t,"k",(function(){return ce})),n.d(t,"l",(function(){return Ee})),n.d(t,"m",(function(){return k})),n.d(t,"n",(function(){return Fe}));let r,o,i,s=!1,a=!1,l=!1,c=!1,u=0,d=!1;const h="undefined"!=typeof window?window:{},f=h.CSS,p=h.document||{head:{}},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.head.attachShadow+"").indexOf("[native")>-1)(),b=e=>Promise.resolve(e),y=(()=>{try{return new CSSStyleSheet,!0}catch(e){}return!1})(),v=(e,t,n,r)=>{n&&(n=n.filter(r?([e])=>16&e:([e])=>!(16&e))).map(([n,r,o])=>{const i=w(e,n),s=_(t,o),a=C(n);m.ael(i,r,s,a),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>m.rel(i,r,s,a))})},_=(e,t)=>n=>{256&e.$flags$?e.$lazyInstance$[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])},w=(e,t)=>4&t?p:8&t?h:32&t?p.body:16&t?e.parentElement:e,C=e=>0!=(2&e),S="http://www.w3.org/1999/xlink",E=new WeakMap,x=(e,t,n)=>{let r=Ie.get(e);y&&n?(r=r||new CSSStyleSheet,r.replace(t)):r=t,Ie.set(e,r)},O=(e,t,n,r)=>{let o=T(t.$tagName$,n),i=Ie.get(o);if(e=11===e.nodeType?e:p,i||(o=T(t.$tagName$),i=Ie.get(o)),i)if("string"==typeof i){let n,s=E.get(e=e.head||e);if(s||E.set(e,s=new Set),!s.has(o)){if(e.host&&(n=e.querySelector(`[sty-id="${o}"]`)))n.innerHTML=i;else{if(m.$cssShim$){n=m.$cssShim$.createHostStyle(r,o,i,!!(10&t.$flags$));const e=n["s-sc"];e&&(o=e,s=null)}else n=p.createElement("style"),n.innerHTML=i;e.insertBefore(n,e.querySelector("link"))}s&&s.add(o)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return o},T=(e,t)=>"sc-"+(t?e+"-"+t:e),k=e=>je.push(e),A=e=>Se(e).$modeName$,I={},j=e=>"object"==(e=typeof e)||"function"===e,$=(e,t,...n)=>{let r=null,o=null,i=null,s=!1,a=!1,l=[];const c=t=>{for(let n=0;ne[t]).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,l,P);const u=N(e,null);return u.$attrs$=t,l.length>0&&(u.$children$=l),u.$key$=o,u.$name$=i,u},N=(e,t)=>({$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),R={},P={forEach:(e,t)=>e.map(D).forEach(t),map:(e,t)=>e.map(D).map(t).map(L)},D=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),L=e=>{const t=N(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},M=(e,t,n,r,o,i)=>{if(n!==r){let a=Oe(e,t),l=t.toLowerCase();if("class"===t){const t=e.classList,o=F(n),i=F(r);t.remove(...o.filter(e=>e&&!i.includes(e))),t.add(...i.filter(e=>e&&!o.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 c=j(r);if((a||c&&null!==r)&&!o)try{if(e.tagName.includes("-"))e[t]=r;else{let o=null==r?"":r;"list"===t?a=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(s){}let u=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,u=!0),null==r||!1===r?u?e.removeAttributeNS(S,t):e.removeAttribute(t):(!a||4&i||o)&&!c&&(r=!0===r?"":r,u?e.setAttributeNS(S,t,r):e.setAttribute(t,r))}else t="-"===t[2]?t.slice(3):Oe(h,l)?l.slice(2):l[2]+t.slice(3),n&&m.rel(e,t,n,!1),r&&m.ael(e,t,r,!1)}},V=/\s/,F=e=>e?e.split(V):[],U=(e,t,n,r)=>{const o=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,i=e&&e.$attrs$||I,s=t.$attrs$||I;for(r in i)r in s||M(o,r,i[r],void 0,n,t.$flags$);for(r in s)M(o,r,i[r],s[r],n,t.$flags$)},H=(e,t,n,a)=>{let u,d,h,f=t.$children$[n],m=0;if(s||(l=!0,"slot"===f.$tag$&&(r&&a.classList.add(r+"-s"),f.$flags$|=f.$children$?2:1)),null!==f.$text$)u=f.$elm$=p.createTextNode(f.$text$);else if(1&f.$flags$)u=f.$elm$=p.createTextNode("");else{if(c||(c="svg"===f.$tag$),u=f.$elm$=p.createElementNS(c?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&f.$flags$?"slot-fb":f.$tag$),c&&"foreignObject"===f.$tag$&&(c=!1),U(null,f,c),null!=r&&u["s-si"]!==r&&u.classList.add(u["s-si"]=r),f.$children$)for(m=0;m{m.$flags$|=1;const n=e.childNodes;for(let r=n.length-1;r>=0;r--){const e=n[r];e["s-hn"]!==i&&e["s-ol"]&&(J(e).insertBefore(e,W(e)),e["s-ol"].remove(),e["s-ol"]=void 0,l=!0),t&&z(e,t)}m.$flags$&=-2},B=(e,t,n,r,o,s)=>{let a,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===i&&(l=l.shadowRoot);o<=s;++o)r[o]&&(a=H(null,n,o,e),a&&(r[o].$elm$=a,l.insertBefore(a,W(t))))},q=(e,t,n,r,o)=>{for(;t<=n;++t)(r=e[t])&&(o=r.$elm$,ee(r),a=!0,o["s-ol"]?o["s-ol"].remove():z(o,!0),o.remove())},G=(e,t)=>e.$tag$===t.$tag$&&("slot"===e.$tag$?e.$name$===t.$name$:e.$key$===t.$key$),W=e=>e&&e["s-ol"]||e,J=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,X=(e,t)=>{const n=t.$elm$=e.$elm$,r=e.$children$,o=t.$children$,i=t.$tag$,s=t.$text$;let a;null===s?(c="svg"===i||"foreignObject"!==i&&c,"slot"===i||U(e,t,c),null!==r&&null!==o?((e,t,n,r)=>{let o,i,s=0,a=0,l=0,c=0,u=t.length-1,d=t[0],h=t[u],f=r.length-1,p=r[0],m=r[f];for(;s<=u&&a<=f;)if(null==d)d=t[++s];else if(null==h)h=t[--u];else if(null==p)p=r[++a];else if(null==m)m=r[--f];else if(G(d,p))X(d,p),d=t[++s],p=r[++a];else if(G(h,m))X(h,m),h=t[--u],m=r[--f];else if(G(d,m))"slot"!==d.$tag$&&"slot"!==m.$tag$||z(d.$elm$.parentNode,!1),X(d,m),e.insertBefore(d.$elm$,h.$elm$.nextSibling),d=t[++s],m=r[--f];else if(G(h,p))"slot"!==d.$tag$&&"slot"!==m.$tag$||z(h.$elm$.parentNode,!1),X(h,p),e.insertBefore(h.$elm$,d.$elm$),h=t[--u],p=r[++a];else{for(l=-1,c=s;c<=u;++c)if(t[c]&&null!==t[c].$key$&&t[c].$key$===p.$key$){l=c;break}l>=0?(i=t[l],i.$tag$!==p.$tag$?o=H(t&&t[a],n,l,e):(X(i,p),t[l]=void 0,o=i.$elm$),p=r[++a]):(o=H(t&&t[a],n,a,e),p=r[++a]),o&&J(d.$elm$).insertBefore(o,W(d.$elm$))}s>u?B(e,null==r[f+1]?null:r[f+1].$elm$,n,r,a,f):a>f&&q(t,s,u)})(n,r,t,o):null!==o?(null!==e.$text$&&(n.textContent=""),B(n,null,t,o,0,o.length-1)):null!==r&&q(r,0,r.length-1),c&&"svg"===i&&(c=!1)):(a=n["s-cr"])?a.parentNode.textContent=s:e.$text$!==s&&(n.data=s)},Q=e=>{let t,n,r,o,i,s,a=e.childNodes;for(n=0,r=a.length;n{let t,n,r,o,i,s,l=0,c=e.childNodes,u=c.length;for(;l=0;s--)n=r[s],n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||(Y(n,o)?(i=Z.find(e=>e.$nodeToRelocate$===n),a=!0,n["s-sn"]=n["s-sn"]||o,i?i.$slotRefNode$=t:Z.push({$slotRefNode$:t,$nodeToRelocate$:n}),n["s-sr"]&&Z.map(e=>{Y(e.$nodeToRelocate$,n["s-sn"])&&(i=Z.find(e=>e.$nodeToRelocate$===n),i&&!e.$slotRefNode$&&(e.$slotRefNode$=i.$slotRefNode$))})):Z.some(e=>e.$nodeToRelocate$===n)||Z.push({$nodeToRelocate$:n}));1===t.nodeType&&K(t)}},Y=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,ee=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(ee)},te=e=>Se(e).$hostElement$,ne=(e,t,n)=>{const r=te(e);return{emit:e=>re(r,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},re=(e,t,n)=>{const r=new CustomEvent(t,n);return e.dispatchEvent(r),r},oe=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"].push(new Promise(t=>e.$onRenderResolve$=t))},ie=(e,t)=>{if(e.$flags$|=16,4&e.$flags$)return void(e.$flags$|=512);const n=e.$lazyInstance$,r=()=>se(e,n,t);let o;return oe(e,e.$ancestorComponent$),t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([e,t])=>de(n,e,t)),e.$queuedListeners$=null),o=de(n,"componentWillLoad")),o=he(o,()=>de(n,"componentWillRender")),he(o,()=>Fe(r))},se=(e,t,n)=>{const c=e.$hostElement$,u=c["s-rc"];n&&(e=>{const t=e.$cmpMeta$,n=e.$hostElement$,r=t.$flags$,o=O(g&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$,n);10&r&&(n["s-sc"]=o,n.classList.add(o+"-h"),2&r&&n.classList.add(o+"-s"))})(e),((e,t)=>{const n=e.$hostElement$,c=e.$cmpMeta$,u=e.$vnode$||N(null,null),d=(h=t)&&h.$tag$===R?t:$(null,null,t);var h;if(i=n.tagName,c.$attrsToReflect$&&(d.$attrs$=d.$attrs$||{},c.$attrsToReflect$.map(([e,t])=>d.$attrs$[t]=n[e])),d.$tag$=null,d.$flags$|=4,e.$vnode$=d,d.$elm$=u.$elm$=n.shadowRoot||n,r=n["s-sc"],o=n["s-cr"],s=g&&0!=(1&c.$flags$),a=!1,X(u,d),m.$flags$|=1,l){let e,t,n,r,o,i;K(d.$elm$);let s=0;for(;se()),c["s-rc"]=void 0);{const t=c["s-p"],n=()=>le(e);0===t.length?n():(Promise.all(t).then(n),e.$flags$|=4,t.length=0)}},ae=e=>{try{e=e.render&&e.render()}catch(t){Te(t)}return e},le=e=>{const t=e.$hostElement$,n=e.$lazyInstance$,r=e.$ancestorComponent$;64&e.$flags$?de(n,"componentDidUpdate"):(e.$flags$|=64,fe(t),de(n,"componentDidLoad"),e.$onReadyResolve$(t),r||ue()),e.$onInstanceResolve$(t),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&Me(()=>ie(e,!1)),e.$flags$&=-517},ce=e=>{{const t=Se(e),n=t.$hostElement$.isConnected;return n&&2==(18&t.$flags$)&&ie(t,!1),n}},ue=e=>{fe(p.documentElement),m.$flags$|=2,Me(()=>re(h,"appload",{detail:{namespace:"ionic"}}))},de=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(r){Te(r)}},he=(e,t)=>e&&e.then?e.then(t):t(),fe=e=>e.classList.add("hydrated"),pe=(e,t,n,r,o,i,s)=>{let a,l,c,u;if(1===i.nodeType){for(a=i.getAttribute("c-id"),a&&(l=a.split("."),l[0]!==s&&"0"!==l[0]||(c={$flags$:0,$hostId$:l[0],$nodeId$:l[1],$depth$:l[2],$index$:l[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},t.push(c),i.removeAttribute("c-id"),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c,e=c,r&&"0"===c.$depth$&&(r[c.$index$]=c.$elm$))),u=i.childNodes.length-1;u>=0;u--)pe(e,t,n,r,o,i.childNodes[u],s);if(i.shadowRoot)for(u=i.shadowRoot.childNodes.length-1;u>=0;u--)pe(e,t,n,r,o,i.shadowRoot.childNodes[u],s)}else if(8===i.nodeType)l=i.nodeValue.split("."),l[1]!==s&&"0"!==l[1]||(a=l[0],c={$flags$:0,$hostId$:l[1],$nodeId$:l[2],$depth$:l[3],$index$:l[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===a?(c.$elm$=i.nextSibling,c.$elm$&&3===c.$elm$.nodeType&&(c.$text$=c.$elm$.textContent,t.push(c),i.remove(),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c,r&&"0"===c.$depth$&&(r[c.$index$]=c.$elm$))):c.$hostId$===s&&("s"===a?(c.$tag$="slot",i["s-sn"]=l[5]?c.$name$=l[5]:"",i["s-sr"]=!0,r&&(c.$elm$=p.createElement(c.$tag$),c.$name$&&c.$elm$.setAttribute("name",c.$name$),i.parentNode.insertBefore(c.$elm$,i),i.remove(),"0"===c.$depth$&&(r[c.$index$]=c.$elm$)),n.push(c),e.$children$||(e.$children$=[]),e.$children$[c.$index$]=c):"r"===a&&(r?i.remove():(o["s-cr"]=i,i["s-cn"]=!0))));else if(e&&"style"===e.$tag$){const t=N(null,i.textContent);t.$elm$=i,t.$index$="0",e.$children$=[t]}},me=(e,t)=>{if(1===e.nodeType){let n=0;for(;n{if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);const r=Object.entries(t.$members$),o=e.prototype;if(r.map(([e,[r]])=>{31&r||2&n&&32&r?Object.defineProperty(o,e,{get(){return t=e,Se(this).$instanceValues$.get(t);var t},set(n){((e,t,n,r)=>{const o=Se(this),i=o.$instanceValues$.get(t),s=o.$flags$,a=o.$lazyInstance$;var l,c;if(c=r.$members$[t][0],n=null==(l=n)||j(l)?l:4&c?"false"!==l&&(""===l||!!l):2&c?parseFloat(l):1&c?String(l):l,!(8&s&&void 0!==i||n===i)&&(o.$instanceValues$.set(t,n),a)){if(r.$watchers$&&128&s){const e=r.$watchers$[t];e&&e.map(e=>{try{a[e](n,i,t)}catch(r){Te(r)}})}2==(18&s)&&ie(o,!1)}})(0,e,n,t)},configurable:!0,enumerable:!0}):1&n&&64&r&&Object.defineProperty(o,e,{value(...t){const n=Se(this);return n.$onInstancePromise$.then(()=>n.$lazyInstance$[e](...t))}})}),1&n){const n=new Map;o.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 o=r[1]||e;return n.set(o,e),512&r[0]&&t.$attrsToReflect$.push([e,o]),o})}}return e},be=e=>{de(e,"connectedCallback")},ye=e=>{if(0==(1&m.$flags$)){const t=Se(e),r=t.$cmpMeta$,o=()=>{};if(v(e,t,r.$listeners$,!0),1&t.$flags$)v(e,t,r.$listeners$,!1),be(t.$lazyInstance$);else{let o;if(t.$flags$|=1,o=e.getAttribute("s-id"),o){if(g&&1&r.$flags$){const t=O(e.shadowRoot,r,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}((e,t,n,r)=>{const o=e.shadowRoot,i=[],s=o?[]:null,a=r.$vnode$=N(t,null);m.$orgLocNodes$||me(p.body,m.$orgLocNodes$=new Map),e["s-id"]=n,e.removeAttribute("s-id"),pe(a,i,[],s,e,e,n),i.map(e=>{const n=e.$hostId$+"."+e.$nodeId$,r=m.$orgLocNodes$.get(n),i=e.$elm$;r&&g&&""===r["s-en"]&&r.parentNode.insertBefore(i,r.nextSibling),o||(i["s-hn"]=t,r&&(i["s-ol"]=r,i["s-ol"]["s-nr"]=i)),m.$orgLocNodes$.delete(n)}),o&&s.map(e=>{e&&o.appendChild(e)})})(e,r.$tagName$,o,t)}o||12&r.$flags$&&ve(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")||n["s-p"]){oe(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}}),Me(()=>(async(e,t,r,o,i)=>{if(0==(32&t.$flags$)){t.$flags$|=32,null==t.$modeName$&&(t.$modeName$="string"!=typeof r.$lazyBundleIds$?(e=>je.map(t=>t(e)).find(e=>!!e))(e):"");{if((i=Ae(r,t)).then){const e=()=>{};i=await i,e()}i.isProxied||(r.$watchers$=i.watchers,ge(i,r,2),i.isProxied=!0);const e=()=>{};t.$flags$|=8;try{new i(t)}catch(l){Te(l)}t.$flags$&=-9,t.$flags$|=128,e(),be(t.$lazyInstance$)}const o=T(r.$tagName$,t.$modeName$);if(!Ie.has(o)&&i.style){const e=()=>{};let s=i.style;"string"!=typeof s&&(s=s[t.$modeName$]),8&r.$flags$&&(s=await n.e(111).then(n.bind(null,"lYL9")).then(e=>e.scopeCss(s,o,!1))),x(o,s,!!(1&r.$flags$)),e()}}const s=t.$ancestorComponent$,a=()=>ie(t,!0);s&&s["s-rc"]?s["s-rc"].push(a):a()})(e,t,r))}o()}},ve=e=>{const t=e["s-cr"]=p.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},_e=(e,t={})=>{const n=[],r=t.exclude||[],o=h.customElements,i=p.head,s=i.querySelector("meta[charset]"),a=p.createElement("style"),l=[],c=p.querySelectorAll("[sty-id]");let u,d=!0,f=0;for(Object.assign(m,t),m.$resourcesUrl$=new URL(t.resourcesUrl||"./",p.baseURI).href,t.syncQueue&&(m.$flags$|=4),m.$flags$|=2;fe[1].map(t=>{const i={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};i.$members$=t[2],i.$listeners$=t[3],i.$attrsToReflect$=[],i.$watchers$={},!g&&1&i.$flags$&&(i.$flags$|=8);const s=i.$tagName$,a=class extends HTMLElement{constructor(e){super(e),xe(e=this,i),1&i.$flags$&&(g?e.attachShadow({mode:"open",delegatesFocus:!!(16&i.$flags$)}):"shadowRoot"in e||(e.shadowRoot=e))}connectedCallback(){u&&(clearTimeout(u),u=null),d?l.push(this):m.jmp(()=>ye(this))}disconnectedCallback(){m.jmp(()=>(e=>{if(0==(1&m.$flags$)){const t=Se(e),n=t.$lazyInstance$;t.$rmListeners$&&(t.$rmListeners$.map(e=>e()),t.$rmListeners$=void 0),m.$cssShim$&&m.$cssShim$.removeHost(e),de(n,"disconnectedCallback"),de(n,"componentDidUnload")}})(this))}forceUpdate(){ce(this)}componentOnReady(){return Se(this).$onReadyPromise$}};i.$lazyBundleIds$=e[0],r.includes(s)||o.get(s)||(n.push(s),o.define(s,ge(a,i,1)))})),a.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",a.setAttribute("data-styles",""),i.insertBefore(a,s?s.nextSibling:i.firstChild),d=!1,l.length?l.map(e=>e.connectedCallback()):m.jmp(()=>u=setTimeout(ue,30))},we=e=>{const t=new URL(e,m.$resourcesUrl$);return t.origin!==h.location.origin?t.href:t.pathname},Ce=new WeakMap,Se=e=>Ce.get(e),Ee=(e,t)=>Ce.set(t.$lazyInstance$=e,t),xe=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onInstancePromise$=new Promise(e=>n.$onInstanceResolve$=e),n.$onReadyPromise$=new Promise(e=>n.$onReadyResolve$=e),e["s-p"]=[],e["s-rc"]=[],v(e,n,t.$listeners$,!1),Ce.set(e,n)},Oe=(e,t)=>t in e,Te=e=>console.error(e),ke=new Map,Ae=(e,t,r)=>{const o=e.$tagName$.replace(/-/g,"_"),i="string"!=typeof e.$lazyBundleIds$?e.$lazyBundleIds$[t.$modeName$]:e.$lazyBundleIds$,s=ke.get(i);return s?s[o]:n("kLfG")(`./${i}.entry.js`).then(e=>(ke.set(i,e),e[o]),Te)},Ie=new Map,je=[],$e=[],Ne=[],Re=[],Pe=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&m.$flags$?Me(Le):m.raf(Le))},De=(e,t)=>{let n=0,r=0;for(;n{u++,(e=>{for(let n=0;n0&&(Re.push(...Ne),Ne.length=0),(d=$e.length+Ne.length+Re.length>0)?m.raf(Le):u=0}},Me=e=>b().then(e),Ve=Pe($e,!1),Fe=Pe(Ne,!0),Ue={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},He=()=>f&&f.supports&&f.supports("color","var(--c)")?b():n.e(12).then(n.t.bind(null,"XHcv",7)).then(()=>(m.$cssShim$=h.__cssshim)?m.$cssShim$.i():0)},0:function(e,t,n){e.exports=n("zUnb")},"0EUg":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("bHdf");function o(){return Object(r.a)(1)}},"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 i}));var r=n("XNiG"),o=n("9ppp");class i 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 o.a;return this._value}next(e){super.next(this._value=e)}}},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));let r=!1;const o={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}}},"3Pt+":function(e,t,n){"use strict";n.d(t,"a",(function(){return Me})),n.d(t,"b",(function(){return Re})),n.d(t,"c",(function(){return Te})),n.d(t,"d",(function(){return Ve})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return w})),n.d(t,"h",(function(){return Se})),n.d(t,"i",(function(){return Fe})),n.d(t,"j",(function(){return De})),n.d(t,"k",(function(){return O})),n.d(t,"l",(function(){return Ee}));var r=n("fXoL"),o=n("ofXK"),i=n("cp0P"),s=n("Cfvw"),a=n("lJxs");const l=new r.q("NgValueAccessor"),c={provide:l,useExisting:Object(r.S)(()=>u),multi:!0};let u=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(r.D),r.Jb(r.l))},e.\u0275dir=r.Eb({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&r.Ub("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[r.yb([c])]}),e})();const d={provide:l,useExisting:Object(r.S)(()=>f),multi:!0},h=new r.q("CompositionEventMode");let f=(()=>{class e{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(o.o)()?Object(o.o)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(r.D),r.Jb(r.l),r.Jb(h,8))},e.\u0275dir=r.Eb({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&r.Ub("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[r.yb([d])]}),e})(),p=(()=>{class e{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Eb({type:e}),e})(),m=(()=>{class e extends p{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return g(t||e)},e.\u0275dir=r.Eb({type:e,features:[r.wb]}),e})();const g=r.Ob(m);function b(){throw new Error("unimplemented")}class y extends p{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return b()}get asyncValidator(){return b()}}class v{constructor(e){this._cd=e}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let _=(()=>{class e extends v{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(y,2))},e.\u0275dir=r.Eb({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&r.Bb("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[r.wb]}),e})(),w=(()=>{class e extends v{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(m,2))},e.\u0275dir=r.Eb({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&r.Bb("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[r.wb]}),e})();function C(e){return null==e||0===e.length}const S=new r.q("NgValidators"),E=new r.q("NgAsyncValidators"),x=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class O{static min(e){return t=>{if(C(t.value)||C(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n{if(C(t.value)||C(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return C(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return C(e.value)||x.test(e.value)?null:{email:!0}}static minLength(e){return t=>{if(C(t.value))return null;const n=t.value?t.value.length:0;return n{const n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}static pattern(e){if(!e)return O.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(C(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 A(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){const n=function(e,t){return t.map(t=>t(e))}(e,t).map(k);return Object(i.a)(n).pipe(Object(a.a)(A))}}}function T(e){return null!=e}function k(e){const t=Object(r.qb)(e)?Object(s.a)(e):e;if(!Object(r.pb)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function A(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function I(e){return e.validate?t=>e.validate(t):e}function j(e){return e.validate?t=>e.validate(t):e}const $={provide:l,useExisting:Object(r.S)(()=>N),multi:!0};let N=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(r.D),r.Jb(r.l))},e.\u0275dir=r.Eb({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&r.Ub("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[r.yb([$])]}),e})();const R={provide:l,useExisting:Object(r.S)(()=>D),multi:!0};let P=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})(),D=(()=>{class e{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(y),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: \n ')}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(r.D),r.Jb(r.l),r.Jb(P),r.Jb(r.r))},e.\u0275dir=r.Eb({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&r.Ub("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r.yb([R])]}),e})();const L={provide:l,useExisting:Object(r.S)(()=>M),multi:!0};let M=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(r.D),r.Jb(r.l))},e.\u0275dir=r.Eb({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&r.Ub("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[r.yb([L])]}),e})();const V='\n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',F='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',U='\n
\n
\n \n
\n
';class H{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 ${V}`)}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 ${F}\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ${U}`)}static missingFormException(){throw new Error(`formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n ${V}`)}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 ${F}`)}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
\n
\n
\n \n
\n
\n
\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"===e?"FormControlDirective":"FormControlName"}#use-with-ngmodel\n `)}}const z={provide:l,useExisting:Object(r.S)(()=>B),multi:!0};let B=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=r.rb}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}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(r.D),r.Jb(r.l))},e.\u0275dir=r.Eb({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&r.Ub("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r.yb([z])]}),e})();const q={provide:l,useExisting:Object(r.S)(()=>G),multi:!0};let G=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=r.rb}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)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(t.hasOwnProperty("selectedOptions")){const e=t.selectedOptions;for(let t=0;t{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&X(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&&X(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 X(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Q(e,t){null==e&&K(t,"Cannot find control with"),e.validator=O.compose([e.validator,t.validator]),e.asyncValidator=O.composeAsync([e.asyncValidator,t.asyncValidator])}function Z(e){return K(e,"There is no FormControl instance attached to form control element with")}function K(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 Y(e){return null!=e?O.compose(e.map(I)):null}function ee(e){return null!=e?O.composeAsync(e.map(j)):null}function te(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object(r.rb)(t,n.currentValue)}const ne=[u,M,N,B,G,D];function re(e,t){e._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function oe(e,t){if(!t)return null;Array.isArray(t)||K(e,"Value accessor was not provided as an array for form control with");let n=void 0,r=void 0,o=void 0;return t.forEach(t=>{var i;t.constructor===f?n=t:(i=t,ne.some(e=>i.constructor===e)?(r&&K(e,"More than one built-in value accessor matches form control with"),r=t):(o&&K(e,"More than one custom value accessor matches form control with"),o=t))}),o||r||n||(K(e,"No valid value accessor for form control with"),null)}function ie(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function se(e){const t=le(e)?e.validators:e;return Array.isArray(t)?Y(t):t||null}function ae(e,t){const n=le(t)?t.asyncValidators:e;return Array.isArray(n)?ee(n):n||null}function le(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class ce{constructor(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this.validator=se(e)}setAsyncValidators(e){this.asyncValidator=ae(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(t=>{t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(t=>{t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING";const t=k(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){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;let r=e;return t.forEach(e=>{r=r instanceof de?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof he&&r.at(e)||null}),r}(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.n,this.statusChanges=new r.n}_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){le(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class ue extends ce{constructor(e=null,t,n){super(se(t),ae(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}class de extends ce{constructor(e,t,n){super(se(t),ae(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 ue?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 he extends ce{constructor(e,t,n){super(se(t),ae(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,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 ue?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 fe={provide:m,useExisting:Object(r.S)(()=>me)},pe=(()=>Promise.resolve(null))();let me=(()=>{class e extends m{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new r.n,this.form=new de({},Y(e),ee(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){pe.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),J(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){pe.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),ie(this._directives,e)})}addFormGroup(e){pe.then(()=>{const t=this._findContainer(e.path),n=new de({});Q(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){pe.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){pe.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,re(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(S,10),r.Jb(E,10))},e.\u0275dir=r.Eb({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&r.Ub("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.yb([fe]),r.wb]}),e})(),ge=(()=>{class e 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 W(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Y(this._validators)}get asyncValidator(){return ee(this._asyncValidators)}_checkParentType(){}}return e.\u0275fac=function(t){return be(t||e)},e.\u0275dir=r.Eb({type:e,features:[r.wb]}),e})();const be=r.Ob(ge);class ye{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 ${V}\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
\n \n \n
\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 ${F}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${U}`)}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: \n Example 2: ')}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 ${F}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${U}`)}}const ve={provide:m,useExisting:Object(r.S)(()=>_e)};let _e=(()=>{class e extends ge{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}_checkParentType(){this._parent instanceof e||this._parent instanceof me||ye.modelGroupParentException()}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(m,5),r.Jb(S,10),r.Jb(E,10))},e.\u0275dir=r.Eb({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[r.yb([ve]),r.wb]}),e})();const we={provide:y,useExisting:Object(r.S)(()=>Se)},Ce=(()=>Promise.resolve(null))();let Se=(()=>{class e extends y{constructor(e,t,n,o){super(),this.control=new ue,this._registered=!1,this.update=new r.n,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=oe(this,o)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),te(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?W(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Y(this._rawValidators)}get asyncValidator(){return ee(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(){J(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof _e)&&this._parent instanceof ge?ye.formGroupNameException():this._parent instanceof _e||this._parent instanceof me||ye.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ye.missingNameException()}_updateValue(e){Ce.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;Ce.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(m,9),r.Jb(S,10),r.Jb(E,10),r.Jb(l,10))},e.\u0275dir=r.Eb({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r.yb([we]),r.wb,r.xb]}),e})(),Ee=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Eb({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const xe=new r.q("NgModelWithFormControlWarning"),Oe={provide:m,useExisting:Object(r.S)(()=>Te)};let Te=(()=>{class e extends m{constructor(e,t){super(),this._validators=e,this._asyncValidators=t,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new r.n}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 J(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){ie(this.directives,e)}addFormGroup(e){const t=this.form.get(e.path);Q(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);Q(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,re(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(()=>Z(t)),t.valueAccessor.registerOnTouched(()=>Z(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&&J(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=Y(this._validators);this.form.validator=O.compose([this.form.validator,e]);const t=ee(this._asyncValidators);this.form.asyncValidator=O.composeAsync([this.form.asyncValidator,t])}_checkFormPresent(){this.form||H.missingFormException()}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(S,10),r.Jb(E,10))},e.\u0275dir=r.Eb({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&r.Ub("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.yb([Oe]),r.wb,r.xb]}),e})();const ke={provide:m,useExisting:Object(r.S)(()=>Ae)};let Ae=(()=>{class e extends ge{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}_checkParentType(){$e(this._parent)&&H.groupParentException()}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(m,13),r.Jb(S,10),r.Jb(E,10))},e.\u0275dir=r.Eb({type:e,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[r.yb([ke]),r.wb]}),e})();const Ie={provide:m,useExisting:Object(r.S)(()=>je)};let je=(()=>{class e 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 W(null==this.name?this.name:this.name.toString(),this._parent)}get validator(){return Y(this._validators)}get asyncValidator(){return ee(this._asyncValidators)}_checkParentType(){$e(this._parent)&&H.arrayParentException()}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(m,13),r.Jb(S,10),r.Jb(E,10))},e.\u0275dir=r.Eb({type:e,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[r.yb([Ie]),r.wb]}),e})();function $e(e){return!(e instanceof Ae||e instanceof Te||e instanceof je)}const Ne={provide:y,useExisting:Object(r.S)(()=>Re)};let Re=(()=>{class e extends y{constructor(e,t,n,o,i){super(),this._ngModelWarningConfig=i,this._added=!1,this.update=new r.n,this._ngModelWarningSent=!1,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=oe(this,o)}set isDisabled(e){H.disabledAttrWarning()}ngOnChanges(t){var n,o,i;this._added||this._setUpControl(),te(t,this.viewModel)&&(n=e,o=this,i=this._ngModelWarningConfig,Object(r.T)()&&"never"!==i&&((null!==i&&"once"!==i||n._ngModelWarningSentOnce)&&("always"!==i||o._ngModelWarningSent)||(H.ngModelWarning("formControlName"),n._ngModelWarningSentOnce=!0,o._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 W(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return Y(this._rawValidators)}get asyncValidator(){return ee(this._rawAsyncValidators)}_checkParentType(){!(this._parent instanceof Ae)&&this._parent instanceof ge?H.ngModelGroupException():this._parent instanceof Ae||this._parent instanceof Te||this._parent instanceof je||H.controlParentException()}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(m,13),r.Jb(S,10),r.Jb(E,10),r.Jb(l,10),r.Jb(xe,8))},e.\u0275dir=r.Eb({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r.yb([Ne]),r.wb,r.xb]}),e._ngModelWarningSentOnce=!1,e})();const Pe={provide:S,useExisting:Object(r.S)(()=>De),multi:!0};let De=(()=>{class e{get required(){return this._required}set required(e){this._required=null!=e&&!1!==e&&"false"!==`${e}`,this._onChange&&this._onChange()}validate(e){return this.required?O.required(e):null}registerOnValidatorChange(e){this._onChange=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Eb({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&r.Ab("required",t.required?"":null)},inputs:{required:"required"},features:[r.yb([Pe])]}),e})(),Le=(()=>{class e{}return e.\u0275mod=r.Hb({type:e}),e.\u0275inj=r.Gb({factory:function(t){return new(t||e)}}),e})(),Me=(()=>{class e{group(e,t=null){const n=this._reduceControls(e);let r=null,o=null,i=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,o=null!=t.asyncValidators?t.asyncValidators:null,i=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,o=null!=t.asyncValidator?t.asyncValidator:null)),new de(n,{asyncValidators:o,updateOn:i,validators:r})}control(e,t,n){return new ue(e,t,n)}array(e,t,n){const r=e.map(e=>this._createControl(e));return new he(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 ue||e instanceof de||e instanceof he?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})(),Ve=(()=>{class e{}return e.\u0275mod=r.Hb({type:e}),e.\u0275inj=r.Gb({factory:function(t){return new(t||e)},providers:[P],imports:[Le]}),e})(),Fe=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:xe,useValue:t.warnOnNgModelWithFormControl}]}}}return e.\u0275mod=r.Hb({type:e}),e.\u0275inj=r.Gb({factory:function(t){return new(t||e)},providers:[Me,P],imports:[Le]}),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})()},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("ZUHj"),o=n("l7GE"),i=n("51Dv"),s=n("lJxs"),a=n("Cfvw");function l(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?r=>r.pipe(l((n,r)=>Object(a.a)(e(n,r)).pipe(Object(s.a)((e,o)=>t(n,e,r,o))),n)):("number"==typeof t&&(n=t),t=>t.lift(new c(e,n)))}class c{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new u(e,this.project,this.concurrent))}}class u extends o.a{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.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("7o/Q");class o 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()}}},"6EEC":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("gHap");let o;const i=e=>{if(void 0===o){const t=void 0!==e.style.webkitAnimationName;o=void 0===e.style.animationName&&t?"-webkit-":""}return o},s=(e,t,n)=>{const r=t.startsWith("animation")?i(e):"";e.style.setProperty(r+t,n)},a=(e,t)=>{const n=t.startsWith("animation")?i(e):"";e.style.removeProperty(n+t)},l=[],c=(e=[],t)=>{if(void 0!==t){const n=Array.isArray(t)?t:[t];return[...e,...n]}return e},u=e=>{let t,n,o,u,d,h,f,p,m,g,b,y,v,_=[],w=[],C=[],S=!1,E={},x=[],O=[],T={},k=0,A=!1,I=!1,j=!0,$=!1,N=!0;const R=e,P=[],D=[],L=[],M=[],V=[],F=[],U=[],H=[],z=[],B=[],q="function"==typeof AnimationEffect||"function"==typeof window.AnimationEffect,G="function"==typeof Element&&"function"==typeof Element.prototype.animate&&q,W=(e,t)=>((t&&t.oneTimeCallback?D:P).push({c:e,o:t}),v),J=()=>{if(G)B.forEach(e=>{e.cancel()}),B.length=0;else{const e=L.slice();Object(r.l)(()=>{e.forEach(e=>{a(e,"animation-name"),a(e,"animation-duration"),a(e,"animation-timing-function"),a(e,"animation-iteration-count"),a(e,"animation-delay"),a(e,"animation-play-state"),a(e,"animation-fill-mode"),a(e,"animation-direction")})})}},X=()=>{V.forEach(e=>{e&&e.parentNode&&e.parentNode.removeChild(e)}),V.length=0},Q=()=>void 0!==d?d:f?f.getFill():"both",Z=()=>void 0!==m?m:void 0!==h?h:f?f.getDirection():"normal",K=()=>A?"linear":void 0!==o?o:f?f.getEasing():"linear",Y=()=>I?0:void 0!==g?g:void 0!==n?n:f?f.getDuration():0,ee=()=>void 0!==u?u:f?f.getIterations():1,te=()=>void 0!==b?b:void 0!==t?t:f?f.getDelay():0,ne=()=>{0!==k&&(k--,0===k&&((()=>{ue(),H.forEach(e=>e()),z.forEach(e=>e());const e=j?1:0,t=x,n=O,r=T;L.forEach(e=>{const o=e.classList;t.forEach(e=>o.add(e)),n.forEach(e=>o.remove(e));for(const t in r)r.hasOwnProperty(t)&&s(e,t,r[t])}),P.forEach(t=>t.c(e,v)),D.forEach(t=>t.c(e,v)),D.length=0,N=!0,j&&($=!0),j=!0})(),f&&f.animationFinish()))},re=(t=!0)=>{(()=>{F.forEach(e=>e()),U.forEach(e=>e());const e=w,t=C,n=E;L.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)&&s(r,e,n[e])})})(),_.length>0&&(G?(L.forEach(e=>{const t=e.animate(_,{id:R,delay:te(),duration:Y(),easing:K(),iterations:ee(),fill:Q(),direction:Z()});t.pause(),B.push(t)}),B.length>0&&(B[0].onfinish=()=>{ne()})):((t=!0)=>{X();const n=((o=_).forEach(e=>{for(const t in e)if(e.hasOwnProperty(t)){const n=e[t];if("easing"===t)e["animation-timing-function"]=n,delete e[t];else{const r=t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();r!==t&&(e[r]=n,delete e[t])}}}),o);var o;L.forEach(o=>{if(n.length>0){const a=((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(" "))(n);y=void 0!==e?e:(e=>{let t=l.indexOf(e);return t<0&&(t=l.push(e)-1),`ion-animation-${t}`})(a);const c=((e,t,n)=>{const r=(e=>{const t=e.getRootNode();return t.head||t})(n),o=i(n),s=r.querySelector("#"+e);if(s)return s;const a=(n.ownerDocument||document).createElement("style");return a.id=e,a.textContent=`@${o}keyframes ${e} { ${t} } @${o}keyframes ${e}-alt { ${t} }`,r.appendChild(a),a})(y,a,o);V.push(c),s(o,"animation-duration",`${Y()}ms`),s(o,"animation-timing-function",K()),s(o,"animation-delay",`${te()}ms`),s(o,"animation-fill-mode",Q()),s(o,"animation-direction",Z());const u=ee()===1/0?"infinite":ee().toString();s(o,"animation-iteration-count",u),s(o,"animation-play-state","paused"),t&&s(o,"animation-name",`${c.id}-alt`),Object(r.l)(()=>{s(o,"animation-name",c.id||null)})}})})(t)),S=!0},oe=e=>{if(e=Math.min(Math.max(e,0),.9999),G)B.forEach(t=>{t.currentTime=t.effect.getComputedTiming().delay+Y()*e,t.pause()});else{const t=`-${Y()*e}ms`;L.forEach(e=>{_.length>0&&(s(e,"animation-delay",t),s(e,"animation-play-state","paused"))})}},ie=e=>{B.forEach(e=>{e.effect.updateTiming({delay:te(),duration:Y(),easing:K(),iterations:ee(),fill:Q(),direction:Z()})}),void 0!==e&&oe(e)},se=(e=!0,t)=>{Object(r.l)(()=>{L.forEach(n=>{s(n,"animation-name",y||null),s(n,"animation-duration",`${Y()}ms`),s(n,"animation-timing-function",K()),s(n,"animation-delay",void 0!==t?`-${t*Y()}ms`:`${te()}ms`),s(n,"animation-fill-mode",Q()||null),s(n,"animation-direction",Z()||null);const o=ee()===1/0?"infinite":ee().toString();s(n,"animation-iteration-count",o),e&&s(n,"animation-name",`${y}-alt`),Object(r.l)(()=>{s(n,"animation-name",y||null)})})})},ae=(e=!1,t=!0,n)=>(e&&M.forEach(r=>{r.update(e,t,n)}),G?ie(n):se(t,n),v),le=()=>{S&&(G?B.forEach(e=>{e.pause()}):L.forEach(e=>{s(e,"animation-play-state","paused")}))},ce=()=>{p=void 0,ne()},ue=()=>{p&&clearTimeout(p)},de=e=>new Promise(t=>{e&&e.sync&&(I=!0,W(()=>I=!1,{oneTimeCallback:!0})),S||re(),$&&(G?(oe(0),ie()):se(),$=!1),N&&(k=M.length+1,N=!1),W(()=>t(),{oneTimeCallback:!0}),M.forEach(e=>{e.play()}),G?(B.forEach(e=>{e.play()}),0!==_.length&&0!==L.length||ne()):(()=>{if(ue(),Object(r.l)(()=>{L.forEach(e=>{_.length>0&&s(e,"animation-play-state","running")})}),0===_.length||0===L.length)ne();else{const e=te()||0,t=Y()||0,n=ee()||1;isFinite(n)&&(p=setTimeout(ce,e+t*n+100)),((e,t)=>{let n;const o={passive:!0},i=t=>{e===t.target&&(n&&n(),ue(),Object(r.l)(()=>{L.forEach(e=>{a(e,"animation-duration"),a(e,"animation-delay"),a(e,"animation-play-state")}),Object(r.l)(ne)}))};e&&(e.addEventListener("webkitAnimationEnd",i,o),e.addEventListener("animationend",i,o),n=()=>{e.removeEventListener("webkitAnimationEnd",i,o),e.removeEventListener("animationend",i,o)})})(L[0])}})()}),he=(e,t)=>{const n=_[0];return void 0===n||void 0!==n.offset&&0!==n.offset?_=[{offset:0,[e]:t},..._]:n[e]=t,v};return v={parentAnimation:f,elements:L,childAnimations:M,id:R,animationFinish:ne,from:he,to:(e,t)=>{const n=_[_.length-1];return void 0===n||void 0!==n.offset&&1!==n.offset?_=[..._,{offset:1,[e]:t}]:n[e]=t,v},fromTo:(e,t,n)=>he(e,t).to(e,n),parent:e=>(f=e,v),play:de,pause:()=>(M.forEach(e=>{e.pause()}),le(),v),stop:()=>{M.forEach(e=>{e.stop()}),S&&(J(),S=!1),A=!1,I=!1,N=!0,m=void 0,g=void 0,b=void 0,k=0,$=!1,j=!0},destroy:e=>(M.forEach(t=>{t.destroy(e)}),(e=>{J(),e&&X()})(e),L.length=0,M.length=0,_.length=0,P.length=0,D.length=0,S=!1,N=!0,v),keyframes:e=>(_=e,v),addAnimation:e=>{if(null!=e)if(Array.isArray(e))for(const t of e)t.parent(v),M.push(t);else e.parent(v),M.push(e);return v},addElement:e=>{if(null!=e)if(1===e.nodeType)L.push(e);else if(e.length>=0)for(let t=0;t(d=e,ae(!0),v),direction:e=>(h=e,ae(!0),v),iterations:e=>(u=e,ae(!0),v),duration:e=>(G||0!==e||(e=1),n=e,ae(!0),v),easing:e=>(o=e,ae(!0),v),delay:e=>(t=e,ae(!0),v),getWebAnimations:()=>B,getKeyframes:()=>_,getFill:Q,getDirection:Z,getDelay:te,getIterations:ee,getEasing:K,getDuration:Y,afterAddRead:e=>(H.push(e),v),afterAddWrite:e=>(z.push(e),v),afterClearStyles:(e=[])=>{for(const t of e)T[t]="";return v},afterStyles:(e={})=>(T=e,v),afterRemoveClass:e=>(O=c(O,e),v),afterAddClass:e=>(x=c(x,e),v),beforeAddRead:e=>(F.push(e),v),beforeAddWrite:e=>(U.push(e),v),beforeClearStyles:(e=[])=>{for(const t of e)E[t]="";return v},beforeStyles:(e={})=>(E=e,v),beforeRemoveClass:e=>(C=c(C,e),v),beforeAddClass:e=>(w=c(w,e),v),onFinish:W,progressStart:(e=!1,t)=>(M.forEach(n=>{n.progressStart(e,t)}),le(),A=e,S?ae(!1,!0,t):re(),v),progressStep:e=>(M.forEach(t=>{t.progressStep(e)}),oe(e),v),progressEnd:(e,t,n)=>(A=!1,M.forEach(r=>{r.progressEnd(e,t,n)}),void 0!==n&&(g=n),$=!1,j=!0,0===e?(m="reverse"===Z()?"normal":"reverse","reverse"===m&&(j=!1),G?(ae(),oe(1-t)):(b=(1-t)*Y()*-1,ae(!1,!1))):1===e&&(G?(ae(),oe(t)):(b=t*Y()*-1,ae(!1,!1))),void 0!==e&&(W(()=>{g=void 0,m=void 0,b=void 0},{oneTimeCallback:!0}),f||de()),v)}}},"6miK":function(e,t,n){"use strict";n.r(t),n.d(t,"mdTransitionAnimation",(function(){return i})),n("+9FH"),n("gHap");var r=n("6EEC"),o=n("qUHY");const i=(e,t)=>{const n="back"===t.direction,i=t.enteringEl,s=t.leavingEl,a=Object(o.g)(i),l=a.querySelector("ion-toolbar"),c=Object(r.a)();if(c.addElement(a).fill("both").beforeRemoveClass("ion-page-invisible"),n?c.duration(t.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):c.duration(t.duration||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(40px)","translateY(0px)").fromTo("opacity",.01,1),l){const e=Object(r.a)();e.addElement(l),c.addAnimation(e)}if(s&&n){c.duration(t.duration||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const e=Object(r.a)();e.addElement(Object(o.g)(s)).onFinish(t=>{1===t&&e.elements.length>0&&e.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)","translateY(40px)").fromTo("opacity",1,0),c.addAnimation(e)}return c}},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("n6bG"),o=n("gRHU"),i=n("quSY"),s=n("2QA8"),a=n("2fFW"),l=n("NJ4a");class c extends i.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=o.a;break;case 1:if(!e){this.destination=o.a;break}if("object"==typeof e){e instanceof c?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,e,t,n)}}[s.a](){return this}static create(e,t,n){const r=new c(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 u extends c{constructor(e,t,n,i){let s;super(),this._parentSubscriber=e;let a=this;Object(r.a)(t)?s=t:t&&(s=t.next,n=t.error,i=t.complete,t!==o.a&&(a=Object.create(t),Object(r.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=s,this._error=n,this._complete=i}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.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}=a.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);a.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(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(e,t,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return a.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()}}},"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})()},"AU+g":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("ntsc"),o=n("6EEC"),i=n("x/Nk");const s=e=>Object(o.a)().duration(e?400:300),a=e=>{let t,n;const i=e.width+8,a=Object(o.a)(),l=Object(o.a)();e.isEndSide?(t=i+"px",n="0px"):(t=-i+"px",n="0px"),a.addElement(e.menuInnerEl).fromTo("transform",`translateX(${t})`,`translateX(${n})`);const c="ios"===Object(r.b)(e),u=c?.2:.25;return l.addElement(e.backdropEl).fromTo("opacity",.01,u),s(c).addAnimation([a,l])},l=e=>{let t,n;const i=Object(r.b)(e),a=e.width;e.isEndSide?(t=-a+"px",n=a+"px"):(t=a+"px",n=-a+"px");const l=Object(o.a)().addElement(e.menuInnerEl).fromTo("transform",`translateX(${n})`,"translateX(0px)"),c=Object(o.a)().addElement(e.contentEl).fromTo("transform","translateX(0px)",`translateX(${t})`),u=Object(o.a)().addElement(e.backdropEl).fromTo("opacity",.01,.32);return s("ios"===i).addAnimation([l,c,u])},c=e=>{const t=Object(r.b)(e),n=e.width*(e.isEndSide?-1:1)+"px",i=Object(o.a)().addElement(e.contentEl).fromTo("transform","translateX(0px)",`translateX(${n})`);return s("ios"===t).addAnimation(i)},u=(()=>{const e=new Map,t=[],n=async e=>(await f(),"start"===e||"end"===e?h(t=>t.side===e&&!t.disabled)||h(t=>t.side===e):null!=e?h(t=>t.menuId===e):h(e=>!e.disabled)||(t.length>0?t[0].el:void 0)),r=async()=>(await f(),u()),o=(t,n)=>{e.set(t,n)},s=e=>{const n=e.side;t.filter(t=>t.side===n&&t!==e).forEach(e=>e.disabled=!0)},u=()=>h(e=>e._isOpen),d=()=>t.some(e=>e.isAnimating),h=e=>{const n=t.find(e);if(void 0!==n)return n.el},f=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(e=>e.componentOnReady()));return o("reveal",c),o("push",l),o("overlay",a),"undefined"!=typeof document&&document.addEventListener("ionBackButton",e=>{const t=u();t&&e.detail.register(i.MENU_BACK_BUTTON_PRIORITY,()=>t.close())}),{registerAnimation:o,get:n,getMenus:async()=>(await f(),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 f(),d()),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||s(e),t.push(e))},_unregister:e=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},_setOpen:async(e,t,n)=>{if(d())return!1;if(t){const t=await r();t&&e.el!==t&&await t.setOpen(!1,!1)}return e._setOpen(t,n)},_setActiveMenu:s}})()},C6fG:function(e,t,n){"use strict";var r=n("OE48"),o=n("EKAo");n.d(t,"IonicNativePlugin",(function(){return o.a})),n("yR3O");var i=n("QMYr");n.d(t,"cordova",(function(){return i.a})),n("aJZl"),n("gGGD");var s=n("O2kO");n.d(t,"cordovaPropertyGet",(function(){return s.a})),n.d(t,"cordovaPropertySet",(function(){return s.b})),n("HD7q"),n("uC2i"),Object(r.a)()},Cfvw:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n("HDdC"),o=n("SeVD"),i=n("quSY"),s=n("kJWO"),a=n("jZKg"),l=n("Lhse"),c=n("c2HN"),u=n("I55L");function d(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[s.a]}(e))return function(e,t){return new r.a(n=>{const r=new i.a;return r.add(t.schedule(()=>{const o=e[s.a]();r.add(o.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(c.a)(e))return function(e,t){return new r.a(n=>{const r=new i.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(u.a)(e))return Object(a.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 i.a;let o;return r.add(()=>{o&&"function"==typeof o.return&&o.return()}),r.add(t.schedule(()=>{o=e[l.a](),r.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=o.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(o.a)(e))}},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},EKAo:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("yR3O"),o=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,o=0;oe.complete());function i(e){return e?function(e){return new r.a(t=>e.schedule(()=>t.complete()))}(e):o}},GyhO:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("LRne"),o=n("0EUg");function i(...e){return Object(o.a)()(Object(r.a)(...e))}},HD7q:function(e,t,n){},HDdC:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("7o/Q"),o=n("2QA8"),i=n("gRHU"),s=n("kJWO"),a=n("mCNh"),l=n("2fFW");let c=(()=>{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:s}=this,a=function(e,t,n){if(e){if(e instanceof r.a)return e;if(e[o.a])return e[o.a]()}return e||t||n?new r.a(e,t,n):new r.a(i.a)}(e,t,n);if(a.add(s?s.call(a,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),l.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_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:o}=e;if(t||o)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=u(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(o){n(o),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[s.a](){return this}pipe(...e){return 0===e.length?this:Object(a.b)(e)(this)}toPromise(e){return new(e=u(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function u(e){if(e||(e=l.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},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},IzEk:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("7o/Q"),o=n("4I5i"),i=n("EY2u");function s(e){return t=>0===e?Object(i.b)():t.lift(new a(e))}class a{constructor(e){if(this.total=e,this.total<0)throw new o.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()))}}},LRne:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("z+Ro"),o=n("yCtX"),i=n("jZKg");function s(...e){let t=e[e.length-1];return Object(r.a)(t)?(e.pop(),Object(i.a)(e,t)):Object(o.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 o}));const o=r()},MTcp:function(e,t,n){"use strict";n("+9FH");var r=n("ntsc");n.d(t,"j",(function(){return r.d})),n.d(t,"l",(function(){return r.e})),n("PmLa"),n("gHap");var o=n("6EEC");n.d(t,"h",(function(){return o.a}));var i=n("qUHY");n.d(t,"a",(function(){return i.b})),n.d(t,"b",(function(){return i.d})),n.d(t,"c",(function(){return i.a})),n.d(t,"d",(function(){return i.c})),n.d(t,"e",(function(){return i.e})),n("S/5h"),n("6miK");var s=n("PLvT");n.d(t,"k",(function(){return s.a}));var a=n("oDRl");n.d(t,"i",(function(){return a.createGesture})),n("PQ8F"),n("x/Nk");var l=n("AU+g");n.d(t,"n",(function(){return l.a}));var c=n("av0h");n.d(t,"f",(function(){return c.c})),n.d(t,"g",(function(){return c.b})),n.d(t,"m",(function(){return c.k})),n.d(t,"o",(function(){return c.l})),n.d(t,"p",(function(){return c.m})),n.d(t,"q",(function(){return c.d})),n.d(t,"r",(function(){return c.o}))},NJ4a:function(e,t,n){"use strict";function r(e){setTimeout(()=>{throw e},0)}n.d(t,"a",(function(){return r}))},NXyV:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("HDdC"),o=n("Cfvw"),i=n("EY2u");function s(e){return new r.a(t=>{let n;try{n=e()}catch(r){return void t.error(r)}return(n?Object(o.a)(n):Object(i.b)()).subscribe(t)})}},O2kO:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n("yR3O");function o(e,t){return!0===Object(r.a)(e,t)?Object(r.b)(e.constructor.getPluginRef())[t]:null}function i(e,t,n){!0===Object(r.a)(e,t)&&(Object(r.b)(e.constructor.getPluginRef())[t]=n)}},OE48: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}))},PLvT:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=(e,t,n,r,s)=>i(e[1],t[1],n[1],r[1],s).map(i=>o(e[0],t[0],n[0],r[0],i)),o=(e,t,n,r,o)=>o*(3*t*Math.pow(o-1,2)+o*(-3*n*o+3*n+r*o))-e*Math.pow(o-1,3),i=(e,t,n,r,o)=>s((r-=o)-3*(n-=o)+3*(t-=o)-(e-=o),3*n-6*t+3*e,3*t-3*e,e).filter(e=>e>=0&&e<=1),s=(e,t,n,r)=>{if(0===e)return((e,t,n)=>{const r=t*t-4*e*n;return r<0?[]:[(-t+Math.sqrt(r))/(2*e),(-t-Math.sqrt(r))/(2*e)]})(t,n,r);const o=(3*(n/=e)-(t/=e)*t)/3,i=(2*t*t*t-9*t*n+27*(r/=e))/27;if(0===o)return[Math.pow(-i,1/3)];if(0===i)return[Math.sqrt(-o),-Math.sqrt(-o)];const s=Math.pow(i/2,2)+Math.pow(o/3,3);if(0===s)return[Math.pow(i/2,.5)-t/3];if(s>0)return[Math.pow(-i/2+Math.sqrt(s),1/3)-Math.pow(i/2+Math.sqrt(s),1/3)-t/3];const a=Math.sqrt(Math.pow(-o/3,3)),l=Math.acos(-i/(2*Math.sqrt(Math.pow(-o/3,3)))),c=2*Math.pow(a,1/3);return[c*Math.cos(l/3)-t/3,c*Math.cos((l+2*Math.PI)/3)-t/3,c*Math.cos((l+4*Math.PI)/3)-t/3]}},PQ8F:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const r=e=>{try{if(e instanceof class{constructor(e){this.value=e}})return e.value;if(!s()||"string"!=typeof e||""===e)return e;const t=document.createDocumentFragment(),n=document.createElement("div");t.appendChild(n),n.innerHTML=e,l.forEach(e=>{const n=t.querySelectorAll(e);for(let r=n.length-1;r>=0;r--){const e=n[r];e.parentNode?e.parentNode.removeChild(e):t.removeChild(e);const s=i(e);for(let t=0;t{if(e.nodeType&&1!==e.nodeType)return;for(let n=e.attributes.length-1;n>=0;n--){const t=e.attributes.item(n),r=t.name;if(!a.includes(r.toLowerCase())){e.removeAttribute(r);continue}const o=t.value;null!=o&&o.toLowerCase().includes("javascript:")&&e.removeAttribute(r)}const t=i(e);for(let n=0;nnull!=e.children?e.children:e.childNodes,s=()=>{const e=window,t=e&&e.Ionic&&e.Ionic.config;return!t||(t.get?t.get("sanitizerEnabled",!0):!0===t.sanitizerEnabled||void 0===t.sanitizerEnabled)},a=["class","id","href","src","name","slot"],l=["script","style","iframe","meta","link","object","embed"]},PmLa:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return u}));var r=n("+9FH");let o;const i=e=>{let t=l(e.src);if(t)return t;if(t=a(e.name,e.icon,e.mode,e.ios,e.md),t)return s(t);if(e.icon){if(t=l(e.icon),t)return t;if(t=l(e.icon[e.mode]),t)return t}return null},s=e=>(()=>{if("undefined"==typeof window)return new Map;if(!o){const e=window;e.Ionicons=e.Ionicons||{},o=e.Ionicons.map=e.Ionicons.map||new Map}return o})().get(e)||Object(r.e)(`svg/${e}.svg`),a=(e,t,n,r,o)=>(n="ios"===(n&&d(n))?"ios":"md",r&&"ios"===n?e=d(r):o&&"md"===n?e=d(o):(e||!t||c(t)||(e=t),u(e)&&(e=d(e))),u(e)&&""!==e.trim()?""!==e.replace(/[a-z]|-|\d/gi,"")?null:e:null),l=e=>u(e)&&(e=e.trim(),c(e))?e:null,c=e=>e.length>0&&/(\/|\.)/.test(e),u=e=>"string"==typeof e,d=e=>e.toLowerCase()},QMYr:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("yR3O");function o(e,t,n,o){return Object(r.c)(e,t,n).apply(this,o)}},"S/5h":function(e,t,n){"use strict";n.r(t),n.d(t,"iosTransitionAnimation",(function(){return d})),n.d(t,"shadow",(function(){return s})),n("+9FH"),n("gHap");var r=n("6EEC"),o=n("qUHY");const i=e=>document.querySelector(`${e}.ion-cloned-element`),s=e=>e.shadowRoot||e,a=e=>{const t="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs"),n="ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=t){const e=t.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=e?e.querySelector(n):null}return e.querySelector(n)},l=(e,t)=>{const n="ION-TABS"===e.tagName?e:e.querySelector("ion-tabs");let r=[];if(null!=n){const e=n.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=e&&(r=e.querySelectorAll("ion-buttons"))}else r=e.querySelectorAll("ion-buttons");for(const o of r){const e=o.closest("ion-header"),n=e&&!e.classList.contains("header-collapse-condense-inactive"),r=o.querySelector("ion-back-button"),i=o.classList.contains("buttons-collapse"),s="start"===o.slot||""===o.slot;if(null!==r&&s&&(i&&n&&t||!i))return r}return null},c=(e,t,n,o,a,l)=>{const c=t?`calc(100% - ${l.right+4}px)`:`${l.left-4}px`,u=t?"7px":"-7px",d=t?"-4px":"4px",h=t?"-4px":"4px",f=t?"right":"left",p=t?"left":"right",m=n?[{offset:0,opacity:1,transform:`translate3d(${d}, ${l.top-46}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${u}, ${a.top-40}px, 0) scale(2.1)`}]:[{offset:0,opacity:0,transform:`translate3d(${u}, ${a.top-40}px, 0) scale(2.1)`},{offset:1,opacity:1,transform:`translate3d(${d}, ${l.top-46}px, 0) scale(1)`}],g=n?[{offset:0,opacity:1,transform:`translate3d(${h}, ${l.top-46}px, 0) scale(1)`},{offset:.2,opacity:0,transform:`translate3d(${h}, ${l.top-41}px, 0) scale(0.6)`},{offset:1,opacity:0,transform:`translate3d(${h}, ${l.top-41}px, 0) scale(0.6)`}]:[{offset:0,opacity:0,transform:`translate3d(${h}, ${l.top-41}px, 0) scale(0.6)`},{offset:1,opacity:1,transform:`translate3d(${h}, ${l.top-46}px, 0) scale(1)`}],b=Object(r.a)(),y=Object(r.a)(),v=i("ion-back-button"),_=s(v).querySelector(".button-text"),w=s(v).querySelector("ion-icon");v.text=o.text,v.mode=o.mode,v.icon=o.icon,v.color=o.color,v.disabled=o.disabled,v.style.setProperty("display","block"),v.style.setProperty("position","fixed"),y.addElement(w),b.addElement(_),b.beforeStyles({"transform-origin":`${f} center`}).beforeAddWrite(()=>{o.style.setProperty("display","none"),v.style.setProperty(f,c)}).afterAddWrite(()=>{o.style.setProperty("display",""),v.style.setProperty("display","none"),v.style.removeProperty(f)}).keyframes(m),y.beforeStyles({"transform-origin":`${p} center`}).keyframes(g),e.addAnimation([b,y])},u=(e,t,n,o,s,a)=>{const l=t?`calc(100% - ${s.right}px)`:`${s.left}px`,c=t?"-18px":"18px",u=t?"right":"left",d=n?[{offset:0,opacity:0,transform:`translate3d(${c}, ${a.top-4}px, 0) scale(0.49)`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0, ${s.top-2}px, 0) scale(1)`}]:[{offset:0,opacity:.99,transform:`translate3d(0, ${s.top-2}px, 0) scale(1)`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${c}, ${a.top-4}px, 0) scale(0.5)`}],h=i("ion-title"),f=Object(r.a)();h.innerText=o.innerText,h.size=o.size,h.color=o.color,f.addElement(h),f.beforeStyles({"transform-origin":`${u} center`,height:"46px",display:"",position:"relative",[u]:l}).beforeAddWrite(()=>{o.style.setProperty("display","none")}).afterAddWrite(()=>{o.style.setProperty("display",""),h.style.setProperty("display","none")}).keyframes(d),e.addAnimation(f)},d=(e,t)=>{try{const n="cubic-bezier(0.32,0.72,0,1)",i="opacity",d="transform",h="0%",f=.8,p="rtl"===e.ownerDocument.dir,m=p?"-99.5%":"99.5%",g=p?"33%":"-33%",b=t.enteringEl,y=t.leavingEl,v="back"===t.direction,_=b.querySelector(":scope > ion-content"),w=b.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),C=b.querySelectorAll(":scope > ion-header > ion-toolbar"),S=Object(r.a)(),E=Object(r.a)();if(S.addElement(b).duration(t.duration||540).easing(t.easing||n).fill("both").beforeRemoveClass("ion-page-invisible"),y&&e){const t=Object(r.a)();t.addElement(e),S.addAnimation(t)}if(_||0!==C.length||0!==w.length?(E.addElement(_),E.addElement(w)):E.addElement(b.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),S.addAnimation(E),v?E.beforeClearStyles([i]).fromTo("transform",`translateX(${g})`,`translateX(${h})`).fromTo(i,f,1):E.beforeClearStyles([i]).fromTo("transform",`translateX(${m})`,`translateX(${h})`),_){const e=s(_).querySelector(".transition-effect");if(e){const t=e.querySelector(".transition-cover"),n=e.querySelector(".transition-shadow"),o=Object(r.a)(),s=Object(r.a)(),a=Object(r.a)();o.addElement(e).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),s.addElement(t).beforeClearStyles([i]).fromTo(i,0,.1),a.addElement(n).beforeClearStyles([i]).fromTo(i,.03,.7),o.addAnimation([s,a]),E.addAnimation([o])}}const x=b.querySelector("ion-header.header-collapse-condense"),{forward:O,backward:T}=((e,t,n,r,o)=>{const i=l(r,n),s=a(o),d=a(r),h=l(o,n),f=null!==i&&null!==s&&!n,p=null!==d&&null!==h&&n;if(f){const r=s.getBoundingClientRect(),o=i.getBoundingClientRect();u(e,t,n,s,r,o),c(e,t,n,i,r,o)}else if(p){const r=d.getBoundingClientRect(),o=h.getBoundingClientRect();u(e,t,n,d,r,o),c(e,t,n,h,r,o)}return{forward:f,backward:p}})(S,p,v,b,y);if(C.forEach(e=>{const t=Object(r.a)();t.addElement(e),S.addAnimation(t);const n=Object(r.a)();n.addElement(e.querySelector("ion-title"));const o=Object(r.a)(),a=Array.from(e.querySelectorAll("ion-buttons,[menuToggle]")),l=e.closest("ion-header"),c=l&&l.classList.contains("header-collapse-condense-inactive");let u;u=a.filter(v?e=>{const t=e.classList.contains("buttons-collapse");return t&&!c||!t}:e=>!e.classList.contains("buttons-collapse")),o.addElement(u);const d=Object(r.a)();d.addElement(e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const f=Object(r.a)();f.addElement(s(e).querySelector(".toolbar-background"));const b=Object(r.a)(),y=e.querySelector("ion-back-button");if(y&&b.addElement(y),t.addAnimation([n,o,d,f,b]),o.fromTo(i,.01,1),d.fromTo(i,.01,1),v)c||n.fromTo("transform",`translateX(${g})`,`translateX(${h})`).fromTo(i,.01,1),d.fromTo("transform",`translateX(${g})`,`translateX(${h})`),b.fromTo(i,.01,1);else if(x||n.fromTo("transform",`translateX(${m})`,`translateX(${h})`).fromTo(i,.01,1),d.fromTo("transform",`translateX(${m})`,`translateX(${h})`),f.beforeClearStyles([i,"transform"]),(null==l?void 0:l.translucent)?f.fromTo("transform",p?"translateX(-100%)":"translateX(100%)","translateX(0px)"):f.fromTo(i,.01,1),O||b.fromTo(i,.01,1),y&&!O){const e=Object(r.a)();e.addElement(s(y).querySelector(".button-text")).fromTo("transform",p?"translateX(-100px)":"translateX(100px)","translateX(0px)"),t.addAnimation(e)}}),y){const e=Object(r.a)(),t=y.querySelector(":scope > ion-content"),n=y.querySelectorAll(":scope > ion-header > ion-toolbar"),a=y.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(t||0!==n.length||0!==a.length?(e.addElement(t),e.addElement(a)):e.addElement(y.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),S.addAnimation(e),v){e.beforeClearStyles([i]).fromTo("transform",`translateX(${h})`,p?"translateX(-100%)":"translateX(100%)");const t=Object(o.g)(y);S.afterAddWrite(()=>{"normal"===S.getDirection()&&t.style.setProperty("display","none")})}else e.fromTo("transform",`translateX(${h})`,`translateX(${g})`).fromTo(i,1,f);if(t){const n=s(t).querySelector(".transition-effect");if(n){const t=n.querySelector(".transition-cover"),o=n.querySelector(".transition-shadow"),s=Object(r.a)(),a=Object(r.a)(),l=Object(r.a)();s.addElement(n).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),a.addElement(t).beforeClearStyles([i]).fromTo(i,.1,0),l.addElement(o).beforeClearStyles([i]).fromTo(i,.7,.03),s.addAnimation([a,l]),e.addAnimation([s])}}n.forEach(e=>{const t=Object(r.a)();t.addElement(e);const n=Object(r.a)();n.addElement(e.querySelector("ion-title"));const o=Object(r.a)(),a=e.querySelectorAll("ion-buttons,[menuToggle]"),l=e.closest("ion-header"),c=l&&l.classList.contains("header-collapse-condense-inactive"),u=Array.from(a).filter(e=>{const t=e.classList.contains("buttons-collapse");return t&&!c||!t});o.addElement(u);const f=Object(r.a)(),m=e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");m.length>0&&f.addElement(m);const b=Object(r.a)();b.addElement(s(e).querySelector(".toolbar-background"));const y=Object(r.a)(),_=e.querySelector("ion-back-button");if(_&&y.addElement(_),t.addAnimation([n,o,f,y,b]),S.addAnimation(t),y.fromTo(i,.99,0),o.fromTo(i,.99,0),f.fromTo(i,.99,0),v){if(c||n.fromTo("transform",`translateX(${h})`,p?"translateX(-100%)":"translateX(100%)").fromTo(i,.99,0),f.fromTo("transform",`translateX(${h})`,p?"translateX(-100%)":"translateX(100%)"),b.beforeClearStyles([i,"transform"]),(null==l?void 0:l.translucent)?b.fromTo("transform","translateX(0px)",p?"translateX(-100%)":"translateX(100%)"):b.fromTo(i,.99,0),_&&!T){const e=Object(r.a)();e.addElement(s(_).querySelector(".button-text")).fromTo("transform",`translateX(${h})`,`translateX(${(p?-124:124)+"px"})`),t.addAnimation(e)}}else c||n.fromTo("transform",`translateX(${h})`,`translateX(${g})`).fromTo(i,.99,0).afterClearStyles([d,i]),f.fromTo("transform",`translateX(${h})`,`translateX(${g})`).afterClearStyles([d,i]),y.afterClearStyles([i]),n.afterClearStyles([i]),o.afterClearStyles([i])})}return S}catch(n){throw n}}},SeVD:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("ngJS"),o=n("NJ4a"),i=n("Lhse"),s=n("kJWO"),a=n("I55L"),l=n("c2HN"),c=n("XoHu");const u=e=>{if(e&&"function"==typeof e[s.a])return u=e,e=>{const t=u[s.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.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,o.a),e);if(e&&"function"==typeof e[i.a])return t=e,e=>{const n=t[i.a]();for(;;){const t=n.next();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(c.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,u}},SpAZ:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},"TEn/":function(e,t,n){"use strict";n.d(t,"a",(function(){return Te})),n.d(t,"b",(function(){return T})),n.d(t,"c",(function(){return z})),n.d(t,"d",(function(){return B})),n.d(t,"e",(function(){return q})),n.d(t,"f",(function(){return G})),n.d(t,"g",(function(){return W})),n.d(t,"h",(function(){return J})),n.d(t,"i",(function(){return X})),n.d(t,"j",(function(){return Q})),n.d(t,"k",(function(){return Z})),n.d(t,"l",(function(){return K})),n.d(t,"m",(function(){return Y})),n.d(t,"n",(function(){return Ee})),n.d(t,"o",(function(){return ee})),n.d(t,"p",(function(){return te})),n.d(t,"q",(function(){return ne})),n.d(t,"r",(function(){return re})),n.d(t,"s",(function(){return Pe})),n.d(t,"t",(function(){return je})),n.d(t,"u",(function(){return ke})),n.d(t,"v",(function(){return $})),n.d(t,"w",(function(){return A})),n.d(t,"x",(function(){return j}));var r=n("mrSG"),o=n("fXoL"),i=n("3Pt+"),s=n("ofXK"),a=n("tyNb"),l=n("MTcp"),c=n("XNiG"),u=n("xgIS"),d=n("2Vo4"),h=n("pLZG"),f=n("eIep"),p=n("7o/Q");class m{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new g(e,this.compare,this.keySelector))}}class g extends p.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))}}var b=n("+9FH");const y=n("ntsc").a,v=["*"],_=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e);let w=(()=>{class e{constructor(e){this.el=e,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(e){this.el.nativeElement.value=this.lastValue=null==e?"":e,C(this.el)}handleChangeEvent(e,t){e===this.el.nativeElement&&(t!==this.lastValue&&(this.lastValue=t,this.onChange(t)),C(this.el))}_handleBlurEvent(e){e===this.el.nativeElement&&(this.onTouched(),C(this.el))}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.el.nativeElement.disabled=e}}return e.\u0275fac=function(e){o.Tb()},e.\u0275dir=o.Eb({type:e,hostBindings:function(e,t){1&e&&o.Ub("ionBlur",(function(e){return t._handleBlurEvent(e.target)}))}}),e})();const C=e=>{_(()=>{const t=e.nativeElement,n=S(t);E(t,n);const r=t.closest("ion-item");r&&E(r,n)})},S=e=>{const t=e.classList,n=[];for(let r=0;r{const n=e.classList;["ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"].forEach(e=>n.remove(e)),t.forEach(e=>n.add(e))},x=(e,t)=>e.substr(0,t.length)===t;var O;let T=(()=>{let e=O=class extends w{constructor(e){super(e)}writeValue(e){this.el.nativeElement.checked=this.lastValue=null!=e&&e,C(this.el)}_handleIonChange(e){this.handleChangeEvent(e,e.checked)}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.l))},e.\u0275dir=o.Eb({type:e,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(e,t){1&e&&o.Ub("ionChange",(function(e){return t._handleIonChange(e.target)}))},features:[o.yb([{provide:i.e,useExisting:O,multi:!0}]),o.wb]}),e})();var k;let A=(()=>{let e=k=class extends w{constructor(e){super(e)}_handleChangeEvent(e){this.handleChangeEvent(e,e.value)}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.l))},e.\u0275dir=o.Eb({type:e,selectors:[["ion-range"],["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(e,t){1&e&&o.Ub("ionChange",(function(e){return t._handleChangeEvent(e.target)}))},features:[o.yb([{provide:i.e,useExisting:k,multi:!0}]),o.wb]}),e})();var I;let j=(()=>{let e=I=class extends w{constructor(e){super(e)}_handleInputEvent(e){this.handleChangeEvent(e,e.value)}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.l))},e.\u0275dir=o.Eb({type:e,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"]],hostBindings:function(e,t){1&e&&o.Ub("ionChange",(function(e){return t._handleInputEvent(e.target)}))},features:[o.yb([{provide:i.e,useExisting:I,multi:!0}]),o.wb]}),e})(),$=(()=>{let e=class{constructor(e,t){this.doc=e,this.backButton=new c.a,this.keyboardDidShow=new c.a,this.keyboardDidHide=new c.a,this.pause=new c.a,this.resume=new c.a,this.resize=new c.a,t.run(()=>{let n;this.win=e.defaultView,this.backButton.subscribeWithPriority=function(e,n){return this.subscribe(r=>r.register(e,e=>t.run(()=>n(e))))},R(this.pause,e,"pause"),R(this.resume,e,"resume"),R(this.backButton,e,"ionBackButton"),R(this.resize,this.win,"resize"),R(this.keyboardDidShow,this.win,"ionKeyboardDidShow"),R(this.keyboardDidHide,this.win,"ionKeyboardDidHide"),this._readyPromise=new Promise(e=>{n=e}),this.win&&this.win.cordova?e.addEventListener("deviceready",()=>{n("cordova")},{once:!0}):n("dom")})}is(e){return Object(l.l)(this.win,e)}platforms(){return Object(l.j)(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(e){return N(this.win.location.href,e)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia&&this.win.matchMedia("(orientation: portrait)").matches}testUserAgent(e){const t=this.win.navigator;return!!(t&&t.userAgent&&t.userAgent.indexOf(e)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}};return e.\u0275fac=function(t){return new(t||e)(o.Qb(s.c),o.Qb(o.z))},e.\u0275prov=o.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(o.Fb)({factory:function(){return new e(Object(o.Qb)(s.c),Object(o.Qb)(o.z))},token:e,providedIn:"root"}),e})();const N=(e,t)=>{t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return n?decodeURIComponent(n[1].replace(/\+/g," ")):null},R=(e,t,n)=>{t&&t.addEventListener(n,t=>{e.next(null!=t?t.detail:void 0)})};let P=(()=>{let e=class{constructor(e,t,n,r){this.location=t,this.serializer=n,this.router=r,this.direction=L,this.animated=M,this.guessDirection="forward",this.lastNavId=-1,r&&r.events.subscribe(e=>{if(e instanceof a.c){const t=e.restoredState?e.restoredState.navigationId:e.id;this.guessDirection=t{this.pop(),e()})}navigateForward(e,t={}){return this.setDirection("forward",t.animated,t.animationDirection),this.navigate(e,t)}navigateBack(e,t={}){return this.setDirection("back",t.animated,t.animationDirection),this.navigate(e,t)}navigateRoot(e,t={}){return this.setDirection("root",t.animated,t.animationDirection),this.navigate(e,t)}back(e={animated:!0,animationDirection:"back"}){return this.setDirection("back",e.animated,e.animationDirection),this.location.back()}pop(){return Object(r.a)(this,void 0,void 0,(function*(){let e=this.topOutlet;for(;e&&!(yield e.pop());)e=e.parentOutlet}))}setDirection(e,t,n){this.direction=e,this.animated=D(e,t,n)}setTopOutlet(e){this.topOutlet=e}consumeTransition(){let e,t="root";return"auto"===this.direction?(t=this.guessDirection,e=this.guessAnimation):(e=this.animated,t=this.direction),this.direction=L,this.animated=M,{direction:t,animation:e}}navigate(e,t){if(Array.isArray(e))return this.router.navigate(e,t);{const n=this.serializer.parse(e.toString());return void 0!==t.queryParams&&(n.queryParams=Object.assign({},t.queryParams)),void 0!==t.fragment&&(n.fragment=t.fragment),this.router.navigateByUrl(n,t)}}};return e.\u0275fac=function(t){return new(t||e)(o.Qb($),o.Qb(s.f),o.Qb(a.j),o.Qb(a.g,8))},e.\u0275prov=o.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(o.Fb)({factory:function(){return new e(Object(o.Qb)($),Object(o.Qb)(s.f),Object(o.Qb)(a.j),Object(o.Qb)(a.g,8))},token:e,providedIn:"root"}),e})();const D=(e,t,n)=>{if(!1!==t)return void 0!==n?n:"forward"===e||"back"===e?e:"root"===e&&!0===t?"forward":void 0},L="auto",M=void 0,V=(e,t)=>{const n=e.prototype;t.forEach(e=>{Object.defineProperty(n,e,{get(){return this.el[e]},set(t){this.z.runOutsideAngular(()=>this.el[e]=t)}})})},F=(e,t)=>{const n=e.prototype;t.forEach(e=>{n[e]=function(){const t=arguments;return this.z.runOutsideAngular(()=>this.el[e].apply(this.el,t))}})},U=(e,t,n)=>{n.forEach(n=>e[n]=Object(u.a)(t,n))};function H(e){return function(t){return e.inputs&&V(t,e.inputs),e.methods&&F(t,e.methods),t}}let z=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-app"]],ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e})(),B=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,U(this,this.el,["ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",href:"href",mode:"mode",rel:"rel",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e=Object(r.b)([H({inputs:["buttonType","color","disabled","download","expand","fill","href","mode","rel","routerDirection","shape","size","strong","target","type"]})],e),e})(),q=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,U(this,this.el,["ionChange","ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-checkbox"]],inputs:{checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",mode:"mode",name:"name",value:"value"},ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e=Object(r.b)([H({inputs:["checked","color","disabled","indeterminate","mode","name","value"]})],e),e})(),G=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e=Object(r.b)([H({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),e})(),W=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,U(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e=Object(r.b)([H({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],e),e})(),J=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e=Object(r.b)([H({inputs:["fixed"]})],e),e})(),X=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,U(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e=Object(r.b)([H({inputs:["alt","src"]})],e),e})(),Q=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,U(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e=Object(r.b)([H({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","debounce","disabled","enterkeyhint","inputmode","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],e),e})(),Z=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-item"]],inputs:{button:"button",color:"color",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",href:"href",lines:"lines",mode:"mode",rel:"rel",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e=Object(r.b)([H({inputs:["button","color","detail","detailIcon","disabled","download","href","lines","mode","rel","routerDirection","target","type"]})],e),e})(),K=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-item-group"]],ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e})(),Y=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e=Object(r.b)([H({inputs:["color","mode","position"]})],e),e})(),ee=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-row"]],ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e})(),te=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement,U(this,this.el,["ionChange","ionCancel","ionFocus","ionBlur"])}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",compareWith:"compareWith",disabled:"disabled",interface:"interface",interfaceOptions:"interfaceOptions",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",value:"value"},ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e=Object(r.b)([H({inputs:["cancelText","compareWith","disabled","interface","interfaceOptions","mode","multiple","name","okText","placeholder","selectedText","value"],methods:["open"]})],e),e})(),ne=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e=Object(r.b)([H({inputs:["disabled","value"]})],e),e})(),re=(()=>{let e=class{constructor(e,t,n){this.z=n,e.detach(),this.el=t.nativeElement}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(o.h),o.Jb(o.l),o.Jb(o.z))},e.\u0275cmp=o.Db({type:e,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:v,decls:1,vars:0,template:function(e,t){1&e&&(o.ac(),o.Zb(0))},encapsulation:2,changeDetection:0}),e=Object(r.b)([H({inputs:["color","mode"]})],e),e})(),oe=(()=>{let e=class{get(e,t){const n=se();return n?n.get(e,t):null}getBoolean(e,t){const n=se();return!!n&&n.getBoolean(e,t)}getNumber(e,t){const n=se();return n?n.getNumber(e,t):0}set(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.");const n=se();n&&n.set(e,t)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(o.Fb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();const ie=new o.q("USERCONFIG"),se=()=>{if("undefined"!=typeof window){const e=window.Ionic;if(e&&e.config)return e.config}return null};class ae{constructor(e={}){this.data=e}get(e){return this.data[e]}}let le=(()=>{let e=class{constructor(e,t){this.zone=e,this.appRef=t}create(e,t,n){return new ce(e,t,n,this.appRef,this.zone)}};return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.z),o.Qb(o.g))},e.\u0275prov=o.Fb({token:e,factory:e.\u0275fac}),e})();class ce{constructor(e,t,n,r,o){this.resolver=e,this.injector=t,this.location=n,this.appRef=r,this.zone=o,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(e,t,n,r){return this.zone.run(()=>new Promise(o=>{o(ue(this.zone,this.resolver,this.injector,this.location,this.appRef,this.elRefMap,this.elEventsMap,e,t,n,r))}))}removeViewFromDom(e,t){return this.zone.run(()=>new Promise(e=>{const n=this.elRefMap.get(t);if(n){n.destroy(),this.elRefMap.delete(t);const e=this.elEventsMap.get(t);e&&(e(),this.elEventsMap.delete(t))}e()}))}}const ue=(e,t,n,r,i,s,a,l,c,u,d)=>{const h=t.resolveComponentFactory(c),f=o.r.create({providers:pe(u),parent:n}),p=r?r.createComponent(h,r.length,f):h.create(f),m=p.instance,g=p.location.nativeElement;if(u&&Object.assign(m,u),d)for(const o of d)g.classList.add(o);const b=he(e,m,g);return l.appendChild(g),r||i.attachView(p.hostView),p.changeDetectorRef.reattach(),s.set(g,p),a.set(g,b),g},de=[l.c,l.a,l.d,l.b,l.e],he=(e,t,n)=>e.run(()=>{const e=de.filter(e=>"function"==typeof t[e]).map(e=>{const r=n=>t[e](n.detail);return n.addEventListener(e,r),()=>n.removeEventListener(e,r)});return()=>e.forEach(e=>e())}),fe=new o.q("NavParamsToken"),pe=e=>[{provide:fe,useValue:e},{provide:ae,useFactory:me,deps:[fe]}],me=e=>new ae(e),ge=(e,t)=>((e=e.filter(e=>e.stackId!==t.stackId)).push(t),e),be=(e,t)=>{const n=e.createUrlTree(["."],{relativeTo:t});return e.serializeUrl(n)},ye=(e,t)=>{if(!e)return;const n=ve(t);for(let r=0;r=e.length)return n[r];if(n[r]!==e[r])return}},ve=e=>e.split("/").map(e=>e.trim()).filter(e=>""!==e),_e=e=>{e&&(e.ref.destroy(),e.unlistenEvents())};class we{constructor(e,t,n,r,o,i){this.containerEl=t,this.router=n,this.navCtrl=r,this.zone=o,this.location=i,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==e?ve(e):void 0}createView(e,t){const n=be(this.router,t),r=e&&e.location&&e.location.nativeElement,o=he(this.zone,e.instance,r);return{id:this.nextId++,stackId:ye(this.tabsPrefix,n),unlistenEvents:o,element:r,ref:e,url:n}}getExistingView(e){const t=be(this.router,e),n=this.views.find(e=>e.url===t);return n&&n.ref.changeDetectorRef.reattach(),n}setActive(e){let{direction:t,animation:n}=this.navCtrl.consumeTransition();const r=this.activeView,o=((e,t)=>!t||e.stackId!==t.stackId)(e,r);o&&(t="back",n=void 0);const i=this.views.slice();let s;const a=this.router;a.getCurrentNavigation?s=a.getCurrentNavigation():a.navigations&&a.navigations.value&&(s=a.navigations.value),s&&s.extras&&s.extras.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const l=this.views.includes(e),c=this.insertView(e,t);return l||e.ref.changeDetectorRef.detectChanges(),this.zone.runOutsideAngular(()=>this.wait(()=>(r&&r.ref.changeDetectorRef.detach(),e.ref.changeDetectorRef.reattach(),this.transition(e,r,n,this.canGoBack(1),!1).then(()=>Ce(e,c,i,this.location)).then(()=>({enteringView:e,direction:t,animation:n,tabSwitch:o})))))}canGoBack(e,t=this.getActiveStackId()){return this.getStack(t).length>e}pop(e,t=this.getActiveStackId()){return this.zone.run(()=>{const n=this.getStack(t);if(n.length<=e)return Promise.resolve(!1);const r=n[n.length-e-1];let o=r.url;const i=r.savedData;if(i){const e=i.get("primary");e&&e.route&&e.route._routerState&&e.route._routerState.snapshot&&e.route._routerState.snapshot.url&&(o=e.route._routerState.snapshot.url)}return this.navCtrl.navigateBack(o,r.savedExtras).then(()=>!0)})}startBackTransition(){const e=this.activeView;if(e){const t=this.getStack(e.stackId),n=t[t.length-2];return this.wait(()=>this.transition(n,e,"back",this.canGoBack(2),!0))}return Promise.resolve()}endBackTransition(e){e?(this.skipTransition=!0,this.pop(1)):this.activeView&&Se(this.activeView,this.views,this.views,this.location)}getLastUrl(e){const t=this.getStack(e);return t.length>0?t[t.length-1]:void 0}getRootUrl(e){const t=this.getStack(e);return t.length>0?t[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}destroy(){this.containerEl=void 0,this.views.forEach(_e),this.activeView=void 0,this.views=[]}getStack(e){return this.views.filter(t=>t.stackId===e)}insertView(e,t){return this.activeView=e,this.views=((e,t,n)=>"root"===n?ge(e,t):"forward"===n?((e,t)=>(e.indexOf(t)>=0?e=e.filter(e=>e.stackId!==t.stackId||e.id<=t.id):e.push(t),e))(e,t):((e,t)=>e.indexOf(t)>=0?e.filter(e=>e.stackId!==t.stackId||e.id<=t.id):ge(e,t))(e,t))(this.views,e,t),this.views.slice()}transition(e,t,n,r,o){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(t===e)return Promise.resolve(!1);const i=e?e.element:void 0,s=t?t.element:void 0,a=this.containerEl;return i&&i!==s&&(i.classList.add("ion-page"),i.classList.add("ion-page-invisible"),i.parentElement!==a&&a.appendChild(i),a.commit)?a.commit(i,s,{deepWait:!0,duration:void 0===n?0:void 0,direction:n,showGoBack:r,progressAnimation:o}):Promise.resolve(!1)}wait(e){return Object(r.a)(this,void 0,void 0,(function*(){return void 0!==this.runningTask&&(yield this.runningTask,this.runningTask=void 0),this.runningTask=e()}))}}const Ce=(e,t,n,r)=>"function"==typeof requestAnimationFrame?new Promise(o=>{requestAnimationFrame(()=>{Se(e,t,n,r),o()})}):Promise.resolve(),Se=(e,t,n,r)=>{n.filter(e=>!t.includes(e)).forEach(_e),t.forEach(t=>{const n=r.path().split("?")[0].split("#")[0];if(t!==e&&t.url!==n){const e=t.element;e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden"),t.ref.changeDetectorRef.detach()}})};let Ee=(()=>{let e=class{constructor(e,t,n,r,i,s,l,c,u,h,f,p,m){this.parentContexts=e,this.location=t,this.resolver=n,this.config=s,this.navCtrl=l,this.parentOutlet=m,this.activated=null,this.activatedView=null,this._activatedRoute=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new d.a(null),this.stackEvents=new o.n,this.activateEvents=new o.n,this.deactivateEvents=new o.n,this.nativeEl=u.nativeElement,this.name=r||a.d,this.tabsPrefix="true"===i?be(h,p):void 0,this.stackCtrl=new we(this.tabsPrefix,this.nativeEl,h,l,f,c),e.onChildOutletCreated(this.name,this)}set animation(e){this.nativeEl.animation=e}set animated(e){this.nativeEl.animated=e}set swipeGesture(e){this._swipeGesture=e,this.nativeEl.swipeHandler=e?{canStart:()=>this.stackCtrl.canGoBack(1),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:e=>this.stackCtrl.endBackTransition(e)}:void 0}ngOnDestroy(){this.stackCtrl.destroy()}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){if(!this.activated){const e=this.getContext();e&&e.route&&this.activateWith(e.route,e.resolver||null)}this.nativeEl.componentOnReady&&this.nativeEl.componentOnReady().then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}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(){throw new Error("incompatible reuse strategy")}attach(e,t){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){this.activatedView.savedData=new Map(this.getContext().children.contexts),this.activatedView.savedExtras={};const e=this.getContext();if(e.route){const t=e.route.snapshot;this.activatedView.savedExtras.queryParams=t.queryParams,this.activatedView.savedExtras.fragment=t.fragment}}const e=this.component;this.activatedView=null,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");let n;this._activatedRoute=e;let r=this.stackCtrl.getExistingView(e);if(r){n=this.activated=r.ref;const t=r.savedData;t&&(this.getContext().children.contexts=t),this.updateActivatedRouteProxy(n.instance,e)}else{const o=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,s=new d.a(null),a=this.createActivatedRouteProxy(s,e),l=new xe(a,i,this.location.injector);n=this.activated=this.location.createComponent(o,this.location.length,l),s.next(n.instance),r=this.stackCtrl.createView(this.activated,e),this.proxyMap.set(n.instance,a),this.currentActivatedRoute$.next({component:n.instance,activatedRoute:e})}this.activatedView=r,this.stackCtrl.setActive(r).then(e=>{this.navCtrl.setTopOutlet(this),this.activateEvents.emit(n.instance),this.stackEvents.emit(e)})}canGoBack(e=1,t){return this.stackCtrl.canGoBack(e,t)}pop(e=1,t){return this.stackCtrl.pop(e,t)}getLastUrl(e){const t=this.stackCtrl.getLastUrl(e);return t?t.url:void 0}getLastRouteView(e){return this.stackCtrl.getLastUrl(e)}getRootView(e){return this.stackCtrl.getRootUrl(e)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(e,t){const n=new a.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}proxyObservable(e,t){return e.pipe(Object(h.a)(e=>!!e),Object(f.a)(e=>this.currentActivatedRoute$.pipe(Object(h.a)(t=>null!==t&&t.component===e),Object(f.a)(e=>e&&e.activatedRoute[t]),e=>e.lift(new m(void 0,void 0)))))}updateActivatedRouteProxy(e,t){const 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})}};return e.\u0275fac=function(t){return new(t||e)(o.Jb(a.b),o.Jb(o.N),o.Jb(o.j),o.Rb("name"),o.Rb("tabs"),o.Jb(oe),o.Jb(P),o.Jb(s.f),o.Jb(o.l),o.Jb(a.g),o.Jb(o.z),o.Jb(a.a),o.Jb(e,12))},e.\u0275dir=o.Eb({type:e,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",swipeGesture:"swipeGesture"},outputs:{stackEvents:"stackEvents",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class xe{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===a.a?this.route:e===a.b?this.childContexts:this.parent.get(e,t)}}class Oe{constructor(e){this.ctrl=e}create(e){return this.ctrl.create(e||{})}dismiss(e,t,n){return this.ctrl.dismiss(e,t,n)}getTop(){return this.ctrl.getTop()}}let Te=(()=>{let e=class extends Oe{constructor(){super(l.g)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(o.Fb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),ke=(()=>{let e=class extends Oe{constructor(){super(l.m)}};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(o.Fb)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),Ae=(()=>{let e=class extends Oe{constructor(e,t,n){super(l.o),this.angularDelegate=e,this.resolver=t,this.injector=n}create(e){return super.create(Object.assign({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))}};return e.\u0275fac=function(t){return new(t||e)(o.Qb(le),o.Qb(o.j),o.Qb(o.r))},e.\u0275prov=o.Fb({token:e,factory:e.\u0275fac}),e})(),Ie=(()=>{let e=class extends Oe{constructor(e,t,n){super(l.q),this.angularDelegate=e,this.resolver=t,this.injector=n}create(e){return super.create(Object.assign({},e,{delegate:this.angularDelegate.create(this.resolver,this.injector)}))}};return e.\u0275fac=function(t){return new(t||e)(o.Qb(le),o.Qb(o.j),o.Qb(o.r))},e.\u0275prov=o.Fb({token:e,factory:e.\u0275fac}),e})();class je{shouldDetach(e){return!1}shouldAttach(e){return!1}store(e,t){}retrieve(e){return null}shouldReuseRoute(e,t){if(e.routeConfig!==t.routeConfig)return!1;const n=e.params,r=t.params,o=Object.keys(n),i=Object.keys(r);if(o.length!==i.length)return!1;for(const s of o)if(r[s]!==n[s])return!1;return!0}}let $e=!1;const Ne=(e,t,r)=>()=>{const o=t.defaultView;if(o&&"undefined"!=typeof window){$e&&console.warn("Ionic Angular was already initialized. Make sure IonicModule.forRoot() is just called once."),$e=!0,(o.Ionic=o.Ionic||{}).config=Object.assign({},e,{_zoneGate:e=>r.run(e)});const i="__zone_symbol__addEventListener"in t.body?"__zone_symbol__addEventListener":"addEventListener";return function(){var e=[];if("undefined"!=typeof window){var t=window;t.customElements&&(!t.Element||t.Element.prototype.closest&&t.Element.prototype.matches&&t.Element.prototype.remove)||e.push(n.e(13).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&&(!t.NodeList||t.NodeList.prototype.forEach)&&t.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||e.push(n.e(11).then(n.t.bind(null,"t6o4",7)))}return Promise.all(e)}().then(()=>{return e={exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:_,jmp:e=>r.runOutsideAngular(e),ael(e,t,n,r){e[i](t,n,r)},rel(e,t,n,r){e.removeEventListener(t,n,r)}},Object(b.c)().then(()=>(y(),Object(b.d)(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,"ionChange","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],"value":[8]}]]],[{"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-back-button-ios","md":"ion-back-button-md"},[[1,"ion-back-button",{"color":[1],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1]}]]],[{"ios":"ion-backdrop-ios","md":"ion-backdrop-md"},[[1,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],[{"ios":"ion-menu_3-ios","md":"ion-menu_3-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":[513,"content-id"],"menuId":[513,"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"]]],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[32,"ionMenuChange","visibilityChanged"],[32,"ionSplitPaneVisible","visibilityChanged"]]]]],[{"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],"nativeRefresher":[32],"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-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],"buttons":[16],"translucent":[4],"animated":[4],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"ios":"ion-card_5-ios","md":"ion-card_5-md"},[[1,"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",{"disabled":[4],"layout":[1],"type":[1],"value":[1],"checked":[32]}],[1,"ion-segment",{"color":[1],"disabled":[4],"scrollable":[4],"value":[1025],"activated":[32]}]]],[{"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],"swipeToClose":[4,"swipe-to-close"],"presentingElement":[16],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]}]]],[{"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],"enterkeyhint":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[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]},[[8,"appload","onAppLoad"],[2,"click","onClick"]]],[4,"ion-footer",{"translucent":[4]}],[4,"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-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"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-nav_2",[[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"]}]]],[{"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":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"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":[1032],"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"},[[1,"ion-split-pane",{"contentId":[513,"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],"inputmode":[1],"enterkeyhint":[1],"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"],"displayTimezone":[1,"display-timezone"],"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],"value":[8],"checked":[32]}],[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]}]]],["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",{"mode":[1025],"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]}],[17,"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]},[[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],"lines":[1]}]]]]'),e)));var e})}};var Re;let Pe=(()=>{let e=Re=class{static forRoot(e){return{ngModule:Re,providers:[{provide:ie,useValue:e},{provide:o.d,useFactory:Ne,multi:!0,deps:[ie,s.c,o.z]}]}}};return e.\u0275mod=o.Hb({type:e}),e.\u0275inj=o.Gb({factory:function(t){return new(t||e)},providers:[le,Ae,Ie],imports:[[s.b]]}),e})()},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u}));var r=n("HDdC"),o=n("7o/Q"),i=n("quSY"),s=n("9ppp"),a=n("Ylt2"),l=n("2QA8");class c extends o.a{constructor(e){super(e),this.destination=e}}let u=(()=>{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 c(this)}lift(e){const t=new d(this,this);return t.operator=e,t}next(e){if(this.closed)throw new s.a;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let o=0;onew d(e,t),e})();class d extends u{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):i.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}))},Ylt2:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("quSY");class o 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)}}},ZUHj:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("51Dv"),o=n("SeVD"),i=n("HDdC");function s(e,t,n,s,a=new r.a(e,n,s)){if(!a.closed)return t instanceof i.a?t.subscribe(a):Object(o.a)(t)(a)}},aJZl:function(e,t,n){"use strict";n("HDdC"),n("yR3O")},av0h:function(e,t,n){"use strict";n.d(t,"a",(function(){return I})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return f})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return w})),n.d(t,"h",(function(){return E})),n.d(t,"i",(function(){return s})),n.d(t,"j",(function(){return O})),n.d(t,"k",(function(){return u})),n.d(t,"l",(function(){return d})),n.d(t,"m",(function(){return h})),n.d(t,"n",(function(){return A})),n.d(t,"o",(function(){return p}));var r=n("ntsc"),o=n("x/Nk");let i=0;const s=new WeakMap,a=e=>({create:t=>g(e,t),dismiss:(t,n,r)=>y(document,t,n,e,r),getTop:async()=>v(document,e)}),l=a("ion-alert"),c=a("ion-action-sheet"),u=a("ion-loading"),d=a("ion-modal"),h=a("ion-picker"),f=a("ion-popover"),p=a("ion-toast"),m=e=>{const t=document;b(t);const n=i++;e.overlayIndex=n,e.hasAttribute("id")||(e.id=`ion-overlay-${n}`)},g=(e,t)=>customElements.whenDefined(e).then(()=>{const n=document,r=n.createElement(e);return r.classList.add("overlay-hidden"),Object.assign(r,t),C(n).appendChild(r),r.componentOnReady()}),b=e=>{0===i&&(i=1,e.addEventListener("focusin",t=>{const n=v(e);if(n&&n.backdropDismiss&&!T(n,t.target)){const e=n.querySelector("input,button");e&&e.focus()}}),e.addEventListener("ionBackButton",t=>{const n=v(e);n&&n.backdropDismiss&&t.detail.register(o.OVERLAY_BACK_BUTTON_PRIORITY,()=>n.dismiss(void 0,I))}),e.addEventListener("keyup",t=>{if("Escape"===t.key){const t=v(e);t&&t.backdropDismiss&&t.dismiss(void 0,I)}}))},y=(e,t,n,r,o)=>{const i=v(e,r,o);return i?i.dismiss(t,n):Promise.reject("overlay does not exist")},v=(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)},_=async(e,t,n,o,i)=>{if(e.presented)return;e.presented=!0,e.willPresent.emit();const s=Object(r.b)(e),a=e.enterAnimation?e.enterAnimation:r.c.get(t,"ios"===s?n:o);await S(e,a,e.el,i)&&e.didPresent.emit(),e.keyboardClose&&e.el.focus()},w=async(e,t,n,o,i,a,l)=>{if(!e.presented)return!1;e.presented=!1;try{e.el.style.setProperty("pointer-events","none"),e.willDismiss.emit({data:t,role:n});const c=Object(r.b)(e),u=e.leaveAnimation?e.leaveAnimation:r.c.get(o,"ios"===c?i:a);"gesture"!==n&&await S(e,u,e.el,l),e.didDismiss.emit({data:t,role:n}),s.delete(e)}catch(c){console.error(c)}return e.el.remove(),!0},C=e=>e.querySelector("ion-app")||e.body,S=async(e,t,n,o)=>{n.classList.remove("overlay-hidden");const i=t(n.shadowRoot||e.el,o);e.animated&&r.c.getBoolean("animated",!0)||i.duration(0),e.keyboardClose&&i.beforeAddWrite(()=>{const e=n.ownerDocument.activeElement;e&&e.matches("input, ion-input, ion-textarea")&&e.blur()});const a=s.get(e)||[];return s.set(e,[...a,i]),await i.play(),!0},E=(e,t)=>{let n;const r=new Promise(e=>n=e);return x(e,t,e=>{n(e.detail)}),r},x=(e,t,n)=>{const r=o=>{e.removeEventListener(t,r),n(o)};e.addEventListener(t,r)},O=e=>"cancel"===e||e===I,T=(e,t)=>{for(;t;){if(t===e)return!0;t=t.parentElement}return!1},k=e=>e(),A=(e,t)=>{if("function"==typeof e)return r.c.get("_zoneGate",k)(()=>{try{return e(t)}catch(n){console.error(n)}})},I="backdrop"},bHdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("5+tZ"),o=n("SpAZ");function i(e=Number.POSITIVE_INFINITY){return Object(r.a)(o.a,e)}},bOdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("5+tZ");function o(e,t){return Object(r.a)(e,t,1)}},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}))},cp0P:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("HDdC"),o=n("DH7j"),i=n("lJxs"),s=n("XoHu"),a=n("Cfvw");function l(...e){if(1===e.length){const t=e[0];if(Object(o.a)(t))return c(t,null);if(Object(s.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(o.a)(e[0])?e[0]:e,null).pipe(Object(i.a)(e=>t(...e)))}return c(e,null)}function c(e,t){return new r.a(n=>{const r=e.length;if(0===r)return void n.complete();const o=new Array(r);let i=0,s=0;for(let l=0;l{u||(u=!0,s++),o[l]=e},error:e=>n.error(e),complete:()=>{i++,i!==r&&u||(s===r&&n.next(t?t.reduce((e,t,n)=>(e[t]=o[n],e),{}):o),n.complete())}}))}})}},eIep:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("l7GE"),o=n("51Dv"),i=n("ZUHj"),s=n("lJxs"),a=n("Cfvw");function l(e,t){return"function"==typeof t?n=>n.pipe(l((n,r)=>Object(a.a)(e(n,r)).pipe(Object(s.a)((e,o)=>t(n,e,r,o))))):t=>t.lift(new c(e))}class c{constructor(e){this.project=e}call(e,t){return t.subscribe(new u(e,this.project))}}class u extends r.a{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,e,n)}_innerSub(e,t,n){const r=this.innerSubscription;r&&r.unsubscribe();const s=new o.a(this,t,n),a=this.destination;a.add(s),this.innerSubscription=Object(i.a)(this,e,void 0,void 0,s),this.innerSubscription!==s&&a.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,n,r,o){this.destination.next(t)}}},fXoL:function(e,t,n){"use strict";n.d(t,"a",(function(){return wi})),n.d(t,"b",(function(){return rl})),n.d(t,"c",(function(){return Ka})),n.d(t,"d",(function(){return Qa})),n.d(t,"e",(function(){return Za})),n.d(t,"f",(function(){return Xl})),n.d(t,"g",(function(){return Vl})),n.d(t,"h",(function(){return oi})),n.d(t,"i",(function(){return pl})),n.d(t,"j",(function(){return Rs})),n.d(t,"k",(function(){return sl})),n.d(t,"l",(function(){return Ps})),n.d(t,"m",(function(){return wn})),n.d(t,"n",(function(){return ja})),n.d(t,"o",(function(){return te})),n.d(t,"p",(function(){return v})),n.d(t,"q",(function(){return ee})),n.d(t,"r",(function(){return _i})),n.d(t,"s",(function(){return ea})),n.d(t,"t",(function(){return ta})),n.d(t,"u",(function(){return il})),n.d(t,"v",(function(){return me})),n.d(t,"w",(function(){return Ul})),n.d(t,"x",(function(){return pe})),n.d(t,"y",(function(){return Rl})),n.d(t,"z",(function(){return yl})),n.d(t,"A",(function(){return _})),n.d(t,"B",(function(){return nl})),n.d(t,"C",(function(){return tl})),n.d(t,"D",(function(){return Vs})),n.d(t,"E",(function(){return Ls})),n.d(t,"F",(function(){return Ms})),n.d(t,"G",(function(){return Us})),n.d(t,"H",(function(){return lr})),n.d(t,"I",(function(){return C})),n.d(t,"J",(function(){return Bl})),n.d(t,"K",(function(){return ia})),n.d(t,"L",(function(){return Ol})),n.d(t,"M",(function(){return Hs})),n.d(t,"N",(function(){return aa})),n.d(t,"O",(function(){return Ee})),n.d(t,"P",(function(){return Ai})),n.d(t,"Q",(function(){return Pl})),n.d(t,"R",(function(){return Vn})),n.d(t,"S",(function(){return V})),n.d(t,"T",(function(){return Mn})),n.d(t,"U",(function(){return Wl})),n.d(t,"V",(function(){return Al})),n.d(t,"W",(function(){return ol})),n.d(t,"X",(function(){return si})),n.d(t,"Y",(function(){return Sa})),n.d(t,"Z",(function(){return sr})),n.d(t,"ab",(function(){return dr})),n.d(t,"bb",(function(){return zn})),n.d(t,"cb",(function(){return An})),n.d(t,"db",(function(){return jn})),n.d(t,"eb",(function(){return Pn})),n.d(t,"fb",(function(){return Nn})),n.d(t,"gb",(function(){return $n})),n.d(t,"hb",(function(){return Rn})),n.d(t,"ib",(function(){return va})),n.d(t,"jb",(function(){return Gl})),n.d(t,"kb",(function(){return _a})),n.d(t,"lb",(function(){return wa})),n.d(t,"mb",(function(){return In})),n.d(t,"nb",(function(){return G})),n.d(t,"ob",(function(){return Ii})),n.d(t,"pb",(function(){return Gi})),n.d(t,"qb",(function(){return qi})),n.d(t,"rb",(function(){return ki})),n.d(t,"sb",(function(){return ya})),n.d(t,"tb",(function(){return Je})),n.d(t,"ub",(function(){return D})),n.d(t,"vb",(function(){return kn})),n.d(t,"wb",(function(){return ms})),n.d(t,"xb",(function(){return ws})),n.d(t,"yb",(function(){return js})),n.d(t,"zb",(function(){return $r})),n.d(t,"Ab",(function(){return Ni})),n.d(t,"Bb",(function(){return is})),n.d(t,"Cb",(function(){return Ba})),n.d(t,"Db",(function(){return ke})),n.d(t,"Eb",(function(){return Pe})),n.d(t,"Fb",(function(){return O})),n.d(t,"Gb",(function(){return T})),n.d(t,"Hb",(function(){return $e})),n.d(t,"Ib",(function(){return De})),n.d(t,"Jb",(function(){return Di})),n.d(t,"Kb",(function(){return zi})),n.d(t,"Lb",(function(){return Hi})),n.d(t,"Mb",(function(){return Ui})),n.d(t,"Nb",(function(){return Bi})),n.d(t,"Ob",(function(){return bn})),n.d(t,"Pb",(function(){return fs})),n.d(t,"Qb",(function(){return ue})),n.d(t,"Rb",(function(){return Li})),n.d(t,"Sb",(function(){return Xa})),n.d(t,"Tb",(function(){return Mi})),n.d(t,"Ub",(function(){return Wi})),n.d(t,"Vb",(function(){return qa})),n.d(t,"Wb",(function(){return Qi})),n.d(t,"Xb",(function(){return Aa})),n.d(t,"Yb",(function(){return Ia})),n.d(t,"Zb",(function(){return Yi})),n.d(t,"ac",(function(){return Ki})),n.d(t,"bc",(function(){return Vi})),n.d(t,"cc",(function(){return es})),n.d(t,"dc",(function(){return Ha})),n.d(t,"ec",(function(){return ht})),n.d(t,"fc",(function(){return hr})),n.d(t,"gc",(function(){return Ne})),n.d(t,"hc",(function(){return Pi})),n.d(t,"ic",(function(){return us})),n.d(t,"jc",(function(){return ds})),n.d(t,"kc",(function(){return hs})),n.d(t,"lc",(function(){return za}));var r=n("XNiG"),o=n("quSY"),i=n("HDdC"),s=n("z+Ro"),a=n("bHdf"),l=n("yCtX"),c=n("7o/Q");function u(){return function(e){return e.lift(new d(e))}}class d{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new h(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o}}class h extends c.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;if(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 f 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 o.a,e.add(this.source.subscribe(new m(this.getSubject(),this))),e.closed&&(this._connection=null,e=o.a.EMPTY)),e}refCount(){return u()(this)}}const p=(()=>{const e=f.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 m 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 g(){return new r.a}function b(e){return{toString:e}.toString()}function y(e,t,n){return b(()=>{const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function o(...e){if(this instanceof o)return r.apply(this,e),this;const t=new o(...e);return n.annotation=t,n;function n(e,n,r){const o=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;o.length<=r;)o.push(null);return(o[r]=o[r]||[]).push(t),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}const v=y("Inject",e=>({token:e})),_=y("Optional"),w=y("Self"),C=y("SkipSelf");var S=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 E(e){for(let t in e)if(e[t]===E)return t;throw Error("Could not find renamed property on target object.")}function x(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function O(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function T(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function k(e){return A(e,e[j])||A(e,e[R])}function A(e,t){return t&&t.token===e?t:null}function I(e){return e&&(e.hasOwnProperty($)||e.hasOwnProperty(P))?e[$]:null}const j=E({"\u0275prov":E}),$=E({"\u0275inj":E}),N=E({"\u0275provFallback":E}),R=E({ngInjectableDef:E}),P=E({ngInjectorDef:E});function D(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(D).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)}function L(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const M=E({__forward_ref__:E});function V(e){return e.__forward_ref__=V,e.toString=function(){return D(this())},e}function F(e){return U(e)?e():e}function U(e){return"function"==typeof e&&e.hasOwnProperty(M)&&e.__forward_ref__===V}const H="undefined"!=typeof globalThis&&globalThis,z="undefined"!=typeof window&&window,B="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,q="undefined"!=typeof global&&global,G=H||q||z||B,W=E({"\u0275cmp":E}),J=E({"\u0275dir":E}),X=E({"\u0275pipe":E}),Q=E({"\u0275mod":E}),Z=E({"\u0275loc":E}),K=E({"\u0275fac":E}),Y=E({__NG_ELEMENT_ID__:E});class ee{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=O({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const te=new ee("INJECTOR",-1),ne={},re=/\n/gm,oe=E({provide:String,useValue:E});let ie,se=void 0;function ae(e){const t=se;return se=e,t}function le(e){const t=ie;return ie=e,t}function ce(e,t=S.Default){if(void 0===se)throw new Error("inject() must be called from an injection context");return null===se?de(e,void 0,t):se.get(e,t&S.Optional?null:void 0,t)}function ue(e,t=S.Default){return(ie||ce)(F(e),t)}function de(e,t,n){const r=k(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&S.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${D(e)}]`)}function he(e){const t=[];for(let n=0;nArray.isArray(e)?ge(e,t):t(e))}function be(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ye(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ve(e,t){const n=[];for(let r=0;r=0?e[1|r]=n:(r=~r,function(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function we(e,t){const n=Ce(e,t);if(n>=0)return e[1|n]}function Ce(e,t){return function(e,t,n){let r=0,o=e.length>>1;for(;o!==r;){const n=r+(o-r>>1),i=e[n<<1];if(t===i)return n<<1;i>t?o=n:r=n+1}return~(o<<1)}(e,t)}const Se=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),Ee=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}(),xe={},Oe=[];let Te=0;function ke(e){return b(()=>{const t=e.type,n=t.prototype,r={},o={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs: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===Se.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Oe,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ee.Emulated,id:"c",styles:e.styles||Oe,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,s=e.features,a=e.pipes;return o.id+=Te++,o.inputs=Re(e.inputs,r),o.outputs=Re(e.outputs),s&&s.forEach(e=>e(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(Ae):null,o.pipeDefs=a?()=>("function"==typeof a?a():a).map(Ie):null,o})}function Ae(e){return Le(e)||function(e){return e[J]||null}(e)}function Ie(e){return function(e){return e[X]||null}(e)}const je={};function $e(e){const t={type:e.type,bootstrap:e.bootstrap||Oe,declarations:e.declarations||Oe,imports:e.imports||Oe,exports:e.exports||Oe,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&b(()=>{je[e.id]=e.type}),t}function Ne(e,t){return b(()=>{const n=Ve(e,!0);n.declarations=t.declarations||Oe,n.imports=t.imports||Oe,n.exports=t.exports||Oe})}function Re(e,t){if(null==e)return xe;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const Pe=ke;function De(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Le(e){return e[W]||null}function Me(e,t){return e.hasOwnProperty(K)?e[K]:null}function Ve(e,t){const n=e[Q]||null;if(!n&&!0===t)throw new Error(`Type ${D(e)} does not have '\u0275mod' property.`);return n}function Fe(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ue(e){return Array.isArray(e)&&!0===e[1]}function He(e){return 0!=(8&e.flags)}function ze(e){return 2==(2&e.flags)}function Be(e){return 1==(1&e.flags)}function qe(e){return null!==e.template}function Ge(e){return 0!=(512&e[2])}let We=void 0;function Je(e){We=e}function Xe(e){return!!e.listen}const Qe={createRenderer:(e,t)=>void 0!==We?We:"undefined"!=typeof document?document:void 0};function Ze(e){for(;Array.isArray(e);)e=e[0];return e}function Ke(e,t){return Ze(t[e+20])}function Ye(e,t){return Ze(t[e.index])}function et(e,t){return e.data[t+20]}function tt(e,t){const n=t[e];return Fe(n)?n:n[0]}function nt(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function rt(e){return 4==(4&e[2])}function ot(e){return 128==(128&e[2])}function it(e,t){return null===e||null==t?null:e[t]}function st(e){e[18]=0}function at(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const lt={lFrame:Tt(null),bindingsEnabled:!0,checkNoChangesMode:!1};function ct(){return lt.bindingsEnabled}function ut(){return lt.lFrame.lView}function dt(){return lt.lFrame.tView}function ht(e){lt.lFrame.contextLView=e}function ft(){return lt.lFrame.previousOrParentTNode}function pt(e,t){lt.lFrame.previousOrParentTNode=e,lt.lFrame.isParent=t}function mt(){return lt.lFrame.isParent}function gt(){lt.lFrame.isParent=!1}function bt(){return lt.checkNoChangesMode}function yt(e){lt.checkNoChangesMode=e}function vt(){return lt.lFrame.bindingIndex++}function _t(e,t){const n=lt.lFrame;n.bindingIndex=n.bindingRootIndex=e,wt(t)}function wt(e){lt.lFrame.currentDirectiveIndex=e}function Ct(){return lt.lFrame.currentQueryIndex}function St(e){lt.lFrame.currentQueryIndex=e}function Et(e,t){const n=Ot();lt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function xt(e,t){const n=Ot(),r=e[1];lt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function Ot(){const e=lt.lFrame,t=null===e?null:e.child;return null===t?Tt(e):t}function Tt(e){const t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function kt(){const e=lt.lFrame;return lt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}const At=kt;function It(){const e=kt();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function jt(){return lt.lFrame.selectedIndex}function $t(e){lt.lFrame.selectedIndex=e}function Nt(){const e=lt.lFrame;return et(e.tView,e.selectedIndex)}function Rt(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[s]<0&&(e[18]+=65536),(i>11>16&&(3&e[2])===t&&(e[2]+=2048,i.call(s)):i.call(s)}class Ft{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function Ut(e,t,n){const r=Xe(e);let o=0;for(;ot){s=i-1;break}}}for(;i>16}function Xt(e,t){let n=Jt(e),r=t;for(;n>0;)r=r[15],n--;return r}function Qt(e){return"string"==typeof e?e:null==e?"":""+e}function Zt(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Qt(e)}const Kt=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(G))();function Yt(e){return e instanceof Function?e():e}let en=!0;function tn(e){const t=en;return en=e,t}let nn=0;function rn(e,t){const n=sn(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,on(r.data,e),on(t,null),on(r.blueprint,null));const o=an(e,t),i=e.injectorIndex;if(Gt(o)){const e=Wt(o),n=Xt(o,t),r=n[1].data;for(let o=0;o<8;o++)t[i+o]=n[e+o]|r[e+o]}return t[i+8]=o,i}function on(e,t){e.push(0,0,0,0,0,0,0,0,t)}function sn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function an(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=t[6],r=1;for(;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function ln(e,t,n){!function(e,t,n){let r="string"!=typeof n?n[Y]:n.charCodeAt(0)||0;null==r&&(r=n[Y]=nn++);const o=255&r,i=1<0?255&t:t}(n);if("function"==typeof o){Et(t,e);try{const e=o();if(null!=e||r&S.Optional)return e;throw new Error(`No provider for ${Zt(n)}!`)}finally{At()}}else if("number"==typeof o){if(-1===o)return new gn(e,t);let i=null,s=sn(e,t),a=-1,l=r&S.Host?t[16][6]:null;for((-1===s||r&S.SkipSelf)&&(a=-1===s?an(e,t):t[s+8],mn(r,!1)?(i=t[1],s=Wt(a),t=Xt(a,t)):s=-1);-1!==s;){a=t[s+8];const e=t[1];if(pn(o,s,e.data)){const e=dn(s,t,n,i,r,l);if(e!==un)return e}mn(r,t[1].data[s+8]===l)&&pn(o,s,t)?(i=e,s=Wt(a),t=Xt(a,t)):s=-1}}}if(r&S.Optional&&void 0===o&&(o=null),0==(r&(S.Self|S.Host))){const e=t[9],i=le(void 0);try{return e?e.get(n,o,r&S.Optional):de(n,o,r&S.Optional)}finally{le(i)}}if(r&S.Optional)return o;throw new Error(`NodeInjector: NOT_FOUND [${Zt(n)}]`)}const un={};function dn(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],l=hn(a,s,n,null==r?ze(a)&&en:r!=s&&3===a.type,o&S.Host&&i===a);return null!==l?fn(t,s,l,a):un}function hn(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=65535&i,l=e.directiveStart,c=i>>16,u=o?a+c:e.directiveEnd;for(let d=r?a:a+c;d=l&&e.type===n)return d}if(o){const e=s[l];if(e&&qe(e)&&e.type===n)return l}return null}function fn(e,t,n,r){let o=e[n];const i=t.data;if(o instanceof Ft){const s=o;if(s.resolving)throw new Error(`Circular dep for ${Zt(i[n])}`);const a=tn(s.canSeeViewProviders);let l;s.resolving=!0,s.injectImpl&&(l=le(s.injectImpl)),Et(e,r);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{onChanges:r,onInit:o,doCheck:i}=t;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)),o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{s.injectImpl&&le(l),tn(a),s.resolving=!1,At()}}return o}function pn(e,t,n){const r=64&e,o=32&e;let i;return i=128&e?r?o?n[t+7]:n[t+6]:o?n[t+5]:n[t+4]:r?o?n[t+3]:n[t+2]:o?n[t+1]:n[t],!!(i&1<{const t=Object.getPrototypeOf(e.prototype).constructor,n=t[K]||function e(t){const n=t;if(U(t))return()=>{const t=e(F(n));return t?t():null};let r=Me(n);if(null===r){const e=I(n);r=e&&e.factory}return r||null}(t);return null!==n?n:e=>new e})}function yn(e){return e.ngDebugContext}function vn(e){return e.ngOriginalError}function _n(e,...t){e.error(...t)}class wn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||_n}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?yn(e)?yn(e):this._findContext(vn(e)):null}_findOriginalError(e){let t=vn(e);for(;t&&vn(t);)t=vn(t);return t}}class Cn{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class Sn extends Cn{getTypeName(){return"HTML"}}class En extends Cn{getTypeName(){return"Style"}}class xn extends Cn{getTypeName(){return"Script"}}class On extends Cn{getTypeName(){return"URL"}}class Tn extends Cn{getTypeName(){return"ResourceURL"}}function kn(e){return e instanceof Cn?e.changingThisBreaksApplicationSecurity:e}function An(e,t){const n=In(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===t}function In(e){return e instanceof Cn&&e.getTypeName()||null}function jn(e){return new Sn(e)}function $n(e){return new En(e)}function Nn(e){return new xn(e)}function Rn(e){return new On(e)}function Pn(e){return new Tn(e)}let Dn=!0,Ln=!1;function Mn(){return Ln=!0,Dn}function Vn(){if(Ln)throw new Error("Cannot enable prod mode after platform setup.");Dn=!1}class Fn{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let t=this.inertDocument.body;if(null==t){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),t=this.inertDocument.createElement("body"),e.appendChild(t)}t.innerHTML='',!t.querySelector||t.querySelector("svg")?(t.innerHTML='

',this.getInertBodyElement=t.querySelector&&t.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=""+e+"";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=""+e+"";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");if("content"in t)return t.innerHTML=e,t;const n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0zn(e.trim())).join(", ")),this.buf.push(" ",t,'="',or(s),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Qn.hasOwnProperty(t)&&!Gn.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(or(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 nr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rr=/([^\#-~ |!])/g;function or(e){return e.replace(/&/g,"&").replace(nr,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(rr,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}let ir;function sr(e,t){let n=null;try{ir=ir||new Fn(e);let r=t?String(t):"";n=ir.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=ir.getInertBodyElement(r)}while(r!==i);const s=new tr,a=s.sanitizeChildren(ar(n)||n);return Mn()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const e=ar(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function ar(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const lr=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}(),cr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),ur=/^url\(([^)]+)\)$/;function dr(e){if(!(e=String(e).trim()))return"";const t=e.match(ur);return t&&zn(t[1])===t[1]||e.match(cr)&&function(e){let t=!0,n=!0;for(let r=0;ri?"":o[u+1].toLowerCase();const t=8&r?e:null;if(t&&-1!==gr(t,c,0)||2&r&&c!==e){if(wr(r))return!1;s=!0}}}}else{if(!s&&!wr(r)&&!wr(l))return!1;if(s&&wr(l))continue;s=!1,r=l|1&r}}return wr(r)||s}function wr(e){return 0==(1&e)}function Cr(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let n=!1;for(;o-1)for(n++;n0?'="'+t+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""===o||wr(s)||(t+=xr(i,o),o=""),r=s,i=i||!wr(r);n++}return""!==o&&(t+=xr(i,o)),t}const Tr={};function kr(e){const t=e[3];return Ue(t)?t[3]:t}function Ar(e){return jr(e[13])}function Ir(e){return jr(e[4])}function jr(e){for(;null!==e&&!Ue(e);)e=e[4];return e}function $r(e){Nr(dt(),ut(),jt()+e,bt())}function Nr(e,t,n,r){if(!r)if(3==(3&t[2])){const r=e.preOrderCheckHooks;null!==r&&Pt(t,r,n)}else{const r=e.preOrderHooks;null!==r&&Dt(t,r,0,n)}$t(n)}function Rr(e,t){return e<<17|t<<2}function Pr(e){return e>>17&32767}function Dr(e){return 2|e}function Lr(e){return(131068&e)>>2}function Mr(e,t){return-131069&e|t<<2}function Vr(e){return 1|e}function Fr(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r20&&Nr(e,t,0,bt()),n(r,o)}finally{$t(i)}}function Jr(e,t,n){ct()&&(function(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||rn(n,t),fr(r,t);const s=n.initialInputs;for(let a=o;a0&&function e(t){for(let r=Ar(t);null!==r;r=Ir(r))for(let t=10;t0&&e(n)}const n=t[1].components;if(null!==n)for(let r=0;r0&&e(o)}}(n)}}function go(e,t){const n=tt(t,e),r=n[1];!function(e,t){for(let n=t.length;nPromise.resolve(null))();function So(e){return e[7]||(e[7]=[])}function Eo(e){return e.cleanup||(e.cleanup=[])}function xo(e,t){const n=e[9],r=n?n.get(wn,null):null;r&&r.handleError(t)}function Oo(e,t,n,r,o){for(let i=0;i0&&(e[n-1][4]=r[4]);const i=ye(e,10+t);Io(r[1],r,!1,null);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function No(e,t){if(!(256&t[2])){const n=t[11];Xe(n)&&n.destroyNode&&qo(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Po(e[1],e);for(;t;){let n=null;if(Fe(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)Fe(t)&&Po(t[1],t),t=Ro(t,e);null===t&&(t=e),Fe(t)&&Po(t[1],t),n=t&&t[4]}t=n}}(t)}}function Ro(e,t){let n;return Fe(e)&&(n=e[6])&&2===n.type?To(n,e):e[3]===t?null:e[3]}function Po(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?e[a]():e[-a].unsubscribe(),r+=2}else n[r].call(e[n[r+1]]);t[7]=null}}(e,t);const n=t[6];n&&3===n.type&&Xe(t[11])&&t[11].destroy();const r=t[17];if(null!==r&&Ue(t[3])){r!==t[3]&&jo(r,t);const n=t[19];null!==n&&n.detachView(e)}}}function Do(e,t,n){let r=t.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){const e=n[6];return 2===e.type?ko(e,n):n[0]}if(t&&5===t.type&&4&t.flags)return Ye(t,n).parentNode;if(2&r.flags){const t=e.data,n=t[t[r.index].directiveStart].encapsulation;if(n!==Ee.ShadowDom&&n!==Ee.Native)return null}return Ye(r,n)}function Lo(e,t,n,r){Xe(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function Mo(e,t,n){Xe(e)?e.appendChild(t,n):t.appendChild(n)}function Vo(e,t,n,r){null!==r?Lo(e,t,n,r):Mo(e,t,n)}function Fo(e,t){return Xe(e)?e.parentNode(t):t.parentNode}function Uo(e,t){if(2===e.type){const n=To(e,t);return null===n?null:zo(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?Ye(e,t):null}function Ho(e,t,n,r){const o=Do(e,r,t);if(null!=o){const e=t[11],i=Uo(r.parent||t[6],t);if(Array.isArray(n))for(let t=0;t-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}No(this._lView[1],this._lView)}onDestroy(e){var t,n,r;t=this._lView[1],r=e,So(n=this._lView).push(r),t.firstCreatePass&&Eo(t).push(n[7].length-1,null)}markForCheck(){yo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){vo(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){yt(!0);try{vo(e,t,n)}finally{yt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,qo(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class Qo extends Xo{constructor(e){super(e),this._view=e}detectChanges(){_o(this._view)}checkNoChanges(){!function(e){yt(!0);try{_o(e)}finally{yt(!1)}}(this._view)}get context(){return null}}let Zo,Ko,Yo;function ei(e,t,n){return Zo||(Zo=class extends e{}),new Zo(Ye(t,n))}function ti(e,t,n,r){return Ko||(Ko=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=Hr(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),Br(t,n,e),new Xo(n)}}),0===n.type?new Ko(r,n,ei(t,n,r)):null}function ni(e,t,n,r){let o;Yo||(Yo=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return ei(t,this._hostTNode,this._hostView)}get injector(){return new gn(this._hostTNode,this._hostView)}get parentInjector(){const e=an(this._hostTNode,this._hostView),t=Xt(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){const e=n.parent.injectorIndex;let t=n.parent;for(;null!=t.parent&&e==t.parent.injectorIndex;)t=t.parent;return t}let r=Jt(e),o=t,i=t[6];for(;r>1;)o=o[15],i=o[6],r--;return i}(e,this._hostView,this._hostTNode);return Gt(e)&&null!=n?new gn(n,t):new gn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,o){const i=n||this.parentInjector;if(!o&&null==e.ngModule&&i){const e=i.get(pe,null);e&&(o=e)}const s=e.create(i,r,void 0,o);return this.insert(s.hostView,t),s}insert(e,t){const n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Ue(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],r=new Yo(t,t[6],t[3]);r.detach(r.indexOf(e))}}const o=this._adjustIndex(t);return function(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r{class e{}return e.__NG_ELEMENT_ID__=()=>ii(),e})();const ii=ri,si=new ee("Set Injector scope."),ai={},li={},ci=[];let ui=void 0;function di(){return void 0===ui&&(ui=new fe),ui}function hi(e,t=null,n=null,r){return new fi(e,n,t||di(),r)}class fi{constructor(e,t,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const o=[];t&&ge(t,n=>this.processProvider(n,e,t)),ge([e],e=>this.processInjectorType(e,[],o)),this.records.set(te,gi(void 0,this));const i=this.records.get(si);this.scope=null!=i?i.value:null,this.source=r||("object"==typeof e?null:D(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=ne,n=S.Default){this.assertNotDestroyed();const r=ae(this);try{if(!(n&S.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(o=e)||"object"==typeof o&&o instanceof ee)&&k(e);t=n&&this.injectableDefInScope(n)?gi(pi(e),ai):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&S.Self?di():this.parent).get(e,t=n&S.Optional&&t===ne?null:t)}catch(i){if("NullInjectorError"===i.name){if((i.ngTempTokenPath=i.ngTempTokenPath||[]).unshift(D(e)),r)throw i;return function(e,t,n,r){const o=e.ngTempTokenPath;throw t.__source&&o.unshift(t.__source),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=D(t);if(Array.isArray(t))o=t.map(D).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):D(r)))}o=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(re,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e.ngTempTokenPath=null,e}(i,e,"R3InjectorError",this.source)}throw i}finally{ae(r)}var o}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(D(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=F(e)))return!1;let r=I(e);const o=null==r&&e.ngModule||void 0,i=void 0===o?e:o,s=-1!==n.indexOf(i);if(void 0!==o&&(r=I(o)),null==r)return!1;if(null!=r.imports&&!s){let e;n.push(i);try{ge(r.imports,r=>{this.processInjectorType(r,t,n)&&(void 0===e&&(e=[]),e.push(r))})}finally{}if(void 0!==e)for(let t=0;tthis.processProvider(e,n,r||ci))}}this.injectorDefTypes.add(i),this.records.set(i,gi(r.factory,ai));const a=r.providers;if(null!=a&&!s){const t=e;ge(a,e=>this.processProvider(e,t,a))}return void 0!==o&&void 0!==e.providers}processProvider(e,t,n){let r=yi(e=F(e))?e:F(e&&e.provide);const o=function(e,t,n){return bi(e)?gi(void 0,e.useValue):gi(mi(e,t,n),ai)}(e,t,n);if(yi(e)||!0!==e.multi){const e=this.records.get(r);e&&void 0!==e.multi&&mr()}else{let t=this.records.get(r);t?void 0===t.multi&&mr():(t=gi(void 0,ai,!0),t.factory=()=>he(t.multi),this.records.set(r,t)),r=e,t.multi.push(e)}this.records.set(r,o)}hydrate(e,t){var n;return t.value===li?function(e){throw new Error(`Cannot instantiate cyclic dependency! ${e}`)}(D(e)):t.value===ai&&(t.value=li,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function pi(e){const t=k(e),n=null!==t?t.factory:Me(e);if(null!==n)return n;const r=I(e);if(null!==r)return r.factory;if(e instanceof ee)throw new Error(`Token ${D(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=ve(t,"?");throw new Error(`Can't resolve all parameters for ${D(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[j]||e[R]||e[N]&&e[N]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\n`+`This will become an error in v10. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function mi(e,t,n){let r=void 0;if(yi(e)){const t=F(e);return Me(t)||pi(t)}if(bi(e))r=()=>F(e.useValue);else if((o=e)&&o.useFactory)r=()=>e.useFactory(...he(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>ue(F(e.useExisting));else{const o=F(e&&(e.useClass||e.provide));if(o||function(e,t,n){let r="";throw e&&t&&(r=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${D(e)}'`+r)}(t,n,e),!function(e){return!!e.deps}(e))return Me(o)||pi(o);r=()=>new o(...he(e.deps))}var o;return r}function gi(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function bi(e){return null!==e&&"object"==typeof e&&oe in e}function yi(e){return"function"==typeof e}const vi=function(e,t,n){return function(e,t=null,n=null,r){const o=hi(e,t,n,r);return o._resolveInjectorDefTypes(),o}({name:n},t,e,n)};let _i=(()=>{class e{static create(e,t){return Array.isArray(e)?vi(e,t,""):vi(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=ne,e.NULL=new fe,e.\u0275prov=O({token:e,providedIn:"any",factory:()=>ue(te)}),e.__NG_ELEMENT_ID__=-1,e})();const wi=new ee("AnalyzeForEntryComponents");let Ci=new Map;const Si=new Set;function Ei(e){return"string"==typeof e?e:e.text()}function xi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;sa(Ze(e[r.index])).target:r.index;if(Xe(n)){let s=null;if(!a&&l&&(s=function(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;in?e[n]:null}"string"==typeof e&&(i+=2)}return null}(e,t,o,r.index)),null!==s)(s.__ngLastListenerFn__||s).__ngNextListenerFn__=i,s.__ngLastListenerFn__=i,d=!1;else{i=Xi(r,t,i,!1);const e=n.listen(f.name||p,o,i);u.push(i,e),c&&c.push(o,g,m,m+1)}}else i=Xi(r,t,i,!0),p.addEventListener(o,i,s),u.push(i),c&&c.push(o,g,m,s)}const h=r.outputs;let f;if(d&&null!==h&&(f=h[o])){const e=f.length;if(e)for(let n=0;n0;)t=t[15],e--;return t}(e,lt.lFrame.contextLView))[8]}(e)}function Zi(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let o=0;o=0}function is(e,t){return function(e,t,n,r){const o=ut(),i=dt(),s=function(e){const t=lt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+2,n}();if(i.firstUpdatePass&&function(e,t,n,r){const o=e.data;if(null===o[n+1]){const r=o[jt()+20],i=function(e,t){return t>=e.expandoStartIndex}(e,n);(function(e,t){return 0!=(16&e.flags)})(r)&&null===t&&!i&&(t=!1),t=function(e,t,n,r){const o=function(e){const t=lt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=t.residualClasses;if(null===o)0===t.classBindings&&(n=as(n=ss(null,e,t,n,!0),t.attrs,!0),i=null);else{const r=t.directiveStylingLast;if(-1===r||e[r]!==o)if(n=ss(o,e,t,n,!0),null===i){let n=function(e,t,n){const r=t.classBindings;if(0!==Lr(r))return e[Pr(r)]}(e,t);void 0!==n&&Array.isArray(n)&&(n=ss(null,e,t,n[1],!0),n=as(n,t.attrs,!0),function(e,t,n,r){e[Pr(t.classBindings)]=r}(e,t,0,n))}else i=function(e,t,n){let r=void 0;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)}else c=n;if(o)if(0!==l){const t=Pr(e[a+1]);e[r+1]=Rr(t,a),0!==t&&(e[t+1]=Mr(e[t+1],r)),e[a+1]=131071&e[a+1]|r<<17}else e[r+1]=Rr(a,0),0!==a&&(e[a+1]=Mr(e[a+1],r)),a=r;else e[r+1]=Rr(l,0),0===a?a=r:e[l+1]=Mr(e[l+1],r),l=r;u&&(e[r+1]=Dr(e[r+1])),rs(e,c,r,!0),rs(e,c,r,!1),function(e,t,n,r,o){const i=e.residualClasses;null!=i&&"string"==typeof t&&Ce(i,t)>=0&&(n[r+1]=Vr(n[r+1]))}(t,c,e,r),s=Rr(a,l),t.classBindings=s}(o,r,t,n,i)}}(i,e,s),t!==Tr&&$i(o,s,t)){let r;null==n&&(r=function(){const e=lt.lFrame;return null===e?null:e.currentSanitizer}())&&(n=r),function(e,t,n,r,o,i,s,a){if(3!==t.type)return;const l=e.data,c=l[a+1];cs(1==(1&c)?ls(l,t,n,o,Lr(c),!0):void 0)||(cs(i)||function(e){return 2==(2&e)}(c)&&(i=ls(l,null,n,o,a,!0)),function(e,t,n,r,o){const i=Xe(e);o?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r)}(r,0,Ke(jt(),n),o,i))}(i,i.data[jt()+20],o,o[11],e,o[s+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=D(kn(e)))),e}(t,n),0,s)}}(e,t,null),is}function ss(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const t=e[o],i=Array.isArray(t),l=i?t[1]:t,c=null===l;let u=n[o+1];u===Tr&&(u=c?ns:void 0);let d=c?we(u,r):l===r?u:void 0;if(i&&!cs(d)&&(d=we(t,r)),cs(d)&&(a=d,s))return a;const h=e[o+1];o=s?Pr(h):Lr(h)}if(null!==t){let e=i?t.residualClasses:t.residualStyles;null!=e&&(a=we(e,r))}return a}function cs(e){return void 0!==e}function us(e,t=""){const n=ut(),r=dt(),o=e+20,i=r.firstCreatePass?zr(r,n[6],e,3,null,null):r.data[o],s=n[o]=function(e,t){return Xe(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);Ho(r,n,s,i),pt(i,!1)}function ds(e){return hs("",e,""),ds}function hs(e,t,n){const r=ut(),o=Ri(r,e,t,n);return o!==Tr&&function(e,t,n){const r=Ke(t,e),o=e[11];Xe(o)?o.setValue(r,n):r.textContent=n}(r,jt(),o),hs}function fs(e,t,n){const r=ut();return $i(r,vt(),t)&&eo(dt(),Nt(),r,e,t,r[11],n,!0),fs}function ps(e,t){const n=nt(e)[1],r=n.data.length-1;Rt(n,{directiveStart:r,directiveEnd:r+1})}function ms(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const r=[e];for(;t;){let o=void 0;if(qe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");o=t.\u0275dir}if(o){if(n){r.push(o);const t=e;t.inputs=gs(e.inputs),t.declaredInputs=gs(e.declaredInputs),t.outputs=gs(e.outputs);const n=o.hostBindings;n&&vs(e,n);const i=o.viewQuery,s=o.contentQueries;if(i&&bs(e,i),s&&ys(e,s),x(e.inputs,o.inputs),x(e.declaredInputs,o.declaredInputs),x(e.outputs,o.outputs),qe(o)&&o.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(o.data.animation)}t.afterContentChecked=t.afterContentChecked||o.afterContentChecked,t.afterContentInit=e.afterContentInit||o.afterContentInit,t.afterViewChecked=e.afterViewChecked||o.afterViewChecked,t.afterViewInit=e.afterViewInit||o.afterViewInit,t.doCheck=e.doCheck||o.doCheck,t.onDestroy=e.onDestroy||o.onDestroy,t.onInit=e.onInit||o.onInit}const t=o.features;if(t)for(let r=0;r=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Bt(o.hostAttrs,n=Bt(n,o.hostAttrs))}}(r)}function gs(e){return e===xe?{}:e===Oe?[]:e}function bs(e,t){const n=e.viewQuery;e.viewQuery=n?(e,r)=>{t(e,r),n(e,r)}:t}function ys(e,t){const n=e.contentQueries;e.contentQueries=n?(e,r,o)=>{t(e,r,o),n(e,r,o)}:t}function vs(e,t){const n=e.hostBindings;e.hostBindings=n?(e,r)=>{t(e,r),n(e,r)}:t}class _s{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function ws(e){e.type.prototype.ngOnChanges&&(e.setInput=Cs,e.onChanges=function(){const e=Ss(this),t=e&&e.current;if(t){const n=e.previous;if(n===xe)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}})}function Cs(e,t,n,r){const o=Ss(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:xe,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],l=s[a];i[a]=new _s(l&&l.currentValue,t,s===xe),e[r]=t}function Ss(e){return e.__ngSimpleChanges__||null}function Es(e,t,n,r,o){if(e=F(e),Array.isArray(e))for(let i=0;i>16;if(yi(e)||!e.multi){const r=new Ft(l,o,Di),f=Ts(a,t,o?u:u+h,d);-1===f?(ln(rn(c,s),i,a),xs(i,e,t.length),t.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=65536),n.push(r),s.push(r)):(n[f]=r,s[f]=r)}else{const f=Ts(a,t,u+h,d),p=Ts(a,t,u,u+h),m=f>=0&&n[f],g=p>=0&&n[p];if(o&&!g||!o&&!m){ln(rn(c,s),i,a);const u=function(e,t,n,r,o){const i=new Ft(e,n,Di);return i.multi=[],i.index=t,i.componentProviders=0,Os(i,o,r&&!n),i}(o?As:ks,n.length,o,r,l);!o&&g&&(n[p].providerFactory=u),xs(i,e,t.length,0),t.push(a),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=65536),n.push(u),s.push(u)}else xs(i,e,f>-1?f:p,Os(n[o?p:f],l,!o&&r));!o&&r&&g&&n[p].componentProviders++}}}function xs(e,t,n,r){const o=yi(t);if(o||t.useClass){const i=(t.useClass||t).prototype.ngOnDestroy;if(i){const s=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const e=s.indexOf(n);-1===e?s.push(n,[r,i]):s[e+1].push(r,i)}else s.push(n,i)}}}function Os(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Ts(e,t,n,r){for(let o=n;o{n.providersResolver=(n,r)=>function(e,t,n){const r=dt();if(r.firstCreatePass){const o=qe(e);Es(n,r.data,r.blueprint,o,!0),Es(t,r.data,r.blueprint,o,!1)}}(n,r?r(e):e,t)}}ws.ngInherit=!0;class $s{}class Ns{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${D(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let Rs=(()=>{class e{}return e.NULL=new Ns,e})(),Ps=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Ds(e),e})();const Ds=function(e){return ei(e,ft(),ut())};class Ls{}const Ms=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let Vs=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Fs(),e})();const Fs=function(){const e=ut(),t=tt(ft().index,e);return function(e){const t=e[11];if(Xe(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Fe(t)?t:e)};let Us=(()=>{class e{}return e.\u0275prov=O({token:e,providedIn:"root",factory:()=>null}),e})();class Hs{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const zs=new Hs("9.1.9");class Bs{constructor(){}supports(e){return Ii(e)}create(e){return new Gs(e)}}const qs=(e,t)=>t;class Gs{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||qs}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,o=null;for(;t||n;){const i=!n||t&&t.currentIndex{r=this._trackByFn(t,e),null!==o&&ki(o.trackById,r)?(i&&(o=this._verifyReinsertion(o,e,r,t)),ki(o.item,e)||this._addIdentityChange(o,e)):(o=this._mismatch(o,e,r,t),i=!0),o=o._next,t++}),this.length=t;return this._truncate(o),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 o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(ki(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(ki(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new Ws(t,n),o,r),e}_verifyReinsertion(e,t,n,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,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,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._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 Xs),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 Xs),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 Ws{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 Js{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)&&ki(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 Xs{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Js,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 Qs(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{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,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}const n=new Ys(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){ki(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 Ys{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 ea=(()=>{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 C,new _]]}}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.\u0275prov=O({token:e,providedIn:"root",factory:()=>new e([new Bs])}),e})(),ta=(()=>{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 C,new _]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=O({token:e,providedIn:"root",factory:()=>new e([new Zs])}),e})();const na=[new Zs],ra=new ea([new Bs]),oa=new ta(na);let ia=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>sa(e,Ps),e})();const sa=function(e,t){return ti(e,t,ft(),ut())};let aa=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>la(e,Ps),e})();const la=function(e,t){return ni(e,t,ft(),ut())},ca={};class ua extends Rs{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Le(e);return new fa(t,this.ngModule)}}function da(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const ha=new ee("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Kt});class fa extends $s{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Or).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return da(this.componentDef.inputs)}get outputs(){return da(this.componentDef.outputs)}create(e,t,n,r){const o=(r=r||this.ngModule)?function(e,t){return{get:(n,r,o)=>{const i=e.get(n,ca,o);return i!==ca||r===ca?i:t.get(n,r,o)}}}(e,r.injector):e,i=o.get(Ls,Qe),s=o.get(Us,null),a=i.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(e,t,n){if(Xe(e))return e.selectRootElement(t,n===Ee.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(a,n,this.componentDef.encapsulation):Ur(l,i.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,d="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),h={components:[],scheduler:Kt,clean:Co,playerHandler:null,flags:0},f=Zr(0,-1,null,1,0,null,null,null,null,null),p=Hr(null,f,h,u,null,null,i,a,s,o);let m,g;xt(p,null);try{const e=function(e,t,n,r,o,i){const s=n[1];n[20]=e;const a=zr(s,null,0,3,null,null),l=a.mergedAttrs=t.hostAttrs;null!==l&&(xi(a,l,!0),null!==e&&(Ut(o,e,l),null!==a.classes&&Jo(o,e,a.classes),null!==a.styles&&Wo(o,e,a.styles)));const c=r.createRenderer(e,t),u=Hr(n,Qr(t),null,t.onPush?64:16,n[20],a,r,c,void 0);return s.firstCreatePass&&(ln(rn(a,n),s,t.type),so(s,a),lo(a,n.length,1)),bo(n,u),n[20]=u}(c,this.componentDef,p,i,a);if(c)if(n)Ut(a,c,["ng-version",zs.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let r=1,o=2;for(;r0&&Jo(a,c,t.join(" "))}if(g=et(f,0),void 0!==t){const e=g.projection=[];for(let n=0;ne(s,t)),t.contentQueries&&t.contentQueries(1,s,n.length-1);const a=ft();if(i.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){$t(a.index-20);const e=n[1];no(e,t),ro(e,n,t.hostVars),oo(t,s)}return s}(e,this.componentDef,p,h,[ps]),Br(f,p,null)}finally{It()}const b=new pa(this.componentType,m,ei(Ps,g,p),p,g);return n&&!d||(f.node.child=g),b}}class pa extends class{}{constructor(e,t,n,r,o){super(),this.location=n,this._rootLView=r,this._tNode=o,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new Qo(r),function(e,t,n,r){let o=e.node;null==o&&(e.node=o=Kr(0,null,2,-1,null,null)),r[6]=o}(r[1],0,0,r),this.componentType=e}get injector(){return new gn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const ma=void 0;var ga=["en",[["a","p"],["AM","PM"],ma],[["AM","PM"],ma,ma],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],ma,[["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"]],ma,[["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}",ma,"{1} 'at' {0}",ma],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let ba={};function ya(e,t,n){"string"!=typeof t&&(n=t,t=e[Sa.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),ba[t]=e,n&&(ba[t][Sa.ExtraData]=n)}function va(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Ca(t);if(n)return n;const r=t.split("-")[0];if(n=Ca(r),n)return n;if("en"===r)return ga;throw new Error(`Missing locale data for the locale "${e}".`)}function _a(e){return va(e)[Sa.CurrencyCode]||null}function wa(e){return va(e)[Sa.PluralCase]}function Ca(e){return e in ba||(ba[e]=G.ng&&G.ng.common&&G.ng.common.locales&&G.ng.common.locales[e]),ba[e]}const Sa=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.Directionality]="Directionality",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}();let Ea="en-US";function xa(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(Ea=e.toLowerCase().replace(/_/g,"-"))}const Oa=new Map;class Ta extends pe{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ua(this);const n=Ve(e),r=e[Z]||null;r&&xa(r),this._bootstrapComponents=Yt(n.bootstrap),this._r3Injector=hi(e,t,[{provide:pe,useValue:this},{provide:Rs,useValue:this.componentFactoryResolver}],D(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=_i.THROW_IF_NOT_FOUND,n=S.Default){return e===_i||e===pe||e===te?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class ka extends me{constructor(e){super(),this.moduleType=e,null!==Ve(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${D(t)} vs ${D(t.name)}`)})(e,Oa.get(e),t),Oa.set(e,t)}let n=t.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(t=>e(t))}(e)}create(e){return new Ta(this.moduleType,e)}}function Aa(e,t){const n=dt();let r;const o=e+20;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}throw new Error(`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=Me(r.type)),s=le(Di),a=tn(!1),l=i();return tn(a),le(s),function(e,t,n,r){const o=n+20;o>=e.data.length&&(e.data[o]=null,e.blueprint[o]=null),t[o]=r}(n,ut(),e,l),l}function Ia(e,t,n){const r=ut(),o=function(e,t){return e[t+20]}(r,e);return function(e,t){return Ai.isWrapped(t)&&(t=Ai.unwrap(t),e[lt.lFrame.bindingIndex]=Tr),t}(r,function(e,t){return e[1].data[t+20].pure}(r,e)?function(e,t,n,r,o,i){const s=t+n;return $i(e,s,o)?function(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function(e,t){const n=e[t];return n===Tr?void 0:n}(e,s+1)}(r,function(){const e=lt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),t,o.transform,n,o):o.transform(n))}class ja extends r.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,i=e=>null,s=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(i=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(s=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(i=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(s=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(r,i,s);return e instanceof o.a&&e.add(a),a}}function $a(){return this._results[Ti()]()}class Na{constructor(){this.dirty=!0,this._results=[],this.changes=new ja,this.length=0;const e=Ti(),t=Na.prototype;t[e]||(t[e]=$a)}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;r0)o.push(a[t/2]);else{const i=s[t+1],a=n[-r];for(let t=10;t{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(ue(Qa,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const Ka=new ee("AppId"),Ya={provide:Ka,useFactory:function(){return`${el()}${el()}${el()}`},deps:[]};function el(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const tl=new ee("Platform Initializer"),nl=new ee("Platform ID"),rl=new ee("appBootstrapListener");let ol=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const il=new ee("LocaleId"),sl=new ee("DefaultCurrencyCode");class al{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const ll=function(e){return new ka(e)},cl=ll,ul=function(e){return Promise.resolve(ll(e))},dl=function(e){const t=ll(e),n=Yt(Ve(e).declarations).reduce((e,t)=>{const n=Le(t);return n&&e.push(new fa(n)),e},[]);return new al(t,n)},hl=dl,fl=function(e){return Promise.resolve(dl(e))};let pl=(()=>{class e{constructor(){this.compileModuleSync=cl,this.compileModuleAsync=ul,this.compileModuleAndAllComponentsSync=hl,this.compileModuleAndAllComponentsAsync=fl}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const ml=new ee("compilerOptions"),gl=(()=>Promise.resolve(0))();function bl(e){"undefined"==typeof Zone?gl.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class yl{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ja(!1),this.onMicrotaskEmpty=new ja(!1),this.onStable=new ja(!1),this.onError=new ja(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=t,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=G.requestAnimationFrame,t=G.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(G,()=>{e.lastRequestAnimationFrameId=-1,Cl(e),wl(e)}),Cl(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,r,o,i,s,a)=>{try{return Sl(e),n.invokeTask(o,i,s,a)}finally{t&&"eventTask"===i.type&&t(),El(e)}},onInvoke:(t,n,r,o,i,s,a)=>{try{return Sl(e),t.invoke(r,o,i,s,a)}finally{El(e)}},onHasTask:(t,n,r,o)=>{t.hasTask(r,o),n===r&&("microTask"==o.change?(e._hasPendingMicrotasks=o.microTask,Cl(e),wl(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:(t,n,r,o)=>(t.handleError(r,o),e.runOutsideAngular(()=>e.onError.emit(o)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!yl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(yl.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 o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,_l,vl,vl);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function vl(){}const _l={};function wl(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 Cl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Sl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function El(e){e._nesting--,wl(e)}class xl{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ja,this.onMicrotaskEmpty=new ja,this.onStable=new ja,this.onError=new ja}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}}let Ol=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{yl.assertNotInAngularZone(),bl(()=>{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())bl(()=>{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[]}}return e.\u0275fac=function(t){return new(t||e)(ue(yl))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})(),Tl=(()=>{class e{constructor(){this._applications=new Map,jl.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 jl.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();class kl{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function Al(e){jl=e}let Il,jl=new kl,$l=function(e,t,n){const r=e.get(ml,[]).concat(t),o=new ka(n);if(0===Ci.size)return Promise.resolve(o);const i=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}(r.map(e=>e.providers));if(0===i.length)return Promise.resolve(o);const s=function(){const e=G.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),a=_i.create({providers:i}).get(s.ResourceLoader);return function(e){const t=[],n=new Map;function r(e){let t=n.get(e);if(!t){const r=(e=>Promise.resolve(a.get(e)))(e);n.set(e,t=r.then(Ei))}return t}return Ci.forEach((e,n)=>{const o=[];e.templateUrl&&o.push(r(e.templateUrl).then(t=>{e.template=t}));const i=e.styleUrls,s=e.styles||(e.styles=[]),a=e.styles.length;i&&i.forEach((t,n)=>{s.push(""),o.push(r(t).then(r=>{s[a+n]=r,i.splice(i.indexOf(t),1),0==i.length&&(e.styleUrls=void 0)}))});const l=Promise.all(o).then(()=>function(e){Si.delete(e)}(n));t.push(l)}),Ci=new Map,Promise.all(t).then(()=>{})}().then(()=>o)};const Nl=new ee("AllowMultipleToken");class Rl{constructor(e,t){this.name=e,this.token=t}}function Pl(e,t,n=[]){const r=`Platform: ${t}`,o=new ee(r);return(t=[])=>{let i=Dl();if(!i||i.injector.get(Nl,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{const e=n.concat(t).concat({provide:o,useValue:!0},{provide:si,useValue:"platform"});!function(e){if(Il&&!Il.destroyed&&!Il.injector.get(Nl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Il=e.get(Ll);const t=e.get(tl,null);t&&t.forEach(e=>e())}(_i.create({providers:e,name:r}))}return function(e){const t=Dl();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}(o)}}function Dl(){return Il&&!Il.destroyed?Il:null}let Ll=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new xl:("zone.js"===e?void 0:e)||new yl({enableLongStackTrace:Mn(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),r=[{provide:yl,useValue:n}];return n.run(()=>{const t=_i.create({providers:r,parent:this.injector,name:e.moduleType.name}),o=e.create(t),i=o.injector.get(wn,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(()=>Fl(this._modules,o)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{i.handleError(e)}})),function(e,t,n){try{const r=n();return qi(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(i,n,()=>{const e=o.injector.get(Za);return e.runInitializers(),e.donePromise.then(()=>(xa(o.injector.get(il,"en-US")||"en-US"),this._moduleDoBootstrap(o),o))})})}bootstrapModule(e,t=[]){const n=Ml({},t);return $l(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Vl);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${D(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(ue(_i))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function Ml(e,t){return Array.isArray(t)?t.reduce(Ml,e):Object.assign(Object.assign({},e),t)}let Vl=(()=>{class e{constructor(e,t,n,r,o,c){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=c,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Mn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const d=new i.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),h=new i.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{yl.assertNotInAngularZone(),bl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{yl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return Object(s.a)(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof i.a?e[0]:Object(a.a)(t)(Object(l.a)(e,n))}(d,h.pipe(e=>{return u()((t=g,function(e){let n;n="function"==typeof t?t:function(){return t};const r=Object.create(e,p);return r.source=e,r.subjectFactory=n,r})(e));var t}))}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 $s?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(pe),o=n.create(_i.NULL,[],t||n.selector,r);o.onDestroy(()=>{this._unloadComponent(o)});const i=o.injector.get(Ol,null);return i&&o.injector.get(Tl).registerApplication(o.location.nativeElement,i),this._loadComponent(o),Mn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Fl(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(rl,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Fl(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(ue(yl),ue(ol),ue(_i),ue(wn),ue(Rs),ue(Za))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function Fl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Ul{}class Hl{}const zl={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Bl=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||zl}load(e){return 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=>ql(e,t,r)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,r]=e.split("#"),o="NgFactory";return void 0===r&&(r="default",o=""),n("zn8P")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[r+o]).then(e=>ql(e,t,r))}}return e.\u0275fac=function(t){return new(t||e)(ue(pl),ue(Hl,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function ql(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const Gl=function(e){return null},Wl=Pl(null,"core",[{provide:nl,useValue:"unknown"},{provide:Ll,deps:[_i]},{provide:Tl,deps:[]},{provide:ol,deps:[]}]),Jl=[{provide:Vl,useClass:Vl,deps:[yl,ol,_i,wn,Rs,Za]},{provide:ha,deps:[yl],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Za,useClass:Za,deps:[[new _,Qa]]},{provide:pl,useClass:pl,deps:[]},Ya,{provide:ea,useFactory:function(){return ra},deps:[]},{provide:ta,useFactory:function(){return oa},deps:[]},{provide:il,useFactory:function(e){return xa(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new v(il),new _,new C]]},{provide:sl,useValue:"USD"}];let Xl=(()=>{class e{constructor(e){}}return e.\u0275mod=$e({type:e}),e.\u0275inj=T({factory:function(t){return new(t||e)(ue(Vl))},providers:Jl}),e})()},flj8:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));class r{static API_ENDPOINT(){return"https://ilaw03h998.execute-api.eu-central-1.amazonaws.com/prod"}static APIKEY(){return"os3ZiMezMT6ynx7mGODRG32DUGkERadM4HrvAM0L"}static httpOptions(){return{}}static MailChinpKEY(){return"82666041a504a5fc3b0f0b20e33b0397-us10"}static getLanguages(){return[{code:"es",name:"Spanish"},{code:"de",name:"German"},{code:"fr",name:"French"},{code:"it",name:"Italian"},{code:"nl",name:"Dutch"},{code:"pt",name:"Portuguese"},{code:"en",name:"English"}]}static getCountries(){return[{name:"United States",dial_code:"+1",code:"US"},{name:"Israel",dial_code:"+972",code:"IL"},{name:"Afghanistan",dial_code:"+93",code:"AF"},{name:"Albania",dial_code:"+355",code:"AL"},{name:"Algeria",dial_code:"+213",code:"DZ"},{name:"AmericanSamoa",dial_code:"+1 684",code:"AS"},{name:"Andorra",dial_code:"+376",code:"AD"},{name:"Angola",dial_code:"+244",code:"AO"},{name:"Anguilla",dial_code:"+1 264",code:"AI"},{name:"Antigua and Barbuda",dial_code:"+1268",code:"AG"},{name:"Argentina",dial_code:"+54",code:"AR"},{name:"Armenia",dial_code:"+374",code:"AM"},{name:"Aruba",dial_code:"+297",code:"AW"},{name:"Australia",dial_code:"+61",code:"AU"},{name:"Austria",dial_code:"+43",code:"AT"},{name:"Azerbaijan",dial_code:"+994",code:"AZ"},{name:"Bahamas",dial_code:"+1 242",code:"BS"},{name:"Bahrain",dial_code:"+973",code:"BH"},{name:"Bangladesh",dial_code:"+880",code:"BD"},{name:"Barbados",dial_code:"+1 246",code:"BB"},{name:"Belarus",dial_code:"+375",code:"BY"},{name:"Belgium",dial_code:"+32",code:"BE"},{name:"Belize",dial_code:"+501",code:"BZ"},{name:"Benin",dial_code:"+229",code:"BJ"},{name:"Bermuda",dial_code:"+1 441",code:"BM"},{name:"Bhutan",dial_code:"+975",code:"BT"},{name:"Bosnia and Herzegovina",dial_code:"+387",code:"BA"},{name:"Botswana",dial_code:"+267",code:"BW"},{name:"Brazil",dial_code:"+55",code:"BR"},{name:"British Indian Ocean Territory",dial_code:"+246",code:"IO"},{name:"Bulgaria",dial_code:"+359",code:"BG"},{name:"Burkina Faso",dial_code:"+226",code:"BF"},{name:"Burundi",dial_code:"+257",code:"BI"},{name:"Cambodia",dial_code:"+855",code:"KH"},{name:"Cameroon",dial_code:"+237",code:"CM"},{name:"Canada",dial_code:"+1",code:"CA"},{name:"Cape Verde",dial_code:"+238",code:"CV"},{name:"Cayman Islands",dial_code:"+ 345",code:"KY"},{name:"Central African Republic",dial_code:"+236",code:"CF"},{name:"Chad",dial_code:"+235",code:"TD"},{name:"Chile",dial_code:"+56",code:"CL"},{name:"China",dial_code:"+86",code:"CN"},{name:"Christmas Island",dial_code:"+61",code:"CX"},{name:"Colombia",dial_code:"+57",code:"CO"},{name:"Comoros",dial_code:"+269",code:"KM"},{name:"Congo",dial_code:"+242",code:"CG"},{name:"Cook Islands",dial_code:"+682",code:"CK"},{name:"Costa Rica",dial_code:"+506",code:"CR"},{name:"Croatia",dial_code:"+385",code:"HR"},{name:"Cuba",dial_code:"+53",code:"CU"},{name:"Cyprus",dial_code:"+537",code:"CY"},{name:"Czech Republic",dial_code:"+420",code:"CZ"},{name:"Denmark",dial_code:"+45",code:"DK"},{name:"Djibouti",dial_code:"+253",code:"DJ"},{name:"Dominica",dial_code:"+1 767",code:"DM"},{name:"Dominican Republic",dial_code:"+1 849",code:"DO"},{name:"Ecuador",dial_code:"+593",code:"EC"},{name:"Egypt",dial_code:"+20",code:"EG"},{name:"El Salvador",dial_code:"+503",code:"SV"},{name:"Equatorial Guinea",dial_code:"+240",code:"GQ"},{name:"Eritrea",dial_code:"+291",code:"ER"},{name:"Estonia",dial_code:"+372",code:"EE"},{name:"Ethiopia",dial_code:"+251",code:"ET"},{name:"Faroe Islands",dial_code:"+298",code:"FO"},{name:"Fiji",dial_code:"+679",code:"FJ"},{name:"Finland",dial_code:"+358",code:"FI"},{name:"France",dial_code:"+33",code:"FR"},{name:"French Guiana",dial_code:"+594",code:"GF"},{name:"French Polynesia",dial_code:"+689",code:"PF"},{name:"Gabon",dial_code:"+241",code:"GA"},{name:"Gambia",dial_code:"+220",code:"GM"},{name:"Georgia",dial_code:"+995",code:"GE"},{name:"Germany",dial_code:"+49",code:"DE"},{name:"Ghana",dial_code:"+233",code:"GH"},{name:"Gibraltar",dial_code:"+350",code:"GI"},{name:"Greece",dial_code:"+30",code:"GR"},{name:"Greenland",dial_code:"+299",code:"GL"},{name:"Grenada",dial_code:"+1 473",code:"GD"},{name:"Guadeloupe",dial_code:"+590",code:"GP"},{name:"Guam",dial_code:"+1 671",code:"GU"},{name:"Guatemala",dial_code:"+502",code:"GT"},{name:"Guinea",dial_code:"+224",code:"GN"},{name:"Guinea-Bissau",dial_code:"+245",code:"GW"},{name:"Guyana",dial_code:"+595",code:"GY"},{name:"Haiti",dial_code:"+509",code:"HT"},{name:"Honduras",dial_code:"+504",code:"HN"},{name:"Hungary",dial_code:"+36",code:"HU"},{name:"Iceland",dial_code:"+354",code:"IS"},{name:"India",dial_code:"+91",code:"IN"},{name:"Indonesia",dial_code:"+62",code:"ID"},{name:"Iraq",dial_code:"+964",code:"IQ"},{name:"Ireland",dial_code:"+353",code:"IE"},{name:"Israel",dial_code:"+972",code:"IL"},{name:"Italy",dial_code:"+39",code:"IT"},{name:"Jamaica",dial_code:"+1 876",code:"JM"},{name:"Japan",dial_code:"+81",code:"JP"},{name:"Jordan",dial_code:"+962",code:"JO"},{name:"Kazakhstan",dial_code:"+7 7",code:"KZ"},{name:"Kenya",dial_code:"+254",code:"KE"},{name:"Kiribati",dial_code:"+686",code:"KI"},{name:"Kuwait",dial_code:"+965",code:"KW"},{name:"Kyrgyzstan",dial_code:"+996",code:"KG"},{name:"Latvia",dial_code:"+371",code:"LV"},{name:"Lebanon",dial_code:"+961",code:"LB"},{name:"Lesotho",dial_code:"+266",code:"LS"},{name:"Liberia",dial_code:"+231",code:"LR"},{name:"Liechtenstein",dial_code:"+423",code:"LI"},{name:"Lithuania",dial_code:"+370",code:"LT"},{name:"Luxembourg",dial_code:"+352",code:"LU"},{name:"Madagascar",dial_code:"+261",code:"MG"},{name:"Malawi",dial_code:"+265",code:"MW"},{name:"Malaysia",dial_code:"+60",code:"MY"},{name:"Maldives",dial_code:"+960",code:"MV"},{name:"Mali",dial_code:"+223",code:"ML"},{name:"Malta",dial_code:"+356",code:"MT"},{name:"Marshall Islands",dial_code:"+692",code:"MH"},{name:"Martinique",dial_code:"+596",code:"MQ"},{name:"Mauritania",dial_code:"+222",code:"MR"},{name:"Mauritius",dial_code:"+230",code:"MU"},{name:"Mayotte",dial_code:"+262",code:"YT"},{name:"Mexico",dial_code:"+52",code:"MX"},{name:"Monaco",dial_code:"+377",code:"MC"},{name:"Mongolia",dial_code:"+976",code:"MN"},{name:"Montenegro",dial_code:"+382",code:"ME"},{name:"Montserrat",dial_code:"+1664",code:"MS"},{name:"Morocco",dial_code:"+212",code:"MA"},{name:"Myanmar",dial_code:"+95",code:"MM"},{name:"Namibia",dial_code:"+264",code:"NA"},{name:"Nauru",dial_code:"+674",code:"NR"},{name:"Nepal",dial_code:"+977",code:"NP"},{name:"Netherlands",dial_code:"+31",code:"NL"},{name:"Netherlands Antilles",dial_code:"+599",code:"AN"},{name:"New Caledonia",dial_code:"+687",code:"NC"},{name:"New Zealand",dial_code:"+64",code:"NZ"},{name:"Nicaragua",dial_code:"+505",code:"NI"},{name:"Niger",dial_code:"+227",code:"NE"},{name:"Nigeria",dial_code:"+234",code:"NG"},{name:"Niue",dial_code:"+683",code:"NU"},{name:"Norfolk Island",dial_code:"+672",code:"NF"},{name:"Northern Mariana Islands",dial_code:"+1 670",code:"MP"},{name:"Norway",dial_code:"+47",code:"NO"},{name:"Oman",dial_code:"+968",code:"OM"},{name:"Pakistan",dial_code:"+92",code:"PK"},{name:"Palau",dial_code:"+680",code:"PW"},{name:"Panama",dial_code:"+507",code:"PA"},{name:"Papua New Guinea",dial_code:"+675",code:"PG"},{name:"Paraguay",dial_code:"+595",code:"PY"},{name:"Peru",dial_code:"+51",code:"PE"},{name:"Philippines",dial_code:"+63",code:"PH"},{name:"Poland",dial_code:"+48",code:"PL"},{name:"Portugal",dial_code:"+351",code:"PT"},{name:"Puerto Rico",dial_code:"+1 939",code:"PR"},{name:"Qatar",dial_code:"+974",code:"QA"},{name:"Romania",dial_code:"+40",code:"RO"},{name:"Rwanda",dial_code:"+250",code:"RW"},{name:"Samoa",dial_code:"+685",code:"WS"},{name:"San Marino",dial_code:"+378",code:"SM"},{name:"Saudi Arabia",dial_code:"+966",code:"SA"},{name:"Senegal",dial_code:"+221",code:"SN"},{name:"Serbia",dial_code:"+381",code:"RS"},{name:"Seychelles",dial_code:"+248",code:"SC"},{name:"Sierra Leone",dial_code:"+232",code:"SL"},{name:"Singapore",dial_code:"+65",code:"SG"},{name:"Slovakia",dial_code:"+421",code:"SK"},{name:"Slovenia",dial_code:"+386",code:"SI"},{name:"Solomon Islands",dial_code:"+677",code:"SB"},{name:"South Africa",dial_code:"+27",code:"ZA"},{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",code:"GS"},{name:"Spain",dial_code:"+34",code:"ES"},{name:"Sri Lanka",dial_code:"+94",code:"LK"},{name:"Sudan",dial_code:"+249",code:"SD"},{name:"Suriname",dial_code:"+597",code:"SR"},{name:"Swaziland",dial_code:"+268",code:"SZ"},{name:"Sweden",dial_code:"+46",code:"SE"},{name:"Switzerland",dial_code:"+41",code:"CH"},{name:"Tajikistan",dial_code:"+992",code:"TJ"},{name:"Thailand",dial_code:"+66",code:"TH"},{name:"Togo",dial_code:"+228",code:"TG"},{name:"Tokelau",dial_code:"+690",code:"TK"},{name:"Tonga",dial_code:"+676",code:"TO"},{name:"Trinidad and Tobago",dial_code:"+1 868",code:"TT"},{name:"Tunisia",dial_code:"+216",code:"TN"},{name:"Turkey",dial_code:"+90",code:"TR"},{name:"Turkmenistan",dial_code:"+993",code:"TM"},{name:"Turks and Caicos Islands",dial_code:"+1 649",code:"TC"},{name:"Tuvalu",dial_code:"+688",code:"TV"},{name:"Uganda",dial_code:"+256",code:"UG"},{name:"Ukraine",dial_code:"+380",code:"UA"},{name:"United Arab Emirates",dial_code:"+971",code:"AE"},{name:"United Kingdom",dial_code:"+44",code:"GB"},{name:"Uruguay",dial_code:"+598",code:"UY"},{name:"Uzbekistan",dial_code:"+998",code:"UZ"},{name:"Vanuatu",dial_code:"+678",code:"VU"},{name:"Wallis and Futuna",dial_code:"+681",code:"WF"},{name:"Yemen",dial_code:"+967",code:"YE"},{name:"Zambia",dial_code:"+260",code:"ZM"},{name:"Zimbabwe",dial_code:"+263",code:"ZW"},{name:"land Islands",dial_code:"",code:"AX"},{name:"Antarctica",dial_code:null,code:"AQ"},{name:"Bolivia, Plurinational State of",dial_code:"+591",code:"BO"},{name:"Brunei Darussalam",dial_code:"+673",code:"BN"},{name:"Cocos (Keeling) Islands",dial_code:"+61",code:"CC"},{name:"Congo, The Democratic Republic of the",dial_code:"+243",code:"CD"},{name:"Cote d'Ivoire",dial_code:"+225",code:"CI"},{name:"Falkland Islands (Malvinas)",dial_code:"+500",code:"FK"},{name:"Guernsey",dial_code:"+44",code:"GG"},{name:"Holy See (Vatican City State)",dial_code:"+379",code:"VA"},{name:"Hong Kong",dial_code:"+852",code:"HK"},{name:"Iran, Islamic Republic of",dial_code:"+98",code:"IR"},{name:"Isle of Man",dial_code:"+44",code:"IM"},{name:"Jersey",dial_code:"+44",code:"JE"},{name:"Korea, Democratic People's Republic of",dial_code:"+850",code:"KP"},{name:"Korea, Republic of",dial_code:"+82",code:"KR"},{name:"Lao People's Democratic Republic",dial_code:"+856",code:"LA"},{name:"Libyan Arab Jamahiriya",dial_code:"+218",code:"LY"},{name:"Macao",dial_code:"+853",code:"MO"},{name:"Macedonia, The Former Yugoslav Republic of",dial_code:"+389",code:"MK"},{name:"Micronesia, Federated States of",dial_code:"+691",code:"FM"},{name:"Moldova, Republic of",dial_code:"+373",code:"MD"},{name:"Mozambique",dial_code:"+258",code:"MZ"},{name:"Palestinian Territory, Occupied",dial_code:"+970",code:"PS"},{name:"Pitcairn",dial_code:"+872",code:"PN"},{name:"R\xe9union",dial_code:"+262",code:"RE"},{name:"Russia",dial_code:"+7",code:"RU"},{name:"Saint Barth\xe9lemy",dial_code:"+590",code:"BL"},{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",code:"SH"},{name:"Saint Kitts and Nevis",dial_code:"+1 869",code:"KN"},{name:"Saint Lucia",dial_code:"+1 758",code:"LC"},{name:"Saint Martin",dial_code:"+590",code:"MF"},{name:"Saint Pierre and Miquelon",dial_code:"+508",code:"PM"},{name:"Saint Vincent and the Grenadines",dial_code:"+1 784",code:"VC"},{name:"Sao Tome and Principe",dial_code:"+239",code:"ST"},{name:"Somalia",dial_code:"+252",code:"SO"},{name:"Svalbard and Jan Mayen",dial_code:"+47",code:"SJ"},{name:"Syrian Arab Republic",dial_code:"+963",code:"SY"},{name:"Taiwan, Province of China",dial_code:"+886",code:"TW"},{name:"Tanzania, United Republic of",dial_code:"+255",code:"TZ"},{name:"Timor-Leste",dial_code:"+670",code:"TL"},{name:"Venezuela, Bolivarian Republic of",dial_code:"+58",code:"VE"},{name:"Viet Nam",dial_code:"+84",code:"VN"},{name:"Virgin Islands, British",dial_code:"+1 284",code:"VG"},{name:"Virgin Islands, U.S.",dial_code:"+1 340",code:"VI"}]}}var o=n("2Vo4"),i=n("tk/3"),s=n("fXoL");let a=(()=>{class e{constructor(e){this.http=e,this.authState=new o.a(!1),this.currentUser=new o.a(null)}init(){}getCurrentUser(){return this.currentUser.value}isLoggedIn(){return null!=this.currentUser.value}isAuthenticated(){return this.authState.value}createAccount(e,t,n,o,i=!1){return new Promise((s,a)=>{JSON.stringify(e),o||(o="NONE");let l={license:{},user:e};switch(t){case"Trial":l.license={email:e.email,status:"Trial",comment:"Trial account",groupId:"systemicvr"};break;case"PayPUse":l.license={email:e.email,status:"PayPUse",comment:"PayPerUse account",groupId:"systemicvr"},l.timeLeft=n;break;case"Monthly":l.license={email:e.email,status:"Monthly",comment:"Monthly account",groupId:"systemicvr"};break;case"BHI":l.license={email:e.email,status:"Course",comment:"BHI account",groupId:"bhi-1",courseCode:o},l.type="BHI",l.incorrectCourse=i;break;case"QANTA":l.license={email:e.email,status:"Course",comment:"QANTA account",groupId:"qanta",courseCode:o},l.type="QANTA",l.incorrectCourse=i;break;case"SISTEMIA":l.license={email:e.email,status:"Course",comment:"Sistemia account",groupId:"sistemia",courseCode:o},l.type="SISTEMIA",l.incorrectCourse=i;break;case"THETRUETALENT":l.license={email:e.email,status:"Course",comment:"TheTrueTalentTeam account",groupId:"thetruetalentteam",courseCode:o},l.type="THETRUETALENT",l.incorrectCourse=i;break;case"INTAKA":l.license={email:e.email,status:"Course",comment:"INTAKA account",groupId:"intaka",courseCode:o},l.type="INTAKA",l.incorrectCourse=i;break;case"FCINDIA":l.license={email:e.email,status:"Course",comment:"FCINDIA account",groupId:"fcindia",courseCode:o},l.type="FCINDIA",l.incorrectCourse=i;break;case"Demo":l.license={email:e.email,status:"Demo",comment:"Trial Demos account",groupId:"systemicvr"}}this.doPost(JSON.stringify(l),r.API_ENDPOINT()+"/account").then(e=>{s(e||!1)})})}updateAccountToBuy(e,t,n,o){return t.courseCode="NONE",new Promise((i,s)=>{let a={license:t,user:e};"BHI"==n?(a.type="BHI",a.license.groupId="bhi-1"):a.license.groupId="systemicvr",o&&(a.timeLeft=o),a.license.comment="License updated to "+t.status,this.doPut(JSON.stringify(a),r.API_ENDPOINT()+"/account").then(e=>{i(!!e)})})}requestUpdatePass(e){return new Promise((t,n)=>{this.doPut("",r.API_ENDPOINT()+"/requestPassword/"+e).then(e=>{t(!!e)})})}sendChangePass(e,t,n){return new Promise((o,i)=>{this.doPut(JSON.stringify({email:e,newPassword:n,token:t}),r.API_ENDPOINT()+"/password/"+e).then(e=>{o(!!e)})})}getAccount(e,t){let n={email:e,password:t};return new Promise((t,o)=>{this.doPost(JSON.stringify(n),r.API_ENDPOINT()+"/accountInfo/"+e).then(e=>{e.result||t(null),t(e.result)})})}buySessions(e,t){return new Promise((n,o)=>{var i=JSON.stringify({email:e,remaining:t});this.doPut(i,r.API_ENDPOINT()+"/sessionUpdate/"+e).then(e=>{n(!!e)})})}buyPPT(e,t){return new Promise((n,o)=>{var i=JSON.stringify({email:e,timeLeft:t});this.doPut(i,r.API_ENDPOINT()+"/sessionUpdate/"+e).then(e=>{n(!!e)})})}courseExists(e){return new Promise((t,n)=>{this.doGet(r.API_ENDPOINT()+"/course/"+e).then(e=>{t(!!e.result&&e.result)})})}doGet(e){return new Promise((t,n)=>{let o=e,s=new i.c({"Content-Type":"application/json","x-api-key":r.APIKEY()});this.http.get(o,{headers:s}).subscribe(e=>{console.log(e),t(e)},e=>{console.log("dopost failed ",e),t(null)})})}doPost(e,t){return new Promise((n,o)=>{let s=t,a=new i.c({"Content-Type":"application/json","x-api-key":r.APIKEY()});this.http.post(s,e,{headers:a}).subscribe(e=>{console.log(e),n(e||!0)},e=>{console.log("dopost failed ",e),n(!1)})})}doPut(e,t){return new Promise((n,o)=>{let s=t,a=new i.c({"Content-Type":"application/json","x-api-key":r.APIKEY()});this.http.put(s,e,{headers:a}).subscribe(e=>{console.log(e),n(e)},e=>{console.log("dopost failed ",e),n(!1)})})}}return e.\u0275fac=function(t){return new(t||e)(s.Qb(i.a))},e.\u0275prov=s.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},gGGD:function(e,t,n){"use strict";n("yR3O")},gHap:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return f})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return s})),n.d(t,"g",(function(){return r})),n.d(t,"h",(function(){return i})),n.d(t,"i",(function(){return h})),n.d(t,"j",(function(){return u})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return o}));const r=(e,t=e)=>e.shadowRoot||t,o=e=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):setTimeout(e),i=e=>!!e.shadowRoot&&!!e.attachShadow,s=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||""}},l=(e,t,n)=>Math.max(e,Math.min(t,n)),c=(e,t)=>{if(!e){const e="ASSERT: "+t;throw console.error(e),new Error(e)}},u=e=>e.timeStamp||Date.now(),d=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}},h=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.`)}},f=(e,t)=>{const n=e._original||e;return{_original:e,emit:p(n.emit.bind(n),t)}},p=(e,t=0)=>{let n;return(...r)=>{clearTimeout(n),n=setTimeout(e,t,...r)}}},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("2fFW"),o=n("NJ4a");const i={closed:!0,next(e){},error(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(o.a)(e)},complete(){}}},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("HDdC"),o=n("quSY");function i(e,t){return new r.a(n=>{const r=new o.a;let i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),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-ios.entry.js":["bnjm",0,34],"./ion-action-sheet-md.entry.js":["utt2",0,35],"./ion-alert-ios.entry.js":["yaSn",0,36],"./ion-alert-md.entry.js":["2/RY",0,37],"./ion-app_8-ios.entry.js":["iInF",0,38],"./ion-app_8-md.entry.js":["K9Nc",0,39],"./ion-avatar_3-ios.entry.js":["hH1s",0,40],"./ion-avatar_3-md.entry.js":["Jw9y",0,41],"./ion-back-button-ios.entry.js":["ouVF",0,42],"./ion-back-button-md.entry.js":["/joy",0,43],"./ion-backdrop-ios.entry.js":["uJLv",44],"./ion-backdrop-md.entry.js":["fSmE",45],"./ion-button_2-ios.entry.js":["s1jK",0,46],"./ion-button_2-md.entry.js":["Wou7",0,47],"./ion-card_5-ios.entry.js":["qshq",0,48],"./ion-card_5-md.entry.js":["Q1uX",0,49],"./ion-checkbox-ios.entry.js":["059i",0,50],"./ion-checkbox-md.entry.js":["eLfv",0,51],"./ion-chip-ios.entry.js":["+FzG",0,52],"./ion-chip-md.entry.js":["yRpg",0,53],"./ion-col_3.entry.js":["/CAe",54],"./ion-datetime_3-ios.entry.js":["Z1Jy",0,55],"./ion-datetime_3-md.entry.js":["X0Dk",0,56],"./ion-fab_3-ios.entry.js":["wvyA",0,57],"./ion-fab_3-md.entry.js":["NkKY",0,58],"./ion-img.entry.js":["wHD8",59],"./ion-infinite-scroll_2-ios.entry.js":["nf6t",60],"./ion-infinite-scroll_2-md.entry.js":["lg/V",61],"./ion-input-ios.entry.js":["sdJS",0,62],"./ion-input-md.entry.js":["uQUw",0,63],"./ion-item-option_3-ios.entry.js":["Pa1g",0,64],"./ion-item-option_3-md.entry.js":["KTnd",0,65],"./ion-item_8-ios.entry.js":["Z51p",0,66],"./ion-item_8-md.entry.js":["8bam",0,67],"./ion-loading-ios.entry.js":["J3Yu",0,68],"./ion-loading-md.entry.js":["N3W9",0,69],"./ion-menu_3-ios.entry.js":["IlGI",0,70],"./ion-menu_3-md.entry.js":["WHty",0,71],"./ion-modal-ios.entry.js":["mgaC",0,72],"./ion-modal-md.entry.js":["EpFf",0,73],"./ion-nav_2.entry.js":["vnES",0,74],"./ion-popover-ios.entry.js":["Gdks",0,75],"./ion-popover-md.entry.js":["VgKV",0,76],"./ion-progress-bar-ios.entry.js":["0PGG",0,77],"./ion-progress-bar-md.entry.js":["h/Bu",0,78],"./ion-radio_2-ios.entry.js":["5bK7",0,79],"./ion-radio_2-md.entry.js":["pOmE",0,80],"./ion-range-ios.entry.js":["5g9+",0,81],"./ion-range-md.entry.js":["fD4w",0,82],"./ion-refresher_2-ios.entry.js":["CXux",0,83],"./ion-refresher_2-md.entry.js":["RODS",0,84],"./ion-reorder_2-ios.entry.js":["IdzL",0,85],"./ion-reorder_2-md.entry.js":["Ftzj",0,86],"./ion-ripple-effect.entry.js":["STjf",87],"./ion-route_4.entry.js":["k5eQ",0,88],"./ion-searchbar-ios.entry.js":["l0q3",0,89],"./ion-searchbar-md.entry.js":["mLlG",0,90],"./ion-segment_2-ios.entry.js":["Iymp",0,91],"./ion-segment_2-md.entry.js":["3msy",0,92],"./ion-select_3-ios.entry.js":["rYLK",0,93],"./ion-select_3-md.entry.js":["WOXB",0,94],"./ion-slide_2-ios.entry.js":["F/Xn",95],"./ion-slide_2-md.entry.js":["k8us",96],"./ion-spinner.entry.js":["nI0H",0,97],"./ion-split-pane-ios.entry.js":["edcM",98],"./ion-split-pane-md.entry.js":["RyPD",99],"./ion-tab-bar_2-ios.entry.js":["DP4G",0,100],"./ion-tab-bar_2-md.entry.js":["gaXT",0,101],"./ion-tab_2.entry.js":["TpdJ",0,102],"./ion-text.entry.js":["ISmu",0,103],"./ion-textarea-ios.entry.js":["xNZy",0,104],"./ion-textarea-md.entry.js":["p1XJ",0,105],"./ion-toast-ios.entry.js":["XGfm",0,106],"./ion-toast-md.entry.js":["Y/uG",0,107],"./ion-toggle-ios.entry.js":["WbT0",0,108],"./ion-toggle-md.entry.js":["upP9",0,109],"./ion-virtual-scroll.entry.js":["8Mb5",110]};function o(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],o=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(o)}))}o.keys=function(){return Object.keys(r)},o.id="kLfG",e.exports=o},l7GE:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("7o/Q");class o extends r.a{notifyNext(e,t,n,r,o){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 o}));var r=n("7o/Q");function o(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 i(e,t))}}class i{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.project,this.thisArg))}}class s 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)}}},mCNh:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n("SpAZ");function o(...e){return i(e)}function i(e){return 0===e.length?r.a:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}},mrSG:function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s}));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 o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function i(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);return i>3&&s&&Object.defineProperty(t,n,s),s}function s(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{l(r.next(e))}catch(t){i(t)}}function a(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))}},n6bG:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",(function(){return r}))},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;ns(e),i=(e,t)=>("string"==typeof e&&(t=e,e=void 0),o(e).includes(t)),s=(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(g).filter(t=>g[t](e)),l=e=>!!p(e,/iPad/i)||!(!p(e,/Macintosh/i)||!u(e)),c=e=>p(e,/android|sink/i),u=e=>m(e,"(any-pointer:coarse)"),d=e=>h(e)||f(e),h=e=>!!(e.cordova||e.phonegap||e.PhoneGap),f=e=>{const t=e.Capacitor;return!(!t||!t.isNative)},p=(e,t)=>t.test(e.navigator.userAgent),m=(e,t)=>e.matchMedia(t).matches,g={ipad:l,iphone:e=>p(e,/iPhone/i),ios:e=>p(e,/iPhone|iPod/i)||l(e),android:c,phablet:e=>{const t=e.innerWidth,n=e.innerHeight,r=Math.min(t,n),o=Math.max(t,n);return r>390&&r<520&&o>620&&o<800},tablet:e=>{const t=e.innerWidth,n=e.innerHeight,r=Math.min(t,n),o=Math.max(t,n);return l(e)||(e=>c(e)&&!p(e,/mobile/i))(e)||r>460&&r<820&&o>780&&o<1400},cordova:h,capacitor:f,electron:e=>p(e,/electron/i),pwa:e=>!(!e.matchMedia("(display-mode: standalone)").matches&&!e.navigator.standalone),mobile:u,mobileweb:e=>u(e)&&!d(e),desktop:e=>!u(e),hybrid:d};class b{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 y=new b;let v;const _=e=>e&&Object(r.i)(e)||v,w=()=>{const e=document,t=window,n=t.Ionic=t.Ionic||{};s(t);const o=Object.assign(Object.assign(Object.assign(Object.assign({},(e=>{try{const t=e.sessionStorage.getItem("ionic-persist-config");return null!==t?JSON.parse(t):{}}catch(t){return{}}})(t)),{persistConfig:!1}),n.config),(e=>{const t={};return e.location.search.slice(1).split("&").map(e=>e.split("=")).map(([e,t])=>[decodeURIComponent(e),decodeURIComponent(t)]).filter(([e])=>"ionic:"===e.substr(0,"ionic:".length)).map(([e,t])=>[e.slice("ionic:".length),t]).forEach(([e,n])=>{t[e]=n}),t})(t));y.reset(o),y.getBoolean("persistConfig")&&((e,t)=>{try{e.sessionStorage.setItem("ionic-persist-config",JSON.stringify(t))}catch(n){return}})(t,o),n.config=y,n.mode=v=y.get("mode",e.documentElement.getAttribute("mode")||(i(t,"ios")?"ios":"md")),y.set("mode",v),e.documentElement.setAttribute("mode",v),e.documentElement.classList.add(v),y.getBoolean("_testing")&&y.set("animated",!1);const a=e=>e.tagName&&e.tagName.startsWith("ION-"),l=e=>["ios","md"].includes(e);Object(r.m)(e=>{for(;e;){const t=e.mode||e.getAttribute("mode");if(t){if(l(t))return t;a(e)&&console.warn('Invalid ionic mode: "'+t+'", expected: "ios" or "md"')}e=e.parentElement}return v})}},oAJy:function(e,t,n){e.exports=function e(t,n,r){function o(s,a){if(!n[s]){if(!t[s]){if(i)return i(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[s]={exports:{}};t[s][0].call(c.exports,(function(e){return o(t[s][1][e]||e)}),c,c.exports,e,t,n,r)}return n[s].exports}for(var i=!1,s=0;se.db.version;if(e.versione.version&&(e.version=o)}return!0}return!1}function w(e){return i([function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),o=0;o0&&(!e.db||"InvalidStateError"===i.name||"NotFoundError"===i.name))return s.resolve().then((function(){if(!e.db||"NotFoundError"===i.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=43)}})).catch((function(){return!1}))}(e).then((function(e){return d=e}))}(a.db).then((function(e){return e?t:(n=t,new s((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){E(r._dbInfo,"readwrite",(function(i,s){if(i)return o(i);try{var a=s.objectStore(r._dbInfo.storeName);null===t&&(t=void 0);var l=a.put(t,e);s.oncomplete=function(){void 0===t&&(t=null),n(t)},s.onabort=s.onerror=function(){o(l.error?l.error:l.transaction.error)}}catch(c){o(c)}}))})).catch(o)}));return a(o,n),o},removeItem:function(e,t){var n=this;e=c(e);var r=new s((function(t,r){n.ready().then((function(){E(n._dbInfo,"readwrite",(function(o,i){if(o)return r(o);try{var s=i.objectStore(n._dbInfo.storeName).delete(e);i.oncomplete=function(){t()},i.onerror=function(){r(s.error)},i.onabort=function(){r(s.error?s.error:s.transaction.error)}}catch(a){r(a)}}))})).catch(r)}));return a(r,t),r},clear:function(e){var t=this,n=new s((function(e,n){t.ready().then((function(){E(t._dbInfo,"readwrite",(function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName).clear();o.oncomplete=function(){e()},o.onabort=o.onerror=function(){n(i.error?i.error:i.transaction.error)}}catch(s){n(s)}}))})).catch(n)}));return a(n,e),n},length:function(e){var t=this,n=new s((function(e,n){t.ready().then((function(){E(t._dbInfo,"readonly",(function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName).count();i.onsuccess=function(){e(i.result)},i.onerror=function(){n(i.error)}}catch(s){n(s)}}))})).catch(n)}));return a(n,e),n},key:function(e,t){var n=this,r=new s((function(t,r){e<0?t(null):n.ready().then((function(){E(n._dbInfo,"readonly",(function(o,i){if(o)return r(o);try{var s=i.objectStore(n._dbInfo.storeName),a=!1,l=s.openCursor();l.onsuccess=function(){var n=l.result;n?0===e||a?t(n.key):(a=!0,n.advance(e)):t(null)},l.onerror=function(){r(l.error)}}catch(c){r(c)}}))})).catch(r)}));return a(r,t),r},keys:function(e){var t=this,n=new s((function(e,n){t.ready().then((function(){E(t._dbInfo,"readonly",(function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName).openCursor(),s=[];i.onsuccess=function(){var t=i.result;t?(s.push(t.key),t.continue()):e(s)},i.onerror=function(){n(i.error)}}catch(a){n(a)}}))})).catch(n)}));return a(n,e),n},dropInstance:function(e,t){t=u.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;if(e.name){var l=e.name===n.name&&i._dbInfo.db,c=l?s.resolve(i._dbInfo.db):y(e).then((function(t){var n=h[e.name],r=n.forages;n.db=t;for(var o=0;o>4,u[l++]=(15&r)<<4|o>>2,u[l++]=(3&o)<<6|63&i;return c}function $(e){var t,n=new Uint8Array(e),r="";for(t=0;t>2],r+=O[(3&n[t])<<4|n[t+1]>>4],r+=O[(15&n[t+1])<<2|n[t+2]>>6],r+=O[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 N={serialize:function(e,t){var n="";if(e&&(n=I.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===I.call(e.buffer))){var r,o="__lfsc__:";e instanceof ArrayBuffer?(r=e,o+="arbf"):(r=e.buffer,"[object Int8Array]"===n?o+="si08":"[object Uint8Array]"===n?o+="ui08":"[object Uint8ClampedArray]"===n?o+="uic8":"[object Int16Array]"===n?o+="si16":"[object Uint16Array]"===n?o+="ur16":"[object Int32Array]"===n?o+="si32":"[object Uint32Array]"===n?o+="ui32":"[object Float32Array]"===n?o+="fl32":"[object Float64Array]"===n?o+="fl64":t(new Error("Failed to get type for BinaryArray"))),t(o+$(r))}else if("[object Blob]"===n){var i=new FileReader;i.onload=function(){var n="~~local_forage_type~"+e.type+"~"+$(this.result);t("__lfsc__:blob"+n)},i.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(s){console.error("Couldn't convert value into a JSON string: ",e),t(null,s)}},deserialize:function(e){if("__lfsc__:"!==e.substring(0,k))return JSON.parse(e);var t,n=e.substring(A),r=e.substring(k,A);if("blob"===r&&T.test(n)){var o=n.match(T);t=o[1],n=n.substring(o[0].length)}var s=j(n);switch(r){case"arbf":return s;case"blob":return i([s],{type:t});case"si08":return new Int8Array(s);case"ui08":return new Uint8Array(s);case"uic8":return new Uint8ClampedArray(s);case"si16":return new Int16Array(s);case"ur16":return new Uint16Array(s);case"si32":return new Int32Array(s);case"ui32":return new Uint32Array(s);case"fl32":return new Float32Array(s);case"fl64":return new Float64Array(s);default:throw new Error("Unkown type: "+r)}},stringToBuffer:j,bufferToString:$};function R(e,t,n,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+t.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],n,r)}function P(e,t,n,r,o,i){e.executeSql(n,r,o,(function(e,s){s.code===s.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[name],(function(e,a){a.rows.length?i(e,s):R(e,t,(function(){e.executeSql(n,r,o,i)}),i)}),i):i(e,s)}),i)}function D(e,t,n,r){var o=this;e=c(e);var i=new s((function(i,s){o.ready().then((function(){void 0===t&&(t=null);var a=t,l=o._dbInfo;l.serializer.serialize(t,(function(t,c){c?s(c):l.db.transaction((function(n){P(n,l,"INSERT OR REPLACE INTO "+l.storeName+" (key, value) VALUES (?, ?)",[e,t],(function(){i(a)}),(function(e,t){s(t)}))}),(function(t){if(t.code===t.QUOTA_ERR){if(r>0)return void i(D.apply(o,[e,a,n,r-1]));s(t)}}))}))})).catch(s)}));return a(i,n),i}function L(e){return new s((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 o=[],i=0;i0?(this._dbInfo=t,t.serializer=N,s.resolve()):s.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,o=r.length,i=localStorage.length,s=1,a=0;a=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}}));return a(n,e),n},length:function(e){var t=this.keys().then((function(e){return e.length}));return a(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(o){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t}));return a(r,t),r},keys:function(e){var t=this,n=t.ready().then((function(){for(var e=t._dbInfo,n=localStorage.length,r=[],o=0;o=0;t--){var n=localStorage.key(t);0===n.indexOf(e)&&localStorage.removeItem(n)}})):s.reject("Invalid arguments"),t),r}},U=function(e,t){for(var n,r,o=e.length,i=0;i{o=Math.max(o,e)}),o===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}},s=(e,t,n,r)=>{const o=a(e)?{capture:!!r.capture,passive:!!r.passive}:!!r.capture;let i,s;return e.__zone_symbol__addEventListener?(i="__zone_symbol__addEventListener",s="__zone_symbol__removeEventListener"):(i="addEventListener",s="removeEventListener"),e[i](t,n,o),()=>{e[s](t,n,o)}},a=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 c=e=>e instanceof Document?e:e.ownerDocument,u=e=>{let t=!1,n=!1,r=!0,o=!1;const a=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},e),l=a.canStart,u=a.onWillStart,p=a.onStart,m=a.onEnd,g=a.notCaptured,b=a.onMove,y=a.threshold,v=a.passive,_=a.blurOnStart,w={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},C=((e,t,n)=>{const r=n*(Math.PI/180),o="x"===e,i=Math.cos(r),s=t*t;let a=0,l=0,c=!1,u=0;return{start(e,t){a=e,l=t,u=0,c=!0},detect(e,t){if(!c)return!1;const n=e-a,r=t-l,d=n*n+r*r;if(di?1:f<-i?-1:0,c=!1,!0},isGesture:()=>0!==u,getDirection:()=>u}})(a.direction,a.threshold,a.maxAngle),S=i.createGesture({name:e.gestureName,priority:e.gesturePriority,disableScroll:e.disableScroll}),E=()=>{t&&(o=!1,b&&b(w))},x=()=>!(S&&!S.capture()||(t=!0,r=!1,w.startX=w.currentX,w.startY=w.currentY,w.startTime=w.currentTime,u?u(w).then(O):O(),0)),O=()=>{_&&(()=>{if("undefined"!=typeof document){const e=document.activeElement;null!==e&&e.blur&&e.blur()}})(),p&&p(w),r=!0},T=()=>{t=!1,n=!1,o=!1,r=!0,S.release()},k=e=>{const n=t,o=r;T(),o&&(d(w,e),n?m&&m(w):g&&g(w))},A=((e,t,n,r,o)=>{let i,a,l,u,d,h,f,p=0;const m=r=>{p=Date.now()+2e3,t(r)&&(!a&&n&&(a=s(e,"touchmove",n,o)),l||(l=s(e,"touchend",b,o)),u||(u=s(e,"touchcancel",b,o)))},g=r=>{p>Date.now()||t(r)&&(!h&&n&&(h=s(c(e),"mousemove",n,o)),f||(f=s(c(e),"mouseup",y,o)))},b=e=>{v(),r&&r(e)},y=e=>{_(),r&&r(e)},v=()=>{a&&a(),l&&l(),u&&u(),a=l=u=void 0},_=()=>{h&&h(),f&&f(),h=f=void 0},w=()=>{v(),_()},C=(t=!0)=>{t?(i||(i=s(e,"touchstart",m,o)),d||(d=s(e,"mousedown",g,o))):(i&&i(),d&&d(),i=d=void 0,w())};return{enable:C,stop:w,destroy:()=>{C(!1),r=n=t=void 0}}})(a.el,e=>{const t=f(e);return!(n||!r)&&(h(e,w),w.startX=w.currentX,w.startY=w.currentY,w.startTime=w.currentTime=t,w.velocityX=w.velocityY=w.deltaX=w.deltaY=0,w.event=e,(!l||!1!==l(w))&&(S.release(),!!S.start()&&(n=!0,0===y?x():(C.start(w.startX,w.startY),!0))))},e=>{t?!o&&r&&(o=!0,d(w,e),requestAnimationFrame(E)):(d(w,e),C.detect(w.currentX,w.currentY)&&(C.isGesture()&&x()||I()))},k,{capture:!1,passive:v}),I=()=>{T(),A.stop(),g&&g(w)};return{enable(e=!0){e||(t&&k(void 0),T()),A.enable(e)},destroy(){S.destroy(),A.destroy()}}},d=(e,t)=>{if(!t)return;const n=e.currentX,r=e.currentY,o=e.currentTime;h(t,e);const i=e.currentX,s=e.currentY,a=(e.currentTime=f(t))-o;if(a>0&&a<100){const t=(s-r)/a;e.velocityX=(i-n)/a*.7+.3*e.velocityX,e.velocityY=.7*t+.3*e.velocityY}e.deltaX=i-e.startX,e.deltaY=s-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()},ofXK:function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return L})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return C})),n.d(t,"e",(function(){return d})),n.d(t,"f",(function(){return S})),n.d(t,"g",(function(){return y})),n.d(t,"h",(function(){return $})),n.d(t,"i",(function(){return R})),n.d(t,"j",(function(){return w})),n.d(t,"k",(function(){return c})),n.d(t,"l",(function(){return V})),n.d(t,"m",(function(){return a})),n.d(t,"n",(function(){return M})),n.d(t,"o",(function(){return i})),n.d(t,"p",(function(){return I})),n.d(t,"q",(function(){return s}));var r=n("fXoL");let o=null;function i(){return o}function s(e){o||(o=e)}class a{}const l=new r.q("DocumentToken");let c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r.Fb)({factory:u,token:e,providedIn:"platform"}),e})();function u(){return Object(r.Qb)(h)}const d=new r.q("Location Initialized");let h=(()=>{class e extends c{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=i().getLocation(),this._history=i().getHistory()}getBaseHrefFromDOM(){return i().getBaseHref(this._doc)}onPopState(e){i().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){i().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){f()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){f()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(l))},e.\u0275prov=Object(r.Fb)({factory:p,token:e,providedIn:"platform"}),e})();function f(){return!!window.history.pushState}function p(){return new h(Object(r.Qb)(l))}function m(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}function g(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 b(e){return e&&"?"!==e[0]?"?"+e:e}let y=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r.Fb)({factory:v,token:e,providedIn:"root"}),e})();function v(e){const t=Object(r.Qb)(l).location;return new w(Object(r.Qb)(c),t&&t.origin||"")}const _=new r.q("appBaseHref");let w=(()=>{class e extends y{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 m(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const o=this.prepareExternalUrl(n+b(r));this._platformLocation.pushState(e,t,o)}replaceState(e,t,n,r){const o=this.prepareExternalUrl(n+b(r));this._platformLocation.replaceState(e,t,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(c),r.Qb(_,8))},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})(),C=(()=>{class e extends y{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=m(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let o=this.prepareExternalUrl(n+b(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)}replaceState(e,t,n,r){let o=this.prepareExternalUrl(n+b(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(c),r.Qb(_,8))},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})(),S=(()=>{class e{constructor(e,t){this._subject=new r.n,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=g(x(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+b(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,x(t)))}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+b(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(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})}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(y),r.Qb(c))},e.normalizeQueryParams=b,e.joinWithSlash=m,e.stripTrailingSlash=g,e.\u0275prov=Object(r.Fb)({factory:E,token:e,providedIn:"root"}),e})();function E(){return new S(Object(r.Qb)(y),Object(r.Qb)(c))}function x(e){return e.replace(/\/index.html$/,"")}const O=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}(),T=r.lb;class k{}let A=(()=>{class e extends k{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(T(t||this.locale)(e)){case O.Zero:return"zero";case O.One:return"one";case O.Two:return"two";case O.Few:return"few";case O.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(r.u))},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})();function I(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,o]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(o)}return null}class j{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}}let $=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Object(r.T)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. `+"See https://angular.io/api/common/NgForOf#change-propagation for more information."),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const 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 j(null,this._ngForOf,-1,-1),null===r?void 0:r),o=new N(e,n);t.push(o)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const o=this._viewContainer.get(n);this._viewContainer.move(o,r);const i=new N(e,o);t.push(i)}});for(let n=0;n{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(r.N),r.Jb(r.K),r.Jb(r.s))},e.\u0275dir=r.Eb({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class N{constructor(e,t){this.record=e,this.view=t}}let R=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new P,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){D("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){D("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(r.N),r.Jb(r.K))},e.\u0275dir=r.Eb({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class P{constructor(){this.$implicit=null,this.ngIf=null}}function D(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(r.ub)(t)}'.`)}let L=(()=>{class e{}return e.\u0275mod=r.Hb({type:e}),e.\u0275inj=r.Gb({factory:function(t){return new(t||e)},providers:[{provide:k,useClass:A}]}),e})();const M="browser";let V=(()=>{class e{}return e.\u0275prov=Object(r.Fb)({token:e,providedIn:"root",factory:()=>new F(Object(r.Qb)(l),window,Object(r.Qb)(r.m))}),e})();class F{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,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}},pLZG:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("7o/Q");function o(e,t){return function(n){return n.lift(new i(e,t))}}class i{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))}}class s 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)}}},qUHY:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return S})),n.d(t,"g",(function(){return O})),n.d(t,"h",(function(){return w})),n.d(t,"i",(function(){return E})),n.d(t,"j",(function(){return c}));var r=n("+9FH");const o="ionViewWillEnter",i="ionViewDidEnter",s="ionViewWillLeave",a="ionViewDidLeave",l="ionViewWillUnload",c=e=>new Promise((t,n)=>{Object(r.n)(()=>{u(e),d(e).then(n=>{n.animation&&n.animation.destroy(),h(e),t(n)},t=>{h(e),n(t)})})}),u=e=>{const t=e.enteringEl,n=e.leavingEl;x(t,n,e.direction),e.showGoBack?t.classList.add("can-go-back"):t.classList.remove("can-go-back"),E(t,!1),n&&E(n,!1)},d=async e=>{const t=await f(e);return t&&r.a.isBrowser?p(t,e):m(e)},h=e=>{const t=e.leavingEl;e.enteringEl.classList.remove("ion-page-invisible"),void 0!==t&&t.classList.remove("ion-page-invisible")},f=async e=>{if(e.leavingEl&&e.animated&&0!==e.duration)return e.animationBuilder?e.animationBuilder:"ios"===e.mode?(await Promise.resolve().then(n.bind(null,"S/5h"))).iosTransitionAnimation:(await Promise.resolve().then(n.bind(null,"6miK"))).mdTransitionAnimation},p=async(e,t)=>{await g(t,!0);const n=e(t.baseEl,t);v(t.enteringEl,t.leavingEl);const r=await y(n,t);return t.progressCallback&&t.progressCallback(void 0),r&&_(t.enteringEl,t.leavingEl),{hasCompleted:r,animation:n}},m=async e=>{const t=e.enteringEl,n=e.leavingEl;return await g(e,!1),v(t,n),_(t,n),{hasCompleted:!0}},g=async(e,t)=>{const n=(void 0!==e.deepWait?e.deepWait:t)?[S(e.enteringEl),S(e.leavingEl)]:[C(e.enteringEl),C(e.leavingEl)];await Promise.all(n),await b(e.viewIsReady,e.enteringEl)},b=async(e,t)=>{e&&await e(t)},y=(e,t)=>{const n=t.progressCallback,r=new Promise(t=>{e.onFinish(e=>t(1===e))});return n?(e.progressStart(!0),n(e)):e.play(),r},v=(e,t)=>{w(t,s),w(e,o)},_=(e,t)=>{w(e,i),w(t,a)},w=(e,t)=>{if(e){const n=new CustomEvent(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(n)}},C=e=>e&&e.componentOnReady?e.componentOnReady():Promise.resolve(),S=async e=>{const t=e;if(t){if(null!=t.componentOnReady&&null!=await t.componentOnReady())return;await Promise.all(Array.from(t.children).map(S))}},E=(e,t)=>{t?(e.setAttribute("aria-hidden","true"),e.classList.add("ion-page-hidden")):(e.hidden=!1,e.removeAttribute("aria-hidden"),e.classList.remove("ion-page-hidden"))},x=(e,t,n)=>{void 0!==e&&(e.style.zIndex="back"===n?"99":"101"),void 0!==t&&(t.style.zIndex="100")},O=e=>e.classList.contains("ion-page")?e:e.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||e},quSY:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("DH7j"),o=n("XoHu"),i=n("n6bG");const s=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let a=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:a,_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;ee.concat(t instanceof s?t.errors:t),[])}},sYmb:function(e,t,n){"use strict";n.d(t,"a",(function(){return N})),n.d(t,"b",(function(){return ee})),n.d(t,"c",(function(){return Y})),n.d(t,"d",(function(){return K}));var r=n("fXoL"),o=n("LRne"),i=n("HDdC");function s(e){return!!e&&(e instanceof i.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var a=n("cp0P"),l=n("GyhO"),c=n("NXyV"),u=n("IzEk"),d=n("XNiG"),h=n("quSY");class f extends h.a{constructor(e,t){super()}schedule(e,t=0){return this}}class p extends f{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(o){n=!0,r=!!o&&o||new Error(o)}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}}class m extends p{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)}}let g=(()=>{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})();class b extends g{constructor(e,t=g.now){super(e,()=>b.delegate&&b.delegate!==this?b.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return b.delegate&&b.delegate!==this?b.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}}}class y extends b{}const v=new y(m);var _=n("7o/Q"),w=n("EY2u");let C=(()=>{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 i.a(t=>t.error(e));case"C":return Object(w.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})();class S extends _.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(S.dispatch,this.delay,new E(e,this.destination)))}_next(e){this.scheduleMessage(C.createNext(e))}_error(e){this.scheduleMessage(C.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(C.createComplete()),this.unsubscribe()}}class E{constructor(e,t){this.notification=e,this.destination=t}}var x=n("9ppp"),O=n("Ylt2");class T extends d.a{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=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){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new k(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=n.length;let i;if(this.closed)throw new x.a;if(this.isStopped||this.hasError?i=h.a.EMPTY:(this.observers.push(e),i=new O.a(this,e)),r&&e.add(e=new S(e,r)),t)for(let s=0;st&&(i=Math.max(i,o-t)),i>0&&r.splice(0,i),r}}class k{constructor(e,t){this.time=e,this.value=t}}function A(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 o,i,s=0,a=!1,l=!1;return function(c){s++,o&&!a||(a=!1,o=new T(e,t,r),i=c.subscribe({next(e){o.next(e)},error(e){a=!0,o.error(e)},complete(){l=!0,i=void 0,o.complete()}}));const u=o.subscribe(this);this.add(()=>{s--,u.unsubscribe(),i&&!l&&n&&0===s&&(i.unsubscribe(),i=void 0,o=void 0)})}}(r))}var I=n("lJxs"),j=n("bOdf"),$=n("eIep");class N{}let R=(()=>{class e extends N{getTranslation(e){return Object(o.a)({})}}return e.\u0275fac=function(t){return P(t||e)},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})();const P=r.Ob(R);class D{}let L=(()=>{class e{handle(e){return e.key}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})();function M(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;let n,r,o,i=typeof e;if(i==typeof t&&"object"==i){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(r in o=Object.create(null),e){if(!M(e[r],t[r]))return!1;o[r]=!0}for(r in t)if(!(r in o)&&void 0!==t[r])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(r=0;r{class e extends U{constructor(){super(...arguments),this.templateMatcher=/{{\s?([^{}\s]*)\s?}}/g}interpolate(e,t){let n;return n="string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e,n}getValue(e,t){let n="string"==typeof t?t.split("."):[t];t="";do{t+=n.shift(),!V(e)||!V(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(e,n)=>{let r=this.getValue(t,n);return V(r)?r:e}):e}}return e.\u0275fac=function(t){return z(t||e)},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})();const z=r.Ob(H);class B{}let q=(()=>{class e extends B{compile(e,t){return e}compileTranslations(e,t){return e}}return e.\u0275fac=function(t){return G(t||e)},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})();const G=r.Ob(q);class W{constructor(){this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new r.n,this.onLangChange=new r.n,this.onDefaultLangChange=new r.n}}const J=new r.q("USE_STORE"),X=new r.q("USE_DEFAULT_LANG"),Q=new r.q("DEFAULT_LANGUAGE"),Z=new r.q("USE_EXTEND");let K=(()=>{class e{constructor(e,t,n,o,i,s=!0,a=!1,l=!1,c){this.store=e,this.currentLoader=t,this.compiler=n,this.parser=o,this.missingTranslationHandler=i,this.useDefaultLang=s,this.isolate=a,this.extend=l,this.pending=!1,this._onTranslationChange=new r.n,this._onLangChange=new r.n,this._onDefaultLangChange=new r.n,this._langs=[],this._translations={},this._translationRequests={},c&&this.setDefaultLang(c)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(e){this.isolate?this._currentLang=e:this.store.currentLang=e}get langs(){return this.isolate?this._langs:this.store.langs}set langs(e){this.isolate?this._langs=e:this.store.langs=e}get translations(){return this.isolate?this._translations:this.store.translations}set translations(e){this.isolate?this._translations=e:this.store.translations=e}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);void 0!==t?(null==this.defaultLang&&(this.defaultLang=e),t.pipe(Object(u.a)(1)).subscribe(t=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(e===this.currentLang)return Object(o.a)(this.translations[e]);let t=this.retrieveTranslations(e);return void 0!==t?(this.currentLang||(this.currentLang=e),t.pipe(Object(u.a)(1)).subscribe(t=>{this.changeLang(e)}),t):(this.changeLang(e),Object(o.a)(this.translations[e]))}retrieveTranslations(e){let t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}getTranslation(e){this.pending=!0;const t=this.currentLoader.getTranslation(e).pipe(A(1),Object(u.a)(1));return this.loadingTranslations=t.pipe(Object(I.a)(t=>this.compiler.compileTranslations(t,e)),A(1),Object(u.a)(1)),this.loadingTranslations.subscribe({next:t=>{this.translations[e]=this.extend&&this.translations[e]?Object.assign(Object.assign({},t),this.translations[e]):t,this.updateLangs(),this.pending=!1},error:e=>{this.pending=!1}}),t}setTranslation(e,t,n=!1){t=this.compiler.compileTranslations(t,e),this.translations[e]=(n||this.extend)&&this.translations[e]?function e(t,n){let r=Object.assign({},t);return F(t)&&F(n)&&Object.keys(n).forEach(o=>{F(n[o])?o in t?r[o]=e(t[o],n[o]):Object.assign(r,{[o]:n[o]}):Object.assign(r,{[o]:n[o]})}),r}(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){e.forEach(e=>{-1===this.langs.indexOf(e)&&this.langs.push(e)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(e,t,n){let r;if(t instanceof Array){let r={},i=!1;for(let o of t)r[o]=this.getParsedResult(e,o,n),s(r[o])&&(i=!0);if(i){const e=t.map(e=>s(r[e])?r[e]:Object(o.a)(r[e]));return Object(a.a)(e).pipe(Object(I.a)(e=>{let n={};return e.forEach((e,r)=>{n[t[r]]=e}),n}))}return r}if(e&&(r=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===r&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===r){let e={key:t,translateService:this};void 0!==n&&(e.interpolateParams=n),r=this.missingTranslationHandler.handle(e)}return void 0!==r?r:t}get(e,t){if(!V(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Object(j.a)(n=>s(n=this.getParsedResult(n,e,t))?n:Object(o.a)(n)));{let n=this.getParsedResult(this.translations[this.currentLang],e,t);return s(n)?n:Object(o.a)(n)}}getStreamOnTranslationChange(e,t){if(!V(e)||!e.length)throw new Error('Parameter "key" required');return Object(l.a)(Object(c.a)(()=>this.get(e,t)),this.onTranslationChange.pipe(Object($.a)(n=>{const r=this.getParsedResult(n.translations,e,t);return"function"==typeof r.subscribe?r:Object(o.a)(r)})))}stream(e,t){if(!V(e)||!e.length)throw new Error('Parameter "key" required');return Object(l.a)(Object(c.a)(()=>this.get(e,t)),this.onLangChange.pipe(Object($.a)(n=>{const r=this.getParsedResult(n.translations,e,t);return s(r)?r:Object(o.a)(r)})))}instant(e,t){if(!V(e)||!e.length)throw new Error('Parameter "key" required');let n=this.getParsedResult(this.translations[this.currentLang],e,t);if(s(n)){if(e instanceof Array){let t={};return e.forEach((n,r)=>{t[e[r]]=e[r]}),t}return e}return n}set(e,t,n=this.currentLang){this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}changeLang(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.getTranslation(e)}resetLang(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}getBrowserLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,void 0!==e?(-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e):void 0}getBrowserCultureLang(){if("undefined"==typeof window||void 0===window.navigator)return;let e=window.navigator.languages?window.navigator.languages[0]:null;return e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,e}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(W),r.Qb(N),r.Qb(B),r.Qb(U),r.Qb(D),r.Qb(X),r.Qb(J),r.Qb(Z),r.Qb(Q))},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})(),Y=(()=>{class e{constructor(e,t){this.translate=e,this._ref=t,this.value=""}updateValue(e,t,n){let r=t=>{this.value=void 0!==t?t:e,this.lastKey=e,this._ref.markForCheck()};if(n){let o=this.translate.getParsedResult(n,e,t);s(o.subscribe)?o.subscribe(r):r(o)}this.translate.get(e,t).subscribe(r)}transform(e,...t){if(!e||!e.length)return e;if(M(e,this.lastKey)&&M(t,this.lastParams))return this.value;let n;if(V(t[0])&&t.length)if("string"==typeof t[0]&&t[0].length){let e=t[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{n=JSON.parse(e)}catch(r){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else"object"!=typeof t[0]||Array.isArray(t[0])||(n=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,n),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(t=>{this.lastKey&&t.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(t=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n,t.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,n))})),this.value}_dispose(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(K),r.Sb())},e.\u0275pipe=r.Ib({name:"translate",type:e,pure:!1}),e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})(),ee=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[t.loader||{provide:N,useClass:R},t.compiler||{provide:B,useClass:q},t.parser||{provide:U,useClass:H},t.missingTranslationHandler||{provide:D,useClass:L},W,{provide:J,useValue:t.isolate},{provide:X,useValue:t.useDefaultLang},{provide:Z,useValue:t.extend},{provide:Q,useValue:t.defaultLanguage},K]}}static forChild(t={}){return{ngModule:e,providers:[t.loader||{provide:N,useClass:R},t.compiler||{provide:B,useClass:q},t.parser||{provide:U,useClass:H},t.missingTranslationHandler||{provide:D,useClass:L},{provide:J,useValue:t.isolate},{provide:X,useValue:t.useDefaultLang},{provide:Z,useValue:t.extend},{provide:Q,useValue:t.defaultLanguage},K]}}}return e.\u0275mod=r.Hb({type:e}),e.\u0275inj=r.Gb({factory:function(t){return new(t||e)}}),e})()},"tk/3":function(e,t,n){"use strict";n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return U})),n.d(t,"c",(function(){return h}));var r=n("fXoL"),o=n("LRne"),i=n("HDdC"),s=n("bOdf"),a=n("pLZG"),l=n("lJxs"),c=n("ofXK");class u{}class d{}class h{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),r=n.toLowerCase(),o=e.slice(t+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(o):this.headers.set(r,[o])}})}:()=>{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 o=e.value;if(o){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===o.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("="),[o,i]=-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],s=n.get(o)||[];s.push(i),n.set(o,s)}),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("&")}).filter(e=>""!==e).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 b(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 o;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,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.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?"?":nt.set(n,e.setHeaders[n]),a)),e.setParams&&(l=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),l)),new v(t,n,o,{params:l,headers:a,reportProgress:s,responseType:r,withCredentials:i})}}const _=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}();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 C extends w{constructor(e={}){super(e),this.type=_.ResponseHeader}clone(e={}){return new C({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),this.type=_.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new S({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 E 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 x(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let O=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let r;if(e instanceof v)r=e;else{let o=void 0;o=n.headers instanceof h?n.headers:new h(n.headers);let i=void 0;n.params&&(i=n.params instanceof m?n.params:new m({fromObject:n.params})),r=new v(e,t,void 0!==n.body?n.body:null,{headers:o,params:i,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=Object(o.a)(r).pipe(Object(s.a)(e=>this.handler.handle(e)));if(e instanceof v||"events"===n.observe)return i;const c=i.pipe(Object(a.a)(e=>e instanceof S));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return c.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 c.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 c.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 c.pipe(Object(l.a)(e=>e.body))}case"response":return c;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,x(n,t))}post(e,t,n={}){return this.request("POST",e,x(n,t))}put(e,t,n={}){return this.request("PUT",e,x(n,t))}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(u))},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})();class T{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const k=new r.q("HTTP_INTERCEPTORS");let A=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})();const I=/^\)\]\}',?\n/;class j{}let $=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})(),N=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new i.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 o=null;const i=()=>{if(null!==o)return o;const t=1223===n.status?204:n.status,r=n.statusText||"OK",i=new h(n.getAllResponseHeaders()),s=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 o=new C({headers:i,status:t,statusText:r,url:s}),o},s=()=>{let{headers:r,status:o,statusText:s,url:a}=i(),l=null;204!==o&&(l=void 0===n.response?n.responseText:n.response),0===o&&(o=l?200:0);let c=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(I,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=e,c&&(c=!1,l={error:u,text:l})}}c?(t.next(new S({body:l,headers:r,status:o,statusText:s,url:a||void 0})),t.complete()):t.error(new E({error:l,headers:r,status:o,statusText:s,url:a||void 0}))},a=e=>{const{url:r}=i(),o=new E({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});t.error(o)};let l=!1;const c=r=>{l||(t.next(i()),l=!0);let o={type:_.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(o.total=r.total),"text"===e.responseType&&n.responseText&&(o.partialText=n.responseText),t.next(o)},u=e=>{let n={type:_.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",s),n.addEventListener("error",a),e.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),t.next({type:_.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",s),e.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(j))},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})();const R=new r.q("XSRF_COOKIE_NAME"),P=new r.q("XSRF_HEADER_NAME");class D{}let L=(()=>{class e{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(c.p)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(c.c),r.Qb(r.B),r.Qb(R))},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})(),M=(()=>{class e{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)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(D),r.Qb(P))},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})(),V=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(k,[]);this.chain=e.reduceRight((e,t)=>new T(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(d),r.Qb(r.r))},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})(),F=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:M,useClass:A}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:R,useValue:t.cookieName}:[],t.headerName?{provide:P,useValue:t.headerName}:[]]}}}return e.\u0275mod=r.Hb({type:e}),e.\u0275inj=r.Gb({factory:function(t){return new(t||e)},providers:[M,{provide:k,useExisting:M,multi:!0},{provide:D,useClass:L},{provide:R,useValue:"XSRF-TOKEN"},{provide:P,useValue:"X-XSRF-TOKEN"}]}),e})(),U=(()=>{class e{}return e.\u0275mod=r.Hb({type:e}),e.\u0275inj=r.Gb({factory:function(t){return new(t||e)},providers:[O,{provide:u,useClass:V},N,{provide:d,useExisting:N},$,{provide:j,useExisting:$}],imports:[[F.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})()},tyNb:function(e,t,n){"use strict";n.d(t,"a",(function(){return bt})),n.d(t,"b",(function(){return jn})),n.d(t,"c",(function(){return ue})),n.d(t,"d",(function(){return Te})),n.d(t,"e",(function(){return Pn})),n.d(t,"f",(function(){return vn})),n.d(t,"g",(function(){return Tn})),n.d(t,"h",(function(){return kn})),n.d(t,"i",(function(){return zn})),n.d(t,"j",(function(){return Xe}));var r=n("ofXK"),o=n("fXoL"),i=n("LRne"),s=n("Cfvw"),a=n("2Vo4"),l=n("HDdC");const c=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();var u=n("z+Ro"),d=n("DH7j"),h=n("l7GE"),f=n("ZUHj"),p=n("yCtX");const m={};class g{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new b(e,this.resultSelector))}}class b extends h.a{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(m),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;n0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let o=0;ot.lift(new I(e))}class I{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new j(e,this.errorFactory))}}class j extends E.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 $(){return new c}function N(e=null){return t=>t.lift(new R(e))}class R{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new P(e,this.defaultValue))}}class P extends E.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()}}var D=n("SpAZ");function L(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Object(S.a)((t,n)=>e(t,n,r)):D.a,O(1),n?N(t):A(()=>new c))}var M=n("51Dv");function V(e){return function(t){const n=new F(e),r=t.lift(n);return n.caught=r}}class F{constructor(e){this.selector=e}call(e,t){return t.subscribe(new U(e,this.selector,this.caught))}}class U extends h.a{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 r=new M.a(this,void 0,void 0);this.add(r);const o=Object(f.a)(this,n,void 0,void 0,r);o!==r&&this.add(o)}}}var H=n("IzEk");function z(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Object(S.a)((t,n)=>e(t,n,r)):D.a,Object(H.a)(1),n?N(t):A(()=>new c))}var B=n("5+tZ");class q{constructor(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}call(e,t){return t.subscribe(new G(e,this.predicate,this.thisArg,this.source))}}class G extends E.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 W=n("eIep"),J=n("GyhO");function X(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Q(e,t,n))}}class Q{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new Z(e,this.accumulator,this.seed,this.hasSeed))}}class Z extends E.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)}}var K=n("bOdf"),Y=n("mCNh");function ee(){}var te=n("n6bG");function ne(e,t,n){return function(r){return r.lift(new re(e,t,n))}}class re{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new oe(e,this.nextOrObserver,this.error,this.complete))}}class oe extends E.a{constructor(e,t,n,r){super(e),this._tapNext=ee,this._tapError=ee,this._tapComplete=ee,this._tapError=n||ee,this._tapComplete=r||ee,Object(te.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||ee,this._tapError=t.error||ee,this._tapComplete=t.complete||ee)}_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()}}var ie=n("quSY");class se{constructor(e){this.callback=e}call(e,t){return t.subscribe(new ae(e,this.callback))}}class ae extends E.a{constructor(e,t){super(e),this.add(new ie.a(t))}}var le=n("bHdf");class ce{constructor(e,t){this.id=e,this.url=t}}class ue extends ce{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 de extends ce{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class he extends ce{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class fe extends ce{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class pe extends ce{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 me extends ce{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 ge extends ce{constructor(e,t,n,r,o){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class be extends ce{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 ye extends ce{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 ve{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class _e{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class we{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ce{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Se{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ee{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xe{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}')`}}let Oe=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Db({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&o.Kb(0,"router-outlet")},directives:function(){return[$n]},encapsulation:2}),e})();const Te="primary";class ke{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 Ae(e){return new ke(e)}function Ie(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function je(e,t,n){const r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.lengtht.indexOf(e)>-1):e===t}function Ve(e){return Array.prototype.concat.apply([],e)}function Fe(e){return e.length>0?e[e.length-1]:null}function Ue(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function He(e){return Object(o.pb)(e)?e:Object(o.qb)(e)?Object(s.a)(Promise.resolve(e)):Object(i.a)(e)}function ze(e,t,n){return n?function(e,t){return Le(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!We(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=>Me(e[n],t[n]))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,o){if(n.segments.length>o.length)return!!We(n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!We(n.segments,o))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=o.slice(0,n.segments.length),i=o.slice(n.segments.length);return!!We(n.segments,e)&&!!n.children[Te]&&t(n.children[Te],r,i)}}(t,n,n.segments)}(e.root,t.root)}class Be{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ae(this.queryParams)),this._queryParamMap}toString(){return Ze.serialize(this)}}class qe{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Ue(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Ke(this)}}class Ge{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Ae(this.parameters)),this._parameterMap}toString(){return ot(this)}}function We(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}function Je(e,t){let n=[];return Ue(e.children,(e,r)=>{r===Te&&(n=n.concat(t(e,r)))}),Ue(e.children,(e,r)=>{r!==Te&&(n=n.concat(t(e,r)))}),n}class Xe{}class Qe{parse(e){const t=new ct(e);return new Be(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){var t;return`${`/${function e(t,n){if(!t.hasChildren())return Ke(t);if(n){const n=t.children[Te]?e(t.children[Te],!1):"",r=[];return Ue(t.children,(t,n)=>{n!==Te&&r.push(`${n}:${e(t,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=Je(t,(n,r)=>r===Te?[e(t.children[Te],!1)]:[`${r}:${e(n,!1)}`]);return`${Ke(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=>`${et(t)}=${et(e)}`).join("&"):`${et(t)}=${et(n)}`});return t.length?`?${t.join("&")}`:""}(e.queryParams)}${"string"==typeof e.fragment?`#${t=e.fragment,encodeURI(t)}`:""}`}}const Ze=new Qe;function Ke(e){return e.segments.map(e=>ot(e)).join("/")}function Ye(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function et(e){return Ye(e).replace(/%3B/gi,";")}function tt(e){return Ye(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function nt(e){return decodeURIComponent(e)}function rt(e){return nt(e.replace(/\+/g,"%20"))}function ot(e){return`${tt(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${tt(e)}=${tt(t[e])}`).join("")}`;var t}const it=/^[^\/()?;=#]+/;function st(e){const t=e.match(it);return t?t[0]:""}const at=/^[^=?&#]+/,lt=/^[^?&#]+/;class ct{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new qe([],{}):new qe([],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[Te]=new qe(e,t)),n}parseSegment(){const e=st(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Ge(nt(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=st(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=st(this.remaining);e&&(n=e,this.capture(n))}e[nt(t)]=nt(n)}parseQueryParam(e){const t=function(e){const t=e.match(at);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(lt);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const r=rt(t),o=rt(n);if(e.hasOwnProperty(r)){let t=e[r];Array.isArray(t)||(t=[t],e[r]=t),t.push(o)}else e[r]=o}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=st(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=Te);const i=this.parseChildren();t[o]=1===Object.keys(i).length?i[Te]:new qe([],i),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 ut{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=dt(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=dt(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=ht(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return ht(e,this._root).map(e=>e.value)}}function dt(e,t){if(e===t.value)return t;for(const n of t.children){const t=dt(e,n);if(t)return t}return null}function ht(e,t){if(e===t.value)return[t];for(const n of t.children){const r=ht(e,n);if(r.length)return r.unshift(t),r}return[]}class ft{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function pt(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class mt extends ut{constructor(e,t){super(e),this.snapshot=t,wt(this,e)}toString(){return this.snapshot.toString()}}function gt(e,t){const n=function(e,t){const n=new vt([],{},{},"",{},Te,t,null,e.root,-1,{});return new _t("",new ft(n,[]))}(e,t),r=new a.a([new Ge("",{})]),o=new a.a({}),i=new a.a({}),s=new a.a({}),l=new a.a(""),c=new bt(r,o,s,l,i,Te,t,n.root);return c.snapshot=n.root,new mt(new ft(c,[]),n)}class bt{constructor(e,t,n,r,o,i,s,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=s,this._futureSnapshot=a}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(w.a)(e=>Ae(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(w.a)(e=>Ae(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function yt(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(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class vt{constructor(e,t,n,r,o,i,s,a,l,c,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=s,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ae(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ae(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class _t extends ut{constructor(e,t){super(t),this.url=e,wt(this,t)}toString(){return Ct(this._root)}}function wt(e,t){t.value._routerState=e,t.children.forEach(t=>wt(e,t))}function Ct(e){const t=e.children.length>0?` { ${e.children.map(Ct).join(", ")} } `:"";return`${e.value}${t}`}function St(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Le(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Le(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;nLe(e.parameters,r[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||Et(e.parent,t.parent))}function xt(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Ot(e,t,n,r,o){let i={};return r&&Ue(r,(e,t)=>{i[t]=Array.isArray(e)?e.map(e=>`${e}`):`${e}`}),new Be(n.root===e?t:function e(t,n,r){const o={};return Ue(t.children,(t,i)=>{o[i]=t===n?r:e(t,n,r)}),new qe(t.segments,o)}(n.root,e,t),i,o)}class Tt{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&xt(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!==Fe(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class kt{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function At(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[Te]:`${e}`}function It(e,t,n){if(e||(e=new qe([],{})),0===e.segments.length&&e.hasChildren())return jt(e,t,n);const r=function(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const t=e.segments[o],s=At(n[r]),a=r0&&void 0===s)break;if(s&&a&&"object"==typeof a&&void 0===a.outlets){if(!Pt(s,a,t))return i;r+=2}else{if(!Pt(s,{},t))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex{null!==n&&(o[r]=It(e.children[r],t,n))}),Ue(e.children,(e,t)=>{void 0===r[t]&&(o[t]=e)}),new qe(e.segments,o)}}function $t(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{null!==e&&(t[n]=$t(new qe([],{}),0,e))}),t}function Rt(e){const t={};return Ue(e,(e,n)=>t[n]=`${e}`),t}function Pt(e,t,n){return e==n.path&&Le(t,n.parameters)}class Dt{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),St(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const r=pt(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,r[t],n),delete r[t]}),Ue(r,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const r=e.value,o=t?t.value:null;if(r===o)if(r.component){const o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(e,t,o.children)}else this.deactivateChildRoutes(e,t,n);else o&&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=pt(e),o=e.value.component?n.children:t;Ue(r,(e,t)=>this.deactivateRouteAndItsChildren(e,o)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(e,t,n){const r=pt(t);e.children.forEach(e=>{this.activateRoutes(e,r[e.value.outlet],n),this.forwardEvent(new Ee(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Ce(e.value.snapshot))}activateRoutes(e,t,n){const r=e.value,o=t?t.value:null;if(St(r),r===o)if(r.component){const o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,o.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),Lt(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),o=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=r,t.resolver=o,t.outlet&&t.outlet.activateWith(r,o),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function Lt(e){St(e.value),e.children.forEach(Lt)}function Mt(e){return"function"==typeof e}function Vt(e){return e instanceof Be}class Ft{constructor(e){this.segmentGroup=e||null}}class Ut{constructor(e){this.urlTree=e}}function Ht(e){return new l.a(t=>t.error(new Ft(e)))}function zt(e){return new l.a(t=>t.error(new Ut(e)))}function Bt(e){return new l.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class qt{constructor(e,t,n,r,i){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(o.x)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,Te).pipe(Object(w.a)(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(V(e=>{if(e instanceof Ut)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Ft)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,Te).pipe(Object(w.a)(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(V(e=>{if(e instanceof Ft)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 qe([],{[Te]:e}):e;return new Be(r,t,n)}expandSegmentGroup(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(w.a)(e=>new qe([],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(i.a)({});const n=[],r=[],o={};return Ue(e,(e,i)=>{const s=t(i,e).pipe(Object(w.a)(e=>o[i]=e));i===Te?n.push(s):r.push(s)}),i.a.apply(null,n.concat(r)).pipe(Object(C.a)(),L(),Object(w.a)(()=>o))}(n.children,(n,r)=>this.expandSegmentGroup(e,t,r,n))}expandSegment(e,t,n,r,o,s){return Object(i.a)(...n).pipe(Object(w.a)(a=>this.expandSegmentAgainstRoute(e,t,n,a,r,o,s).pipe(V(e=>{if(e instanceof Ft)return Object(i.a)(null);throw e}))),Object(C.a)(),z(e=>!!e),V((e,n)=>{if(e instanceof c||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,r,o))return Object(i.a)(new qe([],{}));throw new Ft(t)}throw e}))}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}expandSegmentAgainstRoute(e,t,n,r,o,i,s){return Xt(r)!==i?Ht(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i):Ht(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,r){const o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?zt(o):this.lineralizeSegments(n,o).pipe(Object(B.a)(n=>{const o=new qe(n,{});return this.expandSegment(e,o,t,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i){const{matched:s,consumedSegments:a,lastChild:l,positionalParamSegments:c}=Gt(t,r,o);if(!s)return Ht(t);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?zt(u):this.lineralizeSegments(r,u).pipe(Object(B.a)(r=>this.expandSegment(e,t,n,r.concat(o.slice(l)),i,!1)))}matchSegmentAgainstRoute(e,t,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(w.a)(e=>(n._loadedConfig=e,new qe(r,{})))):Object(i.a)(new qe(r,{}));const{matched:o,consumedSegments:s,lastChild:a}=Gt(t,n,r);if(!o)return Ht(t);const l=r.slice(a);return this.getChildConfig(e,n,r).pipe(Object(B.a)(e=>{const n=e.module,r=e.routes,{segmentGroup:o,slicedSegments:a}=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some(n=>Jt(e,t,n)&&Xt(n)!==Te)}(e,n,r)?{segmentGroup:Wt(new qe(t,function(e,t){const n={};n[Te]=t;for(const r of e)""===r.path&&Xt(r)!==Te&&(n[Xt(r)]=new qe([],{}));return n}(r,new qe(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some(n=>Jt(e,t,n))}(e,n,r)?{segmentGroup:Wt(new qe(e.segments,function(e,t,n,r){const o={};for(const i of n)Jt(e,t,i)&&!r[Xt(i)]&&(o[Xt(i)]=new qe([],{}));return Object.assign(Object.assign({},r),o)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,s,l,r);return 0===a.length&&o.hasChildren()?this.expandChildren(n,r,o).pipe(Object(w.a)(e=>new qe(s,e))):0===r.length&&0===a.length?Object(i.a)(new qe(s,{})):this.expandSegment(n,o,r,a,Te,!0).pipe(Object(w.a)(e=>new qe(s.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Object(i.a)(new $e(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(i.a)(t._loadedConfig):function(e,t,n){const r=t.canLoad;return r&&0!==r.length?Object(s.a)(r).pipe(Object(w.a)(r=>{const o=e.get(r);let i;if(function(e){return e&&Mt(e.canLoad)}(o))i=o.canLoad(t,n);else{if(!Mt(o))throw new Error("Invalid CanLoad guard");i=o(t,n)}return He(i)})).pipe(Object(C.a)(),(o=e=>!0===e,e=>e.lift(new q(o,void 0,e)))):Object(i.a)(!0);var o}(e.injector,t,n).pipe(Object(B.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(w.a)(e=>(t._loadedConfig=e,e))):function(e){return new l.a(t=>t.error(Ie(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Object(i.a)(new $e([],e))}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(i.a)(n);if(r.numberOfChildren>1||!r.children[Te])return Bt(e.redirectTo);r=r.children[Te]}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,r){const o=this.createSegmentGroup(e,t.root,n,r);return new Be(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return Ue(e,(e,r)=>{if("string"==typeof e&&e.startsWith(":")){const o=e.substring(1);n[r]=t[o]}else n[r]=e}),n}createSegmentGroup(e,t,n,r){const o=this.createSegments(e,t.segments,n,r);let i={};return Ue(t.children,(t,o)=>{i[o]=this.createSegmentGroup(e,t,n,r)}),new qe(o,i)}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 Gt(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||je)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Wt(e){if(1===e.numberOfChildren&&e.children[Te]){const t=e.children[Te];return new qe(e.segments.concat(t.segments),t.children)}return e}function Jt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Xt(e){return e.outlet||Te}class Qt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Zt{constructor(e,t){this.component=e,this.route=t}}function Kt(e,t,n){const r=e._root;return function e(t,n,r,o,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=pt(n);return t.children.forEach(t=>{!function(t,n,r,o,i={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,a=n?n.value:null,l=r?r.getContext(t.value.outlet):null;if(a&&s.routeConfig===a.routeConfig){const c=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!We(e.url,t.url);case"pathParamsOrQueryParamsChange":return!We(e.url,t.url)||!Le(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Et(e,t)||!Le(e.queryParams,t.queryParams);case"paramsChange":default:return!Et(e,t)}}(a,s,s.routeConfig.runGuardsAndResolvers);c?i.canActivateChecks.push(new Qt(o)):(s.data=a.data,s._resolvedData=a._resolvedData),e(t,n,s.component?l?l.children:null:r,o,i),c&&i.canDeactivateChecks.push(new Zt(l&&l.outlet&&l.outlet.component||null,a))}else a&&en(n,l,i),i.canActivateChecks.push(new Qt(o)),e(t,null,s.component?l?l.children:null:r,o,i)}(t,s[t.value.outlet],r,o.concat([t.value]),i),delete s[t.value.outlet]}),Ue(s,(e,t)=>en(e,r.getContext(t),i)),i}(r,t?t._root:null,n,[r.value])}function Yt(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 en(e,t,n){const r=pt(e),o=e.value;Ue(r,(e,r)=>{en(e,o.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new Zt(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}const tn=Symbol("INITIAL_VALUE");function nn(){return Object(W.a)(e=>function(...e){let t=null,n=null;return Object(u.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(d.a)(e[0])&&(e=e[0]),Object(p.a)(e,n).lift(new g(t))}(...e.map(e=>e.pipe(Object(H.a)(1),function(...e){const t=e[e.length-1];return Object(u.a)(t)?(e.pop(),n=>Object(J.a)(e,n,t)):t=>Object(J.a)(e,t)}(tn)))).pipe(X((e,t)=>{let n=!1;return t.reduce((e,r,o)=>{if(e!==tn)return e;if(r===tn&&(n=!0),!n){if(!1===r)return r;if(o===t.length-1||Vt(r))return r}return e},e)},tn),Object(S.a)(e=>e!==tn),Object(w.a)(e=>Vt(e)?e:!0===e),Object(H.a)(1)))}function rn(e,t){return null!==e&&t&&t(new Se(e)),Object(i.a)(!0)}function on(e,t){return null!==e&&t&&t(new we(e)),Object(i.a)(!0)}function sn(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Object(i.a)(!0);const o=r.map(r=>Object(y.a)(()=>{const o=Yt(r,t,n);let i;if(function(e){return e&&Mt(e.canActivate)}(o))i=He(o.canActivate(t,e));else{if(!Mt(o))throw new Error("Invalid CanActivate guard");i=He(o(t,e))}return i.pipe(z())}));return Object(i.a)(o).pipe(nn())}function an(e,t,n){const r=t[t.length-1],o=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=>Object(y.a)(()=>{const o=t.guards.map(o=>{const i=Yt(o,t.node,n);let s;if(function(e){return e&&Mt(e.canActivateChild)}(i))s=He(i.canActivateChild(r,e));else{if(!Mt(i))throw new Error("Invalid CanActivateChild guard");s=He(i(r,e))}return s.pipe(z())});return Object(i.a)(o).pipe(nn())}));return Object(i.a)(o).pipe(nn())}class ln{}class cn{constructor(e,t,n,r,o,i){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=i}recognize(){try{const e=hn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,Te),n=new vt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Te,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ft(n,t),o=new _t(this.url,r);return this.inheritParamsAndData(o._root),Object(i.a)(o)}catch(e){return new l.a(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,n=yt(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=Je(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)=>e.value.outlet===Te?-1:t.value.outlet===Te?1:e.value.outlet.localeCompare(t.value.outlet)),n}processSegment(e,t,n,r){for(const i of e)try{return this.processSegmentAgainstRoute(i,t,n,r)}catch(o){if(!(o instanceof ln))throw o}if(this.noLeftoversInUrl(t,n,r))return[];throw new ln}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}processSegmentAgainstRoute(e,t,n,r){if(e.redirectTo)throw new ln;if((e.outlet||Te)!==r)throw new ln;let o,i=[],s=[];if("**"===e.path){const i=n.length>0?Fe(n).parameters:{};o=new vt(n,i,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mn(e),r,e.component,e,un(t),dn(t)+n.length,gn(e))}else{const a=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new ln;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(t.matcher||je)(n,e,t);if(!r)throw new ln;const o={};Ue(r.posParams,(e,t)=>{o[t]=e.path});const i=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:i}}(t,e,n);i=a.consumedSegments,s=n.slice(a.lastChild),o=new vt(i,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mn(e),r,e.component,e,un(t),dn(t)+i.length,gn(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:l,slicedSegments:c}=hn(t,i,s,a,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const e=this.processChildren(a,l);return[new ft(o,e)]}if(0===a.length&&0===c.length)return[new ft(o,[])];const u=this.processSegment(a,l,c,Te);return[new ft(o,u)]}}function un(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function dn(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 hn(e,t,n,r,o){if(n.length>0&&function(e,t,n){return n.some(n=>fn(e,t,n)&&pn(n)!==Te)}(e,n,r)){const o=new qe(t,function(e,t,n,r){const o={};o[Te]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;for(const i of n)if(""===i.path&&pn(i)!==Te){const n=new qe([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,o[pn(i)]=n}return o}(e,t,r,new qe(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>fn(e,t,n))}(e,n,r)){const i=new qe(e.segments,function(e,t,n,r,o,i){const s={};for(const a of r)if(fn(e,n,a)&&!o[pn(a)]){const n=new qe([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===i?e.segments.length:t.length,s[pn(a)]=n}return Object.assign(Object.assign({},o),s)}(e,t,n,r,e.children,o));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}const i=new qe(e.segments,e.children);return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:n}}function fn(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function pn(e){return e.outlet||Te}function mn(e){return e.data||{}}function gn(e){return e.resolve||{}}function bn(e,t,n,r){const o=Yt(e,t,r);return He(o.resolve?o.resolve(t,n):o(t,n))}function yn(e){return function(t){return t.pipe(Object(W.a)(t=>{const n=e(t);return n?Object(s.a)(n).pipe(Object(w.a)(()=>t)):Object(s.a)([t])}))}}class vn{}class _n{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}const wn=new o.q("ROUTES");class Cn{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(w.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const r=n.create(e);return new $e(Ve(r.injector.get(wn)).map(De),r)}))}loadModuleFactory(e){return"string"==typeof e?Object(s.a)(this.loader.load(e)):He(e()).pipe(Object(B.a)(e=>e instanceof o.v?Object(i.a)(e):Object(s.a)(this.compiler.compileModuleAsync(e))))}}class Sn{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function En(e){throw e}function xn(e,t,n){return t.parse("/")}function On(e,t){return Object(i.a)(null)}let Tn=(()=>{class e{constructor(e,t,n,r,i,s,l,c){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new v.a,this.errorHandler=En,this.malformedUriErrorHandler=xn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:On,afterPreactivation:On},this.urlHandlingStrategy=new Sn,this.routeReuseStrategy=new _n,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(o.x),this.console=i.get(o.W);const u=i.get(o.z);this.isNgZoneEnabled=u instanceof o.z,this.resetConfig(c),this.currentUrlTree=new Be(new qe([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Cn(s,l,e=>this.triggerEvent(new ve(e)),e=>this.triggerEvent(new _e(e))),this.routerState=gt(this.currentUrlTree,this.rootComponentType),this.transitions=new a.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(S.a)(e=>0!==e.id),Object(w.a)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Object(W.a)(e=>{let n=!1,r=!1;return Object(i.a)(e).pipe(ne(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(W.a)(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(i.a)(e).pipe(Object(W.a)(e=>{const n=this.transitions.getValue();return t.next(new ue(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?_.a:[e]}),Object(W.a)(e=>Promise.resolve(e)),(r=this.ngModule.injector,o=this.configLoader,s=this.urlSerializer,a=this.config,function(e){return e.pipe(Object(W.a)(e=>function(e,t,n,r,o){return new qt(e,t,n,r,o).apply()}(r,o,s,e.extractedUrl,a).pipe(Object(w.a)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t})))))}),ne(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,r,o){return function(i){return i.pipe(Object(B.a)(i=>function(e,t,n,r,o="emptyOnly",i="legacy"){return new cn(e,t,n,r,o,i).recognize()}(e,t,i.urlAfterRedirects,n(i.urlAfterRedirects),r,o).pipe(Object(w.a)(e=>Object.assign(Object.assign({},i),{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),ne(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),ne(e=>{const n=new pe(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var r,o,s,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:o,restoredState:s,extras:a}=e,l=new ue(n,this.serializeUrl(r),o,s);t.next(l);const c=gt(r,this.rootComponentType).snapshot;return Object(i.a)(Object.assign(Object.assign({},e),{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),_.a}),yn(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:o,extras:{skipLocationChange:i,replaceUrl:s}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!i,replaceUrl:!!s})}),ne(e=>{const t=new me(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(w.a)(e=>Object.assign(Object.assign({},e),{guards:Kt(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(n){return n.pipe(Object(B.a)(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?Object(i.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return Object(s.a)(e).pipe(Object(B.a)(e=>function(e,t,n,r,o){const s=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!s||0===s.length)return Object(i.a)(!0);const a=s.map(i=>{const s=Yt(i,t,o);let a;if(function(e){return e&&Mt(e.canDeactivate)}(s))a=He(s.canDeactivate(e,t,n,r));else{if(!Mt(s))throw new Error("Invalid CanDeactivate guard");a=He(s(e,t,n,r))}return a.pipe(z())});return Object(i.a)(a).pipe(nn())}(e.component,e.route,n,t,r)),z(e=>!0!==e,!0))}(l,r,o,e).pipe(Object(B.a)(n=>n&&"boolean"==typeof n?function(e,t,n,r){return Object(s.a)(t).pipe(Object(K.a)(t=>Object(s.a)([on(t.route.parent,r),rn(t.route,r),an(e,t.path,n),sn(e,t.route,n)]).pipe(Object(C.a)(),z(e=>!0!==e,!0))),z(e=>!0!==e,!0))}(r,a,e,t):Object(i.a)(n)),Object(w.a)(e=>Object.assign(Object.assign({},n),{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),ne(e=>{if(Vt(e.guardsResult)){const t=Ie(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),ne(e=>{const t=new ge(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Object(S.a)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new he(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),yn(e=>{if(e.guards.canActivateChecks.length)return Object(i.a)(e).pipe(ne(e=>{const t=new be(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(B.a)(e=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=e;return o.length?Object(s.a)(o).pipe(Object(K.a)(e=>function(e,t,n,r){return function(e,t,n,r){const o=Object.keys(e);if(0===o.length)return Object(i.a)({});if(1===o.length){const i=o[0];return bn(e[i],t,n,r).pipe(Object(w.a)(e=>({[i]:e})))}const a={};return Object(s.a)(o).pipe(Object(B.a)(o=>bn(e[o],t,n,r).pipe(Object(w.a)(e=>(a[o]=e,e))))).pipe(L(),Object(w.a)(()=>a))}(e._resolve,e,t,r).pipe(Object(w.a)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),yt(e,n).resolve),null)))}(e.route,r,t,n)),function(e,t){return arguments.length>=2?function(n){return Object(Y.a)(X(e,t),O(1),N(t))(n)}:function(t){return Object(Y.a)(X((t,n,r)=>e(t,n,r+1)),O(1))(t)}}((e,t)=>e),Object(w.a)(t=>e)):Object(i.a)(e)}))}),ne(e=>{const t=new ye(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}));var t,n}),yn(e=>{const{targetSnapshot:t,id:n,extractedUrl:r,rawUrl:o,extras:{skipLocationChange:i,replaceUrl:s}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:r,rawUrlTree:o,skipLocationChange:!!i,replaceUrl:!!s})}),Object(w.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 o=r.value;o._futureSnapshot=n.value;const i=function(t,n,r){return n.children.map(n=>{for(const o of r.children)if(t.shouldReuseRoute(o.value.snapshot,n.value))return e(t,n,o);return e(t,n)})}(t,n,r);return new ft(o,i)}{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;re(t,n));return new ft(r,i)}}var o}(e,t._root,n?n._root:void 0);return new mt(r,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),ne(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,c=this.routeReuseStrategy,u=e=>this.triggerEvent(e),Object(w.a)(e=>(new Dt(c,e.targetRouterState,e.currentRouterState,u).activate(l),e))),ne({next(){n=!0},complete(){n=!0}}),(o=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new he(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 se(o))),V(n=>{if(r=!0,(o=n)&&o.ngNavigationCancelingError){const r=Vt(n.url);r||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const o=new he(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(o),r?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const r=new fe(e.id,this.serializeUrl(e.extractedUrl),n);t.next(r);try{e.resolve(this.errorHandler(n))}catch(i){e.reject(i)}}var o;return _.a}));var o,l,c,u}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{let t=this.parseUrl(e.url);const 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){Ne(e),this.config=e.map(De),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:i,preserveQueryParams:s,queryParamsHandling:a,preserveFragment:l}=t;Object(o.T)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const c=n||this.routerState.root,u=l?this.currentUrlTree.fragment:i;let d=null;if(a)switch(a){case"merge":d=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=r||null}else d=s?this.currentUrlTree.queryParams:r||null;return null!==d&&(d=this.removeEmptyProps(d)),function(e,t,n,r,o){if(0===n.length)return Ot(t.root,t.root,t,r,o);const i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Tt(!0,0,e);let t=0,n=!1;const r=e.reduce((e,r,o)=>{if("object"==typeof r&&null!=r){if(r.outlets){const t={};return Ue(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===o?(r.split("/").forEach((r,o)=>{0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):[...e,r]},[]);return new Tt(n,t,r)}(n);if(i.toRoot())return Ot(t.root,new qe([],{}),t,r,o);const s=function(e,t,n){if(e.isAbsolute)return new kt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new kt(n.snapshot._urlSegment,!0,0);const r=xt(e.commands[0])?0:1;return function(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new Error("Invalid number of '../'");o=r.segments.length}return new kt(r,!1,o-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(i,t,e),a=s.processChildren?jt(s.segmentGroup,s.index,i.commands):It(s.segmentGroup,s.index,i.commands);return Ot(s.segmentGroup,a,t,r,o)}(c,this.currentUrlTree,e,d,u)}navigateByUrl(e,t={skipLocationChange:!1}){Object(o.T)()&&this.isNgZoneEnabled&&!o.z.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Vt(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{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 de(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,o){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 s,a,l;o?(s=o.resolve,a=o.reject,l=o.promise):l=new Promise((e,t)=>{s=e,a=t});const c=++this.navigationId;return this.setTransition({id:c,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:s,reject:a,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,r){const o=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(o)||t?this.location.replaceState(o,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(o,"",Object.assign(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})}}return e.\u0275fac=function(e){o.Tb()},e.\u0275dir=o.Eb({type:e}),e})(),kn=(()=>{class e{constructor(e,t,n,r,o){this.router=e,this.route=t,this.commands=[],null==n&&r.setAttribute(o.nativeElement,"tabindex","0")}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(o.T)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:An(this.skipLocationChange),replaceUrl:An(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:An(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:An(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(o.Jb(Tn),o.Jb(bt),o.Rb("tabindex"),o.Jb(o.D),o.Jb(o.l))},e.\u0275dir=o.Eb({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&o.Ub("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),e})();function An(e){return""===e||!!e}class In{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new jn,this.attachRef=null}}class jn{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 In,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}let $n=(()=>{class e{constructor(e,t,n,r,i){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.n,this.deactivateEvents=new o.n,this.name=r||Te,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,o=new Nn(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(o.Jb(jn),o.Jb(o.N),o.Jb(o.j),o.Rb("name"),o.Jb(o.h))},e.\u0275dir=o.Eb({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class Nn{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===bt?this.route:e===jn?this.childContexts:this.parent.get(e,t)}}class Rn{}class Pn{preload(e,t){return t().pipe(V(()=>Object(i.a)(null)))}}class Dn{preload(e,t){return Object(i.a)(null)}}let Ln=(()=>{class e{constructor(e,t,n,r,o){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=new Cn(t,n,t=>e.triggerEvent(new ve(t)),t=>e.triggerEvent(new _e(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(S.a)(e=>e instanceof de),Object(K.a)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(o.x);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(s.a)(n).pipe(Object(le.a)(),Object(w.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(B.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(Tn),o.Qb(o.w),o.Qb(o.i),o.Qb(o.r),o.Qb(Rn))},e.\u0275prov=o.Fb({token:e,factory:e.\u0275fac}),e})(),Mn=(()=>{class e{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.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof ue?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof de&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof xe&&(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 xe(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(e){o.Tb()},e.\u0275dir=o.Eb({type:e}),e})();const Vn=new o.q("ROUTER_CONFIGURATION"),Fn=new o.q("ROUTER_FORROOT_GUARD"),Un=[r.f,{provide:Xe,useClass:Qe},{provide:Tn,useFactory:function(e,t,n,o,i,s,a,l={},c,u){const d=new Tn(null,e,t,n,o,i,s,Ve(a));if(c&&(d.urlHandlingStrategy=c),u&&(d.routeReuseStrategy=u),l.errorHandler&&(d.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(d.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const e=Object(r.o)();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},deps:[Xe,jn,r.f,o.r,o.w,o.i,wn,Vn,[class{},new o.A],[vn,new o.A]]},jn,{provide:bt,useFactory:function(e){return e.routerState.root},deps:[Tn]},{provide:o.w,useClass:o.J},Ln,Dn,Pn,{provide:Vn,useValue:{enableTracing:!1}}];function Hn(){return new o.y("Router",Tn)}let zn=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[Un,Wn(t),{provide:Fn,useFactory:Gn,deps:[[Tn,new o.A,new o.I]]},{provide:Vn,useValue:n||{}},{provide:r.g,useFactory:qn,deps:[r.k,[new o.p(r.a),new o.A],Vn]},{provide:Mn,useFactory:Bn,deps:[Tn,r.l,Vn]},{provide:Rn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Dn},{provide:o.y,multi:!0,useFactory:Hn},[Jn,{provide:o.d,multi:!0,useFactory:Xn,deps:[Jn]},{provide:Zn,useFactory:Qn,deps:[Jn]},{provide:o.b,multi:!0,useExisting:Zn}]]}}static forChild(t){return{ngModule:e,providers:[Wn(t)]}}}return e.\u0275mod=o.Hb({type:e}),e.\u0275inj=o.Gb({factory:function(t){return new(t||e)(o.Qb(Fn,8),o.Qb(Tn,8))}}),e})();function Bn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Mn(e,t,n)}function qn(e,t,n={}){return n.useHash?new r.d(e,t):new r.j(e,t)}function Gn(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Wn(e){return[{provide:o.a,multi:!0,useValue:e},{provide:wn,multi:!0,useValue:e}]}let Jn=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new v.a}appInitializer(){return this.injector.get(r.e,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(Tn),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(i.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(Ln),r=this.injector.get(Mn),i=this.injector.get(Tn),s=this.injector.get(o.g);e===s.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}return e.\u0275fac=function(t){return new(t||e)(o.Qb(o.r))},e.\u0275prov=o.Fb({token:e,factory:e.\u0275fac}),e})();function Xn(e){return e.appInitializer.bind(e)}function Qn(e){return e.bootstrapListener.bind(e)}const Zn=new o.q("Router Initializer")},uC2i:function(e,t){},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)}var 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 o(){return r.then((function(){if("undefined"!=typeof sqlitePlugin&&"function"==typeof sqlitePlugin.openDatabase)return sqlitePlugin.openDatabase;throw new Error("SQLite plugin is not present.")}))}var i={_driver:"cordovaSQLiteDriver",_initStorage:function(t){var r=this,i={db:null};if(t)for(var s in t)i[s]="string"!=typeof t[s]?t[s].toString():t[s];var a=o().then((function(e){return new Promise((function(t,n){try{i.location=i.location||"default",i.db=e({name:i.name,version:String(i.version),description:i.description,size:i.size,key:i.dbKey,location:i.location})}catch(o){n(o)}i.db.transaction((function(e){e.executeSql("CREATE TABLE IF NOT EXISTS "+i.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],(function(){r._dbInfo=i,t()}),(function(e,t){n(t)}))}))}))})),l=e(r),c=n(r);return Promise.all([l,c,a]).then((function(e){return i.serializer=e[0],a}))},_support:function(){return o().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 o=0,i=t.length;o{const e=document;let t=!1;e.addEventListener("backbutton",()=>{if(t)return;let n=0,r=[];const o=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(e,t){r.push({priority:e,handler:t,id:n++})}}});e.dispatchEvent(o);const i=()=>{if(r.length>0){let e={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};r.forEach(t=>{t.priority>=e.priority&&(e=t)}),t=!0,r=r.filter(t=>t.id!==e.id),(async e=>{try{if(e&&e.handler){const t=e.handler(i);null!=t&&await t}}catch(t){console.error(t)}})(e).then(()=>t=!1)}};i()})},o=100,i=99},xgIS:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("HDdC"),o=n("DH7j"),i=n("n6bG"),s=n("lJxs");function a(e,t,n,l){return Object(i.a)(n)&&(l=n,n=void 0),l?a(e,t,n).pipe(Object(s.a)(e=>Object(o.a)(e)?l(...e):l(e))):new r.a(r=>{!function e(t,n,r,o,i){let s;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(n,r,i),s=()=>e.removeEventListener(n,r,i)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(n,r),s=()=>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),s=()=>e.removeListener(n,r)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let s=0,a=t.length;s1?Array.prototype.slice.call(arguments):e)}),r,n)})}},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n("HDdC"),o=n("ngJS"),i=n("jZKg");function s(e,t){return t?Object(i.a)(e,t):new r.a(Object(o.a)(e))}},yR3O:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return v}));var r=n("HDdC"),o=n("xgIS"),i={error:"cordova_not_available"},s={error:"plugin_not_installed"};function a(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 o,i;void 0===r&&(r={});var s=a((function(s,a){o=r.destruct?p(e,t,n,r,(function(){for(var e=[],t=0;te.length?e[t.successIndex]=n:e.splice(t.successIndex,0,n)},s=function(){t.errorIndex>e.length?e[t.errorIndex]=r:e.splice(t.errorIndex,0,r)};t.successIndex>t.errorIndex?(s(),i()):(i(),s())}else e.push(n),e.push(r);return e}function p(e,t,n,r,o,i){void 0===r&&(r={}),n=f(n,r,o,i);var s=h(e,t);if(!0===s){var a=g(e.constructor.getPluginRef());return a[t].apply(a,n)}return s}function m(e,t,n,r,o,i){if(void 0===r&&(r={}),n=f(n,r,o,i),function(e,t){return e._objectInstance&&(!t||void 0!==e._objectInstance[t])}(e,t))return e._objectInstance[t].apply(e._objectInstance,n)}function g(e){return"undefined"!=typeof window?b(window,e):null}function b(e,t){for(var n=t.split("."),r=e,o=0;o{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=l||(l=document.querySelector("base"),l)?l.getAttribute("href"):null;return null==t?null:(n=t,a||(a=document.createElement("a")),a.setAttribute("href",n),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname);var n}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Object(o.p)(document.cookie,e)}}let a,l=null;const c=new r.q("TRANSITION_ID"),u=[{provide:r.d,useFactory:function(e,t,n){return()=>{n.get(r.e).donePromise.then(()=>{const n=Object(o.o)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[c,o.c,r.r],multi:!0}];class d{static init(){Object(r.V)(new d)}addToWindow(e){r.nb.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},r.nb.getAllAngularTestabilities=()=>e.getAllTestabilities(),r.nb.getAllAngularRootElements=()=>e.getAllRootElements(),r.nb.frameworkStabilizers||(r.nb.frameworkStabilizers=[]),r.nb.frameworkStabilizers.push(e=>{const t=r.nb.getAllAngularTestabilities();let n=t.length,o=!1;const i=function(t){o=o||t,n--,0==n&&e(o)};t.forEach((function(e){e.whenStable(i)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?Object(o.o)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}const h=new r.q("EventManagerPlugins");let f=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,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{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})(),g=(()=>{class e extends m{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const 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=>Object(o.o)().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(o.c))},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})();const b={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/"},y=/%COMP%/g;function v(e,t,n){for(let r=0;r{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let w=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new C(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case r.O.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new S(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case r.O.Native:case r.O.ShadowDom:return new E(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=v(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(f),r.Qb(g),r.Qb(r.c))},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})();class C{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(b[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 o=b[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=b[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,o){o&r.F.DashCase?e.style.setProperty(t,n,o&r.F.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&r.F.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,_(n)):this.eventManager.addEventListener(e,t,_(n))}}class S extends C{constructor(e,t,n,r){super(e),this.component=n;const o=v(r+"-"+n.id,n.styles,[]);t.addStyles(o),this.contentAttr="_ngcontent-%COMP%".replace(y,r+"-"+n.id),this.hostAttr=function(e){return"_nghost-%COMP%".replace(y,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 E extends C{constructor(e,t,n,o){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=o,this.shadowRoot=o.encapsulation===r.O.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const i=v(o.id,o.styles,[]);for(let r=0;r{class e extends p{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(o.c))},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})();const O=["alt","control","meta","shift"],T={"\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"},k={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"},A={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let I=(()=>{class e extends p{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const i=e.parseEventName(n),s=e.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(o.o)().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const o=e._normalizeKey(n.pop());let i="";if(O.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=o,0!=n.length||0===o.length)return null;const s={};return s.domEventName=r,s.fullKey=i,s}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&k.hasOwnProperty(t)&&(t=k[t]))}return T[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),O.forEach(r=>{r!=n&&(0,A[r])(e)&&(t+=r+".")}),t+=n,t}static eventCallback(t,n,r){return o=>{e.getEventFullKey(o)===t&&r.runGuarded(()=>n(o))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(r.Qb(o.c))},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac}),e})();const j=[{provide:r.B,useValue:o.n},{provide:r.C,useValue:function(){s.makeCurrent(),d.init()},multi:!0},{provide:o.c,useFactory:function(){return Object(r.tb)(document),document},deps:[]}],$=Object(r.Q)(r.U,"browser",j),N=[[],{provide:r.X,useValue:"root"},{provide:r.m,useFactory:function(){return new r.m},deps:[]},{provide:h,useClass:x,multi:!0,deps:[o.c,r.z,r.B]},{provide:h,useClass:I,multi:!0,deps:[o.c]},[],{provide:w,useClass:w,deps:[f,g,r.c]},{provide:r.E,useExisting:w},{provide:m,useExisting:g},{provide:g,useClass:g,deps:[o.c]},{provide:r.L,useClass:r.L,deps:[r.z]},{provide:f,useClass:f,deps:[h,r.z]},[]];let R=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:r.c,useValue:t.appId},{provide:c,useExisting:r.c},u]}}}return e.\u0275mod=r.Hb({type:e}),e.\u0275inj=r.Gb({factory:function(t){return new(t||e)(r.Qb(e,12))},providers:N,imports:[o.b,r.f]}),e})();"undefined"!=typeof window&&window;var P=n("tyNb"),D=n("TEn/"),L=n("mrSG"),M=n("C6fG"),V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(L.c)(t,e),t.prototype.show=function(){return Object(M.cordova)(this,"show",{sync:!0},arguments)},t.prototype.hide=function(){return Object(M.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.\u0275fac=function(e){return n(e||t)},t.\u0275prov=r.Fb({token:t,factory:function(e){return t.\u0275fac(e)}});var n=r.Ob(t);return t}(M.IonicNativePlugin),F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}Object(L.c)(t,e),t.prototype.overlaysWebView=function(e){return Object(M.cordova)(this,"overlaysWebView",{sync:!0},arguments)},t.prototype.styleDefault=function(){return Object(M.cordova)(this,"styleDefault",{sync:!0},arguments)},t.prototype.styleLightContent=function(){return Object(M.cordova)(this,"styleLightContent",{sync:!0},arguments)},t.prototype.styleBlackTranslucent=function(){return Object(M.cordova)(this,"styleBlackTranslucent",{sync:!0},arguments)},t.prototype.styleBlackOpaque=function(){return Object(M.cordova)(this,"styleBlackOpaque",{sync:!0},arguments)},t.prototype.backgroundColorByName=function(e){return Object(M.cordova)(this,"backgroundColorByName",{sync:!0},arguments)},t.prototype.backgroundColorByHexString=function(e){return Object(M.cordova)(this,"backgroundColorByHexString",{sync:!0},arguments)},t.prototype.hide=function(){return Object(M.cordova)(this,"hide",{sync:!0},arguments)},t.prototype.show=function(){return Object(M.cordova)(this,"show",{sync:!0},arguments)},Object.defineProperty(t.prototype,"isVisible",{get:function(){return Object(M.cordovaPropertyGet)(this,"isVisible")},set:function(e){Object(M.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.\u0275fac=function(e){return n(e||t)},t.\u0275prov=r.Fb({token:t,factory:function(e){return t.\u0275fac(e)}});var n=r.Ob(t);return t}(M.IonicNativePlugin),U=n("flj8"),H=n("sYmb");let z=(()=>{class e{constructor(e,t,n,r,o){this.platform=e,this.splashScreen=t,this.statusBar=n,this.acccountService=o,this.initializeApp(),r.setDefaultLang("en"),r.use("en");let i=r.getBrowserLang();i&&r.use(i)}initializeApp(){this.platform.ready().then(()=>{this.statusBar.styleDefault(),this.splashScreen.hide()})}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(D.v),r.Jb(V),r.Jb(F),r.Jb(H.d),r.Jb(U.a))},e.\u0275cmp=r.Db({type:e,selectors:[["app-root"]],decls:2,vars:0,template:function(e,t){1&e&&(r.Mb(0,"ion-app"),r.Kb(1,"ion-router-outlet"),r.Lb())},directives:[D.c,D.n],styles:[""]}),e})();const B=[{path:"",redirectTo:"buy",pathMatch:"full"},{path:"try",loadChildren:()=>Promise.all([n.e(0),n.e(32)]).then(n.bind(null,"YnBD")).then(e=>e.TryPageModule)},{path:"bhi-try",loadChildren:()=>n.e(16).then(n.bind(null,"LMy8")).then(e=>e.BhiTryPageModule)},{path:"buy",loadChildren:()=>Promise.all([n.e(0),n.e(17)]).then(n.bind(null,"+5Yi")).then(e=>e.BuyPageModule)},{path:"thanks",loadChildren:()=>n.e(30).then(n.bind(null,"FQwT")).then(e=>e.ThanksPageModule)},{path:"update-pass",loadChildren:()=>n.e(33).then(n.bind(null,"cFYU")).then(e=>e.UpdatePassPageModule)},{path:"change-pass",loadChildren:()=>n.e(18).then(n.bind(null,"DLTC")).then(e=>e.ChangePassPageModule)},{path:"session/:id",loadChildren:()=>n.e(25).then(n.bind(null,"Cgc+")).then(e=>e.SessionPageModule)},{path:"thanks-session",loadChildren:()=>n.e(28).then(n.bind(null,"DjaI")).then(e=>e.ThanksSessionPageModule)},{path:"thanks-trial",loadChildren:()=>n.e(29).then(n.bind(null,"1EM4")).then(e=>e.ThanksTrialPageModule)},{path:"thanks-pay",loadChildren:()=>n.e(27).then(n.bind(null,"PgeN")).then(e=>e.ThanksPayPageModule)},{path:"changed-pass",loadChildren:()=>n.e(19).then(n.bind(null,"XA/n")).then(e=>e.ChangedPassPageModule)},{path:"sent-pass-request",loadChildren:()=>n.e(24).then(n.bind(null,"1hh1")).then(e=>e.SentPassRequestPageModule)},{path:"demos",loadChildren:()=>Promise.all([n.e(0),n.e(20)]).then(n.bind(null,"/16E")).then(e=>e.DemosPageModule)},{path:"qanta",loadChildren:()=>n.e(23).then(n.bind(null,"XNhv")).then(e=>e.QuantaPageModule)},{path:"sistemia",loadChildren:()=>n.e(26).then(n.bind(null,"ZAFw")).then(e=>e.SistemiaPageModule)},{path:"fcindia",loadChildren:()=>n.e(21).then(n.bind(null,"3KP3")).then(e=>e.FcindiaPageModule)},{path:"intaka",loadChildren:()=>n.e(22).then(n.bind(null,"18cH")).then(e=>e.IntakaPageModule)},{path:"thetruetalent",loadChildren:()=>n.e(31).then(n.bind(null,"s0Ly")).then(e=>e.ThetruetalentPageModule)}];let q=(()=>{class e{}return e.\u0275mod=r.Hb({type:e}),e.\u0275inj=r.Gb({factory:function(t){return new(t||e)},imports:[[P.i.forRoot(B,{preloadingStrategy:P.e})],P.i]}),e})();var G=n("oAJy"),W=n("uzCt");class J{constructor(e){this._driver=null,this._dbPromise=new Promise((t,n)=>{let r;const o=Object.assign({name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:["sqlite","indexeddb","websql","localstorage"]},e||{});Object(G.defineDriver)(W).then(()=>{r=Object(G.createInstance)(o)}).then(()=>r.setDriver(this._getDriverOrder(o.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 W._driver;case"indexeddb":return G.INDEXEDDB;case"websql":return G.WEBSQL;case"localstorage":return G.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 X=new r.q("STORAGE_CONFIG_TOKEN");function Q(e){return new J(e||{name:"_ionicstorage",storeName:"_ionickv",dbKey:"_ionickey",driverOrder:["sqlite","indexeddb","websql","localstorage"]})}let Z=(()=>{class e{static forRoot(t=null){return{ngModule:e,providers:[{provide:X,useValue:t},{provide:J,useFactory:Q,deps:[X]}]}}}return e.\u0275mod=r.Hb({type:e}),e.\u0275inj=r.Gb({factory:function(t){return new(t||e)}}),e})();var K=n("tk/3");class Y{constructor(e,t="/assets/i18n/",n=".json"){this.http=e,this.prefix=t,this.suffix=n}getTranslation(e){return this.http.get(`${this.prefix}${e}${this.suffix}`)}}let ee=(()=>{class e{}return e.\u0275mod=r.Hb({type:e}),e.\u0275inj=r.Gb({factory:function(t){return new(t||e)},imports:[[]]}),e})();var te=n("3Pt+");function ne(e){return new Y(e,"./assets/i18n/",".json")}let re=(()=>{class e{}return e.\u0275mod=r.Hb({type:e,bootstrap:[z]}),e.\u0275inj=r.Gb({factory:function(t){return new(t||e)},providers:[F,V,{provide:P.f,useClass:D.t}],imports:[[R,D.s.forRoot(),Z.forRoot(),q,K.b,te.d,te.i,H.b.forRoot({loader:{provide:H.a,useFactory:ne,deps:[K.a]}}),ee]]}),e})();Object(r.R)(),$().bootstrapModule(re).catch(e=>console.log(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,1]]]);